1 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4 * nptl/pthreadP.h: Likewise.
5 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30 * dlfcn/dladdr.c: Use IS_IN.
31 * dlfcn/dladdr1.c: Likewise.
32 * dlfcn/dlclose.c: Likewise.
33 * dlfcn/dlerror.c: Likewise.
34 * dlfcn/dlinfo.c: Likewise.
35 * dlfcn/dlmopen.c: Likewise.
36 * dlfcn/dlopen.c: Likewise.
37 * dlfcn/dlsym.c: Likewise.
38 * dlfcn/dlvsym.c: Likewise.
40 * include/ifaddrs.h: Use IS_IN.
41 * inet/check_pf.c: Likewise.
42 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
45 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
47 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
48 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
50 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
51 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
54 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
56 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
57 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
59 * include/libc-symbols.h (IS_IN_LIB): New macro.
60 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
61 * include/netdb.h: Likewise.
62 * include/stap-probe.h: Remove all uses of IN_LIB.
64 * Makeconfig (module-cppflags-real): Define MODULE_NAME
66 * include/libc-symbols.h (IN_MODULE): Define using
68 (PASTE_NAME, PASTE_NAME1): New macros.
69 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
71 (STAP_PROBE_ASM): Likewise.
73 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
75 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
76 __mach_init in dlopened libc.
78 2014-11-22 Mike Frysinger <vapier@gentoo.org>
80 * sysdeps/arm/preconfigure.ac: Delete EABI check.
81 * sysdeps/arm/preconfigure: Regenerate.
83 2014-11-21 Roland McGrath <roland@hack.frob.com>
85 * nptl/pthread_create.c (__pthread_create_2_1): Set
86 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
87 when copying values from IATTR into PD.
89 2014-11-21 Will Newton <will.newton@linaro.org>
90 Andrew Pinski <andrew.pinski@caviumnetworks.com>
92 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
93 Refactor inline-asm. Also add comment.
95 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
96 ElfW macro instead of hardcoded Elf64 types.
97 (la_aarch64_gnu_pltenter): Likewise.
98 * sysdeps/aarch64/dl-machine.h
99 (elf_machine_runtime_setup): Use ElfW(Addr).
101 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
102 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
103 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
104 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
105 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
106 (R_AARCH64_TLS_DTPMOD64): Rename to ..
107 (R_AARCH64_TLS_DTPMOD): This.
108 (R_AARCH64_TLS_DTPREL64): Rename to ...
109 (R_AARCH64_TLS_DTPREL): This.
110 (R_AARCH64_TLS_TPREL64): Rename to ...
111 (R_AARCH64_TLS_TPREL): This.
112 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
113 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
114 R_AARCH64_TLS_TPREL64.
115 (elf_machine_rela): Likewise.
117 2014-11-21 Torvald Riegel <triegel@redhat.com>
119 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
120 by setting it to 0. 64b atomics are not supported currently.
122 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
125 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
128 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
132 * resolv/res_query.c (__libc_res_nquerydomain): Retain
134 * posix/tst-getaddrinfo5.c: New.
135 * posix/Makefile (tests): Add it.
137 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
141 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
142 after parsing line but before break_if_match.
143 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
144 if there is a protocol mismatch.
146 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
148 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
149 because the potential race is on the user-supplied stream.
151 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
153 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
154 string literal if not passed a buffer.
155 * manual/job.texi (ctermid): Update reasoning, note deviation
156 from posix, suggest mtasurace when not passed a buffer, for
157 future non-preliminary safety notes.
159 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
161 * manual/users.texi (cuserid): Fix MT-Safety note for the case
162 of not passing it a buffer.
163 Reported by Peng Haitao.
165 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
167 * manual/Makefile ($(objpfx)stamp-summary): Require
168 check-safety.sh to pass.
169 * manual/check-safety.sh: Wish for verification that every
170 @deftypefn and @deftypefun is followed by a @safety remark.
172 2014-11-20 Roland McGrath <roland@hack.frob.com>
174 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
176 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
177 PTHREAD_CANCEL_ASYNCHRONOUS.
178 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
181 * nptl/default-sched.h: New file.
182 * sysdeps/unix/sysv/linux/default-sched.h: New file.
183 * nptl/pthread_create.c: Include it.
184 (__pthread_create_2_1): Use collect_default_sched instead of making
185 Linux syscalls here directly.
187 2014-11-20 Torvald Riegel <triegel@redhat.com>
189 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
190 __pthread_once): Use C11 atomics.
192 2014-11-20 Torvald Riegel <triegel@redhat.com>
194 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
196 2014-11-20 Torvald Riegel <triegel@redhat.com>
198 * include/atomic.h (__atomic_link_error, __atomic_check_size,
199 atomic_thread_fence_acquire, atomic_thread_fence_release,
200 atomic_thread_fence_seq_cst, atomic_load_relaxed,
201 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
202 atomic_compare_exchange_weak_relaxed,
203 atomic_compare_exchange_weak_acquire,
204 atomic_compare_exchange_weak_release,
205 atomic_exchange_acquire, atomic_exchange_release,
206 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
207 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
208 atomic_fetch_and_acquire,
209 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
211 2014-11-20 Torvald Riegel <triegel@redhat.com>
213 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
214 USE_ATOMIC_COMPILER_BUILTINS): Define.
215 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
217 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
218 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
219 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
220 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
221 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
222 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
223 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
224 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
225 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
226 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
227 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
228 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
229 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
230 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
231 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
232 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
233 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
234 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
235 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
236 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
237 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
238 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
239 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
240 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
241 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
242 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
243 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
244 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
245 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
246 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
247 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
248 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
249 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
250 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
251 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
252 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
253 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
254 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
256 2014-11-19 Roland McGrath <roland@hack.frob.com>
258 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
259 the sched_priority value here. It was already checked when the user
260 called pthread_attr_setschedparam.
262 * nptl/tst-bad-schedattr.c: New file.
263 * nptl/Makefile (tests): Add it.
265 2014-11-19 Carlos O'Donell <carlos@redhat.com>
266 Florian Weimer <fweimer@redhat.com>
267 Joseph Myers <joseph@codesourcery.com>
268 Adam Conrad <adconrad@0c3.net>
269 Andreas Schwab <schwab@suse.de>
270 Brooks <bmoses@google.com>
273 * wordexp-test.c (__dso_handle): Add prototype.
274 (__register_atfork): Likewise.
275 (__app_register_atfork): New function.
276 (registered_forks): New global.
277 (register_fork): New function.
278 (test_case): Add 3 new tests for WRDE_CMDSUB.
279 (main): Call __app_register_atfork.
280 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
281 fork count is non-zero fail the test.
282 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
284 (parse_dollars): Remove check for WRDE_NOCMD.
285 (parse_dquote): Likewise.
287 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
289 * Makeconfig (built-modules): List non-library modules to be
291 (module-cppflags): Include libc-modules.h for
292 everything except shlib-versions.v.i.
294 (before-compile): Add libc-modules.h.
295 ($(common-objpfx)libc-modules.h,
296 $(common-objpfx)libc-modules.stmp): New targets.
297 (common-generated): Add libc-modules.h and libc-modules.stmp.
298 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
299 * include/libc-symbols.h: Don't include libc-modules.h.
300 * include/libc-modules.h: Remove file.
301 * scripts/gen-libc-modules.awk: New script to generate
303 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
304 Depend on libc-modules.stmp.
306 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
308 * Makeconfig (in-module): Get value of libof set for the
310 (CPPFLAGS): Use $(in-module).
311 * Makerules: Don't suffix routine names for nonlib.
312 * include/libc-modules.h: New file.
313 * include/libc-symbols.h: Include libc-modules.h
314 (IS_IN): New macro to replace IS_IN_* macros.
315 * elf/Makefile: Set libof-* for each routine.
316 * elf/rtld-Rules: Likewise.
317 * extra-modules.mk: Likewise.
318 * iconv/Makefile: Likewise.
319 * iconvdata/Makefile: Likewise.
320 * locale/Makefile: Likewise.
321 * malloc/Makefile: Likewise.
322 * nss/Makefile: Likewise.
323 * sysdeps/gnu/Makefile: Likewise.
324 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
325 * sysdeps/unix/sysv/linux/Makefile: Likewise.
326 * sysdeps/s390/s390-64/Makefile: Likewise.
327 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
328 CPPFLAGS for nscd instead of nonlib.
330 2014-11-18 Roland McGrath <roland@hack.frob.com>
332 * nptl/createthread.c: New file.
334 * nptl/createthread.c: Moved ...
335 * sysdeps/unix/sysv/linux/createthread.c: ... here.
337 * nptl/createthread.c: Add proper top-line comment.
338 (do_clone): Folded into ...
339 (create_thread): ... here. Take new arguments STOPPED_START and
340 THREAD_RAN. Always set PD->stopped_start to something here. Don't
341 increment __nptl_threads, do event-reporting logic, do
342 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
343 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
344 resource cleanup if sched_setaffinity or sched_setscheduler fails,
346 * nptl/pthread_create.c: Forward-declare create_thread before
347 including createthread.c.
348 (start_thread): Use new macro START_THREAD_DEFN to replace defining
349 declaration, and new macro START_THREAD_SELF to replace argument.
350 Remove return statement.
351 (report_thread_creation): New function.
352 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
353 synchronization logic, and __nptl_nthreads increment here, around
354 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
355 PD->parent_cancelhandling here, before create_thread. When
356 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
357 __deallocate_stack, and ENOMEM translation here.
359 2014-11-18 Joseph Myers <joseph@codesourcery.com>
362 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
363 (mptwo): Rename to __mptwo.
364 (__inv): Use __mptwo instead of mptwo.
365 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
366 (mptwo): Rename to __mptwo.
367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
368 of mpone and __mptwo instead of mptwo.
369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
372 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
373 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
374 of mpone and __mptwo instead of mptwo.
375 (__mpranred): Use __mpone instead of mpone.
376 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
378 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
379 (test-xfail-ISO99/math.h/linknamespace): Likewise.
380 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
381 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
382 (test-xfail-ISO11/math.h/linknamespace): Likewise.
383 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
384 (test-xfail-XPG3/math.h/linknamespace): Likewise.
385 (test-xfail-XPG4/math.h/linknamespace): Likewise.
386 (test-xfail-POSIX/math.h/linknamespace): Likewise.
387 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
388 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
389 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
390 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
391 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
392 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
393 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
394 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
395 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
396 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
398 2014-11-18 Tom de Vries <tom@codesoucery.com>
400 * manual/signal.texi (Primitives Interrupted by Signals): In section,
401 replace BSD Handler xref with BSD Signal Handling.
403 2014-11-17 Richard Henderson <rth@redhat.com>
405 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
406 (_FP_PACK_RAW_2): Remove.
407 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
408 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
409 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
410 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
411 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
412 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
413 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
414 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
415 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
416 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
417 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
418 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
419 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
420 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
421 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
422 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
424 2014-11-14 Roland McGrath <roland@hack.frob.com>
426 * signal/signal.h [__USE_MISC]
427 (struct sigvec): Remove type.
428 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
429 (sigvec): Remove declaration.
430 * sysdeps/posix/sigvec.c: Moved ...
431 * signal/sigvec.c: ... here, replacing old file.
432 (struct sigvec): New type, copied from old signal.h definition.
433 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
434 (__sigvec): Convert definition to prototype.
435 (sigvec): Replace weak_alias with compat_symbol.
436 * signal/Versions (libc: GLIBC_2.21): New version set.
437 * include/signal.h: Remove __sigvec declaration.
438 * sysdeps/unix/bsd/sigvec.c: Remove file.
439 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
440 * manual/signal.texi (BSD Handler): Remove subsection.
441 Move siginterrupt up to ...
442 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
443 (Blocking in BSD): Fold subsection into its parent.
444 * NEWS: Mention sigvec removal.
446 2014-11-14 Joseph Myers <joseph@codesourcery.com>
448 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
449 (DLA_FMS): Make definition conditional only on [__FMA4__].
450 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
453 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
454 Make definition conditional only on [PROF].
455 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
457 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
458 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
460 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
462 * include/signal.h (__sigpause): Move declaration above call to
464 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
466 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
467 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
469 2014-11-14 David S. Miller <davem@davemloft.net>
471 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
472 Define before including <string/memcpy.c> and <string/mempcpy.c>.
474 2014-11-14 Joseph Myers <joseph@codesourcery.com>
476 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
477 * configure: Regenerated.
478 * manual/install.texi (Tools for Compilation): Document a
479 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
480 compiler verified to work.
481 * INSTALL: Regenerated.
483 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
484 redeclare with asm name.
485 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
486 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
487 including <string.h>.
488 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
489 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
490 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
491 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
492 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
493 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
494 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
496 2014-11-13 Joseph Myers <joseph@codesourcery.com>
498 * stdlib/strtol.c (__strtol): Use prototype definition.
501 * stdlib/strtol.c (SYM__): New macro.
503 (__strtol): Likewise.
504 (strtol): Rename to __strtol and define as weak alias of
505 __strtol. Use libc_hidden_weak.
507 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
509 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
510 Use numbered labels in inline assembly.
512 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
514 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
515 Add setjmp LIBC_PROBE.
516 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
518 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
519 Add longjmp, longjmp_target LIBC_PROBE.
520 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
523 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
525 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
526 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
527 to get rid of unused variable warning.
529 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
531 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
532 Check for unwind_backtrace == NULL only in SHARED case.
533 (__backchain_backtrace): Compile only in SHARED case.
534 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
536 (__backchain_backtrace): Declare as static.
538 2014-11-12 Roland McGrath <roland@hack.frob.com>
540 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
541 (__libc_multiple_threads_ptr): Variable moved ...
542 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
544 2014-11-12 Joseph Myers <joseph@codesourcery.com>
546 * conform/GlibcConform.pm: New file.
547 * conform/conformtest.pl: Use GlibcConform module.
548 * conform/linknamespace.pl: New file.
549 * conform/list-header-symbols.pl: Likewise.
550 * conform/Makefile (linknamespace-symlists-base): New variable.
551 (linknamespace-symlists-tests): Likewise.
552 (linknamespace-header-base): Likewise.
553 (linknamespace-header-tests): Likewise.
554 (tests-special): Add new tests.
555 ($(linknamespace-symlists-tests)): New rule.
556 (linknamespace-libs): New variable.
557 ($(objpfx)symlist-stdlibs): New rule.
558 ($(linknamespace-header-tests)): Likewise.
559 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
560 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
561 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
562 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
563 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
564 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
565 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
566 (test-xfail-ISO/math.h/linknamespace): Likewise.
567 (test-xfail-ISO/signal.h/linknamespace): Likewise.
568 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
569 (test-xfail-ISO/time.h/linknamespace): Likewise.
570 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
571 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
572 (test-xfail-ISO99/math.h/linknamespace): Likewise.
573 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
574 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
575 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
576 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
577 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
578 (test-xfail-ISO11/math.h/linknamespace): Likewise.
579 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
580 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
581 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
582 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
583 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
584 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
585 (test-xfail-XPG3/math.h/linknamespace): Likewise.
586 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
587 (test-xfail-XPG3/search.h/linknamespace): Likewise.
588 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
589 (test-xfail-XPG3/time.h/linknamespace): Likewise.
590 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
591 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
592 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
593 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
594 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
595 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
596 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
597 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
598 (test-xfail-XPG4/math.h/linknamespace): Likewise.
599 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
600 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
601 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
602 (test-xfail-XPG4/search.h/linknamespace): Likewise.
603 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
604 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
605 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
606 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
607 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
608 (test-xfail-XPG4/time.h/linknamespace): Likewise.
609 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
610 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
611 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
612 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
613 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
614 (test-xfail-POSIX/math.h/linknamespace): Likewise.
615 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
616 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
617 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
618 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
619 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
620 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
621 (test-xfail-POSIX/time.h/linknamespace): Likewise.
622 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
623 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
624 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
625 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
626 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
627 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
628 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
629 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
630 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
631 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
632 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
633 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
634 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
635 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
636 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
637 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
638 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
639 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
640 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
641 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
642 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
643 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
644 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
645 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
646 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
647 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
648 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
649 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
650 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
651 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
652 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
653 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
654 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
655 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
656 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
657 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
658 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
659 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
660 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
661 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
662 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
663 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
664 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
665 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
666 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
667 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
668 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
669 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
670 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
671 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
672 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
673 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
674 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
675 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
676 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
677 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
678 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
679 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
680 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
681 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
682 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
683 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
684 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
685 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
686 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
687 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
688 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
689 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
690 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
691 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
692 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
693 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
694 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
695 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
696 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
697 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
698 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
699 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
700 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
701 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
702 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
703 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
704 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
705 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
706 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
707 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
708 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
709 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
710 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
711 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
712 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
713 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
714 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
715 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
716 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
717 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
718 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
719 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
722 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
726 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
727 (memmem): Rename to __memmem and define as weak alias of
728 __memmem. Use libc_hidden_weak.
729 (__memmem): Use libc_hidden_def.
730 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
731 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
735 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
736 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
737 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
738 and define as weak alias of __fgets_unlocked. Use
740 (__fgets_unlocked): Use libc_hidden_def.
741 * include/stdio.h (__fgets_unlocked): Declare. Use
743 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
744 __fgets_unlocked instead of fgets_unlocked.
745 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
746 (GET_NPROCS_CONF_PARSER): Likewise.
747 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
748 (GET_NPROCS_CONF_PARSER): Likewise.
751 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
752 weak alias of __wmemset. Use libc_hidden_weak.
753 (__wmemset): Use libc_hidden_def.
754 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
755 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
759 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
760 with asm name __mempcpy.
761 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
764 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
765 and define as weak alias of __rawmemchr.
766 (__rawmemchr): Do not define as strong alias of rawmemchr.
769 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
771 (qsort): Call __qsort_r instead of qsort_r.
772 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
773 (__qsort_r): Declare. Call libc_hidden_proto.
774 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
776 * nscd/gai.c (__qsort_r): Define to qsort_r.
777 * posix/tst-rfc3484.c (__qsort_r): Likewise.
778 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
779 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
782 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
783 define as weak alias of __malloc_info.
786 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
787 as weak alias of __rewinddir. Don't use libc_hidden_def.
788 (__rewinddir): Use libc_hidden_def.
789 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
790 as weak alias of __rewinddir. Don't use libc_hidden_def.
791 (__rewinddir): Use libc_hidden_def.
792 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
793 weak alias of __rewinddir. Don't use libc_hidden_def.
794 (__rewinddir): Use libc_hidden_def.
795 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
796 (__rewinddir): Use libc_hidden_proto.
797 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
799 (__getcwd): Use __rewinddir instead of rewinddir.
802 * libio/fileno.c (fileno): Rename to __fileno and define as weak
803 alias of __fileno. Use libc_hidden_weak.
804 (__fileno): Use libc_hidden_def.
805 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
806 * libio/ftello.c (ftello): Rename to __ftello and define as weak
808 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
810 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
811 (__fread_unlocked): Define as strong alias of _IO_fread. Use
813 (fread_unlocked): Don't use libc_hidden_ver.
814 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
815 and define as weak alias of __fread_unlocked. Don't use
817 (__fread_unlocked): Use libc_hidden_def.
818 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
819 (ftello): Don't use libc_hidden_proto.
820 (__ftello): Declare. Use libc_hidden_proto.
821 (fread_unlocked): Don't use libc_hidden_proto.
822 (__fread_unlocked): Declare. Use libc_hidden_proto.
823 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
824 and __ftello instead of fileno, fread_unlocked and ftello.
826 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
828 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
830 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
832 (_dl_start_user): Likewise.
833 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
835 2014-11-12 Carlos O'Donell <carlos@redhat.com>
836 Siddhesh Poyarekar <siddhesh@redhat.com>
838 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
839 Move argv and envp down instead of moving argc up.
840 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
842 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
845 * test-skeleton.c (main): Return successful if one of
846 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
847 * string/tst-strcoll-overflow.c: Define expected status.
849 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
852 * locale/iso-639.def: Define Bhili and Tulu language codes.
854 2014-11-11 Alan Hayward <alan.hayward@arm.com>
856 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
858 2014-11-10 Renlin Li <Renlin.Li@arm.com>
861 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
863 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
865 * configure.ac: Updated check of minimal required version to
867 * manual/install.texi (Tools for Compilation): Updated version
869 * configure: Regenerated.
872 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
874 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
877 2014-11-07 Joseph Myers <joseph@codesourcery.com>
879 * include/sys/wait.h (__libc_waitpid): Remove declaration.
880 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
881 (__waitpid): Don't define as alias. Use libc_hidden_def not
883 (waitpid): Define as alias of __waitpid.
884 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
886 (__waitpid): Don't define as alias. Use libc_hidden_def not
888 (waitpid): Define as alias of __waitpid.
889 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
890 __libc_waitpid alias.
891 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
892 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
894 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
895 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
896 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
898 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
900 (__waitpid): Don't define as alias. Use libc_hidden_def not
902 (waitpid): Define as alias of __waitpid.
904 2014-11-06 Carlos O'Donell <carlos@redhat.com>
906 * manual/llio.texi: Add comment that write safety has been
909 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
910 (localplt-build-dso): Add elf/ld.so.
911 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
912 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
915 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
920 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
921 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
922 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
923 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
924 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
925 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
926 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
927 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
928 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
930 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
932 2014-11-05 Joseph Myers <joseph@codesourcery.com>
935 * include/libc-symbols.h (INTUSE): Remove macro.
937 (INTVARDEF): Likewise.
938 (_INTVARDEF): Likewise.
940 (INTVARDEF2): Likewise.
941 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
942 rtld_hidden_def instead of INTVARDEF.
943 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
944 (_dl_starting_up_internal): Remove declaration.
945 (_dl_starting_up): Use rtld_hidden_proto.
946 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
948 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
949 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
951 * elf/dl-writev.h (_dl_writev): Likewise.
952 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
953 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
954 _dl_starting_up_internal.
956 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
958 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
961 2014-11-05 Will Newton <will.newton@linaro.org>
963 * benchtests/Makefile: (bench-malloc): Add malloc thread
964 scalability benchmark.
965 * benchtests/bench-malloc-threads.c: New file.
967 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
969 * sysdeps/aarch64/strchrnul.S: New file.
971 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
975 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
979 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
983 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
986 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
988 * catgets/test-gencat.c: Use test-skeleton.c.
989 * catgets/tst-catgets.c: Likewise.
990 * csu/tst-empty.c: Likewise.
991 * elf/tst-audit2.c: Likewise.
992 * elf/tst-global1.c: Likewise.
993 * elf/tst-pathopt.c: Likewise.
994 * elf/tst-piemod1.c: Likewise.
995 * elf/tst-tls10.c: Likewise.
996 * elf/tst-tls11.c: Likewise.
997 * elf/tst-tls12.c: Likewise.
998 * gnulib/tst-gcc.c: Likewise.
999 * iconvdata/tst-e2big.c: Likewise.
1000 * iconvdata/tst-loading.c: Likewise.
1001 * iconv/tst-iconv1.c: Likewise.
1002 * iconv/tst-iconv2.c: Likewise.
1003 * inet/test-inet6_opt.c: Likewise.
1004 * inet/tst-gethnm.c: Likewise.
1005 * inet/tst-network.c: Likewise.
1006 * inet/tst-ntoa.c: Likewise.
1007 * intl/tst-codeset.c: Likewise.
1008 * intl/tst-gettext2.c: Likewise.
1009 * intl/tst-gettext3.c: Likewise.
1010 * intl/tst-ngettext.c: Likewise.
1011 * intl/tst-translit.c: Likewise.
1012 * io/test-stat.c: Likewise.
1013 * libio/test-fmemopen.c: Likewise.
1014 * libio/tst-freopen.c: Likewise.
1015 * libio/tst-sscanf.c: Likewise.
1016 * libio/tst-ungetwc1.c: Likewise.
1017 * libio/tst-ungetwc2.c: Likewise.
1018 * libio/tst-widetext.c: Likewise.
1019 * localedata/tst-ctype.c: Likewise.
1020 * localedata/tst-digits.c: Likewise.
1021 * localedata/tst-leaks.c: Likewise.
1022 * localedata/tst-mbswcs1.c: Likewise.
1023 * localedata/tst-mbswcs2.c: Likewise.
1024 * localedata/tst-mbswcs3.c: Likewise.
1025 * localedata/tst-mbswcs4.c: Likewise.
1026 * localedata/tst-mbswcs5.c: Likewise.
1027 * localedata/tst-setlocale.c: Likewise.
1028 * localedata/tst-trans.c: Likewise.
1029 * localedata/tst-wctype.c: Likewise.
1030 * localedata/tst-xlocale1.c: Likewise.
1031 * login/tst-grantpt.c: Likewise.
1032 * malloc/tst-calloc.c: Likewise.
1033 * malloc/tst-malloc.c: Likewise.
1034 * malloc/tst-mallocstate.c: Likewise.
1035 * malloc/tst-mcheck.c: Likewise.
1036 * malloc/tst-mtrace.c: Likewise.
1037 * malloc/tst-obstack.c: Likewise.
1038 * math/atest-exp2.c: Likewise.
1039 * math/atest-exp.c: Likewise.
1040 * math/atest-sincos.c: Likewise.
1041 * math/test-matherr.c: Likewise.
1042 * math/test-misc.c: Likewise.
1043 * math/test-powl.c: Likewise.
1044 * math/tst-definitions.c: Likewise.
1045 * misc/tst-dirname.c: Likewise.
1046 * misc/tst-efgcvt.c: Likewise.
1047 * misc/tst-fdset.c: Likewise.
1048 * misc/tst-hsearch.c: Likewise.
1049 * misc/tst-mntent2.c: Likewise.
1050 * nptl/tst-sem7.c: Likewise.
1051 * nptl/tst-sem8.c: Likewise.
1052 * nptl/tst-sem9.c: Likewise.
1053 * nss/test-netdb.c: Likewise.
1054 * posix/tst-fnmatch.c: Likewise.
1055 * posix/tst-getlogin.c: Likewise.
1056 * posix/tst-gnuglob.c: Likewise.
1057 * posix/tst-mmap.c: Likewise.
1058 * pwd/tst-getpw.c: Likewise.
1059 * resolv/tst-inet_ntop.c: Likewise.
1060 * rt/tst-timer.c: Likewise.
1061 * stdio-common/test-fseek.c: Likewise.
1062 * stdio-common/test-popen.c: Likewise.
1063 * stdio-common/test-vfprintf.c: Likewise.
1064 * stdio-common/tst-cookie.c: Likewise.
1065 * stdio-common/tst-fileno.c: Likewise.
1066 * stdio-common/tst-gets.c: Likewise.
1067 * stdio-common/tst-obprintf.c: Likewise.
1068 * stdio-common/tst-perror.c: Likewise.
1069 * stdio-common/tst-sprintf2.c: Likewise.
1070 * stdio-common/tst-sprintf3.c: Likewise.
1071 * stdio-common/tst-sprintf.c: Likewise.
1072 * stdio-common/tst-swprintf.c: Likewise.
1073 * stdio-common/tst-tmpnam.c: Likewise.
1074 * stdio-common/tst-unbputc.c: Likewise.
1075 * stdio-common/tst-wc-printf.c: Likewise.
1076 * stdlib/tst-environ.c: Likewise.
1077 * stdlib/tst-fmtmsg.c: Likewise.
1078 * stdlib/tst-limits.c: Likewise.
1079 * stdlib/tst-rand48-2.c: Likewise.
1080 * stdlib/tst-rand48.c: Likewise.
1081 * stdlib/tst-random2.c: Likewise.
1082 * stdlib/tst-random.c: Likewise.
1083 * stdlib/tst-strtol.c: Likewise.
1084 * stdlib/tst-strtoll.c: Likewise.
1085 * stdlib/tst-tls-atexit.c: Likewise.
1086 * stdlib/tst-xpg-basename.c: Likewise.
1087 * string/test-ffs.c: Likewise.
1088 * string/tst-bswap.c: Likewise.
1089 * string/tst-inlcall.c: Likewise.
1090 * string/tst-strtok.c: Likewise.
1091 * string/tst-strxfrm.c: Likewise.
1092 * sysdeps/x86_64/tst-audit10.c: Likewise.
1093 * sysdeps/x86_64/tst-audit3.c: Likewise.
1094 * sysdeps/x86_64/tst-audit4.c: Likewise.
1095 * sysdeps/x86_64/tst-audit5.c: Likewise.
1096 * time/tst-ftime_l.c: Likewise.
1097 * time/tst-getdate.c: Likewise.
1098 * time/tst-mktime3.c: Likewise.
1099 * time/tst-mktime.c: Likewise.
1100 * time/tst-posixtz.c: Likewise.
1101 * time/tst-strptime2.c: Likewise.
1102 * time/tst-strptime3.c: Likewise.
1103 * wcsmbs/tst-btowc.c: Likewise.
1104 * wcsmbs/tst-mbrtowc.c: Likewise.
1105 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1106 * wcsmbs/tst-wchar-h.c: Likewise.
1107 * wcsmbs/tst-wcpncpy.c: Likewise.
1108 * wcsmbs/tst-wcrtomb.c: Likewise.
1109 * wcsmbs/tst-wcsnlen.c: Likewise.
1110 * wcsmbs/tst-wcstof.c: Likewise.
1112 2014-11-04 Joseph Myers <joseph@codesourcery.com>
1115 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1117 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1119 (_dl_mcount): Use rtld_hidden_proto.
1120 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1122 * elf/rtld.c (_rtld_global_ro): Likewise.
1125 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1126 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1127 of _dl_init_internal.
1128 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1129 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1130 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1131 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1132 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1133 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1134 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1135 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1136 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1137 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1138 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1139 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1140 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1141 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1142 * sysdeps/tile/dl-start.S (_start): Likewise.
1143 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1144 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1147 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1148 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1149 (rtld_progname): Make macro definition unconditional.
1150 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1152 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1153 (dl_main): Likewise.
1154 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1155 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1156 instead of _dl_argv_internal.
1157 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1158 __GI__dl_argv instead of INTUSE(_dl_argv).
1159 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1160 __GI__dl_argv instead of _dl_argv_internal.
1162 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1163 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1165 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1166 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1168 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1169 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1171 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1172 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1174 2014-11-04 Andreas Schwab <schwab@suse.de>
1176 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1178 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1180 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1181 mtvsrd instruction in binary form.
1183 2014-11-03 Andreas Schwab <schwab@suse.de>
1186 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1187 for less than MB_LEN_MAX use a local buffer of that size.
1188 * libio/tst-fputws.c: New file.
1189 * libio/Makefile (tests): Add tst-fputws.
1191 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1193 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1194 the size of the fpu_fr.fpu_dregs[] array.
1196 2014-11-01 Joseph Myers <joseph@codesourcery.com>
1198 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1199 (__nanosleep): Do not define as alias.
1200 (nanosleep): Define as alias of __nanosleep.
1201 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1202 __libc_nanosleep name.
1204 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1206 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1207 install.texi in comment.
1209 2014-10-31 Torvald Riegel <triegel@redhat.com>
1211 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1212 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1213 ... add here and use lwsync or sync ...
1214 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1215 ... and add here using lwsync.
1217 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1219 * elf/dl-machine-reject-phdr.h: New file.
1220 * elf/dl-load.c: #include that.
1221 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1222 if that returned true.
1224 2014-10-31 Roland McGrath <roland@hack.frob.com>
1227 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1228 gen-as-const-headers chunk. Add a big scare comment after the last
1229 safe place to touch before-compile.
1231 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1233 * manual/install.texi (Tools for Compilation): Update autoconf
1234 version requirements.
1235 * INSTALL: Regenerated.
1237 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1238 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1239 (__libc_pselect): Likewise.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1247 2014-10-31 Torvald Riegel <triegel@redhat.com>
1249 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1250 correct barrier instruction.
1251 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1253 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1256 2014-10-30 Roland McGrath <roland@hack.frob.com>
1258 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1259 after defining inlines. Instead, just use parens to defeat macro
1260 expansion of __isctype in its declaration.
1262 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1264 * include/sys/uio.h (__libc_readv): Remove declaration.
1265 (__libc_writev): Likewise.
1266 * misc/readv.c (__libc_readv): Rename to __readv.
1267 (__readv): Do not define as alias.
1268 (readv): Define as alias of __readv.
1269 * misc/writev.c (__libc_writev): Rename to __writev.
1270 (__writev): Do not define as alias.
1271 (writev): Define as alias of __writev.
1272 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1273 (__readv): Do not define as alias.
1274 (readv): Define unconditionally as alias of __readv.
1275 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1276 (__writev): Do not define as alias.
1277 (writev): Define unconditionally as alias of __writev.
1278 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1280 (writev): Do not define __libc_writev name.
1282 2014-10-30 Roland McGrath <roland@hack.frob.com>
1284 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1285 (convert_charseq): New function, broken out of ...
1286 (use_from_charmap): ... here. Call it.
1287 (use_to_charmap): Use convert_charseq and free instead of duplicating
1288 its code with a variable-length stack struct.
1290 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1292 * include/fcntl.h (__libc_creat): Remove declaration.
1293 * io/creat.c (__libc_creat): Rename to creat.
1294 (creat): Do not define as alias.
1295 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1296 of creat instead of __libc_creat.
1297 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1299 (creat): Do not define as alias.
1300 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1302 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1307 2014-10-29 Carlos O'Donell <carlos@redhat.com>
1309 * manual/llio.texi: Add comments discussing why write() may be
1310 considered MT-unsafe on Linux.
1312 2014-10-28 Carlos O'Donell <carlos@redhat.com>
1314 * dl-load.c (local_strdup): Remove.
1315 (expand_dynamic_string_token): Use __strdup.
1316 (decompose_rpath): Likewise.
1317 (_dl_map_object): Likewise.
1319 2014-10-28 Joseph Myers <joseph@codesourcery.com>
1322 * sysdeps/generic/unwind-dw2-fde.c
1323 (__register_frame_info_bases_internal): Do not declare.
1324 (__register_frame_info_table_bases_internal): Likewise.
1325 (__deregister_frame_info_bases_internal): Likewise.
1326 (__register_frame_info_bases): Declare and use hidden_proto before
1327 definition. Use hidden_def instead of INTDEF.
1328 (__register_frame_info_table_bases): Likewise.
1329 (__deregister_frame_info_bases): Likewise.
1330 (__register_frame_info): Do not use INTUSE.
1331 (__register_frame): Likewise.
1332 (__register_frame_info_table): Likewise.
1333 (__register_frame_table): Likewise.
1334 (__deregister_frame_info): Likewise.
1335 (__deregister_frame): Likewise.
1337 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1340 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1342 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1344 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1347 2014-10-27 Joseph Myers <joseph@codesourcery.com>
1350 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1351 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1352 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1353 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1354 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1355 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1356 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1357 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1358 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1359 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1360 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1361 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1362 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1364 (setfsuid): Likewise.
1365 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1366 (setfsuid): Likewise.
1367 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1368 (setfsuid): Likewise.
1369 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1371 (setfsuid): Likewise.
1372 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1373 (setfsuid): Likewise.
1374 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1376 (setfsuid): Likewise.
1378 2014-10-27 Andreas Schwab <schwab@suse.de>
1381 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1382 check for Slow_SSE4_2 feature bit.
1383 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1384 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1385 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1386 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1388 2014-10-24 Roland McGrath <roland@hack.frob.com>
1390 * configure.ac: Validate compiler version with a empirical test of
1391 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1393 * configure: Regenerated.
1395 * inet/htons.c (htons): Prototypify.
1396 * inet/htonl.c (htonl): Likewise.
1398 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1400 * string/strncat.c (strncat): Improve performance by using strlen.
1402 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1404 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1406 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1408 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1409 Call libc_fetestexcept_aarch64.
1411 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1413 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1414 Call libc_feholdexcept_aarch64.
1416 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1418 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1419 Call get_rounding_mode.
1421 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1423 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1426 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1428 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1431 2014-10-24 Joseph Myers <joseph@codesourcery.com>
1434 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1435 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1436 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1437 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1438 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1439 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1440 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1441 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1442 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1443 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1444 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1445 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1446 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1447 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1448 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1449 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1450 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1451 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1452 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1453 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1454 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1455 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1456 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1458 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1460 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1462 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1463 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1464 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1465 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1466 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1467 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1468 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1469 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1470 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1471 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1472 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1474 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1476 (geteuid): Likewise.
1479 (getresgid): Likewise.
1480 (getresuid): Likewise.
1481 (getgroups): Likewise.
1482 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1483 (geteuid): Likewise.
1486 (getresgid): Likewise.
1487 (getresuid): Likewise.
1488 (getgroups): Likewise.
1489 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1490 (geteuid): Likewise.
1493 (getresgid): Likewise.
1494 (getresuid): Likewise.
1495 (getgroups): Likewise.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1498 (geteuid): Likewise.
1501 (getresgid): Likewise.
1502 (getresuid): Likewise.
1503 (getgroups): Likewise.
1504 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1505 (geteuid): Likewise.
1508 (getresgid): Likewise.
1509 (getresuid): Likewise.
1510 (getgroups): Likewise.
1511 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1513 (geteuid): Likewise.
1516 (getgroups): Likewise.
1519 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1520 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1521 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1522 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1523 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1524 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1525 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1526 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1527 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1528 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1530 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1533 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1536 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1540 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1548 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1550 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1553 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1555 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1558 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1560 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1561 Remove unused include.
1563 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1565 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1566 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1567 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1568 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1570 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1571 Helge Deller <deller@gmx.de>
1574 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1575 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1576 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1578 2014-10-23 Joseph Myers <joseph@codesourcery.com>
1581 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1582 Remove macro definition.
1583 (__ashrdi3_v_glibc20): Likewise.
1584 (__lshrdi3_v_glibc20): Likewise.
1585 (__cmpdi2_v_glibc20): Likewise.
1586 (__ucmpdi2_v_glibc20): Likewise.
1587 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1588 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1589 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1590 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1591 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1592 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1594 2014-10-22 Roland McGrath <roland@hack.frob.com>
1596 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1597 old GNU extension [0] syntax.
1598 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1599 alloca rather than an array member with variable length.
1600 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1601 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1602 (parse_opt): ... here. Likewise use alloca there.
1603 Validate the -i argument before checking for rootness.
1604 (send_shutdown): New function, broken out of ...
1605 (parse_opt): ... here.
1607 2014-10-22 Roland McGrath <roland@hack.frob.com>
1609 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1610 macro to get at the _rt_local_ro field.
1611 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1612 ([PIC] case) or _dl_hwcap ([!PIC] case).
1613 * sysdeps/arm/setjmp.S: Likewise.
1615 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1616 * sysdeps/arm/configure.ac: New check to define it.
1617 * sysdeps/arm/configure: Regenerated.
1618 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1619 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1620 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1621 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1622 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1623 Use move/movt pair instead of a load.
1624 (LDST_GLOBAL): Macro removed.
1625 (LDR_GLOBAL): New macro replaces it.
1626 (LDR_HIDDEN): New macro.
1627 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1628 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1630 * setjmp/tst-setjmp-static.c: New file.
1631 * setjmp/Makefile (tests): Add it.
1632 (tests-static): New variable.
1634 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1637 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1639 2014-10-21 Joseph Myers <joseph@codesourcery.com>
1642 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1644 2014-10-21 Roland McGrath <roland@hack.frob.com>
1646 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1648 2014-10-20 Roland McGrath <roland@hack.frob.com>
1650 * io/fts.c (dirent_not_directory): New function.
1651 (fts_build): Call it.
1653 2014-10-20 Roland McGrath <roland@hack.frob.com>
1655 * nptl/version.c (__nptl_main): Use normal __write rather than
1657 (banner): Update copyright years.
1659 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1661 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1662 * nptl/pthread_cond_timedwait.c: Likewise.
1663 * nptl/pthread_mutex_timedlock.c: Likewise.
1664 * nptl/sem_timedwait.c: Likewise.
1666 * sysdeps/nptl/bits/libc-lock.h
1667 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1668 (__libc_lock_init_recursive): Return void, not 0.
1669 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1670 (__libc_rwlock_init): Likewise.
1671 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1673 2014-10-20 Torvald Riegel <triegel@redhat.com>
1676 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1677 (__pthread_once_slow): ... here.
1678 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1679 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1681 2014-10-20 Torvald Riegel <triegel@redhat.com>
1684 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1685 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1686 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1687 * nptl/pthread_once.c (__pthread_once): Likewise.
1690 2014-10-20 Joseph Myers <joseph@codesourcery.com>
1693 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1695 (writev): Use __libc_writev as strong name.
1696 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1697 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1699 2014-10-17 Roland McGrath <roland@hack.frob.com>
1701 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1703 * sysdeps/i386/nptl/tls.h
1704 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1705 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1707 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1708 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1709 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1710 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1711 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1712 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1714 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1715 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1717 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1719 (__pthread_mutex_init): ... here. Call it.
1720 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1721 Conditionalize PI cases on [__NR_futex].
1722 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1723 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1724 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1726 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1727 conditional on [SIGSETXID].
1728 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1729 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1730 is defined. Likewise for SIGSETXID.
1731 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1732 Conditionalize definitions on [SIGSETXID].
1733 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1734 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1735 unblocking on [SIGCANCEL].
1737 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1738 [__NR_set_robust_list].
1740 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1742 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1743 (do_compare): Likewise.
1745 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
1748 * string/strcoll_l.c: Don't include stdio.h.
1749 (coll_seq): Remove members idxarr and rulearr.
1750 (get_next_seq_cached): Remove function.
1751 (get_next_seq): Likewise.
1752 (get_next_seq_nocache): Rename to get_next_seq.
1753 (do_compare): Remove function.
1754 (do_compare_nocache): Rename to do_compare.
1755 (STRCOLL): Remove weight and rules cache.
1757 2014-10-16 Roland McGrath <roland@hack.frob.com>
1759 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1760 * sysdeps/arm/sfp-machine.h: ... to here.
1761 * sysdeps/arm/Implies: Remove arm/soft-fp.
1763 2014-10-14 Joseph Myers <joseph@codesourcery.com>
1765 * conform/data/sys/utsname.h-data (*_t): Allow.
1766 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1767 [POSIX] (WEXITED): Do not expect constant.
1768 [POSIX] (WSTOPPED): Likewise.
1769 [POSIX] (WNOHANG): Likewise.
1770 [POSIX] (WNOWAIT): Likewise.
1771 [POSIX] (siginfo_t): Do not expect type or elements.
1772 [POSIX] (pid_t): Do not expect type.
1773 [POSIX] (signal.h): Do not allow header.
1774 [POSIX] (sys/resource.h): Likewise.
1775 [POSIX] (si_*): Do not allow pattern.
1776 [POSIX] (W*): Likewise.
1777 [POSIX] (P_*): Likewise.
1778 [POSIX] (BUS_*): Likewise.
1779 [POSIX] (CLD_*): Likewise.
1780 [POSIX] (FPE_*): Likewise.
1781 [POSIX] (ILL_*): Likewise.
1782 [POSIX] (POLL_*): Likewise.
1783 [POSIX] (SEGV_*): Likewise.
1784 [POSIX] (SI_*): Likewise.
1785 [POSIX] (TRAP_*): Likewise.
1786 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1789 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1792 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1793 infinite loop when __recvmsg returns 0.
1795 2014-10-10 Joseph Myers <joseph@codesourcery.com>
1797 * CANCEL-FCT-WAIVE: Remove file.
1798 * CANCEL-FILE-WAIVE: Likewise.
1801 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1802 instead of INTVARDEF.
1803 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1804 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1805 rtld_hidden_data_def instead of INTVARDEF.
1806 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1807 * elf/dl-deps.c (expand_dst): Likewise.
1808 * elf/dl-load.c (_dl_dst_count): Likewise.
1809 (_dl_dst_substitute): Likewise.
1810 (decompose_rpath): Likewise.
1811 (_dl_init_paths): Likewise.
1812 (open_path): Likewise.
1813 (_dl_map_object): Likewise.
1814 * elf/rtld.c (dl_main): Likewise.
1815 (process_dl_audit): Likewise.
1816 (process_envvars): Likewise.
1817 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1819 (__libc_enable_secure): Use rtld_hidden_proto.
1821 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1824 (add_path): New function broken out of _dl_rtld_di_serinfo.
1825 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1827 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1829 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1830 parentheses around macro arguments.
1831 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1834 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1835 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1836 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1837 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1838 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1839 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1840 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1841 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1842 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1843 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1844 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1845 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1846 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1847 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1848 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1849 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1852 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1853 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1854 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1855 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1856 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1857 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1858 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1859 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1860 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1861 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1862 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1863 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1864 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1865 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1866 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1868 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1869 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1870 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1871 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1872 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1873 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1874 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1875 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1876 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1877 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1878 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1879 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1880 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1881 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1882 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1883 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1884 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1885 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1886 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1887 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1888 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1889 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1890 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1891 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1892 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1893 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1894 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1895 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1896 (_FP_FRAC_SRS_1): Likewise.
1897 (_FP_FRAC_CLZ_1): Likewise.
1898 (_FP_MUL_MEAT_1_imm): Likewise.
1899 (_FP_MUL_MEAT_1_wide): Likewise.
1900 (_FP_MUL_MEAT_1_hard): Likewise.
1901 (_FP_SQRT_MEAT_1): Likewise.
1902 (_FP_FRAC_ASSEMBLE_1): Likewise.
1903 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1904 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1905 (__FP_CLZ_2): Likewise.
1906 (_FP_MUL_MEAT_2_wide): Likewise.
1907 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1908 (_FP_MUL_MEAT_2_gmp): Likewise.
1909 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1910 (_FP_SQRT_MEAT_2): Likewise.
1911 (_FP_FRAC_ASSEMBLE_2): Likewise.
1912 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1913 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1914 (_FP_FRAC_CLZ_4): Likewise.
1915 (_FP_MUL_MEAT_4_wide): Likewise.
1916 (_FP_MUL_MEAT_4_gmp): Likewise.
1917 (_FP_SQRT_MEAT_4): Likewise.
1918 (_FP_FRAC_ASSEMBLE_4): Likewise.
1919 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1920 * soft-fp/op-common.h (_FP_CMP): Likewise.
1921 (_FP_CMP_EQ): Likewise.
1922 (_FP_CMP_UNORD): Likewise.
1923 (_FP_TO_INT): Likewise.
1924 (_FP_FROM_INT): Likewise.
1925 [!__FP_CLZ] (__FP_CLZ): Likewise.
1926 (_FP_DIV_HELP_imm): Likewise.
1927 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1929 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1930 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1931 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1932 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1933 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1934 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1935 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1936 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1937 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1938 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1939 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1940 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1941 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1942 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1943 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1944 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1945 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1946 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1947 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1948 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1949 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1950 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1951 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1952 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1953 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1954 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1955 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1956 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1957 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1958 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1959 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1960 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1961 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1962 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1963 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1964 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1965 (FP_UNPACK_RAW_SP): Likewise.
1966 (FP_PACK_RAW_S): Likewise.
1967 (FP_PACK_RAW_SP): Likewise.
1968 (FP_UNPACK_S): Likewise.
1969 (FP_UNPACK_SP): Likewise.
1970 (FP_UNPACK_SEMIRAW_S): Likewise.
1971 (FP_UNPACK_SEMIRAW_SP): Likewise.
1972 (FP_PACK_S): Likewise.
1973 (FP_PACK_SP): Likewise.
1974 (FP_PACK_SEMIRAW_S): Likewise.
1975 (FP_PACK_SEMIRAW_SP): Likewise.
1976 (_FP_SQRT_MEAT_S): Likewise.
1977 (FP_CMP_S): Likewise.
1978 (FP_CMP_EQ_S): Likewise.
1979 (FP_CMP_UNORD_S): Likewise.
1980 (FP_TO_INT_S): Likewise.
1981 (FP_FROM_INT_S): Likewise.
1983 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1985 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1986 (FP_EX_INVALID_IMZ): Likewise.
1987 (FP_EX_INVALID_IMZ_FMA): Likewise.
1988 (FP_EX_INVALID_ISI): Likewise.
1989 (FP_EX_INVALID_ZDZ): Likewise.
1990 (FP_EX_INVALID_IDI): Likewise.
1991 (FP_EX_INVALID_SQRT): Likewise.
1992 (FP_EX_INVALID_CVI): Likewise.
1993 (FP_EX_INVALID_VC): Likewise.
1994 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1995 "invalid" exceptions.
1996 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1997 (_FP_ADD_INTERNAL): Likewise.
1998 (_FP_MUL): Likewise.
1999 (_FP_FMA): Likewise.
2000 (_FP_DIV): Likewise.
2001 (_FP_CMP_CHECK_NAN): Likewise.
2002 (_FP_SQRT): Likewise.
2003 (_FP_TO_INT): Likewise.
2004 (FP_EXTEND): Likewise.
2006 2014-10-09 Allan McRae <allan@archlinux.org>
2008 * po/fr.po: Update French translation from translation project.
2010 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2013 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2015 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2016 (__cxa_atexit): Use libc_hidden_proto.
2017 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2020 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2022 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2023 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2024 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2025 [!_ISOMAC] (__iswctype_internal): Likewise.
2026 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2027 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2029 (fcntl): Remove __fcntl_internal alias.
2030 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2031 __connect_internal alias.
2032 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2035 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2036 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2038 (_FP_CHECK_FLUSH_ZERO): New macro.
2039 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2040 (_FP_CMP): Likewise.
2041 (_FP_CMP_EQ): Likewise.
2042 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2044 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2045 (FP_TRUNC): Likewise.
2047 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2048 treated as invalid conversion, not as normal exponent.
2050 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2051 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2052 (_FP_CMP_EQ): Likewise.
2053 (_FP_CMP_UNORD): Likewise.
2054 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2055 (FP_CMP_EQ_D): Likewise.
2056 (FP_CMP_UNORD_D): Likewise.
2057 * soft-fp/extended.h (FP_CMP_E): Likewise.
2058 (FP_CMP_EQ_E): Likewise.
2059 (FP_CMP_UNORD_E): Likewise.
2060 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2061 (FP_CMP_EQ_Q): Likewise.
2062 (FP_CMP_UNORD_Q): Likewise.
2063 * soft-fp/single.h (FP_CMP_S): Likewise.
2064 (FP_CMP_EQ_S): Likewise.
2065 (FP_CMP_UNORD_S): Likewise.
2066 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2067 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2068 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2069 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2070 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2071 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2072 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2073 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2074 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2075 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2076 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2077 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2078 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2080 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2082 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2083 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2085 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2087 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2088 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2089 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2090 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2092 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2094 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2095 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2097 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2099 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2100 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2101 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2102 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2105 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2106 a subnormal result, set the underflow exception if trapping on
2107 underflow is enabled.
2108 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2109 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2110 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2112 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2113 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2114 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2115 * soft-fp/extendxftf2.c (__extendxftf2): Use
2116 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2118 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2119 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2120 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2121 FP_HANDLE_EXCEPTIONS.
2122 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2123 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2124 FP_HANDLE_EXCEPTIONS.
2125 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2126 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2127 FP_HANDLE_EXCEPTIONS.
2128 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2129 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2130 FP_HANDLE_EXCEPTIONS.
2132 2014-10-08 Joseph Myers <joseph@codesourcery.com>
2135 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2136 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2138 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2139 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2141 (__adjtimex): Define using libc_hidden_ver.
2142 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2144 (ntp_gettime): Call __adjtimex directly.
2145 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2147 (ntp_gettimex): Call __adjtimex directly.
2148 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2149 __adjtimex_internal alias.
2151 2014-10-08 Roland McGrath <roland@hack.frob.com>
2154 * nscd/nscd.c (more_help): Rewrite list of tables collection
2155 using xstrdup and asprintf.
2157 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2159 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2160 Roland McGrath <roland@hack.frob.com>
2162 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2163 (do_lookup_unique): ... local function 'enter' here; update callers.
2165 2014-10-06 Joseph Myers <joseph@codesourcery.com>
2167 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2168 compat_symbol calls on [SHARED].
2169 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2170 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2172 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2173 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2174 (oldsetrlimit): Remove.
2175 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2177 (lchown): New syscall entry.
2178 (oldsetrlimit): Remove.
2179 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2180 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2181 (oldsetrlimit): Remove.
2182 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2185 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2186 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2187 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2188 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2190 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2192 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2197 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2199 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2200 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2201 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2202 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2203 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2205 (__old_sem_post): Likewise.
2207 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
2209 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2210 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2211 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2212 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2213 Use INLINE_VSYSCALL macro.
2214 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2215 __vdso_clock_gettime.
2216 * sysdeps/unix/sysv/linux/tile/init-first.c
2217 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2218 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2219 __vdso_clock_gettime.
2221 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2222 to set up frame more cleanly.
2224 * sysdeps/tile/memcmp.c: New file.
2226 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2228 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2229 * sysdeps/tile/tilegx/strcasestr.c: New file.
2230 * sysdeps/tile/tilegx/strnlen.c: New file.
2231 * sysdeps/tile/tilegx/strstr.c: New file.
2233 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2235 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
2237 * nptl/tst-setuid3.c: Write errors to stdout.
2239 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2242 (preload): New functions broken out of _dl_map_object_deps.
2243 (_dl_map_object_deps): Remove a nested function. Update call sites.
2245 2014-10-01 Joseph Myers <joseph@codesourcery.com>
2248 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2249 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2251 2014-10-01 Steve Ellcey <sellcey@mips.com>
2253 * sysdeps/mips/strcmp.S: New.
2255 2014-09-30 Joseph Myers <joseph@codesourcery.com>
2258 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2260 (mkdirat): Likewise.
2261 (readlinkat): Likewise.
2262 (renameat): Likewise.
2263 (symlinkat): Likewise.
2264 (unlinkat): Likewise.
2265 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2266 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2267 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2268 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2269 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2270 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2271 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2273 2014-09-30 Will Newton <will.newton@linaro.org>
2275 * math/math.h: Define long double math functions if
2276 _LIBC_TEST is defined.
2277 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2279 * localedata/Makefile: Move assignment to tests-special
2280 into an ifdef testing run-built-tests.
2281 * timezone/Makefile: Likewise.
2283 2014-09-29 Joseph Myers <joseph@codesourcery.com>
2285 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2286 with $(BASH) not $(SHELL).
2288 2014-09-29 Carlos O'Donell <carlos@redhat.com>
2289 Matthew LeGendre <legendre1@llnl.gov>
2292 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2295 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2297 * stdio-common/printf_fp.c
2298 (hack_digit): New function, broken out of ...
2299 (__printf_fp): ... local function here. Update call sites.
2300 hack_digit now takes an additional parameter that is a pointer
2301 to a struct of the referenced locals. Those locals moved inside
2302 the struct and references updated.
2304 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2306 * aclocal.m4: Require autoconf 2.69.
2307 * configure: Regenerated.
2308 * sysdeps/aarch64/configure: Likewise.
2309 * sysdeps/alpha/configure: Likewise.
2310 * sysdeps/arm/armv7/configure: Likewise.
2311 * sysdeps/arm/configure: Likewise.
2312 * sysdeps/ia64/configure: Likewise.
2313 * sysdeps/mach/configure: Likewise.
2314 * sysdeps/mips/configure: Likewise.
2315 * sysdeps/s390/configure: Likewise.
2316 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2319 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2321 * sysdeps/ia64/configure.ac: Likewise.
2323 2014-09-26 Joseph Myers <joseph@codesourcery.com>
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2326 specify symbol version for ld.so. Do not include entry for
2328 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2330 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2333 * Makeconfig [$(build-shared) = yes]
2334 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2336 [$(build-shared) = yes && $(soversions.mk-done) = t]
2337 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2338 [$(build-shared) = yes && $(soversions.mk-done) = t]
2339 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2341 [$(build-shared) = yes && $(soversions.mk-done) = t]
2342 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2344 [$(build-shared) = yes && $(soversions.mk-done) = t]
2345 (common-generated): Don't append gnu/lib-names.h and
2346 gnu/lib-names.stmp here.
2347 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2348 (lib-names-h-abi): New variable.
2349 [$(build-shared) = yes && $(soversions.mk-done) = t]
2350 (lib-names-stmp-abi): Likewise.
2351 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2352 abi-variants] (before-compile): Append
2353 $(common-objpfx)$(lib-names-h-abi).
2354 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2355 abi-variants] (common-generated): Append gnu/lib-names.h.
2356 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2357 abi-variants] (install-others-nosubdir): Depend on
2358 $(inst_includedir)/$(lib-names-h-abi).
2359 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2360 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2361 [$(build-shared) = yes && $(soversions.mk-done) = t]
2362 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2363 [$(build-shared) = yes && $(soversions.mk-done) = t]
2364 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2365 [$(build-shared) = yes && $(soversions.mk-done) = t]
2366 (common-generated): Append $(lib-names-h-abi) and
2367 $(lib-names-stmp-abi).
2368 * scripts/lib-names.awk: Do not handle multi being set.
2369 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2371 (abi-lp64_be-ld-soname): Likewise.
2372 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2374 (abi-hard-ld-soname): Likewise.
2375 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2376 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2378 (abi-o32_hard-ld-soname): Likewise.
2379 (abi-o32_soft_2008-ld-soname): Likewise.
2380 (abi-o32_hard_2008-ld-soname): Likewise.
2381 (abi-n32_soft-ld-soname): Likewise.
2382 (abi-n32_hard-ld-soname): Likewise.
2383 (abi-n32_soft_2008-ld-soname): Likewise.
2384 (abi-n32_hard_2008-ld-soname): Likewise.
2385 (abi-n64_soft-ld-soname): Likewise.
2386 (abi-n64_hard-ld-soname): Likewise.
2387 (abi-n64_soft_2008-ld-soname): Likewise.
2388 (abi-n64_hard_2008-ld-soname): Likewise.
2389 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2391 (abi-64-v2-ld-soname): Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2394 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2396 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2398 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2400 (abi-64-ld-soname): Likewise.
2401 (abi-x32-ld-soname): Likewise.
2402 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2404 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2406 2014-09-23 Joseph Myers <joseph@codesourcery.com>
2409 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2410 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2411 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2412 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2413 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2414 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2415 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2416 syscall entry for GLIBC_2.2 symbol version.
2417 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2420 (setrlimit): Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2424 2014-09-23 Will Newton <will.newton@linaro.org>
2426 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2427 _LINUX_ARM_SYSDEP_H include guard too.
2428 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2431 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2433 * sysdeps/unix/sysv/linux/eventfd.c:
2434 Make first argument unsigned.
2435 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2436 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2438 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
2440 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2441 * socket/sys/socket.h: Likewise
2442 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2444 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2446 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2448 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
2450 * time/tst-ftime.c: New test.
2451 * time/Makefile (tests): Add tst-ftime.
2453 2014-09-17 Joseph Myers <joseph@codesourcery.com>
2455 * soft-fp/extended.h: Fix comment formatting.
2456 * soft-fp/op-1.h: Likewise.
2457 * soft-fp/op-2.h: Likewise.
2458 * soft-fp/op-4.h: Likewise.
2459 * soft-fp/op-8.h: Likewise.
2460 * soft-fp/op-common.h: Likewise.
2461 * soft-fp/soft-fp.h: Likewise.
2463 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2465 2014-09-16 Joseph Myers <joseph@codesourcery.com>
2468 * Makeconfig (soversions-default-setname): Remove variable.
2469 ($(common-objpfx)soversions.i): Don't pass default_setname to
2471 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2472 oldest_abi to abi-versions.awk.
2473 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2474 * config.make.in (oldest-abi): Remove variable.
2475 * configure.ac (--enable-oldest-abi): Remove configure option.
2476 * configure: Regenerated.
2477 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2479 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2480 * scripts/soversions.awk: Do not handle default_setname variable.
2481 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2483 * sysdeps/mach/hurd/configure: Regenerated.
2484 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2486 * sysdeps/unix/sysv/linux/configure: Regenerated.
2488 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2490 * elf/Makefile (CFLAGS-interp.c): Remove.
2491 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2493 * elf/interp.c: Include generated runtime-linker.h
2495 * Makerules (lib%.so): Don't include $(+interp) in
2497 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2498 * dlfcn/eval.c: Remove file.
2500 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2504 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2508 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2510 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2511 Jakub Jelinek <jakub@redhat.com>
2514 * libio/stdio.h: Check definition of __fortify_function
2515 instead of __extern_always_inline to include bits/stdio2.h.
2516 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2517 check if __extern_always_inline is defined.
2518 [__USE_MISC || __USE_XOPEN]: Likewise.
2519 [__USE_ISOC99] Likewise.
2520 * misc/sys/cdefs.h (__fortify_function): Define only if
2521 __extern_always_inline is defined.
2522 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2523 __extern_always_inline and __extern_inline only for g++-4.3
2524 and newer or a compatible gcc.
2526 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2529 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2530 last change to handle zero prefix length.
2532 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2534 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2537 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2540 2014-09-13 Allan McRae <allan@archlinux.org>
2542 * po/ru.po: Update Russian translation from translation project.
2544 2014-09-12 Roland McGrath <roland@hack.frob.com>
2546 * locale/programs/locale.c (show_locale_vars): Inline local function
2547 into its sole call site. Clean up some style nits.
2548 (print_item): New function, broken out of ...
2549 (show_info): ... local function here. Clean up style nits.
2551 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2553 (set_class_defaults): ... local function set_default here.
2554 Define set_default as a macro locally to pass constant parameters.
2555 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2556 rather than a shared local.
2558 * stdlib/rpmatch.c (try): New function, broken out of ...
2559 (rpmatch): ... local function here. Also, prototypify definition.
2561 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2563 * scripts/soversions.awk: Do not handle configuration names.
2564 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2565 vendor and os variables to soversions.awk.
2566 * configure.ac: Do not modify gnu-* host_os.
2567 * configure: Regenerated
2568 * shlib-versions: Remove first column with configuration names.
2569 * nptl/shlib-versions: Likewise.
2570 * nptl_db/shlib-versions: Likewise.
2571 * sysdeps/hppa/shlib-versions: Likewise.
2572 * sysdeps/m68k/shlib-versions: Likewise.
2573 * sysdeps/mach/hurd/shlib-versions: Likewise.
2574 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2575 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2576 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2577 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2578 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2579 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2580 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2581 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2584 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2585 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2586 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2588 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2589 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2590 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2594 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2597 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2599 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2601 * shlib-versions: Remove OS-specific entries. Moved to files in
2603 * sysdeps/mach/hurd/shlib-versions: New file.
2604 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2606 * nptl/shlib-versions: Remove architecture-specific entries.
2607 Moved to files in sysdeps.
2608 * shlib-versions: Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2611 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2612 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2614 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2616 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2617 (UDP_NO_CHECK6_RX): Likewise.
2619 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2621 * sysdeps/posix/sysconf.c (__sysconf): Spell
2622 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2624 2014-08-12 Florian Weimer <fweimer@redhat.com>
2626 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2628 * iconv/Versions (__gconv_transliterate): Export for use from
2630 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2631 (struct __gconv_trans_data, __gconv_trans_fct,
2632 __gconv_trans_context_fct, __gconv_trans_query_fct,
2633 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2635 (struct __gconv_step_data): Remove __trans member.
2636 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2637 longer hidden. Remove unused trans_data argument.
2638 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2639 (__gconv_translit_find): Remove declaration.
2640 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2642 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2643 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2644 trans_data argument. Add hidden definition.
2645 (__gconv_translit_find): Remove.
2646 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2647 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2648 * iconv/skeleton.c: Remove transliteration initialization.
2649 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2650 __gconv_step_data initialization.
2651 * libio/iofwide.c (__libio_translit_): Remove.
2652 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2653 * wcsmbs/btowc.c (__btowc): Likewise.
2654 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2655 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2656 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2657 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2658 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2659 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2660 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2661 * wcsmbs/wctob.c (wctob): Likewise.
2663 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2666 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2667 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2669 * sysdeps/x86/Makefile: Adjust.
2671 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2672 Roland McGrath <roland@hack.frob.com>
2674 * locale/weight.h: Add include guard.
2675 (findidx): Make static rather than auto; take new parameters
2676 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2677 * locale/weightwc.h: Likewise.
2678 * posix/fnmatch_loop.c
2679 (FCT): Change type of EXTRA from int32_t to wint_t.
2680 Don't include either header inside the function.
2681 Call FINDIDX rather than findidx, and pass new arguments.
2682 #undef FINDIDX at the end of the file.
2683 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2684 FINDIDX before including fnmatch_loop.c for the non-wide version.
2685 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2686 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2687 for the wide version.
2688 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2689 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2690 Pass new arguments to findidx.
2691 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2692 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2693 Don't #include it inside the function. Pass new arguments to findidx.
2694 * posix/regex_internal.h
2695 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2696 (re_string_elem_size_at): Don't #include it inside the function.
2697 Pass new arguments to findidx.
2698 * string/strcoll_l.c: #include WEIGHT_H at top level.
2699 (get_next_seq): Don't #include it inside the function.
2700 Pass new arguments to findidx.
2701 (get_next_seq_nocache): Likewise.
2702 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2703 (STRXFRM): Don't #include it inside the function.
2704 Pass new arguments to findidx.
2706 2014-09-11 Florian Weimer <fweimer@redhat.com>
2709 * malloc/malloc.c (unlink): Turn asserts into a call to
2712 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
2715 * libio/wfileops (do_ftell_wide): Free OUT.
2717 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2719 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2721 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2724 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2725 group if the current group is empty.
2727 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729 * benchtests/bench-memset.c (test_main): Add more test from size
2730 from 32 to 512 bytes.
2731 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2732 Add POWER8 memset object.
2733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2734 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2735 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2737 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2739 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2740 multiarch POWER8 memset optimization.
2741 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2742 POWER8 memset optimization.
2744 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2745 Remove bzero multiarch objects.
2746 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2747 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2748 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2749 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2751 [__bzero]: Redefine to specific name.
2752 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2753 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2754 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2756 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2757 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2759 2014-09-10 Florian Weimer <fweimer@redhat.com>
2761 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2762 warnings into errors.
2764 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2765 __cxa_thread_atexit_impl prototype.
2767 2014-09-09 Steve Ellcey <sellcey@mips.com>
2769 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2770 Fix capitalization of error message.
2772 2014-09-09 Steve Ellcey <sellcey@mips.com>
2774 * sysdeps/mips/preconfigure: Modify ABI tests.
2776 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2778 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2780 2014-09-07 Roland McGrath <roland@hack.frob.com>
2781 Carlos O'Donell <carlos@systemhalted.org>
2783 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2784 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2785 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2786 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2787 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2788 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2789 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2790 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2791 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2792 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2793 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2794 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2795 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2796 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2797 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2798 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2799 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2800 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2801 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2802 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2803 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2804 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2805 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2806 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2807 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2808 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2809 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2810 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2811 Deconditionalize the code that was previously under [RESET_PID].
2812 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2813 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2814 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2815 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2818 2014-09-08 Allan McRae <allan@archlinux.org>
2820 * version.h (RELEASE): Set to "development".
2821 (VERSION): Set to "2.20.90"
2823 2014-09-07 Allan McRae <allan@archlinux.org
2825 * version.h (RELEASE): Set to "stable".
2826 (VERSION): Set to "2.20"
2827 * include/features.h (__GLIBC_MINOR__): Set to 20.
2829 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2832 * po/ko.po: Update Korean translation from translation project.
2834 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2837 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2838 macro for handling signed relocations.
2840 2014-09-03 Florian Weimer <fweimer@redhat.com>
2843 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2844 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2846 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2847 * iconvdata/ibm935.c (BODY): Likewise.
2848 * iconvdata/ibm937.c (BODY): Likewise.
2849 * iconvdata/ibm939.c (BODY): Likewise.
2850 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2852 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2854 * iconvdata/run-iconv-test.sh: New test loop for checking for
2857 2014-09-02 Khem Raj <raj.khem@gmail.com>
2859 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2862 2014-09-01 Allan McRae <allan@archlinux.org>
2864 * po/eo.po: Update Esperanto translation from translation project.
2866 * po/ca.po: Update Catalan translation from translation project.
2868 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2870 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2873 2014-08-27 Mark Wielaard <mjw@redhat.com>
2876 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2877 to call set_thread_area instead of hand written asm.
2878 (__NR_set_thread_area): Removed define.
2879 (TLS_FLAG_WRITABLE): Likewise.
2880 (__ASSUME_SET_THREAD_AREA): Remove check.
2881 (TLS_EBX_ARG): Remove define.
2882 (TLS_LOAD_EBX): Likewise.
2884 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2886 Simplify atomicity of socket creation in bind.
2888 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2889 looking up the name after linking the file.
2891 2014-08-27 Allan McRae <allan@archlinux.org>
2893 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2895 2014-08-26 Florian Weimer <fweimer@redhat.com>
2898 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2899 trans_compare, open_translit, __gconv_translit_find):
2900 Remove module loading code.
2902 2014-08-26 Allan McRae <allan@archlinux.org>
2904 * po/vi.po: Update Vietnamese translation from translation project.
2906 * po/uk.po: Update Ukrainian translation from translation project.
2908 * po/fr.po: Update French translation from translation project.
2910 * po/ru.po: Update Russian translation from translation project.
2912 * po/pl.po: Update Polish translation from translation project.
2914 * po/cs.po: Update Czech translation from translation project.
2916 * po/de.po: Update German translation from translation project.
2918 * po/bg.po: Update Bulgarian translation from translation project.
2920 * po/sv.po: Update Sweedish translation from translation project.
2922 * po/nl.po: Update Dutch translation from translation project.
2924 * po/es.po: Update Spanish translation from translation project.
2926 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2928 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2930 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2931 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2932 (CPPFLAGS-iconvconfig): Likewise.
2933 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2935 * include/libc-symbols.h: Remove unnecessary check for
2937 * nptl/pthreadP.h: Likewise.
2938 * sysdeps/aarch64/setjmp.S: Likewise.
2939 * sysdeps/alpha/setjmp.S: Likewise.
2940 * sysdeps/arm/sysdep.h: Likewise.
2941 * sysdeps/i386/setjmp.S: Likewise.
2942 * sysdeps/m68k/setjmp.c: Likewise.
2943 * sysdeps/posix/getcwd.c: Likewise.
2944 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2946 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2947 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2948 * sysdeps/sh/sh3/setjmp.S: Likewise.
2949 * sysdeps/sh/sh4/setjmp.S: Likewise.
2950 * sysdeps/unix/alpha/sysdep.h: Likewise.
2951 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2953 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2954 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2959 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2962 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2964 * sysdeps/x86_64/setjmp.S: Likewise.
2966 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2969 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2971 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2972 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2974 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2976 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2979 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2980 and __x86_64__ when disabling x87 inline functions.
2982 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2985 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2986 asm statement with __cpuid_count.
2988 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2990 * configure.ac: Change __ehdr_start code to dereference the struct.
2991 Run readelf on the output to look for relocations.
2992 * configure: Regenerated.
2994 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2997 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2999 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3001 2014-08-12 Roland McGrath <roland@hack.frob.com>
3003 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3005 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3008 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3009 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3011 2014-08-12 Sean Anderson <seanga2@gmail.com>
3013 * malloc/malloc.c: Fix typo in comment.
3015 2014-08-09 Allan McRae <allan@archlinux.org>
3017 * Regenerate libc.po.
3019 2014-08-08 Mike Frysinger <vapier@gentoo.org>
3021 * intl/tst-gettext2.sh: Check every lang file for creation.
3023 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3025 * sysdeps/aarch64/fpu/math_private.h
3026 (libc_feholdsetround_noex_aarch64_ctx): New function.
3028 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3030 * sysdeps/arm/armv6/strcpy.S (strcpy):
3031 Fix performance issue in misaligned cases.
3033 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3035 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3036 Move definition from termios.h.
3037 (struct termio): Likewise.
3038 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3039 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3040 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3041 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3043 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3044 Move definition to ioctl-types.h
3045 (struct termio): Likewise.
3046 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3047 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3048 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3049 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3052 2014-08-05 Richard Henderson <rth@redhat.com>
3054 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3056 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3058 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3059 Use __feraiseexcept.
3060 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3061 Protect libm symbols with IS_IN_libm.
3063 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3065 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3067 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3069 2014-08-04 Will Newton <will.newton@linaro.org>
3071 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3074 2014-08-04 Mike Frysinger <vapier@gentoo.org>
3076 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3077 variants for each function.
3079 2014-08-04 Roland McGrath <roland@hack.frob.com>
3081 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3083 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3084 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3086 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3087 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3088 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3089 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3090 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3091 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3092 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3093 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3094 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3095 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3096 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3097 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3098 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3099 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3100 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3101 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3102 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3103 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3104 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3105 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3106 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3107 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3109 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3110 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3111 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3112 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3113 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3114 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3115 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3116 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3117 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3118 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3119 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3120 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3121 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3122 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3123 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3124 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3125 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3126 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3128 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3129 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3130 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3131 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3132 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3133 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3134 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3135 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3136 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3137 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3138 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3140 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3141 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3143 2014-08-04 Roland McGrath <roland@hack.frob.com>
3145 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3146 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3147 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3148 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3149 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3150 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3152 2014-08-04 Roland McGrath <roland@hack.frob.com>
3154 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3155 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3156 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3157 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3159 2014-08-04 Roland McGrath <roland@hack.frob.com>
3161 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3162 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3163 (__libc_vfork): Define function under this name.
3164 (__vfork): Define as an alias.
3165 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3166 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3168 2014-08-04 Roland McGrath <roland@hack.frob.com>
3170 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3171 that was previously under [RESET_PID].
3172 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3174 2014-08-04 Andreas Schwab <schwab@suse.de>
3176 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3178 2014-08-03 Mike Frysinger <vapier@gentoo.org>
3180 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3183 2014-08-01 Roland McGrath <roland@hack.frob.com>
3185 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3187 2014-08-01 Richard Henderon <rth@redhat.com>
3189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3190 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3191 typo in exact zero test.
3192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3193 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3196 2014-08-01 Roland McGrath <roland@hack.frob.com>
3198 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3199 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3200 * sysdeps/arm/sysdep.h: ... here.
3201 [!__ASSEMBLER__]: Include <stdint.h>.
3203 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3205 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3206 (HAVE_WCTYPE_H): Likewise.
3207 (HAVE_ISWCTYPE): Likewise.
3208 (ENABLE_NLS): Likewise.
3209 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3210 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3212 * posix/regex_internal.c: Check if DEBUG is defined and is
3215 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3216 (HAVE_MBSRTOWCS): Likewise.
3217 * posix/fnmatch.c: Include string.h unconditionally.
3219 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3221 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3224 2014-07-31 Roland McGrath <roland@hack.frob.com>
3226 * sysdeps/generic/safe-fatal.h: New file.
3227 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3228 * nptl/forward.c: Include it.
3229 (__pthread_unwind): Use __safe_fatal as default action, rather
3230 than a bogus use of INTERNAL_SYSCALL that could never work.
3232 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3233 * configure.ac (libc_cv_builtin_trap): New test.
3234 * configure: Regenerated.
3235 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3236 (ABORT_INSTRUCTION): Define using __builtin_trap.
3238 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3239 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3240 * sysdeps/nptl/nptl-signals.h: New file.
3241 * nptl/pthreadP.h: Include <nptl-signals.h>.
3243 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3245 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3246 (ONE_DIRECTION): Define.
3247 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3248 (ONE_DIRECTION): Define.
3249 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3250 (ONE_DIRECTION): Define.
3252 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3254 * sysdeps/s390/Makefile: Delete file.
3255 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3256 * sysdeps/s390/__longjmp.c: Delete file.
3257 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3258 Remove fields __flags and __reserved.
3259 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3261 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3262 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3263 * sysdeps/s390/rtld-setjmp.S: Likewise.
3264 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3265 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3266 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3267 * sysdeps/s390/s390-32/setjmp.S: ... here.
3269 (__sigsetjmp): Remove setting __flags field.
3270 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3271 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3272 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3273 * sysdeps/s390/s390-64/setjmp.S: ... here.
3275 (__sigsetjmp): Remove setting __flags field.
3276 * sysdeps/s390/setjmp.S: Delete file.
3277 * sysdeps/s390/sigjmp.c: Likewise.
3278 * sysdeps/s390/v1-longjmp.c: Likewise.
3279 * sysdeps/s390/v1-setjmp.h: Likewise.
3280 * sysdeps/s390/v1-sigjmp.c: Likewise.
3281 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3282 Remove v1-longjmp_chk.
3283 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3284 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3285 Include debug/longjmp_chk.c and add versioning.
3286 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3287 Include nptl/pt-longjmp.c and add versioning.
3288 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3289 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3290 Include __longjmp.c.
3291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3293 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3294 (__getcontext): Remove setting __flags field.
3296 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3297 Don't restore upper high grps.
3298 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3300 (__swapcontext): Remove setting uc_flags field.
3301 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3303 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3304 Include __longjmp.c.
3305 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3307 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3308 (__getcontext): Remove setting __flags field.
3310 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3311 (__swapcontext): Remove setting uc_flags field.
3312 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3314 Remove fields uc_high_gprs and __reserved.
3315 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3316 New file with reverted content.
3317 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3318 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3320 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3323 2014-07-31 Andreas Schwab <schwab@suse.de>
3325 * config.h.in (HAVE_IFUNC): Define to 0.
3326 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3329 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3332 memmove-avx-unaligned, memcpy-avx-unaligned and
3333 mempcpy-avx-unaligned.
3334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3335 Add tests for AVX memcpy functions.
3336 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3337 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3339 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3340 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3342 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3343 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3345 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3346 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3347 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3349 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3352 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3355 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
3358 * manual/llio.texi: Add section about open file description locks.
3359 * manual/examples/ofdlocks.c: Example of open file description
3361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3362 F_OFD_SETLK, and F_OFD_SETLKW.
3364 2014-07-23 Allan McRae <allan@archlinux.org>
3366 * po/es.po: Update Spanish translation from translation project.
3368 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3370 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3372 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3375 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3376 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3377 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3379 2014-07-17 Joseph Myers <joseph@codesourcery.com>
3382 * math/fesetenv.c (__fesetenv)
3383 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3384 * math/feupdateenv.c (__feupdateenv)
3385 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3387 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3388 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3389 (__ASSUME_SOCKETCALL): Do not define.
3391 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3392 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3393 (__ASSUME_SOCKETCALL): Do not define.
3394 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3395 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3396 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3397 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3398 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3399 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3400 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3401 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3403 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3404 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3405 (__ASSUME_SOCKETCALL): Do not define.
3406 (__ASSUME_IPC64): Define unconditionally.
3407 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3408 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3409 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3410 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3411 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3412 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3413 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3416 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3417 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3418 (__ASSUME_SOCKETCALL): Do not define.
3419 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3420 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3421 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3422 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3423 (__ASSUME_REQUEUE_PI): Define unconditionally.
3424 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3425 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3426 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3427 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3428 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3429 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3431 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3432 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3433 (__ASSUME_SOCKETCALL): Do not define.
3434 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3435 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3436 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3437 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3438 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3439 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3441 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3442 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3443 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3444 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3445 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3446 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3447 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3448 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3449 (__ASSUME_GETCPU_SYSCALL): Likewise.
3451 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3452 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3453 cases for individual architectures.
3454 * sysdeps/gnu/configure: Regenerated.
3455 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3456 LIBC_SLIBDIR_RTLDDIR.
3457 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3458 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3459 LIBC_SLIBDIR_RTLDDIR.
3460 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3462 LIBC_SLIBDIR_RTLDDIR.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3465 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3466 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3468 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3469 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3471 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3472 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3473 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3474 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3476 * sysdeps/aarch64/shlib-versions: Move to ...
3477 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3478 * sysdeps/alpha/shlib-versions: Move to ...
3479 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3480 * sysdeps/arm/shlib-versions: Move to ...
3481 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3482 * sysdeps/hppa/shlib-versions: Move all contents except for
3483 libgcc_s entry to ...
3484 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3486 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3487 * sysdeps/ia64/shlib-versions: Move to ...
3488 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3490 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3491 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3492 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3493 * sysdeps/microblaze/shlib-versions: Move to ...
3494 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3495 * sysdeps/mips/shlib-versions: Move to ...
3496 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3498 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3499 * sysdeps/tile/shlib-versions: Move to ...
3500 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3501 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3503 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3504 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3506 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3508 2014-07-17 Will Newton <will.newton@linaro.org>
3510 * sysdeps/arm/bits/atomic.h
3511 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3512 (__arch_compare_and_exchange_bool_16_int): Likewise.
3513 (__arch_compare_and_exchange_bool_64_int): Likewise.
3515 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3516 into an #else block.
3518 2014-07-16 Roland McGrath <roland@hack.frob.com>
3520 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3521 just Linux configurations. Test empirically that the compiler sets
3522 __ARM_EABI__, rather than using the tuple to decide.
3523 * sysdeps/arm/preconfigure: Regenerated.
3524 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3525 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3526 contents appended ...
3527 * sysdeps/arm/configure.ac: ... here.
3528 * sysdeps/arm/configure: Regenerated.
3530 2014-07-15 Roland McGrath <roland@hack.frob.com>
3532 * nptl/pthread_kill.c: New file.
3533 * nptl/pthread_sigmask.c: New file.
3534 * nptl/pthread_sigqueue.c: New file.
3536 * sysdeps/nptl/lowlevellock.h: New file.
3537 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3538 * sysdeps/nptl/lowlevellock-futex.h: New file.
3540 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3541 Remove dead declarations.
3543 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3545 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3546 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3548 * sysdeps/x86_64/configure.ac: Likewise.
3549 * sysdeps/i386/configure: Regenerated.
3550 * sysdeps/x86_64/configure: Likewise.
3551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3552 memset-avx2 only if config-cflags-avx2 is yes.
3553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3554 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3556 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3557 only if HAVE_AVX2_SUPPORT is defined.
3558 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3560 2014-07-14 Alan Modra <amodra@gmail.com>
3563 * elf/elf.h (DT_PPC64_NUM): Correct value.
3564 * NEWS: Add to fixed bug list.
3566 2014-07-13 Jim Meyering <meyering@fb.com>
3569 regex: don't deref NULL upon heap allocation failure
3570 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3571 failure in one more place.
3572 To trigger the segfault, configure grep -with-included-regex,
3573 build it, and run these commands:
3574 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3576 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3578 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3580 2014-07-11 Richard Henderson <rth@redhat.com>
3582 * sysdeps/aarch64/libm-test-ulps: Update.
3584 2014-07-10 Florian Weimer <fweimer@redhat.com>
3587 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3588 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3589 (__nptl_setxid): Initialize error member. Call
3590 __nptl_setxid_error.
3591 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3592 * nptl/descr.h (struct xid_command): Add error member.
3593 * nptl/tst-setuid3.c: New file.
3594 * nptl/Makefile (tests): Add it.
3596 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3598 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3600 (__lll_trylock): Use __lll_base_trylock.
3601 (__lll_cond_trylock): Likewise.
3603 2014-07-10 Roland McGrath <roland@hack.frob.com>
3605 * nptl/pthread_create.c (start_thread): Use atomic_or and
3606 lll_futex_wake directly rather than lll_robust_dead.
3607 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3608 (lll_robust_dead): Macro removed.
3609 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3610 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3611 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3612 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3613 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3614 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3615 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3616 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3617 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3618 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3619 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3620 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3621 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3622 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3623 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3625 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3626 Use atomic_compare_and_exchange_val_acq directly rather than
3628 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3629 (__lll_robust_trylock, lll_robust_trylock): Removed.
3630 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3631 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3632 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3633 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3634 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3635 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3636 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3637 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3638 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3639 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3640 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3641 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3642 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3643 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3645 2014-07-02 Florian Weimer <fweimer@redhat.com>
3647 * manual/locale.texi (Locale Names): New section documenting
3648 locale name syntax. Adjust menu and node chaining accordingly.
3649 (Choosing Locale): Reference Locale Names, Locale Categories.
3650 Mention setting LC_ALL=C. Reflect that name syntax is now
3652 (Locale Categories): New section title. Reference Locale Names.
3653 LC_ALL is an environment variable, but not a category.
3654 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3655 description, now in Locale Name. Reference that section. Locale
3656 name syntax is now documented.
3658 2014-07-02 Florian Weimer <fweimer@redhat.com>
3661 * locale/findlocale.c (name_present, valid_locale_name): New
3663 (_nl_find_locale): Use the loc_name variable to store name
3664 candidates. Call name_present and valid_locale_name to check and
3665 validate locale names. Return an error if the locale is invalid.
3667 2014-07-02 Florian Weimer <fweimer@redhat.com>
3669 * locale/setlocale.c (setlocale): Use strdup for allocating
3670 composite name copy.
3672 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3674 Sync up with gnulib.
3675 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3676 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3677 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3678 and _GL_ARG_NONNULL.
3679 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3680 [!_LIBC]: Include code for Windows and Cygwin.
3681 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3682 Include prototype for int strerror_r.
3683 [!_LIBC] (is_open): New function.
3684 (flush_stdout): New function.
3685 (print_errno_message): Use it.
3687 (error_at_line): Likewise.
3688 (error_tail) Add function attribute macros. Use
3691 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3693 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3695 * io/ftw.c: Include sys/param.h unconditionally.
3697 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3700 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3702 (freecache): New function to free CACHE on exit.
3704 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3707 2014-07-09 David S. Miller <davem@davemloft.net>
3709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3711 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3712 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3713 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3714 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3715 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3716 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3717 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3718 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3719 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3720 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3721 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3722 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3723 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3725 2014-07-09 Andreas Schwab <schwab@suse.de>
3727 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3729 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3730 (do_test): Likewise.
3732 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3734 2014-07-09 Will Newton <will.newton@linaro.org>
3736 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3737 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3738 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3739 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3740 * sysdeps/hppa/start.S (_start): Likewise.
3742 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3744 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3746 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3749 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3751 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3752 after checking that it is non-NULL.
3754 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3756 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3758 * sysdeps/powerpc/memmove.c: Remove file.
3759 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3760 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3761 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3762 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3763 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3764 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3765 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3766 string memmove instead of removed powerpc one.
3768 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3769 [weak_alias]: Fix compiler warning due trailing data.
3770 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3771 [weak_alias]: Likewise.
3772 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3773 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3776 (__libc_ifunc_impl_list): Add memmove functions.
3778 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3780 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3782 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3784 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3786 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3788 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3790 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3792 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3794 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3796 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3798 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3800 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3802 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3804 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3806 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3808 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3810 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3812 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3815 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3817 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3818 to avoid alignment traps in non-cacheable memory.
3819 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3824 file: multiarch power7 memmove.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3826 multiarch default memmove.
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3828 multiarch memove for powerpc32/power4.
3830 * string/bcopy.c: Use full path to include memmove.c.
3831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3833 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3834 bcopy for powerpc64.
3835 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3836 bcopy for powerpc64.
3837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3838 and memmove implementations.
3839 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3840 optimized multiarch memmove for POWER7/powerpc64.
3841 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3842 default multiarch memmove for powerpc64.
3843 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3844 multiarch for powerpc64.
3845 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3846 for POWER7/powerpc64.
3847 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3848 memmove for POWER7/powerpc64.
3850 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3853 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3854 __ELF_NATIVE_CLASS equal to 64.
3856 2014-07-07 Roland McGrath <roland@hack.frob.com>
3858 * sysdeps/nptl/lowlevellock.h: File removed.
3860 * NEWS: NPTL is no longer an add-on!
3861 * nptl/internaltypes.h: Moved ...
3862 * sysdeps/nptl/internaltypes.h: ... here.
3863 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3864 * sysdeps/nptl/fork.c: Likewise.
3865 * sysdeps/nptl/gai_misc.h: Likewise.
3866 * sysdeps/nptl/librt-cancellation.c: Likewise.
3867 * sysdeps/nptl/jmp-unwind.c: Likewise.
3868 * sysdeps/nptl/setxid.h: Likewise.
3869 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3870 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3871 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3872 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3873 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3874 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3875 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3876 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3877 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3878 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3879 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3880 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3881 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3882 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3883 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3884 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3885 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3886 * nptl/Makeconfig: Moved ...
3887 * sysdeps/nptl/Makeconfig: ... here.
3888 * nptl/configure: File removed.
3889 * nptl/ANNOUNCE: File removed.
3890 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3891 * sysdeps/unix/sysv/linux/configure: Regenerated.
3893 * nptl/Makefile (routines): Add libc_pthread_init,
3894 libc_multiple_threads, register-atfork and unregister-atfork.
3895 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3896 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3897 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3898 pthread-pi-defines.sym, structsem.sym.
3899 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3900 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3901 [$(subdir) = nptl] (tests): Add tst-setgetname.
3902 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3903 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3904 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3905 [!LIBC_SIGACTION]: Remove aliases.
3906 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3907 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3908 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3909 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3910 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3911 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3912 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3914 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3915 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3916 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3917 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3918 __libc_allocate_rtsig_private.
3919 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3920 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3921 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3922 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3923 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3924 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3925 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3926 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3927 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3928 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3929 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3930 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3931 * nptl/internaltypes.h: ... here.
3932 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3933 * sysdeps/nptl/jmp-unwind.c: ... here.
3934 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3935 * nptl/libc-lowlevellock.c: ... here.
3936 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3937 * nptl/libc_multiple_threads.c: ... here.
3938 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3939 * nptl/libc_pthread_init.c: ... here.
3940 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3941 * nptl/lowlevelbarrier.sym: ... here.
3942 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3943 * nptl/lowlevelcond.sym: ... here.
3944 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3945 * nptl/lowlevellock.c: ... here.
3946 * nptl/lowlevellock.h: Moved ...
3947 * sysdeps/nptl/lowlevellock.h: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3949 * nptl/lowlevelrobustlock.c: ... here.
3950 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3951 * nptl/lowlevelrobustlock.sym: ... here.
3952 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3953 * nptl/lowlevelrwlock.sym: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3955 * nptl/pt-fork.c: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3957 * nptl/pthread-pi-defines.sym: ... here.
3958 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3959 * nptl/pthread_attr_getaffinity.c: ... here.
3960 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3961 * nptl/pthread_attr_setaffinity.c: ... here.
3962 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3963 * nptl/pthread_mutex_cond_lock.c: ... here.
3964 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3966 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3967 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3968 * nptl/pthread_once.c: ... here, replacing old file.
3969 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3970 * nptl/pthread_yield.c: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3972 * nptl/register-atfork.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3974 * nptl/sem_post.c: ... here.
3975 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3976 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3977 * nptl/sem_timedwait.c: ... here.
3978 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3979 * nptl/sem_trywait.c: ... here.
3980 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3981 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3982 * nptl/sem_wait.c: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3984 * nptl/structsem.sym: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3986 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3987 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3988 * nptl/unregister-atfork.c: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3990 * nptl/unwindbuf.sym: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3992 * sysdeps/nptl/fork.c: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3994 * sysdeps/nptl/fork.h: ... here.
3995 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3996 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3997 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3998 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3999 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4000 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4001 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4002 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4003 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4004 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4005 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4006 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4007 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4008 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4009 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4010 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4011 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4012 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4013 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4015 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4016 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4017 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4018 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4019 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4020 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4021 * sysdeps/unix/sysv/linux/raise.c: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4023 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4024 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4025 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4026 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4027 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4028 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4029 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4031 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4032 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4033 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4035 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4036 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4038 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4040 * sysdeps/generic/memcopy.h: Add comment for
4041 MEMCPY_OK_FOR_FWD_MEMMOVE.
4043 2014-07-04 Will Newton <will.newton@linaro.org>
4045 * string/memchr.c: Merge from gnulib.
4046 [_LIBC]: Remove conditionals.
4047 (__ptr_t): Remove define.
4048 (LONG_MAX_32_BITS): Likewise.
4049 (LONG_MAX): Likewise.
4050 (MEMCHR): Use ANSI prototype and optimize algorithm.
4052 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4054 2014-07-03 Roland McGrath <roland@hack.frob.com>
4056 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4057 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4059 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4060 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4061 in a bare environment with no <stdlib.h> installed.
4062 * sysdeps/nptl/configure: Regenerated.
4064 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4066 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4067 AC_EGREP_CPP for kernel header checks, so they only succeed if
4068 including <linux/version.h> actually works right.
4069 * sysdeps/unix/sysv/linux/configure: Regenerated.
4071 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4072 value so it's not diagnosed as unused.
4074 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4075 thing) with "ifeq ($(subdir),rt)".
4077 2014-07-03 Richard Henderson <rth@redhat.com>
4079 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4080 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4081 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4083 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4084 (math_force_eval): New.
4086 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4087 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4089 * sysdeps/alpha/fpu/s_round.c: Remove file.
4090 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4092 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4093 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4094 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4095 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4096 (_dl_start, print_statistics): Likewise.
4097 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4098 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4100 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4101 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4102 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4103 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4105 (HP_SMALL_TIMING_AVAIL): Define.
4106 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4107 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4108 (HP_SMALL_TIMING_AVAIL): Define.
4109 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4110 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4112 * sysdeps/aarch64/hp-timing.h: New file.
4114 * sysdeps/generic/hp-timing.h: Remove dead comment.
4115 * sysdeps/generic/hp-timing-common.h: New file.
4116 * sysdeps/alpha/hp-timing.h: Include it.
4117 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4118 * sysdeps/i386/i686/hp-timing.h: Likewise.
4119 * sysdeps/ia64/hp-timing.h: Likewise.
4120 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4121 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4123 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4124 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4125 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4128 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4129 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4130 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4131 * elf/rtld.c (_dl_start_final): Likewise.
4132 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4133 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4134 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4135 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4136 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4137 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4138 (HP_TIMING_DIFF_INIT): Remove.
4139 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4141 (HP_TIMING_DIFF_INIT): Remove.
4142 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4143 * sysdeps/i386/i686/hp-timing.c: Remove file.
4144 * sysdeps/x86_64/hp-timing.c: Remove file.
4145 * sysdeps/ia64/hp-timing.c: Remove file.
4146 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4147 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4148 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4149 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4151 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4152 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4153 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4154 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4155 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4156 (HP_TIMING_ACCUM): Remove.
4157 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4158 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4159 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4161 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4162 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4163 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4164 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4166 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4167 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4168 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4170 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4172 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4174 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4176 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4178 Sync up with gettext.
4179 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4180 [_MSC_VER]: Include malloc.h
4181 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4182 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4183 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4184 TEMP_FAILURE_RETRY. Cast return of alloca.
4185 [!_LIBC] Call gl_rwlock_init.
4186 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4188 2014-07-02 Roland McGrath <roland@hack.frob.com>
4190 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4191 before checking its value.
4193 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4195 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4197 * debug/memcpy_chk.c: Don't include pagecopy.h.
4198 * debug/mempcpy_chk.c: Likewise.
4199 * string/memcpy.c: Likewise.
4200 * string/memmove.c: Likewise.
4201 * sysdeps/powerpc/memmove.c: Likewise.
4202 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4203 definition of PAGE_COPY_FWD_MAYBE here...
4204 * sysdeps/generic/pagecopy.h: ... from here.
4205 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4207 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4208 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4210 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4214 (__libc_ifunc_impl_list): Likewise.
4215 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4216 multiarch strcat for PPC64.
4217 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4218 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4220 2014-07-02 Roland McGrath <roland@hack.frob.com>
4222 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4224 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4226 * intl/loadmsgcat.c: Remove declaration of
4227 get_sysdep_segment_value.
4228 (get_sysdep_segment_value): Use ISO C style.
4229 (_nl_load_domain): Use ISO C style. Get rid of redundant
4230 semicolon. Fix typo and formatting in comment.
4231 (_nl_unload_domain): Use ISO C style.
4233 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4235 2014-07-02 Will Newton <will.newton@linaro.org>
4237 * malloc/obstack.c: Merge from gnulib master.
4238 [HAVE_CONFIG_H]: Remove conditional code.
4239 [!_LIBC]: Include config.h.
4240 [!ELIDE_CODE]: Don't include inttypes.h, include
4241 stdint.h unconditionally.
4242 (print_and_abort): Mark as _Noreturn.
4243 (_obstack_allocated_p): Mark as __attribute_pure__.
4244 (obstack_free): Rename to __obstack_free.
4245 [!__attribute__]: Remove conditional code.
4246 * malloc/obstack.h: Merge from gnulib master.
4247 [__cplusplus]: Move conditional down.
4248 [!__attribute_pure__]: Define __attribute_pure__ here
4249 if it is not already defined.
4250 (_obstack_memory_used): Mark as __attribute_pure__.
4251 [!__obstack_free]: Define as obstack_free.
4252 [__GNUC__]: Remove check for ancient NeXT gcc.
4254 2014-07-02 Will Newton <will.newton@linaro.org>
4255 Paul Eggert <eggert@cs.ucla.edu>
4257 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4259 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4261 * resolv/gethnamaddr.c: Add comment warning that the file is
4264 2014-07-01 Carlos O'Donell <carlos@redhat.com>
4266 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4269 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4270 entry for aio_cancel and aio_cancel64.
4271 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4272 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4273 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4274 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4275 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4276 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4277 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4278 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4279 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4280 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4281 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4282 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4283 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4285 2014-07-01 Roland McGrath <roland@hack.frob.com>
4287 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4288 * nptl/pthread_mutex_lock.c: Likewise.
4289 * nptl/pthread_mutex_timedlock.c: Likewise.
4290 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4292 2014-07-01 Richard henderson <rth@redhat.com>
4294 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4295 (__isnan, __isnanl): Remove.
4296 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4298 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4300 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4302 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4304 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4306 * resolv/nss_dns/dns-host.c (getanswer_r)
4307 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4309 2014-07-01 Joseph Myers <joseph@codesourcery.com>
4311 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4312 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4314 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4315 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4317 2014-07-01 Roland McGrath <roland@hack.frob.com>
4319 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4320 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4322 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4323 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4325 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4326 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4328 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4329 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4331 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4332 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4333 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4334 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4336 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4337 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4338 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4339 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4342 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4344 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4345 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4346 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4347 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4348 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4349 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4350 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4351 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4352 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4353 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4354 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4355 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4356 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4357 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4358 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4359 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4360 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4361 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4362 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4363 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4365 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4366 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4367 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4368 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4369 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4370 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4371 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4372 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4374 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4376 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4377 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4378 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4381 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4385 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4387 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4388 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4390 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4392 * sysdeps/arm/libm-test-ulps: Regenerated.
4394 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4395 Roland McGrath <roland@hack.frob.com>
4397 * test-skeleton.c (signal_handler): Kill the whole process group
4398 before killing the child individually.
4399 (main): Report any failure on `setpgid'.
4401 2014-06-30 Roland McGrath <roland@hack.frob.com>
4403 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4404 from _TLS_H to _ARM_NPTL_TLS_H.
4405 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4406 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4408 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4412 (__expm1l): Return argument unchanged when small but not
4415 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4417 (_FP_UNPACK_RAW_1_P): Likewise.
4418 (_FP_PACK_RAW_1): Likewise.
4419 (_FP_PACK_RAW_1_P): Likewise.
4420 (_FP_MUL_MEAT_1_wide): Likewise.
4421 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4422 (_FP_MUL_MEAT_1_hard): Likewise.
4423 (_FP_DIV_MEAT_1_imm): Likewise.
4424 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4425 (_FP_DIV_MEAT_1_udiv): Likewise.
4426 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4427 (_FP_UNPACK_RAW_2): Likewise.
4428 (_FP_UNPACK_RAW_2_P): Likewise.
4429 (_FP_PACK_RAW_2): Likewise.
4430 (_FP_PACK_RAW_2_P): Likewise.
4431 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4432 (_FP_MUL_MEAT_2_wide): Likewise.
4433 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4434 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4435 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4436 (_FP_MUL_MEAT_2_gmp): Likewise.
4437 (_FP_DIV_MEAT_2_udiv): Likewise.
4438 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4439 (_FP_FRAC_SRL_4): Likewise.
4440 (_FP_FRAC_SRST_4): Likewise.
4441 (_FP_FRAC_SRS_4): Likewise.
4442 (_FP_UNPACK_RAW_4): Likewise.
4443 (_FP_UNPACK_RAW_4_P): Likewise.
4444 (_FP_PACK_RAW_4): Likewise.
4445 (_FP_PACK_RAW_4_P): Likewise.
4446 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4447 (_FP_MUL_MEAT_4_wide): Likewise.
4448 (_FP_MUL_MEAT_4_gmp): Likewise.
4449 (umul_ppppmnnn): Likewise.
4450 (_FP_DIV_MEAT_4_udiv): Likewise.
4451 (__FP_FRAC_ADD_4): Likewise.
4452 (__FP_FRAC_SUB_3): Likewise.
4453 (__FP_FRAC_SUB_4): Likewise.
4454 (__FP_FRAC_DEC_3): Likewise.
4455 (__FP_FRAC_DEC_4): Likewise.
4456 (__FP_FRAC_ADDI_4): Likewise.
4457 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4458 (_FP_FRAC_SRL_8): Likewise.
4459 (_FP_FRAC_SRS_8): Likewise.
4461 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4463 (FP_UNPACK_RAW_EP): Likewise.
4464 (FP_PACK_RAW_E): Likewise.
4465 (FP_PACK_RAW_EP): Likewise.
4466 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4467 (_FP_ISSIGNAN): Likewise.
4468 (_FP_ADD_INTERNAL): Likewise.
4469 (_FP_FMA): Likewise.
4470 (_FP_CMP): Likewise.
4471 (_FP_SQRT): Likewise.
4472 (_FP_TO_INT): Likewise.
4473 (_FP_FROM_INT): Likewise.
4474 (FP_EXTEND): Likewise.
4475 (_FP_DIV_MEAT_N_loop): Likewise.
4477 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4479 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4482 2014-06-29 Joseph Myers <joseph@codesourcery.com>
4485 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4486 result with correct sign in case of exponents that produce
4487 overflow except for X very close to 1.
4489 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4491 mktime: merge #if/#ifdef usage from glibc
4492 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4493 as that works with both Glibc's and Gnulib's style.
4494 See thread starting at Siddhesh Poyarekar's bug report at:
4495 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4497 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4499 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4500 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4501 * sysdeps/tile/tilegx/memmove.c: Remove file.
4503 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4505 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4506 abi-name definition.
4507 * scripts/soversions.awk: Do not handle or generate ABI lines.
4508 * shlib-versions: Remove ABI entries.
4509 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4510 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4512 2014-06-27 Roland McGrath <roland@hack.frob.com>
4514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4515 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4516 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4517 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4519 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4522 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4525 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4527 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4529 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4533 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4538 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4539 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4540 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4541 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4542 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4545 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4548 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4549 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4550 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4551 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4553 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4555 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4557 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4558 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4559 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4562 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4564 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4565 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4567 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4570 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4572 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4575 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4577 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4578 Identical file removed.
4579 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4581 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4583 Identical file removed.
4584 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4585 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4586 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4588 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4589 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4590 Identical file removed.
4591 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4592 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4593 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4594 Identical file removed.
4595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4596 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4598 Identical file removed.
4599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4600 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4602 Identical file removed.
4603 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4605 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4607 Identical file removed.
4608 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4610 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4612 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4613 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4614 Identical file removed.
4615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4617 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4619 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4620 Identical file removed.
4621 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4623 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4625 Identical file removed.
4626 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4628 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4629 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4630 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4631 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4632 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4633 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4635 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4637 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4639 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4640 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4641 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4642 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4643 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4645 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4648 * nscd/nscd.c (monitor_child): Return exit status of child
4649 instead of return value from wait syscall.
4651 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4653 * configure.ac (libc_commonpagesize): Remove variable.
4654 (libc_relro_required): Likewise.
4655 (libc_cv_z_relro): Remove configure test.
4656 * configure: Regenerated.
4657 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4659 (libc_relro_required): Likewise.
4660 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4661 (libc_relro_required): Likewise.
4662 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4663 (libc_relro_required): Likewise.
4664 * sysdeps/arm/preconfigure: Regenerated.
4665 * sysdeps/ia64/preconfigure: Remove file.
4666 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4668 (libc_relro_required): Likewise.
4672 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4673 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4674 recompute overflowing results in original rounding mode.
4675 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4676 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4677 recompute overflowing results in original rounding mode.
4678 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4679 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4680 recompute overflowing results in original rounding mode.
4681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4682 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4683 recompute overflowing results in original rounding mode.
4684 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4685 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4686 recompute overflowing results in original rounding mode.
4687 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4688 (libc_feholdsetround_ctx): New macro.
4689 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4690 * sysdeps/i386/fpu/libm-test-ulps: Update.
4691 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4693 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4695 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4696 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4697 corresponding .cpsetup call.
4699 2014-06-26 Roland McGrath <roland@hack.frob.com>
4701 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4702 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4703 * sysdeps/arm/Makefile [$(subdir) = csu]
4704 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4705 (static-only-routines): Add aeabi_read_tp here.
4706 (shared-only-routines): Add libc-aeabi_read_tp here.
4707 (CFLAGS-libc-start.c): Add -fexceptions here.
4708 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4709 (sysdep_routines, static-only-routines, shared-only-routines):
4710 Don't add to these here.
4711 (CFLAGS-libc-start.c): Likewise.
4713 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4714 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4715 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4716 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4717 * sysdeps/arm/Makefile [$(subdir) = rt]
4718 (librt-sysdep_routines, librt-shared-only-routines):
4719 Append rt-aeabi_unwind_cpp_pr1 here.
4720 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4721 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4722 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4723 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4724 Append nptl-aeabi_unwind_cpp_pr1 here.
4725 (tests): Filter out tst-cleanupx4 here.
4726 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4727 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4728 Don't do those here.
4730 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4732 * scripts/list-sources.sh: Do not handle ports specially.
4734 2014-06-26 Roland McGrath <roland@hack.frob.com>
4736 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4737 * sysdeps/arm/feupdateenv.c: Likewise.
4739 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4741 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4743 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4744 trailing whitespace removed.
4745 * scripts/config.guess: Update to version 2014-03-23.
4746 * scripts/config.sub: Update to version 2014-05-01
4747 * scripts/install-sh: Update to version 2013-12-25.23.
4748 * scripts/move-if-change: Update from gnulib.
4750 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4752 * debug/memmove_chk.c: Remove pagecopy.h include.
4754 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4756 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4757 identical to gnulib mktime.
4759 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4761 * configure.ac: Do not test for machine being rs6000. Do not test
4763 * configure: Regenerated.
4765 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4767 * configure: Regenerated.
4768 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4769 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4770 Remove configure test.
4771 * sysdeps/arm/configure: Regenerated.
4772 * sysdeps/nptl/configure.ac: Do not check
4773 libc_cv_asm_cfi_directives.
4774 * sysdeps/nptl/configure: Regenerated.
4775 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4776 * sysdeps/x86_64/nptl/configure: Remove generated file.
4777 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4779 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4781 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4783 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4784 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4785 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4788 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4789 instead of whether it is defined.
4790 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4791 * sysdeps/hppa/dl-machine.h: Likewise.
4792 * sysdeps/ia64/dl-machine.h: Likewise.
4793 * sysdeps/m68k/dl-machine.h: Likewise.
4794 * sysdeps/microblaze/dl-machine.h: Likewise.
4795 * sysdeps/mips/dl-machine.: Likewise.
4796 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4797 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4798 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4799 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4800 * sysdeps/sh/dl-machine.h: Likewise.
4801 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4802 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4803 * sysdeps/tile/dl-machine.h: Likewise.
4804 * sysdeps/x86_64/dl-machine.h: Likewise.
4806 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4808 (verify_persistent_db): Likewise.
4810 2014-06-26 Roland McGrath <roland@hack.frob.com>
4812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4813 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4815 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4818 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4821 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4823 Identical file removed.
4824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4825 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4827 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4829 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4831 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4833 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4836 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4843 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4845 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4847 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4849 Identical file removed.
4850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4851 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4856 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4863 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4865 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4867 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4870 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4873 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4875 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4878 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4880 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4882 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4884 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4885 * sysdeps/unix/sysv/linux/s390/Versions
4886 (libpthread: GLIBC_2.19): New version set.
4887 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4888 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4889 (librt: GLIBC_2.3.3): New version set.
4890 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4891 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4892 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4893 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4894 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4896 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4897 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4898 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4899 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4900 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4902 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4903 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4904 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4906 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4908 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4910 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4912 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4913 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4914 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4915 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4916 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4918 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4920 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4922 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4925 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4926 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4927 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4928 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4930 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4932 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4933 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4934 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4937 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4938 (__libc_vfork): Define the function under this name.
4939 [!NOT_IN_libc] (__vfork): Make this an alias.
4940 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4941 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4942 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4943 (__libc_vfork): Define the function under this name.
4944 [!NOT_IN_libc] (__vfork): Make this an alias.
4945 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4946 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4947 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4948 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4949 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4950 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4952 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4953 code that was previously under [RESET_PID].
4954 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4955 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4958 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4959 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4960 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4961 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4962 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4963 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4964 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4965 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4966 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4967 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4970 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4971 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4972 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4973 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4974 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4975 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4976 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4977 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4978 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4981 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4982 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4983 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4984 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4985 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4986 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4987 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4988 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4989 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4990 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4992 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4993 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4994 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4995 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4996 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4998 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5000 2014-06-25 Roland McGrath <roland@hack.frob.com>
5002 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5003 that was previously under [RESET_PID].
5004 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5006 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5008 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5009 not undefine and redefine.
5010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5011 [O_CLOEXEC]: Make code unconditional.
5012 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5013 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5014 <kernel-features.h>.
5015 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5016 conditional variable definition.
5017 (shm_open) [O_CLOEXEC]: Make code unconditional.
5018 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5021 * configure.ac (USE_REGPARMS): Don't define here.
5022 * configure: Regenerated.
5023 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5024 * sysdeps/i386/configure: Regenerated.
5026 * nptl/createthread.c: Don't include kernel-features.h.
5027 * nptl/pthread_cancel.c: Likewise.
5028 * nptl/pthread_condattr_setclock.c: Likewise.
5029 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5030 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5031 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5032 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5033 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5034 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5035 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5036 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5037 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5038 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5039 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5040 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5041 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5042 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5043 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5044 * nscd/gai.c: Likewise.
5045 * nss/nss_db/db-open.c: Likewise.
5046 * sysdeps/generic/ldsodefs.h: Likewise.
5047 * sysdeps/sh/nptl/tls.h: Likewise.
5048 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5049 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5050 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5051 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5052 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5053 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5054 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5055 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5056 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5057 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5058 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5059 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5060 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5061 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5062 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5063 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5064 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5065 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5066 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5067 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5068 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5069 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5070 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5071 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5072 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5073 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5074 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5075 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5076 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5077 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5078 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5079 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5080 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5081 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5082 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5083 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5084 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5085 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5086 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5087 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5088 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5089 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5090 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5091 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5092 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5093 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5094 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5095 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5096 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5097 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5098 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5099 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5100 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5101 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5102 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5103 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5104 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5105 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5128 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5129 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5130 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5131 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5132 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5133 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5135 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5136 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5137 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5138 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5139 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5140 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5141 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5142 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5143 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5144 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5145 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5146 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5147 * sysdeps/unix/sysv/linux/system.c: Likewise.
5148 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5149 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5150 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5151 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5152 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5153 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5154 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5156 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5157 * configure: Regenerated.
5158 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5160 * configure.ac (base_machine): Do not set specially for particular
5162 * configure: Regenerated.
5163 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5164 settings from configure.ac.
5165 * sysdeps/i386/preconfigure: New file.
5166 * sysdeps/s390/preconfigure: Likewise.
5167 * sysdeps/sh/preconfigure: Likewise.
5168 * sysdeps/sparc/preconfigure: Likewise.
5170 2014-06-25 Roland McGrath <roland@hack.frob.com>
5172 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5173 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5174 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5175 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5176 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5177 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5178 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5179 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5180 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5181 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5182 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5183 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5184 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5185 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5186 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5187 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5188 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5189 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5190 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5192 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5193 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5194 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5195 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5196 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5197 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5198 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5199 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5200 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5201 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5202 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5203 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5204 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5205 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5206 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5207 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5208 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5209 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5210 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5211 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5212 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5213 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5214 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5215 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5216 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5217 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5218 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5219 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5221 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5222 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5223 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5224 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5225 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5226 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5227 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5228 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5229 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5232 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5234 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5237 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5240 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5242 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5245 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5247 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5249 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5251 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5254 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5257 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5262 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5266 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5268 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5273 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5281 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5283 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5285 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5287 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5293 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5295 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5298 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5300 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5302 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5304 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5306 * timezone/checktab.awk: Update from tzcode 2014e.
5307 * timezone/private.h: Likewise.
5308 * timezone/tzfile.h: Likewise.
5309 * timezone/zdump.c: Likewise.
5310 * timezone/zic.c: Likewise.
5312 * sysdeps/unix/sysv/linux/kernel-features.h
5313 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5314 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5315 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5316 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5317 Remove conditional code.
5319 2014-06-25 Will Newton <will.newton@linaro.org>
5321 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5322 (_dl_arm_cap_flags): Add HWCAP2 values.
5323 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5324 (_DL_HWCAP_COUNT): Increase to 37.
5325 (_DL_HWCAP_LAST): New define.
5326 (_DL_HWCAP2_LAST): New define.
5327 (_dl_procinfo): Add support for printing
5329 (_dl_string_hwcap): Use _dl_hwcap_string.
5331 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5335 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5337 * README: Do not mention ports directory.
5339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5341 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5342 <kernel-features.h>.
5343 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5344 conditional variable definition.
5345 (__futimes): Update comment.
5346 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5347 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5350 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5351 arguments close to 0.
5352 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5354 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5356 * math/auto-libm-test-in: Add more tests of exp10.
5357 * math/auto-libm-test-out: Regenerated.
5358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5360 * sysdeps/unix/sysv/linux/kernel-features.h
5361 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5362 * sysdeps/unix/sysv/linux/readv.c: Do not include
5363 <kernel-features.h>.
5364 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5365 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5366 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5368 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5370 * sysdeps/unix/sysv/linux/writev.c: Do not include
5371 <kernel-features.h>.
5372 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5373 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5374 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5376 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5379 2014-06-25 Will Newton <will.newton@linaro.org>
5381 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5382 comment changes throughout the file. Remove checks
5383 for HAVE_*_H definitions that are not required.
5384 (__gen_tempname): Call abort if an unknown kind value is
5387 2014-06-25 Andreas Schwab <schwab@suse.de>
5390 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5391 scalbln, scalblnf, scalblnl in libc.
5393 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5396 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5397 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5398 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5400 2014-06-24 Roland McGrath <roland@hack.frob.com>
5402 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5403 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5404 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5405 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5407 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5408 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5410 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5411 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5412 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5413 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5414 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5415 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5416 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5417 * sysdeps/x86/bits/semaphore.h: ... here.
5418 * sysdeps/x86/nptl/elide.h: Moved ...
5419 * sysdeps/x86/elide.h: ... here.
5420 * sysdeps/x86_64/nptl/Implies: File removed.
5421 * sysdeps/i386/nptl/Implies: File removed.
5423 2014-06-24 Joseph Myers <joseph@codesourcery.com>
5426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5427 return the argument for normal arguments with exponent below -64.
5428 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5430 * math/auto-libm-test-in: Add another test of expm1.
5431 * math/auto-libm-test-out: Regenerated.
5434 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5435 calling __erfcl for arguments at least 16.
5436 * math/auto-libm-test-in: Add more tests of erf.
5437 * math/auto-libm-test-out: Regenerated.
5439 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5440 individual architectures.
5441 * sysdeps/unix/sysv/linux/configure: Regenerated.
5442 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5443 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5444 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5445 (ldd_rewrite_script): Define variable.
5446 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5451 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5452 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5453 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5454 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5455 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5456 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5457 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5458 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5460 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5463 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5464 Rename member __data.d to __data.__elision_data.
5466 2014-06-24 Wilco <wdijkstr@arm.com>
5468 * NEWS: Add 16918 to fixed bug list.
5470 2014-06-24 Wilco <wdijkstr@arm.com>
5472 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5474 2014-06-24 Wilco <wdijkstr@arm.com>
5476 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5477 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5478 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5479 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5480 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5481 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5482 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5485 2014-06-24 Wilco <wdijkstr@arm.com>
5487 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5489 2014-06-24 Wilco <wdijkstr@arm.com>
5491 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5492 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5493 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5494 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5496 2014-06-24 Wilco <wdijkstr@arm.com>
5499 * sysdeps/arm/feupdateenv.c (feupdateenv):
5500 Rewrite to reduce FPSCR accesses and fix return value.
5502 2014-06-24 Wilco <wdijkstr@arm.com>
5504 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5505 Optimize to avoid unnecessary FPSCR writes.
5506 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5507 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5508 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5509 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5511 2014-06-24 Wilco <wdijkstr@arm.com>
5513 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5514 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5515 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5516 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5517 Call libc_fetestexcept_vfp.
5518 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5519 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5520 __SOFTFP__ ifdef so that they can be built for softfp.
5522 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5524 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5525 argument type signed char.
5527 * Makerules (check-abi): Dump diff of symlist if the test
5530 2014-06-23 Roland McGrath <roland@hack.frob.com>
5532 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5535 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5536 Remove unused variable ST.
5538 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5542 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5543 small arguments before calling __expm1.
5544 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5545 small arguments before calling __expm1f.
5546 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5547 small arguments before calling __expm1l.
5548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5550 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5551 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5552 spurious underflow for some cosh tests.
5553 * math/auto-libm-test-out: Regenerated.
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5557 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5558 (__ieee754_y1): Set errno if return value overflows.
5559 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5560 (__ieee754_y1f): Set errno if return value overflows.
5561 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5562 (__ieee754_y1l): Set errno if return value overflows.
5563 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5564 (__ieee754_y1l): Set errno if return value overflows.
5565 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5566 * math/auto-libm-test-out: Regenerated.
5568 * math/gen-auto-libm-tests.c: Document use of
5569 ignore-zero-inf-sign.
5570 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5571 (input_flags): Add ignore-zero-inf-sign.
5572 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5573 * math/gen-libm-test.pl (generate_testfile): Handle
5574 ignore-zero-inf-sign.
5575 * math/auto-libm-test-in: Mark some cpow tests with
5576 ignore-zero-inf-sign and some with xfail-rounding.
5577 * math/auto-libm-test-out: Regenerated.
5578 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5579 * sysdeps/i386/fpu/libm-test-ulps: Update.
5580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5583 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5584 overflowing or underflowing operations take place with sign of
5586 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5587 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5588 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5589 (__ieee754_pow): Recompute overflowing and underflowing results in
5590 original rounding mode.
5591 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5592 (__powl_helper): Allow negative argument X and scale negated value
5593 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5594 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5595 overflowing or underflowing operations take place with sign of
5597 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5599 * math/auto-libm-test-in: Add more tests of pow.
5600 * math/auto-libm-test-out: Regenerated.
5601 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5602 (pow_tonearest_test_data): Remove.
5603 (pow_test_tonearest): Likewise.
5604 (pow_towardzero_test_data): Likewise.
5605 (pow_test_towardzero): Likewise.
5606 (pow_downward_test_data): Likewise.
5607 (pow_test_downward): Likewise.
5608 (pow_upward_test_data): Likewise.
5609 (pow_test_upward): Likewise.
5610 (main): Don't call removed functions.
5611 * sysdeps/i386/fpu/libm-test-ulps: Update.
5612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5614 2014-06-23 Roland McGrath <roland@hack.frob.com>
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5790 2014-06-23 Will Newton <will.newton@linaro.org>
5791 Wilco <wdijkstr@arm.com>
5793 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5794 implementation. Include get-rounding-mode.h.
5795 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5796 [!libc_feholdsetround_noex_ctx]: Define
5797 libc_feholdsetround_noex_ctx.
5798 [!libc_feholdsetround_noexf_ctx]: Define
5799 libc_feholdsetround_noexf_ctx.
5800 [!libc_feholdsetround_noexl_ctx]: Define
5801 libc_feholdsetround_noexl_ctx.
5802 (libc_feholdsetround_ctx): New function.
5803 (libc_feresetround_ctx): New function.
5804 (libc_feholdsetround_noex_ctx): New function.
5805 (libc_feresetround_noex_ctx): New function.
5807 2014-06-23 Roland McGrath <roland@hack.frob.com>
5809 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5810 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5811 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5812 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5813 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5814 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5816 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5817 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5818 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5819 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5820 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5821 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5823 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5825 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5826 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5828 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5830 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5831 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5833 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5834 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5836 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5845 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5846 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5848 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5853 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5854 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5855 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5857 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5858 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5859 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5861 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5864 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5866 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5867 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5868 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5869 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5870 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5880 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5881 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5882 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5883 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5884 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5885 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5887 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5889 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5890 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5891 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5893 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5894 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5895 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5908 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5912 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5913 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5914 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5915 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5916 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5917 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5918 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5919 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5920 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5922 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5925 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5926 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5927 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5928 (IPV6_PMTUDISC_INTERFACE): Likewise.
5929 (IPV6_PMTUDISC_OMIT): Likewise.
5931 2014-06-23 Andreas Schwab <schwab@suse.de>
5933 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5934 Remove unused errout label.
5936 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5938 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5939 macro: hardware supports Vector Crypto instructions.
5941 2014-06-23 Will Newton <will.newton@linaro.org>
5943 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5944 rather than __builtin_expect.
5946 * elf/dl-lookup.c (undefined_msg): Remove variable.
5947 (_dl_lookup_symbol_x): Replace undefined_msg with string
5950 * elf/dl-lookup.c (do_lookup_unique): New function.
5951 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5952 to a separate function.
5954 2014-06-23 Andreas Schwab <schwab@suse.de>
5957 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5958 before reading the next line.
5960 2014-06-23 Will Newton <will.newton@linaro.org>
5962 * test-skeleton.c (signal_handler): Use printf and %m
5963 rather than perror. Use printf rather than fprintf to
5964 stderr. Use puts rather than fputs to stderr.
5967 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5969 * nscd/nscd.c (thread_info_t): Remove typedef.
5970 (thread_info): Remove variable.
5972 2014-06-21 Allan McRae <allan@archlinux.org>
5974 * NEWS: Mention CVE-2014-4043.
5976 2014-06-20 Roland McGrath <roland@hack.frob.com>
5978 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5979 * nptl/smp.h: ... here.
5981 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5983 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5984 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5985 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5986 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5988 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5989 * nptl/stack-aliasing.h: New file.
5990 * sysdeps/i386/i686/stack-aliasing.h: New file.
5991 * sysdeps/i386/i686/nptl/Makefile: File removed.
5992 * sysdeps/x86_64/stack-aliasing.h: New file.
5993 * sysdeps/x86_64/nptl/Makefile
5994 (CFLAGS-pthread_create.c): Variable removed.
5996 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5997 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5999 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6000 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6003 2014-06-21 Joseph Myers <joseph@codesourcery.com>
6005 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6006 (__ASSUME_SIGFRAME_V2): Remove macro.
6007 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6008 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6009 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6010 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6011 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6012 Declare as function. Remove conditional macro definitions.
6013 (__default_rt_sa_restorer): Likewise.
6014 (__default_sa_restorer_v1): Remove declaration.
6015 (__default_sa_restorer_v2): Likewise.
6016 (__default_rt_sa_restorer_v1): Likewise.
6017 (__default_rt_sa_restorer_v2): Likewise.
6018 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6019 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6020 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6022 2014-06-20 Roland McGrath <roland@hack.frob.com>
6024 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6025 (libpthread-routines): Add sysdep.
6026 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6027 * sysdeps/unix/sysv/linux/sparc/Versions
6028 (libpthread: GLIBC_2.3.3): New version set.
6029 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6030 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6031 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6032 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6033 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6034 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6036 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6037 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6038 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6039 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6040 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6041 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6042 * sysdeps/sparc/nptl/sem_init.c: ... here.
6043 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6044 * sysdeps/sparc/nptl/sem_post.c: ... here.
6045 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6046 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6047 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6048 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6049 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6050 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6051 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6052 (libpthread-routines): Add cpu_relax.
6053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6055 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6056 (librt: GLIBC_2.3.3): New version set.
6057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6058 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6059 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6060 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6063 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6066 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6068 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6070 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6072 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6074 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6077 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6081 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6085 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6089 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6093 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6097 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6100 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6106 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6108 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6113 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6115 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6117 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6119 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6120 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6121 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6122 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6123 * nscd/nscd.c: Likewise.
6124 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6125 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6126 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6127 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6129 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6130 <kernel-features.h>.
6131 (init_mq_netlink): Remove conditional have_sock_cloexec
6132 definitions. Remove code conditional on have_sock_cloexec < 0.
6133 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6134 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6135 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6136 <kernel-features.h>.
6137 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6138 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6140 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6143 Add tests for memset_chk and memset.
6145 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6148 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6151 * elf/tst-dl-iter-static.c: New file.
6152 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6154 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6157 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6159 * sysdeps/unix/sysv/linux/kernel-features.h
6160 (__ASSUME_F_GETOWN_EX): Remove macro.
6161 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6162 <kernel-features.h>.
6163 (miss_F_GETOWN_EX): Remove variable or macro.
6164 (do_fcntl): Do not check miss_F_GETOWN_EX.
6165 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6170 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6171 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6173 * sysdeps/unix/sysv/linux/kernel-features.h
6174 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6175 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6176 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6177 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6179 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6182 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6183 Fix calculation of the symbol's value.
6184 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6185 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6186 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6187 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6188 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6189 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6190 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6191 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6192 (modules-names): Add `tst-armtlsdescmod',
6193 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6194 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6195 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6196 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6197 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6198 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6199 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6200 ($(objpfx)tst-armtlsdescloc): New dependency.
6201 ($(objpfx)tst-armtlsdescextnow): Likewise.
6202 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6203 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6205 * sysdeps/arm/configure: Regenerate.
6207 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6209 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6210 (__atfct_seterrno_2): Likewise.
6211 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6212 <kernel-features.h>.
6213 (__ASSUME_ATFCTS): Do not undefine and redefine.
6214 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6215 (__have_atfcts): Remove conditional definition.
6216 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6217 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6218 unreachable if [__ASSUME_ATFCTS].
6219 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6220 not undefine and redefine.
6221 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6222 <kernel-features.h>.
6223 (faccessat) [__NR_faccessat]: Make code unconditional.
6224 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6225 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6226 <kernel-features.h>.
6227 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6228 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6229 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6230 <kernel-features.h>.
6231 (fchownat) [__NR_fchownat]: Make code unconditional.
6232 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6233 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6234 <kernel-features.h>.
6235 (futimesat) [__NR_futimesat]: Make code unconditional.
6236 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6237 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6238 <kernel-features.h>.
6239 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6240 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6241 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6242 <kernel-features.h>.
6243 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6244 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6245 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6246 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6247 <kernel-features.h>.
6248 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6249 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6250 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6251 <kernel-features.h>.
6252 (linkat) [__NR_linkat]: Make code unconditional.
6253 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6254 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6255 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6256 <kernel-features.h>.
6257 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6258 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6259 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6260 <kernel-features.h>.
6261 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6262 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6263 * sysdeps/unix/sysv/linux/openat.c: Do not include
6264 <kernel-features.h>.
6265 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6266 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6267 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6268 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6269 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6270 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6271 <kernel-features.h>.
6272 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6273 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6274 result of INLINE_SYSCALL directly, not via int variable.
6275 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6276 <kernel-features.h>.
6277 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6278 (renameat) [__NR_renameat]: Make code unconditional.
6279 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6280 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6281 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6282 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6283 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6284 (__ASSUME_ATFCTS): Do not undefine and redefine.
6285 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6286 <kernel-features.h>.
6287 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6288 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6289 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6290 <kernel-features.h>.
6291 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6292 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6293 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6294 (__ASSUME_ATFCTS): Do not undefine and redefine.
6295 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6296 <kernel-features.h>.
6297 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6298 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6299 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6300 <kernel-features.h>.
6301 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6302 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6304 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6306 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6308 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6311 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6312 constructed tree before returning error.
6313 * posix/bug-regexp36.c: Expand test case.
6315 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6318 * math/libm-test.inc (scalbln_test_date):
6319 Add errno expectations.
6320 * math/w_scalblnf.c: New File.
6321 Add wrapper which checks for setting errno to ERANGE.
6322 Add weak_alias for corresponding scalbln function.
6323 * math/w_scalbln.c: Likewise.
6324 * math/w_scalblnl.c: Likewise.
6325 * math/Makefile (libm-calls): Add w_scalbln.
6326 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6327 Remove weak_alias for corresponding scalbln function.
6328 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6332 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6333 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6334 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6335 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6336 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6337 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6338 Remove long_double_symbol for scalblnl function in libm, libc.
6339 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6340 Add wrapper which checks for setting errno to ERANGE.
6341 Add long_double_symbol for scalblnl function in libm, libc.
6342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6343 Remove long_double_symbol for scalblnl in libm.
6344 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6345 Add wrapper which checks for setting errno to ERANGE.
6346 Add long_double_symbol for scalblnl function in libm.
6347 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6348 Do not use wrapper because of own implementation.
6350 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6352 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6353 3 bytes for __pad1 for x32.
6354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6356 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6357 H.J. Lu <hongjiu.lu@intel.com>
6359 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6360 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6361 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6362 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6363 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6365 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6368 * posix/regcomp.c (parse_expression): Deallocate partially
6369 constructed tree before returning error.
6370 * posix/Makefile.c (tests): Add bug-regex36.
6371 (generated): Add bug-regex36.mtrace.
6372 (tests-special): Add $(objpfx)bug-regex36-mem.out
6373 (bug-regex36-ENV): New variable.
6374 ($(objpfx)bug-regex36-mem.out): New rule.
6375 * posix/bug-regex36.c: New file.
6377 2014-06-19 Will Newton <will.newton@linaro.org>
6379 * malloc/malloc.c (systrim): If extra is zero then return
6382 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6384 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6386 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
6388 * sysdeps/aarch64/strchr.S: New file.
6390 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6393 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6394 from arguments -2 or below.
6395 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6396 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6398 2014-06-18 Andreas Schwab <schwab@suse.de>
6401 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6402 of a bracket expr not to run off the end of the string.
6403 * posix/Makefile (tests): Add tst-fnmatch3.
6404 * posix/tst-fnmatch3.c: New file.
6406 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6408 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6409 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6410 [$(cross-compiling) = no]: Likewise.
6411 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6412 [$(cross-compiling) = no]: Likewise.
6414 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6417 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6418 double, adjusted for any remainder from the high double.
6419 * math/libm-test.inc (nearbyint): Add tests.
6422 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6424 * nptl/sysdeps/powerpc/Makefile: Moved ...
6425 * sysdeps/powerpc/nptl/Makefile: ... here.
6426 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6427 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6428 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6429 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6430 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6431 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6432 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6433 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6434 * nptl/sysdeps/powerpc/tls.h: Moved ...
6435 * sysdeps/powerpc/nptl/tls.h: ... here.
6437 2014-06-16 Joseph Myers <joseph@codesourcery.com>
6440 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6441 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6442 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6443 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6444 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6445 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6446 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6447 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6448 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6450 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6452 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6454 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6456 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6459 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6462 2014-06-16 Florian Weimer <fweimer@redhat.com>
6465 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6466 non-executed part of the test.
6468 2014-06-16 Andreas Schwab <schwab@suse.de>
6470 * string/bits/string2.h (strdup, strndup): Update feature guard.
6472 2014-06-14 David S. Miller <davem@davemloft.net>
6474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6476 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6478 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6479 that was previously under [RESET_PID].
6480 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6482 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6483 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6484 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6485 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6486 (__libc_vfork): New strong alias.
6487 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6489 2014-06-14 Andi Kleen <ak@linux.intel.com>
6491 * sysdeps/generic/elide.h: New file.
6493 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6495 * Makefile (installed-headers): Adjust path of pthread.h header.
6497 2014-06-13 Roland McGrath <roland@hack.frob.com>
6499 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6500 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6501 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6502 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6504 * nptl/sysdeps/s390/Makefile: Moved ...
6505 * sysdeps/s390/nptl/Makefile: ... here.
6506 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6507 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6508 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6509 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6510 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6511 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6512 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6513 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6514 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6515 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6516 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6517 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6518 * nptl/sysdeps/s390/tls.h: Moved ...
6519 * sysdeps/s390/nptl/tls.h: ... here.
6521 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6522 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6524 2014-06-13 David S. Miller <davem@davemloft.net>
6526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6529 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6534 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6535 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6536 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6537 Remove RESET_PID cpp guards.
6538 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6539 Remove RESET_PID cpp guards.
6540 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6542 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6544 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6547 2014-06-13 Andi Kleen <ak@linux.intel.com>
6549 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6551 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6552 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6553 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6554 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6555 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6556 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6557 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6558 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6559 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6560 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6561 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6562 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6563 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6565 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6566 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6568 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6570 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6571 (pthread_rwlock_rdlock): Add elision.
6572 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6573 (pthread_rwlock_wrlock): Add elision.
6574 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6575 (pthread_rwlock_trywrlock): Add elision.
6576 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6577 (pthread_rwlock_tryrdlock): Add elision.
6578 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6579 (pthread_rwlock_tryrdlock): Add elision unlock.
6580 * nptl/sysdeps/pthread/pthread.h:
6581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6582 (PTHREAD_RWLOCK_INITIALIZER,
6583 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6584 Handle new elision field.
6585 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6586 * sysdeps/arm/nptl/bits/pthreadtypes.h
6587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6588 * sysdeps/sh/nptl/bits/pthreadtypes.h
6589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6590 * sysdeps/tile/nptl/bits/pthreadtypes.h
6591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6592 * sysdeps/a/nptl/bits/pthreadtypes.h
6593 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6594 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6595 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6596 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6597 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6598 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6600 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6601 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6602 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6603 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6604 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6605 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6606 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6607 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6608 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6609 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6610 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6611 (elision_init): Set try_xbegin to zero when no RTM.
6612 * sysdeps/x86/nptl/bits/pthreadtypes.h
6613 (pthread_rwlock_t): Change __pad1 to __rwelision.
6614 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6616 2014-06-13 Andi Kleen <ak@linux.intel.com>
6618 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6619 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6620 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6621 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6623 2014-06-13 Meador Inge <meadori@codesourcery.com>
6626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6627 that the cached result has been set before returning it.
6629 2014-06-12 Roland McGrath <roland@hack.frob.com>
6631 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6632 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6633 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6634 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6635 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6636 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6638 * nptl/sysdeps/sparc/Makefile: Moved ...
6639 * sysdeps/sparc/nptl/Makefile: ... here.
6640 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6641 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6642 * nptl/sysdeps/sparc/tls.h: Moved ...
6643 * sysdeps/sparc/nptl/tls.h: ... here.
6644 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6645 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6646 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6647 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6648 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6649 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6650 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6651 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6652 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6653 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6654 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6655 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6656 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6657 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6658 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6659 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6660 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6663 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6664 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6666 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6667 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6669 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6670 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6673 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6675 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6676 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6678 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6679 (struct list_links): Type removed.
6680 (struct thread_node, struct timer_node): Replace struct list_links
6681 with struct list_head.
6682 (list_unlink_ip): Likewise.
6683 * sysdeps/pthread/timer_routines.c
6684 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6685 (list_append, list_insbefore): Likewise.
6686 (list_init): Function removed.
6687 (thread_init, init_module): Use INIT_LIST_HEAD instead.
6688 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6689 * sysdeps/pthread/Makefile: ... here, new file.
6691 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6692 * sysdeps/nptl/Implies: ... here.
6693 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6694 * nptl/sysdeps/pthread/list.h: Moved ...
6695 * include/list.h: ... here.
6696 * nptl/sysdeps/pthread/createthread.c: Moved ...
6697 * nptl/createthread.c: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6699 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6700 * nptl/pt-longjmp.c: ... here.
6701 * nptl/sysdeps/pthread/Makefile: Moved ...
6702 * sysdeps/nptl/Makefile: ... here.
6703 * nptl/sysdeps/pthread/Subdirs: Moved ...
6704 * sysdeps/nptl/Subdirs: ... here.
6705 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6706 * sysdeps/nptl/aio_misc.h: ... here.
6707 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6708 * sysdeps/nptl/bits/libc-lock.h: ... here.
6709 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6710 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6711 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6712 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6713 * nptl/sysdeps/pthread/configure: Moved ...
6714 * sysdeps/nptl/configure: ... here.
6715 * nptl/sysdeps/pthread/configure.ac: Moved ...
6716 * sysdeps/nptl/configure.ac: ... here.
6717 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6718 * sysdeps/nptl/gai_misc.h: ... here.
6719 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6720 * sysdeps/nptl/librt-cancellation.c: ... here.
6721 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6722 * sysdeps/nptl/malloc-machine.h: ... here.
6723 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6724 * sysdeps/nptl/pthread-functions.h: ... here.
6725 * nptl/sysdeps/pthread/pthread.h: Moved ...
6726 * sysdeps/nptl/pthread.h: ... here.
6727 * nptl/sysdeps/pthread/setxid.h: Moved ...
6728 * sysdeps/nptl/setxid.h: ... here.
6729 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6730 * sysdeps/nptl/sigfillset.c: ... here.
6731 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6732 * sysdeps/nptl/tcb-offsets.h: ... here.
6733 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6734 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6735 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6736 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6737 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6738 * sysdeps/pthread/allocalim.h: ... here.
6739 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6740 * sysdeps/pthread/bits/sigthread.h: ... here.
6741 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6742 * sysdeps/pthread/flockfile.c: ... here.
6743 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6744 * sysdeps/pthread/ftrylockfile.c: ... here.
6745 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6746 * sysdeps/pthread/funlockfile.c: ... here.
6747 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6748 * sysdeps/pthread/posix-timer.h: ... here.
6749 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6750 * sysdeps/pthread/timer_create.c: ... here.
6751 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6752 * sysdeps/pthread/timer_delete.c: ... here.
6753 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6754 * sysdeps/pthread/timer_getoverr.c: ... here.
6755 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6756 * sysdeps/pthread/timer_gettime.c: ... here.
6757 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6758 * sysdeps/pthread/timer_routines.c: ... here.
6759 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6760 * sysdeps/pthread/timer_settime.c: ... here.
6761 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6762 * sysdeps/pthread/tst-timer.c: ... here.
6763 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6764 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6766 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6767 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6769 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6770 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6771 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6772 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6773 Update #include target.
6774 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6775 * sysdeps/i386/i686/nptl/Makefile: ... here.
6776 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6777 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6778 Update #include target.
6779 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6780 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6781 * nptl/sysdeps/i386/Makefile: Moved ...
6782 * sysdeps/i386/nptl/Makefile: ... here.
6783 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6784 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6785 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6786 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6787 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6788 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6789 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6790 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6791 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6792 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6793 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6794 * nptl/sysdeps/i386/tls.h: Moved ...
6795 * sysdeps/i386/nptl/tls.h: ... here.
6797 * sysdeps/sh/Makefile [$(subdir) = csu]
6798 (gen-as-const-headers): Add tcb-offsets.sym.
6799 * nptl/sysdeps/sh/Makefile: File removed.
6800 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6801 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6802 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6803 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6804 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6805 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6806 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6807 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6808 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6809 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6810 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6811 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6812 * nptl/sysdeps/sh/tls.h: Moved ...
6813 * sysdeps/sh/nptl/tls.h: ... here.
6814 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6815 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6816 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6817 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6818 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6819 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6821 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6822 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6823 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6825 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6826 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6827 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6828 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6829 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6830 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6831 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6833 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6834 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6835 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6836 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6837 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6838 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6840 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6841 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6843 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6844 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6845 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6846 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6847 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6848 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6849 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6850 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6851 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6852 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6853 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6854 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6855 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6857 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6858 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6859 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6860 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6861 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6863 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6865 * posix/spawn_faction_addopen.c: Include string.h.
6867 2014-06-11 Roland McGrath <roland@hack.frob.com>
6869 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6870 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6871 * nptl/sysdeps/x86_64/Makefile: Moved ...
6872 * sysdeps/x86_64/nptl/Makefile: ... here.
6873 * nptl/sysdeps/x86_64/configure: Moved ...
6874 * sysdeps/x86_64/nptl/configure: ... here.
6875 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6876 * sysdeps/x86_64/nptl/configure.ac: ... here.
6877 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6878 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6879 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6880 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6881 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6882 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6883 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6884 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6885 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6886 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6887 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6888 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6889 * nptl/sysdeps/x86_64/tls.h: Moved ...
6890 * sysdeps/x86_64/nptl/tls.h: ... here.
6891 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6892 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6893 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6894 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6896 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6898 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6902 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6904 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6906 [POSIX] (off_t): Likewise.
6907 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6908 [POSIX] (S_ISBLK): Require macro.
6909 [POSIX] (S_ISCHR): Likewise.
6910 [POSIX] (S_ISDIR): Likewise.
6911 [POSIX] (S_ISFIFO): Likewise.
6912 [POSIX] (S_ISREG): Likewise.
6913 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6915 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6917 [POSIX] (time_t): Likewise.
6918 [POSIX] (timer_t): Likewise.
6920 2014-06-11 Florian Weimer <fweimer@redhat.com>
6923 * posix/spawn_int.h (struct __spawn_action): Make the path string
6924 non-const to support deallocation.
6925 * posix/spawn_faction_addopen.c
6926 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6927 * posix/spawn_faction_destroy.c
6928 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6929 path in all spawn_do_open actions.
6930 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6931 posix_spawn_file_actions_addopen.
6933 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6935 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6936 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6937 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6938 conditional code always true.
6939 (__libc_vfork): New alias.
6941 2014-06-11 Roland McGrath <roland@hack.frob.com>
6943 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6944 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6946 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6948 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6949 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6951 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6952 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6954 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6955 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6957 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6959 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6960 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6961 multiarch strcmp for PPC64.
6962 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6963 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6965 multiarch optimizations.
6966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6967 (__libc_ifunc_impl_list): Likewise.
6969 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6971 * benchtests/scripts/validate_benchout.py: New script.
6972 * benchtests/Makefile (bench-func): Call it.
6973 * benchtests/scripts/benchout.schema.json: New file.
6975 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6977 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6978 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6979 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6980 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6981 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6982 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6983 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6984 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6985 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6986 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6987 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6988 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6989 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6990 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6991 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6992 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7097 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7099 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7102 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7105 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7107 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7108 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7109 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7110 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7111 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7113 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7114 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7115 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7116 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7118 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7119 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7121 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7122 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7123 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7124 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7126 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7127 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7128 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7129 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7130 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7131 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7132 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7134 2014-06-10 Wilco <wdijkstr@arm.com>
7136 * math/test-fenv-return.c: New file.
7137 * math/Makefile: Add new test test-fenv-return.
7139 2014-06-10 Joseph Myers <joseph@codesourcery.com>
7142 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7144 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7145 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7146 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7147 0.0L for an argument of 1.0L.
7148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7150 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7151 value when x - 1 is zero.
7152 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7153 * sysdeps/i386/fpu/libm-test-ulps: Update.
7154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7156 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7159 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7161 2014-06-09 Roland McGrath <roland@hack.frob.com>
7163 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7164 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7166 2014-06-09 Roland McGrath <roland@hack.frob.com>
7168 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7169 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7171 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7172 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7174 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7175 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7177 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7178 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7180 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7181 if not already defined.
7182 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7183 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7184 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7185 (TLS_INIT_TP): Use it.
7186 (TLS_DEFINE_INIT_TP): New macro.
7187 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7189 2014-06-09 Joseph Myers <joseph@codesourcery.com>
7191 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7193 [POSIX] (IXANY): Likewise.
7194 [POSIX] (OLCUC): Likewise.
7195 [POSIX || POSIX2008] (CBAUD): Do not allow.
7196 [POSIX || POSIX2008] (DEFECHO): Likewise.
7197 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7198 [POSIX || POSIX2008] (ECHOKE): Likewise.
7199 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7200 [POSIX || POSIX2008] (EXTA): Likewise.
7201 [POSIX || POSIX2008] (EXTB): Likewise.
7202 [POSIX || POSIX2008] (FLUSHO): Likewise.
7203 [POSIX || POSIX2008] (LOBLK): Likewise.
7204 [POSIX || POSIX2008] (PENDIN): Likewise.
7205 [POSIX || POSIX2008] (SWTCH): Likewise.
7206 [POSIX || POSIX2008] (VDISCARD): Likewise.
7207 [POSIX || POSIX2008] (VDSUSP): Likewise.
7208 [POSIX || POSIX2008] (VLNEXT): Likewise.
7209 [POSIX || POSIX2008] (VREPRINT): Likewise.
7210 [POSIX || POSIX2008] (VSTATUS): Likewise.
7211 [POSIX || POSIX2008] (VWERASE): Likewise.
7212 (B*): Change to B[0123456789]*.
7213 * conform/data/time.h-data [POSIX || UNIX98]
7214 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7215 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7216 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7217 [POSIX] (tm_*): Do not allow.
7219 2014-06-07 Joseph Myers <joseph@codesourcery.com>
7221 * Makefile (install): Don't set LANGUAGE.
7222 * Makefile.in (install): Likewise.
7223 * assert/Makefile (test-assert-ENV): Remove variable.
7224 (test-assert-perr-ENV): Likewise.
7225 * elf/Makefile (neededtest4-ENV): Likewise.
7226 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7227 [$(cross-compiling) = no]: Don't set LANGUAGE.
7228 * io/ftwtest-sh (LANG): Remove variable.
7229 * libio/Makefile (tst-widetext-ENV): Likewise.
7230 * manual/install.texi (Running make install): Don't refer to
7231 environment settings for make install.
7232 * INSTALL: Regenerated.
7233 * nptl/tst-tls6.sh: Don't set LANG.
7234 * posix/globtest.sh (LANG): Remove variable.
7235 * string/Makefile (tester-ENV): Likewise.
7236 (inl-tester-ENV): Likewise.
7237 (noinl-tester-ENV): Likewise.
7238 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7239 [$(cross-compiling) = no]: Don't set LANGUAGE.
7240 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7241 without explicit environment settings.
7243 2014-06-06 Roland McGrath <roland@hack.frob.com>
7245 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7246 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7247 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7248 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7250 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7252 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7253 other files in the crypt directory.
7254 * crypt/crypt.c: Remove duplicate includes.
7255 * crypt/crypt-entry.c: Likewise.
7256 * crypt/crypt_util.c: Likewise.
7258 2014-06-06 Joseph Myers <joseph@codesourcery.com>
7260 * Makeconfig (run-program-env): New variable.
7261 (run-program-prefix-before-env): Likewise.
7262 (run-program-prefix-after-env): Likewise.
7263 (run-program-prefix): Define in terms of new variables.
7264 (built-program-cmd-before-env): New variable.
7265 (built-program-cmd-after-env): Likewise.
7266 (built-program-cmd): Define in terms of new variables.
7267 (test-program-prefix-before-env): New variable.
7268 (test-program-prefix-after-env): Likewise.
7269 (test-program-prefix): Define in terms of new variables.
7270 (test-program-cmd-before-env): New variable.
7271 (test-program-cmd-after-env): Likewise.
7272 (test-program-cmd): Define in terms of new variables.
7273 * Rules (make-test-out): Use $(run-program-env).
7274 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7275 (help): Do not mention environment variables. Mention
7276 --timeoutfactor option.
7277 (timeoutfactor): New variable.
7278 (blacklist_exports): Remove function.
7279 (exports): Remove variable.
7280 (command): Do not include ${exports}.
7281 * manual/install.texi (Configuring and compiling): Do not mention
7282 test wrappers preserving environment variables. Mention that last
7283 assignment to a variable must take precedence.
7284 * INSTALL: Regenerated.
7285 * benchtests/Makefile (run-bench): Use $(run-program-env).
7286 * catgets/Makefile ($(objpfx)test1.cat): Use
7287 $(built-program-cmd-before-env), $(run-program-env) and
7288 $(built-program-cmd-after-env).
7289 ($(objpfx)test2.cat): Do not specify environment variables
7291 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7292 $(run-program-env) and $(built-program-cmd-after-env).
7293 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7294 $(run-program-env) and $(test-program-cmd-after-env).
7295 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7297 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7298 run_program_env and test_program_cmd_after_env arguments.
7299 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7300 * elf/tst-pathopt.sh: Use run_program_env argument.
7301 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7302 $(test-wrapper-env) and $(run-program-env).
7303 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7304 run_program_env arguments.
7305 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7306 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7307 $(test-program-prefix-before-env), $(run-program-env) and
7308 $(test-program-prefix-after-env).
7309 ($(objpfx)tst-gettext2.out): Likewise.
7310 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7311 run_program_env and test_program_prefix_after_env arguments.
7312 * intl/tst-gettext2.sh: Likewise.
7313 * intl/tst-gettext4.sh: Do not set environment variables
7315 * intl/tst-gettext6.sh: Likewise.
7316 * intl/tst-translit.sh: Likewise.
7317 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7318 $(test-program-prefix-before-env), $(run-program-env) and
7319 $(test-program-prefix-after-env).
7320 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7321 run_program_env and test_program_prefix_after_env arguments.
7322 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7323 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7324 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7325 explicitly with each use of ${test_wrapper_env}.
7326 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7327 $(test-program-prefix-before-env), $(run-program-env) and
7328 $(test-program-prefix-after-env).
7329 * posix/tst-getconf.sh: Do not set environment variables
7331 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7332 run_program_env and test_program_prefix_after_env arguments.
7333 * stdio-common/tst-printf.sh: Do not set environment variables
7335 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7336 $(test-program-prefix-before-env), $(run-program-env) and
7337 $(test-program-prefix-after-env).
7338 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7339 run_program_env and test_program_prefix_after_env arguments.
7340 Split $test calls into $test_pre and $test.
7341 * timezone/Makefile (build-testdata): Use
7342 $(built-program-cmd-before-env), $(run-program-env) and
7343 $(built-program-cmd-after-env).
7345 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7347 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7348 strlen for non SHARED builds.
7350 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7352 * nptl/allocatestack.c (check_list): Inlined function...
7353 (__reclaim_stacks): ... here.
7355 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7358 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7361 2014-06-05 Joseph Myers <joseph@codesourcery.com>
7363 * Rules (make-test-out): Include
7364 LOCPATH=$(common-objpfx)localedata in default environment.
7365 * debug/Makefile (tst-chk1-ENV): Remove variable.
7366 (tst-chk2-ENV): Likewise.
7367 (tst-chk3-ENV): Likewise.
7368 (tst-chk4-ENV): Likewise.
7369 (tst-chk5-ENV): Likewise.
7370 (tst-chk6-ENV): Likewise.
7371 (tst-lfschk1-ENV): Likewise.
7372 (tst-lfschk2-ENV): Likewise.
7373 (tst-lfschk3-ENV): Likewise.
7374 (tst-lfschk4-ENV): Likewise.
7375 (tst-lfschk5-ENV): Likewise.
7376 (tst-lfschk6-ENV): Likewise.
7377 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7378 (tst-iconv7-ENV): Likewise.
7379 * intl/Makefile (LOCPATH-ENV): Likewise.
7380 (tst-codeset-ENV): Likewise.
7381 (tst-gettext3-ENV): Likewise.
7382 (tst-gettext5-ENV): Likewise.
7383 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7384 (tst-fopenloc-ENV): Likewise.
7385 (tst-fgetws-ENV): Remove variable.
7386 (tst-ungetwc1-ENV): Likewise.
7387 (tst-ungetwc2-ENV): Likewise.
7388 (bug-ungetwc2-ENV): Likewise.
7389 (tst-swscanf-ENV): Likewise.
7390 (bug-ftell-ENV): Likewise.
7391 (tst-fgetwc-ENV): Likewise.
7392 (tst-fseek-ENV): Likewise.
7393 (tst-ftell-partial-wide-ENV): Likewise.
7394 (tst-ftell-active-handler-ENV): Likewise.
7395 (tst-ftell-append-ENV): Likewise.
7396 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7397 (tst-regexloc-ENV): Likewise.
7398 (bug-regex1-ENV): Likewise.
7399 (tst-regex-ENV): Likewise.
7400 (tst-regex2-ENV): Likewise.
7401 (bug-regex5-ENV): Likewise.
7402 (bug-regex6-ENV): Likewise.
7403 (bug-regex17-ENV): Likewise.
7404 (bug-regex18-ENV): Likewise.
7405 (bug-regex19-ENV): Likewise.
7406 (bug-regex20-ENV): Likewise.
7407 (bug-regex22-ENV): Likewise.
7408 (bug-regex23-ENV): Likewise.
7409 (bug-regex25-ENV): Likewise.
7410 (bug-regex26-ENV): Likewise.
7411 (bug-regex30-ENV): Likewise.
7412 (bug-regex32-ENV): Likewise.
7413 (bug-regex33-ENV): Likewise.
7414 (bug-regex34-ENV): Likewise.
7415 (bug-regex35-ENV): Likewise.
7416 (tst-rxspencer-ENV): Likewise.
7417 (tst-rxspencer-no-utf8-ENV): Likewise.
7418 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7419 (tst-sscanf-ENV): Likewise.
7420 (tst-swprintf-ENV): Likewise.
7421 (tst-swscanf-ENV): Likewise.
7422 (test-vfprintf-ENV): Likewise.
7423 (scanf13-ENV): Likewise.
7424 (bug14-ENV): Likewise.
7425 (tst-grouping-ENV): Likewise.
7426 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7427 (tst-strtod3-ENV): Likewise.
7428 (tst-strtod4-ENV): Likewise.
7429 (tst-strtod5-ENV): Likewise.
7430 (testmb2-ENV): Likewise./
7431 * string/Makefile (tst-strxfrm-ENV): Likewise.
7432 (tst-strxfrm2-ENV): Likewise.
7433 (bug-strcoll1-ENV): Likewise.
7434 (test-strcasecmp-ENV): Likewise.
7435 (test-strncasecmp-ENV): Likewise.
7436 * time/Makefile (tst-strptime-ENV): Likewise.
7437 (tst-ftime_l-ENV): Likewise.
7438 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7439 (tst-mbrtowc-ENV): Likewise.
7440 (tst-wcrtomb-ENV): Likewise.
7441 (tst-mbrtowc2-ENV): Likewise.
7442 (tst-c16c32-1-ENV): Likewise.
7443 (tst-mbsnrtowcs-ENV): Likewise.
7445 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7447 * manual/resource.texi (How to get information about the memory
7448 subsystem?): Fix typo.
7449 Reported by Peon de la Parra Ivan <peon@keba.com>
7451 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7454 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7455 (pthread_spin_lock): Branch out of spin loop to proper location.
7456 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7457 (pthread_spin_lock): Likewise.
7459 * nptl/tst-spin4.c: New test.
7460 * nptl/Makefile (tests): Add tst-spin4.
7462 2014-06-03 Andreas Schwab <schwab@suse.de>
7465 * resolv/res_send.c (send_dg): Reload file descriptor after
7468 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7470 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7472 2014-06-03 Richard Henderson <rth@redhat.com>
7474 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7475 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7476 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7477 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7478 in the SAVE_PID block.
7479 (__libc_vfork): New alias.
7480 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7482 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7483 child in registers, not on the stack. Remove RESET_PID conditionals.
7484 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7486 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7488 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7490 2014-06-03 Wilco <wdijkstr@arm.com>
7492 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7493 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7494 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7495 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7496 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7499 2014-06-03 Wilco <wdijkstr@arm.com>
7501 * sysdeps/aarch64/fpu/math_private.h
7502 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7503 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7504 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7505 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7508 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7510 * crypt/crypt-private.h: Include ufc-crypt.h.
7511 (__b64_from_24bit): Declare extern.
7512 * crypt/crypt_util.c(__b64_from_24bit): New function.
7513 (b64t): New static const variable.
7514 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7515 (b64t): Remove variable.
7516 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7517 * crypt/sha256-crypt.c: Include crypt-private.h.
7518 (b64t): Remove variable.
7519 (__sha256_crypt_r): Remove b64_from_24bit and replace
7520 with __b64_from_24bit.
7521 * crypt/sha512-crypt.c: Likewise.
7523 2014-06-02 Roland McGrath <roland@hack.frob.com>
7525 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7526 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7527 Label the code __libc_vfork rather than __vfork.
7528 [!NOT_IN_libc] (vfork): Define as weak alias.
7529 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7530 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7531 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7533 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7535 * malloc/malloc.c (malloc_info): Fix format specifier for
7538 2014-06-02 Wilco <wdijkstr@arm.com>
7540 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7543 2014-06-02 Wilco <wdijkstr@arm.com>
7546 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7547 Rewrite to reduce FPCR/FPSR accesses.
7549 2014-06-01 David S. Miller <davem@davemloft.net>
7551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7553 2014-05-31 David S. Miller <davem@davemloft.net>
7555 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7556 to occur in round to nearest mode when |x| >= 2.0
7558 2014-05-30 Richard Henderson <rth@twiddle.net>
7560 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7561 (PSEUDO_RET_NOERRNO): Remove.
7562 (ret): Don't redefine.
7563 (ret_NOERRNO): Define in terms of ret.
7564 (ret_ERRVAL): Likewise.
7566 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7567 use of PSEUDO_RET; perform the error check directly.
7569 2014-05-30 Marko Myllynen <myllynen@redhat.com>
7571 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7574 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7576 * malloc/malloc (malloc_info): Fix formatting.
7578 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7579 Roland McGrath <roland@hack.frob.com>
7581 * malloc/malloc (malloc_info): Also print mmapped statistics.
7583 2014-05-30 Roland McGrath <roland@hack.frob.com>
7585 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7586 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7588 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
7590 * malloc/malloc.c (malloc_info): Inline mi_arena.
7592 2014-05-29 Richard Henderson <rth@twiddle.net>
7594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7595 Remove comma before expanding ASM_ARGS_##nr.
7596 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7597 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7599 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7600 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7601 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7602 (ASM_ARGS_1): Add leading comma.
7604 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7605 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7606 to __errno_location.
7607 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7608 Remove the expected plt for __errno_location.
7610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7611 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7614 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7615 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7616 it and break it down.
7617 (DOCARGS_0, DOCARGS_1): Do nothing.
7618 (DOCARGS_2): Update to store into the new stack frame.
7619 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7620 (UNDOCARGS_1): Update to restore from the new stack frame.
7621 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7622 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7625 (SINGLE_THREAD_P): New parameter for result regno.
7626 (PSEUDO): Update to match; use cbz instead of beq.
7628 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7629 Use ENTRY to define the _nocancel entry point. Share the syscall
7630 and syscall error check paths with the cancel path.
7633 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7634 whitespace; tabs before and after asm mnemonics.
7636 2014-05-29 Eric Wong <normalperson@yhbt.net>
7639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7640 Call fstat64 or stat64 internally, depending on arguments passed.
7641 Replace stat buffer argument with file descriptor argument.
7642 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7643 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7644 Pass fd to __internal_statvfs instead of calling fstat64.
7645 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7646 Pass fd to __internal_statvfs64 instead of calling fstat64.
7647 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7648 Pass -1 to __internal_statvfs instead of calling stat64.
7649 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7650 Pass -1 to __internal_statvfs64 instead of calling stat64.
7652 2014-05-28 Roland McGrath <roland@hack.frob.com>
7654 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7655 that was previously under [RESET_PID].
7656 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7658 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7659 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7661 2014-05-27 Roland McGrath <roland@hack.frob.com>
7663 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7665 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7666 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7668 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
7670 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7672 2014-05-27 Andreas Schwab <schwab@suse.de>
7674 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7676 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7677 * elf/rtld.c (init_tls, dl_main): Likewise.
7678 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7679 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7680 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7681 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7682 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7683 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7684 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7685 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7686 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7687 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7688 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7689 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7690 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7691 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7692 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7693 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7694 * sysdeps/generic/tls.h: Update description.
7696 2014-05-27 Will Newton <will.newton@linaro.org>
7699 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7700 and restore r2 rather than just restoring.
7702 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7705 * libio/tst-ftell-append.c: New test case.
7706 * libio/Makefile (tests): Add test case.
7707 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7709 * libio/wfileops.c (do_ftell_wide): Likewise.
7711 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7715 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7719 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7720 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7722 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7723 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7724 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7731 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7732 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7733 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7734 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7737 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7738 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7740 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7742 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7744 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7745 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7746 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7748 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7749 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7750 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7751 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7759 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7774 conditional [RESET_PID].
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7783 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7784 (__libc_vfork): New strong alias.
7785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7792 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7793 (__libc_vfork): New strong alias.
7794 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7796 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7799 2014-05-26 Carlos O'Donell <carlos@redhat.com>
7801 * malloc/malloc.c (mi_arena): New function.
7802 (malloc_info): Remove nested function mi_arena. Call non-nosted
7805 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7807 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7809 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7810 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7811 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7812 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7813 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7814 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7817 2014-05-26 Andreas Schwab <schwab@suse.de>
7820 * locale/programs/repertoire.c (repertoire_read): Add slash
7821 between I18NPATH element and file name.
7822 * locale/programs/locfile.c (locfile_read): Likewise.
7824 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7826 * nptl/pthread_mutexattr_settype.c
7827 (__pthread_mutexattr_settype):
7828 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7830 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7832 * nptl/tst-mutex5 (do_test):
7833 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7835 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7837 * benchtests/README: Document 'init' directive.
7838 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7840 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7841 (parse_file): Recognize 'init' directive.
7843 2014-05-26 Kyle McMartin <kyle@redhat.com>
7846 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7847 alignment of struct pthread.
7849 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7852 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7853 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7854 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7855 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7857 2014-05-25 Richard Henderson <rth@twiddle.net>
7859 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7860 (SINGLE_THREAD_P_PIC): Remove.
7861 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7862 (SINGLE_THREAD_P_PIC): Remove.
7864 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7865 branch to syscall error ...
7867 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7868 from __local_syscall_error to .Lsyscall_error.
7869 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7870 (SYSCALL_ERROR): Update label name.
7872 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7873 Do not use DOARGS/UNDOARGS.
7874 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7875 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7876 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7877 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7878 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7880 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7883 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7884 define if !NOT_IN_libc.
7885 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7886 define with non-default symbol versions.
7888 2014-05-23 Richard Henderson <rth@twiddle.net>
7890 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7891 (vfork, __vfork): Define via compat_symbol.
7893 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7894 [!HAVE_IFUNC] (vfork_compat): Remove.
7895 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7897 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7900 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7901 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7904 2014-05-23 Richard Henderson <rth@twiddle.net>
7906 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7907 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7908 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7909 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7911 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7912 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7913 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7914 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7915 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7916 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7917 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7918 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7919 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7920 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7921 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7922 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7923 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7924 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7925 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7926 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7927 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7928 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7929 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7930 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7931 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7932 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7934 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7935 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7936 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7937 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7938 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7939 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7940 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7942 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7943 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7944 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7945 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7946 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7948 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7950 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7951 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7952 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7953 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7954 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7955 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7956 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7957 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7958 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7959 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7960 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7961 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7962 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7963 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7964 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7965 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7966 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7968 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7969 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7970 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7971 before exiting on error.
7972 (__libc_vfork): New strong alias.
7973 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7974 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7976 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7977 that was previously under [RESET_PID].
7978 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7980 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7982 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7985 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7986 value when x - 1 is zero.
7987 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7988 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7989 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7990 0.0L for an argument of 1.0L.
7991 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7993 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7994 value when x - 1 is zero.
7995 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7996 * sysdeps/i386/fpu/libm-test-ulps: Update.
7997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7999 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8001 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8002 alphasort and versionsort.
8004 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8006 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8008 [copysignf]: Likewise.
8010 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8012 * crypt/md5-crypt.c: Fix formatting.
8014 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8016 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8017 (b64_from_24bit): New function.
8019 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8021 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8022 libc_hidden_builtin_def to ifunc.
8023 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8024 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8026 2014-05-21 Roland McGrath <roland@hack.frob.com>
8028 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8029 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8031 2014-05-21 Joseph Myers <joseph@codesourcery.com>
8033 * nscd/Depend (linuxthreads): Remove.
8035 * resolv/Depend (linuxthreads): Remove.
8036 * rt/Depend (linuxthreads): Remove.
8038 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8039 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8040 $(common-objpfx)elf/.
8041 (link-libc-before-gnulib): Likewise.
8042 (elfobjdir): Remove variable.
8043 * Makefile (install): Use $(elf-objpfx) instead of
8044 $(common-objpfx)elf/.
8045 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8047 (link-libc-deps): Likewise.
8048 ($(common-objpfx)libc.so): Likewise.
8049 ($(common-objpfx)linkobj/libc.so): Likewise.
8050 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8051 instead of $(common-objpfx)elf/.
8052 (symbolic-link-list): Likewise.
8053 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8054 [$(cross-compiling) = no]: Likewise.
8055 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8057 (static-gnulib-arch): Likewise.
8058 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8059 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8060 $(common-objpfx)elf/.
8062 2014-05-21 Richard Henderson <rth@redhat.com>
8064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8065 (SINGLE_THREAD_P): Use the correct width load. Fold
8066 into the ldr offset.
8068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8069 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8071 2014-05-20 Joseph Myers <joseph@codesourcery.com>
8073 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8074 (libgcc_s_resume): Use __attribute_used__.
8075 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8078 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8080 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8081 optimization when used with float constants.
8083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8085 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8088 * locale/nl_langinfo_l.c: Make direct reference to every
8089 _nl_current_CATEGORY symbol.
8090 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8091 (tests-static): Add tst-langinfo-static.
8092 (tests-special): Add tst-langinfo-static.out.
8093 ($(objpfx)tst-langinfo.out): Redirect output.
8094 ($(objpfx)tst-langinfo-static.out): New.
8095 * localedata/tst-langinfo.sh: Send output to stdout.
8096 * localedata/tst-langinfo-static.c: New file.
8099 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8100 when the shift amount is modulo the limb size.
8102 2014-05-20 Richard Henderson <rth@redhat.com>
8105 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8106 Change type of sa_flags from unsigned int to int.
8109 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8111 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8113 2014-05-20 Will Newton <will.newton@linaro.org>
8115 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8116 Test the return value of the system call in the nocancel case.
8118 2014-05-20 Will Newton <will.newton@linaro.org>
8119 Yvan Roux <yvan.roux@linaro.org>
8121 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8122 #include of asm/ptrace.h.
8123 (PTRACE_GET_THREAD_AREA): Remove #undef.
8124 (PTRACE_GETHBPREGS): Likewise.
8125 (PTRACE_SETHBPREGS): Likewise.
8126 (struct user_regs_struct): New structure.
8127 (struct user_fpsimd_struct): New structure.
8128 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8129 #include of asm/ptrace.h and second #include of sys/user.h.
8130 (PTRACE_GET_THREAD_AREA): Remove #undef.
8131 (PTRACE_GETHBPREGS): Likewise.
8132 (PTRACE_SETHBPREGS): Likewise.
8133 (ELF_NGREG): Use new struct user_regs_struct.
8134 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8136 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8138 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8139 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8141 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8145 membar to avoid block loads/stores to overlap previous stores.
8147 2014-05-17 Richard Henderson <rth@redhat.com>
8149 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8150 Create the __##syscall_name##_nocancel entry point.
8151 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8152 Remove; let the sysdep-cancel.h code create it.
8154 2014-05-17 David S. Miller <davem@davemloft.net>
8156 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8157 Protect with __USE_GNU.
8158 (TIOCSET_TEMPT): Likewise.
8159 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8160 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8161 these are already provided in bits/ioctl-types.h
8163 2014-05-16 Roland McGrath <roland@hack.frob.com>
8165 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8166 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8168 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8169 Use wait4 regardless of [__NR_waitpid].
8171 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8174 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8175 (_FP_NANSIGN_Q): Set the quiet bit.
8177 2014-05-16 Joseph Myers <joseph@codesourcery.com>
8179 * benchtests/Makefile
8180 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8181 not $(common-objpfx)math/libm.so.
8182 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8183 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8184 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8185 $(common-objpfx)dlfcn/libdl.so.
8186 ($(objpfx)tst-audit8): Depend on $(libm), not
8187 $(common-objpfx)math/libm.so.
8188 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8189 not $(common-objpfx)dlfcn/libdl.so.
8191 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8192 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8193 [$(build-shared) = yes].
8194 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8195 $(common-objpfx)nptl/libpthread.so.
8196 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8197 $(common-objpfx)math/libm.so$(libm.so-version) or
8198 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8199 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8200 $(common-objpfx)dlfcn/libdl.so.
8201 * setjmp/Makefile (link-libm): Remove variable.
8202 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8203 * stdio-common/Makefile (link-libm): Remove variable.
8204 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8205 * stdlib/Makefile (link-libm): Remove variable.
8206 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8207 ($(objpfx)tst-strtod-round): Likewise.
8208 ($(objpfx)tst-tininess): Likewise.
8209 ($(objpfx)tst-strtod-underflow): Likewise.
8210 ($(objpfx)tst-strtod6): Likewise.
8211 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8212 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8213 $(common-objpfx)dlfcn/libdl.so.
8215 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8218 BSD terminal modes definitions.
8220 2014-05-16 Roland McGrath <roland@hack.frob.com>
8222 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8223 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8225 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8226 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8227 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8228 Don't do #include_next.
8229 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8230 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8231 Don't do #include_next.
8232 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8233 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8234 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8235 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8237 2014-05-16 Allan McRae <allan@archlinux.org>
8239 * po/sv.po: Update Swedish translation from translation project.
8241 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8244 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8247 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8248 errno if the TIOCGPTN ioctl fails with an error different than
8250 * login/tst-ptsname.c: New file.
8251 * login/Makefile (tests): Add tst-ptsname.
8254 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8257 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8261 herrno to return EAI_AGAIN.
8263 2014-05-14 Roland McGrath <roland@hack.frob.com>
8265 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8266 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8267 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8268 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8270 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8272 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8274 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8276 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8277 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8278 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8279 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8280 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8281 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8282 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8283 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8284 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8285 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8286 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8287 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8288 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8289 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8290 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8291 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8292 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8293 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8294 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8296 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8298 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8301 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8303 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8305 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8307 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8309 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8311 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8313 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8315 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8319 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8321 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8323 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8325 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8327 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8330 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8332 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8334 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8336 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8338 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8340 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8342 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8344 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8346 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8348 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8351 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8353 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8355 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8356 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8357 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8358 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8359 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8360 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8361 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8362 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8363 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8364 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8365 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8367 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8369 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8370 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8371 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8373 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8375 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8377 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8379 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8381 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8383 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8385 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8387 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8388 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8390 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8391 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8392 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8394 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8400 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8403 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8404 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8407 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8408 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8409 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8411 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8413 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8414 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8415 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8417 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8418 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8420 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8421 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8423 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8425 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8426 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8427 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8428 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8429 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8433 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8435 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8437 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8439 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8443 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8445 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8446 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8448 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8449 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8451 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8453 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8456 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8458 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8459 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8460 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8461 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8462 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8463 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8465 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8466 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8468 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8470 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8471 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8472 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8473 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8474 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8478 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8480 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8481 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8482 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8483 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8484 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8486 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8487 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8488 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8494 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8497 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8498 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8501 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8502 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8503 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8504 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8505 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8507 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8508 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8509 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8510 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8511 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8512 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8513 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8514 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8516 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8517 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8519 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8521 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8522 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8523 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8524 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8525 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8527 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8529 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8531 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8532 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8533 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8534 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8535 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8536 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8537 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8538 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8539 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8540 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8541 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8543 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8544 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8546 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8547 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8549 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8550 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8551 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8552 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8553 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8554 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8555 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8556 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8557 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8558 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8559 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8560 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8561 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8562 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8563 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8565 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8568 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8570 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8571 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8573 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8574 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8575 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8576 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8577 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8578 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8579 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8580 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8582 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8585 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8587 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8588 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8590 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8591 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8592 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8593 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8594 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8595 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8596 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8597 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8598 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8599 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8600 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8601 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8603 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8604 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8605 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8606 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8607 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8609 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8610 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8611 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8612 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8613 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8614 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8615 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8616 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8617 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8618 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8620 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8621 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8623 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8624 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8625 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8626 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8627 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8628 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8629 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8630 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8631 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8632 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8633 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8634 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8635 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8636 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8657 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8658 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8659 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8660 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8661 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8662 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8663 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8664 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8665 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8666 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8667 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8668 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8669 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8670 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8671 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
8673 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8674 that was previously under [RESET_PID].
8675 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8676 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8677 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8679 * sysdeps/i386/nptl/Implies: New file.
8680 * sysdeps/x86_64/nptl/Implies: New file.
8681 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8682 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8683 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8684 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8686 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8687 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8688 (__libc_vfork): New strong alias.
8689 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8690 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8692 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8693 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8694 (__libc_vfork): New strong alias.
8695 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8696 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8698 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8699 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8700 (__libc_vfork): New strong alias.
8701 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8702 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8703 * nptl/pt-vfork.c: New file.
8704 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8705 (libpthread: GLIBC_2.20): New version set (empty).
8707 2014-05-14 Will Newton <will.newton@linaro.org>
8709 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8712 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8715 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8716 arguments with exponent 65 or above.
8717 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8718 arguments 0x1p113L or above.
8719 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8720 to arguments 0x1p107L or above.
8721 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8722 positive arguments with exponent 65 or above.
8723 * math/auto-libm-test-in: Add more tests of log1p.
8724 * math/auto-libm-test-out: Regenerated.
8727 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8728 non-finite arguments is +0.
8729 * math/s_cacosf.c (__cacosf): Likewise.
8730 * math/s_cacosl.c (__cacosl): Likewise.
8731 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8732 * sysdeps/i386/fpu/libm-test-ulps: Update.
8733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8736 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8738 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8739 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8740 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8741 for explicit high bit of mantissa when testing for argument equal
8743 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8744 * sysdeps/i386/fpu/libm-test-ulps: Update.
8745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8749 (__erf): Scale by 16 instead of 8 in potentially underflowing
8750 case. Ensure exception if result actually underflows.
8751 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8752 (__erff): Scale by 16 instead of 8 in potentially underflowing
8753 case. Ensure exception if result actually underflows.
8754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8755 (efx8): Remove variable.
8756 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8757 case. Ensure exception if result actually underflows.
8758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8759 (efx8): Remove variable.
8760 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8761 case. Ensure exception if result actually underflows.
8762 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8763 (efx8): Remove variable.
8764 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8765 case. Ensure exception if result actually underflows.
8766 * math/auto-libm-test-in: Add more tests of erf.
8767 * math/auto-libm-test-out: Regenerated.
8769 2014-05-14 Andreas Schwab <schwab@suse.de>
8771 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8772 Remove code conditionalized on USE___THREAD.
8774 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8775 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8778 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8781 Define unconditionally.
8782 (__ASSUME_O_CLOEXEC): Likewise.
8783 (__ASSUME_SOCK_CLOEXEC): Likewise.
8784 (__ASSUME_IN_NONBLOCK): Likewise.
8785 (__ASSUME_PIPE2): Likewise.
8786 (__ASSUME_EVENTFD2): Likewise.
8787 (__ASSUME_SIGNALFD4): Likewise.
8788 (__ASSUME_DUP3): Likewise.
8789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8790 (__ASSUME_DUP3): Do not define.
8791 (__ASSUME_EVENTFD2): Likewise.
8792 (__ASSUME_IN_NONBLOCK): Likewise.
8793 (__ASSUME_O_CLOEXEC): Likewise.
8794 (__ASSUME_PIPE2): Likewise.
8795 (__ASSUME_SIGNALFD4): Likewise.
8796 (__ASSUME_SOCK_CLOEXEC): Likewise.
8797 (__ASSUME_UTIMES): Undefine.
8798 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8799 (__ASSUME_UTIMES): Do not define.
8800 (__ASSUME_O_CLOEXEC): Likewise.
8801 (__ASSUME_SOCK_CLOEXEC): Likewise.
8802 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8803 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8805 (__ASSUME_PIPE2): Likewise.
8806 (__ASSUME_EVENTFD2): Likewise.
8807 (__ASSUME_SIGNALFD4): Likewise.
8808 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8809 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8811 (__ASSUME_EVENTFD2): Likewise.
8812 (__ASSUME_SIGNALFD4): Likewise.
8813 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8814 (__ASSUME_32BITUIDS): Likewise.
8815 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8816 (__ASSUME_IPC64): Likewise.
8817 (__ASSUME_ST_INO_64_BIT): Likewise.
8818 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8819 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8820 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8821 (__ASSUME_UTIMES): Do not define.
8822 (__ASSUME_PSELECT): Likewise.
8823 (__ASSUME_PPOLL): Likewise.
8824 (__ASSUME_O_CLOEXEC): Likewise.
8825 (__ASSUME_SOCK_CLOEXEC): Likewise.
8826 (__ASSUME_IN_NONBLOCK): Likewise.
8827 (__ASSUME_PIPE2): Likewise.
8828 (__ASSUME_EVENTFD2): Likewise.
8829 (__ASSUME_SIGNALFD4): Likewise.
8830 (__ASSUME_DUP3): Likewise.
8831 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8832 (__ASSUME_UTIMES): Likewise.
8833 (__ASSUME_O_CLOEXEC): Likewise.
8834 (__ASSUME_SOCK_CLOEXEC): Likewise.
8835 (__ASSUME_IN_NONBLOCK): Likewise.
8836 (__ASSUME_PIPE2): Likewise.
8837 (__ASSUME_EVENTFD2): Likewise.
8838 (__ASSUME_SIGNALFD4): Likewise.
8839 (__ASSUME_DUP3): Likewise.
8840 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8841 (__ASSUME_UTIMES): Likewise.
8842 (__ASSUME_O_CLOEXEC): Likewise.
8843 (__ASSUME_SOCK_CLOEXEC): Likewise.
8844 (__ASSUME_IN_NONBLOCK): Likewise.
8845 (__ASSUME_PIPE2): Likewise.
8846 (__ASSUME_EVENTFD2): Likewise.
8847 (__ASSUME_SIGNALFD4): Likewise.
8848 (__ASSUME_DUP3): Likewise.
8849 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8851 (__ASSUME_UTIMES): Likewise.
8852 (__ASSUME_EVENTFD2): Likewise.
8853 (__ASSUME_SIGNALFD4): Likewise.
8854 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8855 (__ASSUME_O_CLOEXEC): Likewise.
8856 (__ASSUME_SOCK_CLOEXEC): Likewise.
8857 (__ASSUME_IN_NONBLOCK): Likewise.
8858 (__ASSUME_PIPE2): Likewise.
8859 (__ASSUME_EVENTFD2): Likewise.
8860 (__ASSUME_SIGNALFD4): Likewise.
8861 (__ASSUME_DUP3): Likewise.
8862 (__ASSUME_UTIMES): Undefine.
8864 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8865 feclearexcept. Remove symbol versioning code.
8866 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8867 symbol versioning code.
8868 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8869 symbol versioning code.
8870 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8871 feupdateenv. Remove symbol versioning code.
8872 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8873 fegetexceptflag. Remove symbol versioning code.
8874 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8875 fesetexceptflag. Remove symbol versioning code.
8876 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8877 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8878 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8879 (__posix_fadvise64_l32): Remove prototype.
8880 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8883 2014-05-13 Roland McGrath <roland@hack.frob.com>
8885 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8886 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8887 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8888 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8890 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8892 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8893 current working directory
8895 2014-05-13 Roland McGrath <roland@hack.frob.com>
8897 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8898 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8899 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8900 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8901 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8902 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8903 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8904 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8913 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8914 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8915 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8916 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8917 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8918 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8920 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8922 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8923 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8924 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8925 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8926 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8927 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8928 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8929 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8930 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8931 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8932 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8933 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8934 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8935 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8936 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8937 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8938 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8940 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8941 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8943 * sysdeps/unix/sysv/linux/arm/Makefile
8944 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8945 Add rt-aeabi_unwind_cpp_pr1.
8946 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8947 Add nptl-aeabi_unwind_cpp_pr1.
8948 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8949 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8950 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8951 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8952 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8953 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8955 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8956 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8957 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8958 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8960 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8961 Deconditionalize the code that was previously under [RESET_PID].
8962 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8964 * sysdeps/generic/exit-thread.h: New file.
8965 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8966 * include/unistd.h (__exit_thread): Remove declaration.
8967 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8968 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8969 * csu/libc-start.c: Include <exit-thread.h>.
8970 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8971 * nptl/pthread_create.c: Include <exit-thread.h>.
8972 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8973 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8974 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8975 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8976 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8977 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8978 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8979 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8980 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8981 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8982 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8983 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8984 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8985 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8986 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8987 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8988 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8990 2014-05-13 Andreas Schwab <schwab@suse.de>
8992 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8994 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8996 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8997 (__ASSUME_UTIMES): Do not condition on kernel version.
8998 (__ASSUME_PSELECT): Define unconditionally.
8999 (__ASSUME_PPOLL): Likewise.
9000 (__ASSUME_ATFCTS): Likewise.
9001 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9002 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9003 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9004 (__ASSUME_UTIMENSAT): Define unconditionally.
9005 (__ASSUME_PRIVATE_FUTEX): Likewise.
9006 (__ASSUME_FALLOCATE): Likewise.
9007 (__ASSUME_O_CLOEXEC): Likewise.
9008 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9009 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9010 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9011 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9012 (__ASSUME_IN_NONBLOCK): Likewise.
9013 (__ASSUME_PIPE2): Likewise.
9014 (__ASSUME_EVENTFD2): Likewise.
9015 (__ASSUME_SIGNALFD4): Likewise.
9016 (__ASSUME_DUP3): Likewise.
9017 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9018 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9019 (__ASSUME_AT_RANDOM): Likewise.
9020 (__ASSUME_PREADV): Likewise.
9021 (__ASSUME_PWRITEV): Likewise.
9022 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9023 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9024 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9025 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9026 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9028 (__ASSUME_O_CLOEXEC): Define unconditionally.
9029 (__ASSUME_PSELECT): Do not undefine conditionally.
9030 (__ASSUME_PPOLL): Likewise.
9031 (__ASSUME_ATFCTS): Likewise.
9032 (__ASSUME_SET_ROBUST_LIST): Likewise.
9033 (__ASSUME_UTIMENSAT): Likewise.
9034 (__ASSUME_FDATASYNC): Define unconditionally.
9035 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9036 (__ASSUME_SIGFRAME_V2): Likewise.
9037 )__ASSUME_EVENTFD2): Likewise.
9038 (__ASSUME_SIGNALFD4): Likewise.
9039 (__ASSUME_PSELECT): Do not undefine conditionally.
9040 (__ASSUME_PPOLL): Likewise.
9041 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9042 (__ASSUME_PSELECT): Define unconditionally.
9043 (__ASSUME_PPOLL): Likewise.
9044 (__ASSUME_O_CLOEXEC): Likewise.
9045 (__ASSUME_SOCK_CLOEXEC): Likewise.
9046 (__ASSUME_IN_NONBLOCK): Likewise.
9047 (__ASSUME_PIPE2): Likewise.
9048 (__ASSUME_EVENTFD2): Likewise.
9049 (__ASSUME_SIGNALFD4): Likewise.
9050 (__ASSUME_DUP3): Likewise.
9051 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9052 (__ASSUME_O_CLOEXEC): Likewise.
9053 (__ASSUME_SOCK_CLOEXEC): Likewise.
9054 (__ASSUME_IN_NONBLOCK): Likewise.
9055 (__ASSUME_PIPE2): Likewise.
9056 (__ASSUME_EVENTFD2): Likewise.
9057 (__ASSUME_SIGNALFD4): Likewise.
9058 (__ASSUME_DUP3): Likewise.
9059 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9060 (__ASSUME_EVENTFD2): Likewise.
9061 (__ASSUME_SIGNALFD4): Likewise.
9062 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9064 2014-05-12 Andreas Schwab <schwab@suse.de>
9067 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9068 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9069 than maximum RPC packet size.
9070 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9071 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9072 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9073 (_nss_nis_getservbyport_r): Likewise.
9075 2014-05-12 Will Newton <will.newton@linaro.org>
9077 * malloc/Makefile (tests): Add tst-mallopt.
9078 * malloc/tst-mallopt.c: New file.
9080 2014-05-09 Roland McGrath <roland@hack.frob.com>
9082 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9083 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9085 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9087 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9088 (tst-tlsmod6.so): Likewise.
9090 2014-05-09 Roland McGrath <roland@hack.frob.com>
9092 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9094 2014-05-09 Joseph Myers <joseph@codesourcery.com>
9097 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9098 and <dl-procinfo.h>.
9099 (__fegetenv): Save SSE state in envp->__eip if supported.
9100 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9101 envp->__eip if supported.
9102 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9103 and <dl-procinfo.h>.
9104 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9105 __data_offset and __data_selector in environment to 0. Set SSE
9107 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9109 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9111 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9113 2014-05-09 Will Newton <will.newton@linaro.org>
9115 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9116 and libc_relro_required for ARM.
9117 * sysdeps/arm/preconfigure: Regenerate.
9119 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9120 Stefan Liebler <stli@linux.vnet.ibm.com>
9122 * config.make.in (enable-lock-elision): New Makefile variable.
9123 * configure.ac: Likewise.
9124 * configure: Regenerate.
9125 * sysdeps/s390/configure.ac:
9126 Add check for gcc transactions support.
9127 * sysdeps/s390/configure: Regenerate.
9128 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9129 Build elision files if enabled.
9130 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9131 Add lock elision support for s390.
9132 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9133 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9134 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9135 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9136 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9137 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9138 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9140 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9142 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9144 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9146 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9147 (__lll_timedlock_elision, __lll_lock_elision)
9148 (__lll_unlock_elision, __lll_trylock_elision)
9149 (lll_timedlock_elision, lll_lock_elision)
9150 (lll_unlock_elision, lll_trylock_elision): Add.
9151 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9152 (pthread_mutex_t): Add lock elision support for s390.
9154 2014-05-14 Wilco <wdijkstr@arm.com>
9156 * sysdeps/arm/fclrexcpt.c: Cleanup.
9157 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9158 * sysdeps/arm/feenablxcpt.c: Cleanup.
9159 * sysdeps/arm/fegetenv.c: Cleanup.
9160 * sysdeps/arm/fegetexcept.c: Cleanup.
9161 * sysdeps/arm/fegetround.c: Cleanup.
9162 * sysdeps/arm/feholdexcpt.c: Cleanup.
9163 * sysdeps/arm/fesetenv.c: Cleanup.
9164 * sysdeps/arm/fesetround.c: Cleanup.
9165 * sysdeps/arm/feupdateenv.c: Cleanup.
9166 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9167 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9168 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9169 * sysdeps/arm/ftestexcept.c: Cleanup.
9170 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9171 * sysdeps/arm/setfpucw.c: Cleanup.
9173 2014-05-09 Will Newton <will.newton@linaro.org>
9175 * sysdeps/arm/armv7/strcmp.S: New file.
9176 * NEWS: Mention addition of ARMv7 optimized strcmp.
9178 2014-05-08 Roland McGrath <roland@hack.frob.com>
9180 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9181 look for %.ac rather than %.in.
9183 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9184 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9185 * sysdeps/mach/hurd/configure: Regenerated.
9186 * sysdeps/unix/sysv/linux/configure: Regenerated.
9188 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9190 2014-05-07 Steve Ellcey <sellcey@mips.com>
9193 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9197 2014-05-07 Andreas Schwab <schwab@suse.de>
9199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9200 when skipping over non-matching result from nscd.
9202 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
9205 * nptl/sockperf.c (client): Check socket return value.
9208 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9209 nscd security class.
9211 2014-05-06 Roland McGrath <roland@hack.frob.com>
9213 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9214 * sysdeps/arm/unwind.h: ... here.
9216 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9219 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9222 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9224 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9225 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9226 multiarch strncpy for PPC64.
9227 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9228 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9230 multiarch optimizations.
9231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9232 (__libc_ifunc_impl_list): Likewise.
9233 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9234 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9235 multiarch stpncpy for PPC64.
9236 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9237 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9239 2014-05-06 Andreas Schwab <schwab@suse.de>
9242 * gmon/mcount.c (_MCOUNT_DECL): Use
9243 atomic_compare_and_exchange_bool_acq instead of
9244 catomic_compare_and_exchange_bool_acq.
9246 2014-05-05 Roland McGrath <roland@hack.frob.com>
9248 * elf/Makefile (others, install-bin): Remove pldd.
9249 (pldd-modules): Variable removed.
9250 ($(objpfx)pldd): Target removed.
9251 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9252 (others, install-bin): Append pldd here.
9253 ($(objpfx)pldd): New target.
9255 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9256 to 0, so the first #if test emitted later doesn't see it undefined.
9257 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9258 * sysdeps/gnu/errlist.c: Regenerated.
9260 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9262 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9263 [libc_hidden_builtin_def]: Define to empty value.
9264 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9265 [libc_hidden_builtin_def]: Likewise.
9266 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9267 [libc_hidden_builtin_def]: Likewise.
9268 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9269 [libc_hidden_builtin_def]: Likewise.
9270 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9271 __redirect_memcpy and define ifunc as default hidden symbol.
9272 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9273 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9275 2014-05-04 Adam Conrad <adconrad@0c3.net>
9277 * locale/iso-4217.def: Reintroduce XDR currency.
9279 2014-05-04 Allan McRae <allan@archlinux.org>
9281 * po/eo.po: Update Esperanto translation from translation project.
9283 2014-05-02 Carlos O'Donell <carlos@redhat.com>
9285 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9286 and FEATURE_INDEX_MAX to 1.
9287 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9289 2014-05-01 Steve Ellcey <sellcey@mips.com>
9291 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9292 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9293 * iconvdata/big5.c (ONE_DIRECTION): Define.
9294 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9295 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9296 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9297 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9298 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9299 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9300 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9301 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9302 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9303 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9304 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9305 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9306 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9307 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9308 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9309 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9310 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9311 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9312 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9313 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9314 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9315 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9316 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9317 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9318 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9319 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9320 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9321 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9322 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9323 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9324 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9325 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9326 * iconvdata/johab.c (ONE_DIRECTION): Define.
9327 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9328 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9329 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9330 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9331 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9332 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9333 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9334 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9335 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9336 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9338 2014-05-01 Roland McGrath <roland@hack.frob.com>
9340 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9341 (_IO_JUMPS_OFFSET): Define to 0.
9343 * nptl/sysdeps/pthread/bits/libc-lock.h
9344 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9345 (__libc_lock_define_initialized_recursive): Always define using
9346 initializer. Modern compilers treat uninitialized (implicit zero) and
9347 explicit zero initializers the same (i.e. put the datum in bss).
9349 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9351 * nscd/nscd-client.h: Include <string.h>.
9353 2014-05-01 David S. Miller <davem@davemloft.net>
9356 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9357 multiple zero bytes exist at the end of a string.
9358 Reported by Aurelien Jarno <aurelien@aurel32.net>
9360 * string/test-strcmp.c (check): Add explicit test for situations where
9361 there are multiple zero bytes after the first.
9363 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9366 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9367 when compiling wprintf.
9368 * stdio-common/tstdiomisc.c (t3): New function.
9371 2014-05-01 Steve Ellcey <sellcey@mips.com>
9373 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9374 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9375 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9376 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9378 2014-05-01 Steve Ellcey <sellcey@mips.com>
9380 * stdlib/longlong.h: Updated from GCC.
9382 2014-05-01 Will Newton <will.newton@linaro.org>
9383 Bernard Ogden <bernie.ogden@linaro.org>
9385 * NEWS: Update fixed bug list.
9388 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9390 2014-04-30 David S. Miller <davem@davemloft.net>
9392 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9393 (libc_feholdexcept_setround_sparc_ctx): New function.
9394 (libc_fesetenv_sparc_ctx): Likewise.
9395 (libc_feupdateenv_sparc_ctx): Likewise.
9396 (libc_feholdsetround_sparc_ctx): Likewise.
9397 (libc_feholdexcept_setround_ctx): Define.
9398 (libc_feholdexcept_setroundf_ctx): Likewise.
9399 (libc_feholdexcept_setroundl_ctx): Likewise.
9400 (libc_fesetenv_ctx): Likewise.
9401 (libc_fesetenvf_ctx): Likewise.
9402 (libc_fesetenvl_ctx): Likewise.
9403 (libc_feupdateenv_ctx): Likewise.
9404 (libc_feupdateenvf_ctx): Likewise.
9405 (libc_feupdateenvl_ctx): Likewise.
9406 (libc_feresetround_ctx): Likewise.
9407 (libc_feresetroundf_ctx): Likewise.
9408 (libc_feresetroundl_ctx): Likewise.
9409 (libc_feholdsetround_ctx): Likewise.
9410 (libc_feholdsetroundf_ctx): Likewise.
9411 (libc_feholdsetroundl_ctx): Likewise.
9413 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9414 with __USE_GNU instead of XOPEN cpp guards.
9416 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9419 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9420 with XOPEN cpp guards.
9422 2014-04-30 Julian Brown <julian@codesourcery.com>
9425 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9428 2014-04-30 Joseph Myers <joseph@codesourcery.com>
9431 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9433 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9434 * sysdeps/unix/sysv/linux/configure: Regenerated.
9435 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9436 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9437 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9438 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9439 * README: Update reference to required Linux kernel version.
9440 * manual/install.texi (Linux): Update reference to required Linux
9441 kernel headers version.
9442 * INSTALL: Regenerated.
9444 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9446 [POSIX] (limits.h): Likewise.
9447 [POSIX] (math.h): Likewise.
9448 [POSIX] (sys/wait.h): Likewise.
9449 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9451 [POSIX] (stddef.h): Do not allow header inclusion.
9453 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9455 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9457 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9459 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9460 Return immediately after lll_futex_wake.
9462 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9465 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9467 (datahead_init_pos): Call datahead_init_common early.
9468 (datahead_init_neg): Likewise.
9470 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9471 datahead_init_neg): New functions.
9472 * nscd/aicache.c (addhstaiX): Use them.
9473 * nscd/grpcache.c (cache_addgr): Likewise.
9474 * nscd/hstcache.c (cache_addhst): Likewise.
9475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9476 * nscd/netgroupcache.c (do_notfound): Likewise.
9477 (addgetnetgrentX): Likewise.
9478 (addinnetgrX): Likewise.
9479 * nscd/pwdcache.c (cache_addpw): Likewise.
9480 * nscd/servicescache.c (cache_addserv): Likewise.
9482 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9483 Atsushi Onoe <atsushi@onoe.org>
9488 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9489 one response is valid.
9490 * resolv/res_send.c (send_dg): Check for validity of other
9491 response if the current response is a referral.
9493 2014-04-29 Steve Ellcey <sellcey@mips.com>
9495 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9497 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9500 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9501 Always divide by positive zero when computing -Inf result.
9502 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9503 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9505 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9507 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9508 FPSCR if value do not change.
9509 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9510 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9511 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9512 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9513 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9514 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9517 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9519 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9520 * sysdeps/unix/sysv/linux/hppa: Move directory from
9521 ports/systeps/unix/sysv/linux/hppa.
9522 * README: Update listing for hppa-*-linux-gnu.
9524 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
9527 * manual/stdio.texi (Hook functions): Fix types of stream hook
9530 * socket/sys/socket.h: Fix typo in comment.
9532 2014-04-28 Wilco <wdijkstr@arm.com>
9534 * sysdeps/arm/fenv_private.h: New file.
9535 * sysdeps/arm/math_private.h: New file.
9536 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9538 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9540 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9542 (La_x86_64_retval): Likewise.
9544 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9546 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9547 fpsr if value didn't change.
9548 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9549 to fpcr if value didn't change.
9550 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9551 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9552 fpsr or fpcr if value didn't change.
9553 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9554 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9555 fpcr if value didn't change.
9556 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9557 to fpsr if value didn't change.
9559 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9561 * nptl/tst-sem3.c: Use test-skeleton.c
9562 (main): Rename to do_test. Use return instead of
9564 * nptl/tst-sem4.c: Use test-skeleton.c
9565 (main): Rename to do_test.
9567 2014-04-22 David S. Miller <davem@davemloft.net>
9569 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9570 (struct sigaction): New struct member __glibc_reserved0, change
9571 type of sa_flags to int.
9573 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9575 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9576 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9578 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9580 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9581 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9583 2014-04-22 Will Newton <will.newton@linaro.org>
9584 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9586 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9587 (__longjmp): Add longjmp and longjmp_target SystemTap
9589 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9590 (__sigsetjmp): Add setjmp SystemTap probe.
9592 2014-04-17 Carlos O'Donell <carlos@redhat.com>
9594 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9597 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9599 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9601 * sysdeps/powerpc/fpu/fenv_private.h
9602 (libc_feholdexcept_setroundl_ctx): Define to
9603 libc_feholdexcept_setround_ppc_ctx.
9604 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9605 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9606 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9607 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9609 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9611 * sysdeps/aarch64/math-tests.h: New file.
9613 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9615 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9618 Check and set bit_AVX2_Usable.
9619 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9621 (bit_AVX2): Likewise.
9622 (index_AVX2_Usable): Likewise.
9623 (CPUID_AVX2): Likewise.
9624 (HAS_AVX2): Likewise.
9626 2014-04-17 Will Newton <will.newton@linaro.org>
9628 * manual/setjmp.texi (System V contexts): Add note that
9629 calling setcontext on a context created by a call to a
9630 signal handler is undefined. Update text to note that
9631 setcontext from a signal handler is possible but not
9635 * stdlib/tst-setcontext.c: Include signal.h.
9636 (main): Check that the signal stack before and
9637 after swapcontext is the same.
9639 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9640 Re-implement to restore registers in user code and avoid
9641 rt_sigreturn system call.
9643 2014-04-17 Wilco <wdijkstr@arm.com>
9645 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9646 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9647 * math/test-fenv.c: Skip exception trap tests on targets which only
9648 support non-stop mode.
9650 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9651 Wilco Dijkstra <wilco.dijkstra@arm.com>
9653 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9654 (libc_feholdsetround_aarch64_ctx)
9655 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9656 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9657 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9658 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9659 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9660 (libc_feresetround_noexl_ctx): Define.
9662 2014-04-16 Richard Henderson <rth@redhat.com>
9664 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9666 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9669 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9670 const from the non-libc, non-ldso copy.
9672 * sysdeps/alpha/libm-test-ulps: Regenerate.
9674 2014-04-16 Ian Bolton <ian.bolton@arm.com>
9675 Wilco Dijkstra <wilco.dijkstra@arm.com>
9677 * sysdeps/aarch64/fpu/math_private.h: New file.
9679 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9681 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9683 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9686 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9687 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9689 Intel MPX bound registers before _dl_profile_fixup.
9690 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9691 registers after _dl_profile_fixup. Save and restore bound
9692 registers bnd0/bnd1 when calling _dl_call_pltexit.
9693 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9694 (LR_BND_OFFSET): Likewise.
9695 (LRV_BND0_OFFSET): Likewise.
9696 (LRV_BND1_OFFSET): Likewise.
9698 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9700 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9702 * sysdeps/mach/hurd/i386/tls.h: ... here.
9703 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9704 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9707 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9709 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9711 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9713 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9715 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9718 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9719 * sysdeps/s390/configure: Regenerate.
9722 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9723 Set round-to-nearest internally to reduce error accumulation.
9725 2014-04-16 Alan Modra <amodra@gmail.com>
9729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9730 * math/libm-test.inc (frexp_test_data): Add tests.
9731 * NEWS: Update fixed bug list.
9733 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9735 * benchtests/Makefile: Depend on libraries in build directory.
9736 (bench-math): Separate out math tests.
9737 (bench-pthread): Separate out pthread tests.
9738 (bench): Include math and pthread tests.
9740 2014-04-14 Carlos O'Donell <carlos@redhat.com>
9743 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9744 _dl_debug_initialize.
9746 * configure.ac: Remove SELinux header check.
9747 * configure: Regenerate.
9748 * nscd/selinux.c (perms): Array of const char* to permission names.
9749 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9750 default policy. Call string_to_security_class and string_to_av_perm to
9751 translate strings. Enforce default policy and call avs_has_perm with
9752 results of translated strings.
9754 2014-04-13 David S. Miller <davem@davemloft.net>
9756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9758 2014-04-12 Allan McRae <allan@archlinux.org>
9761 * manual/string.texi (Collation Functions): Fix qsort argument
9763 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9765 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9767 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9768 Make the test a no-op if there are no exceptions defined.
9770 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9772 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9773 enable-hardcoded-path-in-tests
9775 2014-04-11 Will Newton <will.newton@linaro.org>
9777 * benchtests/Makefile (extra-objs): Add json-lib.o.
9778 (bench-func): Tidy up JSON output.
9779 * benchtests/bench-skeleton.c: Include json-lib.h.
9780 (main): Use JSON library functions to do output of
9782 * benchtests/bench-timing-type.c (main): Output the
9783 timing type simply, leaving formatting to the user.
9784 * benchtests/json-lib.c: New file.
9785 * benchtests/json-lib.h: Likewise.
9787 2014-04-11 Torvald Riegel <triegel@redhat.com>
9790 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9791 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9792 memory barriers. Add comments.
9793 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9794 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9795 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9796 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9797 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9798 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9800 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9802 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9803 * sysdeps/s390/s390-64/configure.ac: ... this ...
9804 * sysdeps/s390/configure.ac: ... to here.
9805 * sysdeps/s390/s390-32/configure: Delete file.
9806 * sysdeps/s390/s390-64/configure: Delete file.
9807 * sysdeps/s390/configure: Regenerate.
9809 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9811 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9813 2014-04-11 Will Newton <will.newton@linaro.org>
9815 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9816 to zero if it is not defined elsewhere. (mtrim): Test
9817 the value of MALLOC_DEBUG with #if rather than #ifdef.
9819 2014-04-10 Torvald Riegel <triegel@redhat.com>
9821 * benchtests/pthread_once-inputs: New file.
9822 * benchtests/pthread_once-source.c: New file.
9823 * benchtests/README: Update documentation.
9825 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9826 H.J. Lu <hongjiu.lu@intel.com>
9829 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9830 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9831 * sysdeps/x86_64/configure: Regenerated.
9832 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9834 (REGISTER_SAVE_RAX): Likewise.
9835 (REGISTER_SAVE_RCX): Likewise.
9836 (REGISTER_SAVE_RDX): Likewise.
9837 (REGISTER_SAVE_RSI): Likewise.
9838 (REGISTER_SAVE_RDI): Likewise.
9839 (REGISTER_SAVE_R8): Likewise.
9840 (REGISTER_SAVE_R9): Likewise.
9841 (REGISTER_SAVE_BND0): Likewise.
9842 (REGISTER_SAVE_BND1): Likewise.
9843 (REGISTER_SAVE_BND2): Likewise.
9844 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9845 bound registers when calling _dl_fixup.
9847 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9849 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9850 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9852 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9853 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9854 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9855 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9856 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9857 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9858 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9860 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9863 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9864 pathconf(_PC_NAME_MAX).
9866 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9868 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9870 (__PTHREAD_SPINS): Move definition to ...
9871 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9872 (__PTHREAD_SPINS): ... here.
9873 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9874 (__PTHREAD_SPIN): Likewise.
9875 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9876 (__PTHREAD_SPIN): Likewise.
9877 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9878 (__PTHREAD_SPIN): Likewise.
9879 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9880 (__PTHREAD_SPIN): Likewise.
9881 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9882 (__PTHREAD_SPIN): Likewise.
9883 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9884 (__PTHREAD_SPIN): Likewise.
9885 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9886 (__PTHREAD_SPIN): Likewise.
9887 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9888 (__PTHREAD_SPIN): Likewise.
9889 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9890 (__PTHREAD_SPIN): Likewise.
9891 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9892 (__PTHREAD_SPIN): Likewise.
9893 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9894 (__PTHREAD_SPIN): Likewise.
9895 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9896 (__PTHREAD_SPIN): Likewise.
9898 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9899 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9900 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9901 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9903 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9904 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9905 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9906 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9908 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9909 strlen symbol for non multi-arch builds.
9910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9911 missing hidden_def and weak_alias.
9913 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9915 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9917 2014-04-07 Will Newton <will.newton@linaro.org>
9919 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9920 and contents. [!_LIBC] Remove #ifndef and contents.
9921 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9922 * string/memccpy.c (__memccpy): Use ANSI prototype.
9923 * string/memfrob.c (memfrob): Likewise.
9924 * string/strcoll.c (STRCOLL): Likewise.
9925 * string/strlen.c (strlen): Likewise.
9926 * string/strtok.c (STRTOK): Likewise.
9927 * string/strcat.c: Remove unused #include of memcopy.h.
9928 (strcat): Use ANSI prototype.
9929 * string/strchr.c: Remove unused #include of memcopy.h.
9930 (strchr): Use ANSI prototype.
9931 * string/strcmp.c: Remove unused #include of memcopy.h.
9932 (strcmp): Use ANSI prototype.
9933 * string/strcpy.c: Remove unused #include of memcopy.h.
9934 (strcpy): Use ANSI prototype.
9936 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9938 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9939 * config.make.in (config-extra-cppflags): Set it from
9940 libc_extra_cppflags.
9941 * configure.ac (libc_extra_cflags): Make it accumulate over
9942 configure fragments.
9943 (libc_extra_cppflags): New flag.
9944 * configure. Regenerate.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9946 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9947 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9951 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9952 result for FE_DOWNWARD rounding mode.
9953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9957 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9959 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9960 in function argument name.
9962 2014-04-03 David Svoboda <svoboda@cert.org>
9965 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9968 2014-04-03 Roland McGrath <roland@hack.frob.com>
9970 * elf/dl-unmap-segments.h: New file.
9971 * sysdeps/generic/ldsodefs.h
9972 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9973 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9974 * elf/dl-fptr.c: Likewise.
9975 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9976 * sysdeps/aarch64/tlsdesc.c: Likewise.
9977 * sysdeps/arm/tlsdesc.c: Likewise.
9978 * sysdeps/i386/tlsdesc.c: Likewise.
9979 * sysdeps/tile/dl-runtime.c: Likewise.
9980 * sysdeps/x86_64/tlsdesc.c: Likewise.
9981 * elf/dl-load.h: New file.
9982 * elf/dl-load.c: Include it.
9983 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9984 Macros moved to dl-load.h.
9985 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9986 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9987 Use _dl_unmap_segments in place of __munmap.
9988 Break out segment-mapping loop into ...
9989 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9991 2014-04-03 Will Newton <will.newton@linaro.org>
9993 * elf/dl-lookup.c (do_lookup_x): Remove comment
9994 referring to nested function and move variable
9995 declarations down to before first use.
9997 2014-04-02 Joseph Myers <joseph@codesourcery.com>
10001 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10003 * math/s_catanf.c (__catanf): Likewise.
10004 * math/s_catanh.c (__catanh): Likewise.
10005 * math/s_catanhf.c (__catanhf): Likewise.
10006 * math/s_catanhl.c (__catanhl): Likewise.
10007 * math/s_catanl.c (__catanl): Likewise.
10008 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10009 by positive zero when computing -Inf result.
10010 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10011 (catanh_test): Likewise.
10012 * sysdeps/i386/fpu/libm-test-ulps: Update.
10013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10016 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10017 instead of using underflowing value in computing result.
10018 * math/s_clog10.c (__clog10): Likewise.
10019 * math/s_clog10f.c (__clog10f): Likewise.
10020 * math/s_clog10l.c (__clog10l): Likewise.
10021 * math/s_clogf.c (__clogf): Likewise.
10022 * math/s_clogl.c (__clogl): Likewise.
10023 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10024 (clog10_test): Likewise.
10025 * sysdeps/i386/fpu/libm-test-ulps: Update.
10026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10028 2014-04-02 Alan Modra <amodra@gmail.com>
10031 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10032 output when value is near a power of two. Use int64_t for lx and
10033 remove casts. Use decimal rather than hex exponent constants.
10034 Don't use long double multiplication when double will suffice.
10035 * math/libm-test.inc (nextafter_test_data): Add tests.
10036 * NEWS: Add 16739 and 16786 to bug list.
10038 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10040 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10042 2014-04-01 Will Newton <will.newton@linaro.org>
10044 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10045 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10047 2014-04-01 Florian Weimer <fweimer@redhat.com>
10050 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10051 * nptl/tst-setuid2.c: New file.
10052 * nptl/Makefile (xtests): Add tst-setuid2.
10054 2014-04-01 Alan Modra <amodra@gmail.com>
10057 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10059 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10063 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10064 set errno as appropriate.
10065 * math/w_scalbf.c (__scalbf): Likewise.
10066 * math/w_scalbl.c (__scalbl): Likewise.
10067 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10068 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10069 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10070 Add more NaN tests.
10073 * math/w_atan2.c: Include <errno.h>.
10074 (__atan2): Set errno for result underflowing to zero.
10075 * math/w_atan2f.c: Include <errno.h>.
10076 (__atan2f): Set errno for result underflowing to zero.
10077 * math/w_atan2l.c: Include <errno.h>.
10078 (__atan2l): Set errno for result underflowing to zero.
10079 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10081 * math/auto-libm-test-out: Regenerated.
10083 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10085 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10086 Encode instruction correctly in little endian.
10087 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10089 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10091 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10093 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10096 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10099 * sysdeps/unix/sysv/linux/kernel-features.h
10100 [__sparc__ && !__arch64__ && !__sparc_v9__]
10101 (__ASSUME_SET_ROBUST_LIST): Do not define.
10102 [__sparc__ && !__arch64__ && !__sparc_v9__]
10103 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10104 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10106 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10107 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10108 (__ASSUME_REQUEUE_PI): Likewise.
10109 (__ASSUME_SET_ROBUST_LIST): Likewise.
10110 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10111 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10113 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10114 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10116 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10118 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10120 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10121 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10123 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10124 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10128 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10129 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10130 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10132 2014-03-31 Will Newton <will.newton@linaro.org>
10134 * benchtests/Makefile (bench): Add ffs and ffsll to list
10136 * benchtests/ffs-inputs: New file.
10137 * benchtests/ffsll-inputs: Likewise.
10139 2014-03-29 Joseph Myers <joseph@codesourcery.com>
10142 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10143 too large before casting to int.
10144 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10145 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10146 * math/libm-test.inc (scalb_test_data): Add more tests.
10148 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10150 * benchtests/Makefile (DETAILED_OPT): New make option.
10151 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10153 * benchtests/bench-skeleton.c: Include stdbool.h.
10154 (main): Store and print timings per input.
10155 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10156 member to each argument value.
10157 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10158 (_print_arg_data): Initialize per-input timing to 0.
10160 * benchtests/Makefile (timing-type): New binary.
10161 (bench-clean): Also remove bench-timing-type.
10162 (bench): New target for timing-type.
10163 (bench-func): Print output in JSON format.
10164 * benchtests/bench-skeleton.c (main): Print output in JSON
10166 * benchtests/bench-timing-type.c: New file.
10167 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10168 (TIMING_PRINT_STATS): Remove.
10169 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10172 * benchtests/bench-modf.c: Remove.
10173 * benchtests/modf-inputs: New inputs file.
10175 2014-03-28 Joseph Myers <joseph@codesourcery.com>
10178 * math/s_clog10.c (M_PI_LOG10E): New macro.
10179 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10180 imaginary parts are 0.
10181 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10182 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10183 imaginary parts are 0.
10184 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10185 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10186 imaginary parts are 0.
10187 * math/libm-test.inc (clog10_test_data): Update expected results
10188 for when real and imaginary parts are 0.
10190 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10192 * elf/dl-load.c: Finish conversion of __builtin_expect into
10193 __glibc_{un}likely.
10195 2014-03-27 Joseph Myers <joseph@codesourcery.com>
10198 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10199 1+x for argument with exponent below -67.
10200 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10202 * math/auto-libm-test-in: Add more tests of exp.
10203 * math/auto-libm-test-out: Regenerated.
10205 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10208 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10209 (nscd_getnetgrent): Use it.
10212 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10215 2014-03-27 Andi Kleen <ak@linux.intel.com>
10217 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10218 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10219 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10220 (lll_robust_unlock): Remove out of line section. Use cfi
10222 (LLL_STUB_UNWIND_INFO*): Remove.
10223 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10224 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10225 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10226 (lll_robust_unlock): Remove out of line section. Use cfi
10228 (LLL_STUB_UNWIND_INFO*): Remove.
10230 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10233 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10236 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10238 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10240 2014-03-26 Joseph Myers <joseph@codesourcery.com>
10243 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10245 * math/test-fenv-preserve.c: New file.
10246 * math/Makefile (tests): Add test-fenv-preserve.
10248 2014-03-26 Will Newton <will.newton@linaro.org>
10250 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10252 2014-03-25 Roland McGrath <roland@hack.frob.com>
10254 * scripts/versionlist.awk: Partition the version sets and emit all
10255 GLIBC_* (sorted) before all others (sorted).
10257 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10259 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10260 GLIBC_2.2.5 version.
10262 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10264 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10267 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10272 2014-03-25 Andreas Schwab <schwab@suse.de>
10274 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10275 label to be used after in6ailist is initialized.
10277 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10279 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10280 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10282 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10286 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10288 (fp_formats): Update initializers.
10289 (init_fp_formats): Initialize new field.
10290 (output_for_one_input_case): Allow underflow for results up to
10292 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10293 * math/auto-libm-test-in: Don't mark some underflows from asin and
10295 * math/auto-libm-test-out: Regenerated.
10296 * sysdeps/i386/fpu/libm-test-ulps: Update.
10297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10299 2014-03-25 Andreas Schwab <schwab@suse.de>
10301 * libio/Makefile (tst-ftell-partial-wide-ENV)
10302 (tst-ftell-active-handler-ENV): Define.
10304 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10306 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10308 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10310 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10312 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10314 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10315 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10316 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10318 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10321 * elf/dl-load.c (open_verify): Add mode parameter.
10322 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10323 (open_path): Change from boolean 'secure' to complete flag 'mode'
10324 (_dl_map_object): Adjust.
10325 * elf/Makefile (tests): Add tst-dlopen-aout.
10326 * elf/tst-dlopen-aout.c: New test.
10328 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10331 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10332 (struct stat): Rename member pad0 to __glibc_reserved0.
10335 * sysdeps/s390/s390-32/bits/wordsize.h
10336 (__WORDSIZE32_SIZE_ULONG): New define.
10337 * sysdeps/s390/s390-64/bits/wordsize.h
10338 (__WORDSIZE32_SIZE_ULONG): Likewise.
10339 * sysdeps/generic/stdint.h (SIZE_MAX):
10340 Define as UL if __WORDSIZE32_SIZE_ULONG.
10343 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10344 (__glibc_reserved0): New variable.
10345 (sa_flags): Change type to int.
10347 * posix/Makefile (before-compile): Use += before-compile instead
10350 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10351 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10353 2014-03-20 Andreas Schwab <schwab@suse.de>
10356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10357 non-matching result from nscd.
10359 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10361 * scripts/bench.py: Moved to ...
10362 * benchtests/scripts/bench.py: ... here.
10363 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10365 2014-03-24 Andreas Schwab <schwab@suse.de>
10368 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10369 alloca_account and account alloca use for struct in6ailist.
10371 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10374 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10375 rounding mode to recompute results that overflow to infinity or
10377 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10379 * math/auto-libm-test-out: Regenerated.
10380 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10381 (ccosh_test): Likewise.
10382 (csin_test_data): Use plus_oflow.
10383 (csin_test): Use ALL_RM_TEST.
10384 (csinh_test_data): Use plus_oflow.
10385 (csinh_test): Use ALL_RM_TEST.
10386 * sysdeps/i386/fpu/libm-test-ulps: Update.
10387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10389 2014-03-21 Joseph Myers <joseph@codesourcery.com>
10391 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10392 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10393 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10396 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10397 when x - 1 is zero.
10398 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10399 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10400 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10403 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10404 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10406 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10407 * sysdeps/i386/fpu/libm-test-ulps: Update.
10408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10410 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10412 * scripts/bench.pl: Remove file.
10413 * scripts/bench.py: New benchmark script.
10414 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10415 * benchtests/README: Mention python dependency.
10416 * scripts/pylintrc: New file.
10417 * scripts/pylint: New file.
10419 * bits/mathdef.h: Use #ifdef instead of #if.
10420 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10421 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10422 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10423 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10424 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10425 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10427 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10428 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10430 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10432 and strpbrk-ppc64 objects.
10433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10434 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10435 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10436 multiarch strpbrk for POWER7.
10437 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10438 multiarch strpbrk for PPC64.
10439 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10441 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10442 strpbrk for POWER7.
10444 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10446 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10447 (atan_test): Likewise.
10448 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10449 (atanh_test): Use ALL_RM_TEST.
10450 (atan2_test_data): Likewise.
10451 (cabs_test): Likewise.
10452 (cacosh_test): Likewise.
10453 (carg_test): Likewise.
10454 (casin_test): Likewise.
10455 (casinh_test): Likewise.
10456 (cbrt_test): Likewise.
10457 (csqrt_test): Likewise.
10458 (erf_test): Likewise.
10459 (erfc_test): Likewise.
10460 (pow10_test): Likewise.
10461 (exp2_test): Likewise.
10462 (hypot_test): Likewise.
10463 (j0_test): Likewise.
10464 (j1_test): Likewise.
10465 (lgamma_test): Likewise.
10466 (gamma_test): Likewise.
10467 (sincos_test): Likewise.
10468 (tanh_test): Likewise.
10469 (y0_test): Likewise.
10470 (y1_test): Likewise.
10471 * sysdeps/i386/fpu/libm-test-ulps: Update.
10472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10474 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10476 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10478 and strcspn-ppc64 objects.
10479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10480 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10481 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10482 multiarch strcspn for POWER7.
10483 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10484 multiarch strcspn for PPC64.
10485 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10487 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10488 strcspn for POWER7.
10490 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10492 * math/gen-libm-test.pl (generate_testfile): Expect only function
10493 name as argument to AUTO_TESTS_* and pass results for all rounding
10494 modes to parse_args.
10495 (parse_auto_input): Separate inputs of automatic tests from
10496 outputs before storing in %auto_tests.
10497 * math/libm-test.inc (acos_test_data): Update call to
10499 (acos_test): Use ALL_RM_TEST.
10500 (acos_tonearest_test_data): Remove.
10501 (acos_test_tonearest): Likewise.
10502 (acos_towardzero_test_data): Likewise.
10503 (acos_test_towardzero): Likewise.
10504 (acos_downward_test_data): Likewise.
10505 (acos_test_downward): Likewise.
10506 (acos_upward_test_data): Likewise.
10507 (acos_test_upward): Likewise.
10508 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10509 (asin_test_data): Likewise.
10510 (asin_test): Use ALL_RM_TEST.
10511 (asin_tonearest_test_data): Remove.
10512 (asin_test_tonearest): Likewise.
10513 (asin_towardzero_test_data): Likewise.
10514 (asin_test_towardzero): Likewise.
10515 (asin_downward_test_data): Likewise.
10516 (asin_test_downward): Likewise.
10517 (asin_upward_test_data): Likewise.
10518 (asin_test_upward): Likewise.
10519 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10520 (atan_test_data): Likewise.
10521 (atanh_test_data): Likewise.
10522 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10523 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10524 (carg_test_data): Likewise.
10525 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10526 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10527 (ccosh_test_data): Likewise.
10528 (cexp_test_data): Likewise.
10529 (clog_test_data): Likewise.
10530 (clog10_test_data): Likewise.
10531 (cos_test_data): Update call to AUTO_TESTS_f_f.
10532 (cos_test): Use ALL_RM_TEST.
10533 (cos_tonearest_test_data): Remove.
10534 (cos_test_tonearest): Likewise.
10535 (cos_towardzero_test_data): Likewise.
10536 (cos_test_towardzero): Likewise.
10537 (cos_downward_test_data): Likewise.
10538 (cos_test_downward): Likewise.
10539 (cos_upward_test_data): Likewise.
10540 (cos_test_upward): Likewise.
10541 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10542 (cosh_test): Use ALL_RM_TEST.
10543 (cosh_tonearest_test_data): Remove.
10544 (cosh_test_tonearest): Likewise.
10545 (cosh_towardzero_test_data): Likewise.
10546 (cosh_test_towardzero): Likewise.
10547 (cosh_downward_test_data): Likewise.
10548 (cosh_test_downward): Likewise.
10549 (cosh_upward_test_data): Likewise.
10550 (cosh_test_upward): Likewise.
10551 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10552 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10553 (ctan_test_data): Likewise.
10554 (ctan_test): Use ALL_RM_TEST.
10555 (ctan_tonearest_test_data): Remove.
10556 (ctan_test_tonearest): Likewise.
10557 (ctan_towardzero_test_data): Likewise.
10558 (ctan_test_towardzero): Likewise.
10559 (ctan_downward_test_data): Likewise.
10560 (ctan_test_downward): Likewise.
10561 (ctan_upward_test_data): Likewise.
10562 (ctan_test_upward): Likewise.
10563 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10564 (ctanh_test): Use ALL_RM_TEST.
10565 (ctanh_tonearest_test_data): Remove.
10566 (ctanh_test_tonearest): Likewise.
10567 (ctanh_towardzero_test_data): Likewise.
10568 (ctanh_test_towardzero): Likewise.
10569 (ctanh_downward_test_data): Likewise.
10570 (ctanh_test_downward): Likewise.
10571 (ctanh_upward_test_data): Likewise.
10572 (ctanh_test_upward): Likewise.
10573 (erf_test_data): Update call to AUTO_TESTS_f_f.
10574 (erfc_test_data): Likewise.
10575 (exp_test_data): Likewise.
10576 (exp_test): Use ALL_RM_TEST.
10577 (exp_tonearest_test_data): Remove.
10578 (exp_test_tonearest): Likewise.
10579 (exp_towardzero_test_data): Likewise.
10580 (exp_test_towardzero): Likewise.
10581 (exp_downward_test_data): Likewise.
10582 (exp_test_downward): Likewise.
10583 (exp_upward_test_data): Likewise.
10584 (exp_test_upward): Likewise.
10585 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10586 (exp10_test): Use ALL_RM_TEST.
10587 (exp10_tonearest_test_data): Remove.
10588 (exp10_test_tonearest): Likewise.
10589 (exp10_towardzero_test_data): Likewise.
10590 (exp10_test_towardzero): Likewise.
10591 (exp10_downward_test_data): Likewise.
10592 (exp10_test_downward): Likewise.
10593 (exp10_upward_test_data): Likewise.
10594 (exp10_test_upward): Likewise.
10595 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10596 (expm1_test_data): Likewise.
10597 (expm1_test): Use ALL_RM_TEST.
10598 (expm1_tonearest_test_data): Remove.
10599 (expm1_test_tonearest): Likewise.
10600 (expm1_towardzero_test_data): Likewise.
10601 (expm1_test_towardzero): Likewise.
10602 (expm1_downward_test_data): Likewise.
10603 (expm1_test_downward): Likewise.
10604 (expm1_upward_test_data): Likewise.
10605 (expm1_test_upward): Likewise.
10606 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10607 (fma_test): Use ALL_RM_TEST.
10608 (fma_towardzero_test_data): Remove.
10609 (fma_test_towardzero): Likewise.
10610 (fma_downward_test_data): Likewise.
10611 (fma_test_downward): Likewise.
10612 (fma_upward_test_data): Likewise.
10613 (fma_test_upward): Likewise.
10614 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10615 (j0_test_data): Update call to AUTO_TESTS_f_f.
10616 (j1_test_data): Likewise.
10617 (jn_test_data): Update call to AUTO_TESTS_if_f.
10618 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10619 (log_test_data): Update call to AUTO_TESTS_f_f.
10620 (log10_test_data): Likewise.
10621 (log1p_test_data): Likewise.
10622 (log2_test_data): Likewise.
10623 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10624 (pow_tonearest_test_data): Likewise.
10625 (sin_test_data): Update call to AUTO_TESTS_f_f.
10626 (sin_test): Use ALL_RM_TEST.
10627 (sin_tonearest_test_data): Remove.
10628 (sin_test_tonearest): Likewise.
10629 (sin_towardzero_test_data): Likewise.
10630 (sin_test_towardzero): Likewise.
10631 (sin_downward_test_data): Likewise.
10632 (sin_test_downward): Likewise.
10633 (sin_upward_test_data): Likewise.
10634 (sin_test_upward): Likewise.
10635 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10636 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10637 (sinh_test): Use ALL_RM_TEST.
10638 (sinh_tonearest_test_data): Remove.
10639 (sinh_test_tonearest): Likewise.
10640 (sinh_towardzero_test_data): Likewise.
10641 (sinh_test_towardzero): Likewise.
10642 (sinh_downward_test_data): Likewise.
10643 (sinh_test_downward): Likewise.
10644 (sinh_upward_test_data): Likewise.
10645 (sinh_test_upward): Likewise.
10646 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10647 (sqrt_test): Use ALL_RM_TEST.
10648 (sqrt_tonearest_test_data): Remove.
10649 (sqrt_test_tonearest): Likewise.
10650 (sqrt_towardzero_test_data): Likewise.
10651 (sqrt_test_towardzero): Likewise.
10652 (sqrt_downward_test_data): Likewise.
10653 (sqrt_test_downward): Likewise.
10654 (sqrt_upward_test_data): Likewise.
10655 (sqrt_test_upward): Likewise.
10656 (tan_test_data): Update call to AUTO_TESTS_f_f.
10657 (tan_test): Use ALL_RM_TEST.
10658 (tan_tonearest_test_data): Remove.
10659 (tan_test_tonearest): Likewise.
10660 (tan_towardzero_test_data): Likewise.
10661 (tan_test_towardzero): Likewise.
10662 (tan_downward_test_data): Likewise.
10663 (tan_test_downward): Likewise.
10664 (tan_upward_test_data): Likewise.
10665 (tan_test_upward): Likewise.
10666 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10667 (tgamma_test_data): Likewise.
10668 (y0_test_data): Likewise.
10669 (y1_test_data): Likewise.
10670 (yn_test_data): Update call to AUTO_TESTS_if_f.
10671 (main): Do not call removed functions.
10673 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10675 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10676 (ldexp_test_data): Remove.
10677 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10679 (scalb_test): Use ALL_RM_TEST.
10681 2014-03-19 Andreas Schwab <schwab@suse.de>
10683 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10685 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10688 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10689 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10690 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10692 (__ASSUME_PREADV): Undefine.
10693 (__ASSUME_PWRITEV): Likewise.
10695 2014-03-18 Roland McGrath <roland@hack.frob.com>
10697 * bits/mman-linux.h: Add comment about non-Linux use.
10698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10699 bits/mman-linux.h resting place.
10701 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10702 * bits/mman-linux.h: ... here.
10704 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10706 * conform/conformtest.pl: Add standard definition when calling C
10707 preprocessor on data files.
10708 (checknamespace): Remove unused variable.
10710 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10712 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10713 minus_oflow, plus_uflow and minus_uflow in expected results.
10714 * math/libm-test.inc (scalbn_test_data): Add more tests of
10715 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10717 (scalbn_test): Use ALL_RM_TEST.
10718 (scalbln_test_data): Add more tests of negative arguments. Use
10719 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10720 (scalbln_test): Use ALL_RM_TEST.
10722 2014-03-18 Roland McGrath <roland@hack.frob.com>
10724 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10726 2014-03-18 Will Newton <will.newton@linaro.org>
10728 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10729 inaccurate comment.
10731 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10733 * Makerules [!subdir] (check-abi): Exit with error status if a
10736 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10738 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10739 for rint. Include results for all rounding modes.
10740 (nearbyint_test): Use ALL_RM_TEST.
10741 (rint_test_data): Include all tests used for nearbyint.
10743 2014-03-17 Will Newton <will.newton@linaro.org>
10745 * nptl/sysdeps/pthread/pthread.h: Revert previous
10748 * sysdeps/generic/ldsodefs.h: Revert previous
10751 * libio/genops.c: Revert previous change.
10752 * libio/libioP.h: Likewise.
10753 * stdio-common/vfprintf.c: Likewise.
10755 * sysdeps/generic/math_private.h: Revert previous
10758 * sysdeps/generic/math_private.h: Check whether
10759 HAVE_RM_CTX is defined with #ifdef rather
10762 * argp/argp-fmtstream.h: Check whether
10763 __STRICT_ANSI__ is defined with #ifdef rather
10765 * argp/argp.h: Likewise.
10767 * libio/genops.c: Check whether
10768 _IO_JUMPS_OFFSET is defined with #ifdef rather
10770 * libio/libioP.h: Likewise.
10771 * stdio-common/vfprintf.c: Likewise.
10773 * sysdeps/generic/ldsodefs.h: Check whether
10774 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10777 * nptl/sysdeps/pthread/pthread.h: Check
10778 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10781 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10783 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10785 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10789 * libio/fileops.c (_IO_file_open): Seek to end of file but
10790 don't cache the offset.
10791 (get_file_offset): Remove function.
10792 (do_ftell): Use cached offset when available.
10793 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10794 don't cache the offset.
10795 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10797 (do_one_test): Call it.
10798 (do_ftell_test): Fix up expected old offset for a+ mode.
10799 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10802 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10803 up test status with function return status.
10804 (do_write_test): Likewise.
10805 (do_append_test): Likewise.
10807 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10808 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10811 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10813 * math/gen-libm-test.pl (parse_args): Handle results specified for
10814 each rounding mode separately.
10815 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10816 tests and results from lrint_tonearest_test_data,
10817 lrint_towardzero_test_data, lrint_downward_test_data and
10818 lrint_upward_test_data.
10819 (lrint_test): Use ALL_RM_TEST.
10820 (lrint_tonearest_test_data): Remove.
10821 (lrint_test_tonearest): Likewise.
10822 (lrint_towardzero_test_data): Likewise.
10823 (lrint_test_towardzero): Likewise.
10824 (lrint_downward_test_data): Likewise.
10825 (lrint_test_downward): Likewise.
10826 (lrint_upward_test_data): Likewise.
10827 (lrint_test_upward): Likewise.
10828 (llrint_test_data): Merge in per-rounding-mode tests and results
10829 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10830 llrint_downward_test_data and llrint_upward_test_data.
10831 (llrint_test): Use ALL_RM_TEST.
10832 (llrint_tonearest_test_data): Remove.
10833 (llrint_test_tonearest): Likewise.
10834 (llrint_towardzero_test_data): Likewise.
10835 (llrint_test_towardzero): Likewise.
10836 (llrint_downward_test_data): Likewise.
10837 (llrint_test_downward): Likewise.
10838 (llrint_upward_test_data): Likewise.
10839 (llrint_test_upward): Likewise.
10840 (rint_test_data): Merge in per-rounding-mode tests and results
10841 from rint_tonearest_test_data, rint_towardzero_test_data,
10842 rint_downward_test_data and rint_upward_test_data. Add
10843 per-rounding-mode results for tests not in those arrays.
10844 (rint_test): Use ALL_RM_TEST.
10845 (rint_tonearest_test_data): Remove.
10846 (rint_test_tonearest): Likewise.
10847 (rint_towardzero_test_data): Likewise.
10848 (rint_test_towardzero): Likewise.
10849 (rint_downward_test_data): Likewise.
10850 (rint_test_downward): Likewise.
10851 (rint_upward_test_data): Likewise.
10852 (rint_test_upward): Likewise.
10853 (main): Don't call removed functions.
10855 2014-03-14 Roland McGrath <roland@hack.frob.com>
10857 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10858 "Compiled on ..." crapola. It is anti-useful.
10860 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10862 * scripts/evaluate-test.sh: Handle fourth argument to determine
10863 whether test run should stop on failure.
10864 * Makeconfig (stop-on-test-failure): New variable.
10865 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10866 $(stop-on-test-failure).
10867 * Makefile (tests): Give a summary of results from testing and
10868 exit with failure status if they include an ERROR or FAIL.
10869 (xtests): Likewise.
10870 * manual/install.texi (Configuring and compiling): Mention
10871 stop-on-test-failure=y.
10872 * INSTALL: Regenerated.
10874 2014-03-14 Roland McGrath <roland@hack.frob.com>
10876 * scripts/versionlist.awk: New file.
10877 * Makerules [$(build-shared) = yes]
10878 (postclean-generated): Add Versions.def, not Versions.def.v and
10880 ($(common-objpfx)Versions.def.v.i): Target removed.
10881 ($(common-objpfx)Versions.def): New target.
10882 ($(common-objpfx)Versions.all): Depend on that rather that
10883 $(common-objpfx)Versions.def.v.
10884 * Versions.def: File removed.
10886 * Makeconfig (+gccwarn): Add -Wundef.
10887 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10888 a dl-sysdep.h breaking its contract.
10889 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10890 * include/stackinfo.h: New file.
10891 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10892 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10893 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10894 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10895 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10896 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10897 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10898 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10899 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10900 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10901 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10902 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10903 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10904 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10905 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10907 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10910 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10912 * math/libm-test.inc (round_test_data): Add more tests.
10915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10917 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10920 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10922 * math/libm-test.inc (ceil_test_data): Add more tests.
10924 * math/libm-test.inc (trunc_test_data): Add more tests related to
10927 2014-03-14 Roland McGrath <roland@hack.frob.com>
10929 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10930 with #if rather than #ifdef.
10931 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10933 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10935 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10936 first. Disable AVX-512 GCC support if assembler doesn't support
10938 * sysdeps/x86_64/configure: Regenerated.
10940 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10942 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10943 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10944 (__old_pthread_attr_setstack): Likewise.
10945 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10946 [!_STACK_GROWS_DOWN]: Likewise.
10948 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10950 * config.make.in (have-bash2): Delete.
10951 * configure.ac (libc_cv_have_bash2): Delete.
10952 * configure: Regenerate.
10953 * elf/Makefile (common-ldd-rewrite): Rename to ...
10954 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10955 (sh-ldd-rewrite): Delete.
10956 (bash-ldd-rewrite): Delete.
10957 (have-bash2): Delete checks.
10958 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10961 * config.make.in (have-ksh): Delete.
10963 * configure.ac (libc_cv_have_ksh): Delete.
10964 * configure: Regenerate.
10966 * elf/Makefile: Delete $(have-ksh) check.
10967 ($(objpfx)sotruss): Change KSH to BASH.
10968 * elf/sotruss.ksh: Rename to ...
10969 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10970 function style to match POSIX. Drop ksh vim mode setting.
10972 * manual/time.texi (Specifying the Time Zone with TZ): Change
10973 Tuesday to Thursday.
10975 * debug/tst-longjmp_chk2.c: Update header comment.
10976 (stackoverflow_handler): Add comment. Call assert on pass value.
10978 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10981 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10982 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10983 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10984 (La_x86_64_vector): Add zmm.
10985 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10986 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10987 ($(objpfx)tst-audit10): New target.
10988 ($(objpfx)tst-audit10.out): Likewise.
10989 (tst-audit10-ENV): New.
10990 (AVX512-CFLAGS): Likewise.
10991 (CFLAGS-tst-audit10.c): Likewise.
10992 (CFLAGS-tst-auditmod10a.c): Likewise.
10993 (CFLAGS-tst-auditmod10b.c): Likewise.
10994 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10995 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10996 * sysdeps/x86_64/configure: Regenerated.
10997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10998 AVX-512 zmm register support.
10999 (_dl_x86_64_save_sse): Likewise.
11000 (_dl_x86_64_restore_sse): Likewise.
11001 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11002 size vector registers.
11003 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11004 (ZMM_SIZE): Likewise.
11005 * sysdeps/x86_64/tst-audit10.c: New file.
11006 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11007 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11009 2014-03-13 Roland McGrath <roland@hack.frob.com>
11011 * configure.ac (HAVE_EHDR_START): New check.
11012 * configure: Regenerated.
11013 * config.h.in (HAVE_EHDR_START): New #undef.
11014 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11015 assuming the lowest-addressed segment maps the start of the file.
11017 2014-03-13 Joseph Myers <joseph@codesourcery.com>
11019 * INSTALL: Regenerated.
11021 2014-03-13 Will Newton <will.newton@linaro.org>
11023 * manual/setjmp.texi (System V contexts): Improve
11024 clarity and grammar of documentation.
11026 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11029 * elf/Makefile (tests): Add tst-pie2.
11030 (tests-pie): Add tst-pie2.
11031 * elf/tst-pie2.c: New file.
11032 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11034 * elf/rtld.c (map_doit): Load executable as lt_executable.
11035 (dl_main): Likewise.
11037 2014-03-12 Joseph Myers <joseph@codesourcery.com>
11040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11041 (__ASSUME_PSELECT): Undefine.
11043 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11047 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11049 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11050 selector for static builds.
11052 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11055 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11058 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11060 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11061 IFUNC selector for static builds.
11063 2014-03-11 Joseph Myers <joseph@codesourcery.com>
11065 * sysdeps/mips/math_private.h [__mips_hard_float]
11066 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11067 libc_feresetround_mips_ctx.
11068 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11069 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11070 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11073 * math/s_nextafter.c (__nextafter): Do not return value from
11074 overflowing computation.
11075 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11076 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11077 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11081 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11082 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11084 2014-03-11 Roland McGrath <roland@hack.frob.com>
11086 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11087 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11088 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11089 the new mov targetting sp.
11091 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11094 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11095 Define it for static builds as well.
11096 (NO_BZERO_IMPL): Likewise.
11098 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11100 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11101 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11102 multiarch strspn for PPC64.
11103 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11104 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11106 (__libc_ifunc_impl_list): Likewise.
11107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11108 multiarch optimizations
11109 * string/strspn.c (strspn): Using macro to redefine symbol name.
11111 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11112 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11114 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11115 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11116 multiarch strncat for PPC64.
11117 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11118 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11120 (__libc_ifunc_impl_list): Likewise.
11121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11122 multiarch optimizations
11124 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11127 * nscd/nscd.service: Make service type forking.
11129 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11131 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11132 sign in non default rounding modes.
11133 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11135 2014-03-08 Joseph Myers <joseph@codesourcery.com>
11137 * math/libm-test.inc (ALL_RM_TEST): New macro.
11138 (ceil_test): Use ALL_RM_TEST.
11139 (cimag_test): Likewise.
11140 (conj_test): Likewise.
11141 (copysign_test): Likewise.
11142 (cproj_test): Likewise.
11143 (creal_test): Likewise.
11144 (fabs_test): Likewise.
11145 (floor_test): Likewise.
11146 (fmax_test): Likewise.
11147 (fmin_test): Likewise.
11148 (fmod_test): Likewise.
11149 (fpclassify_test): Likewise.
11150 (frexp_test): Likewise.
11151 (ilogb_test): Likewise.
11152 (isfinite_test): Likewise.
11153 (finite_test): Likewise.
11154 (isgreater_test): Likewise.
11155 (isgreaterequal_test): Likewise.
11156 (isinf_test): Likewise.
11157 (isless_test): Likewise.
11158 (islessequal_test): Likewise.
11159 (islessgreater_test): Likewise.
11160 (isnan_test): Likewise.
11161 (isnormal_test): Likewise.
11162 (issignaling_test): Likewise.
11163 (isunordered_test): Likewise.
11164 (logb_test): Likewise.
11165 (logb_downward_test_data): Remove.
11166 (logb_test_downward): Likewise.
11167 (lround_test): Use ALL_RM_TEST.
11168 (llround_test): Likewise.
11169 (modf_test): Likewise.
11170 (nexttoward_test): Likewise.
11171 (remainder_test): Likewise.
11172 (drem_test): Likewise.
11173 (remainder_tonearest_test_data): Likewise.
11174 (remainder_test_tonearest): Likewise.
11175 (drem_test_tonearest): Likewise.
11176 (remainder_towardzero_test_data): Likewise.
11177 (remainder_test_towardzero): Likewise.
11178 (drem_test_towardzero): Likewise.
11179 (remainder_downward_test_data): Likewise.
11180 (remainder_test_downward): Likewise.
11181 (drem_test_downward): Likewise.
11182 (remainder_upward_test_data): Likewise.
11183 (remainder_test_upward): Likewise.
11184 (drem_test_upward): Likewise.
11185 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11186 (round_test): Use ALL_RM_TEST.
11187 (signbit_test): Likewise.
11188 (trunc_test): Likewise.
11189 (significand_test): Likewise.
11190 (main): Don't call removed functions.
11192 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11195 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11196 || __USE_XOPEN2K8].
11197 (ILL_ILLOPN): Likewise.
11198 (ILL_ILLADR): Likewise.
11199 (ILL_ILLTRP): Likewise.
11200 (ILL_PRVOPC): Likewise.
11201 (ILL_PRVREG): Likewise.
11202 (ILL_COPROC): Likewise.
11203 (ILL_BADSTK): Likewise.
11204 (FPE_INTDIV): Likewise.
11205 (FPE_INTOVF): Likewise.
11206 (FPE_FLTDIV): Likewise.
11207 (FPE_FLTOVF): Likewise.
11208 (FPE_FLTUND): Likewise.
11209 (FPE_FLTRES): Likewise.
11210 (FPE_FLTINV): Likewise.
11211 (FPE_FLTSUB): Likewise.
11212 (SEGV_MAPERR): Likewise.
11213 (SEGV_ACCERR): Likewise.
11214 (BUS_ADRALN): Likewise.
11215 (BUS_ADRERR): Likewise.
11216 (BUS_OBJERR): Likewise.
11217 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11218 (TRAP_TRACE): Likewise.
11219 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11221 (CLD_KILLED): Likewise.
11222 (CLD_DUMPED): Likewise.
11223 (CLD_TRAPPED): Likewise.
11224 (CLD_STOPPED): Likewise.
11225 (CLD_CONTINUED): Likewise.
11226 (POLL_IN): Likewise.
11227 (POLL_OUT): Likewise.
11228 (POLL_MSG): Likewise.
11229 (POLL_ERR): Likewise.
11230 (POLL_PRI): Likewise.
11231 (POLL_HUP): Likewise.
11232 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11234 (ILL_ILLOPN): Likewise.
11235 (ILL_ILLADR): Likewise.
11236 (ILL_ILLTRP): Likewise.
11237 (ILL_PRVOPC): Likewise.
11238 (ILL_PRVREG): Likewise.
11239 (ILL_COPROC): Likewise.
11240 (ILL_BADSTK): Likewise.
11241 (FPE_INTDIV): Likewise.
11242 (FPE_INTOVF): Likewise.
11243 (FPE_FLTDIV): Likewise.
11244 (FPE_FLTOVF): Likewise.
11245 (FPE_FLTUND): Likewise.
11246 (FPE_FLTRES): Likewise.
11247 (FPE_FLTINV): Likewise.
11248 (FPE_FLTSUB): Likewise.
11249 (SEGV_MAPERR): Likewise.
11250 (SEGV_ACCERR): Likewise.
11251 (BUS_ADRALN): Likewise.
11252 (BUS_ADRERR): Likewise.
11253 (BUS_OBJERR): Likewise.
11254 (BUS_MCEERR_AR): Likewise.
11255 (BUS_MCEERR_AO): Likewise.
11256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11257 (TRAP_TRACE): Likewise.
11258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11260 (CLD_KILLED): Likewise.
11261 (CLD_DUMPED): Likewise.
11262 (CLD_TRAPPED): Likewise.
11263 (CLD_STOPPED): Likewise.
11264 (CLD_CONTINUED): Likewise.
11265 (POLL_IN): Likewise.
11266 (POLL_OUT): Likewise.
11267 (POLL_MSG): Likewise.
11268 (POLL_ERR): Likewise.
11269 (POLL_PRI): Likewise.
11270 (POLL_HUP): Likewise.
11271 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11272 (ILL_ILLOPN): Likewise.
11273 (ILL_ILLADR): Likewise.
11274 (ILL_ILLTRP): Likewise.
11275 (ILL_PRVOPC): Likewise.
11276 (ILL_PRVREG): Likewise.
11277 (ILL_COPROC): Likewise.
11278 (ILL_BADSTK): Likewise.
11279 (FPE_INTDIV): Likewise.
11280 (FPE_INTOVF): Likewise.
11281 (FPE_FLTDIV): Likewise.
11282 (FPE_FLTOVF): Likewise.
11283 (FPE_FLTUND): Likewise.
11284 (FPE_FLTRES): Likewise.
11285 (FPE_FLTINV): Likewise.
11286 (FPE_FLTSUB): Likewise.
11287 (SEGV_MAPERR): Likewise.
11288 (SEGV_ACCERR): Likewise.
11289 (BUS_ADRALN): Likewise.
11290 (BUS_ADRERR): Likewise.
11291 (BUS_OBJERR): Likewise.
11292 (BUS_MCEERR_AR): Likewise.
11293 (BUS_MCEERR_AO): Likewise.
11294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11295 (TRAP_TRACE): Likewise.
11296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11298 (CLD_KILLED): Likewise.
11299 (CLD_DUMPED): Likewise.
11300 (CLD_TRAPPED): Likewise.
11301 (CLD_STOPPED): Likewise.
11302 (CLD_CONTINUED): Likewise.
11303 (POLL_IN): Likewise.
11304 (POLL_OUT): Likewise.
11305 (POLL_MSG): Likewise.
11306 (POLL_ERR): Likewise.
11307 (POLL_PRI): Likewise.
11308 (POLL_HUP): Likewise.
11309 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11311 (ILL_ILLOPN): Likewise.
11312 (ILL_ILLADR): Likewise.
11313 (ILL_ILLTRP): Likewise.
11314 (ILL_PRVOPC): Likewise.
11315 (ILL_PRVREG): Likewise.
11316 (ILL_COPROC): Likewise.
11317 (ILL_BADSTK): Likewise.
11318 (ILL_BADIADDR): Likewise.
11319 (ILL_BREAK): Likewise.
11320 (FPE_INTDIV): Likewise.
11321 (FPE_INTOVF): Likewise.
11322 (FPE_FLTDIV): Likewise.
11323 (FPE_FLTOVF): Likewise.
11324 (FPE_FLTUND): Likewise.
11325 (FPE_FLTRES): Likewise.
11326 (FPE_FLTINV): Likewise.
11327 (FPE_FLTSUB): Likewise.
11328 (FPE_DECOVF): Likewise.
11329 (FPE_DECDIV): Likewise.
11330 (FPE_DECERR): Likewise.
11331 (FPE_INVASC): Likewise.
11332 (FPE_INVDEC): Likewise.
11333 (SEGV_MAPERR): Likewise.
11334 (SEGV_ACCERR): Likewise.
11335 (SEGV_PSTKOVF): Likewise.
11336 (BUS_ADRALN): Likewise.
11337 (BUS_ADRERR): Likewise.
11338 (BUS_OBJERR): Likewise.
11339 (BUS_MCEERR_AR): Likewise.
11340 (BUS_MCEERR_AO): Likewise.
11341 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11342 (TRAP_TRACE): Likewise.
11343 (TRAP_BRANCH): Likewise.
11344 (TRAP_HWBKPT): Likewise.
11345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11347 (CLD_KILLED): Likewise.
11348 (CLD_DUMPED): Likewise.
11349 (CLD_TRAPPED): Likewise.
11350 (CLD_STOPPED): Likewise.
11351 (CLD_CONTINUED): Likewise.
11352 (POLL_IN): Likewise.
11353 (POLL_OUT): Likewise.
11354 (POLL_MSG): Likewise.
11355 (POLL_ERR): Likewise.
11356 (POLL_PRI): Likewise.
11357 (POLL_HUP): Likewise.
11358 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11359 (ILL_ILLOPN): Likewise.
11360 (ILL_ILLADR): Likewise.
11361 (ILL_ILLTRP): Likewise.
11362 (ILL_PRVOPC): Likewise.
11363 (ILL_PRVREG): Likewise.
11364 (ILL_COPROC): Likewise.
11365 (ILL_BADSTK): Likewise.
11366 (FPE_INTDIV): Likewise.
11367 (FPE_INTOVF): Likewise.
11368 (FPE_FLTDIV): Likewise.
11369 (FPE_FLTOVF): Likewise.
11370 (FPE_FLTUND): Likewise.
11371 (FPE_FLTRES): Likewise.
11372 (FPE_FLTINV): Likewise.
11373 (FPE_FLTSUB): Likewise.
11374 (SEGV_MAPERR): Likewise.
11375 (SEGV_ACCERR): Likewise.
11376 (BUS_ADRALN): Likewise.
11377 (BUS_ADRERR): Likewise.
11378 (BUS_OBJERR): Likewise.
11379 (BUS_MCEERR_AR): Likewise.
11380 (BUS_MCEERR_AO): Likewise.
11381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11382 (TRAP_TRACE): Likewise.
11383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11385 (CLD_KILLED): Likewise.
11386 (CLD_DUMPED): Likewise.
11387 (CLD_TRAPPED): Likewise.
11388 (CLD_STOPPED): Likewise.
11389 (CLD_CONTINUED): Likewise.
11390 (POLL_IN): Likewise.
11391 (POLL_OUT): Likewise.
11392 (POLL_MSG): Likewise.
11393 (POLL_ERR): Likewise.
11394 (POLL_PRI): Likewise.
11395 (POLL_HUP): Likewise.
11396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11397 (ILL_ILLOPN): Likewise.
11398 (ILL_ILLADR): Likewise.
11399 (ILL_ILLTRP): Likewise.
11400 (ILL_PRVOPC): Likewise.
11401 (ILL_PRVREG): Likewise.
11402 (ILL_COPROC): Likewise.
11403 (ILL_BADSTK): Likewise.
11404 (FPE_INTDIV): Likewise.
11405 (FPE_INTOVF): Likewise.
11406 (FPE_FLTDIV): Likewise.
11407 (FPE_FLTOVF): Likewise.
11408 (FPE_FLTUND): Likewise.
11409 (FPE_FLTRES): Likewise.
11410 (FPE_FLTINV): Likewise.
11411 (FPE_FLTSUB): Likewise.
11412 (SEGV_MAPERR): Likewise.
11413 (SEGV_ACCERR): Likewise.
11414 (BUS_ADRALN): Likewise.
11415 (BUS_ADRERR): Likewise.
11416 (BUS_OBJERR): Likewise.
11417 (BUS_MCEERR_AR): Likewise.
11418 (BUS_MCEERR_AO): Likewise.
11419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11420 (TRAP_TRACE): Likewise.
11421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11423 (CLD_KILLED): Likewise.
11424 (CLD_DUMPED): Likewise.
11425 (CLD_TRAPPED): Likewise.
11426 (CLD_STOPPED): Likewise.
11427 (CLD_CONTINUED): Likewise.
11428 (POLL_IN): Likewise.
11429 (POLL_OUT): Likewise.
11430 (POLL_MSG): Likewise.
11431 (POLL_ERR): Likewise.
11432 (POLL_PRI): Likewise.
11433 (POLL_HUP): Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11435 (ILL_ILLOPN): Likewise.
11436 (ILL_ILLADR): Likewise.
11437 (ILL_ILLTRP): Likewise.
11438 (ILL_PRVOPC): Likewise.
11439 (ILL_PRVREG): Likewise.
11440 (ILL_COPROC): Likewise.
11441 (ILL_BADSTK): Likewise.
11442 (FPE_INTDIV): Likewise.
11443 (FPE_INTOVF): Likewise.
11444 (FPE_FLTDIV): Likewise.
11445 (FPE_FLTOVF): Likewise.
11446 (FPE_FLTUND): Likewise.
11447 (FPE_FLTRES): Likewise.
11448 (FPE_FLTINV): Likewise.
11449 (FPE_FLTSUB): Likewise.
11450 (SEGV_MAPERR): Likewise.
11451 (SEGV_ACCERR): Likewise.
11452 (BUS_ADRALN): Likewise.
11453 (BUS_ADRERR): Likewise.
11454 (BUS_OBJERR): Likewise.
11455 (BUS_MCEERR_AR): Likewise.
11456 (BUS_MCEERR_AO): Likewise.
11457 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11458 (TRAP_TRACE): Likewise.
11459 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11461 (CLD_KILLED): Likewise.
11462 (CLD_DUMPED): Likewise.
11463 (CLD_TRAPPED): Likewise.
11464 (CLD_STOPPED): Likewise.
11465 (CLD_CONTINUED): Likewise.
11466 (POLL_IN): Likewise.
11467 (POLL_OUT): Likewise.
11468 (POLL_MSG): Likewise.
11469 (POLL_ERR): Likewise.
11470 (POLL_PRI): Likewise.
11471 (POLL_HUP): Likewise.
11472 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11473 (ILL_ILLOPN): Likewise.
11474 (ILL_ILLADR): Likewise.
11475 (ILL_ILLTRP): Likewise.
11476 (ILL_PRVOPC): Likewise.
11477 (ILL_PRVREG): Likewise.
11478 (ILL_COPROC): Likewise.
11479 (ILL_BADSTK): Likewise.
11480 (ILL_DBLFLT): Likewise.
11481 (ILL_HARDWALL): Likewise.
11482 (FPE_INTDIV): Likewise.
11483 (FPE_INTOVF): Likewise.
11484 (FPE_FLTDIV): Likewise.
11485 (FPE_FLTOVF): Likewise.
11486 (FPE_FLTUND): Likewise.
11487 (FPE_FLTRES): Likewise.
11488 (FPE_FLTINV): Likewise.
11489 (FPE_FLTSUB): Likewise.
11490 (SEGV_MAPERR): Likewise.
11491 (SEGV_ACCERR): Likewise.
11492 (BUS_ADRALN): Likewise.
11493 (BUS_ADRERR): Likewise.
11494 (BUS_OBJERR): Likewise.
11495 (BUS_MCEERR_AR): Likewise.
11496 (BUS_MCEERR_AO): Likewise.
11497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11498 (TRAP_TRACE): Likewise.
11499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11501 (CLD_KILLED): Likewise.
11502 (CLD_DUMPED): Likewise.
11503 (CLD_TRAPPED): Likewise.
11504 (CLD_STOPPED): Likewise.
11505 (CLD_CONTINUED): Likewise.
11506 (POLL_IN): Likewise.
11507 (POLL_OUT): Likewise.
11508 (POLL_MSG): Likewise.
11509 (POLL_ERR): Likewise.
11510 (POLL_PRI): Likewise.
11511 (POLL_HUP): Likewise.
11512 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11513 (ILL_ILLOPN): Likewise.
11514 (ILL_ILLADR): Likewise.
11515 (ILL_ILLTRP): Likewise.
11516 (ILL_PRVOPC): Likewise.
11517 (ILL_PRVREG): Likewise.
11518 (ILL_COPROC): Likewise.
11519 (ILL_BADSTK): Likewise.
11520 (FPE_INTDIV): Likewise.
11521 (FPE_INTOVF): Likewise.
11522 (FPE_FLTDIV): Likewise.
11523 (FPE_FLTOVF): Likewise.
11524 (FPE_FLTUND): Likewise.
11525 (FPE_FLTRES): Likewise.
11526 (FPE_FLTINV): Likewise.
11527 (FPE_FLTSUB): Likewise.
11528 (SEGV_MAPERR): Likewise.
11529 (SEGV_ACCERR): Likewise.
11530 (BUS_ADRALN): Likewise.
11531 (BUS_ADRERR): Likewise.
11532 (BUS_OBJERR): Likewise.
11533 (BUS_MCEERR_AR): Likewise.
11534 (BUS_MCEERR_AO): Likewise.
11535 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11536 (TRAP_TRACE): Likewise.
11537 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11539 (CLD_KILLED): Likewise.
11540 (CLD_DUMPED): Likewise.
11541 (CLD_TRAPPED): Likewise.
11542 (CLD_STOPPED): Likewise.
11543 (CLD_CONTINUED): Likewise.
11544 (POLL_IN): Likewise.
11545 (POLL_OUT): Likewise.
11546 (POLL_MSG): Likewise.
11547 (POLL_ERR): Likewise.
11548 (POLL_PRI): Likewise.
11549 (POLL_HUP): Likewise.
11550 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11551 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11554 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11555 before #include of <time.h>.
11556 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11557 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11558 (test-xfail-UNIX98/sched.h/conform): Likewise.
11560 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11562 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11563 error absence of trapping exception support.
11564 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11566 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11568 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11569 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11570 * timezone/Makefile (testdata): Move definition above include of
11572 (test-zones): New variable.
11573 (tests-special): Add zone files.
11574 (build-testdata): Use $(evaluate-test).
11576 * elf/Makefile (tests-special): Rename tests to end with .out.
11577 ($(objpfx)noload-mem): Likewise.
11578 ($(objpfx)tst-leaks1-mem): Likewise.
11579 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11580 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11581 $(objpfx)test-iconvconfig.out.
11582 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11583 set -e inside subshell and redirect output to file.
11584 * iconvdata/Makefile (generated): Rename tests to end with .out.
11586 (tests-special): Rename tests to end with .out.
11587 ($(objpfx)mtrace-tst-loading): Likewise.
11588 * intl/Makefile (generated): Likewise.
11589 (tests-special): Likewise.
11590 ($(objpfx)mtrace-tst-gettext): Likewise.
11591 * misc/Makefile (generated): Likewise.
11592 (tests-special): Likewise.
11593 ($(objpfx)tst-error1-mem): Likewise.
11594 * nptl/Makefile (tests-special): Likewise.
11595 ($(objpfx)tst-stack3-mem): Likewise.
11596 (generated): Likewise.
11597 * posix/Makefile (generated): Likewise.
11598 (tests-special): Likewise.
11599 (xtests-special): Likewise.
11600 ($(objpfx)tst-fnmatch-mem): Likewise.
11601 ($(objpfx)bug-regex2-mem): Likewise.
11602 ($(objpfx)bug-regex14-mem): Likewise.
11603 ($(objpfx)bug-regex21-mem): Likewise.
11604 ($(objpfx)bug-regex31-mem): Likewise.
11605 ($(objpfx)tst-vfork3-mem): Likewise.
11606 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11607 ($(objpfx)tst-pcre-mem): Likewise.
11608 ($(objpfx)tst-boost-mem): Likewise.
11609 ($(objpfx)bug-ga2-mem): Likewise.
11610 ($(objpfx)bug-glob2-mem): Likewise.
11611 * resolv/Makefile (generate): Likewise.
11612 (tests-special): Likewise.
11613 (xtests-special): Likewise.
11614 (generated): Likewise.
11615 ($(objpfx)mtrace-tst-leaks): Likewise.
11616 ($(objpfx)mtrace-tst-leaks2): Likewise.
11618 * scripts/merge-test-results.sh: New file.
11619 * Makefile (tests-special-notdir): New variable.
11620 (tests): Run merge-test-results.sh.
11621 (xtests): Likewise.
11622 * Rules (tests-special-notdir): New variable.
11623 (xtests-special-notdir): Likewise.
11624 (tests): Run merge-test-results.sh
11625 (xtests): Likewise.
11627 * Makeconfig (test-xfail-name): New variable.
11628 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11629 compute variable name for expected failures.
11630 * conform/Makefile (conformtest-headers-data): New variable.
11631 (conformtest-standards): Likewise.
11632 (conformtest-headers-ISO): Likewise.
11633 (conformtest-headers-ISO99): Likewise.
11634 (conformtest-headers-ISO11): Likewise.
11635 (conformtest-headers-POSIX): Likewise.
11636 (conformtest-headers-XPG3): Likewise.
11637 (conformtest-headers-XPG4): Likewise.
11638 (conformtest-headers-UNIX98): Likewise.
11639 (conformtest-headers-XOPEN2K): Likewise.
11640 (conformtest-headers-POSIX2008): Likewise.
11641 (conformtest-headers-XOPEN2K8): Likewise.
11642 (conformtest-header-list-base): Likewise.
11643 (conformtest-header-list-tests): Likewise.
11644 (conformtest-header-base): Likewise.
11645 (conformtest-header-tests): Likewise.
11646 (tests-special): Add $(conformtest-header-list-tests). If
11647 [$(fast-check) && !$(cross-compiling)], add
11648 $(conformtest-header-tests) instead of
11649 $(objpfx)run-conformtest.out.
11650 (generated): Add $(conformtest-header-list-base). If
11651 [$(fast-check) && !$(cross-compiling)], add
11652 $(conformtest-header-base). Remove previous setting.
11653 ($(conformtest-header-list-tests)): New target.
11654 (test-xfail-run-conformtest): Remove variable.
11655 ($(objpfx)run-conformtest.out): Remove target.
11656 (test-xfail-ISO11/complex.h/conform): New variable.
11657 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11658 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11659 (test-xfail-XPG3/varargs.h/conform): Likewise.
11660 (test-xfail-XPG4/varargs.h/conform): Likewise.
11661 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11662 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11663 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11664 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11665 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11666 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11667 (test-xfail-XPG3/ftw.h/conform): Likewise.
11668 (test-xfail-XPG3/grp.h/conform): Likewise.
11669 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11670 (test-xfail-XPG3/limits.h/conform): Likewise.
11671 (test-xfail-XPG3/pwd.h/conform): Likewise.
11672 (test-xfail-XPG3/search.h/conform): Likewise.
11673 (test-xfail-XPG3/signal.h/conform): Likewise.
11674 (test-xfail-XPG3/stdio.h/conform): Likewise.
11675 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11676 (test-xfail-XPG3/string.h/conform): Likewise.
11677 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11678 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11679 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11680 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11681 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11682 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11683 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11684 (test-xfail-XPG3/termios.h/conform): Likewise.
11685 (test-xfail-XPG3/time.h/conform): Likewise.
11686 (test-xfail-XPG3/unistd.h/conform): Likewise.
11687 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11688 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11689 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11690 (test-xfail-XPG4/netdb.h/conform): Likewise.
11691 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11692 (test-xfail-XPG4/signal.h/conform): Likewise.
11693 (test-xfail-XPG4/stdio.h/conform): Likewise.
11694 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11695 (test-xfail-XPG4/stropts.h/conform): Likewise.
11696 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11697 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11698 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11699 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11700 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11701 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11702 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11703 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11704 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11705 (test-xfail-XPG4/termios.h/conform): Likewise.
11706 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11707 (test-xfail-XPG4/unistd.h/conform): Likewise.
11708 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11709 (test-xfail-POSIX/sched.h/conform): Likewise.
11710 (test-xfail-POSIX/signal.h/conform): Likewise.
11711 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11712 (test-xfail-POSIX/tar.h/conform): Likewise.
11713 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11714 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11715 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11716 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11717 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11718 (test-xfail-UNIX98/sched.h/conform): Likewise.
11719 (test-xfail-UNIX98/signal.h/conform): Likewise.
11720 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11721 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11722 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11723 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11724 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11725 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11726 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11727 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11728 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11729 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11730 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11731 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11732 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11733 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11734 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11735 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11736 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11737 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11738 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11739 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11740 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11741 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11742 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11743 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11744 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11745 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11746 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11747 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11748 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11749 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11750 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11751 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11752 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11753 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11754 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11755 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11756 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11757 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11758 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11759 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11760 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11761 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11762 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11763 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11764 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11765 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11766 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11767 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11768 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11769 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11770 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11771 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11772 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11773 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11774 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11775 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11776 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11777 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11778 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11779 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11780 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11781 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11782 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11783 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11784 (conformtest-cc-flags): Likewise.
11785 ($(conformtest-header-tests): New target.
11786 * conform/check-header-lists.sh: New file.
11787 * conform/run-conformtest.sh: Remove.
11789 * conform/conformtest.pl: Allow ' and \ in values given for
11791 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11793 [POSIX] (sys/types.h): Likewise.
11794 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11796 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11798 * conform/data/signal.h-data (SIGIO): Remove expectation.
11799 [XPG3] (SIGBUS): Do not expect.
11800 [POSIX || XPG3] (SIGPOLL): Likewise.
11801 [POSIX || XPG3] (SIGPROF): Likewise.
11802 [POSIX || XPG3] (SIGSYS): Likewise.
11803 [XPG3] (SIGTRAP): Likewise.
11804 [POSIX || XPG3] (SIGURG): Likewise.
11805 [POSIX || XPG3] (SIGVTALRM): Likewise.
11806 [POSIX || XPG3] (SIGXCPU): Likewise.
11807 [POSIX || XPG3] (SIGXFSZ): Likewise.
11808 [POSIX] (SA_SIGINFO): Expect.
11809 [XPG3] (siginfo_t): Do not expect type or contents.
11810 [POSIX] (si_pid): Do not expect element.
11811 [POSIX] (si_uid): Likewise.
11812 [POSIX] (si_addr): Likewise.
11813 [POSIX] (si_status): Likewise.
11814 [POSIX] (si_band): Likewise.
11815 [XPG4] (si_value): Likewise.
11816 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11817 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11818 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11819 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11820 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11821 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11822 [POSIX || XPG3] (ILL_COPROC): Likewise.
11823 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11824 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11825 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11826 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11827 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11828 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11829 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11830 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11831 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11832 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11833 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11834 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11835 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11836 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11837 [POSIX || XPG3] (CLD_EXITED): Likewise.
11838 [POSIX || XPG3] (CLD_KILLED): Likewise.
11839 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11840 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11841 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11842 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11843 [POSIX || XPG3] (POLL_IN): Likewise.
11844 [POSIX || XPG3] (POLL_OUT): Likewise.
11845 [POSIX || XPG3] (POLL_MSG): Likewise.
11846 [POSIX || XPG3] (POLL_ERR): Likewise.
11847 [POSIX || XPG3] (POLL_PRI): Likewise.
11848 [POSIX || XPG3] (POLL_HUP): Likewise.
11849 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11850 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11851 (SIG*): Do not allow.
11852 [XPG3] (si_*): Likewise.
11853 [XPG3] (SI_*): Likewise.
11854 [XPG3 || XPG4] (sigev_*): Likewise.
11855 [XPG3 || XPG4] (SIGEV_*): Likewise.
11856 [XPG3 || XPG4] (sival_*): Likewise.
11857 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11858 [POSIX || XPG3] (BUS_*): Likewise.
11859 [POSIX || XPG3] (CLD_*): Likewise.
11860 [POSIX || XPG3] (FPE_*): Likewise.
11861 [POSIX || XPG3] (ILL_*): Likewise.
11862 [POSIX || XPG3] (POLL_*): Likewise.
11863 [POSIX || XPG3] (SEGV_*): Likewise.
11864 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11865 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11866 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11867 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11868 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11869 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11870 Specify type and value.
11871 (TVERSLEN): Likewise.
11872 (REGTYPE): Likewise.
11873 (AREGTYPE): Likewise.
11874 (LNKTYPE): Likewise.
11875 (SYMTYPE): Likewise.
11876 (CHRTYPE): Likewise.
11877 (BLKTYPE): Likewise.
11878 (DIRTYPE): Likewise.
11879 (FIFOTYPE): Likewise.
11880 (CONTTYPE): Likewise.
11884 (TUREAD): Likewise.
11885 (TUWRITE): Likewise.
11886 (TUEXEC): Likewise.
11887 (TGREAD): Likewise.
11888 (TGWRITE): Likewise.
11889 (TGEXEC): Likewise.
11890 (TOREAD): Likewise.
11891 (TOWRITE): Likewise.
11892 (TOEXEC): Likewise.
11893 [POSIX] (TSVTX): Expect constant.
11895 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11897 * Makefile (tests): Change dependencies to ....
11898 (tests-special): ... additions to this variable.
11899 (tests): Depend on $(tests-special).
11900 * Makerules (check-abi-list): New variable.
11901 (check-abi): Depend on $(check-abi-list).
11902 [$(subdir) = elf] (tests-special): Add
11903 $(objpfx)check-abi-libc.out.
11904 [$(build-shared) = yes && subdir] (tests-special): Add
11906 [$(build-shared) = yes && subdir] (tests): Do not depend on
11908 * Rules (tests): Depend on $(tests-special).
11909 (xtests): Depend on $(xtests-special).
11910 * catgets/Makefile (tests): Change dependencies to ....
11911 (tests-special): ... additions to this variable.
11912 * conform/Makefile (tests): Change dependencies to ....
11913 (tests-special): ... additions to this variable.
11914 * elf/Makefile (tests): Change dependencies to ....
11915 (tests-special): ... additions to this variable.
11916 * grp/Makefile (tests): Change dependencies to ....
11917 (tests-special): ... additions to this variable.
11918 * iconv/Makefile (xtests): Change dependencies to ....
11919 (xtests-special): ... additions to this variable.
11920 * iconvdata/Makefile (tests): Change dependencies to ....
11921 (tests-special): ... additions to this variable.
11922 * intl/Makefile (tests): Change dependencies to ....
11923 (tests-special): ... additions to this variable. Also add
11924 $(objpfx)tst-gettext.out.
11925 * io/Makefile (tests): Change dependencies to ....
11926 (tests-special): ... additions to this variable.
11927 * libio/Makefile (tests): Change dependencies to ....
11928 (tests-special): ... additions to this variable.
11929 * malloc/Makefile (tests): Change dependencies to ....
11930 (tests-special): ... additions to this variable.
11931 * misc/Makefile (tests): Change dependencies to ....
11932 (tests-special): ... additions to this variable.
11933 * nptl/Makefile (tests): Change dependencies to ....
11934 (tests-special): ... additions to this variable.
11935 * nptl_db/Makefile (tests): Change dependencies to ....
11936 (tests-special): ... additions to this variable.
11937 * posix/Makefile (tests): Change dependencies to ....
11938 (tests-special): ... additions to this variable.
11939 (xtests): Change dependencies to ....
11940 (xtests-special): ... additions to this variable.
11941 * resolv/Makefile (tests): Change dependencies to ....
11942 (tests-special): ... additions to this variable.
11943 (xtests): Change dependencies to ....
11944 (xtests-special): ... additions to this variable.
11945 * stdio-common/Makefile (tests): Change dependencies to ....
11946 (tests-special): ... additions to this variable.
11947 (do-tst-unbputc): Remove target.
11948 (do-tst-printf): Likewise.
11949 * stdlib/Makefile (tests): Change dependencies to ....
11950 (tests-special): ... additions to this variable.
11951 * string/Makefile (tests): Change dependencies to ....
11952 (tests-special): ... additions to this variable.
11953 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11954 (tests-special): ... additions to this variable.
11956 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11958 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11960 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11961 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11963 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11964 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11965 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11966 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11967 * conform/data/libgen.h-data [XPG3]: Likewise.
11968 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11969 * conform/data/ndbm.h-data [XPG3]: Likewise.
11970 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11971 * conform/data/netdb.h-data [XPG3]: Likewise.
11972 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11973 * conform/data/poll.h-data [XPG3]: Likewise.
11974 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11975 * conform/data/strings.h-data [XPG3]: Likewise.
11976 * conform/data/stropts.h-data [XPG3]: Likewise.
11977 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11978 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11979 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11981 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11982 * conform/data/sys/time.h-data [XPG3]: Likewise.
11983 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11984 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11985 * conform/data/sys/un.h-data [XPG3]: Likewise.
11986 * conform/data/syslog.h-data [XPG3]: Likewise.
11987 * conform/data/ucontext.h-data [XPG3]: Likewise.
11988 * conform/data/utmpx.h-data [XPG3]: Likewise.
11989 * conform/data/varargs.h-data [UNIX98]: Enable file.
11991 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11993 * math/libm-test.inc (struct test_f_f_data): Move expected results
11994 into structure for each rounding mode.
11995 (struct test_ff_f_data): Likewise.
11996 (struct test_ff_f_data_nexttoward): Likewise.
11997 (struct test_fi_f_data): Likewise.
11998 (struct test_fl_f_data): Likewise.
11999 (struct test_if_f_data): Likewise.
12000 (struct test_fff_f_data): Likewise.
12001 (struct test_c_f_data): Likewise.
12002 (struct test_f_f1_data): Likewise.
12003 (struct test_fF_f1_data): Likewise.
12004 (struct test_ffI_f1_data): Likewise.
12005 (struct test_c_c_data): Likewise.
12006 (struct test_cc_c_data): Likewise.
12007 (struct test_f_i_data): Likewise.
12008 (struct test_ff_i_data): Likewise.
12009 (struct test_f_l_data): Likewise.
12010 (struct test_f_L_data): Likewise.
12011 (struct test_fFF_11_data): Likewise.
12013 (RM_FE_DOWNWARD): Likewise.
12014 (RM_FE_TONEAREST): Likewise.
12015 (RM_FE_TOWARDZERO): Likewise.
12016 (RM_FE_UPWARD): Likewise.
12017 (RUN_TEST_LOOP_f_f): Update references to expected results.
12018 (RUN_TEST_LOOP_2_f): Likewise.
12019 (RUN_TEST_LOOP_fff_f): Likewise.
12020 (RUN_TEST_LOOP_c_f): Likewise.
12021 (RUN_TEST_LOOP_f_f1): Likewise.
12022 (RUN_TEST_LOOP_fF_f1): Likewise.
12023 (RUN_TEST_LOOP_fI_f1): Likewise.
12024 (RUN_TEST_LOOP_ffI_f1): Likewise.
12025 (RUN_TEST_LOOP_c_c): Likewise.
12026 (RUN_TEST_LOOP_cc_c): Likewise.
12027 (RUN_TEST_LOOP_f_i): Likewise.
12028 (RUN_TEST_LOOP_f_i_tg): Likewise.
12029 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12030 (RUN_TEST_LOOP_f_b): Likewise.
12031 (RUN_TEST_LOOP_f_b_tg): Likewise.
12032 (RUN_TEST_LOOP_f_l): Likewise.
12033 (RUN_TEST_LOOP_f_L): Likewise.
12034 (RUN_TEST_LOOP_fFF_11): Likewise.
12035 * math/gen-libm-test.pl (parse_args): Output four copies of
12036 expected results for each test.
12038 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12039 (__ASSUME_UTIMES): Remove.
12040 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12041 (__ASSUME_UTIMES): Likewise.
12043 * math/gen-auto-libm-tests.c: Update comment on output format.
12044 (output_for_one_input_case): Generate before-rounding and
12045 after-rounding information as conditions on output flags not
12046 floating-point format.
12047 * math/auto-libm-test-out: Regenerated.
12048 * math/gen-libm-test.pl (cond_value): New function.
12049 (or_cond_value): Use cond_value.
12050 (generate_testfile): Handle conditional exceptions.
12052 2014-03-05 Joseph Myers <joseph@codesourcery.com>
12054 * math/libm-test.inc (max_valid_error): New variable.
12055 (init_max_error): Take new argument specifying whether function
12056 results are exactly determined. Set max_valid_error and bound
12057 other variables for errors based on this argument.
12058 (set_max_error): Do not record results above max_valid_error.
12059 (check_float_internal): Only accept errors of up to 0.5ulps if
12060 also at most max_valid_error.
12061 (START): Take new argument EXACT and pass it to init_max_error.
12062 (acos_test): Update call to START.
12063 (acos_test_tonearest): Likewise.
12064 (acos_test_towardzero): Likewise.
12065 (acos_test_downward): Likewise.
12066 (acos_test_upward): Likewise.
12067 (acosh_test): Likewise.
12068 (asin_test): Likewise.
12069 (asin_test_tonearest): Likewise.
12070 (asin_test_towardzero): Likewise.
12071 (asin_test_downward): Likewise.
12072 (asin_test_upward): Likewise.
12073 (asinh_test): Likewise.
12074 (atan_test): Likewise.
12075 (atanh_test): Likewise.
12076 (atan2_test): Likewise.
12077 (cabs_test): Likewise.
12078 (cacos_test): Likewise.
12079 (cacosh_test): Likewise.
12080 (carg_test): Likewise.
12081 (casin_test): Likewise.
12082 (casinh_test): Likewise.
12083 (catan_test): Likewise.
12084 (catanh_test): Likewise.
12085 (cbrt_test): Likewise.
12086 (ccos_test): Likewise.
12087 (ccosh_test): Likewise.
12088 (ceil_test): Likewise.
12089 (cexp_test): Likewise.
12090 (cimag_test): Likewise.
12091 (clog_test): Likewise.
12092 (clog10_test): Likewise.
12093 (conj_test): Likewise.
12094 (copysign_test): Likewise.
12095 (cos_test): Likewise.
12096 (cos_test_tonearest): Likewise.
12097 (cos_test_towardzero): Likewise.
12098 (cos_test_downward): Likewise.
12099 (cos_test_upward): Likewise.
12100 (cosh_test): Likewise.
12101 (cosh_test_tonearest): Likewise.
12102 (cosh_test_towardzero): Likewise.
12103 (cosh_test_downward): Likewise.
12104 (cosh_test_upward): Likewise.
12105 (cpow_test): Likewise.
12106 (cproj_test): Likewise.
12107 (creal_test): Likewise.
12108 (csin_test): Likewise.
12109 (csinh_test): Likewise.
12110 (csqrt_test): Likewise.
12111 (ctan_test): Likewise.
12112 (ctan_test_tonearest): Likewise.
12113 (ctan_test_towardzero): Likewise.
12114 (ctan_test_downward): Likewise.
12115 (ctan_test_upward): Likewise.
12116 (ctanh_test): Likewise.
12117 (ctanh_test_tonearest): Likewise.
12118 (ctanh_test_towardzero): Likewise.
12119 (ctanh_test_downward): Likewise.
12120 (ctanh_test_upward): Likewise.
12121 (erf_test): Likewise.
12122 (erfc_test): Likewise.
12123 (exp_test): Likewise.
12124 (exp_test_tonearest): Likewise.
12125 (exp_test_towardzero): Likewise.
12126 (exp_test_downward): Likewise.
12127 (exp_test_upward): Likewise.
12128 (exp10_test): Likewise.
12129 (exp10_test_tonearest): Likewise.
12130 (exp10_test_towardzero): Likewise.
12131 (exp10_test_downward): Likewise.
12132 (exp10_test_upward): Likewise.
12133 (pow10_test): Likewise.
12134 (exp2_test): Likewise.
12135 (expm1_test): Likewise.
12136 (expm1_test_tonearest): Likewise.
12137 (expm1_test_towardzero): Likewise.
12138 (expm1_test_downward): Likewise.
12139 (expm1_test_upward): Likewise.
12140 (fabs_test): Likewise.
12141 (fdim_test): Likewise.
12142 (floor_test): Likewise.
12143 (fma_test): Likewise.
12144 (fma_test_towardzero): Likewise.
12145 (fma_test_downward): Likewise.
12146 (fma_test_upward): Likewise.
12147 (fmax_test): Likewise.
12148 (fmin_test): Likewise.
12149 (fmod_test): Likewise.
12150 (fpclassify_test): Likewise.
12151 (frexp_test): Likewise.
12152 (hypot_test): Likewise.
12153 (ilogb_test): Likewise.
12154 (isfinite_test): Likewise.
12155 (finite_test): Likewise.
12156 (isgreater_test): Likewise.
12157 (isgreaterequal_test): Likewise.
12158 (isinf_test): Likewise.
12159 (isless_test): Likewise.
12160 (islessequal_test): Likewise.
12161 (islessgreater_test): Likewise.
12162 (isnan_test): Likewise.
12163 (isnormal_test): Likewise.
12164 (issignaling_test): Likewise.
12165 (isunordered_test): Likewise.
12166 (j0_test): Likewise.
12167 (j1_test): Likewise.
12168 (jn_test): Likewise.
12169 (ldexp_test): Likewise.
12170 (lgamma_test): Likewise.
12171 (gamma_test): Likewise.
12172 (lrint_test): Likewise.
12173 (lrint_test_tonearest): Likewise.
12174 (lrint_test_towardzero): Likewise.
12175 (lrint_test_downward): Likewise.
12176 (lrint_test_upward): Likewise.
12177 (llrint_test): Likewise.
12178 (llrint_test_tonearest): Likewise.
12179 (llrint_test_towardzero): Likewise.
12180 (llrint_test_downward): Likewise.
12181 (llrint_test_upward): Likewise.
12182 (log_test): Likewise.
12183 (log10_test): Likewise.
12184 (log1p_test): Likewise.
12185 (log2_test): Likewise.
12186 (logb_test): Likewise.
12187 (logb_test_downward): Likewise.
12188 (lround_test): Likewise.
12189 (llround_test): Likewise.
12190 (modf_test): Likewise.
12191 (nearbyint_test): Likewise.
12192 (nextafter_test): Likewise.
12193 (nexttoward_test): Likewise.
12194 (pow_test): Likewise.
12195 (pow_test_tonearest): Likewise.
12196 (pow_test_towardzero): Likewise.
12197 (pow_test_downward): Likewise.
12198 (pow_test_upward): Likewise.
12199 (remainder_test): Likewise.
12200 (drem_test): Likewise.
12201 (remainder_test_tonearest): Likewise.
12202 (drem_test_tonearest): Likewise.
12203 (remainder_test_towardzero): Likewise.
12204 (drem_test_towardzero): Likewise.
12205 (remainder_test_downward): Likewise.
12206 (drem_test_downward): Likewise.
12207 (remainder_test_upward): Likewise.
12208 (drem_test_upward): Likewise.
12209 (remquo_test): Likewise.
12210 (rint_test): Likewise.
12211 (rint_test_tonearest): Likewise.
12212 (rint_test_towardzero): Likewise.
12213 (rint_test_downward): Likewise.
12214 (rint_test_upward): Likewise.
12215 (round_test): Likewise.
12216 (scalb_test): Likewise.
12217 (scalbn_test): Likewise.
12218 (scalbln_test): Likewise.
12219 (signbit_test): Likewise.
12220 (sin_test): Likewise.
12221 (sin_test_tonearest): Likewise.
12222 (sin_test_towardzero): Likewise.
12223 (sin_test_downward): Likewise.
12224 (sin_test_upward): Likewise.
12225 (sincos_test): Likewise.
12226 (sinh_test): Likewise.
12227 (sinh_test_tonearest): Likewise.
12228 (sinh_test_towardzero): Likewise.
12229 (sinh_test_downward): Likewise.
12230 (sinh_test_upward): Likewise.
12231 (sqrt_test): Likewise.
12232 (sqrt_test_tonearest): Likewise.
12233 (sqrt_test_towardzero): Likewise.
12234 (sqrt_test_downward): Likewise.
12235 (sqrt_test_upward): Likewise.
12236 (tan_test): Likewise.
12237 (tan_test_tonearest): Likewise.
12238 (tan_test_towardzero): Likewise.
12239 (tan_test_downward): Likewise.
12240 (tan_test_upward): Likewise.
12241 (tanh_test): Likewise.
12242 (tgamma_test): Likewise.
12243 (trunc_test): Likewise.
12244 (y0_test): Likewise.
12245 (y1_test): Likewise.
12246 (yn_test): Likewise.
12247 (significand_test): Likewise.
12249 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12250 individual tests in comment.
12251 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12252 (prev_max_error): New variable.
12253 (prev_real_max_error): Likewise.
12254 (prev_imag_max_error): Likewise.
12255 (compare_ulp_data): Don't refer to test names in comment.
12256 (find_test_ulps): Remove function.
12257 (find_function_ulps): Likewise.
12258 (find_complex_function_ulps): Likewise.
12259 (init_max_error): Take function name as argument. Look up ulps
12261 (print_ulps): Remove function.
12262 (print_max_error): Use prev_max_error instead of calling
12263 find_function_ulps.
12264 (print_complex_max_error): Use prev_real_max_error and
12265 prev_imag_max_error instead of calling find_complex_function_ulps.
12266 (check_float_internal): Take max_ulp parameter instead of calling
12267 find_test_ulps. Don't call print_ulps.
12268 (check_float): Update call to check_float_internal.
12269 (check_complex): Update calls to check_float_internal.
12270 (START): Pass argument to init_max_error.
12271 * math/gen-libm-test.pl (%results): Don't include "kind"
12273 (parse_ulps): Don't handle ulps of individual tests.
12274 (print_ulps_file): Likewise.
12275 (output_ulps): Likewise.
12276 * math/README.libm-test: Update.
12277 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12279 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12280 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12281 * sysdeps/arm/libm-test-ulps: Likewise.
12282 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12283 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12284 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12285 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12286 * sysdeps/microblaze/libm-test-ulps: Likewise.
12287 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12288 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12290 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12291 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12292 * sysdeps/sh/libm-test-ulps: Likewise.
12293 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12294 * sysdeps/tile/libm-test-ulps: Likewise.
12295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12297 2014-03-04 Joseph Myers <joseph@codesourcery.com>
12299 * math/libm-test.inc (print_complex_max_error): Check separately
12300 whether real and imaginary errors are within allowed range and
12301 pass 0 to print_complex_function_ulps instead of value within
12304 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12306 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12308 (get_handles_fopen): Likewise.
12309 (do_write_test): Likewise.
12311 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12313 * libio/fileops.c (do_ftell): Use cached offset when
12315 * libio/iofwide.c (do_ftell_wide): Likewise.
12316 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12318 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12321 * libio/libioP.h (get_file_offset): New function.
12322 * libio/fileops.c (get_file_offset): Likewise.
12323 (do_ftell): Likewise.
12324 (_IO_new_file_seekoff): Split out ftell logic.
12325 * libio/wfileops.c (do_ftell_wide): Likewise.
12326 (_IO_wfile_seekoff): Split out ftell logic.
12327 * libio/tst-ftell-active-handler.c: New test case.
12328 * libio/Makefile (tests): Add it.
12330 2014-03-03 Roland McGrath <roland@hack.frob.com>
12332 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12333 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12335 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12338 * nscd/connections.c (nscd_init): Call do_exit.
12339 (start_threads): Call do_exit and notify_parent.
12340 (begin_drop_privileges): Call do_exit.
12341 (finish_drop_privileges): Likewise.
12342 * nscd/selinux.c (preserve_capabilities): Likewise.
12343 (install_real_capabilities): Likewise.
12344 (nscd_selinux_enabled): Likewise.
12345 (avc_create_thread): Likewise.
12346 (avc_alloc_lock): Likewise.
12347 (nscd_avc_init): Likewise.
12348 * nscd/nscd.c (parent_fd): New static variable.
12349 (main): Create a pipe between parent and child processes.
12350 Skip closing parent_fd.
12351 (monitor_child): New function.
12352 (do_exit): Likewise.
12353 (notify_parent): Likewise.
12354 * nscd/nscd.h (notify_parent): Likewise.
12355 (do_exit): Likewise.
12357 2014-03-03 Carlos O'Donell <carlos@redhat.com>
12359 * malloc/malloc.c (__libc_calloc): Revert last change.
12361 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12365 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12367 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12371 (__libc_ifunc_impl_list): Likewise.
12372 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12373 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12374 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12375 * string/strrchr.c: Define STRRCHR.
12377 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
12379 * benchtest/bench-strtok.c (simple_strtok): Delete.
12380 (strtok_string): Use as benchmark.
12381 * string/strtok (STRTOK): New macro.
12383 2014-02-28 Carlos O'Donell <carlos@redhat.com>
12385 * manual/threads.texi: Add header and standard comments to all
12388 * elf/dl-lookup.c (check_match): New function.
12389 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12390 (do_lookup_x): Remove nested function check_match. Use non-nested
12391 function check_match.
12393 2014-02-28 Roland McGrath <roland@hack.frob.com>
12395 * csu/Makefile (generated, before-compile): Use += rather than =.
12396 * catgets/Makefile (generated, generated-dirs): Likewise.
12397 * debug/Makefile (generated): Likewise.
12398 * dlfcn/Makefile (generated): Likewise.
12399 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12400 * iconvdata/Makefile (before-compile, generated): Likewise.
12401 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12402 * libio/Makefile (generated): Likewise.
12403 * malloc/Makefile (generated): Likewise.
12404 * manual/Makefile (generated, generated-dirs): Likewise.
12405 * misc/Makefile (generated): Likewise.
12406 * posix/Makefile (generated): Likewise.
12407 * resolv/Makefile (generated): Likewise.
12408 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12409 * timezone/Makefile (generated, generated-dirs): Likewise.
12411 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12413 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12416 power8 implementation.
12417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12418 file: POWER8 llround ifunc implementation.
12419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12420 (__lllround): Add POWER8 implementation.
12421 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12422 POWER8 llround implementation.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12425 power8 implementation.
12426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12427 file: POWER8 llrint ifunc implementation.
12428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12429 Add POWER8 implementation.
12430 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12431 POWER8 llrint implementation.
12433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12434 power8 implementation.
12435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12436 file: POWER8 finite ifunc implementation.
12437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12438 Add POWER8 implementation.
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12441 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12442 POWER8 finite implementation.
12443 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12446 power8 implementation.
12447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12448 file: POWER8 isinf ifunc implementation.
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12450 POWER8 implementation.
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12453 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12454 isinf implementation.
12455 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12457 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12458 (INIT_ARCH): Add hwcap2 initialization.
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12460 power8 implementation.
12461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12462 file: POWER8 isnan ifunc implementation.
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12464 POWER8 implementation.
12465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12467 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12468 isnan implementation.
12469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12471 2014-02-27 Joey Ye <joey.ye@arm.com>
12473 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12474 (_FP_NANFRAC_Q): Set to zero.
12476 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12479 * math/auto-libm-test-in: New test inputs.
12480 * math/auto-libm-test-out: Regenerate.
12481 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12484 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12486 2014-02-27 Joseph Myers <joseph@codesourcery.com>
12488 * scripts/evaluate-test.sh: Take new argument indicating whether
12489 failure is expected.
12490 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12491 indicating whether failure is expected.
12492 * conform/Makefile (test-xfail-run-conformtest): New variable.
12493 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12495 * posix/Makefile (test-xfail-annexc): New variable.
12496 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12498 2014-02-26 Joseph Myers <joseph@codesourcery.com>
12500 * argp/Makefile: Include Makeconfig immediately after defining
12502 * assert/Makefile: Likewise.
12503 * benchtests/Makefile: Likewise.
12504 * catgets/Makefile: Likewise.
12505 * conform/Makefile: Likewise.
12506 * crypt/Makefile: Likewise.
12507 * csu/Makefile: Likewise.
12508 (all): Remove target.
12509 * ctype/Makefile: Include Makeconfig immediately after defining
12511 * debug/Makefile: Likewise.
12512 * dirent/Makefile: Likewise.
12513 * dlfcn/Makefile: Likewise.
12514 * gmon/Makefile: Likewise.
12515 * gnulib/Makefile: Likewise.
12516 * grp/Makefile: Likewise.
12517 * gshadow/Makefile: Likewise.
12518 * hesiod/Makefile: Likewise.
12519 * hurd/Makefile: Likewise.
12520 (all): Remove target.
12521 * iconvdata/Makefile: Include Makeconfig immediately after
12523 * inet/Makefile: Likewise.
12524 * intl/Makefile: Likewise.
12525 * io/Makefile: Likewise.
12526 * libio/Makefile: Likewise.
12527 (all): Remove target.
12528 * locale/Makefile: Include Makeconfig immediately after defining
12530 * login/Makefile: Likewise.
12531 * mach/Makefile: Likewise.
12532 (all): Remove target.
12533 * malloc/Makefile: Include Makeconfig immediately after defining
12535 (all): Remove target.
12536 * manual/Makefile: Include Makeconfig immediately after defining
12538 * math/Makefile: Likewise.
12539 * misc/Makefile: Likewise.
12540 * nis/Makefile: Likewise.
12541 * nss/Makefile: Likewise.
12542 * po/Makefile: Likewise.
12543 (all): Remove target.
12544 * posix/Makefile: Include Makeconfig immediately after defining
12546 * pwd/Makefile: Likewise.
12547 * resolv/Makefile: Likewise.
12548 * resource/Makefile: Likewise.
12549 * rt/Makefile: Likewise.
12550 * setjmp/Makefile: Likewise.
12551 * shadow/Makefile: Likewise.
12552 * signal/Makefile: Likewise.
12553 * socket/Makefile: Likewise.
12554 * soft-fp/Makefile: Likewise.
12555 * stdio-common/Makefile: Likewise.
12556 * stdlib/Makefile: Likewise.
12557 * streams/Makefile: Likewise.
12558 * string/Makefile: Likewise.
12559 * sunrpc/Makefile: Likewise.
12560 (all): Remove target.
12561 * sysvipc/Makefile: Include Makeconfig immediately after defining
12563 * termios/Makefile: Likewise.
12564 * time/Makefile: Likewise.
12565 * timezone/Makefile: Likewise.
12566 (all): Remove target.
12567 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12569 * wctype/Makefile: Likewise.
12571 2014-02-26 Steve Ellcey <sellcey@mips.com>
12573 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12574 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12575 (libc_feholdexcept_setround_mips): Ditto.
12576 (libc_feholdsetround): New.
12577 (libc_feholdsetroundf): New.
12578 (libc_feholdsetroundl): New.
12579 (libc_feupdateenv_test_mips): New.
12580 (libc_feupdateenv_test): New.
12581 (libc_feupdateenv_testf): New.
12582 (libc_feupdateenv_testl): New.
12583 (libc_feresetround): New.
12584 (libc_feresetroundf): New.
12585 (libc_feresetroundl): New.
12586 (libc_fetestexcept_mips): New.
12587 (libc_fetestexcept): New.
12588 (libc_fetestexceptf): New.
12589 (libc_fetestexceptl): New.
12590 (HAVE_RM_CTX): New.
12591 (libc_feholdexcept_setround_mips_ctx): New.
12592 (libc_feholdexcept_setround_ctx): New.
12593 (libc_feholdexcept_setroundf_ctx): New.
12594 (libc_feholdexcept_setroundl_ctx): New.
12595 (libc_fesetenv_mips_ctx): New.
12596 (libc_fesetenv_ctx): New.
12597 (libc_fesetenv_ctxf): New.
12598 (libc_fesetenv_ctxl): New.
12599 (libc_feupdateenv_mips_ctx): New.
12600 (libc_feupdateenv_ctx): New.
12601 (libc_feupdateenvf_ctx): New.
12602 (libc_feupdateenvl_ctx): New.
12603 (libc_feholdsetround_mips_ctx): New.
12604 (libc_feholdsetround_ctx): New.
12605 (libc_feholdsetroundf_ctx): New.
12606 (libc_feholdsetroundl_ctx): New.
12607 (libc_feresetround_mips_ctx): New.
12608 (libc_feresetround_ctx): New.
12609 (libc_feresetroundf_ctx): New.
12610 (libc_feresetroundl_ctx): New.
12612 2014-02-26 Carlos O'Donell <carlos@redhat.com>
12614 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12616 * manual/ipc.texi: New file.
12617 * manual/Makefile (chapters): Add ipc.
12618 * manual/job.texi: Add "Inter-Process Communication" to next.
12619 * manual/process.texi: Add "Inter-Process Communication" to prev.
12621 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12625 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
12627 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12629 * manual/arith.texi: Fix spaces after sentences.
12630 * manual/charset.texi: Likewise.
12631 * manual/errno.texi: Likewise.
12632 * manual/install.texi: Likewise.
12633 * manual/llio.texi: Likewise.
12634 * manual/locale.texi: Likewise.
12635 * manual/maint.texi: Likewise.
12636 * manual/math.texi: Likewise.
12637 * manual/memory.texi: Likewise.
12638 * manual/message.texi: Likewise.
12639 * manual/probes.texi: Likewise.
12640 * manual/resource.texi: Likewise.
12641 * manual/signal.texi: Likewise.
12642 * manual/socket.texi: Likewise.
12643 * manual/stdio.texi: Likewise.
12644 * manual/string.texi: Likewise.
12645 * manual/time.texi: Likewise.
12646 * manual/users.texi: Likewise.
12648 2014-02-25 Carlos O'Donell <carlos@redhat.com>
12651 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12652 _DEFAULT_SOURCE is defined.
12654 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12655 Carlos O'Donell <carlos@redhat.com>
12658 * elf/dl-tls.c (_dl_count_modids): New function.
12659 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12660 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12661 audit library and increment generation counter.
12662 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12663 * elf/tst-audit9.c: New file.
12664 * elf/tst-auditmod9a.c: New file.
12665 * elf/tst-auditmod9b.c: New file.
12666 * elf/Makefile: Add rules to build and run tst-audit9.
12668 2014-02-25 Florian Weimer <fweimer@redhat.com>
12671 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12673 2014-02-25 Will Newton <will.newton@linaro.org>
12675 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12676 (__longjmp): Restore sp and lr before restoring callee
12677 saved registers. Add longjmp and longjmp_target
12678 SystemTap probe point.
12679 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12680 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12681 Define to zero to match jmpbuf layout.
12682 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12683 (__sigsetjmp): Save sp and lr before saving callee
12684 saved registers. Add setjmp SystemTap probe point.
12686 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12688 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12690 2014-02-24 Andreas Schwab <schwab@suse.de>
12693 * elf/pldd.c (wait_for_ptrace_stop): New function.
12694 (main): Call it after attaching.
12696 2014-02-22 Roland McGrath <roland@hack.frob.com>
12698 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12699 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12700 Versions files is now verboten.
12701 * hurd/Versions (libc: GLIBC_2.0):
12702 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12703 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12704 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12705 * mach/Versions: Likewise.
12707 * csu/Versions: Remove unused %include.
12708 * resolv/Versions: Likewise.
12710 2014-02-21 Joseph Myers <joseph@codesourcery.com>
12712 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12713 ($(objpfx)check-local-headers.out): Likewise.
12714 ($(objpfx)begin-end-check.out): Likewise.
12715 * Makerules (check-abi-%.out): Likewise.
12716 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12717 ($(objpfx)test2.cat): Likewise.
12718 ($(objpfx)de/libc.cat): Likewise.
12719 ($(objpfx)test-gencat.out): Likewise.
12720 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12721 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12722 ($(objpfx)noload-mem): Likewise.
12723 ($(objpfx)tst-pathopt.out): Likewise.
12724 ($(objpfx)tst-rtld-load-self.out): Likewise.
12725 ($(objpfx)tst-array1-cmp.out): Likewise.
12726 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12727 ($(objpfx)tst-array2-cmp.out): Likewise.
12728 ($(objpfx)tst-array3-cmp.out): Likewise.
12729 ($(objpfx)tst-array4-cmp.out): Likewise.
12730 ($(objpfx)tst-array5-cmp.out): Likewise.
12731 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12732 ($(objpfx)check-textrel.out): Likewise.
12733 ($(objpfx)check-execstack.out): Likewise.
12734 ($(objpfx)check-localplt.out): Likewise.
12735 ($(objpfx)order2-cmp.out): Likewise.
12736 ($(objpfx)tst-leaks1-mem): Likewise.
12737 ($(objpfx)tst-leaks1-static-mem): Likewise.
12738 ($(objpfx)tst-initorder-cmp.out): Likewise.
12739 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12740 ($(objpfx)tst-unused-dep.out): Likewise.
12741 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12742 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12743 * iconv/Makefile (test-iconvconfig): Likewise.
12744 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12745 ($(objpfx)iconv-test.out): Likewise.
12746 ($(objpfx)tst-tables.out): Likewise.
12747 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12748 ($(objpfx)tst-gettext.out): Likewise.
12749 ($(objpfx)tst-translit.out): Likewise.
12750 ($(objpfx)tst-gettext2.out): Likewise.
12751 ($(objpfx)tst-gettext4.out): Likewise.
12752 ($(objpfx)tst-gettext6.out): Likewise.
12753 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12754 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12755 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12756 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12757 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12758 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12759 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12760 ($(objpfx)wordexp-tst.out): Likewise.
12761 ($(objpfx)annexc.out): Likewise.
12762 ($(objpfx)tst-fnmatch-mem): Likewise.
12763 ($(objpfx)bug-regex2-mem): Likewise.
12764 ($(objpfx)bug-regex14-mem): Likewise.
12765 ($(objpfx)bug-regex21-mem): Likewise.
12766 ($(objpfx)bug-regex31-mem): Likewise.
12767 ($(objpfx)tst-vfork3-mem): Likewise.
12768 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12769 ($(objpfx)tst-pcre-mem): Likewise.
12770 ($(objpfx)tst-boost-mem): Likewise.
12771 ($(objpfx)tst-getconf.out): Likewise.
12772 ($(objpfx)bug-ga2-mem): Likewise.
12773 ($(objpfx)bug-glob2-mem): Likewise.
12774 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12775 ($(objpfx)mtrace-tst-leaks2): Likewise.
12776 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12777 ($(objpfx)tst-printf.out): Likewise.
12778 ($(objpfx)tst-setvbuf1.out): Likewise.
12779 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12780 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12781 ($(objpfx)tst-fmtmsg.out): Likewise.
12782 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12783 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12785 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12786 * bits/sigaction.h [__USE_MISC]: Likewise.
12787 * bits/waitstatus.h: Update #endif comments.
12788 * ctype/ctype.h: Likewise.
12789 * dirent/dirent.h: Likewise.
12790 [__USE_MISC]: Remove redundant conditionals.
12791 * grp/grp.h: Update #endif comments.
12792 [__USE_GNU]: Remove redundant conditionals.
12793 [__USE_MISC]: Likewise.
12794 * inet/netinet/in.h [__USE_GNU]: Likewise.
12795 * io/sys/stat.h [__USE_MISC]: Likewise.
12796 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12797 * libio/bits/stdio.h: Update #endif comments.
12798 [__USE_MISC]: Remove redundant conditionals.
12799 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12800 * libio/stdio.h: Update #endif comments.
12801 [__USE_MISC]: Remove redundant conditionals.
12802 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12803 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12804 * math/math.h: Update #else and #endif comments.
12805 [__USE_MISC]: Remove redundant conditionals.
12806 * misc/sys/uio.h: Update #endif comments.
12807 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12808 * posix/glob.h [__USE_MISC]: Likewise.
12809 * posix/sys/types.h: Update #endif comments.
12810 [__USE_MISC]: Remove redundant conditionals.
12811 * posix/sys/wait.h: Update #endif comments.
12812 [__USE_MISC]: Remove redundant conditionals.
12813 * posix/unistd.h: Update #endif comments.
12814 [__USE_MISC]: Remove redundant conditionals.
12815 * pwd/pwd.h [__USE_GNU]: Likewise.
12816 [__USE_MISC]: Likewise.
12817 * resolv/netdb.h [__USE_GNU]: Likewise.
12818 * signal/signal.h: Update #endif comments.
12819 [__USE_MISC]: Remove redundant conditionals.
12820 * stdlib/stdlib.h: Update #else and #endif comments.
12821 [__USE_MISC]: Remove redundant conditionals.
12822 [__USE_GNU]: Likewise.
12823 * string/bits/string2.h [__USE_MISC]: Likewise.
12824 * string/string.h: Update #endif comments.
12825 [__USE_MISC]: Remove redundant conditionals.
12826 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12828 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12829 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12830 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12832 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12836 [__USE_MISC]: Remove redundant conditionals.
12837 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12838 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12839 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12840 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12841 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12843 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12844 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12846 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12847 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12849 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12851 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12852 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12854 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12856 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12857 * sysdeps/x86/bits/string.h: Update #endif comments.
12858 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12860 * time/sys/time.h: Update #endif comments.
12861 * time/time.h: Likewise.
12862 [__USE_MISC]: Remove redundant conditionals.
12864 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12867 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12869 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12871 * Versions.def (librt): Add GLIBC_2.17.
12873 2014-02-21 Adam Conrad <adconrad@0c3.net>
12875 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12876 synonym for _SYS_AUXV_H to allow direct inclusion.
12877 * sysdeps/sparc/bits/hwcap.h: Likewise.
12878 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12879 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12880 * sysdeps/sparc/sysdep.h: Likewise.
12882 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12884 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12886 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12888 * benchtests/bench-strrchr.c: Print length instead of position.
12890 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12893 * sysdeps/unix/sysv/linux/kernel-features.h
12894 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12895 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12896 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12897 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12899 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12900 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12901 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12902 (__ASSUME_SENDMMSG): Define instead of using previous
12903 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12904 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12905 (__ASSUME_SENDMMSG_SYSCALL): Define.
12906 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12907 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12909 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12910 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12912 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12913 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12915 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12916 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12917 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12918 [__ASSUME_SENDMMSG]: Change conditionals to
12919 [__ASSUME_SENDMMSG_SOCKETCALL].
12920 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12921 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12923 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12924 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12926 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12927 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12928 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12929 [!__ASSUME_SENDMMSG]: Change conditional to
12930 [!__ASSUME_SENDMMSG_SOCKETCALL].
12931 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12932 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12936 * sysdeps/unix/sysv/linux/kernel-features.h
12937 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12938 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12939 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12940 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12941 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12942 [__i386__ || __sparc__]
12943 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12944 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12945 (__ASSUME_RECVMMSG): Define instead of using previous
12946 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12947 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12948 (__ASSUME_RECVMMSG_SYSCALL): Define.
12949 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12953 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12955 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12958 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12959 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12960 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12961 [__ASSUME_RECVMMSG]: Change condition to
12962 [__ASSUME_RECVMMSG_SOCKETCALL].
12963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12964 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12966 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12968 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12970 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12971 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12972 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12973 [!__ASSUME_RECVMMSG]: Change condition to
12974 [!__ASSUME_RECVMMSG_SOCKETCALL].
12975 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12976 (__ASSUME_RECVMMSG_SYSCALL): Define.
12979 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12980 __powerpc__ || __s390__ || __sh__ || __sparc__]
12981 (__ASSUME_SOCKETCALL): Define.
12982 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12983 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12984 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12985 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12986 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12987 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12988 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12989 (__ASSUME_ACCEPT4): Define instead of using previous
12990 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12991 __powerpc__ || __sparc__ || __s390__)] condition.
12992 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12993 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12994 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12995 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12996 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12997 [!__ASSUME_ACCEPT4]: Change condition to
12998 [!__ASSUME_ACCEPT4_SOCKETCALL].
12999 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13000 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13001 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13002 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13003 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13004 __ASSUME_ACCEPT4_SYSCALL.
13005 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13006 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13008 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13009 __ASSUME_ACCEPT4_SYSCALL.
13010 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13011 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13012 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13013 [__ASSUME_ACCEPT4]: Change condition to
13014 [__ASSUME_ACCEPT4_SOCKETCALL].
13015 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13016 (__ASSUME_SOCKETCALL): Define.
13017 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13019 (__ASSUME_SOCKETCALL): Define.
13020 (__ASSUME_ACCEPT4): Remove.
13021 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13023 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13024 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13026 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13027 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13029 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13031 (HWCAP_ARM_LPAE): Likewise.
13032 (HWCAP_ARM_EVTSTRM): Likewise.
13033 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13034 Add vpfd32, lpae and evtstrm.
13035 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13038 2014-02-19 Joseph Myers <joseph@codesourcery.com>
13040 * math/auto-libm-test-in: Add tests of clog10.
13041 * math/auto-libm-test-out: Regenerated.
13042 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13043 * sysdeps/i386/fpu/libm-test-ulps: Update.
13044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13046 2014-02-18 Andreas Schwab <schwab@suse.de>
13049 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13050 Store non-zero if the second buffer was newly allocated.
13051 (send_dg): Likewise.
13052 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13053 to send_vc and send_dg.
13054 (res_nsend): Pass NULL for ansp2_malloced.
13055 * resolv/res_query.c (__libc_res_nquery): Add parameter
13056 answerp2_malloced and pass it down to __libc_res_nsend.
13057 (res_nquery): Pass additional NULL to __libc_res_nquery.
13058 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13059 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13060 second answer buffer if answerp2_malloced was set.
13061 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13062 (__libc_res_nquerydomain): Add parameter
13063 answerp2_malloced and pass it down to __libc_res_nquery.
13064 (res_nquerydomain): Pass additional NULL to
13065 __libc_res_nquerydomain.
13066 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13067 additional NULL to __libc_res_nsend and __libc_res_nquery.
13068 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13069 additional NULL to __libc_res_nsearch.
13070 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13071 parameter of __libc_res_nsearch to check for separately allocated
13073 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13075 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13076 additional NULL to __libc_res_nquery.
13077 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13078 __libc_res_nsearch.
13079 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13080 * include/resolv.h: Update prototypes of __libc_res_nquery,
13081 __libc_res_nsearch, __libc_res_nsend.
13083 2014-02-18 Joseph Myers <joseph@codesourcery.com>
13085 * math/auto-libm-test-in: Add tests of fma.
13086 * math/auto-libm-test-out: Regenerated.
13087 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13088 (fma_towardzero_test_data): Likewise.
13089 (fma_downward_test_data): Likewise.
13090 (fma_upward_test_data): Likewise.
13091 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13093 (rounding_modes): Add values for new field.
13094 (func_calc_method): Add value mpfr_fff_f.
13095 (func_calc_desc): Add mpfr_fff_f union field.
13096 (test_function): Add field exact_args.
13097 (FUNC): Add macro argument EXACT_ARGS.
13098 (FUNC_mpfr_f_f): Update call to FUNC.
13099 (FUNC_mpfr_f_f): Likewise.
13100 (FUNC_mpfr_ff_f): Likewise.
13101 (FUNC_mpfr_if_f): Likewise.
13102 (FUNC_mpc_c_f): Likewise.
13103 (FUNC_mpc_c_c): Likewise.
13104 (test_functions): Add fma. Update calls to FUNC.
13105 (handle_input_arg): Add argument exact_args.
13106 (add_test): Update call to handle_input_arg.
13107 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13108 (output_for_one_input_case): Update call to calc_generic_results.
13109 Recalculate exact zero results in each rounding mode.
13111 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13112 non-negative before setting low bit.
13113 * math/auto-libm-test-in: Mark one asin test possibly having
13114 spurious underflow.
13115 * math/auto-libm-test-out: Regenerated.
13116 * sysdeps/i386/fpu/libm-test-ulps: Update.
13117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13119 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13121 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13122 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13123 ports/sysdeps/unix/sysv/linux/microblaze.
13124 * README: Add missing listing for microblaze*-*-linux-gnu.
13126 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
13128 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13131 2014-02-16 Mike Frysinger <vapier@gentoo.org>
13133 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13134 * sysdeps/unix/sysv/linux/ia64: Move directory from
13135 ports/sysdeps/unix/sysv/linux/ia64.
13136 * README: Update listing for ia64-*-linux-gnu.
13138 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13139 Joseph Myers <joseph@codesourcery.com>
13141 * Makeconfig (test-name): New variable.
13142 (evaluate-test): Likewise.
13143 * Makerules (do-test-clean): Remove .test-result files.
13144 (common-mostlyclean): Likewise.
13145 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13146 * scripts/evaluate-test.sh: New file.
13148 2014-02-14 Joseph Myers <joseph@codesourcery.com>
13150 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13151 separate $(objpfx)tst-fopenloc-cmp.out and
13152 $(objpfx)tst-fopenloc-mem.out targets.
13153 (tests): Update dependencies.
13154 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13155 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13156 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13157 (tst-rxspencer-no-utf8-ARGS): New variable.
13158 (tst-rxspencer-no-utf8-ENV): Likewise.
13159 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13160 instead of $(objpfx)tst-rxspencer-mem.
13161 ($(objpfx)tst-rxspencer-mem): Change target to
13162 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13163 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13164 * posix/tst-rxspencer-no-utf8.c: New file.
13166 * elf/Makefile ($(objpfx)order.out): Remove rule.
13167 [$(run-built-tests) = yes] (tests): Depend on
13168 $(objpfx)order-cmp.out.
13169 ($(objpfx)order-cmp.out): New rule.
13170 [$(run-built-tests) = yes] (tests): Depend on
13171 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13172 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13173 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13174 $(objpfx)tst-array5-static-cmp.out.
13175 ($(objpfx)tst-array1.out): Remove rule.
13176 ($(objpfx)tst-array1-cmp.out): New rule.
13177 ($(objpfx)tst-array1-static.out): Remove rule.
13178 ($(objpfx)tst-array1-static-cmp.out): New rule.
13179 ($(objpfx)tst-array2.out): Remove rule.
13180 ($(objpfx)tst-array2-cmp.out): New rule.
13181 ($(objpfx)tst-array3.out): Remove rule.
13182 ($(objpfx)tst-array3-cmp.out): New rule.
13183 ($(objpfx)tst-array4.out): Remove rule.
13184 ($(objpfx)tst-array4-cmp.out): New rule.
13185 ($(objpfx)tst-array5.out): Remove rule.
13186 ($(objpfx)tst-array5-cmp.out): New rule.
13187 ($(objpfx)tst-array5-static.out): Remove rule.
13188 ($(objpfx)tst-array5-static-cmp.out): New rule.
13189 [$(run-built-tests) = yes] (tests): Depend on
13190 $(objpfx)order2-cmp.out.
13191 ($(objpfx)order2.out): Remove rule.
13192 ($(objpfx)order2-cmp.out): New rule.
13193 ($(objpfx)tst-initorder.out): Remove rule.
13194 [$(run-built-tests) = yes] (tests): Depend on
13195 $(objpfx)tst-initorder-cmp.out.
13196 ($(objpfx)tst-initorder-cmp.out): New rule.
13197 ($(objpfx)tst-initorder2.out): Remove rule.
13198 [$(run-built-tests) = yes] (tests): Depend on
13199 $(objpfx)tst-initorder2-cmp.out.
13200 ($(objpfx)tst-initorder2-cmp.out): New rule.
13201 [$(run-built-tests) = yes] (tests): Depend on
13202 $(objpfx)tst-unused-dep-cmp.out.
13203 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13204 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13205 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13206 on $(objpfx)tst-setvbuf1-cmp.out.
13207 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13208 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13209 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13210 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13211 ($(objpfx)tst-svc.out): Remove rule.
13212 ($(objpfx)tst-svc-cmp.out): New rule.
13214 2014-02-13 Joseph Myers <joseph@codesourcery.com>
13216 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13217 * ctype/ctype.h [__USE_MISC]: Likewise.
13218 * dirent/dirent.h [__USE_MISC]: Likewise.
13219 * grp/grp.h [__USE_MISC]: Likewise.
13220 * io/fcntl.h [__USE_MISC]: Likewise.
13221 * io/sys/stat.h [__USE_MISC]: Likewise.
13222 * libio/stdio.h [__USE_MISC]: Likewise.
13223 * posix/unistd.h [__USE_MISC]: Likewise.
13224 * pwd/pwd.h [__USE_MISC]: Likewise.
13225 * stdlib.h [__USE_MISC]: Likewise.
13226 * string/bits/string2.h [__USE_MISC]: Likewise.
13227 * string/string.h [__USE_MISC]: Likewise.
13228 * time/time.h [__USE_MISC]: Likewise.
13230 2014-02-13 Andreas Schwab <schwab@suse.de>
13233 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13234 second answer buffer if it was separately allocated.
13236 2014-02-12 Joseph Myers <joseph@codesourcery.com>
13238 * sysdeps/mips/math-tests.h: Include <features.h>.
13239 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13240 (ROUNDING_TESTS_long_double): Do not define.
13241 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13242 (EXCEPTION_TESTS_long_double): Likewise.
13243 * sysdeps/mips/mips64/libm-test-ulps: Update.
13245 * include/features.h (__USE_BSD): Remove macro definitions.
13246 (__USE_SVID): Likewise.
13247 (_BSD_SOURCE): Likewise.
13248 (_SVID_SOURCE): Likewise.
13249 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13250 from definition of _DEFAULT_SOURCE.
13251 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13253 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13254 * bits/mman.h [__USE_BSD]: Likewise.
13255 * bits/termios.h [__USE_BSD]: Likewise.
13256 * bits/waitstatus.h [__USE_BSD]: Likewise.
13257 * ctype/ctype.h [__USE_SVID]: Likewise.
13258 * dirent/dirent.h [__USE_BSD]: Likewise.
13259 * grp/grp.h [__USE_SVID]: Likewise.
13260 [__USE_BSD]: Likewise.
13261 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13262 * io/fcntl.h [__USE_BSD]: Likewise.
13263 * io/ftw.h [__USE_BSD]: Likewise.
13264 * io/sys/stat.h [__USE_BSD]: Likewise.
13265 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13266 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13267 * libio/stdio.h [__USE_SVID]: Likewise.
13268 [__USE_BSD]: Likewise.
13269 * math/math.h [__USE_SVID]: Likewise.
13270 [__USE_BSD]: Likewise.
13271 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13272 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13273 * misc/search.h [__USE_SVID]: Likewise.
13274 * misc/sys/mman.h [__USE_BSD]: Likewise.
13275 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13276 * misc/sys/uio.h [__USE_BSD]: Likewise.
13277 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13278 * posix/glob.h [__USE_BSD]: Likewise.
13279 * posix/regex.h [__USE_BSD]: Likewise.
13280 * posix/sys/types.h [__USE_BSD]: Likewise.
13281 [__USE_SVID]: Likewise.
13282 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13283 * posix/sys/wait.h [__USE_BSD]: Likewise.
13284 [__USE_SVID]: Likewise.
13285 * posix/unistd.h [__USE_BSD]: Likewise.
13286 [__USE_SVID]: Likewise.
13287 * pwd/pwd.h [__USE_SVID]: Likewise.
13288 * resolv/netdb.h [__USE_BSD]: Likewise.
13289 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13290 * signal/signal.h [__USE_BSD]: Likewise.
13291 [__USE_SVID]: Likewise.
13292 * socket/sys/socket.h [__USE_BSD]: Likewise.
13293 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13294 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13295 [__USE_SVID]: Likewise.
13296 * string/bits/string2.h [__USE_BSD]: Likewise.
13297 [__USE_SVID]: Likewise.
13298 * string/bits/string3.h [__USE_BSD]: Likewise.
13299 * string/endian.h [__USE_BSD]: Likewise.
13300 * string/string.h [__USE_SVID]: Likewise.
13301 [__USE_BSD]: Likewise.
13302 * string/strings.h [__USE_BSD]: Likewise.
13303 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13304 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13305 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13306 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13307 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13308 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13310 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13312 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13313 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13315 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13316 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13318 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13320 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13321 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13322 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13324 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13326 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13327 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13328 * termios/termios.h [__USE_BSD]: Likewise.
13329 * time/sys/time.h [__USE_BSD]: Likewise.
13330 * time/time.h [__USE_BSD]: Likewise.
13331 [__USE_SVID]: Likewise.
13333 * Makefile (subdir_targets): Remove subdir_lint.out.
13335 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13336 (do-tst-printf): Likewise.
13337 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13338 $(objpfx)tst-printf.out.
13340 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13342 * Makerules (check-abi-%): Change target to
13343 $(objpfx)check-abi-%.out.
13344 (check-abi target): Update dependencies.
13345 (check-abi-pattern variable): Redirect output of diff to $@.
13346 (check-abi variable): Likewise.
13347 * elf/Makefile (check-abi): Update dependencies.
13349 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13351 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13352 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13354 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13355 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13356 value has largest subnormal exponent.
13357 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13358 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13359 * sysdeps/aarch64/soft-fp/sfp-machine.h
13360 (_FP_TININESS_AFTER_ROUNDING): New macro.
13361 * sysdeps/alpha/soft-fp/sfp-machine.h
13362 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13363 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13365 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13366 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13367 * sysdeps/mips/soft-fp/sfp-machine.h
13368 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13369 * sysdeps/powerpc/soft-fp/sfp-machine.h
13370 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13371 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13373 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13374 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13375 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13376 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13377 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13380 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
13383 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13386 2014-02-12 Richard Henderson <rth@redhat.com>
13388 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13389 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13390 * sysdeps/unix/sysv/linux/alpha: Move directory from
13391 ports/sysdeps/unix/sysv/linux/alpha.
13392 * README: Update listing for alpha-*-linux-gnu.
13394 2014-02-11 Joseph Myers <joseph@codesourcery.com>
13396 * include/features.h: Update comment documenting feature test
13398 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13400 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13401 (_SVID_SOURCE): Likewise.
13402 (_DEFAULT_SOURCE): Update description of default features.
13403 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13405 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13406 (S_ISVTX): Likewise.
13407 * manual/math.texi (Mathematical Constants): Likewise.
13408 * manual/signal.texi (Interrupted Primitives): Likewise.
13409 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13410 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13411 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13412 Don't refer to _SVID_SOURCE in warning text.
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13416 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13418 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13419 * sysdeps/mips/dl-lookup.c: Remove.
13420 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13422 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13425 * math/auto-libm-test-in: Add testcase for expl.
13426 * math/auto-libm-test-out: Regenerate.
13427 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13428 calculation of unsafe.
13429 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13431 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13433 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13434 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13435 ports/sysdeps/unix/sysv/linux/aarch64.
13436 * README: Update listing for aarch64*-*-linux-gnu.
13438 2014-02-11 Will Newton <will.newton@linaro.org>
13440 * manual/probes.texi (Mathematical Function Probes): Use
13441 "triggered" instead of "hit".
13443 * manual/probes.texi (Internal Probes): Add documentation
13444 of setjmp, longjmp and longjmp_target probes.
13446 * include/stap-probe.h: Add comment about probe argument
13449 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13450 definition. (tr_where, tr_freehook, tr_mallochook,
13451 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13453 2014-02-11 David S. Miller <davem@davemloft.net>
13455 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13456 processing int_tests.
13458 2014-02-10 Joseph Myers <joseph@codesourcery.com>
13460 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13461 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13462 * sysdeps/unix/sysv/linux/mips: Move directory from
13463 ports/sysdeps/unix/sysv/linux/mips.
13464 * README: Update listing for mips-*-linux-gnu and
13465 mips64-*-linux-gnu.
13467 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13469 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13470 * sysdeps/unix/sysv/linux/m68k: Move directory from
13471 ports/sysdeps/unix/sysv/linux/m68k.
13472 * README: Update listing for m68k-*-linux-gnu.
13474 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13476 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13477 * sysdeps/unix/sysv/linux/generic: Move directory from
13478 ports/sysdeps/unix/sysv/linux/generic.
13479 * sysdeps/unix/sysv/linux/tile: Move directory from
13480 ports/sysdeps/unix/sysv/linux/tile.
13481 * README: Update listing for tile*-*-linux-gnu.
13483 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
13485 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13487 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13488 * catgets/open_catalog.c (__open_catalog): Likewise.
13489 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13490 * debug/confstr_chk.c: Likewise.
13491 * debug/fread_chk.c (__fread_chk): Likewise.
13492 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13493 * debug/getgroups_chk.c: Likewise.
13494 * debug/mbsnrtowcs_chk.c: Likewise.
13495 * debug/mbsrtowcs_chk.c: Likewise.
13496 * debug/mbstowcs_chk.c: Likewise.
13497 * debug/memcpy_chk.c: Likewise.
13498 * debug/memmove_chk.c: Likewise.
13499 * debug/mempcpy_chk.c: Likewise.
13500 * debug/memset_chk.c: Likewise.
13501 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13502 * debug/strcat_chk.c (__strcat_chk): Likewise.
13503 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13504 * debug/strncat_chk.c (__strncat_chk): Likewise.
13505 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13506 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13507 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13508 * debug/wcpncpy_chk.c: Likewise.
13509 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13510 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13511 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13512 * debug/wcsncpy_chk.c: Likewise.
13513 * debug/wcsnrtombs_chk.c: Likewise.
13514 * debug/wcsrtombs_chk.c: Likewise.
13515 * debug/wcstombs_chk.c: Likewise.
13516 * debug/wmemcpy_chk.c: Likewise.
13517 * debug/wmemmove_chk.c: Likewise.
13518 * debug/wmempcpy_chk.c: Likewise.
13519 * debug/wmemset_chk.c: Likewise.
13520 * dirent/scandirat.c (SCANDIRAT): Likewise.
13521 * dlfcn/dladdr1.c (dladdr1): Likewise.
13522 * dlfcn/dladdr.c (dladdr): Likewise.
13523 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13524 * dlfcn/dlerror.c (__dlerror): Likewise.
13525 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13526 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13527 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13528 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13529 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13530 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13531 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13532 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13534 * elf/dl-conflict.c: Likewise.
13535 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13536 * elf/dl-dst.h: Likewise.
13537 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13538 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13539 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13540 * elf/dl-init.c (call_init, _dl_init): Likewise.
13541 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13542 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13543 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13545 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13547 * elf/dl-minimal.c (__libc_memalign): Likewise.
13548 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13549 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13550 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13551 * elf/dl-sym.c (do_sym): Likewise.
13552 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13553 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13554 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13555 * elf/dl-writev.h (_dl_writev): Likewise.
13556 * elf/ldconfig.c (search_dir): Likewise.
13557 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13558 (dl_main): Likewise.
13559 * elf/setup-vdso.h (setup_vdso): Likewise.
13560 * grp/compat-initgroups.c (compat_call): Likewise.
13561 * grp/fgetgrent.c (fgetgrent): Likewise.
13562 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13563 * grp/putgrent.c (putgrent): Likewise.
13564 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13566 * hurd/hurdinit.c: Likewise.
13567 * iconvdata/8bit-gap.c (struct): Likewise.
13568 * iconvdata/ansi_x3.110.c : Likewise.
13569 * iconvdata/big5.c : Likewise.
13570 * iconvdata/big5hkscs.c : Likewise.
13571 * iconvdata/cp1255.c: Likewise.
13572 * iconvdata/cp1258.c : Likewise.
13573 * iconvdata/cp932.c : Likewise.
13574 * iconvdata/euc-cn.c: Likewise.
13575 * iconvdata/euc-jisx0213.c : Likewise.
13576 * iconvdata/euc-jp.c: Likewise.
13577 * iconvdata/euc-jp-ms.c : Likewise.
13578 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13579 * iconvdata/gb18030.c : Likewise.
13580 * iconvdata/gbbig5.c (const): Likewise.
13581 * iconvdata/gbgbk.c: Likewise.
13582 * iconvdata/gbk.c : Likewise.
13583 * iconvdata/ibm1364.c : Likewise.
13584 * iconvdata/ibm930.c : Likewise.
13585 * iconvdata/ibm932.c: Likewise.
13586 * iconvdata/ibm933.c : Likewise.
13587 * iconvdata/ibm935.c : Likewise.
13588 * iconvdata/ibm937.c : Likewise.
13589 * iconvdata/ibm939.c : Likewise.
13590 * iconvdata/ibm943.c: Likewise.
13591 * iconvdata/iso_11548-1.c: Likewise.
13592 * iconvdata/iso-2022-cn.c : Likewise.
13593 * iconvdata/iso-2022-cn-ext.c : Likewise.
13594 * iconvdata/iso-2022-jp-3.c: Likewise.
13595 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13596 * iconvdata/iso-2022-kr.c : Likewise.
13597 * iconvdata/iso646.c (gconv_end): Likewise.
13598 * iconvdata/iso_6937-2.c : Likewise.
13599 * iconvdata/iso_6937.c : Likewise.
13600 * iconvdata/iso8859-1.c: Likewise.
13601 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13602 * iconvdata/shift_jisx0213.c : Likewise.
13603 * iconvdata/sjis.c : Likewise.
13604 * iconvdata/t.61.c : Likewise.
13605 * iconvdata/tcvn5712-1.c : Likewise.
13606 * iconvdata/tscii.c: Likewise.
13607 * iconvdata/uhc.c : Likewise.
13608 * iconvdata/unicode.c (gconv_end): Likewise.
13609 * iconvdata/utf-16.c (gconv_end): Likewise.
13610 * iconvdata/utf-32.c (gconv_end): Likewise.
13611 * iconvdata/utf-7.c (base64): Likewise.
13612 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13613 * iconv/gconv_close.c (__gconv_close): Likewise.
13614 * iconv/gconv_open.c (__gconv_open): Likewise.
13615 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13616 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13617 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13618 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13619 (ucs4le_internal_loop_single): Likewise.
13620 * iconv/iconv.c (iconv): Likewise.
13621 * iconv/iconv_close.c: Likewise.
13622 * iconv/loop.c (SINGLE): Likewise.
13623 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13624 * include/atomic.h: Likewise.
13625 * inet/inet6_option.c (option_alloc): Likewise.
13626 * intl/bindtextdom.c (set_binding_values): Likewise.
13627 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13628 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13629 * intl/localealias.c (read_alias_file): Likewise.
13630 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13631 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13632 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13633 * libio/fmemopen.c (fmemopen): Likewise.
13634 * libio/iofgets.c (_IO_fgets): Likewise.
13635 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13636 * libio/iofgetws.c (fgetws): Likewise.
13637 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13638 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13639 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13640 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13641 * locale/findlocale.c (_nl_find_locale): Likewise.
13642 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13643 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13645 * locale/setlocale.c (setlocale): Likewise.
13646 * login/programs/pt_chown.c (main): Likewise.
13647 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13648 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13649 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13650 (mmap, mmap64, mremap, munmap): Likewise.
13651 * math/e_exp2l.c: Likewise.
13652 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13653 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13654 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13655 * math/s_catan.c (__catan): Likewise.
13656 * math/s_catanf.c (__catanf): Likewise.
13657 * math/s_catanh.c (__catanh): Likewise.
13658 * math/s_catanhf.c (__catanhf): Likewise.
13659 * math/s_catanhl.c (__catanhl): Likewise.
13660 * math/s_catanl.c (__catanl): Likewise.
13661 * math/s_ccosh.c (__ccosh): Likewise.
13662 * math/s_ccoshf.c (__ccoshf): Likewise.
13663 * math/s_ccoshl.c (__ccoshl): Likewise.
13664 * math/s_cexp.c (__cexp): Likewise.
13665 * math/s_cexpf.c (__cexpf): Likewise.
13666 * math/s_cexpl.c (__cexpl): Likewise.
13667 * math/s_clog10.c (__clog10): Likewise.
13668 * math/s_clog10f.c (__clog10f): Likewise.
13669 * math/s_clog10l.c (__clog10l): Likewise.
13670 * math/s_clog.c (__clog): Likewise.
13671 * math/s_clogf.c (__clogf): Likewise.
13672 * math/s_clogl.c (__clogl): Likewise.
13673 * math/s_csin.c (__csin): Likewise.
13674 * math/s_csinf.c (__csinf): Likewise.
13675 * math/s_csinh.c (__csinh): Likewise.
13676 * math/s_csinhf.c (__csinhf): Likewise.
13677 * math/s_csinhl.c (__csinhl): Likewise.
13678 * math/s_csinl.c (__csinl): Likewise.
13679 * math/s_csqrt.c (__csqrt): Likewise.
13680 * math/s_csqrtf.c (__csqrtf): Likewise.
13681 * math/s_csqrtl.c (__csqrtl): Likewise.
13682 * math/s_ctan.c (__ctan): Likewise.
13683 * math/s_ctanf.c (__ctanf): Likewise.
13684 * math/s_ctanh.c (__ctanh): Likewise.
13685 * math/s_ctanhf.c (__ctanhf): Likewise.
13686 * math/s_ctanhl.c (__ctanhl): Likewise.
13687 * math/s_ctanl.c (__ctanl): Likewise.
13688 * math/w_pow.c: Likewise.
13689 * math/w_powf.c: Likewise.
13690 * math/w_powl.c: Likewise.
13691 * math/w_scalb.c (sysv_scalb): Likewise.
13692 * math/w_scalbf.c (sysv_scalbf): Likewise.
13693 * math/w_scalbl.c (sysv_scalbl): Likewise.
13694 * misc/error.c (error_tail): Likewise.
13695 * misc/pselect.c (__pselect): Likewise.
13696 * nis/nis_callback.c (__nis_create_callback): Likewise.
13697 * nis/nis_call.c (__nisfind_server): Likewise.
13698 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13699 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13700 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13701 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13702 * nis/nis_lookup.c (nis_lookup): Likewise.
13703 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13704 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13705 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13706 * nis/nis_xdr.c (xdr_endpoint): Likewise.
13707 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13708 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13709 * nis/nss_compat/compat-initgroups.c (add_group)
13710 (internal_getgrent_r): Likewise.
13711 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13712 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13713 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13714 (internal_getspnam_r): Likewise.
13715 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13716 (_nss_nis_getaliasbyname_r): Likewise.
13717 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13718 (_nss_nis_getntohost_r): Likewise.
13719 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13720 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13721 (_nss_nis_getgrgid_r): Likewise.
13722 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13723 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13724 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13725 (_nss_nis_gethostbyname4_r): Likewise.
13726 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13727 (initgroups_netid): Likewise.
13728 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13729 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13730 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13731 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13732 (_nss_nis_getprotobynumber_r): Likewise.
13733 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13734 (_nss_nis_getsecretkey): Likewise.
13735 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13736 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13737 (_nss_nis_getpwuid_r): Likewise.
13738 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13739 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13740 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13741 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13742 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13743 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13744 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13746 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13747 (_nss_nisplus_getntohost_r): Likewise.
13748 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13749 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13750 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13751 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13753 * nis/nss_nisplus/nisplus-initgroups.c
13754 (_nss_nisplus_initgroups_dyn): Likewise.
13755 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13756 (_nss_nisplus_getnetbyaddr_r): Likewise.
13757 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13758 (_nss_nisplus_getprotobynumber_r): Likewise.
13759 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13760 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13761 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13763 * nis/nss_nisplus/nisplus-service.c
13764 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13765 (_nss_nisplus_getservbyport_r): Likewise.
13766 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13767 (_nss_nisplus_getspnam_r): Likewise.
13768 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13770 * nscd/aicache.c (addhstaiX): Likewise.
13771 * nscd/cache.c (cache_search, prune_cache): Likewise.
13772 * nscd/connections.c (register_traced_file, send_ro_fd)
13773 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13774 (main_loop_epoll): Likewise.
13775 * nscd/grpcache.c (addgrbyX): Likewise.
13776 * nscd/hstcache.c (addhstbyX): Likewise.
13777 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13778 * nscd/mem.c (gc, mempool_alloc): Likewise.
13779 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13780 (addinnetgrX): Likewise.
13781 * nscd/nscd-client.h (__nscd_acquire_maplock)
13782 (__nscd_drop_map_ref): Likewise.
13783 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13784 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13785 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13787 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13789 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13790 (__nscd_get_map_ref): Likewise.
13791 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13792 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13794 * nscd/pwdcache.c (addpwbyX): Likewise.
13795 * nscd/selinux.c (preserve_capabilities): Likewise.
13796 * nscd/servicescache.c (addservbyX): Likewise.
13797 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13798 * posix/fnmatch.c (fnmatch): Likewise.
13799 * posix/getopt.c (_getopt_internal_r): Likewise.
13800 * posix/glob.c (glob, glob_in_dir): Likewise.
13801 * posix/wordexp.c (exec_comm_child): Likewise.
13802 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13803 (getanswer_r, gaih_getanswer_slice): Likewise.
13804 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13805 * resolv/res_init.c: Likewise.
13806 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13807 * resolv/res_query.c (__libc_res_nquery): Likewise.
13808 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13810 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13811 * stdio-common/perror.c (perror): Likewise.
13812 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13813 * stdio-common/tmpnam.c (tmpnam): Likewise.
13814 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13815 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13816 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13818 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13819 * stdlib/putenv.c (putenv): Likewise.
13820 * stdlib/setenv.c (__add_to_environ): Likewise.
13821 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13822 * stdlib/strtol_l.c (INTERNAL): Likewise.
13823 * string/memmem.c (memmem): Likewise.
13824 * string/strerror.c (strerror): Likewise.
13825 * string/strnlen.c (__strnlen): Likewise.
13826 * string/test-memmem.c (simple_memmem): Likewise.
13827 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13828 * sunrpc/pm_getport.c (__get_socket): Likewise.
13829 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13830 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13831 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13832 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13834 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13835 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13836 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13837 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13838 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13839 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13841 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13843 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13844 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13845 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13846 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13847 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13849 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13850 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13851 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13852 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13853 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13854 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13856 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13858 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13860 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13862 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13863 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13864 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13865 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13866 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13872 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13875 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13877 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13879 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13881 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13883 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13885 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13887 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13888 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13889 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13890 * sysdeps/posix/sleep.c: Likewise.
13891 * sysdeps/posix/tempname.c: Likewise.
13892 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13893 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13895 * sysdeps/powerpc/powerpc32/dl-machine.h
13896 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13897 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13899 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13900 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13902 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13904 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13905 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13906 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13907 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13908 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13909 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13910 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13911 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13913 (elf_machine_lazy_rel): Likewise.
13914 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13916 (elf_machine_lazy_rel): Likewise.
13917 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13918 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13919 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13920 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13921 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13922 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13923 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13926 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13927 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13928 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13929 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13930 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13931 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13932 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13933 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13934 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13935 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13936 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13938 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13939 (__posix_fallocate64_l64): Likewise.
13940 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13941 (posix_fallocate): Likewise.
13942 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13945 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13946 (getifaddrs_internal): Likewise.
13947 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13948 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13949 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13950 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13951 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13952 (__posix_fallocate64_l64): Likewise.
13953 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13955 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13957 (__get_clockfreq): Likewise.
13958 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13959 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13960 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13963 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13964 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13965 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13967 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13968 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13969 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13970 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13971 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13972 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13973 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13975 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13976 (posix_fallocate): Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13978 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13979 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13980 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13981 (elf_machine_rela, elf_machine_rela_relative)
13982 (elf_machine_lazy_rel): Likewise.
13983 * time/asctime.c (asctime_internal): Likewise.
13984 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13985 * time/tzset.c (__tzset_parse_tz): Likewise.
13986 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13987 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13988 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13989 * wcsmbs/wcsmbsload.h: Likewise.
13992 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13994 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13995 (arena_get2): Remove THREAD_STATS conditionals.
13996 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13997 (__malloc_stats, int): Likewise.
13999 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14001 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14002 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14004 * manual/setjmp.texi: Fix typos/grammar errors.
14006 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14007 Only return early when n is <= 0. Delete unused return statement.
14009 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14010 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14011 * debug/tst-longjmp_chk3.c: New file.
14013 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14014 (test_main): Replace code with set_fortify_handler call.
14015 * debug/test-strcpy_chk.c: Likewise.
14016 * debug/tst-chk1.c: Likewise.
14017 * debug/tst-longjmp_chk.c: Likewise.
14018 * test-skeleton.c: Include fcntl.h & paths.h
14019 (set_fortify_handler): Define.
14021 * debug/tst-longjmp_chk.c: Add header comment and include
14022 ../test-skeleton.c.
14023 (do_test): Mark static.
14024 (TEST_FUNCTION): Define.
14026 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14027 (IP_PMTUDISC_INTERFACE): Likewise.
14028 (IP_MULTICAST_IF): Likewise.
14029 (IP_MULTICAST_TTL): Likewise.
14030 (IP_MULTICAST_LOOP): Likewise.
14031 (IP_ADD_MEMBERSHIP): Likewise.
14032 (IP_DROP_MEMBERSHIP): Likewise.
14033 (IP_UNBLOCK_SOURCE): Likewise.
14034 (IP_BLOCK_SOURCE): Likewise.
14035 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14036 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14037 (IP_MSFILTER): Likewise.
14038 (MCAST_JOIN_GROUP): Likewise.
14039 (MCAST_BLOCK_SOURCE): Likewise.
14040 (MCAST_UNBLOCK_SOURCE): Likewise.
14041 (MCAST_LEAVE_GROUP): Likewise.
14042 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14043 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14044 (MCAST_MSFILTER): Likewise.
14045 (IP_MULTICAST_ALL): Likewise.
14046 (IP_UNICAST_IF): Likewise.
14048 * timezone/Makefile: Delete $(have-ksh) check.
14049 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14050 * timezone/tzselect.ksh: Add +x mode bits.
14052 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14053 (ANON_INODE_FS_MAGIC): Likewise.
14054 (BDEVFS_MAGIC): Likewise.
14055 (BINFMTFS_MAGIC): Likewise.
14056 (BTRFS_TEST_MAGIC): Likewise.
14057 (CRAMFS_MAGIC_WEND): Likewise.
14058 (DEBUGFS_MAGIC): Likewise.
14059 (ECRYPTFS_SUPER_MAGIC): Likewise.
14060 (EXT3_SUPER_MAGIC): Likewise.
14061 (EXT4_SUPER_MAGIC): Likewise.
14062 (FUTEXFS_SUPER_MAGIC): Likewise.
14063 (HOSTFS_SUPER_MAGIC): Likewise.
14064 (HUGETLBFS_MAGIC): Likewise.
14065 (MINIX3_SUPER_MAGIC): Likewise.
14066 (MTD_INODE_FS_MAGIC): Likewise.
14067 (NILFS_SUPER_MAGIC): Likewise.
14068 (OPENPROM_SUPER_MAGIC): Likewise.
14069 (PIPEFS_MAGIC): Likewise.
14070 (PSTOREFS_MAGIC): Likewise.
14071 (QNX6_SUPER_MAGIC): Likewise.
14072 (RAMFS_MAGIC): Likewise.
14073 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14074 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14075 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14076 (SECURITYFS_MAGIC): Likewise.
14077 (SELINUX_MAGIC): Likewise.
14078 (SMACK_MAGIC): Likewise.
14079 (SOCKFS_MAGIC): Likewise.
14080 (SQUASHFS_MAGIC): Likewise.
14081 (STACK_END_MAGIC): Likewise.
14082 (TMPFS_MAGIC): Likewise.
14083 (USBDEVICE_SUPER_MAGIC): Likewise.
14084 (V9FS_MAGIC): Likewise.
14085 (XENFS_SUPER_MAGIC): Likewise.
14086 (CRAMFS_MAGIC): Fix typo in comment.
14087 (EXT2_SUPER_MAGIC): Update comment.
14088 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14090 2014-02-08 Joseph Myers <joseph@codesourcery.com>
14092 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14093 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14094 * sysdeps/unix/sysv/linux/arm: Move directory from
14095 ports/sysdeps/unix/sysv/linux/arm.
14096 * README: Update listing for arm-*-linux-gnueabi.
14098 * README: Remove mention of am33.
14100 2014-02-07 Roland McGrath <roland@hack.frob.com>
14102 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14103 than the comma operator, to avoid "rhs of comma has no effect"
14105 (__sigfillset, __sigandset, __sigorset): Likewise.
14106 * include/signal.h (__sigemptyset): Likewise.
14107 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14109 2014-02-07 Allan McRae <allan@archlinux.org>
14111 * version.h (RELEASE): Set to "development".
14112 (VERSION): Set to "2.19.90"
14113 * NEWS: Add 2.20 section.
14115 2014-02-06 Carlos O'Donell <carlos@redhat.com>
14118 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14120 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14122 * manual/contrib.texi: Update entry for Carlos O'Donell,
14123 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14125 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
14127 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14129 * sysdeps/unix/sysv/linux/kernel-features.h
14130 [__LINUX_KERNEL_VERSION >= 0x020621]
14131 (__ASSUME_PROC_PID_TASK_COMM): Define.
14133 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14136 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14137 conversion when destination buffer does not have enough space.
14138 * libio/tst-ftell-partial-wide.c: New test case.
14139 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14141 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14142 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14143 Leonard and Allan McRae.
14145 2014-02-04 David S. Miller <davem@davemloft.net>
14147 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14150 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14179 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14181 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14182 * shlib-versions: Likewise.
14184 2014-02-04 Roland McGrath <roland@hack.frob.com>
14185 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14187 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14188 (abilist-pattern): New variable, set to %-le.abilist.
14190 * Makerules (abilist-pattern): New variable.
14191 (vpath): Use $(abilist-pattern) in place of %.abilist.
14192 (check-abi-% pattern rule): Likewise.
14193 (check-abi, update-abi): Likewise.
14195 2014-02-04 Eric Wong <normalperson@yhbt.net>
14197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14199 2014-02-03 Carlos O'Donell <carlos@redhat.com>
14201 * manual/startup.texi: Add next, previous, and top entries for
14202 the `Program Arguments' and `Environment Variables' nodes.
14204 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
14206 * manual/macros.texi: Add comments before MTASC-safety macros.
14208 * manual/users.texi: Document MTASC-safety properties.
14210 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14211 (pthread_getspecific, pthread_setspecific): Format with
14212 @deftypefun, and add @safety note.
14213 * manual/signal.texi: Move comments that analyze the above
14214 functions to their home place.
14216 2014-02-03 Allan McRae <allan@archlinux.org>
14218 * po/sl.po: Update Slovenian translation from translation project.
14220 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
14222 * manual/time.texi (timegm): Add missing blank after @c.
14223 Reported by Joseph Myers <joseph@codesourcery.com>.
14225 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
14227 * manual/check-safety.sh: New.
14228 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14230 * manual/terminal.texi: Document MTASC-safety properties.
14232 * manual/filesys.texi: Document MTASC-safety properties.
14234 * manual/errno.texi: Document MTASC-safety properties.
14236 * manual/intro.texi: Document safety identifiers and
14239 * manual/string.texi (wcstok): Fix prototype.
14240 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14242 * manual/time.texi: Document MTASC-safety properties.
14244 * manual/string.texi: Document MTASC-safety properties.
14246 * manual/threads.texi: Document MTASC-safety properties.
14248 * manual/stdio.texi: Document MTASC-safety properties.
14250 * manual/syslog.texi: Document MTASC-safety properties.
14252 * manual/sysinfo.texi: Document MTASC-safety properties.
14254 * manual/startup.texi: Document MTASC-safety properties.
14256 * manual/socket.texi: Document MTASC-safety properties.
14258 * manual/signal.texi: Document MTASC-safety properties.
14260 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14262 * manual/setjmp.texi: Document MTASC-safety properties.
14264 * manual/search.texi: Document MTASC-safety properties.
14266 * manual/resource.texi: Document MTASC-safety properties.
14268 * manual/process.texi: Document MTASC-safety properties.
14270 * manual/platform.texi: Document MTASC-safety properties.
14272 * manual/pipe.texi: Document MTASC-safety properties.
14274 * manual/pattern.texi: Document MTASC-safety properties.
14276 * manual/message.texi: Document MTASC-safety properties.
14279 * manual/memory.texi: Document MTASC-safety properties.
14281 * manual/math.texi: Document MTASC-safety properties.
14283 * manual/locale.texi: Document MTASC-safety properties.
14285 * manual/llio.texi: Document MTASC-safety properties.
14287 * manual/libdl.texi: New.
14289 * manual/lang.texi: Document MTASC-safety properties.
14291 * manual/job.texi: Document MTASC-safety properties.
14293 * manual/getopt.texi: Document MTASC-safety properties.
14295 * manual/ctype.texi: Document MTASC-safety properties.
14297 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14300 * csu/libc-tls.c (static_map): Remove variable.
14301 (__libc_setup_tls): Use main executable's link map for TLS data.
14302 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14303 casing for LM_ID_BASE and GL(dl_nns).
14304 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14305 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14306 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14307 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14308 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14310 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14313 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
14315 * manual/debug.texi: Document MTASC-safety properties.
14317 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14320 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14321 of __x86_64__ when disabling x87 inline functions.
14323 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
14325 * manual/charset.texi: Document MTASC-safety properties.
14327 * manual/crypt.texi: Document MTASC-safety properties.
14329 * manual/conf.texi: Document MTASC-safety properties.
14331 * manual/arith.texi: Document MTASC-safety properties.
14333 * manual/argp.texi: Document MTASC-safety properties.
14335 * manual/macros.texi: Introduce macros to document multi
14336 thread, asynchronous signal and asynchronous cancellation
14338 * manual/intro.texi: Introduce the properties themselves.
14340 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14342 * sysdeps/sh/sh4/Makefile: New file.
14344 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14346 * math/gen-libm-test.pl ($srcdir): New variable.
14347 ($auto_input): Use it.
14349 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14352 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14353 access beyond array bounds when parsing netgroups file.
14355 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14356 the old buffer before realloc.
14358 2014-01-27 Allan McRae <allan@archlinux.org>
14360 * po/fr.po: Update French translation from translation project.
14362 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14364 * sysdeps/sh/libm-test-ulps: Regenerate.
14366 2014-01-24 David S. Miller <davem@davemloft.net>
14368 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14370 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14372 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14373 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14375 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14378 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14379 string pointers after reallocation.
14381 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14383 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14384 __SH4A__ instead of __SH_FPU_ANY__.
14386 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14388 * sysdeps/sh/fpu_control.h: New file.
14389 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14390 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14391 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14392 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14393 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14394 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14395 * sysdeps/sh/sys/ucontext.h: Remove.
14396 * sysdeps/sh/sys: Remove directory.
14398 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14400 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14401 s390/sys/ucontext.h.
14402 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14403 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14405 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14408 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14410 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14413 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14414 Adjust the vDSO correctly for internal calls.
14415 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14417 2014-01-20 Allan McRae <allan@archlinux.org>
14419 * po/ca.po: Update Catalan translation from translation project.
14421 2014-01-16 Mike Frysinger <vapier@gentoo.org>
14423 * sysdeps/s390/sotruss-lib.c: New file.
14425 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14428 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14429 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14430 local calls issues by not having a PLT stub required for IFUNC calls.
14431 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14433 2014-01-16 Joseph Myers <joseph@codesourcery.com>
14435 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14436 * math/test-fpucw-static.c: Likewise.
14438 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14441 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14443 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14445 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14446 implementation for powerpc.
14448 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
14451 * sysdeps/posix/system.c (__libc_system): Do not enable
14452 asynchronous cancellation.
14454 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14457 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14458 handling only for numbers special also in the IEEE case.
14460 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14462 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14464 2014-01-11 Allan McRae <allan@archlinux.org>
14466 * po/bg.po: Update Bulgarian translation from translation project.
14468 * po/de.po: Update German translation from translation project.
14470 2014-01-10 Roland McGrath <roland@hack.frob.com>
14472 * sysdeps/generic/gcc-compat.h: New file.
14474 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14476 * benchtests/asin-inputs: Correct slow inputs.
14477 * benchtests/acos-inputs: Likewise.
14479 2014-01-10 Allan McRae <allan@archlinux.org>
14481 * po:sv.po: Update Swedish translation from translation project.
14483 * po/vi.po: Update Vietnamese translation from translation project.
14485 * po/eo.po: Update Esperanto translation from translation project.
14487 * po/cs.po: Update Czech translation from translation project.
14489 * po/nl.po: Update Dutch translation from translation project.
14491 * po/pl.po: Update Polish translation from translation project.
14493 * po/ru.po: Update Russian translation from translation project.
14495 * po/uk.po: Update Ukrainian translation from translation project.
14497 2014-01-08 Brooks Moses <bmoses@google.com>
14499 * elf/dl-load.c: Fix comment typo.
14501 2014-01-08 Carlos O'Donell <carlos@redhat.com>
14503 * po/header.pot: Rename to...
14504 * po/pot.header: ... this.
14505 * po/Makefile: Use pot.header.
14507 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14508 Maxim Kuvyrkov <maxim@kugelworks.com>
14511 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14512 SRC and DEST against LEN.
14514 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14517 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14519 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14521 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14525 2014-01-08 Joseph Myers <joseph@codesourcery.com>
14528 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14529 for large positive arguments.
14531 2014-01-07 Joseph Myers <joseph@codesourcery.com>
14533 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14535 * math/auto-libm-test-in: Mark various tests with
14536 xfail-rounding:ldbl-128ibm.
14537 * math/auto-libm-test-out: Regenerated.
14540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14541 Increase overflow threshold.
14543 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
14546 * stdio-common/vfprintf.c: Check for integer overflow.
14548 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14550 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14551 the first argument and return value of __tls_get_addr_internal.
14553 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14555 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14556 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14558 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14560 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14561 * sysdeps/s390/rtld-global-offsets.sym: New file.
14562 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14564 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14565 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14566 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14568 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14569 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14576 halfs of GPRs for high_gprs contexts.
14577 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14578 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14580 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14582 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14584 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14585 for high GPRs (uc_high_gprs) and for future extensions
14587 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14588 for future extensions (__reserved).
14589 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14591 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14592 SC_HIGHGPRS offset definition.
14593 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14594 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14596 * Versions.def: Add GLIBC_2.19 for libpthread.
14597 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14598 siglongjmp for libpthread with GLIBC_2.19 symver.
14599 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14600 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14601 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14602 * sysdeps/s390/__longjmp.c: New file.
14603 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14604 * sysdeps/s390/longjmp.c: New file.
14605 * sysdeps/s390/setjmp.S: New file.
14606 * sysdeps/s390/sigjmp.S: New file.
14607 * sysdeps/s390/v1-longjmp.c: New file.
14608 * sysdeps/s390/v1-setjmp.h: New file.
14609 * sysdeps/s390/v1-sigjmp.c: New file.
14610 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14611 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14612 GLIBC_2.19 version.
14613 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14614 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14615 versioned symbols for ____longjmp_chk.
14616 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14626 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14627 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14628 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14629 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14630 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14631 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14632 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14633 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14634 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14635 * sysdeps/s390/rtld-__longjmp.c: New file.
14636 * sysdeps/s390/rtld-setjmp.S: New file.
14638 2014-01-06 Joseph Myers <joseph@codesourcery.com>
14641 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14642 Return -__logl (x) for small positive arguments without evaluating
14645 2014-01-06 Mike Frysinger <vapier@gentoo.org>
14647 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14649 (__ptrace_peeksiginfo_args): ... this.
14650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14654 2014-01-06 Allan McRae <allan@archlinux.org>
14656 * inet/netinet/in.h: Fix typo in comment.
14658 2014-01-05 Andreas Jaeger <aj@suse.de>
14660 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662 2014-01-05 Allan McRae <allan@archlinux.org>
14664 * po/libc.pot: Regenerated.
14666 * malloc/memusagestat.c: Fix gettext call formatting.
14668 2014-01-04 Sami Kerola <kerolasa@iki.fi>
14670 * nscd/nscd.c: Improve usage() output.
14672 2014-01-04 Mike Frysinger <vapier@gentoo.org>
14674 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14675 * sysdeps/unix/sysv/linux/configure: Regenerated.
14676 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14677 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14679 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14682 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14683 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14685 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14687 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14688 extra tokens at end of #undef directive.
14689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14690 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14691 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14693 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14695 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14697 * math/auto-libm-test-in: Mark various tests with
14698 xfail-rounding:ldbl-128ibm.
14699 * math/auto-libm-test-out: Regenerated.
14701 2014-01-02 Joseph Myers <joseph@codesourcery.com>
14704 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14705 numbers with subnormal high part when calculating exponent.
14708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14714 (__ieee754_acoshl): Use __log1pl not __log1p.
14716 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
14718 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14719 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14720 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14721 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14722 (reused_arena, arena_get2): Convert to GNU style.
14723 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14724 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14725 (memalign_check, __malloc_set_state): Likewise.
14726 * malloc/mallocbug.c (main): Likewise.
14727 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14728 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14729 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14730 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14731 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14732 (__posix_memalign, malloc_info): Likewise.
14733 * malloc/malloc.h: Likewise.
14734 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14735 (mallochook, memalignhook, reallochook, mabort): Likewise.
14736 * malloc/mcheck.h: Likewise.
14737 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14738 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14739 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14740 * malloc/morecore.c (__default_morecore): Likewise.
14741 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14742 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14743 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14744 (print_and_abort): Likewise.
14745 * malloc/obstack.h: Likewise.
14746 * malloc/set-freeres.c (__libc_freeres): Likewise.
14747 * malloc/tst-mallocstate.c (main): Likewise.
14748 * malloc/tst-mtrace.c (main): Likewise.
14749 * malloc/tst-realloc.c (do_test): Likewise.
14751 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14754 * nscd/netgroupcache.c (do_notfound): New function.
14755 (addgetnetgrentX): Use it.
14758 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14759 NSS_STATUS_NOTFOUND.
14761 2014-01-01 Joseph Myers <joseph@codesourcery.com>
14763 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14766 2014-01-01 Allan McRae <allan@archlinux.org>
14768 * scripts/update-copyrights: Update configure input file suffix.
14770 * NEWS: Update copyright year.
14771 * catgets/gencat.c: Likewise.
14772 * csu/version.c: Likewise.
14773 * debug/catchsegv.sh: Likewise.
14774 * debug/pcprofiledump.c: Likewise.
14775 * debug/xtrace.sh: Likewise.
14776 * elf/ldconfig.c: Likewise.
14777 * elf/ldd.bash.in: Likewise.
14778 * elf/pldd.c: Likewise.
14779 * elf/sotruss.ksh: Likewise.
14780 * elf/sprof.c: Likewise.
14781 * iconv/iconv_prog.c: Likewise.
14782 * iconv/iconvconfig.c: Likewise.
14783 * locale/programs/locale.c: Likewise.
14784 * locale/programs/localedef.c: Likewise.
14785 * login/programs/pt_chown.c: Likewise.
14786 * malloc/memusage.sh: Likewise.
14787 * malloc/memusagestat.c: Likewise.
14788 * malloc/mtrace.pl: Likewise.
14789 * manual/libc.texinfo: Likewise.
14790 * nscd/nscd.c: Likewise.
14791 * nss/getent.c: Likewise.
14792 * nss/makedb.c: Likewise.
14793 * posix/getconf.c: Likewise.
14794 * scripts/test-installation.pl: Likewise.
14796 * All files with FSF copyright notices: Update copyright dates
14797 using scripts/update-copyrights.
14798 * intl/plural.c: Regenerated.
14799 * locale/programs/charmap-kw.h: Likewise.
14800 * locale/programs/locfile-kw.h: Likewise.
14802 2013-12-31 Mike Frysinger <vapier@gentoo.org>
14804 * sysdeps/unix/sysv/linux/configure: Regenerated.
14805 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14806 the linux/fanotify.h header.
14807 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14808 HAVE_LINUX_FANOTIFY_H is defined.
14810 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14812 * benchtests/cos-inputs: New inputs.
14813 * benchtests/sin-inputs: Likewise.
14815 * benchtests/atan-inputs: New inputs. Fix name of multiple
14816 precision fallback inputs.
14818 * benchtests/atanh-inputs: New inputs.
14819 * benchtests/tanh-inputs: Likewise.
14821 * benchtests/acosh-inputs: New inputs.
14822 * benchtests/asinh-inputs: Likewise.
14824 * benchtests/cosh-inputs: New inputs.
14825 * benchtests/sinh-inputs: Likewise.
14827 * benchtests/acos-inputs: Add more inputs.
14828 * benchtests/asin-inputs: Likewise.
14830 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14833 * manual/arith.texi: Fix spelling.
14834 * manual/charset.texi: Likewise.
14835 * manual/errno.texi: Likewise.
14836 * manual/filesys.texi: Likewise.
14837 * manual/lang.texi: Likewise.
14838 * manual/llio.texi: Likewise.
14839 * manual/locale.texi: Likewise.
14840 * manual/message.texi: Likewise.
14841 * manual/resource.texi: Likewise.
14842 * manual/search.texi: Likewise.
14843 * manual/setjmp.texi: Likewise.
14844 * manual/stdio.texi: Likewise.
14845 * manual/string.texi: Likewise.
14846 * manual/sysinfo.texi: Likewise.
14847 * manual/time.texi: Likewise.
14849 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14851 * po/sl.po: New file.
14853 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14855 * .gitignore: Add core/.gdbinit/.gdb_history.
14857 2013-12-27 Allan McRae <allan@archlinux.org>
14860 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14861 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14863 2013-12-24 Brooks Moses <bmoses@google.com>
14865 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14866 all compilers that claim C++98 compliance, not just GCC.
14867 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14870 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14872 * NEWS: Restore accidentally deleted bug-fix entries.
14874 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14875 Ondřej Bílka <neleai@seznam.cz>
14878 * malloc/malloc.c (_int_free): Perform sanity check only if we
14881 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14884 * manual/stdio.texi (String Input Conversions): Clarify that character
14885 classes are not supported.
14887 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14891 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14894 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14895 Calculate results for small negative arguments directly rather
14896 than using reflection formula with special underflow handling.
14898 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14899 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14900 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14901 (fchflags): Likewise.
14902 (revoke): Likewise.
14903 (setlogin): Likewise.
14904 (sigaltstack): Likewise.
14906 (sigblock): Remove.
14907 (sigsetmask): Likewise.
14909 (waitpid): Likewise.
14910 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14911 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14913 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14914 * sysdeps/unix/bsd/Makefile: ... here.
14915 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14916 * sysdeps/unix/bsd/Versions: ... here.
14917 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14918 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14919 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14920 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14921 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14922 * sysdeps/unix/bsd/sigblock.c: ... here.
14923 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14924 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14925 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14926 * sysdeps/unix/bsd/sigvec.c: ... here.
14927 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14928 * sysdeps/unix/bsd/tcdrain.c: ... here.
14929 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14930 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14931 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14932 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14933 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14934 * sysdeps/unix/bsd/wait.c: ... here.
14935 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14936 * sysdeps/unix/bsd/wait3.c: ... here.
14937 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14938 * sysdeps/unix/bsd/waitpid.c: ... here.
14940 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14944 round-to-nearest for [!USE_AS_EXPM1L].
14945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14946 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14947 more tests of exp and exp10. Expect some exp10 tests to miss
14948 exceptions or fail in directed rounding modes.
14949 * math/auto-libm-test-out: Regenerated.
14950 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14951 (exp10_test_tonearest): New function.
14952 (exp10_towardzero_test_data): New array.
14953 (exp10_test_towardzero): New function.
14954 (exp10_downward_test_data): New array.
14955 (exp10_test_downward): New function.
14956 (exp10_upward_test_data): New array.
14957 (exp10_test_upward): New function.
14958 (main): Call the new functions.
14959 * sysdeps/i386/fpu/libm-test-ulps: Update.
14960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14962 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14964 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14965 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14966 * math/auto-libm-test-out: Regenerated.
14967 * math/libm-test.inc (acosh_test_data): Add more tests.
14968 (atanh_test_data): Likewise.
14969 (ceil_test_data): Likewise.
14970 (copysign_test_data): Likewise.
14971 * sysdeps/i386/fpu/libm-test-ulps: Update.
14972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14974 * timezone/checktab.awk: Update from tzcode 2013i.
14975 * timezone/private.h: Likewise.
14976 * timezone/scheck.c: Likewise.
14977 * timezone/tzfile.h: Likewise.
14978 * timezone/tzselect.ksh: Likewise.
14979 * timezone/zdump.c: Likewise.
14980 * timezone/zic.c: Likewise.
14982 * math/auto-libm-test-in: Add tests of cpow.
14983 * math/auto-libm-test-out: Regenerated.
14984 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14985 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14987 (func_calc_desc): Add mpc_cc_c union field.
14988 (test_functions): Add cpow.
14989 (special_fill_2pi): New function.
14990 (special_real_inputs): Add 2pi.
14991 (calc_generic_results): Handle mpc_cc_c.
14992 * sysdeps/i386/fpu/libm-test-ulps: Update.
14993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14995 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14996 csqrt, ctan and ctanh.
14997 * math/auto-libm-test-out: Regenerated.
14998 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14999 (TEST_COND_x86): Likewise.
15000 (ccos_test_data): Use AUTO_TESTS_c_c.
15001 (ccosh_test_data): Likewise.
15002 (cexp_test_data): Likewise.
15003 (clog_test_data): Likewise.
15004 (csqrt_test_data): Likewise.
15005 (ctan_test_data): Likewise.
15006 (ctan_tonearest_test_data): Likewise.
15007 (ctan_towardzero_test_data): Likewise.
15008 (ctan_downward_test_data): Likewise.
15009 (ctan_upward_test_data): Likewise.
15010 (ctanh_test_data): Likewise.
15011 (ctanh_tonearest_test_data): Likewise.
15012 (ctanh_towardzero_test_data): Likewise.
15013 (ctanh_downward_test_data): Likewise.
15014 (ctanh_upward_test_data): Likewise.
15015 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15017 (func_calc_desc): Add mpc_c_c union field.
15018 (FUNC_mpc_c_c): New macro.
15019 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15020 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15022 (special_fill_min_subnorm_p120): New function.
15023 (special_real_inputs): Add min_subnorm_p120.
15024 (calc_generic_results): Handle mpc_c_c.
15025 * sysdeps/i386/fpu/libm-test-ulps: Update.
15026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15028 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15030 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15031 (do_sin_slow): New functions.
15032 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15033 (cslow2, csloww1, csloww2): Use the new functions.
15035 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15036 Use M to change sign of result instead of X. Assume X is
15038 (csloww1): Likewise.
15042 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15043 arguments A and DA.
15047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15049 (sloww1): Don't adjust sign of DX.
15050 (csloww1): Likewise.
15051 (sloww2): Use X directly and don't adjust sign of DX.
15052 (csloww2): Likewise.
15054 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15056 * math/auto-libm-test-in: Add tests of cabs and carg.
15057 * math/auto-libm-test-out: Regenerated.
15058 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15059 (carg_test_data): Likewise.
15060 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15062 (func_calc_desc): Add mpc_c_f union field.
15063 (test_functions): Add cabs and carg.
15064 (calc_generic_results): Handle mpc_c_f.
15066 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15067 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15068 as a macro and a compat symbol.
15069 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15070 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15071 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15072 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15073 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15074 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15076 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15078 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15080 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15082 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15084 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15086 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15087 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15090 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15094 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15096 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15097 trailing whitespace removed.
15098 * scripts/config.guess: Update to version 2013-11-29.
15099 * scripts/config.sub: Update to version 2013-10-01.
15101 * math/auto-libm-test-in: Add tests of sincos.
15102 * math/auto-libm-test-out: Regenerated.
15103 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15104 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15106 (func_calc_desc): Add mpfr_f_11 union field.
15107 (test_functions): Add sincos.
15108 (calc_generic_results): Handle mpfr_f_11.
15109 * sysdeps/i386/fpu/libm-test-ulps: Update.
15110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15112 2013-12-19 Andreas Schwab <schwab@suse.de>
15114 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15117 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15118 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15120 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15122 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15123 * sysdeps/i386/fpu/libm-test-ulps: Update.
15124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15127 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15128 round-to-nearest mode when using frndint.
15129 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15130 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15131 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15133 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15135 * math/auto-libm-test-out: Regenerated.
15136 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15137 (TEST_COND_x86): Likewise.
15138 (expm1_tonearest_test_data): New array.
15139 (expm1_test_tonearest): New function.
15140 (expm1_towardzero_test_data): New array.
15141 (expm1_test_towardzero): New function.
15142 (expm1_downward_test_data): New array.
15143 (expm1_test_downward): New function.
15144 (expm1_upward_test_data): New array.
15145 (expm1_test_upward): New function.
15146 (main): Run the new test functions.
15147 * sysdeps/i386/fpu/libm-test-ulps: Update.
15148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15150 * include/features.h: Update comment documenting feature test
15151 macros. Mention _DEFAULT_SOURCE in comment.
15152 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15153 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15154 _BSD_SOURCE and _SVID_SOURCE.
15155 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15156 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15157 !_SVID_SOURCE]: Likewise.
15158 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15159 (__USE_POSIX_IMPLICITLY): Define.
15160 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15161 (_POSIX_SOURCE): Undefine and redefine.
15162 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15163 (_POSIX_C_SOURCE): Likewise.
15164 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15165 (Feature Test Macros): Update documentation of default features.
15167 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15169 * benchtests/Makefile: Add bench-strtok.
15170 * benchtests/bench-strtok.c: New file: strtok benchtest.
15172 2013-12-19 Allan McRae <allan@archlinux.org>
15174 * manual/install.texi: Suppress menu for plain text output.
15175 * INSTALL: Regenerated.
15177 2013-12-18 Brooks Moses <bmoses@google.com>
15180 * misc/getauxval.c: Include errno.h.
15181 (__getauxval): Set errno to ENOENT if the requested type is not
15183 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15184 don't declare with __attribute_const__.
15185 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15186 * manual/startup.texi: Document that getauxval sets errno.
15188 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15190 * math/auto-libm-test-in: Add tests of jn and yn.
15191 * math/auto-libm-test-out: Regenerated.
15192 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15193 (yn_test_data): Likewise.
15194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15196 (func_calc_desc): Add mpfr_if_f union field.
15197 (FUNC_mpfr_if_f): New macro.
15198 (test_functions): Add jn and yn.
15199 (calc_generic_results): Assert type of second input for
15200 mpfr_ff_f. Handle mpfr_if_f.
15201 (output_for_one_input_case): Disable all checking for arguments
15202 fitting floating-point types in case of an integer argument.
15203 * sysdeps/i386/fpu/libm-test-ulps: Update.
15204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15207 Don't expect fegetround reference in libm.so.
15209 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15211 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15212 $(config-cflags-nofma).
15214 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15216 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15217 * math/auto-libm-test-out: Regenerated.
15220 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15221 to determine exponent and adjust argument to have exponent of -1.
15222 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15224 * math/auto-libm-test-out: Regenerated.
15225 * sysdeps/i386/fpu/libm-test-ulps: Update.
15226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15228 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
15230 * manual/probes.texi: Remove cases when per-thread arenas are
15233 2013-12-18 Andreas Schwab <schwab@suse.de>
15235 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15236 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15237 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15238 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15239 * sysdeps/i386/i686/multiarch/Makefile: Update.
15240 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15242 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15244 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15245 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15247 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15250 Support TZ transition times < 00:00:00.
15251 This is needed for version-3 tz-format files; it supports time
15252 stamps past 2037 for America/Godthab (the only entry in the tz
15253 database for which this change is relevant).
15254 * manual/time.texi (TZ Variable): Document transition times
15255 from -167:59:59 through -00:00:01.
15256 * time/tzset.c (tz_rule): Time of day is now signed.
15257 (__tzset_parse_tz): Parse negative time of day.
15259 Document TZ transition times >= 25:00:00.
15260 * manual/time.texi (TZ Variable): Document transition times from
15261 25:00:00 through 167:59:59. These are already supported, and this
15262 support will help with version-3 tz-format files.
15264 * manual/time.texi (TZ Variable): Modernize North America example
15265 to reflect current (i.e., 2007-and-later) daylight saving rules.
15267 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15269 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15271 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15272 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15275 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15276 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15277 * sysdeps/unix/bsd/clock.c: Likewise.
15278 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15279 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15280 * sysdeps/unix/bsd/init-posix.c: Likewise.
15281 * sysdeps/unix/bsd/poll.c: Likewise.
15282 * sysdeps/unix/bsd/ptsname.c: Likewise.
15283 * sysdeps/unix/bsd/seekdir.c: Likewise.
15284 * sysdeps/unix/bsd/setegid.c: Likewise.
15285 * sysdeps/unix/bsd/seteuid.c: Likewise.
15286 * sysdeps/unix/bsd/setgid.c: Likewise.
15287 * sysdeps/unix/bsd/setrgid.c: Likewise.
15288 * sysdeps/unix/bsd/setruid.c: Likewise.
15289 * sysdeps/unix/bsd/setsid.c: Likewise.
15290 * sysdeps/unix/bsd/setuid.c: Likewise.
15291 * sysdeps/unix/bsd/sigaction.c: Likewise.
15292 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15293 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15294 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15295 * sysdeps/unix/bsd/telldir.c: Likewise.
15296 * sysdeps/unix/bsd/times.c: Likewise.
15297 * sysdeps/unix/bsd/usleep.c: Likewise.
15299 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15300 ($(objpfx)libbsd-compat.a): Remove rule.
15302 * include/features.h (__FAVOR_BSD): Do not define.
15303 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15304 features conflicting with POSIX.
15305 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15306 (_BSD_SOURCE): Remove description of not being a subset of other
15307 feature test macros.
15308 * manual/job.texi (getpgrp): Do not document BSD version.
15309 (getpgid): Do not document by reference to BSD getpgrp.
15310 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15311 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15312 * signal/signal.h [__FAVOR_BSD]: Likewise.
15313 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15314 instead of making contents conditional on [__FAVOR_BSD].
15315 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15317 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15321 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15324 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15325 values below 2**-450, not 2**-500.
15326 * math/auto-libm-test-in: Don't allow spurious underflow from
15328 * math/auto-libm-test-out: Regenerated.
15332 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15333 values of ha and hb and sort them after adjusting subnormal
15335 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15337 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15338 values of ea and eb and sort them after adjusting subnormal
15340 * math/auto-libm-test-in: Do not expect some hypot tests of
15341 subnormals to fail. Add more hypot tests.
15342 * math/auto-libm-test-out: Regenerated.
15344 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15347 * sysdeps/sh/s_fma.c: New file.
15348 * sysdeps/sh/s_fmaf.c: New file.
15349 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15351 * sysdeps/sh/Implies: Add sh/soft-fp.
15353 2013-12-16 Roland McGrath <roland@hack.frob.com>
15355 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15356 level of indirection to members `objname', `errstring', `malloced'.
15357 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15358 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15359 it as the __longjmp argument (just pass 1 instead).
15360 (_dl_catch_error): Initialize C with argument pointers and address of
15361 volatile local ERRCODE rather than copying values out of C at return.
15363 2013-12-16 Joseph Myers <joseph@codesourcery.com>
15365 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15366 * math/auto-libm-test-out: Regenerated.
15367 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15368 (hypot_test_data): Likewise.
15369 (pow_test_data): Likewise.
15370 (pow_tonearest_test_data): Likewise.
15371 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15373 (func_calc_desc): Add mpfr_ff_f union field.
15374 (FUNC_mpfr_ff_f): New macro.
15375 (test_functions): Add atan2, hypot and pow.
15376 (special_fill_min): New function.
15377 (special_fill_minus_min): Likewise.
15378 (special_fill_min_subnorm): Likewise.
15379 (special_fill_minus_min_subnorm): Likewise.
15380 (special_real_inputs): Add min, -min, min_subnorm and
15382 (calc_generic_results): Handle mpfr_ff_f.
15383 * sysdeps/i386/fpu/libm-test-ulps: Update.
15384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15386 2013-12-16 Will Newton <will.newton@linaro.org>
15388 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15389 (Aligned Memory Blocks): Add documentation for aligned_alloc
15390 and suggest it as an alternative to posix_memalign.
15391 (Hooks for Malloc): Document __memalign_hook is also called
15392 for aligned_alloc. (Summary of Malloc): Add summary for
15393 aligned alloc. Document __memalign_hook is also called
15396 2013-12-16 Will Newton <will.newton@linaro.org>
15398 * manual/memory.texi (Malloc Examples): Clarify default
15399 alignment documentation. Suggest posix_memalign rather
15400 than memalign or valloc.
15401 (Aligned Memory Blocks): Remove suggestion to use memalign
15402 or valloc. Remove obsolete comment about BSD.
15403 Document memalign errno values and mark the function obsolete.
15404 Document posix_memalign returned error codes. Mark valloc
15405 as obsolete. (Hooks for Malloc): __memalign_hook is also
15406 called for posix_memalign and valloc.
15407 (Summary of Malloc): Add posix_memalign to function summary.
15408 __memalign_hook is also called for posix_memalign and valloc.
15410 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15412 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15416 (sloww): Use mynumber union. Expand ternary operator into
15417 if-else statements.
15418 (cslow): use mynumber union.
15420 2013-12-16 Allan McRae <allan@archlinux.org>
15422 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15423 * configure: Regenerated.
15425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15428 * configure.ac: Added --enable-maintainer-mode. Check for
15429 autoconf when enabled.
15430 * configure: Regenerated.
15432 * nscd/nscd.service: New file.
15433 * nscd/nscd.tmpfiles: New file.
15435 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
15438 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15439 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15440 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15441 (strstr): Add __strstr_sse2_unaligned ifunc.
15442 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15443 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15444 (strcasestr): Remove __strcasestr_sse42 ifunc.
15445 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15449 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15451 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15452 * sysdeps/sh/bits/fenv.h: ... here.
15453 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15455 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15457 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15460 hypotf multiarch implementations.
15461 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15463 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15464 multiarch hypot for PPC64.
15465 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15466 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15467 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15468 multiarch hypotf for PPC64.
15470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15471 modff multiarch implementations.
15472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15475 multiarch modf for PPC64.
15476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15479 multiarch modff for PPC64.
15481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15482 and logl multiarch implementations.
15483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15486 multiarch logb for PPC64.
15487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15490 multiarch logb for PPC64.
15491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15494 multiarch logb for PPC64.
15496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15497 isinff multiarch implementation.
15498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15502 multiarch isinf for PPC64.
15503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15506 multiarch isinff for PPC64.
15508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15509 finitef multiarch implementation.
15510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15514 multiarch finite for PPC64.
15515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15518 multiarch finitef for PPC64.
15520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15521 lrint multiarch implementation.
15522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15526 multiarch llrint for PPC64.
15527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15528 multiarch lrint for PPC64.
15530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15531 copysignf multiarch implementation.
15532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15537 multiarch copysign for PPC64.
15538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15539 multiarch copysignf for PPC64.
15541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15542 multiarch implementation.
15543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15551 multiarch llround for PPC64.
15552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15553 multiarch trunc for PPC64.
15554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15555 multiarch truncf for PPC64.
15557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15558 multiarch implementation.
15559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15567 multiarch llround for PPC64.
15568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15569 multiarch round for PPC64.
15570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15571 multiarch roundf for PPC64.
15573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15574 multiarch implementation.
15575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15583 multiarch llround for PPC64.
15584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15585 multiarch floor for PPC64.
15586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15587 multiarch floorf for PPC64.
15589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15590 multiarch implementation.
15591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15599 multiarch llround for PPC64.
15600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15601 multiarch ceil for PPC64.
15602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15603 multiarch ceilf for PPC64.
15605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15606 multiarch implementation.
15607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15614 multiarch llround for PPC64.
15615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15616 multiarch lround for PPC64.
15618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15619 multiarch implementation.
15620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15627 multiarch isnan for PPC64.
15628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15629 multiarch isnanf for PPC64.
15631 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15632 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15633 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15634 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15635 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15638 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15644 multiarch implementations.
15645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15646 (__libc_ifunc_impl_list): Likewise.
15647 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15648 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15649 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15650 multiarch stpcpy for PPC64.
15652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15653 multiarch implementations.
15654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15655 (__libc_ifunc_impl_list): Likewise.
15656 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15657 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15658 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15659 multiarch strcpy for PPC64.
15661 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15662 redefine function name.
15663 (_wordcopy_fwd_dest_aligned): Likewise.
15664 (_wordcopy_bwd_aligned): Likewise.
15665 (_wordcopy_bwd_dest_aligned): Likewise.
15666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15667 multiarch implementations.
15668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15669 (__libc_ifunc_impl_list): Likewise.
15670 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15671 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15672 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15673 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15674 multiarch wcscpy for PPC64.
15676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15677 multiarch implementations.
15678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15679 (__libc_ifunc_impl_list): Likewise.
15680 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15681 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15682 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15683 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15684 multiarch wcscpy for PPC64.
15686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15687 multiarch implementations.
15688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15689 (__libc_ifunc_impl_list): Likewise.
15690 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15691 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15692 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15693 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15694 multiarch wcsrchr for PPC64.
15696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15697 multiarch implementations.
15698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15699 (__libc_ifunc_impl_list): Likewise.
15700 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15701 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15702 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15703 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15704 multiarch wcschr for PPC64.
15706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15707 multiarch implementations.
15708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15709 (__libc_ifunc_impl_list): Likewise.
15710 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15711 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15712 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15713 multiarch strchrnul for PPC64.
15715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15718 (__libc_ifunc_impl_list): Likewise.
15719 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15720 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15721 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15722 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15728 (__libc_ifunc_impl_list): Likewise.
15729 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15730 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15731 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15732 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15736 multiarch implementations.
15737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15738 (__libc_ifunc_impl_list): Likewise.
15739 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15740 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15741 strncasecmp for PPC64.
15742 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15743 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15744 multiarch strncasecmp_l for PPC64.
15746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15747 multiarch implementations.
15748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15749 (__libc_ifunc_impl_list): Likewise.
15750 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15751 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15752 multiarch strcasecmp for PPC64.
15753 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15756 multiarch strcasecmp_l for PPC64.
15758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15761 (__libc_ifunc_impl_list): Likewise.
15762 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15763 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15764 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15770 (__libc_ifunc_impl_list): Likewise.
15771 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15772 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15773 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15779 (__libc_ifunc_impl_list): Likewise.
15780 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15781 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15782 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15783 rawmemrchr for PPC64.
15785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15788 (__libc_ifunc_impl_list): Likewise.
15789 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15790 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15791 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15797 (__libc_ifunc_impl_list): Likewise.
15798 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15799 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15800 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15806 (__libc_ifunc_impl_list): Likewise.
15807 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15808 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15809 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15812 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15813 avoid cretion of __bzero symbol.
15814 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15816 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15818 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15821 multiarch implementations.
15822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15823 (__libc_ifunc_impl_list): Likewise.
15824 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15825 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15826 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15827 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15829 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15830 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15831 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15832 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15833 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15835 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15837 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15841 (__libc_ifunc_impl_list): Likewise.
15842 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15843 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15844 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15845 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15849 multiarch for POWER/PPC64.
15850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15851 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15852 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15853 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15854 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15855 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15856 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15857 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15858 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15861 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15862 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15863 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15864 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15865 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15866 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15867 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15868 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15869 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15870 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15871 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15872 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15873 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15874 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15875 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15884 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15886 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15888 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15890 * benchtests/Makefile (bench): Add exp2 and log2.
15891 (LDLIBS-bench-exp2): Add -lm.
15892 (LDLIBS-bench-log2): Likewise.
15893 * benchtests/exp2-inputs: New inputs file.
15894 * benchtests/log2-inputs: New inputs file.
15895 * benchtests/log-inputs: Add new inputs.
15896 * benchtests/tan-inputs: Likewise.
15898 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15900 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15902 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15903 (csloww2): ... from here.
15905 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15906 instead of structures.
15907 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15908 (POLYNOMIAL): Likewise.
15909 (TAYLOR_SLOW): Likewise.
15915 (sloww1); Likewise.
15916 (sloww2): Likewise.
15917 (bsloww1): Likewise.
15918 (bsloww2): Likewise.
15919 (cslow2): Likewise.
15920 (csloww): Likewise.
15921 (csloww1): Likewise.
15922 (csloww2): Likewise.
15924 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15926 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15927 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15928 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15929 * malloc/hooks.c (realloc_check): Likewise.
15931 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15932 * malloc/arena.c: Remove PER_THREAD conditional.
15933 [!PER_THREAD]: Remove code.
15934 (ptmalloc_unlock_all2): Likewise.
15935 (ptmalloc_init): Likewise.
15936 (_int_new_arena): Likewise.
15937 (arena_get2): Likewise.
15938 * malloc/hooks.c (__malloc_get_state): Likewise.
15939 (__malloc_set_state): Likewise.
15940 * malloc/malloc.c: Likewise.
15941 (struct malloc_state): Likewise.
15942 (struct malloc_par): Likewise.
15943 (__libc_realloc): Likewise.
15944 (__libc_mallopt): Likewise.
15946 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15948 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15950 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15952 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15953 macro to a function. Check for zero perturb_byte.
15954 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15956 * malloc/malloc.c: (force_reg): Remove.
15957 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15958 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15959 force_reg by atomic_forced_read.
15960 * malloc/arena.c (ptmalloc_init): Likewise.
15961 * malloc/hooks.c (top_check): Likewise.
15963 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15967 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15971 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15973 * math/auto-libm-test-in: Add tests of lgamma.
15974 * math/auto-libm-test-out: Regenerated.
15975 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15976 (M_LOG_2_SQRT_PIl): Likewise.
15977 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15978 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15980 (func_calc_desc): Add mpfr_f_f1 union field.
15981 (ARGS1): New macro.
15989 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15990 (test_functions): Add lgamma.
15991 (calc_generic_results): Handle mpfr_f_f1.
15992 * sysdeps/i386/fpu/libm-test-ulps: Update.
15993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15995 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15997 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15998 __mpn_add_n for PowerPC64/POWER7.
15999 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16000 __mpn_sub_n for PowerPC64/POWER7.
16002 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16003 __mpn_addmul_1 for PowerPC64.
16004 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16005 __mpn_submul_1 for PowerPC64.
16006 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16008 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16011 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16014 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16016 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16018 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16020 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16021 add multiarch folders.
16022 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16023 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16024 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16025 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16026 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16027 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16028 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16029 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16030 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16031 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16032 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16041 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16047 multiarch __ieee754_hypot for PowerPC32.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16053 multiarch __ieee754_hypotf for PowerPC32.
16055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16056 long_double_symbol only if __logbl is defined.
16057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16058 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16060 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16061 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16062 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16063 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16064 path for implementation.
16065 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16068 logb, and logbl multiarch implementations for PowerPC32.
16069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16074 multiarch logb for PowerPC32.
16075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16080 multiarch logbf for PowerPC32.
16081 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16085 multiarch logbl implementation for PowerPC32.
16087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16088 and modff multiarch implementations.
16089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16094 multiarch modf for PowerPC32.
16095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16100 multiarch modff for PowerPC32.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16103 and lrintf multiarch implementations.
16104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16109 multiarch lrint for PowerPC32.
16110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16111 file: multiarch lrintf for PowerPC32.
16113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16114 and lroundf multiarch implementations.
16115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16122 multiarch lround for PowerPC32.
16123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16124 file: multiarch lroundf for PowerPC32.
16126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16127 copysign and copysignf multiarch implementations.
16128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16133 file: multiarch copysign for PowerPC32.
16134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16135 file: multiarch copysignf for PowerPC32.
16137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16138 and truncf multiarch implementations.
16139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16144 multiarch trunc for PowerPC32.
16145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16150 multiarch truncf for PowerPC32.
16152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16153 and roundf multiarch implementations.
16154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16159 multiarch round for PowerPC32.
16160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16165 multiarch roundf for PowerPC32.
16167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16168 and floorf multiarch implementations.
16169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16174 multiarch floor for PowerPC32.
16175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16180 multiarch floorf for PowerPC32.
16182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16183 and ceilf multiarch implementations.
16184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16189 multiarch ceil for PowerPC32.
16190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16195 multiarch ceilf for PowerPC32.
16197 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16199 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16200 FINITEF is defined.
16201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16202 and finitef multiarch implementations.
16203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16208 multiarch finite for PowerPC32.
16209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16212 file: multiarch finitef for PowerPC32.
16214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16215 and isinff multiarch implementations.
16216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16221 multiarch isinf for PowerPC32.
16222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16225 multiarch isinff for PowerPC32.
16227 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16228 alias when __isnan is defined.
16229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16230 and isnanf multiarch implementations.
16231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16240 multiarch isnan for PowerPC32.
16241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16246 multiarch isnanf for PowerPC32.
16248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16249 and sqrtf multiarch implementations.
16250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16255 multiarch sqrt for PowerPC32.
16256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16261 multiarch sqrtf for PowerPC32.
16263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16264 and llroundf multiarch implementations.
16265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16272 file: multiarch llround for PowerPC32.
16273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16274 file: multiarch llroundf for PowerPC32.
16276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16277 multiarch PowerPC32 fpu implementations.
16278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16283 multiarch llrint for PowerPC32.
16284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16293 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16299 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16300 multiarch wordcopy for PPC32.
16301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16304 (__libc_ifunc_impl_list): Likewise.
16305 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16306 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16307 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16308 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16309 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16310 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16312 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16320 multiarch wcscpy for PPC32.
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16324 (__libc_ifunc_impl_list): Likewise.
16325 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16326 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16327 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16328 sysdeps/powerpc/power6/wcscpy.c.
16330 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16333 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16338 multiarch wcsrchr for PPC32.
16339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16342 (__libc_ifunc_impl_list): Likewise.
16343 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16344 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16345 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16346 sysdeps/powerpc/power6/wcsrchr.c.
16348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16354 multiarch wcschr for PPc32.
16355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16358 (__libc_ifunc_impl_list): Likewise.
16359 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16360 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16361 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16362 sysdeps/powerpc/power6/wcschr.c.
16364 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16365 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16367 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16368 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16369 file: multiarch strchr for PPC32.
16370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16373 (__libc_ifunc_impl_list): Likewise.
16375 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16377 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16379 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16381 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16382 multiarch strchrnul for PPC32.
16383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16386 (__libc_ifunc_impl_list): Likewise.
16388 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16390 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16391 multiarch strncasecmp for PPC32.
16392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16395 multiarch strncasecmp_l for PPC32.
16396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16397 strncasecmp multiarch objects.
16398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16399 (__libc_ifunc_impl_list): Likewise.
16401 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16403 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16404 multiarch strncasecmp for PPC32.
16405 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16407 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16408 multiarch strcasecmp_l for PPC32.
16409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16412 (__libc_ifunc_impl_list): Likewise.
16414 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16416 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16418 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16419 multiarch strncmp for PPC32.
16420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16423 (__libc_ifunc_impl_list): Likewise.
16425 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16426 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16428 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16429 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16433 (__libc_ifunc_impl_list): Likewise.
16435 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16437 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16439 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16443 (__libc_ifunc_impl_list): Likewise.
16445 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16447 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16449 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16450 multiarch rawmemchr for PPC32.
16451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16454 (__libc_ifunc_impl_list): Likewise.
16456 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16458 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16460 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16461 file: memrchr multiarch for PPC32.
16462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16465 (__libc_ifunc_impl_list): Likewise.
16467 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16468 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16470 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16471 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16472 multiarch memchr for PPC32.
16473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16476 (__libc_ifunc_impl_list): Likewise.
16478 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16479 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16481 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16483 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16484 file: multiarch mempcpy for PPC32.
16485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16488 (__libc_ifunc_impl_list): Likewise.
16490 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16491 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16492 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16493 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16494 multiarch bzero for PPC32.
16495 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16497 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16499 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16500 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16501 file: multiarch memset for PPC32.
16502 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16504 memset multiarch objects.
16505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16506 (__libc_ifunc_impl_list): Likewise.
16508 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16510 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16511 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16513 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16517 (__libc_ifunc_impl_list): Likewise.
16519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16521 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16523 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16525 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16528 multiarch memcpy for PPC32.
16529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16532 (__libc_ifunc_impl_list): Likewise.
16534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16535 support multiarch for POWER/PPC32.
16536 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16538 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16540 Implies file to make multiarch folder appers before the fpu and
16541 default folder for power4 configuration.
16543 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16545 * scripts/bench.pl: Append volatile keyword to type.
16547 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16549 * sysdeps/sh/sotruss-lib.c: New file.
16550 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16552 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16556 2013-12-05 Joseph Myers <joseph@codesourcery.com>
16559 * math/w_tgamma.c: Include <errno.h>.
16560 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16561 * math/w_tgammaf.c: Include <errno.h>.
16562 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16563 * math/w_tgammal.c: Include <errno.h>.
16564 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16565 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16566 underflow. Add more tgamma tests.
16567 * math/auto-libm-test-out: Regenerated.
16568 * sysdeps/i386/fpu/libm-test-ulps: Update.
16569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16571 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16572 sin, sinh, tan, tanh, tgamma, y0 and y1.
16573 * math/auto-libm-test-out: Regenerated.
16574 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16575 (TEST_COND_x86): Likewise.
16576 (M_E2l): Remove macro.
16578 (M_2_SQRT_PIl): Likewise.
16579 (M_SQRT_PIl): Likewise.
16580 (M_1_DIV_El): Likewise.
16581 (log_test_data): Use AUTO_TESTS_f_f.
16582 (log10_test_data): Likewise.
16583 (log1p_test_data): Likewise.
16584 (log2_test_data): Likewise.
16585 (sin_test_data): Likewise.
16586 (sin_tonearest_test_data): Likewise.
16587 (sin_towardzero_test_data): Likewise.
16588 (sin_downward_test_data): Likewise.
16589 (sin_upward_test_data): Likewise.
16590 (sinh_test_data): Likewise.
16591 (sinh_tonearest_test_data): Likewise.
16592 (sinh_towardzero_test_data): Likewise.
16593 (sinh_downward_test_data): Likewise.
16594 (sinh_upward_test_data): Likewise.
16595 (tan_test_data): Likewise.
16596 (tan_tonearest_test_data): Likewise.
16597 (tan_towardzero_test_data): Likewise.
16598 (tan_downward_test_data): Likewise.
16599 (tan_upward_test_data): Likewise.
16600 (tanh_test_data): Likewise.
16601 (tgamma_test_data): Likewise.
16602 (y0_test_data): Likewise.
16603 (y1_test_data): Likewise.
16604 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16605 (special_real_inputs): Add pi/4.
16606 * sysdeps/i386/fpu/libm-test-ulps: Update.
16607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16609 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16611 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16612 "longjmp_target" static probes.
16613 (__longjmp): Rename to __longjmp_symbol.
16614 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16615 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16616 on which longjmp to generate.
16617 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16618 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16620 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16621 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16622 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16623 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16624 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16625 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16627 __longjmp_symbol based on which __longjmp to generate.
16628 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16630 (setjmp): Rename to setjmp_symbol.
16631 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16632 (_setjmp): Rename to _setjmp_symbol.
16633 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16634 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16635 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16636 which setjmp to generate.
16637 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16638 "longjmp_target" static probes.
16640 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16642 * benchtests/README: Add note about output arguments.
16643 * benchtests/bench-sincos.c: Remove file.
16644 * benchtests/sincos-inputs: New file.
16645 * scripts/bench.pl: Identify output arguments and define
16646 static variables for them.
16648 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16651 * Makefile (INSTALL): Add install-plain.texi as the primary
16653 * manual/install-plain.texi: New file.
16654 * manual/install.texi: Include node directive only for
16655 non-plaintext output.
16657 2013-12-04 Joseph Myers <joseph@codesourcery.com>
16659 * stdlib/longlong.h: Update from GCC.
16663 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16664 * math/w_j0f.c (y0f): Likewise.
16665 * math/w_j0l.c (__y0l): Likewise.
16666 * math/w_j1.c (y1): Likewise.
16667 * math/w_j1f.c (y1f): Likewise.
16668 * math/w_j1l.c (__y1l): Likewise
16669 * math/w_jn.c (yn): Likewise.
16670 * math/w_jnf.c (ynf): Likewise.
16671 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16672 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16673 value for Bessel function domain errors outside _SVID_ mode.
16674 Adjust sign of return value for yn (negative integer, 0).
16675 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16676 by zero in return for negative x and set sign appropriately for
16678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16679 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16680 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16681 expectations in error cases.
16682 (y1_test_data): Likewise.
16683 (yn_test_data): Likewise.
16684 * sysdeps/i386/fpu/libm-test-ulps: Update.
16685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16687 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16689 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16690 "64" to "64-v1". Add "64-v2".
16691 (abi-64-options): Rename to ...
16692 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16693 (abi-64-condition): Rename to ...
16694 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16695 (abi-64-ld-soname): Rename to ...
16696 (abi-64-v1-ld-soname): ... this.
16697 (abi-64-v2-options): Define.
16698 (abi-64-v2-condition): Likewise.
16699 (abi-64-v2-ld-soname): Likewise.
16700 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16701 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16706 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16707 Alan Modra <amodra@gmail.com>
16709 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16710 New versions for use with the ELFv2 ABI.
16711 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16712 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16714 (struct La_ppc64v2_retval): Likewise.
16715 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16716 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16717 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16718 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16719 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16720 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16721 Do not save or restore CR.
16722 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16723 (_dl_profile_resolve): Do no save or restore CR. Support extended
16724 return values for ELFv2 ABI. Fix location of FPR return registers.
16725 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16726 updated values for _CALL_ELF == 2.
16727 (La_regs, La_retval, int_retval): Likewise.
16729 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16731 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16732 (FRAME_MIN_SIZE_PARM): Likewise.
16733 (FRAME_BACKCHAIN): Likewise.
16734 (FRAME_CR_SAVE): Likewise.
16735 (FRAME_LR_SAVE): Likewise.
16736 (FRAME_TOC_SAVE): Likewise.
16737 (FRAME_PARM_SAVE): Likewise.
16738 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16739 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16740 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16741 (call_mcount_parm_offset): New macro.
16742 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16743 (PROF): Use symbolic stack frame offsets.
16744 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16745 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16746 Redefine in terms of FRAME_MIN_SIZE.
16747 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16748 (_dl_profile_resolve): Likewise. Update comment.
16749 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16750 symbols stack frame offsets.
16751 (__sigsetjmp): Likewise.
16752 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16753 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16754 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16755 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16758 (FRAME_BACKCHAIN): Remove.
16759 (FRAME_CR_SAVE): Likewise.
16760 (FRAME_LR_SAVE): Likewise.
16761 (FRAME_COMPILER_DW): Likewise.
16762 (FRAME_LINKER_DW): Likewise.
16763 (FRAME_TOC_SAVE): Likewise.
16764 (FRAME_PARM_SAVE): Likewise.
16765 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16766 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16767 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16769 (CHECK_SP): Use symbolic stack frame offsets.
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16771 zone" instead of caller's parameter save area for temp storage.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16773 Likewise. Also, use symbolic stack frame offsets.
16774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16775 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16776 our own stack frame instead of the caller's.
16777 (__socket): Use symbolic stack frame offsets.
16779 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16780 Alan Modra <amodra@gmail.com>
16782 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16784 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16785 (PPC64_LOCAL_ENTRY_OFFSET): Define.
16786 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16788 (elf_machine_fixup_plt): Call it.
16789 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16791 (elf_machine_rela): Update call to elf_machine_plt_conflict.
16792 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16793 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16794 r2 before calling target.
16796 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16797 Alan Modra <amodra@gmail.com>
16799 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16800 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16801 versions of macros to support ELFv2 ABI.
16802 (LOCALENTRY): New macro.
16803 (ENTRY, EALIGN): Use it.
16804 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16805 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16806 fall through into ENTRY entry point.
16807 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16808 Only define if _CALL_ELF != 2.
16810 (elf_machine_matches_host): Verify ABI version matches.
16811 (RTLD_START): Use LOCALENTRY.
16812 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16813 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16814 (PLT_ENTRY_WORDS): New macro.
16815 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16816 (elf_machine_runtime_setup): Support ELFv2 ABI.
16817 (elf_machine_fixup_plt): Likewise.
16818 (elf_machine_plt_conflict): Likewise.
16819 (resolve_ifunc): Likewise.
16820 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16821 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16824 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16826 (makecontext): Support ELFv2 ABI.
16827 * elf/elf.h (EF_PPC64_ABI): Define.
16829 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16831 * sysdeps/powerpc/powerpc64/sysdep.h
16832 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16833 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16834 (ENTRY) [ASSEMBLER]: ... but instead here ...
16835 (EALIGN) [ASSEMBLER]: ... and here.
16836 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16837 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16838 (ENTRY_2) [!ASSEMBLER]: Use it.
16839 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16840 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16841 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16842 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16843 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16845 Use PPC64_LOAD_FUNCPTR.
16847 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16849 2013-12-04 Alan Modra <amodra@gmail.com>
16851 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16852 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16853 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16854 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16857 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16858 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16859 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16860 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16861 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16863 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16866 (__makecontext): Fix incorrect CFI when backtracing out of
16867 context created via makecontext.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16869 (__setcontext): Fix incorrect CFI during switch to new context.
16870 (__novec_setcontext): Likewise.
16872 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16875 * time/strptime_l.c (__strptime_internal): Allow modifiers
16877 * time/tst-strptime.c (day_tests): Add testcase.
16879 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16881 * scripts/bench.pl: Skip over blank lines.
16883 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16886 * manual/time.texi (Calendar Time): Clarify what timezone functions
16889 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16893 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16895 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16897 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16898 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16899 * debug/memset_chk.c (__memset_chk): Likewise.
16900 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16901 * debug/strncpy_chk.c: Likewise.
16903 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16907 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16908 (__ieee754_exp): For possibly underflowing results, check size of
16909 result and force underflow exception if required.
16910 * math/auto-libm-test-in: Add more tests of exp.
16911 * math/auto-libm-test-out: Regenerated.
16912 * sysdeps/i386/fpu/libm-test-ulps: Update.
16913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16916 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16917 * math/w_exp2f.c (__exp2f): Likewise.
16918 * math/w_exp2l.c (__exp2l): Likewise.
16919 * math/auto-libm-test-in: Do not allow missing errno on exp2
16921 * math/auto-libm-test-out: Regenerated.
16923 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16926 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16927 handle filename validation.
16928 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16931 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16934 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16935 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16936 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16938 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16939 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16940 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16941 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16942 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16943 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16944 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16945 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16946 Add more erfc tests.
16947 * math/auto-libm-test-out: Regenerated.
16948 * sysdeps/i386/fpu/libm-test-ulps: Update.
16949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16951 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16952 exp2, expm1, j0 and j1.
16953 * math/auto-libm-test-out: Regenerated.
16954 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16955 (erfc_test_data): Likewise.
16956 (exp_test_data): Likewise.
16957 (exp_tonearest_test_data): Likewise.
16958 (exp_towardzero_test_data): Likewise.
16959 (exp_downward_test_data): Likewise.
16960 (exp_upward_test_data): Likewise.
16961 (exp10_test_data): Likewise.
16962 (exp2_test_data): Likewise.
16963 (expm1_test_data): Likewise.
16964 (j0_test_data): Likewise.
16965 (j1_test_data): Likewise.
16966 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16967 (input_flag_type): Add flag_xfail_rounding.
16968 (input_flags): Add xfail-rounding.
16969 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16970 (output_for_one_input_case): Handle flag_xfail_rounding.
16971 * sysdeps/i386/fpu/libm-test-ulps: Update.
16972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16974 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16977 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16980 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16983 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16984 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16985 (STAP_PROBE0): New macro.
16986 (STAP_PROBE1): Likewise.
16987 (STAP_PROBE2): Likewise.
16988 (STAP_PROBE3): Likewise.
16989 (STAP_PROBE4): Likewise.
16991 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16993 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16995 2013-12-02 Steve Ellcey <sellcey@mips.com>
16997 * benchtests/Makefile (bench): Add sqrt.
16998 (LDLIBS-bench-sqrt): New.
16999 * benchtests/sqrt-input: New.
17001 2013-12-02 Pavel Simerda <psimerda@redhat.com>
17003 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17004 (GAIH_EAI): Likewise.
17005 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17006 (gaih_inet): Likewise.
17007 (getaddrinfo): Don't use GAIH_EAI.
17009 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17010 (struct gaih): Remove definition.
17012 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17014 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17015 Use HERRNOP directly.
17017 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17021 2013-11-30 Joseph Myers <joseph@codesourcery.com>
17023 * math/gen-auto-libm-tests.c (test_functions): Add more
17024 single-argument functions.
17025 (special_fill_pi_2): New function.
17026 (special_fill_minus_pi_2): Likewise.
17027 (special_fill_pi_6): Likewise.
17028 (special_fill_minus_pi_6): Likewise.
17029 (special_fill_pi_3): Likewise.
17030 (special_fill_2pi_3): Likewise.
17031 (special_fill_e): Likewise.
17032 (special_fill_1_e): Likewise.
17033 (special_fill_e_minus_1): Likewise.
17034 (special_real_inputs): Add more special inputs.
17035 (output_for_one_input_case): Do not require ERANGE on underflow to
17036 zero if round-to-nearest result does not underflow to zero, unless
17037 exact results required.
17038 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17039 atan, atanh, cbrt, cos and cosh.
17040 * math/auto-libm-test-out: Regenerated.
17041 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17042 (acos_tonearest_test_data): Likewise.
17043 (acos_towardzero_test_data): Likewise.
17044 (acos_downward_test_data): Likewise.
17045 (acos_upward_test_data): Likewise.
17046 (acosh_test_data): Likewise.
17047 (asin_test_data): Likewise.
17048 (asin_tonearest_test_data): Likewise.
17049 (asin_towardzero_test_data): Likewise.
17050 (asin_upward_test_data): Likewise.
17051 (asinh_test_data): Likewise.
17052 (atan_test_data): Likewise.
17053 (atanh_test_data): Likewise.
17054 (cbrt_test_data): Likewise.
17055 (cos_test_data): Likewise.
17056 (cos_tonearest_test_data): Likewise.
17057 (cos_towardzero_test_data): Likewise.
17058 (cos_downward_test_data): Likewise.
17059 (cos_upward_test_data): Likewise.
17060 (cosh_test_data): Likewise.
17061 (cosh_tonearest_test_data): Likewise.
17062 (cosh_towardzero_test_data): Likewise.
17063 (cosh_downward_test_data): Likewise.
17064 (cosh_upward_test_data): Likewise.
17065 * sysdeps/i386/fpu/libm-test-ulps: Update.
17066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17068 2013-11-29 Joseph Myers <joseph@codesourcery.com>
17071 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17072 * math/w_exp10f.c (__exp10f): Likewise.
17073 * math/w_exp10l.c (__exp10l): Likewise.
17074 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17075 errno settings in existing tests.
17078 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17079 precision control set to double precision.
17080 * sysdeps/i386/fpu/w_sqrt.c: New file.
17081 * math/auto-libm-test-in: Add more tests.
17082 * math/auto-libm-test-out: Update.
17084 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17085 (sqrt_test_tonearest): New function.
17086 (sqrt_towardzero_test_data): New variable.
17087 (sqrt_test_towardzero): New function.
17088 (sqrt_downward_test_data): New variable.
17089 (sqrt_test_downward): New function.
17090 (sqrt_upward_test_data): New variable.
17091 (sqrt_test_upward): New function.
17092 (main): Call the new functions.
17094 * math/gen-auto-libm-tests.c: New file.
17095 * math/auto-libm-test-in: Likewise.
17096 * math/auto-libm-test-out: New generated file.
17097 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17099 (%beautify): Add generated representations of zero.
17100 (top level): Set $auto_input and call parse_auto_input.
17101 (beautify): Remove trailing "f" from hex float constants.
17102 (parse_args): Handle XFAIL_TEST.
17103 (convert_condition): New function.
17104 (or_value): Likewise.
17105 (or_cond_value): Likewise.
17106 (generate_testfile): Handle AUTO_TESTS_* lines.
17107 (parse_auto_input): New function.
17108 * math/libm-test.inc (XFAIL_TEST): New macro.
17109 (ERRNO_UNCHANGED): Update value.
17110 (ERRNO_EDOM): Likewise.
17111 (ERRNO_ERANGE): Likewise.
17112 (IGNORE_RESULT): Likewise.
17113 (TEST_COND_flt_32): New macro.
17114 (TEST_COND_dbl_64): Likewise.
17115 (TEST_COND_ldbl_96_intel): Likewise.
17116 (TEST_COND_ldbl_96_m68k): Likewise.
17117 (TEST_COND_ldbl_128): Likewise.
17118 (TEST_COND_ldbl_128ibm): Likewise.
17119 (TEST_COND_long32): Likewise.
17120 (TEST_COND_long64): Likewise.
17121 (TEST_COND_before_rounding): Likewise.
17122 (TEST_COND_after_rounding): Likewise.
17123 (enable_test): Handle XFAIL_TEST flag.
17124 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17125 with finite results.
17126 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17127 auto-libm-test-out.
17129 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17130 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17133 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17134 __tls_get_addr_internal instead of __tls_get_offset in order to
17135 avoid GOT pointer dependency. Make rtld export
17136 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17137 __tls_get_addr since we are a __tls_get_offset platform.
17138 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17139 GOT pointer being set up before.
17140 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17142 2013-11-28 Joseph Myers <joseph@codesourcery.com>
17144 * manual/math.texi (Errors in Math Functions): Document accuracy
17148 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17149 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17150 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17151 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17152 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17153 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17154 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17155 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17156 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17157 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17158 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17159 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17160 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17161 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17162 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17163 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17165 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17166 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17167 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17168 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17169 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17171 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17173 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17175 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17176 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17177 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17178 atomic-feupdateenv and flt-rounds.
17179 * sysdeps/powerpc/nofpu/Versions (libc): Add
17180 __atomic_feholdexcept, __atomic_feclearexcept,
17181 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17182 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17183 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17184 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17185 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17190 * manual/arith.texi (FP Exceptions): Document that exceptions may
17191 not be raised when matherr is used.
17192 (Math Error Reporting): Document overflow in directed rounding
17193 modes. Document that errno may not be set when finite values are
17194 returned on overflow. Document intent to set errno on underflow
17195 only for underflow to zero.
17198 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17199 round-to-nearest then adjust result for other rounding modes.
17200 * include/fenv.h (fegetround): Use libm_hidden_proto.
17201 * math/fegetround.c (fegetround): Use libm_hidden_def.
17202 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17203 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17204 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17205 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17207 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17209 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17210 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17212 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17215 * nss/Versions (libnss_files): Add
17216 _nss_files_gethostbyname3_r.
17217 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17219 (HOST_DB_LOOKUP): Remove macro.
17220 (_nss_files_gethostbyname_r): Implement function without the
17221 HOST_DB_LOOKUP macro.
17222 (_nss_files_gethostbyname2_r): Likewise.
17224 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
17226 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17228 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
17230 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17231 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17234 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17236 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17237 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17238 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17239 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17240 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17241 __fe_nomask_env_priv and attribute_hidden.
17242 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17243 (libc_feupdateenv_test_ppc): Likewise.
17244 (libc_feresetround_ppc): Likewise.
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17246 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17247 compat_symbol macro.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17249 (__fe_nomask_env): Likewise.
17250 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17252 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17254 * string/Makefile: Remove ifunc tests.
17255 * string/test-string.h: Define TEST_IFUNC.
17256 * string/test-bcopy-ifunc.c: Remove.
17257 * string/test-bzero-ifunc.c: Likewise.
17258 * string/test-memccpy-ifunc.c: Likewise.
17259 * string/test-memchr-ifunc.c: Likewise.
17260 * string/test-memcmp-ifunc.c: Likewise.
17261 * string/test-memcpy-ifunc.c: Likewise.
17262 * string/test-memmem-ifunc.c: Likewise.
17263 * string/test-memmove-ifunc.c: Likewise.
17264 * string/test-mempcpy-ifunc.c: Likewise.
17265 * string/test-memrchr-ifunc.c: Likewise.
17266 * string/test-memset-ifunc.c: Likewise.
17267 * string/test-rawmemchr-ifunc.c: Likewise.
17268 * string/test-stpcpy-ifunc.c: Likewise.
17269 * string/test-stpncpy-ifunc.c: Likewise.
17270 * string/test-strcasecmp-ifunc.c: Likewise.
17271 * string/test-strcasestr-ifunc.c: Likewise.
17272 * string/test-strcat-ifunc.c: Likewise.
17273 * string/test-strchr-ifunc.c: Likewise.
17274 * string/test-strchrnul-ifunc.c: Likewise.
17275 * string/test-strcmp-ifunc.c: Likewise.
17276 * string/test-strcpy-ifunc.c: Likewise.
17277 * string/test-strcspn-ifunc.c: Likewise.
17278 * string/test-strlen-ifunc.c: Likewise.
17279 * string/test-strncasecmp-ifunc.c: Likewise.
17280 * string/test-strncat-ifunc.c: Likewise.
17281 * string/test-strncmp-ifunc.c: Likewise.
17282 * string/test-strncpy-ifunc.c: Likewise.
17283 * string/test-strnlen-ifunc.c: Likewise.
17284 * string/test-strpbrk-ifunc.c: Likewise.
17285 * string/test-strrchr-ifunc.c: Likewise.
17286 * string/test-strspn-ifunc.c: Likewise.
17287 * string/test-strstr-ifunc.c: Likewise.
17289 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17291 * benchtests/Makefile: Remove ifunc tests.
17292 * benchtests/bench-string.h: Define TEST_IFUNC.
17293 * benchtests/bench-bcopy-ifunc.c: Remove.
17294 * benchtests/bench-bzero-ifunc.c: Likewise.
17295 * benchtests/bench-memccpy-ifunc.c: Likewise.
17296 * benchtests/bench-memchr-ifunc.c: Likewise.
17297 * benchtests/bench-memcmp-ifunc.c: Likewise.
17298 * benchtests/bench-memcpy-ifunc.c: Likewise.
17299 * benchtests/bench-memmem-ifunc.c: Likewise.
17300 * benchtests/bench-memmove-ifunc.c: Likewise.
17301 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17302 * benchtests/bench-memrchr-ifunc.c: Likewise.
17303 * benchtests/bench-memset-ifunc.c: Likewise.
17304 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17305 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17306 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17307 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17308 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17309 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17310 * benchtests/bench-strcat-ifunc.c: Likewise.
17311 * benchtests/bench-strchr-ifunc.c: Likewise.
17312 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17313 * benchtests/bench-strcmp-ifunc.c: Likewise.
17314 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17315 * benchtests/bench-strcpy-ifunc.c: Likewise.
17316 * benchtests/bench-strcspn-ifunc.c: Likewise.
17317 * benchtests/bench-strlen-ifunc.c: Likewise.
17318 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17319 * benchtests/bench-strncat-ifunc.c: Likewise.
17320 * benchtests/bench-strncmp-ifunc.c: Likewise.
17321 * benchtests/bench-strncpy-ifunc.c: Likewise.
17322 * benchtests/bench-strnlen-ifunc.c: Likewise.
17323 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17324 * benchtests/bench-strrchr-ifunc.c: Likewise.
17325 * benchtests/bench-strsep-ifunc.c: Likewise.
17326 * benchtests/bench-strspn-ifunc.c: Likewise.
17327 * benchtests/bench-strstr-ifunc.c: Likewise.
17329 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17331 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17333 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17335 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17336 * rt/aio.h: Likewise.
17337 * sysdeps/gnu/bits/utmp.h: Likewise.
17338 * sysdeps/gnu/bits/utmpx.h: Likewise.
17339 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17340 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17341 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17342 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17343 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17344 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17345 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17346 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17347 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17348 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17349 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17350 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17351 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17353 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17354 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17355 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17356 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17357 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17358 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17359 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17360 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17361 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17362 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17363 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17365 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17366 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17367 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17368 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17369 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17370 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17371 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17372 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17373 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17374 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17375 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17376 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17377 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17378 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17379 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17380 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17382 2013-11-25 Carlos O'Donell <carlos@redhat.com>
17385 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17386 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17388 2013-11-25 Joseph Myers <joseph@codesourcery.com>
17390 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17391 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17394 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17396 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17397 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17398 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17399 (__fesetround): Remove define.
17400 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17401 rounding and exceptions handling.
17402 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17403 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17404 (__fe_nomask_env): Likewise.
17405 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17406 __fegetround instead of fegetround.
17407 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17408 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17410 2013-11-21 Roland McGrath <roland@hack.frob.com>
17412 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17415 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17417 2013-11-21 Meador Inge <meadori@codesourcery.com>
17420 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17421 (encrypt_r): Likewise.
17422 * malloc/obstack.h (obstack_free): Likewise.
17423 * posix/unistd.h (encrypt): Likewise.
17425 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17427 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17428 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17429 DL_CALL_DT_FINI() that call the functions directly.
17430 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17431 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17432 * elf/dl-fini.c: Likewise.
17434 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
17436 * malloc/hooks.c (memalign_check): Add alignment rounding.
17437 * malloc/malloc.c (_mid_memalign): New function.
17438 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17439 Implement by calling _mid_memalign.
17440 * manual/probes.texi (Memory Allocation Probes): Remove
17441 memory_valloc_retry and memory_pvalloc_retry.
17443 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17445 * locale/programs/locarchive.c (open_archive): Add const
17446 qualifier to ARCHIVEFNAME and copy default fname to
17450 * libio/tst-widetext.input: Rename Oriya to Odia.
17451 * locale/iso-639.def: Likewise.
17453 * manual/probes.texi (Mathematical Function Probes): Add
17454 documentation for sin, cos, asin and acos probes.
17455 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17456 (__sin32): Add slowasin probe.
17457 (__cos32): Add slowacos probe.
17458 (__mpsin): Add slowsin probe.
17459 (__mpcos): Add slowcos probe.
17461 2013-11-19 Joseph Myers <joseph@codesourcery.com>
17464 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17465 thread-local __sim_exceptions_thread and global
17466 __sim_exceptions_global.
17467 (__sim_disabled_exceptions): Change to thread-local
17468 __sim_disabled_exceptions_thread and global
17469 __sim_disabled_exceptions_global.
17470 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17471 and global __sim_round_mode_global.
17472 (__simulate_exceptions): Use thread-local floating-point state and
17473 set global state from it as needed.
17474 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17475 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17476 __sim_round_mode_thread.
17477 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17478 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17479 and global __sim_exceptions_global.
17480 (__sim_disabled_exceptions): Change to thread-local
17481 __sim_disabled_exceptions_thread and global
17482 __sim_disabled_exceptions_global.
17483 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17484 and global __sim_round_mode_global.
17485 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17486 (SIM_SET_GLOBAL): Likewise.
17487 * sysdeps/powerpc/soft-fp/sfp-machine.h
17488 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17489 __sim_round_mode_thread.
17490 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17491 __sim_disabled_exceptions_thread.
17492 (__sim_exceptions): Change to __sim_exceptions_thread.
17493 (__sim_disabled_exceptions): Change to
17494 __sim_disabled_exceptions_thread.
17495 (__sim_round_mode): Change to __sim_round_mode_thread.
17496 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17497 thread-local floating-point state and set global state from it as
17499 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17500 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17501 (__sim_disabled_exceptions): Remove extern declaration.
17502 (feenableexcept): Use thread-local floating-point state and set
17503 global state from it as needed.
17504 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17505 extern declaration.
17506 (__sim_disabled_exceptions): Likewise.
17507 (__sim_round_mode): Likewise.
17508 (__fegetenv): Use thread-local floating-point state.
17509 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17510 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17511 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17512 floating-point state and set global state from it as needed.
17513 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17514 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17515 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17517 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17518 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17520 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17521 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17522 Use __sim_round_mode_thread.
17523 * math/test-fenv-tls.c: New file.
17524 * math/Makefile (tests): Add test-fenv-tls.
17525 ($(objpfx)test-fenv-tls): Depend on
17526 $(common-objpfx)nptl/libpthread.so.
17528 2013-11-19 Andreas Schwab <schwab@suse.de>
17530 * locale/programs/locale.c (show_info): Decode wordarray elements.
17531 * locale/categories.def (LC_MONETARY): Add element for
17532 _NL_MONETARY_CRNCYSTR.
17533 * locale/C-monetary.c (conversion_rate): New variable.
17534 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17537 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17539 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17540 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17542 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17544 * elf/Makefile (tst-auxv): New test.
17545 * elf/tst-auxv.c: New
17546 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17548 2013-11-18 Joseph Myers <joseph@codesourcery.com>
17550 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17551 (hidden_proto): Caller changed.
17552 (hidden_tls_proto): New macro.
17553 (libc_hidden_tls_proto): Likewise.
17554 (rtld_hidden_tls_proto): Likewise.
17555 (libm_hidden_tls_proto): Likewise.
17556 (libresolv_hidden_tls_proto): Likewise.
17557 (librt_hidden_tls_proto): Likewise.
17558 (libdl_hidden_tls_proto): Likewise.
17559 (libnss_files_hidden_tls_proto): Likewise.
17560 (libnsl_hidden_tls_proto): Likewise.
17561 (libnss_nisplus_hidden_tls_proto): Likewise.
17562 (libutil_hidden_tls_proto): Likewise.
17564 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
17567 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17568 (decompose_rpath): Defer expansion to fillin_rpath.
17569 (_dl_init_paths): Pass linkmap to fillin_rpath.
17571 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17573 * benchtests/Makefile: Add strsep.
17574 * benchtests/bench-strsep.c: New file: strsep benchtest.
17575 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17577 2013-11-18 Andreas Schwab <schwab@suse.de>
17579 * locale/programs/locale.c (show_info) [case byte]: Check for
17580 '\377' instead of '\177'.
17581 * locale/C-monetary.c (not_available): Always use "\377".
17582 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17583 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17584 detect unavailable sign_posn locale elements.
17585 * locale/localeconv.c (__localeconv): For grouping and
17586 mon_grouping handle "\177" and "\377" like no grouping.
17587 (INT_ELEM): New macro. Use it to set all numeric members.
17588 * locale/programs/ld-monetary.c (monetary_read)
17589 <tok_mon_grouping>: Normalize single -1 to the empty string.
17590 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17593 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17596 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17597 when we match (nil).
17598 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17600 2013-11-16 Joseph Myers <joseph@codesourcery.com>
17602 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17603 (NO_TEST_INLINE): Update value.
17604 (ERRNO_UNCHANGED): Likewise.
17605 (ERRNO_EDOM): Likewise.
17606 (ERRNO_ERANGE): Likewise.
17607 (IGNORE_RESULT): Likewise.
17608 (check_float_internal): Check signs of NaN results if
17609 TEST_NAN_SIGN used.
17610 (check_complex): Pass TEST_NAN_SIGN flag through to second
17611 check_float_internal call.
17612 (copysign_test_data): Add tests with quiet NaNs as second
17613 argument. Use TEST_NAN_SIGN.
17614 (fabs_test_data): Add test of negative quiet NaN argument. Use
17616 (signbit_test_data): Add tests of quiet NaN argument.
17617 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17619 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17621 (parse_args): Handle function results specified as IGNORE.
17622 * math/libm-test.inc (IGNORE_RESULT): New macro.
17623 (check_float_internal): Do not check numerical result if flag
17625 (check_complex): Pass through IGNORE_RESULT to second
17626 check_float_internal call.
17627 (check_int): Do not check numerical result if flag IGNORE_RESULT
17629 (check_long): Likewise.
17630 (check_bool): Likewise.
17631 (check_longlong): Likewise.
17632 (lrint_test_data): Add tests of infinite and NaN arguments.
17633 (lrint_tonearest_test_data): Likewise.
17634 (lrint_towardzero_test_data): Likewise.
17635 (lrint_downward_test_data): Likewise.
17636 (lrint_upward_test_data): Likewise.
17637 (llrint_test_data): Likewise.
17638 (llrint_tonearest_test_data): Likewise.
17639 (llrint_towardzero_test_data): Likewise.
17640 (llrint_downward_test_data): Likewise.
17641 (llrint_upward_test_data): Likewise.
17642 (lround_test_data): Likewise.
17643 (llround_test_data): Likewise.
17645 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17646 (ERRNO_UNCHANGED): Update value.
17647 (ERRNO_EDOM): Likewise.
17648 (ERRNO_ERANGE): Likewise.
17649 (NO_TEST_INLINE_FLOAT): New macro.
17650 (NO_TEST_INLINE_DOUBLE): Likewise.
17651 (enable_test): New function.
17652 (RUN_TEST_f_f): Check enable_test before running test.
17653 (RUN_TEST_2_f): Likewise.
17654 (RUN_TEST_fff_f): Likewise.
17655 (RUN_TEST_c_f): Likewise.
17656 (RUN_TEST_f_f1): Likewise.
17657 (RUN_TEST_fF_f1): Likewise.
17658 (RUN_TEST_fI_f1): Likewise.
17659 (RUN_TEST_ffI_f1): Likewise.
17660 (RUN_TEST_c_c): Likewise.
17661 (RUN_TEST_cc_c): Likewise.
17662 (RUN_TEST_f_i): Likewise.
17663 (RUN_TEST_f_i_tg): Likewise.
17664 (RUN_TEST_ff_i_tg): Likewise.
17665 (RUN_TEST_f_b): Likewise.
17666 (RUN_TEST_f_b_tg): Likewise.
17667 (RUN_TEST_f_l): Likewise.
17668 (RUN_TEST_f_L): Likewise.
17669 (RUN_TEST_fFF_11): Likewise.
17670 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17672 (cosh_test_data): Likewise.
17673 (exp_test_data): Likewise.
17674 (expm1_test_data): Likewise.
17675 (hypot_test_data): Likewise.
17676 (pow_test_data): Likewise.
17677 (sinh_test_data): Likewise.
17678 (tanh_test_data): Likewise.
17679 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17682 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17683 tests with quiet NaN input and output.
17684 (acosh_test_data): Likewise.
17685 (asin_test_data): Likewise.
17686 (asinh_test_data): Likewise.
17687 (atan_test_data): Likewise.
17688 (atanh_test_data): Likewise.
17689 (atan2_test_data): Likewise.
17690 (cbrt_test_data): Likewise.
17691 (cos_test_data): Likewise.
17692 (cosh_test_data): Likewise.
17693 (erf_test_data): Likewise.
17694 (erfc_test_data): Likewise.
17695 (exp_test_data): Likewise.
17696 (exp10_test_data): Likewise.
17697 (exp2_test_data): Likewise.
17698 (expm1_test_data): Likewise.
17699 (hypot_test_data): Likewise.
17700 (j0_test_data): Likewise.
17701 (j1_test_data): Likewise.
17702 (jn_test_data): Likewise.
17703 (lgamma_test_data): Likewise.
17704 (log_test_data): Likewise.
17705 (log10_test_data): Likewise.
17706 (log1p_test_data): Likewise.
17707 (log2_test_data): Likewise.
17708 (pow_test_data): Likewise.
17709 (scalb_test_data): Likewise.
17710 (sin_test_data): Likewise.
17711 (sincos_test_data): Likewise.
17712 (sinh_test_data): Likewise.
17713 (tan_test_data): Likewise.
17714 (tanh_test_data): Likewise.
17715 (tgamma_test_data): Likewise.
17716 (y0_test_data): Likewise.
17717 (y1_test_data): Likewise.
17718 (yn_test_data): Likewise.
17721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17722 argument being NaN and avoid computations with second argument in
17724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17725 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17726 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17728 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17730 * locale/iso-639.def: Add Chitwani Tharu (the).
17732 2013-11-14 Andreas Schwab <schwab@suse.de>
17734 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17735 word instead of empty string.
17737 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17740 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17742 (__fe_nomask_env): Likewise.
17744 2013-11-13 Steve Ellcey <sellcey@mips.com>
17746 * benchtests/bench-timing.h: Include time.h.
17748 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17751 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17753 * sysdeps/unix/sysv/linux/configure: Regenerated.
17755 2013-11-13 Joseph Myers <joseph@codesourcery.com>
17758 * stdlib/strtod_l.c (round_and_return): Do not consider
17759 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17760 exponent one less than half the least subnormal exponent.
17761 * stdlib/test-strtod-round-data: Add more tests.
17762 * stdlib/tst-strtod-round.c (tests): Regenerated.
17764 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17767 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17768 (__fe_mask_env): Likewise.
17769 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17770 libm_hidden_proto and add function prototype.
17771 (__fe_mask_env): Add function prototype.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17773 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17775 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17777 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17779 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17781 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17782 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17784 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17786 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17787 of htab_find_slot().
17789 2013-11-11 David S. Miller <davem@davemloft.net>
17792 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17793 symbol in the non-vis3 case in static builds.
17794 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17795 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17796 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17797 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17799 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17802 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17805 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17807 * benchtests/Makefile: Add bench-strtod.
17808 * benchtests/bench-strtod.c: New file: strtod benchtest
17810 2013-11-11 Andreas Schwab <schwab@suse.de>
17813 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17814 terminating NUL in key length.
17816 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17818 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17819 Add artificial ODP entry for vDSO symbol for PPC64.
17820 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17821 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17823 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17826 * nss/getent.c (services_keys): Recognize services starting with digit.
17828 2013-11-06 David S. Miller <davem@davemloft.net>
17831 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17832 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17834 2013-11-06 Will Newton <will.newton@linaro.org>
17836 * manual/memory.texi (Malloc Examples): Remove register
17837 keyword from examples.
17839 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17841 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17843 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17846 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17847 depending on [__GCC_IEC_559 > 0].
17848 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17849 depending on [__GCC_IEC_559_COMPLEX > 0].
17851 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17853 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17856 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17858 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17860 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17863 * malloc/malloc (malloc_info): Do not handle first bin as
17866 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17868 * locale/iso-639.def: Add Central Nahuatl (nhn).
17870 2013-11-01 Bruno Haible <bruno@clisp.org>
17873 * manual/math.texi (BSD Random): Specify range upper bound as
17876 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17878 * locale/iso-639.def: Add Meadow Mari (mhr).
17880 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17882 [BZ #14752], [BZ #15763]
17883 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17885 * rt/tst_shm.c: Add test for escaping directory.
17887 2013-10-31 Andreas Schwab <schwab@suse.de>
17890 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17891 followed by 'x' as part of digit sequence.
17892 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17894 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17897 * configure.ac: allow GNU Make 4.0 and greater.
17898 * configure: Regenerated.
17900 2013-10-30 Will Newton <will.newton@linaro.org>
17903 * malloc/hooks.c (memalign_check): Limit alignment to the
17904 maximum representable power of two.
17905 * malloc/malloc.c (__libc_memalign): Likewise.
17906 * malloc/tst-memalign.c (do_test): Add test for very
17907 large alignment values.
17908 * malloc/tst-posix_memalign.c (do_test): Likewise.
17910 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17913 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17914 (munmap_chunk): Likewise.
17915 (mremap_chunk): Likewise.
17917 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17920 * stdlib/div.c (div): Remove obsolete code.
17921 * stdlib/ldiv.c (ldiv): Likewise.
17922 * stdlib/lldiv.c (lldiv): Likewise.
17924 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17927 * nss/nss_files/files-XXX.c (get_contents_ret): New
17929 (get_contents): New function.
17930 (internal_getent): Use it. Expand size of LINEBUFLEN.
17932 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17934 * configure.in: Moved to ...
17935 * configure.ac: ... here. Change reference to configure.in
17937 * sysdeps/arm/preconfigure.ac: ... here.
17938 configure.in to configure.ac.
17939 * sysdeps/gnu/configure.in: Moved to ...
17940 * sysdeps/gnu/configure.ac: ... here.
17941 * sysdeps/i386/configure.in: Moved to ...
17942 * sysdeps/i386/configure.ac: ... here.
17943 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17944 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17945 * sysdeps/mach/configure.in: Moved to ...
17946 * sysdeps/mach/configure.ac: ... here.
17947 * sysdeps/mach/hurd/configure.in: Moved to ...
17948 * sysdeps/mach/hurd/configure.ac: ... here.
17949 * sysdeps/powerpc/configure.in: Moved to ...
17950 * sysdeps/powerpc/configure.ac: ... here.
17951 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17952 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17953 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17954 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17955 * sysdeps/s390/s390-32/configure.in: Moved to ...
17956 * sysdeps/s390/s390-32/configure.ac: ... here.
17957 * sysdeps/s390/s390-64/configure.in: Moved to ...
17958 * sysdeps/s390/s390-64/configure.ac: ... here.
17959 * sysdeps/sh/configure.in: Moved to ...
17960 * sysdeps/sh/configure.ac: ... here.
17961 * sysdeps/sparc/configure.in: Moved to ...
17962 * sysdeps/sparc/configure.ac: ... here.
17963 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17964 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17965 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17966 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17967 * sysdeps/x86_64/configure.in: Moved to ...
17968 * sysdeps/x86_64/configure.ac: ... here.
17969 * sysdeps/x86_64/preconfigure.in: Moved to ...
17970 * sysdeps/x86_64/preconfigure.ac: ... here.
17971 * aclocal.m4: Change reference to configure.in to configure.ac.
17972 * config.h.in: Likewise.
17973 * manual/install.texi: Likewise.
17974 * manual/maint.texi: Likewise.
17975 * Makefile: Likewise.
17976 * malloc/Makefile: Likewise.
17977 * nscd/Makefile: Likewise.
17978 * Makeconfig: Change reference to configure.in and
17979 preconfigure.in to configure.ac and preconfigure.ac
17981 * INSTALL: Regenerated.
17982 * configure: Likewise.
17983 * sysdeps/gnu/configure: Likewise.
17984 * sysdeps/i386/configure: Likewise.
17985 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17986 * sysdeps/mach/configure: Likewise.
17987 * sysdeps/mach/hurd/configure: Likewise.
17988 * sysdeps/powerpc/configure: Likewise.
17989 * sysdeps/powerpc/powerpc32/configure: Likewise.
17990 * sysdeps/powerpc/powerpc64/configure: Likewise.
17991 * sysdeps/s390/s390-32/configure: Likewise.
17992 * sysdeps/s390/s390-64/configure: Likewise.
17993 * sysdeps/sh/configure: Likewise.
17994 * sysdeps/sparc/configure: Likewise.
17995 * sysdeps/unix/sysv/linux/configure: Likewise.
17996 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17997 * sysdeps/x86_64/configure: Likewise.
17998 * sysdeps/x86_64/preconfigure: Likewise.
18000 2013-10-29 Andreas Schwab <schwab@suse.de>
18002 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18004 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18006 * benchtests/pow-inputs: Add new inputs.
18008 * benchtests/exp-inputs: Add new inputs.
18010 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18011 conditional check for return value.
18012 (__cos32): Likewise.
18014 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18016 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18017 to provide a boost for large inputs with word alignment.
18018 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18019 implementation based on optimized PPC64 strcpy.
18020 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18021 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18022 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18023 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18025 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18028 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18030 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18033 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18034 * time/tst-strptime.c (day_tests): Add testcase.
18036 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18039 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18041 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18044 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18045 MAP_FAILED on error.
18047 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18050 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18051 heap for large requests.
18053 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18056 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18057 result if the result has no associated interface.
18058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18059 interface for all 127.X.Y.Z addresses.
18061 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
18063 * locale/iso-639.def: Add Ligurian (lij)
18065 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
18068 * sunrpc/rpc_main.c: Document rpcgen -5.
18070 2013-10-19 Michael Stahl <mstahl@redhat.com>
18072 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18074 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18077 * posix/glob.c: Match only directories when trailing slash is present.
18078 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18079 (main): Add testcase.
18081 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18084 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18086 2013-10-18 Carlos O'Donell <carlos@redhat.com>
18088 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18089 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18090 AUTH_DES and cindex for FIPS 140-2.
18091 (DES Encryption): Add cindex FIPS 46-3.
18093 * locale/locarchive.h (struct locarhandle): Add fname.
18094 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18095 if an optional argument was specified to --list-archive,
18097 * locale/programs/locarchive.c (show_archive_content): Take new
18098 argument fname and pass it via ah.fname to open_archive.
18099 * locale/programs/localedef.h: Update decl.
18100 (open_archive): If AH->fname is non-null, open that file
18101 rather than the default file name, and don't ignore ENOENT.
18102 (create_archive): Set AH.fname to NULL.
18103 (delete_locales_from_archive): Likewise.
18104 (add_locales_to_archive): Likewise.
18105 * locale/programs/locfile.c (write_all_categories): Likewise.
18107 2013-10-18 Joseph Myers <joseph@codesourcery.com>
18108 Aldy Hernandez <aldyh@redhat.com>
18110 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18111 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18112 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18113 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18114 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18115 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18116 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18117 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18118 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18119 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18120 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18121 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18122 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18123 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18124 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18126 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18128 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18130 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18132 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18133 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18135 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18136 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18137 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18138 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18140 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18141 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18142 * sysdeps/powerpc/preconfigure: Likewise.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18145 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18146 Replace contents of file by #include of <fenv_libc.h>.
18147 * sysdeps/powerpc/soft-fp/sfp-machine.h
18148 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18150 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18151 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18152 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18153 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18154 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18155 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18159 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18160 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18161 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18163 Allow copysignl PLT reference to be missing.
18165 2013-10-18 Richard Sandiford <richard@codesourcery.com>
18166 Joseph Myers <joseph@codesourcery.com
18169 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18171 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18173 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18175 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18176 * elf/tst-tls1.c: Likewise.
18177 * elf/tst-tls10.h: Likewise.
18178 * elf/tst-tls14.c: Likewise.
18179 * elf/tst-tls2.c: Likewise.
18180 * elf/tst-tls3.c: Likewise.
18181 * elf/tst-tls4.c: Likewise.
18182 * elf/tst-tls5.c: Likewise.
18183 * elf/tst-tls6.c: Likewise.
18184 * elf/tst-tls7.c: Likewise.
18185 * elf/tst-tls8.c: Likewise.
18186 * elf/tst-tls9.c: Likewise.
18187 * elf/tst-tlsmod1.c: Likewise.
18188 * elf/tst-tlsmod13.c: Likewise.
18189 * elf/tst-tlsmod13a.c: Likewise.
18190 * elf/tst-tlsmod14a.c: Likewise.
18191 * elf/tst-tlsmod16a.c: Likewise.
18192 * elf/tst-tlsmod16b.c: Likewise.
18193 * elf/tst-tlsmod2.c: Likewise.
18194 * elf/tst-tlsmod3.c: Likewise.
18195 * elf/tst-tlsmod4.c: Likewise.
18196 * elf/tst-tlsmod5.c: Likewise.
18197 * elf/tst-tlsmod6.c: Likewise.
18199 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
18202 * malloc/malloc.c: remove checks for statistics.
18204 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18207 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18208 * inet/tst-network.c: Add testcase.
18210 2013-10-17 Andreas Schwab <schwab@suse.de>
18213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18214 to determine canonical name.
18216 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18218 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18219 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18242 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18243 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18248 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18252 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18254 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18255 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18256 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18258 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18262 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18272 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18273 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18277 2013-10-17 Joseph Myers <joseph@codesourcery.com>
18280 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18281 make result into a quiet NaN.
18283 2013-10-16 Joseph Myers <joseph@codesourcery.com>
18285 * soft-fp/adddf3.c: Fix horizontal whitespace.
18286 * soft-fp/addsf3.c: Likewise.
18287 * soft-fp/addtf3.c: Likewise.
18288 * soft-fp/divdf3.c: Likewise.
18289 * soft-fp/divsf3.c: Likewise.
18290 * soft-fp/divtf3.c: Likewise.
18291 * soft-fp/double.h: Likewise.
18292 * soft-fp/eqdf2.c: Likewise.
18293 * soft-fp/eqsf2.c: Likewise.
18294 * soft-fp/eqtf2.c: Likewise.
18295 * soft-fp/extenddftf2.c: Likewise.
18296 * soft-fp/extended.h: Likewise.
18297 * soft-fp/extendsfdf2.c: Likewise.
18298 * soft-fp/extendsftf2.c: Likewise.
18299 * soft-fp/extendxftf2.c: Likewise.
18300 * soft-fp/fixdfdi.c: Likewise.
18301 * soft-fp/fixdfsi.c: Likewise.
18302 * soft-fp/fixdfti.c: Likewise.
18303 * soft-fp/fixsfdi.c: Likewise.
18304 * soft-fp/fixsfsi.c: Likewise.
18305 * soft-fp/fixsfti.c: Likewise.
18306 * soft-fp/fixtfdi.c: Likewise.
18307 * soft-fp/fixtfsi.c: Likewise.
18308 * soft-fp/fixtfti.c: Likewise.
18309 * soft-fp/fixunsdfdi.c: Likewise.
18310 * soft-fp/fixunsdfsi.c: Likewise.
18311 * soft-fp/fixunsdfti.c: Likewise.
18312 * soft-fp/fixunssfdi.c: Likewise.
18313 * soft-fp/fixunssfsi.c: Likewise.
18314 * soft-fp/fixunssfti.c: Likewise.
18315 * soft-fp/fixunstfdi.c: Likewise.
18316 * soft-fp/fixunstfsi.c: Likewise.
18317 * soft-fp/fixunstfti.c: Likewise.
18318 * soft-fp/floatdidf.c: Likewise.
18319 * soft-fp/floatdisf.c: Likewise.
18320 * soft-fp/floatditf.c: Likewise.
18321 * soft-fp/floatsidf.c: Likewise.
18322 * soft-fp/floatsisf.c: Likewise.
18323 * soft-fp/floatsitf.c: Likewise.
18324 * soft-fp/floattidf.c: Likewise.
18325 * soft-fp/floattisf.c: Likewise.
18326 * soft-fp/floattitf.c: Likewise.
18327 * soft-fp/floatundidf.c: Likewise.
18328 * soft-fp/floatundisf.c: Likewise.
18329 * soft-fp/floatunditf.c: Likewise.
18330 * soft-fp/floatunsidf.c: Likewise.
18331 * soft-fp/floatunsisf.c: Likewise.
18332 * soft-fp/floatunsitf.c: Likewise.
18333 * soft-fp/floatuntidf.c: Likewise.
18334 * soft-fp/floatuntisf.c: Likewise.
18335 * soft-fp/floatuntitf.c: Likewise.
18336 * soft-fp/fmadf4.c: Likewise.
18337 * soft-fp/fmasf4.c: Likewise.
18338 * soft-fp/fmatf4.c: Likewise.
18339 * soft-fp/gedf2.c: Likewise.
18340 * soft-fp/gesf2.c: Likewise.
18341 * soft-fp/getf2.c: Likewise.
18342 * soft-fp/ledf2.c: Likewise.
18343 * soft-fp/lesf2.c: Likewise.
18344 * soft-fp/letf2.c: Likewise.
18345 * soft-fp/muldf3.c: Likewise.
18346 * soft-fp/mulsf3.c: Likewise.
18347 * soft-fp/multf3.c: Likewise.
18348 * soft-fp/negdf2.c: Likewise.
18349 * soft-fp/negsf2.c: Likewise.
18350 * soft-fp/negtf2.c: Likewise.
18351 * soft-fp/op-1.h: Likewise.
18352 * soft-fp/op-2.h: Likewise.
18353 * soft-fp/op-4.h: Likewise.
18354 * soft-fp/op-8.h: Likewise.
18355 * soft-fp/op-common.h: Likewise.
18356 * soft-fp/quad.h: Likewise.
18357 * soft-fp/single.h: Likewise.
18358 * soft-fp/soft-fp.h: Likewise.
18359 * soft-fp/sqrtdf2.c: Likewise.
18360 * soft-fp/sqrtsf2.c: Likewise.
18361 * soft-fp/sqrttf2.c: Likewise.
18362 * soft-fp/subdf3.c: Likewise.
18363 * soft-fp/subsf3.c: Likewise.
18364 * soft-fp/subtf3.c: Likewise.
18365 * soft-fp/truncdfsf2.c: Likewise.
18366 * soft-fp/trunctfdf2.c: Likewise.
18367 * soft-fp/trunctfsf2.c: Likewise.
18368 * soft-fp/trunctfxf2.c: Likewise.
18369 * soft-fp/unorddf2.c: Likewise.
18370 * soft-fp/unordsf2.c: Likewise.
18371 * soft-fp/unordtf2.c: Likewise.
18373 2013-10-15 Joseph Myers <joseph@codesourcery.com>
18375 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18376 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18378 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
18380 * elf/dl-libc.c: Clear initfini list after freeing.
18382 2013-10-14 Joseph Myers <joseph@codesourcery.com>
18384 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18385 * soft-fp/addsf3.c: Likewise.
18386 * soft-fp/addtf3.c: Likewise.
18387 * soft-fp/divdf3.c: Likewise.
18388 * soft-fp/divsf3.c: Likewise.
18389 * soft-fp/divtf3.c: Likewise.
18390 * soft-fp/double.h: Likewise.
18391 * soft-fp/eqdf2.c: Likewise.
18392 * soft-fp/eqsf2.c: Likewise.
18393 * soft-fp/eqtf2.c: Likewise.
18394 * soft-fp/extenddftf2.c: Likewise.
18395 * soft-fp/extended.h: Likewise.
18396 * soft-fp/extendsfdf2.c: Likewise.
18397 * soft-fp/extendsftf2.c: Likewise.
18398 * soft-fp/extendxftf2.c: Likewise.
18399 * soft-fp/fixdfdi.c: Likewise.
18400 * soft-fp/fixdfsi.c: Likewise.
18401 * soft-fp/fixdfti.c: Likewise.
18402 * soft-fp/fixsfdi.c: Likewise.
18403 * soft-fp/fixsfsi.c: Likewise.
18404 * soft-fp/fixsfti.c: Likewise.
18405 * soft-fp/fixtfdi.c: Likewise.
18406 * soft-fp/fixtfsi.c: Likewise.
18407 * soft-fp/fixtfti.c: Likewise.
18408 * soft-fp/fixunsdfdi.c: Likewise.
18409 * soft-fp/fixunsdfsi.c: Likewise.
18410 * soft-fp/fixunsdfti.c: Likewise.
18411 * soft-fp/fixunssfdi.c: Likewise.
18412 * soft-fp/fixunssfsi.c: Likewise.
18413 * soft-fp/fixunssfti.c: Likewise.
18414 * soft-fp/fixunstfdi.c: Likewise.
18415 * soft-fp/fixunstfsi.c: Likewise.
18416 * soft-fp/fixunstfti.c: Likewise.
18417 * soft-fp/floatdidf.c: Likewise.
18418 * soft-fp/floatdisf.c: Likewise.
18419 * soft-fp/floatditf.c: Likewise.
18420 * soft-fp/floatsidf.c: Likewise.
18421 * soft-fp/floatsisf.c: Likewise.
18422 * soft-fp/floatsitf.c: Likewise.
18423 * soft-fp/floattidf.c: Likewise.
18424 * soft-fp/floattisf.c: Likewise.
18425 * soft-fp/floattitf.c: Likewise.
18426 * soft-fp/floatundidf.c: Likewise.
18427 * soft-fp/floatundisf.c: Likewise.
18428 * soft-fp/floatunsidf.c: Likewise.
18429 * soft-fp/floatunsisf.c: Likewise.
18430 * soft-fp/floatuntidf.c: Likewise.
18431 * soft-fp/floatuntisf.c: Likewise.
18432 * soft-fp/floatuntitf.c: Likewise.
18433 * soft-fp/fmadf4.c: Likewise.
18434 * soft-fp/fmasf4.c: Likewise.
18435 * soft-fp/fmatf4.c: Likewise.
18436 * soft-fp/gedf2.c: Likewise.
18437 * soft-fp/gesf2.c: Likewise.
18438 * soft-fp/getf2.c: Likewise.
18439 * soft-fp/ledf2.c: Likewise.
18440 * soft-fp/lesf2.c: Likewise.
18441 * soft-fp/letf2.c: Likewise.
18442 * soft-fp/muldf3.c: Likewise.
18443 * soft-fp/mulsf3.c: Likewise.
18444 * soft-fp/multf3.c: Likewise.
18445 * soft-fp/negdf2.c: Likewise.
18446 * soft-fp/negsf2.c: Likewise.
18447 * soft-fp/negtf2.c: Likewise.
18448 * soft-fp/op-1.h: Likewise.
18449 * soft-fp/op-2.h: Likewise.
18450 * soft-fp/op-4.h: Likewise.
18451 * soft-fp/op-8.h: Likewise.
18452 * soft-fp/op-common.h: Likewise.
18453 * soft-fp/quad.h: Likewise.
18454 * soft-fp/single.h: Likewise.
18455 * soft-fp/soft-fp.h: Likewise.
18456 * soft-fp/sqrtdf2.c: Likewise.
18457 * soft-fp/sqrtsf2.c: Likewise.
18458 * soft-fp/sqrttf2.c: Likewise.
18459 * soft-fp/subdf3.c: Likewise.
18460 * soft-fp/subsf3.c: Likewise.
18461 * soft-fp/subtf3.c: Likewise.
18462 * soft-fp/truncdfsf2.c: Likewise.
18463 * soft-fp/trunctfdf2.c: Likewise.
18464 * soft-fp/trunctfsf2.c: Likewise.
18465 * soft-fp/trunctfxf2.c: Likewise.
18466 * soft-fp/unorddf2.c: Likewise.
18467 * soft-fp/unordsf2.c: Likewise.
18468 * soft-fp/unordtf2.c: Likewise.
18470 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
18473 * misc/error.c (error_tail): Fix possible buffer overflow.
18475 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18478 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18481 2013-10-14 P. J. McDermott <pj@pehjota.net>
18484 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18485 testing pipefail option.
18487 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18489 * soft-fp/double.h: Indent preprocessor directives inside #if.
18490 * soft-fp/extended.h: Likewise.
18491 * soft-fp/op-2.h: Likewise.
18492 * soft-fp/op-4.h: Likewise.
18493 * soft-fp/op-common.h: Likewise.
18494 * soft-fp/quad.h: Likewise.
18495 * soft-fp/single.h: Likewise.
18496 * soft-fp/soft-fp.h: Likewise.
18498 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18500 * iconv/iconv_prog.c: Fix typos.
18501 * stdio-common/psiginfo-data.h: Likewise.
18503 2013-10-12 Reuben Thomas <rrt@sc3d.org>
18506 * locale/setlocale.c: Fix typo.
18508 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18511 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18512 signaling NaN arguments.
18513 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18514 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18517 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18518 unordered operands.
18519 * soft-fp/gesf2.c (__gesf2): Likewise.
18520 * soft-fp/getf2.c (__getf2): Likewise.
18521 * soft-fp/ledf2.c (__ledf2): Likewise.
18522 * soft-fp/lesf2.c (__lesf2): Likewise.
18523 * soft-fp/letf2.c (__letf2): Likewise.
18525 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18526 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18527 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18528 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18529 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18530 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18531 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18532 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18533 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18534 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18535 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18536 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18537 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18538 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18539 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18540 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18541 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18542 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18543 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18544 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18545 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18546 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18547 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18548 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18549 * soft-fp/floattidf.c (__floattidf): Likewise.
18550 * soft-fp/floattisf.c (__floattisf): Likewise.
18551 * soft-fp/floattitf.c (__floattitf): Likewise.
18552 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18553 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18554 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18555 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18556 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18557 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18558 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18559 * soft-fp/gesf2.c (__gesf2): Likewise.
18560 * soft-fp/getf2.c (__getf2): Likewise.
18561 * soft-fp/ledf2.c (__ledf2): Likewise.
18562 * soft-fp/lesf2.c (__lesf2): Likewise.
18563 * soft-fp/letf2.c (__letf2): Likewise.
18565 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18566 Undefine and redefine.
18567 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18568 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18569 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18570 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18571 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18572 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18573 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18574 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18575 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18576 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18577 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18578 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18579 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18580 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18581 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18584 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18585 without decrementing exponent if mantissa >= that for the
18586 denominator, not >.
18587 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18588 denominator, not >. Decrement exponent in < case instead of
18589 incrementing in >= case.
18590 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18591 without decrementing exponent if mantissa >= that for the
18592 denominator, not >.
18594 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18595 computing saturated result for unsigned overflow.
18597 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18598 Jeff Law <law@redhat.com>
18600 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18601 (atan2Mp): Add systemtap probe marker.
18602 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18603 (__ieee754_log): Add systemtap probe marker.
18604 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18605 (atanMp): Add systemtap probe marker.
18606 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18607 (tanMp): Add systemtap probe marker.
18608 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18609 (__slowexp): Add systemtap probe marker.
18610 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18611 (__slowpow): Add systemtap probe marker.
18612 * manual/probes.texi: Document probes.
18614 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
18617 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18619 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18621 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18622 written to buffer but not flushed.
18623 * libio/iofwrite_u.c: Likewise.
18624 * libio/iopadn.c: Return bytes returned even if EOF was
18626 * libio/iowpadn.c: Likewise.
18627 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18628 if _IO_padn does not write the whole buffer.
18629 [!COMPILE_WPRINTF] (PAD): Likewise.
18631 2013-10-10 David S. Miller <davem@davemloft.net>
18633 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18636 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18638 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18639 instead of FSF address.
18640 * soft-fp/fixdfti.c: Likewise.
18641 * soft-fp/fixsfti.c: Likewise.
18642 * soft-fp/fixtfti.c: Likewise.
18643 * soft-fp/fixunsdfti.c: Likewise.
18644 * soft-fp/fixunssfti.c: Likewise.
18645 * soft-fp/fixunstfti.c: Likewise.
18646 * soft-fp/floattidf.c: Likewise.
18647 * soft-fp/floattisf.c: Likewise.
18648 * soft-fp/floattitf.c: Likewise.
18649 * soft-fp/floatuntidf.c: Likewise.
18650 * soft-fp/floatuntisf.c: Likewise.
18651 * soft-fp/floatuntitf.c: Likewise.
18652 * soft-fp/trunctfxf2.c: Likewise.
18654 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18655 * soft-fp/fixdfti.c: Likewise.
18656 * soft-fp/fixsfti.c: Likewise.
18657 * soft-fp/fixtfti.c: Likewise.
18658 * soft-fp/fixunsdfti.c: Likewise.
18659 * soft-fp/fixunssfti.c: Likewise.
18660 * soft-fp/fixunstfti.c: Likewise.
18661 * soft-fp/floattidf.c: Likewise.
18662 * soft-fp/floattisf.c: Likewise.
18663 * soft-fp/floattitf.c: Likewise.
18664 * soft-fp/floatuntidf.c: Likewise.
18665 * soft-fp/floatuntisf.c: Likewise.
18666 * soft-fp/floatuntitf.c: Likewise.
18667 * soft-fp/trunctfxf2.c: Likewise.
18669 2013-10-10 David S. Miller <davem@davemloft.net>
18671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18673 2013-10-10 Joseph Myers <joseph@codsourcery.com>
18675 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18676 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18677 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18678 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18679 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18680 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18681 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18683 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18684 for NaNs before doing comparisons on argument.
18685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18688 2013-10-10 Will Newton <will.newton@linaro.org>
18690 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18691 passed to _int_memalign does not overflow.
18693 2013-10-10 Torvald Riegel <triegel@redhat.com>
18695 * scripts/bench.pl: Add include-sources directive.
18696 * benchtests/README: Update documentation.
18698 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18700 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18701 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18702 instead of FP_INIT_ROUNDMODE.
18703 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18704 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18707 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18708 copy class of input value.
18709 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18710 not handle exceptions.
18711 * soft-fp/negsf2.c (__negsf2): Likewise.
18712 * soft-fp/negtf2.c (__negtf2): Likewise.
18713 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18715 2013-10-09 Joseph Myers <joseph@codesourcery.com>
18717 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18718 semicolon. From Linux kernel.
18720 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18722 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18724 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18727 * manual/socket.texi: Added statement about buffer
18728 for gethostbyname2_r.
18730 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
18732 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18733 Use .p2align directive instead, throughout.
18734 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18735 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18736 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18738 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18739 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18740 * sysdeps/x86_64/strchr.S: Likewise.
18741 * sysdeps/x86_64/strrchr.S: Likewise.
18743 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18745 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18747 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18749 * sysdeps/generic/math_private.h (__mpsin1): Remove
18751 (__mpcos1): Likewise.
18752 (__mpsin): New argument __range_reduce.
18753 (__mpcos): Likewise.
18754 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18755 (slow): Use __mpsin and __mpcos.
18759 (sloww1): Likewise.
18760 (sloww2): Likewise.
18761 (bsloww): Likewise.
18762 (bsloww1): Likewise.
18763 (bsloww2): Likewise.
18764 (cslow2): Likewise.
18765 (csloww): Likewise.
18766 (csloww1): Likewise.
18767 (csloww2): Likewise.
18768 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18769 range_reduce. Merge in __mpsin1.
18770 (__mpcos): Likewise.
18771 (__mpsin1): Remove.
18772 (__mpcos1): Likewise.
18774 2013-10-07 Joseph Myers <joseph@codesourcery.com>
18776 * locale/loadlocale.c (_nl_intern_locale_data): Use
18778 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18779 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18780 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18781 obstack data is appropriately aligned.
18782 (obstack_int32_grow_fast): Likewise.
18783 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18784 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18785 (add_locale_uint32_array): Likewise.
18787 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18789 * benchtests/Makefile: Remove ARGLIST and RET variables.
18790 ($(objpfx)bench-%.c): Pass only function name to the script.
18791 * benchtests/README: Update documentation.
18792 * benchtests/acos-inputs: Add new directives.
18793 * benchtests/acosh-inputs: Likewise.
18794 * benchtests/asin-inputs: Likewise.
18795 * benchtests/asinh-inputs: Likewise.
18796 * benchtests/atan-inputs: Likewise.
18797 * benchtests/atanh-inputs: Likewise.
18798 * benchtests/cos-inputs: Likewise.
18799 * benchtests/cosh-inputs: Likewise.
18800 * benchtests/exp-inputs: Likewise.
18801 * benchtests/log-inputs: Likewise.
18802 * benchtests/pow-inputs: Likewise.
18803 * benchtests/rint-inputs: Likewise.
18804 * benchtests/sin-inputs: Likewise.
18805 * benchtests/sinh-inputs: Likewise.
18806 * benchtests/tan-inputs: Likewise.
18807 * benchtests/tanh-inputs: Likewise.
18808 * scripts/bench.pl: Add support for new directives.
18810 2013-10-07 Alan Modra <amodra@gmail.com>
18812 * README: Fix careless merge.
18814 2013-10-05 Alan Modra <amodra@gmail.com>
18816 * NEWS: Mention powerpc64le support and bugs fixed.
18817 * README: Both big-endian and little-endian powerpc64 supported.
18819 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18821 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18822 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18823 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18824 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18826 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18828 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18831 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18833 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18834 Move -mhard-float appending from
18835 ports/sysdeps/powerpc/powerpc32/Makefile.
18836 [$(with-fp) = yes] (ASFLAGS): Likewise.
18837 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18838 * sysdeps/powerpc/nofpu: Move directory from
18839 ports/sysdeps/powerpc/nofpu.
18840 * sysdeps/powerpc/soft-fp: Move directory from
18841 ports/sysdeps/powerpc/soft-fp.
18842 * sysdeps/powerpc/powerpc32/405: Move directory from
18843 ports/sysdeps/powerpc/powerpc32/405.
18844 * sysdeps/powerpc/powerpc32/440: Move directory from
18845 ports/sysdeps/powerpc/powerpc32/440.
18846 * sysdeps/powerpc/powerpc32/464: Move directory from
18847 ports/sysdeps/powerpc/powerpc32/464.
18848 * sysdeps/powerpc/powerpc32/476: Move directory from
18849 ports/sysdeps/powerpc/powerpc32/476.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18851 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18853 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18855 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18857 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18859 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18860 * README: Update for powerpc-*-linux-gnu software floating point
18863 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18864 case to powerpc/powerpc32*.
18865 * sysdeps/unix/sysv/linux/configure: Regenerated.
18867 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18868 (_FPU_MASK_OM): Define as 0x04.
18869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18877 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18880 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18883 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18884 and setcontext_e500.
18886 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18888 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18890 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18892 * manual/threads.texi (Default Thread Attributes): Fix typo.
18894 2013-10-04 Will Newton <will.newton@linaro.org>
18896 * malloc/Makefile: Add tst-memalign.
18897 * malloc/tst-memalign.c: New file.
18899 * malloc/tst-posix_memalign.c: Add comments.
18900 (do_test): Add comments and call free on all potentially
18901 allocated pointers. Add space after cast.
18903 * malloc/tst-pvalloc.c: Add comments.
18904 (do_test): Add comments and call free on all potentially
18905 allocated pointers. Remove duplicate check for NULL pointer.
18906 Add space after cast.
18908 * malloc/tst-valloc.c: Add comments.
18909 (do_test): Add comments and call free on all potentially
18910 allocated pointers. Remove duplicate check for NULL pointer.
18911 Add space after cast.
18913 2013-10-04 Alan Modra <amodra@gmail.com>
18915 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18916 Use stdint types in rather than __attribute__((mode())).
18917 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18919 2013-10-04 Alan Modra <amodra@gmail.com>
18921 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18922 Correct handling of unaligned relocs for little-endian.
18923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18925 2013-10-04 Alan Modra <amodra@gmail.com>
18927 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18928 * configure: Regenerate.
18929 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18930 * shlib-versions: Likewise.
18932 2013-10-04 Alan Modra <amodra@gmail.com>
18934 * string/tester.c (test_memrchr): Increment reported test cycle.
18936 2013-10-04 Alan Modra <amodra@gmail.com>
18938 * string/test-memcpy.c (do_one_test): When reporting errors, print
18939 string address and don't overrun end of string.
18941 2013-10-04 Alan Modra <amodra@gmail.com>
18943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18944 insrdi. Make better use of reg selection to speed exit slightly.
18945 Schedule entry path a little better. Remove useless "are we done"
18946 checks on entry to main loop. Handle wrapping around zero address.
18947 Correct main loop count. Handle single left-over word from main
18948 loop inline rather than by using loop_small. Remove extra word
18949 case in loop_small caused by wrong loop count. Add little-endian
18951 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18952 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18954 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18955 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18956 support. Avoid rlwimi.
18957 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18959 2013-10-04 Alan Modra <amodra@gmail.com>
18961 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18962 insrdi. Formatting.
18963 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18964 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18965 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18966 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18967 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18968 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18970 2013-10-04 Alan Modra <amodra@gmail.com>
18972 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18973 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18976 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18977 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18978 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18980 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18981 use of regs. Use power7 mtocrf. Tidy function tails.
18983 2013-10-04 Alan Modra <amodra@gmail.com>
18985 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18986 Formatting. Consistently use rXXX register defines or rN defines.
18987 Use early exit labels that avoid restoring unused non-volatile regs.
18988 Make cr field use more consistent with rWORDn compares. Rename
18989 regs used as shift registers for unaligned loop, using rN defines
18990 for short lifetime/multiple use regs.
18991 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18992 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18993 addi 1,1,64 to pop stack frame. Simplify return value code.
18994 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18996 2013-10-04 Alan Modra <amodra@gmail.com>
18998 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18999 support. Correct typos, formatting. Optimize tail. Use insrdi
19000 rather than rlwimi.
19001 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19002 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19003 little-endian support. Correct typos.
19004 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19005 rather than rlwimi.
19006 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19007 in loop and entry code to keep "and." results.
19008 (strchr): Add little-endian support. Comment. Move cntlzd
19010 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19012 2013-10-04 Alan Modra <amodra@gmail.com>
19014 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19015 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19016 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19017 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19019 2013-10-04 Alan Modra <amodra@gmail.com>
19021 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19022 (rTMP): Define as r11.
19023 (strcmp): Add little-endian support. Optimise tail.
19024 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19025 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19026 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19027 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19030 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19032 2013-10-04 Alan Modra <amodra@gmail.com>
19034 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19035 little-endian support. Remove unnecessary "are we done" tests.
19036 Handle "s" wrapping around zero and extremely large "size".
19037 Correct main loop count. Handle single left-over word from main
19038 loop inline rather than by using small_loop. Correct comments.
19039 Delete "zero" tail, use "end_max" instead.
19040 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19042 2013-10-04 Alan Modra <amodra@gmail.com>
19044 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19045 support. Don't branch over align.
19046 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19047 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19048 support. Rearrange tmp reg use to suit. Comment.
19049 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19051 2013-10-04 Alan Modra <amodra@gmail.com>
19053 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19055 2013-10-04 Alan Modra <amodra@gmail.com>
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19058 conditional form of branch and link when obtaining pc.
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19061 2013-10-04 Alan Modra <amodra@gmail.com>
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19068 2013-10-04 Alan Modra <amodra@gmail.com>
19070 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19071 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19072 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19073 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19074 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19075 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19076 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19077 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19078 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19079 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19081 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19082 Alistair Popple <alistair@ozlabs.au.ibm.com>
19083 Alan Modra <amodra@gmail.com>
19086 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19088 _dl_hwcap access for little-endian.
19089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19090 destroy vmx regs when saving unaligned.
19091 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19092 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19093 destroy vmx regs when saving unaligned.
19095 2013-10-04 Alan Modra <amodra@gmail.com>
19097 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19098 Don't use a union to pack hi/low value.
19100 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19102 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19104 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19106 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19107 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19108 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19110 2013-10-04 Alan Modra <amodra@gmail.com>
19112 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19113 constants to usual value for .cst8 section, and remove redundant
19115 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19116 constant for 0x1p52. Load little-endian words of double from
19117 correct stack offsets.
19119 2013-10-04 Alan Modra <amodra@gmail.com>
19121 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19122 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19123 words of double from correct stack offsets.
19124 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19125 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19126 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19127 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19128 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19129 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19131 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19132 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19133 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19134 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19135 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19136 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19137 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19138 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19139 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19140 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19142 2013-10-04 Alan Modra <amodra@gmail.com>
19144 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19145 64-bit int/double union.
19146 (_FPU_SETCW): Likewise.
19147 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19148 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19150 2013-10-04 Alan Modra <amodra@gmail.com>
19152 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19153 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19155 2013-10-04 Alan Modra <amodra@gmail.com>
19157 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19158 use vector int constants.
19159 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19161 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19163 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19164 array with long long.
19165 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19166 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19167 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19168 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19169 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19170 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19171 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19172 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19173 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19174 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19175 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19176 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19177 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19179 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19181 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19182 (__signbit): Likewise. Correct for little-endian.
19183 (__signbitl): Call __signbit.
19184 (lrint): Correct for little-endian.
19185 (lrintf): Call lrint.
19187 2013-10-04 Alan Modra <amodra@gmail.com>
19189 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19190 union 32-bit int array member with 64-bit int array.
19191 (t515, tm256): Double rather than long double.
19192 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19194 2013-10-04 Alan Modra <amodra@gmail.com>
19196 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19198 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19200 version of math_ldbl.h.
19202 2013-10-04 Alan Modra <amodra@gmail.com>
19204 [BZ #15734], [BZ #15735]
19205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19206 all uses of ieee875 long double macros and unions. Simplify test
19207 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19208 ldbl_extract_mantissa value for ix,iy exponents. Properly
19209 normalize after ldbl_extract_mantissa, and don't add hidden bit
19210 already handled. Don't treat low word of ieee854 mantissa like
19211 low word of IBM long double and mask off bit when testing for
19213 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19214 all uses of ieee875 long double macros and unions. Simplify tests
19215 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19216 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19217 two1022, instead use their values. Recognise that tests for large
19218 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19219 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19220 Rewrite all uses of ieee875 long double macros and unions. Simplify
19221 test for 0.0L and nan. Correct negation.
19222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19223 ieee875 long double macros and unions. Correct output for large
19224 magnitude x. Correct absolute value calculation.
19225 (__erfcl): Likewise.
19226 * math/libm-test.inc: Add tests for errors discovered in IBM long
19227 double versions of fmodl, remainderl, erfl and erfcl.
19229 2013-10-04 Alan Modra <amodra@gmail.com>
19231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19232 all uses of ieee854 long double macros and unions. Simplify tests
19233 for long doubles that are fully specified by the high double.
19234 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19236 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19237 Remove dead code too.
19238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19239 (__ieee754_ynl): Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19243 Remove dead code too.
19244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19247 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19249 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19252 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19253 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19254 Comment on variable precision.
19255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19258 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19261 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19262 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19264 2013-10-04 Alan Modra <amodra@gmail.com>
19266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19268 all uses of ieee854 long double macros and unions.
19269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19271 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19273 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19277 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19278 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19279 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19282 Simplify sign and nan test too.
19283 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19288 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19294 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19295 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19298 2013-10-04 Alan Modra <amodra@gmail.com>
19300 * stdio-common/printf_size.c (__printf_size): Don't use
19301 union ieee854_long_double in fpnum union.
19302 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19303 signbit macro to retrieve sign from long double.
19304 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19305 retrieve sign from long double.
19306 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19307 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19308 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19309 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19310 * math/test-misc.c (main): Don't use union ieee854_long_double.
19312 2013-10-04 Alan Modra <amodra@gmail.com>
19315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19316 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19317 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19318 calculation. Remove unnecessary test for denormal exponent.
19319 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19320 Correct handling of denormals. Avoid undefined shift behaviour.
19321 Correct normalisation of low mantissa when low double is denormal.
19322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19323 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19324 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19325 Correct normalisation of low mantissa. Test for overflow of high
19326 mantissa and normalise.
19327 (ldbl_nearbyint): Use more readable constant for two52.
19328 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19329 (__mpn_construct_long_double): Fix test for overflow of high
19330 mantissa and correct normalisation. Avoid undefined shift.
19332 2013-10-04 Alan Modra <amodra@gmail.com>
19334 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19335 (union ibm_extended_long_double): Define as an array of ieee754_double.
19336 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19337 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19338 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19339 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19343 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19348 2013-10-03 Joseph Myers <joseph@codesourcery.com>
19350 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19351 page size instead of calling getpagesize.
19353 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19354 (LOCFILE_ALIGN_MASK): Likewise.
19355 (LOCFILE_ALIGN_UP): Likewise.
19356 (LOCFILE_ALIGNED_P): Likewise.
19357 * locale/programs/ld-collate.c (collate_output): Use the new
19358 macros instead of __alignof__ (int32_t).
19359 * locale/weight.h (findidx): Likewise.
19361 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
19364 * manual/string.texi: Fix strncat and wcsncat.
19366 2013-10-03 Brooks Moses <bmoses@google.com>
19369 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19370 * Makerules: ...here, and adjust associated comments.
19372 2013-10-02 Will Newton <will.newton@linaro.org>
19374 * malloc/Makefile: Add tst-pvalloc.
19375 * malloc/tst-pvalloc.c: New file.
19377 2013-10-02 Will Newton <will.newton@linaro.org>
19379 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19380 improve test coverage.
19382 2013-10-02 Will Newton <will.newton@linaro.org>
19384 * malloc/Makefile: Add tst-posix_memalign.
19385 * malloc/tst-posix_memalign.c: New file.
19387 2013-10-01 Eric Blake <eblake@redhat.com>
19389 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19390 Use __THROWNL rather than __THROW on static functions.
19392 2013-09-30 Petr Machata <pmachata@redhat.com>
19394 * elf/elf.h (R_AARCH64_ABS16): New macro.
19395 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19396 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19397 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19398 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19399 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19400 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19401 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19402 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19403 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19404 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19405 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19406 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19407 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19408 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19409 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19410 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19411 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19412 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19413 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19414 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19415 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19416 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19417 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19418 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19419 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19420 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19421 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19422 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19423 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19424 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19425 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19426 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19427 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19428 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19429 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19430 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19431 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19432 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19433 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19434 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19435 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19436 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19437 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19438 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19439 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19440 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19441 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19442 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19443 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19444 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19445 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19446 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19447 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19448 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19449 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19450 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19451 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19452 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19453 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19454 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19455 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19456 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19457 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19458 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19459 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19460 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19461 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19462 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19463 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19464 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19465 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19466 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19467 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19468 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19469 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19470 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19471 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19472 (R_AARCH64_TLSDESC_LDR): Likewise.
19473 (R_AARCH64_TLSDESC_ADD): Likewise.
19474 (R_AARCH64_TLSDESC_CALL): Likewise.
19476 2013-09-30 Andreas Schwab <schwab@suse.de>
19479 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19480 the nss database lookup.
19481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19484 2013-09-28 Mike Frysinger <vapier@gentoo.org>
19486 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19488 2013-09-28 P. J. McDermott <pj@pehjota.net>
19490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19491 ${Bash-specific parameter/pattern/string} parameter expansion.
19492 * sysdeps/unix/make-syscalls.sh: Likewise.
19494 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19496 * sysdeps/sh/stackguard-macros.h: New file.
19498 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
19500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19502 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19504 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19505 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19507 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19509 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19510 Fix thread ID register.
19512 2013-09-25 Joseph Myers <joseph@codesourcery.com>
19514 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19515 [POSIX || UNIX98]: Require rather than permitting all symbols from
19517 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19518 element of struct sched_param.
19519 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19520 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19521 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19522 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19525 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19527 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19528 argument calculation.
19530 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19532 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19534 [POSIX] (pthread_attr_t): Do not require type.
19535 [POSIX] (pthread_cond_t): Likewise.
19536 [POSIX] (pthread_condattr_t): Likewise.
19537 [POSIX] (pthread_key_t): Likewise.
19538 [POSIX] (pthread_mutex_t): Likewise.
19539 [POSIX] (pthread_mutexattr_t): Likewise.
19540 [POSIX] (pthread_once_t): Likewise.
19541 [POSIX] (pthread_t): Likewise.
19542 [POSIX-based standards] (pthread_atfork): Expect function.
19544 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19545 Richard Sandiford <richard@codesourcery.com>
19547 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19548 (swap_endianness_p): New extern variable.
19549 (set_big_endian): New inline function.
19550 (maybe_swap_uint32): Likewise.
19551 (maybe_swap_uint32_array): Likewise.
19552 (maybe_swap_uint32_obstack): Likewise.
19553 * locale/programs/locfile.c: Include <stdbool.h>.
19554 (swap_endianness_p): New variable.
19555 (add_locale_uint32): Call maybe_swap_uint32.
19556 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19557 (write_locale_data): Call maybe_swap_uint32_array.
19558 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19560 (obstack_int32_grow_fast): Likewise.
19561 (output_weightwc): Call maybe_swap_uint32_obstack.
19562 (collate_output): Likewise.
19563 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19564 (OPT_LITTLE_ENDIAN): Likewise.
19565 (options): Add --little-endian and --big-endian options.
19566 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19567 * locale/programs/locarchive.c: Include "locfile.h".
19571 (create_archive): Use the new macros to access fields of
19572 structures directly mapped from or written to locale archives.
19573 (oldlocrecentcmp): Likewise.
19574 (enlarge_archive): Likewise.
19575 (insert_name): Likewise.
19576 (add_alias): Likewise.
19577 (add_locale): Likewise.
19578 (delete_locales_from_archive): Likewise.
19579 (show_archive_content): Likewise.
19580 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19583 2013-09-24 Roland McGrath <roland@hack.frob.com>
19585 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19586 http://www.gnu.org/doc/freemanuals.texi.
19587 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19589 2013-09-24 Will Newton <will.newton@linaro.org>
19591 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19594 2013-09-23 Joseph Myers <joseph@codesourcery.com>
19596 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19599 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19601 * manual/threads.texi (POSIX Threads): Fix a typo.
19603 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19606 * string/tst-strcoll-overflow.c: New test case.
19607 * string/Makefile (xtests): Add tst-strcoll-overflow.
19608 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19609 cache if string sizes may cause integer overflow.
19612 * string/strcoll_l.c (coll_seq): New members rule, idx,
19613 save_idx and back_us.
19614 (get_next_seq_nocache): New function.
19615 (do_compare_nocache): New function.
19616 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19619 2013-09-23 Carlos O'Donell <carlos@redhat.com>
19622 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19623 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19624 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19627 * elf/Makefile (tests): Add tst-ptrguard1.
19628 (tests-static): Add tst-ptrguard1-static.
19629 (tst-ptrguard1-ARGS): Define.
19630 (tst-ptrguard1-static-ARGS): Define.
19631 * elf/tst-ptrguard1.c: New file.
19632 * elf/tst-ptrguard1-static.c: New file.
19633 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19634 * sysdeps/i386/stackguard-macros.h: Likewise.
19635 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19636 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19637 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19638 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19639 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19640 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19642 2013-09-23 Hector Marco <hecmargi@upv.es>
19643 Ismael Ripoll <iripoll@disca.upv.es>
19644 Carlos O'Donell <carlos@redhat.com>
19647 * sysdeps/generic/stackguard-macros.h: Define
19648 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19649 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19650 Define __pointer_chk_guard_local.
19651 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19652 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19654 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19657 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19659 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19661 * include/string.h (__ffs): Declare as hidden.
19662 * string/ffs.c (__ffs): Define as hidden.
19663 * sysdeps/i386/ffs.c (__ffs): Likewise.
19664 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19665 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19666 * sysdeps/s390/ffs.c (__ffs): Likewise.
19667 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19669 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
19671 * NEWS: Mention malloc probes.
19673 * malloc/arena.c (new_heap): New memory_heap_new probe.
19674 (grow_heap): New memory_heap_more probe.
19675 (shrink_heap): New memory_heap_less probe.
19676 (heap_trim): New memory_heap_free probe.
19677 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19678 (systrim): New memory_sbrk_less probe.
19679 * manual/probes.texi: Document them.
19681 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19682 * manual/probes.texi: Document it.
19684 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19685 (__libc_realloc): Add memory_realloc_retry probe.
19686 (__libc_memalign): Add memory_memalign_retry probe.
19687 (__libc_valloc): Add memory_valloc_retry probe.
19688 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19689 (__libc_calloc): Add memory_calloc_retry probe.
19690 * manual/probes.texi: Document them.
19692 * malloc/arena.c (get_free_list): Add probe
19693 memory_arena_reuse_free_list.
19694 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19695 and memory_arena_reuse.
19696 (arena_get2) [!PER_THREAD]: Likewise.
19697 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19698 memory_arena_reuse_realloc.
19699 * manual/probes.texi: Document them.
19701 * malloc/malloc.c (__libc_free): Add
19702 memory_mallopt_free_dyn_thresholds probe.
19703 (__libc_mallopt): Add multiple memory_mallopt probes.
19704 * manual/probes.texi: Document them.
19706 * malloc/malloc.c: Include stap-probe.h.
19707 (__libc_mallopt): Add memory_mallopt probe.
19708 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19709 * manual/probes.texi: New.
19710 * manual/Makefile (chapters): Add probes.
19711 * manual/threads.texi: Set next node.
19713 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
19715 [BZ #15963, #13985]
19716 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19717 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19718 Add `Chinese' to `nan' entry name.
19720 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19722 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19723 (POLYNOMIAL): Likewise.
19724 (TAYLOR_SINCOS): Likewise.
19725 (TAYLOR_SLOW): Likewise.
19726 (__sin): Use TAYLOR_SINCOS.
19728 (slow): Use TAYLOR_SLOW.
19730 (bsloww): Likewise.
19731 (csloww): Likewise.
19733 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19735 * stdlib/strtod_l.c: Fix buffer overrun.
19737 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19739 * benchtests/Makefile (bench): Add sincos.
19740 * benchtests/bench-sincos.c: New file.
19742 * math/libm-test.inc (cos_test_data): New test inputs.
19743 (sin_test_data): Likewise.
19745 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19751 (sloww1): Likewise.
19752 (sloww2): Likewise.
19753 (bsloww1): Likewise.
19754 (bsloww2): Likewise.
19755 (cslow2): Likewise.
19756 (csloww1): Likewise.
19757 (csloww2): Likewise.
19759 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19768 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19770 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19771 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19772 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19773 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19774 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19775 * elf/cache.c (print_entry): Handle the new cache flags.
19777 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19778 Aldy Hernandez <aldyh@redhat.com>
19780 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19781 Change condition to [_SOFT_FLOAT].
19782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19794 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19797 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19800 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19802 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19803 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19804 (__longjmp): Use LOAD_GP to load saved GPRs.
19805 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19806 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19807 (__sigsetjmp): Use SAVE_GP to save GPRs.
19809 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19810 Do not append -msoft-float.
19811 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19813 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19815 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19817 2013-09-17 Joseph Myers <joseph@codesourcery.com>
19820 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19821 (_FPU_GETCW): Use initial "__" on variable and field names but not
19822 on macro parameter name.
19823 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19824 parentheses around reference to macro parameter.
19826 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19828 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19830 (ctype_startup): Use uint32_t in cast and sizeof for
19833 2013-09-11 Jia Liu <proljc@gmail.com>
19835 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19837 [__FreeBSD__]: Likewise.
19839 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19842 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19843 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19844 (strchr): Remove __strchr_sse42 ifunc selection.
19845 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19846 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19848 2013-09-11 Will Newton <will.newton@linaro.org>
19850 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19851 parameter to RES. Remove hardcoded 1000 value.
19852 * benchtests/bench-skeleton.c (main): Pass RES parameter
19853 to TIMING_INIT and multiply result by 1000.
19855 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19859 2013-09-11 Andreas Schwab <schwab@suse.de>
19861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19863 (O_TMPFILE) [__USE_GNU]: Define.
19864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19867 2013-09-11 Will Newton <will.newton@linaro.org>
19870 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19873 2013-09-11 Will Newton <will.newton@linaro.org>
19876 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19879 2013-09-11 Will Newton <will.newton@linaro.org>
19882 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19885 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19887 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19888 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19889 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19890 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19891 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19893 2013-09-10 Allan McRae <allan@archlinux.org>
19896 * manual/arith.texi (Parsing of Floats): Clarify
19900 * manual/install.texi (Running make install): Mention
19902 * INSTALL: Regenerated.
19904 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19906 * csu/init-first.c (_init): Remove the !SHARED condition around
19907 FPU control word initialization.
19908 * elf/dl-support.c (_dl_fpu_control): New variable.
19909 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19910 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19911 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19912 * math/test-fpucw-static.c: New file.
19913 * math/test-fpucw-ieee.c: New file.
19914 * math/test-fpucw-ieee-static.c: New file.
19915 * math/Makefile (tests): Add `test-fpucw-ieee' and
19917 (tests-static): New variable.
19918 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19920 [($(build-shared),yes)]
19921 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19923 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19926 2013-09-09 Allan McRae <allan@archlinux.org>
19929 * manual/string.texi (Collation Functions): Fix typo in
19931 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19934 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19937 * libio/memstream.c (open_memstream): Fix memory leak.
19938 * libio/wmemstream.c (open_wmemstream): Likewise.
19941 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19943 2013-09-09 Will Newton <will.newton@linaro.org>
19945 * malloc/Makefile: Add tst-realloc to tests.
19946 * malloc/tst-realloc.c: New file.
19948 2013-09-09 Allan McRae <allan@archlinux.org>
19951 * COPYING: Update from GNU website to fix FSF address.
19952 * COPYING.LIB: Likewise.
19954 2013-09-06 David S. Miller <davem@davemloft.net>
19956 * po/zh_TW.po: Update Chinese (traditional) translation from
19957 translation project.
19959 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19960 Joseph Myers <joseph@codesourcery.com>
19962 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19964 (obstack_chunk_alloc): New macro.
19965 (obstack_chunk_free): Likewise.
19966 (record_offset): New function.
19967 (init_locale_data): Likewise.
19968 (align_locale_data): Likewise.
19969 (add_locale_empty): Likewise.
19970 (add_locale_raw_data): Likewise.
19971 (add_locale_raw_obstack): Likewise.
19972 (add_locale_string): Likewise.
19973 (add_locale_wstring): Likewise.
19974 (add_locale_uint32): Likewise.
19975 (add_locale_uint32_array): Likewise.
19976 (add_locale_char): Likewise.
19977 (start_locale_structure): Likewise.
19978 (end_locale_structure): Likewise.
19979 (start_locale_prelude): Likewise.
19980 (end_locale_prelude): Likewise.
19981 (write_locale_data): Take locale_file structure rather than an
19983 * locale/programs/locfile.h: Include "obstack.h".
19984 (struct locale_file): Change to store locale file contents instead
19986 (init_locale_data): New prototype.
19987 (align_locale_data): Likewise.
19988 (add_locale_empty): Likewise.
19989 (add_locale_raw_data): Likewise.
19990 (add_locale_raw_obstack): Likewise.
19991 (add_locale_string): Likewise.
19992 (add_locale_wstring): Likewise.
19993 (add_locale_uint32): Likewise.
19994 (add_locale_uint32_array): Likewise.
19995 (add_locale_char): Likewise.
19996 (start_locale_structure): Likewise.
19997 (end_locale_structure): Likewise.
19998 (start_locale_prelude): Likewise.
19999 (end_locale_prelude): Likewise.
20000 (write_locale_data): Update prototype.
20001 * locale/programs/3level.h (struct TABLE): Remove result field.
20002 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20003 Use new locale_file interface.
20004 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20005 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20006 * locale/programs/ld-address.c (address_output): Use new
20007 locale_file interface.
20008 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20010 (collate_finish): Don't call collseq_table_finalize.
20011 (collate_output): Use new locale_file interface.
20012 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20014 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20015 (TABLE): Move defines earlier in file.
20016 (ELEMENT): Likewise.
20017 (DEFAULT): Likewise.
20018 (wctrans_table_add): Move macro and inline function earlier in
20020 (struct wctype_table): Move type earlier in file.
20021 (add_locale_wctype_table): New static prototype.
20022 (struct locale_ctype_t): Use logical types instead of struct iovec
20023 pointers for members.
20024 (ctype_output): Use new locale_file interface.
20025 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20026 new locale_file interface.
20027 (allocate_arrays): Update for use of new locale_file interface.
20028 * locale/programs/ld-identification.c (identification_output): Use
20029 new locale_file interface.
20030 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20031 * locale/programs/ld-messages.c (messages_output): Likewise.
20032 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20033 * locale/programs/ld-name.c (name_output): Likewise.
20034 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20035 * locale/programs/ld-paper.c (paper_output): Likewise.
20036 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20037 * locale/programs/ld-time.c (time_output): Likewise.
20039 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20041 * benchtests/Makefile: Add memrchr benchmark.
20042 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20043 benchmark as memrchr.
20044 * benchtests/bench-memrchr-ifunc.c: New file.
20045 * benchtests/bench-memrchr.c: New file.
20047 2013-09-06 Will Newton <will.newton@linaro.org>
20049 * benchtests/Makefile (string-bench): Add memcpy.
20051 2013-09-05 Carlos O'Donell <carlos@redhat.com>
20052 Cong Wang <amwang@redhat.com>
20055 * sysdeps/unix/sysv/linux/bits/in.h
20056 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20057 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20058 before __USE_KERNEL_IPV6_DEFS uses.
20059 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20061 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20062 sockaddr_in6, or ipv6_mreq.
20064 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20066 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20067 memory access for final bytes in some large inputs.
20068 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20070 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20072 * string/test-memrchr.c: New file.
20073 * string/test-memrchr-ifunc.c: New file.
20074 * string/Makefile: Add new memrchr testcase.
20076 2013-09-05 Mike Frysinger <vapier@gentoo.org>
20078 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20079 fanotify_init returns EPERM.
20081 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20083 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20085 (top level): Treat second token from macro or constant entries for
20086 allowed headers as allowed.
20087 * include/complex.h: Condition internal declarations on
20089 * include/fenv.h: Condition include of <stdbool.h> and internal
20090 declarations on [!_ISOMAC].
20092 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20095 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20097 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20099 * configure.in (--enable-versioning): Remove configure option.
20100 (libc_cv_asm_symver_directive): Remove configure test.
20101 (libc_cv_ld_version_script_option): Likewise.
20102 (VERSIONING): Remove variable and AC_SUBST.
20103 (DO_VERSIONING): Remove AC_DEFINE.
20104 * configure: Regenerated.
20105 * config.h.in (DO_VERSIONING): Remove macro.
20106 * Makerules [$(versioning) = yes]: Change conditionals to
20107 [$(build-shared) = yes].
20108 * config.make.in (versioning): Remove variable.
20109 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20110 [$(build-shared) = yes].
20111 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20112 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20113 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20114 [$(build-shared) = yes].
20115 * extra-lib.mk [$(versioning) = yes]: Likewise.
20116 * hurd/Makefile [$(versioning) = yes]: Likewise.
20117 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20119 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20121 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20122 [SHARED && !NO_HIDDEN].
20123 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20125 [SHARED && DO_VERSIONING]: Likewise..
20126 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20127 [$(build-shared) = yes].
20128 * manual/install.texi (--disable-versioning): Remove
20130 * INSTALL: Regenerated.
20131 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20133 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20134 [$(build-shared) = yes].
20135 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20136 * sysdeps/i386/i686/multiarch/strstr-c.c
20137 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20138 [SHARED && !NO_HIDDEN].
20139 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20140 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20141 * sysdeps/powerpc/powerpc32/dl-machine.c
20142 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20143 * sysdeps/powerpc/powerpc32/sysdep.h
20144 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20145 to [SHARED && PIC && !NO_HIDDEN].
20146 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20147 conditional to [SHARED].
20149 2013-09-04 Will Newton <will.newton@linaro.org>
20151 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20152 * benchtests/bench-string.h: Include bench-timing.h instead
20153 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20154 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20155 call to HP_TIMING_DIFF_INIT.
20156 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20157 instead of hp-timing.h macros.
20158 * benchtests/bench-memchr.c: Likewise.
20159 * benchtests/bench-memcmp.c: Likewise.
20160 * benchtests/bench-memcpy.c: Likewise.
20161 * benchtests/bench-memmem.c: Likewise.
20162 * benchtests/bench-memmove.c: Likewise.
20163 * benchtests/bench-memset.c: Likewise.
20164 * benchtests/bench-rawmemchr.c: Likewise.
20165 * benchtests/bench-strcasecmp.c: Likewise.
20166 * benchtests/bench-strcasestr.c: Likewise.
20167 * benchtests/bench-strcat.c: Likewise.
20168 * benchtests/bench-strchr.c: Likewise.
20169 * benchtests/bench-strcmp.c: Likewise.
20170 * benchtests/bench-strcpy.c: Likewise.
20171 * benchtests/bench-strcpy_chk.c: Likewise.
20172 * benchtests/bench-strlen.c: Likewise.
20173 * benchtests/bench-strncasecmp.c: Likewise.
20174 * benchtests/bench-strncat.c: Likewise.
20175 * benchtests/bench-strncmp.c: Likewise.
20176 * benchtests/bench-strncpy.c: Likewise.
20177 * benchtests/bench-strnlen.c: Likewise.
20178 * benchtests/bench-strpbrk.c: Likewise.
20179 * benchtests/bench-strrchr.c: Likewise.
20180 * benchtests/bench-strspn.c: Likewise.
20181 * benchtests/bench-strstr.c: Likewise.
20183 2013-09-04 Will Newton <will.newton@linaro.org>
20185 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20187 2013-09-03 Joseph Myers <joseph@codesourcery.com>
20190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20191 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20192 * math/libm-test.inc (lgamma_test_data): Add more tests.
20193 * sysdeps/i386/fpu/libm-test-ulps: Update.
20194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20196 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
20198 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20202 Add strcmp-sse2-unaligned
20203 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20205 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20207 * Versions.def (libc): Add GLIBC_2.19.
20209 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20211 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20212 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20214 2013-09-02 Joseph Myers <joseph@codesourcery.com>
20217 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20218 intermediate calculations in recurrence.
20219 (__ieee754_ynf): Likewise.
20220 * math/libm-test.inc (jn_test_data): Do not allow spurious
20221 underflow exception. Add more tests.
20222 (yn_test_data): Add more tests.
20223 * sysdeps/i386/fpu/libm-test-ulps: Update.
20224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20226 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
20228 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20230 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20232 * csu/init-first.c: Fix then/than typos.
20233 * locale/programs/ld-collate.c: Likewise.
20234 * locale/programs/linereader.h: Likewise.
20235 * manual/charset.texi: Likewise.
20236 * manual/filesys.texi: Likewise.
20237 * manual/stdio.texi: Likewise.
20238 * manual/string.texi: Likewise.
20239 * stdlib/fmtmsg.c: Likewise.
20240 * sysdeps/i386/stpncpy.S: Likewise.
20241 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20242 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20243 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20244 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20246 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20248 * elf/dl-open.c: Fix typos.
20249 * iconvdata/gbbig5.c: Likewise.
20250 * iconvdata/iso-2022-jp.c: Likewise.
20251 * iconv/gconv_int.h: Likewise.
20252 * iconv/loop.c: Likewise.
20253 * nis/rpcsvc/nis.h: Likewise.
20254 * resolv/ns_name.c: Likewise.
20255 * stdio-common/vfscanf.c: Likewise.
20256 * streams/stropts.h: Likewise.
20257 * sunrpc/rpc_thread.c: Likewise.
20258 * sysdeps/i386/strpbrk.S: Likewise.
20259 * sysdeps/ieee754/k_standard.c: Likewise.
20260 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20262 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20263 * sysdeps/mach/hurd/profil.c: Likewise.
20264 * sysdeps/s390/dl-procinfo.h: Likewise.
20265 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20266 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20267 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20268 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20271 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20273 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20276 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20278 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20279 aix specific files.
20280 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20281 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20282 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20283 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20284 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20285 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20286 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20287 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20289 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20290 Roland McGrath <roland@hack.frob.com>
20292 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20293 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20295 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20297 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20298 __executable_start symbol instead of _start.
20300 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20302 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20303 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20305 * sysdeps/gnu/ldsodefs.h: ... this new file.
20307 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20308 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20309 instead of ELFOSABI_LINUX.
20311 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20312 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20313 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20314 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20316 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20317 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20318 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20320 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20321 (ibm_extended_long_double): Add ieee_nan member.
20322 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20323 (do_test): New function.
20325 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20327 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20328 functions, renamed from truncdfsf_test, trunctfsf_test,
20330 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20332 (do_test): Run all these.
20334 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20336 * argp/argp-help.c: Fix typos.
20337 * argp/argp-parse.c: Likewise.
20338 * debug/backtracesyms.c: Likewise.
20339 * elf/elf.h: Likewise.
20340 * malloc/malloc.c: Likewise.
20341 * nis/nis_print.c: Likewise.
20342 * resolv/res_comp.c: Likewise.
20343 * stdlib/stdlib.h: Likewise.
20344 * sunrpc/clnt_tcp.c: Likewise.
20345 * sunrpc/clnt_udp.c: Likewise.
20346 * sunrpc/clnt_unix.c: Likewise.
20347 * sysdeps/unix/bsd/ptsname.c: Likewise.
20348 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20356 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20358 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20360 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20363 2013-08-27 Mike Frysinger <vapier@gentoo.org>
20366 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20367 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20368 ($(objpfx)bug-dl-leaf): New rule.
20369 ($(objpfx)bug-dl-leaf.so): Likewise.
20370 ($(objpfx)bug-dl-leaf.out): Likewise.
20371 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20372 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20373 * dlfcn/bug-dl-leaf.c: New test.
20374 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20375 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20376 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20377 (dlclose): Likewise.
20378 (dlmopen): Likewise.
20380 2013-08-27 Roland McGrath <roland@hack.frob.com>
20382 * include/netdb.h [!_ISOMAC]:
20383 Don't include <tls.h>.
20384 (h_errno, __libc_h_errno): Move declaration and macros out of
20387 * include/resolv.h [_RESOLV_H_]:
20388 Don't include <tls.h>.
20389 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20390 * resolv/res_libc.c: Don't include <tls.h>.
20391 (_res): Use __attribute__ ((nocommon)) in place of
20392 __attribute__ ((section (".bss"))).
20394 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20395 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20397 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20399 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20400 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20402 * resolv/res_mkquery.c: Include <sys/time.h>.
20404 * inet/ifreq.c: Moved to ...
20405 * sysdeps/unix/ifreq.c: ... here.
20406 * inet/ifreq.c: New file, true stub version.
20408 * socket/sa_len.c: New file.
20409 * socket/Makefile (aux): Add it.
20410 * sysdeps/unix/sysv/linux/Makefile
20411 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20412 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20413 and #include <socket/sa_len.c>.
20414 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20415 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20417 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20418 * bits/socket.h: ... here.
20420 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20421 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20422 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20424 2013-08-27 Andreas Schwab <schwab@suse.de>
20427 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20428 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20429 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20430 * string/test-strcasecmp.c (test_main): Run tests in several
20432 * string/test-strncasecmp.c (test_main): Likewise.
20434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20435 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20436 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20438 (__strncasecmp_ssse3) [PIC]: Likewise.
20440 2013-08-26 Roland McGrath <roland@hack.frob.com>
20442 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20444 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20445 instead of explicitly declaring xdecrypt.
20446 * nis/nss_nis/nis-publickey.c: Likewise.
20448 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20451 * nscd/aicache.c: Include res_hconf.h.
20452 (addhstaiX): Initialize res_hconf.
20454 2013-08-26 Andreas Schwab <schwab@suse.de>
20456 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20457 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20459 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20461 * nscd/aicache.c (addhstaiX): Fix indentation.
20463 2013-08-25 Mike Frysinger <vapier@gentoo.org>
20465 * configure.ac: Quote $build_pt_chown test.
20466 * configure: Regenerated.
20468 2013-08-23 Joseph Myers <joseph@codesourcery.com>
20471 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20472 * math/s_cexpf.c (__cexpf): Likewise.
20473 * math/s_cexpl.c (__cexpl): Likewise.
20474 * math/libm-test.inc (cexp_test_data): Correct expected return
20475 value for NaN + i0. Add another test.
20477 2013-08-22 David S. Miller <davem@davemloft.net>
20479 * po/ca.po: Update Catalan translation from translation project.
20480 * po/uk.po: Add Ukrainian translations from translation project.
20482 2013-08-21 Joseph Myers <joseph@codesourcery.com>
20485 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20486 is infinite, not alongside NaN test.
20487 * math/s_fdimf.c (__fdimf): Likewise.
20488 * math/s_fdiml.c (__fdiml): Likewise.
20489 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20490 errno is unchanged.
20492 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
20494 * argp/argp-help.c: Fix typos.
20495 * crypt/speeds.c: Likewise.
20496 * csu/check_fds.c: Likewise.
20497 * elf/dl-load.c: Likewise.
20498 * elf/dl-open.c: Likewise.
20499 * elf/reldep3.c: Likewise.
20500 * elf/reldep.c: Likewise.
20501 * elf/sprof.c: Likewise.
20502 * iconv/iconv_charmap.c: Likewise.
20503 * iconv/skeleton.c: Likewise.
20504 * iconv/strtab.c: Likewise.
20505 * io/lockf64.c: Likewise.
20506 * libio/libioP.h: Likewise.
20507 * resolv/gai_notify.c: Likewise.
20508 * resolv/ns_name.c: Likewise.
20509 * resolv/ns_samedomain.c: Likewise.
20510 * resolv/res_send.c: Likewise.
20511 * stdlib/random.c: Likewise.
20512 * sunrpc/rpc/xdr.h: Likewise.
20513 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20514 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20515 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20516 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20518 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20520 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20521 * sysdeps/mach/hurd/check_fds.c: Likewise.
20522 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20523 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20525 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20526 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20527 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20528 * sysdeps/pthread/aio_notify.c: Likewise.
20529 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20530 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20531 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20533 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20535 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20537 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20538 version if bit_Slow_SSE4_2 is set.
20539 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20542 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20545 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20546 trampoline stack frame information.
20547 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20548 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20549 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20550 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20551 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20552 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20553 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20554 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20556 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20557 interrupting a syscall and set with option SA_SIGINFO.
20559 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20562 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20563 argument is infinite.
20564 * math/s_cprojf.c (__cprojf): Likewise.
20565 * math/s_cprojl.c (__cprojl): Likewise.
20566 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20567 * math/libm-test.inc (cproj_test_data): Add more tests.
20569 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20571 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20572 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20573 size. Use __ffs to determine corresponding shift.
20575 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20576 Roland McGrath <roland@hack.frob.com>
20578 * Makefile (INSTALL): Remove trailing blank lines from output of
20581 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20583 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20584 Align 32 bit compat elf_greg to 8 bytes.
20586 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20588 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20590 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20592 * string/strcoll_l.c (coll_seq): New structure.
20593 (get_next_seq_cached): New function.
20594 (get_next_seq): New function.
20595 (do_compare): New function.
20596 (STRCOLL): Use GNU style definition. Simplify implementation
20597 by using get_next_seq, get_next_seq_cached and do_compare.
20599 2013-08-16 Florian Weimer <fweimer@redhat.com>
20603 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20605 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20607 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20608 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20609 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20611 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20612 GETDENTS_64BIT_ALIGNED.
20613 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20614 * manual/filesys.texi (Reading/Closing Directory): Document
20615 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20617 * manual/conf.texi (Limits for Files): Add portability note to
20618 NAME_MAX, PATH_MAX.
20619 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20621 2013-08-13 Andreas Schwab <schwab@suse.de>
20624 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20626 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20627 LDBL_MAX_EXP >= 16384]: Add tests for it.
20629 2013-08-12 David S. Miller <davem@davemloft.net>
20631 * version.h (RELEASE): Set to "development".
20632 (VERSION): Set to "2.18.90".
20633 * NEWS: Add 2.19 section.
20635 2013-08-03 David S. Miller <davem@davemloft.net>
20637 * po/ko.po: Update Korean translation from translation project.
20639 2013-08-01 David S. Miller <davem@davemloft.net>
20641 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20642 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20645 2013-07-30 David S. Miller <davem@davemloft.net>
20647 * po/fr.po: Update French translation from translation project.
20649 2013-07-28 David S. Miller <davem@davemloft.net>
20651 * po/cs.po: Update Czech translation from translation project.
20653 * po/sv.po: Update Swedish translation from translation project.
20655 2013-07-27 David S. Miller <davem@davemloft.net>
20657 * po/eo.po: Update Esperanto translation from translation project.
20659 * po/vi.po: Update Vietnamese translation from translation project.
20661 * po/de.po: Update German translation from translation project.
20663 2013-07-26 David S. Miller <davem@davemloft.net>
20665 * po/bg.po: Update Bulgarian translation from translation project.
20667 * po/nl.po: Update Dutch translation from translation project.
20668 * po/pl.po: Update Polish translation from translation project.
20669 * po/ru.po: Update Russian translation from translation project.
20671 2013-07-24 David S. Miller <davem@davemloft.net>
20673 * po/libc.pot: Update.
20675 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20677 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20678 variable page size.
20679 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20680 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20681 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20683 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20685 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20687 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20688 Andreas Schwab <schwab@suse.de>
20689 Roland McGrath <roland@hack.frob.com>
20690 Joseph Myers <joseph@codesourcery.com>
20691 Carlos O'Donell <carlos@redhat.com>
20694 * config.h.in: Define HAVE_PT_CHOWN.
20695 * config.make.in (build-pt-chown): New variable.
20696 * configure.in (--enable-pt_chown): New configure option.
20697 * configure: Regenerate.
20698 * login/Makefile: Include Makeconfig. Build pt_chown only if
20699 build-pt-chown is enabled.
20700 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20701 pt_chown to fix pty ownership.
20702 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20704 * manual/install.texi (Configuring and compiling): Mention
20705 --enable-pt_chown. Add @findex for grantpt.
20706 * INSTALL: Regenerate.
20708 2013-07-20 David S. Miller <davem@davemloft.net>
20710 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20711 difference between 32-bit and 64-bit.
20713 2013-07-15 Carlos O'Donell <carlos@redhat.com>
20716 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20717 Avoid system header dependency with -ffreestanding.
20718 ($(objpfx)bits/syscall%d): Likewise.
20720 2013-07-13 David S. Miller <davem@davemloft.net>
20722 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20723 underflows from atanl/atan2l due to bug 15319.
20724 (casinh_test_data): Likewise.
20726 2013-07-07 David S. Miller <davem@davemloft.net>
20728 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20730 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20732 * sysdeps/i386/fpu/libm-test-ulps: Update.
20733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20735 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20737 * configure.in (--enable-lock-elision): Fix message text.
20738 * INSTALL: Regenerate.
20739 * configure: Regenerate.
20741 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20745 2013-07-03 Andreas Jaeger <aj@suse.de>
20747 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20749 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20750 (ptrace_peeksiginfo_args): Add.
20751 (__ptrace_peeksiginfo_flags): Add.
20752 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20754 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20756 2013-07-03 Allan McRae <allan@archlinux.org>
20758 * sysdeps/i386/fpu/libm-test-ulps: Update.
20760 2013-07-02 David S. Miller <davem@davemloft.net>
20762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20764 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20768 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20770 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20773 2013-07-02 Andi Kleen <ak@linux.intel.com>
20775 * config.h.in (ENABLE_LOCK_ELISION): Add.
20776 * configure.in (--enable-lock-elision): Add option.
20777 * manual/install.texi: Document --enable lock elision.
20778 * configure: Regenerate
20779 * INSTALL: Regenerate.
20781 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20783 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20784 SSE4.2 strcasecmp for libc.a.
20785 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20787 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20790 * soft-fp/op-common.h (_FP_FMA): New macro.
20791 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20792 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20793 (_FP_MUL_MEAT_1_imm): ... here.
20794 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20795 (_FP_MUL_MEAT_1_wide): ... here.
20796 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20797 (_FP_MUL_MEAT_1_hard): ... here.
20798 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20799 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20800 (_FP_MUL_MEAT_2_wide): ... here.
20801 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20802 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20803 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20804 (_FP_MUL_MEAT_2_gmp): ... here.
20805 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20806 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20807 (_FP_MUL_MEAT_4_wide): ... here.
20808 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20809 (_FP_MUL_MEAT_4_gmp): ... here.
20810 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20811 (_FP_WFRACBITS_DW_S): Likewise.
20812 (_FP_WFRACXBITS_DW_S): Likewise.
20813 (_FP_HIGHBIT_DW_S): Likewise.
20814 (FP_FMA_S): Likewise.
20815 (_FP_FRAC_HIGH_DW_S): Likewise.
20816 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20817 (_FP_WFRACBITS_DW_D): Likewise.
20818 (_FP_WFRACXBITS_DW_D): Likewise.
20819 (_FP_HIGHBIT_DW_D): Likewise.
20820 (FP_FMA_D): Likewise.
20821 (_FP_FRAC_HIGH_DW_D): Likewise.
20822 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20823 (_FP_WFRACBITS_DW_E): Likewise.
20824 (_FP_WFRACXBITS_DW_E): Likewise.
20825 (_FP_HIGHBIT_DW_E): Likewise.
20826 (FP_FMA_E): Likewise.
20827 (_FP_FRAC_HIGH_DW_E): Likewise.
20828 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20829 (_FP_WFRACBITS_DW_Q): Likewise.
20830 (_FP_WFRACXBITS_DW_Q): Likewise.
20831 (_FP_HIGHBIT_DW_Q): Likewise.
20832 (FP_FMA_Q): Likewise.
20833 (_FP_FRAC_HIGH_DW_Q): Likewise.
20834 * soft-fp/fmasf4.c: New file.
20835 * soft-fp/fmadf4.c: Likewise.
20836 * soft-fp/fmatf4.c: Likewise.
20838 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20841 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20845 (index_Slow_SSE4_2): Likewise.
20846 (index_Prefer_PMINUB_for_stringop): Likewise.
20847 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20848 bit_Slow_SSE4_2 is set.
20849 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20850 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20852 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20854 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20855 rtld_global._dl_hwcap2.
20856 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20858 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20859 POWER8 feature descriptions defined in _dl_hwcap2.
20860 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20861 string handling for POWER8 feature bits.
20862 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20863 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20864 _dl_powerpc_cap_flags.
20865 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20866 * sysdeps/powerpc/rtld-global-offsets.sym
20867 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20868 _dl_hwcap2 in the rtld_global_ro structure.
20870 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20872 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20873 hardware capabilities in support of AT_HWCAP2.
20874 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20875 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20877 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20878 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20879 explicitly the unknown a_type display mechanism is used.
20880 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20881 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20883 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20884 to macro prototype for AT_HWCAP2 support.
20885 * sysdeps/i386/dl-procinfo.h: Likewise.
20886 * sysdeps/s390/dl-procinfo.h: Likewise.
20887 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20888 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20889 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20890 return -1 for unknown a_type display fallback.
20891 * sysdeps/sparc/dl-procinfo.h: Likewise.
20892 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20893 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20895 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20897 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20898 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20900 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20903 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20904 mprotect making __stack_prot writable.
20906 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20907 Joseph Myers <joseph@codesourcery.com>
20909 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20910 as being properly aligned.
20912 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20914 * dlfcn/modstatic5.c: New file.
20915 * dlfcn/tststatic5.c: New file.
20916 * dlfcn/Makefile (tests): Add tststatic5.
20917 (tests-static): Likewise.
20918 (modules-names): Add modstatic5.
20919 (tststatic5-ENV): New variable.
20920 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20923 * elf/dl-support.c (_dl_main_map): New variable.
20924 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20925 (_dl_nns, _dl_load_adds): Set to 1.
20926 (_dl_initial_searchlist): Refer to _dl_main_map.
20927 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20928 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20929 call to _dl_get_origin.
20930 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20932 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20933 * dlfcn/modstatic3.c: New file.
20934 * dlfcn/tststatic3.c: New file.
20935 * dlfcn/tststatic4.c: New file.
20936 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20937 (tests-static): Likewise.
20938 (modules-names): Add modstatic3.
20939 (tststatic3-ENV, tststatic4-ENV): New variables.
20940 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20941 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20943 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20945 * configure.in (CC): Require GCC version 4.4 or later.
20946 * configure: Regenerated.
20947 * manual/install.texi (Tools for Compilation): Update GCC version
20949 * INSTALL: Regenerated.
20951 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20954 * string/test-memcmp.c (check2): New.
20955 (main): Call check2.
20957 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20959 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20962 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20964 (dl_open_worker) [!SHARED]: ... here.
20966 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20968 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20970 2013-06-25 Richard Henderson <rth@redhat.com>
20972 * locale/programs/locarchive.c: Include <libc-internal.h>
20974 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20976 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20977 trailing whitespace removed.
20979 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20982 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20983 * locale/programs/locarchive.c: Include libc-mmap.h.
20984 (prepare_address_space): Take two new outputs (the mmap base and len).
20985 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20987 (create_archive): Declare new mmap base and len values for
20988 prepare_address_space, and store the result in ah.
20989 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20990 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20991 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20992 Declare new mmap base and len values for
20993 prepare_address_space, and store the result in new_ah.
20994 (open_archive): Declare new mmap base and len values for
20995 prepare_address_space, and store the result in ah.
20996 (close_archive): If ah->mmap_base is not NULL, use that and
20997 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20998 * sysdeps/generic/libc-mmap.h: New file.
21000 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21002 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21003 (ALIGN_UP): Likewise.
21004 (PTR_ALIGN_DOWN): Likewise.
21005 (PTR_ALIGN_UP): Likewise.
21007 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21009 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21010 entry mapped to PPC_PLATFORM_POWER8.
21011 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21013 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21014 (_dl_string_platform): Add case for exporting platform position for
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21017 search path to sysdeps/powerpc/powerpc32/power8 directory.
21018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21019 search path to sysdeps/powerpc/powerpc64/power8 directory.
21020 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21021 power7 directories.
21022 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21023 power7 directories.
21025 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21027 * INSTALL: Regenerate.
21029 * nscd/connections.c (nscd_init): Fix comment.
21031 2013-06-22 Joseph Myers <joseph@codesourcery.com>
21033 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21036 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21037 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21039 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21041 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21043 (DL_DST_REQ_STATIC): Remove macro.
21045 2013-06-21 Joseph Myers <joseph@codesourcery.com>
21048 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21049 with a shift of 0 bits.
21051 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21053 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21056 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21059 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21061 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21063 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21064 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21065 accepts -fno-tree-loop-distribute-patterns.
21066 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21067 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21069 * string/memset.c (memset): Likewise.
21070 * string/test-memmove.c (simple_memmove): Disable loop transformation
21072 * string/test-memset.c (simple_memset): Likewise.
21073 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21074 * benchtests/bench-memset.c (simple_memset): Likewise.
21075 * configure: Regenerated.
21077 2013-06-20 Joseph Myers <joseph@codesourcery.com>
21079 * math/test-misc.c (main): Ignore fesetround failure when failures
21080 of subsequent rounding tests would be ignored.
21083 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21084 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21085 * math/fegetenv.c (__fegetenv): Return 0.
21086 * math/fegetexcept.c (fegetexcept): Return 0.
21087 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21089 * math/feholdexcpt.c (feholdexcept): Return 0.
21090 * math/fesetenv.c (__fesetenv): Return 0.
21091 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21092 argument FE_TONEAREST.
21093 * math/feupdateenv.c (__feupdateenv): Return 0.
21094 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21096 2013-06-18 Roland McGrath <roland@hack.frob.com>
21098 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21099 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21100 ($(objpfx)rtld-%.os rules): Use them.
21102 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21104 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21107 2013-06-17 Roland McGrath <roland@hack.frob.com>
21109 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21110 length of target pattern, then descending length of dependency pattern.
21111 * configure.in (AWK): Require gawk 3.1.2 or newer.
21112 * manual/install.texi (Tools for Compilation): Say that we do.
21113 * configure: Regenerated.
21115 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21116 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21117 * scripts/sysd-rules.awk: ... this new script.
21118 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21119 than a glob-style pattern.
21121 2013-06-17 Joseph Myers <joseph@codesourcery.com>
21123 * math/test-misc.c (main): Do not treat incorrectly rounded
21124 conversions as failure unless ROUNDING_TESTS passes.
21126 2013-06-15 Joseph Myers <joseph@codesourcery.com>
21129 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21130 restore exception state around main square root computation, then
21131 check for inexactness explicitly.
21133 * math/libm-test.inc (fma_test_data): Add another test.
21135 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21137 * manual/threads.texi (Non-POSIX Extensions): New document
21138 node. Document pthread_getattr_default_np and
21139 pthread_setattr_default_np.
21141 * Versions.def (libpthread): Add GLIBC_2.18.
21142 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21151 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21162 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21165 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21167 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21168 H.J. Lu <hjl.tools@gmail.com>
21171 * sysdeps/x86_64/rtld-memset.c: Remove file.
21172 * sysdeps/x86_64/rtld-memset.S: New file.
21174 2013-06-14 Joseph Myers <joseph@codesourcery.com>
21176 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21177 (test_in_one_mode): Take arguments for whether the rounding mode
21178 is supported for each floating-point type.
21179 (do_test): Pass new arguments to test_in_one_mode using
21182 2013-06-13 Roland McGrath <roland@hack.frob.com>
21184 * posix/tst-waitid.c (do_test): Distinguish different instances of
21185 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21186 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21187 before entering the kernel for waitpid.
21189 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21191 * NEWS: Fix note on clock function precision. Text by Roland
21194 2013-06-13 Roland McGrath <roland@hack.frob.com>
21196 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21197 it into place only when and if the sanity check passes.
21199 2013-06-13 Joseph Myers <joseph@codesourcery.com>
21201 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21202 output for whether conversion result is exact. Take argument
21203 indicating whether type is IBM long double.
21204 (round_for_all): Change need_exact field to ibm_ld.
21205 * stdlib/tst-strtod-round.c (struct exactness): New type.
21206 (struct test): Change bool ld_ok field to struct exactness exact.
21207 (TEST): Update all definitions for change to field.
21208 (tests): Regenerate array contents.
21209 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21210 field value. Check for IBM long double here.
21211 (do_test): Update calls to test_in_one_mode.
21213 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21216 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21217 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21219 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21222 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21223 generated by the compiler on loop optimizations.
21224 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21225 general definitions.
21227 2013-06-12 Joseph Myers <joseph@codesourcery.com>
21229 * math/bug-nextafter.c: Include <math-tests.h>.
21230 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21232 * math/bug-nexttoward.c: Include <math-tests.h>.
21233 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21235 * math/test-misc.c: Include <math-tests.h>.
21236 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21239 2013-06-12 Andreas Jaeger <aj@suse.de>
21241 * po/ia.po: Update Interlingua translation from translation
21244 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21246 * include/fenv.h: Include stdbool.h.
21247 (struct rm_ctx): New structure.
21248 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21250 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21251 (SET_RESTORE_ROUNDF): Likewise.
21252 (SET_RESTORE_ROUNDL): Likewise.
21253 (SET_RESTORE_ROUND_NOEX): Likewise.
21254 (SET_RESTORE_ROUND_NOEXF): Likewise.
21255 (SET_RESTORE_ROUND_NOEXL): Likewise.
21256 (SET_RESTORE_ROUND_53BIT): Likewise.
21257 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21258 (libc_feresetround_noexf_ctx): Likewise.
21259 (libc_feresetround_noexl_ctx): Likewise.
21260 (libc_feholdsetround_53bit_ctx): Likewise.
21261 (libc_feresetround_53bit_ctx): Likewise.
21262 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21263 (libc_feholdexcept_setround_sse_ctx): New function.
21264 (libc_fesetenv_sse_ctx): Likewise.
21265 (libc_feupdateenv_sse_ctx): Likewise.
21266 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21267 (libc_feholdexcept_setround_387_ctx): Likewise.
21268 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21269 (libc_feholdsetround_387_prec_ctx): Likewise.
21270 (libc_feholdsetround_387_ctx): Likewise.
21271 (libc_feholdsetround_387_53bit_ctx): Likewise.
21272 (libc_feholdsetround_sse_ctx): Likewise.
21273 (libc_feresetround_sse_ctx): Likewise.
21274 (libc_feresetround_387_ctx): Likewise.
21275 (libc_feupdateenv_387_ctx): Likewise.
21276 (libc_feholdexcept_setroundf_ctx): Define macro.
21277 (libc_fesetenvf_ctx): Likewise.
21278 (libc_feupdateenvf_ctx): Likewise.
21279 (libc_feholdsetroundf_ctx): Likewise.
21280 (libc_feresetroundf_ctx): Likewise.
21281 (libc_feholdexcept_setround_ctx): Likewise.
21282 (libc_fesetenv_ctx): Likewise.
21283 (libc_feupdateenv_ctx): Likewise.
21284 (libc_feholdsetround_ctx): Likewise.
21285 (libc_feresetround_ctx): Likewise.
21286 (libc_feholdexcept_setroundl_ctx): Likewise.
21287 (libc_feupdateenvl_ctx): Likewise.
21288 (libc_feholdsetroundl_ctx): Likewise.
21289 (libc_feresetroundl_ctx): Likewise.
21290 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21291 (libc_feresetround_53bit_ctx): Likewise.
21293 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21295 * locale/iso-639.def: Convert to UTF-8.
21297 2013-06-11 Joseph Myers <joseph@codesourcery.com>
21299 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21300 (EXCEPTION_TESTS_double): Likewise.
21301 (EXCEPTION_TESTS_long_double): Likewise.
21302 (EXCEPTION_TESTS): Likewise.
21303 * math/libm-test.inc (test_exceptions): Only test exceptions if
21304 EXCEPTION_TESTS (FLOAT).
21306 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21308 * benchtests/Makefile (string-bench): Add strcpy_chk and
21310 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21311 * benchtests/bench-stpcpy_chk.c: New file.
21312 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21313 * benchtests/bench-strcpy_chk.c: New file.
21314 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21316 (do_test): Likewise.
21318 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21320 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21321 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21322 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21323 with tabs where appropriate.
21324 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21326 [PPC_PLATFORM_PPC440]: Likewise.
21327 [PPC_PLATFORM_PPC464]: Likewise.
21328 [PPC_PLATFORM_PPC476]: Likewise.
21329 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21330 ppc464, and ppc476 platform strings merging from ports/
21333 2013-06-11 Andreas Schwab <schwab@suse.de>
21336 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21337 (from_ucs4_idx): Regenerate.
21338 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21339 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21340 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21341 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21342 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21343 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21344 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21345 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21346 from FROM_LOOP and TO_LOOP specific macros.
21347 (BODY): Handle combining characters.
21348 * iconvdata/BIG5HKSCS.irreversible: Update.
21349 * iconvdata/BIG5HKSCS.precomposed: New file.
21350 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21352 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21354 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21356 * include/sys/time.h: Fix indentation and add copyright header.
21358 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21359 (do_test): Likewise.
21360 * string/test-memchr.c (do_one_test): Likewise.
21361 (do_test): Likewise.
21362 * string/test-memcmp.c (do_one_test): Likewise.
21363 (do_test): Likewise.
21364 * string/test-memcpy.c (do_one_test): Likewise.
21365 (do_test): Likewise.
21366 * string/test-memmem.c (do_one_test): Likewise.
21367 (do_test): Likewise.
21368 (do_random_tests): Likewise.
21369 * string/test-memmove.c (do_one_test): Likewise.
21370 (do_test): Likewise.
21371 * string/test-memset.c (do_one_test): Likewise.
21372 (do_test): Likewise.
21373 * string/test-rawmemchr.c (do_one_test): Likewise.
21374 (do_test): Likewise.
21375 * string/test-strcasecmp.c (do_one_test): Likewise.
21376 (do_test): Likewise.
21377 * string/test-strcasestr.c (do_one_test): Likewise.
21378 (do_test): Likewise.
21379 * string/test-strcat.c (do_one_test): Likewise.
21380 (do_test): Likewise.
21381 * string/test-strchr.c (do_one_test): Likewise.
21382 (do_test): Likewise.
21383 * string/test-strcmp.c (do_one_test): Likewise.
21384 (do_test): Likewise.
21385 * string/test-strcpy.c (do_one_test): Likewise.
21386 (do_test): Likewise.
21387 * string/test-string.h: Likewise.
21388 (test_init): Likewise.
21389 * string/test-strlen.c (do_one_test): Likewise.
21390 (do_test): Likewise.
21391 * string/test-strncasecmp.c (do_one_test): Likewise.
21392 (do_test): Likewise.
21393 * string/test-strncat.c (do_one_test): Likewise.
21394 (do_test): Likewise.
21395 * string/test-strncmp.c (do_one_test): Likewise.
21396 (do_test_limit): Likewise.
21397 (do_test): Likewise.
21398 * string/test-strncpy.c (do_one_test): Likewise.
21399 (do_test): Likewise.
21400 * string/test-strnlen.c (do_one_test): Likewise.
21401 (do_test): Likewise.
21402 * string/test-strpbrk.c (do_one_test): Likewise.
21403 (do_test): Likewise.
21404 * string/test-strrchr.c (do_one_test): Likewise.
21405 (do_test): Likewise.
21406 * string/test-strspn.c (do_one_test): Likewise.
21407 (do_test): Likewise.
21408 * string/test-strstr.c (do_one_test): Likewise.
21409 (do_test): Likewise.
21411 * benchtests/Makefile (string-bench): Add string benchmarks.
21412 * benchtests/bench-bcopy-ifunc.c: New file.
21413 * benchtests/bench-bcopy.c: New file.
21414 * benchtests/bench-bzero-ifunc.c: New file.
21415 * benchtests/bench-bzero.c: New file.
21416 * benchtests/bench-memccpy-ifunc.c: New file.
21417 * benchtests/bench-memccpy.c: New file.
21418 * benchtests/bench-memchr-ifunc.c: New file.
21419 * benchtests/bench-memchr.c: New file.
21420 * benchtests/bench-memcmp-ifunc.c: New file.
21421 * benchtests/bench-memcmp.c: New file.
21422 * benchtests/bench-memmem-ifunc.c: New file.
21423 * benchtests/bench-memmem.c: New file.
21424 * benchtests/bench-memmove-ifunc.c: New file.
21425 * benchtests/bench-memmove.c: New file.
21426 * benchtests/bench-mempcpy-ifunc.c: New file.
21427 * benchtests/bench-mempcpy.c: New file.
21428 * benchtests/bench-memset-ifunc.c: New file.
21429 * benchtests/bench-memset.c: New file.
21430 * benchtests/bench-rawmemchr-ifunc.c: New file.
21431 * benchtests/bench-rawmemchr.c: New file.
21432 * benchtests/bench-stpcpy-ifunc.c: New file.
21433 * benchtests/bench-stpcpy.c: New file.
21434 * benchtests/bench-stpncpy-ifunc.c: New file.
21435 * benchtests/bench-stpncpy.c: New file.
21436 * benchtests/bench-strcasecmp-ifunc.c: New file.
21437 * benchtests/bench-strcasecmp.c: New file.
21438 * benchtests/bench-strcasestr-ifunc.c: New file.
21439 * benchtests/bench-strcasestr.c: New file.
21440 * benchtests/bench-strcat-ifunc.c: New file.
21441 * benchtests/bench-strcat.c: New file.
21442 * benchtests/bench-strchr-ifunc.c: New file.
21443 * benchtests/bench-strchr.c: New file.
21444 * benchtests/bench-strchrnul-ifunc.c: New file.
21445 * benchtests/bench-strchrnul.c: New file.
21446 * benchtests/bench-strcmp-ifunc.c: New file.
21447 * benchtests/bench-strcmp.c: New file.
21448 * benchtests/bench-strcpy-ifunc.c: New file.
21449 * benchtests/bench-strcpy.c: New file.
21450 * benchtests/bench-strcspn-ifunc.c: New file.
21451 * benchtests/bench-strcspn.c: New file.
21452 * benchtests/bench-strlen-ifunc.c: New file.
21453 * benchtests/bench-strlen.c: New file.
21454 * benchtests/bench-strncasecmp-ifunc.c: New file.
21455 * benchtests/bench-strncasecmp.c: New file.
21456 * benchtests/bench-strncat-ifunc.c: New file.
21457 * benchtests/bench-strncat.c: New file.
21458 * benchtests/bench-strncmp-ifunc.c: New file.
21459 * benchtests/bench-strncmp.c: New file.
21460 * benchtests/bench-strncpy-ifunc.c: New file.
21461 * benchtests/bench-strncpy.c: New file.
21462 * benchtests/bench-strnlen-ifunc.c: New file.
21463 * benchtests/bench-strnlen.c: New file.
21464 * benchtests/bench-strpbrk-ifunc.c: New file.
21465 * benchtests/bench-strpbrk.c: New file.
21466 * benchtests/bench-strrchr-ifunc.c: New file.
21467 * benchtests/bench-strrchr.c: New file.
21468 * benchtests/bench-strspn-ifunc.c: New file.
21469 * benchtests/bench-strspn.c: New file.
21470 * benchtests/bench-strstr-ifunc.c: New file.
21471 * benchtests/bench-strstr.c: New file.
21473 * benchtests/Makefile: Disable parallel execution of targets.
21474 (string-bench): Add memcpy.
21475 (benchset): New variable to store a list of benchmark sets.
21476 (bench-func): Renamed from bench.
21477 (bench-set): New target.
21478 (bench): Depend on bench-func and bench-set.
21479 * benchtests/README: Add section on benchmark sets.
21480 * benchtests/bench-memcpy-ifunc.c: New file.
21481 * benchtests/bench-memcpy.c: New file.
21482 * benchtests/bench-string.h: New file.
21484 2013-06-11 Andreas Schwab <schwab@suse.de>
21487 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21488 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21489 values in the triple.
21490 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21491 terminator in the group key.
21493 2013-06-11 Andreas Jaeger <aj@suse.de>
21495 * po/zh_TW.po: Update Chinese (traditional) translation from
21496 translation project.
21498 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21500 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21501 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21502 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21504 (clock_getcpuclockid): Likewise.
21505 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21506 Add weak_alias and libc_hidden_def.
21507 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21508 * rt/clock_gettime.c (clock_gettime): Rename to
21509 __clock_gettime. Add weak_alias and libc_hidden_def.
21510 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21511 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21512 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21513 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21514 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21516 * rt/clock_settime.c (clock_settime): Rename to
21517 __clock_settime. Add weak_alias and libc_hidden_def.
21518 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21520 2013-06-10 Joseph Myers <joseph@codesourcery.com>
21522 * mach/err_boot.sub: Remove trailing whitespace.
21523 * mach/err_ipc.sub: Likewise.
21524 * mach/err_mach.sub: Likewise.
21526 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21527 (ROUNDING_TESTS_double): Likewise.
21528 (ROUNDING_TESTS_long_double): Likewise.
21529 (ROUNDING_TESTS): Likewise.
21530 * math/libm-test.inc: Include <math-tests.h>.
21531 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21532 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21533 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21534 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21536 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21538 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21541 2013-06-08 Joseph Myers <joseph@codesourcery.com>
21543 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21544 otherwise empty TRANS lines.
21545 * sysdeps/gnu/errlist.c: Regenerated.
21547 * catgets/gencat.c (error_print): Use (void) in function
21549 * crypt/crypt_util.c (__init_des): Likewise.
21550 * crypt/speeds.c (Stop): Likewise.
21552 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21553 * inet/ruserpass.c (token): Likewise.
21554 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21555 * intl/localealias.c (extend_alias_table): Likewise.
21556 * intl/plural-exp.c (init_germanic_plural): Likewise.
21557 * libio/fcloseall.c (__fcloseall): Likewise.
21558 * libio/genops.c (_IO_flush_all): Likewise.
21559 (_IO_flush_all_linebuffered): Likewise.
21560 (_IO_cleanup): Likewise.
21561 (_IO_iter_begin): Likewise.
21562 (_IO_iter_end): Likewise.
21563 (_IO_list_lock): Likewise.
21564 (_IO_list_unlock): Likewise.
21565 (_IO_list_resetlock): Likewise.
21566 * libio/getchar.c (getchar): Likewise.
21567 * libio/getchar_u.c (getchar_unlocked): Likewise.
21568 * libio/getwchar.c (getwchar): Likewise.
21569 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21570 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21571 * login/getpt.c (__getpt): Likewise.
21572 * login/tst-utmp.c (main): Likewise.
21573 * malloc/hooks.c (__malloc_check_init): Likewise.
21574 * malloc/malloc.c (__malloc_stats): Likewise.
21575 * malloc/mtrace.c (tr_break): Likewise.
21576 (mtrace): Likewise.
21577 (muntrace): Likewise.
21578 * misc/fstab.c (endfsent): Likewise.
21579 * misc/getclktck.c (__getclktck): Likewise.
21580 * misc/getdtsz.c (__getdtablesize): Likewise.
21581 * misc/gethostid.c (gethostid): Likewise.
21582 * misc/getpagesize.c (__getpagesize): Likewise.
21583 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21584 (__get_nprocs): Likewise.
21585 (__get_phys_pages): Likewise.
21586 (__get_avphys_pages): Likewise.
21587 * misc/getttyent.c (getttyent): Likewise.
21588 (setttyent): Likewise.
21589 (endttyent): Likewise.
21590 * misc/getusershell.c (getusershell): Likewise.
21591 (endusershell): Likewise.
21592 (setusershell): Likewise.
21593 (initshells): Likewise.
21594 * misc/hsearch.c (__hdestroy): Likewise.
21595 * misc/sync.c (sync): Likewise.
21596 * misc/syslog.c (closelog_internal): Likewise.
21597 (closelog): Likewise.
21598 * misc/ttyslot.c (ttyslot): Likewise.
21599 * misc/vhangup.c (vhangup): Likewise.
21600 * posix/fork.c (__fork): Likewise.
21601 * posix/getegid.c (__getegid): Likewise.
21602 * posix/geteuid.c (__geteuid): Likewise.
21603 * posix/getgid.c (__getgid): Likewise.
21604 * posix/getpid.c (__getpid): Likewise.
21605 * posix/getppid.c (__getppid): Likewise.
21606 * posix/getuid.c (__getuid): Likewise.
21607 * posix/pause.c (pause): Likewise.
21608 * posix/setpgrp.c (setpgrp): Likewise.
21609 * posix/setsid.c (__setsid): Likewise.
21610 * posix/test-vfork.c (noop): Likewise.
21611 * resolv/gethnamaddr.c (_endhtent): Likewise.
21612 (_gethtent): Likewise.
21613 (ht_endhostent): Likewise.
21614 (gethostent): Likewise.
21615 (dns_service): Likewise.
21616 * stdlib/drand48.c (drand48): Likewise.
21617 * stdlib/lrand48.c (lrand48): Likewise.
21618 * stdlib/mrand48.c (mrand48): Likewise.
21619 * stdlib/rand.c (rand): Likewise.
21620 * stdlib/random.c (__random): Likewise.
21621 * stdlib/setenv.c (clearenv): Likewise.
21622 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21623 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21624 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21625 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21626 (__get_nprocs): Likewise.
21627 (__get_phys_pages): Likewise.
21628 (__get_avphys_pages): Likewise.
21629 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21630 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21631 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21632 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21633 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21634 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21635 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21636 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21637 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21638 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21639 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21640 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21641 * sysdeps/posix/clock.c (clock): Likewise.
21642 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21643 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21644 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21645 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21646 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21648 (__get_nprocs_conf): Likewise.
21649 (__get_phys_pages): Likewise.
21650 (__get_avphys_pages): Likewise.
21651 * time/clock.c (clock): Likewise.
21652 * time/tzset.c (__tzname_max): Likewise.
21654 2013-06-07 Joseph Myers <joseph@codesourcery.com>
21656 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21657 (__bswap_32): Do not use "register".
21658 * crypt/crypt.c (_ufc_doit_r): Likewise.
21659 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21660 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21661 * gmon/gmon.c (__monstartup): Likewise.
21662 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21663 * hurd/hurdmalloc.c (more_memory): Likewise.
21664 (malloc): Likewise.
21666 (realloc): Likewise.
21667 (malloc_fork_prepare): Likewise.
21668 (malloc_fork_parent): Likewise.
21669 (malloc_fork_child): Likewise.
21670 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21671 (_svcauth_des): Likewise.
21672 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21673 * inet/inet_net.c (inet_network): Likewise.
21674 * inet/inet_netof.c (inet_netof): Likewise.
21675 * inet/rcmd.c (__validuser2_sa): Likewise.
21676 * io/fts.c (fts_open): Likewise.
21677 (fts_load): Likewise.
21678 (fts_close): Likewise.
21679 (fts_read): Likewise.
21680 (fts_children): Likewise.
21681 (fts_build): Likewise.
21682 (fts_stat): Likewise.
21683 (fts_sort): Likewise.
21684 (fts_alloc): Likewise.
21685 (fts_lfree): Likewise.
21686 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21687 (_IO_file_xsgetn): Likewise.
21688 (_IO_file_xsgetn_mmap): Likewise.
21689 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21690 (_IO_cookie_write): Likewise.
21691 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21692 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21693 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21694 * malloc/obstack.c (_obstack_begin): Likewise.
21695 (_obstack_begin_1): Likewise.
21696 (_obstack_newchunk): Likewise.
21697 (_obstack_allocated_p): Likewise.
21698 (obstack_free): Likewise.
21699 (_obstack_memory_used): Likewise.
21700 * misc/getttyent.c (getttynam): Likewise.
21701 (getttyent): Likewise.
21704 * misc/getusershell.c (initshells): Likewise.
21705 * misc/syslog.c (__vsyslog_chk): Likewise.
21706 * misc/ttyslot.c (ttyslot): Likewise.
21707 * nis/nis_hash.c (__nis_hash): Likewise.
21708 * posix/fnmatch_loop.c (FCT): Likewise.
21709 * posix/getconf.c (print_all): Likewise.
21711 * posix/getopt.c (exchange): Likewise.
21712 * posix/glob.c (globfree): Likewise.
21713 (prefix_array): Likewise.
21714 (__glob_pattern_type): Likewise.
21715 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21716 (NS_GET32): Likewise.
21717 (NS_PUT16): Likewise.
21718 (NS_PUT32): Likewise.
21719 * resolv/gethnamaddr.c (getanswer): Likewise.
21720 (gethostbyname2): Likewise.
21721 (gethostbyaddr): Likewise.
21722 (_gethtent): Likewise.
21723 (_gethtbyname2): Likewise.
21724 (_gethtbyaddr): Likewise.
21725 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21726 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21727 * resolv/res_init.c (__res_vinit): Likewise.
21728 (net_mask): Likewise.
21729 * resolv/res_mkquery.c (outchar): Likewise.
21731 * stdio-common/printf_fp.c (outchar): Likewise.
21733 * stdio-common/printf_fphex.c (outchar): Likewise.
21735 * stdio-common/printf_size.c (outchar): Likewise.
21737 * stdio-common/test_rdwr.c (main): Likewise.
21738 * stdio-common/tfformat.c (matches): Likewise.
21739 * stdio-common/vfprintf.c (outchar): Likewise.
21740 (printf_unknown): Likewise.
21741 (buffered_vfprintf): Likewise.
21742 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21743 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21744 (ReadFile): Likewise.
21745 * stdlib/qsort.c (SWAP): Likewise.
21746 (_quicksort): Likewise.
21747 * stdlib/setenv.c (__add_to_environ): Likewise.
21748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21749 * stdlib/strtol_l.c (__strtol_l): Likewise.
21750 * stdlib/tst-strtod.c (main): Likewise.
21751 * stdlib/tst-strtol.c (main): Likewise.
21752 * stdlib/tst-strtoll.c (main): Likewise.
21753 * string/bits/string2.h (__strcmp_cc): Likewise.
21754 (__strcmp_cg): Likewise.
21755 (__strcspn_c1): Likewise.
21756 (__strcspn_c2): Likewise.
21757 (__strcspn_c3): Likewise.
21758 (__strspn_c1): Likewise.
21759 (__strspn_c2): Likewise.
21760 (__strspn_c3): Likewise.
21761 (__strsep_1c): Likewise.
21762 (__strsep_2c): Likewise.
21763 (__strsep_3c): Likewise.
21764 * string/memccpy.c (__memccpy): Likewise.
21765 * string/stpcpy.c (__stpcpy): Likewise.
21766 * string/strcmp.c (strcmp): Likewise.
21767 * string/strrchr.c (strrchr): Likewise.
21768 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21770 * sysdeps/mach/hurd/getcwd.c
21771 (_hurd_canonicalize_directory_name_internal): Likewise.
21772 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21773 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21774 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21775 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21776 Likewise, in both definitions.
21777 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21779 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21780 64] (__bswap_64): Likewise.
21781 * time/test_time.c (main): Likewise.
21782 * time/tzfile.c (__tzfile_read): Likewise.
21783 (__tzfile_compute): Likewise.
21784 * time/tzset.c (__tzset_parse_tz): Likewise.
21785 (tzset_internal): Likewise.
21786 (compute_change): Likewise.
21787 * wcsmbs/wcscat.c (__wcscat): Likewise.
21788 * wcsmbs/wcschr.c (wcschr): Likewise.
21789 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21790 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21791 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21792 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21793 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21794 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21795 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21796 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21797 * wcsmbs/wmemset.c (wmemset): Likewise.
21799 2013-06-06 Joseph Myers <joseph@codesourcery.com>
21801 * scripts/config.guess: Update to version 2013-05-16.
21802 * scripts/config.sub: Update to version 2013-04-24.
21803 * scripts/install-sh: Update to version 2011-11-20.07.
21804 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21805 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21807 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
21809 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21810 * elf/sln.c: Likewise.
21811 * hurd/hurd/ioctl.h: Likewise.
21812 * hurd/hurdmalloc.c: Likewise.
21813 * hurd/xattr.c: Likewise.
21814 * include/shlib-compat.h: Likewise.
21815 * inet/ruserpass.c: Likewise.
21816 * libio/iofgets_u.c: Likewise.
21817 * libio/iofgetws_u.c: Likewise.
21818 * locale/programs/ld-identification.c: Likewise.
21819 * locale/programs/ld-time.c: Likewise.
21820 * mach/msg-destroy.c: Likewise.
21821 * nss/nss_files/files-netgrp.c: Likewise.
21822 * resolv/res_data.c: Likewise.
21823 * soft-fp/op-1.h: Likewise.
21824 * soft-fp/op-2.h: Likewise.
21825 * soft-fp/op-4.h: Likewise.
21826 * soft-fp/op-common.h: Likewise.
21827 * stdio-common/printf_fphex.c: Likewise.
21828 * stdlib/strtod_l.c: Likewise.
21829 * sunrpc/rpc/clnt.h: Likewise.
21830 * sysdeps/generic/framestate.c: Likewise.
21831 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21832 * sysdeps/i386/bsd-setjmp.S: Likewise.
21833 * sysdeps/i386/__longjmp.S: Likewise.
21834 * sysdeps/i386/setjmp.S: Likewise.
21835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21836 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21838 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21839 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21840 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21844 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21845 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21847 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21848 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21849 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21851 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21852 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21853 * sysdeps/ieee754/support.c: Likewise.
21854 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21855 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21856 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21857 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21858 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21859 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21860 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21861 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21862 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21863 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21864 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21865 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21866 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21867 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21868 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21869 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21870 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21873 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21875 * posix/transbug.c: Remove executable mode.
21877 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21879 * crypt/speeds.c: Remove trailing whitespace.
21880 * dlfcn/default.c: Likewise.
21881 * elf/ifuncdep2.c: Likewise.
21882 * elf/ifuncmain1.c: Likewise.
21883 * elf/ifuncmain1vis.c: Likewise.
21884 * elf/testobj.h: Likewise.
21885 * elf/tst-stackguard1.c: Likewise.
21886 * gmon/sys/gmon.h: Likewise.
21887 * hurd/hurdmsg.c: Likewise.
21888 * hurd/new-fd.c: Likewise.
21889 * hurd/ports-get.c: Likewise.
21890 * iconvdata/ibm1008_420.c: Likewise.
21891 * inet/tst-getni1.c: Likewise.
21892 * inet/tst-getni2.c: Likewise.
21893 * libio/ioungetc.c: Likewise.
21894 * libio/wfiledoalloc.c: Likewise.
21895 * manual/libm-err-tab.pl: Likewise.
21896 * math/w_dremf.c: Likewise.
21897 * misc/ftruncate.c: Likewise.
21898 * posix/bug-glob2.c: Likewise.
21899 * posix/tst-pcre.c: Likewise.
21900 * posix/wait4.c: Likewise.
21901 * resolv/README: Likewise.
21902 * resolv/res_debug.h: Likewise.
21903 * resolv/tst-inet_ntop.c: Likewise.
21904 * setjmp/bug269-setjmp.c: Likewise.
21905 * soft-fp/extended.h: Likewise.
21906 * soft-fp/op-1.h: Likewise.
21907 * soft-fp/op-2.h: Likewise.
21908 * soft-fp/op-4.h: Likewise.
21909 * soft-fp/op-8.h: Likewise.
21910 * soft-fp/testit.c: Likewise.
21911 * stdio-common/bug16.c: Likewise.
21912 * stdlib/random.c: Likewise.
21913 * sunrpc/rpcsvc/rquota.x: Likewise.
21914 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21915 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21917 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21918 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21920 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21921 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21922 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21924 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21925 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21926 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21927 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21930 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21932 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21933 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21936 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21937 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21938 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21939 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21943 * sysdeps/ieee754/s_lib_version.c: Likewise.
21944 * sysdeps/mach/hurd/check_fds.c: Likewise.
21945 * sysdeps/mach/hurd/getsockname.c: Likewise.
21946 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21947 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21948 * sysdeps/powerpc/bits/link.h: Likewise.
21949 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21950 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21951 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21952 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21953 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21954 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21955 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21956 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21957 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21958 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21959 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21960 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21961 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21962 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21963 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21964 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21966 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21967 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21968 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21969 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21970 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21972 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21973 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21974 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21975 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21976 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21978 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21979 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21980 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21981 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21982 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21983 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21984 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21985 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21986 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21987 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21988 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21989 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21990 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21991 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21992 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21993 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21994 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21995 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21996 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21997 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21998 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22001 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22002 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22003 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22004 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22005 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22006 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22007 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22008 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22009 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22010 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22011 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22012 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22013 * sysdeps/powerpc/sysdep.h: Likewise.
22014 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22015 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22016 * sysdeps/sh/dl-trampoline.S: Likewise.
22017 * sysdeps/sh/memset.S: Likewise.
22018 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22019 * sysdeps/sh/strlen.S: Likewise.
22020 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22021 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22022 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22023 * sysdeps/sparc/sparc32/rem.S: Likewise.
22024 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22025 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22026 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22027 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22028 * sysdeps/sparc/sparc32/urem.S: Likewise.
22029 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22030 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22031 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22032 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22033 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22034 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22035 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22036 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22037 * sysdeps/unix/bsd/times.c: Likewise.
22038 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22039 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22043 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22044 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22045 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22046 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22047 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22048 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22049 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22050 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22051 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22052 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22053 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22054 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22055 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22056 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22057 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22058 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22059 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22060 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22061 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22062 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22063 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22064 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22065 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22066 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22067 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22068 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22069 * sysdeps/x86_64/strcspn.S: Likewise.
22071 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22073 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22074 generated file. Regenerate properly from gen-translit.pl.
22075 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22076 locale/C-translit.h.
22078 2013-06-05 Andreas Schwab <schwab@suse.de>
22081 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22082 week as 6 instead of -1.
22083 * time/tst-strptime.c (day_tests): Add test case.
22085 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22087 * sysdeps/generic/math_private.h
22088 (libc_feholdexcept_setround_53bit): Replace with
22089 libc_feholdsetround_53bit.
22090 (libc_feupdateenv_53bit): Replace with
22091 libc_feresetround_53bit.
22092 (SET_RESTORE_ROUND_53BIT): Adjust.
22094 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22096 * string/test-strchrnul.c: Add copyright header.
22098 * posix/tst-getaddrinfo4.c: Increase test timeout.
22100 2013-06-03 Carlos O'Donell <carlos@redhat.com>
22103 * math/libm-test.inc (MAX_EXP): Remove
22105 (ulp): Use MIN_EXP - MANT_DIG.
22106 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22108 2013-05-31 Carlos O'Donell <carlos@redhat.com>
22110 * po/be.po: Revert last change.
22111 * po/zh_CN.po: Likewise.
22112 * po/header.pot: Likewise.
22114 2013-05-31 Joseph Myers <joseph@codesourcery.com>
22116 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22117 link-libc-deps to empty as target-specific variable.
22118 * Makerules (link-libc-args): New variable.
22119 (libc-for-link): Likewise.
22120 (link-libc-deps): Likewise.
22121 (lib%.so): Depend on $(link-libc-deps). Link with
22123 (build-module): Link with $(link-libc-args).
22124 (build-module-asneeded): Likewise.
22125 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22127 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22128 target-specific variable.
22129 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22130 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22131 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22133 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22135 ($(objpfx)libpcprofile.so): Likewise.
22136 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22138 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22139 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22140 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22142 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22143 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22144 * login/Makefile ($(objpfx)libutil.so): Likewise.
22145 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22146 * math/Makefile ($(objpfx)libm.so): Likewise.
22147 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22148 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22149 variable instead of depending directly on libc.
22150 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22151 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22153 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22155 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22156 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22157 ($(objpfx)libanl.so): Likewise.
22158 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22160 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22162 * sysdeps/i386/fpu/Makefile: Remove file.
22163 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22164 ($(objpfx)libm.so): Remove dependency on ld.so.
22166 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
22169 * nis/yp_xdr.c (XDRMAXNAME): Define.
22170 (XDRMAXRECORD): Define.
22171 (xdr_domainname): Use XDRMAXNAME.
22172 (xdr_mapname): Likewise.
22173 (xdr_peername): Likewise.
22174 (xdr_keydat): Use XDRMAXRECORD.
22175 (xdr_valdat): Likewise.
22177 2013-05-30 Jeff Law <law@redhat.com>
22180 * manual/errno.texi (ESTALE): Update to account for more than
22181 just NFS file systems.
22182 * sysdeps/gnu/errlist.c: Regenerated.
22184 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22187 * elf/Makefile (tests): Add tst-null-argv.
22188 (modules-names): Add tst-null-argv-lib.
22189 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22190 (tst-null-argv-ENV): Set environment for tst-null-argv.
22191 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22192 (RTLD_PROGNAME): New macro.
22193 * elf/tst-null-argv.c: New test case.
22194 * elf/tst-null-argv-lib.c: Library for test case.
22195 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22196 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22197 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22198 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22199 * elf/dl-init.c (call_init): Likewise.
22200 (_dl_init): Likewise.
22201 * elf/dl-load.c (print_search_path): Likewise.
22202 (_dl_map_object): Likewise.
22203 * elf/dl-lookup.c (do_lookup_x): Likewise.
22204 (add_dependency): Likewise.
22205 (_dl_lookup_symbol_x): Likewise.
22206 (_dl_debug_bindings): Likewise.
22207 * elf/dl-open.c (_dl_show_scope): Likewise.
22208 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22209 * elf/dl-version.c (match_symbol): Likewise.
22210 (_dl_check_map_versions): Likewise.
22211 * elf/rtld.c (dl_main): Likewise.
22212 (print_unresolved): Use RTLD_PROGNAME.
22213 (print_missing_version): Likewise.
22214 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22215 (elf_machine_rela): Likewise.
22216 * sysdeps/powerpc/powerpc32/dl-machine.c
22217 (__process_machine_rela): Likewise.
22218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22220 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22222 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22224 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22231 2013-05-28 Carlos O'Donell <carlos@redhat.com>
22233 * po/be.po: Add descriptive title.
22234 * po/zh_CN.po: Likewise.
22235 * po/header.pot: Likewise.
22237 2013-05-28 Mike Frysinger <vapier@gentoo.org>
22239 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22241 (enlarge_archive): Likewise.
22243 2013-05-28 Ben North <ben@redfrontdoor.org>
22245 * manual/arith.texi (frexp): It is the magnitude of the return
22246 value which lies in [0.5, 1), not the return value itself.
22248 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22252 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22254 * stdio-common/bug26.c (main): Correct fscanf template.
22256 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22257 declare _dl_skip_args.
22259 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22262 * manual/platform.texi: Add missing @end deftypefun.
22264 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22267 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22268 bit of mantissa of 2^16382.
22269 * math/libm-test.inc (hypot_test_data): Add more tests.
22271 * math/libm-test.inc: Add drem and pow10 to list of tested
22273 (pow10_test): New function.
22274 (drem_test): Likewise.
22275 (drem_test_tonearest): Likewise.
22276 (drem_test_towardzero): Likewise.
22277 (drem_test_downward): Likewise.
22278 (drem_test_upward): Likewise.
22279 (main): Call the new functions.
22281 * math/libm-test.inc (finite_test_data): Remove.
22282 (finite_test): Run tests from isfinite_test_data.
22283 (gamma_test_data): Remove.
22284 (gamma_test): Run tests from lgamma_test_data.
22285 * sysdeps/i386/fpu/libm-test-ulps: Update.
22286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22288 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22290 * manual/platform.texi: Add PowerPC PPR function set documentation.
22291 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22294 2013-05-24 Carlos O'Donell <carlos@redhat.com>
22296 * math/libm-test.inc (MAX_EXP): Define.
22298 (ulp): New function.
22299 (check_float_internal): Use ULPDIFF.
22300 (cpow_test): Disable failing test.
22301 (check_ulp): Test ulp() implemetnation.
22302 (main): Call check_ulp before starting tests.
22304 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22306 * math/gen-libm-test.pl (generate_testfile): Do not handle
22307 START_DATA and END_DATA.
22308 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22310 (acos_tonearest_test_data): Likewise.
22311 (acos_towardzero_test_data): Likewise.
22312 (acos_downward_test_data): Likewise.
22313 (acos_upward_test_data): Likewise.
22314 (acosh_test_data): Likewise.
22315 (asin_test_data): Likewise.
22316 (asin_tonearest_test_data): Likewise.
22317 (asin_towardzero_test_data): Likewise.
22318 (asin_downward_test_data): Likewise.
22319 (asin_upward_test_data): Likewise.
22320 (asinh_test_data): Likewise.
22321 (atan_test_data): Likewise.
22322 (atanh_test_data): Likewise.
22323 (atan2_test_data): Likewise.
22324 (cabs_test_data): Likewise.
22325 (cacos_test_data): Likewise.
22326 (cacosh_test_data): Likewise.
22327 (carg_test_data): Likewise.
22328 (casin_test_data): Likewise.
22329 (casinh_test_data): Likewise.
22330 (catan_test_data): Likewise.
22331 (catanh_test_data): Likewise.
22332 (cbrt_test_data): Likewise.
22333 (ccos_test_data): Likewise.
22334 (ccosh_test_data): Likewise.
22335 (ceil_test_data): Likewise.
22336 (cexp_test_data): Likewise.
22337 (cimag_test_data): Likewise.
22338 (clog_test_data): Likewise.
22339 (clog10_test_data): Likewise.
22340 (conj_test_data): Likewise.
22341 (copysign_test_data): Likewise.
22342 (cos_test_data): Likewise.
22343 (cos_tonearest_test_data): Likewise.
22344 (cos_towardzero_test_data): Likewise.
22345 (cos_downward_test_data): Likewise.
22346 (cos_upward_test_data): Likewise.
22347 (cosh_test_data): Likewise.
22348 (cosh_tonearest_test_data): Likewise.
22349 (cosh_towardzero_test_data): Likewise.
22350 (cosh_downward_test_data): Likewise.
22351 (cosh_upward_test_data): Likewise.
22352 (cpow_test_data): Likewise.
22353 (cproj_test_data): Likewise.
22354 (creal_test_data): Likewise.
22355 (csin_test_data): Likewise.
22356 (csinh_test_data): Likewise.
22357 (csqrt_test_data): Likewise.
22358 (ctan_test_data): Likewise.
22359 (ctan_tonearest_test_data): Likewise.
22360 (ctan_towardzero_test_data): Likewise.
22361 (ctan_downward_test_data): Likewise.
22362 (ctan_upward_test_data): Likewise.
22363 (ctanh_test_data): Likewise.
22364 (ctanh_tonearest_test_data): Likewise.
22365 (ctanh_towardzero_test_data): Likewise.
22366 (ctanh_downward_test_data): Likewise.
22367 (ctanh_upward_test_data): Likewise.
22368 (erf_test_data): Likewise.
22369 (erfc_test_data): Likewise.
22370 (exp_test_data): Likewise.
22371 (exp_tonearest_test_data): Likewise.
22372 (exp_towardzero_test_data): Likewise.
22373 (exp_downward_test_data): Likewise.
22374 (exp_upward_test_data): Likewise.
22375 (exp10_test_data): Likewise.
22376 (exp2_test_data): Likewise.
22377 (expm1_test_data): Likewise.
22378 (fabs_test_data): Likewise.
22379 (fdim_test_data): Likewise.
22380 (finite_test_data): Likewise.
22381 (floor_test_data): Likewise.
22382 (fma_test_data): Likewise.
22383 (fma_towardzero_test_data): Likewise.
22384 (fma_downward_test_data): Likewise.
22385 (fma_upward_test_data): Likewise.
22386 (fmax_test_data): Likewise.
22387 (fmin_test_data): Likewise.
22388 (fmod_test_data): Likewise.
22389 (fpclassify_test_data): Likewise.
22390 (frexp_test_data): Likewise.
22391 (gamma_test_data): Likewise.
22392 (hypot_test_data): Likewise.
22393 (ilogb_test_data): Likewise.
22394 (isfinite_test_data): Likewise.
22395 (isgreater_test_data): Likewise.
22396 (isgreaterequal_test_data): Likewise.
22397 (isinf_test_data): Likewise.
22398 (isless_test_data): Likewise.
22399 (islessequal_test_data): Likewise.
22400 (islessgreater_test_data): Likewise.
22401 (isnan_test_data): Likewise.
22402 (isnormal_test_data): Likewise.
22403 (issignaling_test_data): Likewise.
22404 (isunordered_test_data): Likewise.
22405 (j0_test_data): Likewise.
22406 (j1_test_data): Likewise.
22407 (jn_test_data): Likewise.
22408 (ldexp_test_data): Likewise.
22409 (lgamma_test_data): Likewise.
22410 (lrint_test_data): Likewise.
22411 (lrint_tonearest_test_data): Likewise.
22412 (lrint_towardzero_test_data): Likewise.
22413 (lrint_downward_test_data): Likewise.
22414 (lrint_upward_test_data): Likewise.
22415 (llrint_test_data): Likewise.
22416 (llrint_tonearest_test_data): Likewise.
22417 (llrint_towardzero_test_data): Likewise.
22418 (llrint_downward_test_data): Likewise.
22419 (llrint_upward_test_data): Likewise.
22420 (log_test_data): Likewise.
22421 (log10_test_data): Likewise.
22422 (log1p_test_data): Likewise.
22423 (log2_test_data): Likewise.
22424 (logb_test_data): Likewise.
22425 (logb_downward_test_data): Likewise.
22426 (lround_test_data): Likewise.
22427 (llround_test_data): Likewise.
22428 (modf_test_data): Likewise.
22429 (nearbyint_test_data): Likewise.
22430 (nextafter_test_data): Likewise.
22431 (nexttoward_test_data): Likewise.
22432 (pow_test_data): Likewise.
22433 (pow_tonearest_test_data): Likewise.
22434 (pow_towardzero_test_data): Likewise.
22435 (pow_downward_test_data): Likewise.
22436 (pow_upward_test_data): Likewise.
22437 (remainder_test_data): Likewise.
22438 (remainder_tonearest_test_data): Likewise.
22439 (remainder_towardzero_test_data): Likewise.
22440 (remainder_downward_test_data): Likewise.
22441 (remainder_upward_test_data): Likewise.
22442 (remquo_test_data): Likewise.
22443 (rint_test_data): Likewise.
22444 (rint_tonearest_test_data): Likewise.
22445 (rint_towardzero_test_data): Likewise.
22446 (rint_downward_test_data): Likewise.
22447 (rint_upward_test_data): Likewise.
22448 (round_test_data): Likewise.
22449 (scalb_test_data): Likewise.
22450 (scalbn_test_data): Likewise.
22451 (scalbln_test_data): Likewise.
22452 (signbit_test_data): Likewise.
22453 (sin_test_data): Likewise.
22454 (sin_tonearest_test_data): Likewise.
22455 (sin_towardzero_test_data): Likewise.
22456 (sin_downward_test_data): Likewise.
22457 (sin_upward_test_data): Likewise.
22458 (sincos_test_data): Likewise.
22459 (sinh_test_data): Likewise.
22460 (sinh_tonearest_test_data): Likewise.
22461 (sinh_towardzero_test_data): Likewise.
22462 (sinh_downward_test_data): Likewise.
22463 (sinh_upward_test_data): Likewise.
22464 (sqrt_test_data): Likewise.
22465 (tan_test_data): Likewise.
22466 (tan_tonearest_test_data): Likewise.
22467 (tan_towardzero_test_data): Likewise.
22468 (tan_downward_test_data): Likewise.
22469 (tan_upward_test_data): Likewise.
22470 (tanh_test_data): Likewise.
22471 (tgamma_test_data): Likewise.
22472 (trunc_test_data): Likewise.
22473 (y0_test_data): Likewise.
22474 (y1_test_data): Likewise.
22475 (yn_test_data): Likewise.
22476 (significand_test_data): Likewise.
22478 * math/gen-libm-test.pl (@functions): Remove variable.
22479 (generate_testfile): Don't handle START and END lines.
22480 * math/libm-test.inc (START): New macro.
22482 (END_COMPLEX): Likewise.
22483 (acos_test): Use END macro without arguments.
22484 (acos_test_tonearest): Likewise.
22485 (acos_test_towardzero): Likewise.
22486 (acos_test_downward): Likewise.
22487 (acos_test_upward): Likewise.
22488 (acosh_test): Likewise.
22489 (asin_test): Likewise.
22490 (asin_test_tonearest): Likewise.
22491 (asin_test_towardzero): Likewise.
22492 (asin_test_downward): Likewise.
22493 (asin_test_upward): Likewise.
22494 (asinh_test): Likewise.
22495 (atan_test): Likewise.
22496 (atanh_test): Likewise.
22497 (atan2_test): Likewise.
22498 (cabs_test): Likewise.
22499 (cacos_test): Use END_COMPLEX macro without arguments.
22500 (cacosh_test): Likewise.
22501 (carg_test): Use END macro without arguments.
22502 (casin_test): Use END_COMPLEX macro without arguments.
22503 (casinh_test): Likewise.
22504 (catan_test): Likewise.
22505 (catanh_test): Likewise.
22506 (cbrt_test): Use END macro without arguments.
22507 (ccos_test): Use END_COMPLEX macro without arguments.
22508 (ccosh_test): Likewise.
22509 (ceil_test): Use END macro without arguments.
22510 (cexp_test): Use END_COMPLEX macro without arguments.
22511 (cimag_test): Use END macro without arguments.
22512 (clog_test): Use END_COMPLEX macro without arguments.
22513 (clog10_test): Likewise.
22514 (conj_test): Likewise.
22515 (copysign_test): Use END macro without arguments.
22516 (cos_test): Likewise.
22517 (cos_test_tonearest): Likewise.
22518 (cos_test_towardzero): Likewise.
22519 (cos_test_downward): Likewise.
22520 (cos_test_upward): Likewise.
22521 (cosh_test): Likewise.
22522 (cosh_test_tonearest): Likewise.
22523 (cosh_test_towardzero): Likewise.
22524 (cosh_test_downward): Likewise.
22525 (cosh_test_upward): Likewise.
22526 (cpow_test): Use END_COMPLEX macro without arguments.
22527 (cproj_test): Likewise.
22528 (creal_test): Use END macro without arguments.
22529 (csin_test): Use END_COMPLEX macro without arguments.
22530 (csinh_test): Likewise.
22531 (csqrt_test): Likewise.
22532 (ctan_test): Likewise.
22533 (ctan_test_tonearest): Likewise.
22534 (ctan_test_towardzero): Likewise.
22535 (ctan_test_downward): Likewise.
22536 (ctan_test_upward): Likewise.
22537 (ctanh_test): Likewise.
22538 (ctanh_test_tonearest): Likewise.
22539 (ctanh_test_towardzero): Likewise.
22540 (ctanh_test_downward): Likewise.
22541 (ctanh_test_upward): Likewise.
22542 (erf_test): Use END macro without arguments.
22543 (erfc_test): Likewise.
22544 (exp_test): Likewise.
22545 (exp_test_tonearest): Likewise.
22546 (exp_test_towardzero): Likewise.
22547 (exp_test_downward): Likewise.
22548 (exp_test_upward): Likewise.
22549 (exp10_test): Likewise.
22550 (exp2_test): Likewise.
22551 (expm1_test): Likewise.
22552 (fabs_test): Likewise.
22553 (fdim_test): Likewise.
22554 (finite_test): Likewise.
22555 (floor_test): Likewise.
22556 (fma_test): Likewise.
22557 (fma_test_towardzero): Likewise.
22558 (fma_test_downward): Likewise.
22559 (fma_test_upward): Likewise.
22560 (fmax_test): Likewise.
22561 (fmin_test): Likewise.
22562 (fmod_test): Likewise.
22563 (fpclassify_test): Likewise.
22564 (frexp_test): Likewise.
22565 (gamma_test): Likewise.
22566 (hypot_test): Likewise.
22567 (ilogb_test): Likewise.
22568 (isfinite_test): Likewise.
22569 (isgreater_test): Likewise.
22570 (isgreaterequal_test): Likewise.
22571 (isinf_test): Likewise.
22572 (isless_test): Likewise.
22573 (islessequal_test): Likewise.
22574 (islessgreater_test): Likewise.
22575 (isnan_test): Likewise.
22576 (isnormal_test): Likewise.
22577 (issignaling_test): Likewise.
22578 (isunordered_test): Likewise.
22579 (j0_test): Likewise.
22580 (j1_test): Likewise.
22581 (jn_test): Likewise.
22582 (ldexp_test): Likewise.
22583 (lgamma_test): Likewise.
22584 (lrint_test): Likewise.
22585 (lrint_test_tonearest): Likewise.
22586 (lrint_test_towardzero): Likewise.
22587 (lrint_test_downward): Likewise.
22588 (lrint_test_upward): Likewise.
22589 (llrint_test): Likewise.
22590 (llrint_test_tonearest): Likewise.
22591 (llrint_test_towardzero): Likewise.
22592 (llrint_test_downward): Likewise.
22593 (llrint_test_upward): Likewise.
22594 (log_test): Likewise.
22595 (log10_test): Likewise.
22596 (log1p_test): Likewise.
22597 (log2_test): Likewise.
22598 (logb_test): Likewise.
22599 (logb_test_downward): Likewise.
22600 (lround_test): Likewise.
22601 (llround_test): Likewise.
22602 (modf_test): Likewise.
22603 (nearbyint_test): Likewise.
22604 (nextafter_test): Likewise.
22605 (nexttoward_test): Likewise.
22606 (pow_test): Likewise.
22607 (pow_test_tonearest): Likewise.
22608 (pow_test_towardzero): Likewise.
22609 (pow_test_downward): Likewise.
22610 (pow_test_upward): Likewise.
22611 (remainder_test): Likewise.
22612 (remainder_test_tonearest): Likewise.
22613 (remainder_test_towardzero): Likewise.
22614 (remainder_test_downward): Likewise.
22615 (remainder_test_upward): Likewise.
22616 (remquo_test): Likewise.
22617 (rint_test): Likewise.
22618 (rint_test_tonearest): Likewise.
22619 (rint_test_towardzero): Likewise.
22620 (rint_test_downward): Likewise.
22621 (rint_test_upward): Likewise.
22622 (round_test): Likewise.
22623 (scalb_test): Likewise.
22624 (scalbn_test): Likewise.
22625 (scalbln_test): Likewise.
22626 (signbit_test): Likewise.
22627 (sin_test): Likewise.
22628 (sin_test_tonearest): Likewise.
22629 (sin_test_towardzero): Likewise.
22630 (sin_test_downward): Likewise.
22631 (sin_test_upward): Likewise.
22632 (sincos_test): Likewise.
22633 (sinh_test): Likewise.
22634 (sinh_test_tonearest): Likewise.
22635 (sinh_test_towardzero): Likewise.
22636 (sinh_test_downward): Likewise.
22637 (sinh_test_upward): Likewise.
22638 (sqrt_test): Likewise.
22639 (tan_test): Likewise.
22640 (tan_test_tonearest): Likewise.
22641 (tan_test_towardzero): Likewise.
22642 (tan_test_downward): Likewise.
22643 (tan_test_upward): Likewise.
22644 (tanh_test): Likewise.
22645 (tgamma_test): Likewise.
22646 (trunc_test): Likewise.
22647 (y0_test): Likewise.
22648 (y1_test): Likewise.
22649 (yn_test): Likewise.
22650 (significand_test): Likewise.
22652 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
22655 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22657 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22660 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22661 __ppc_mdoio and __ppc_mdoom.
22662 * manual/platform.texi: Document new functions __ppc_yield,
22663 __ppc_mdoio and __ppc_mdoom.
22665 2013-05-22 Carlos O'Donell <carlos@redhat.com>
22667 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22668 (main): Mention "tls" pseudo-hwcap is legacy.
22669 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22671 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22673 * math/gen-libm-test.pl (parse_args): Output only string of
22674 arguments as text for test name, not full call or descriptions of
22675 tests for extra outputs.
22676 (generate_testfile): Do not pass function name to parse_args.
22677 Generate this_func variable from START.
22678 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22680 (struct test_ff_f_data): Likewise.
22681 (test_ff_f_data_nexttoward): Likewise.
22682 (struct test_fi_f_data): Likewise.
22683 (struct test_fl_f_data): Likewise.
22684 (struct test_if_f_data): Likewise.
22685 (struct test_fff_f_data): Likewise.
22686 (struct test_c_f_data): Likewise.
22687 (struct test_f_f1_data): Likewise. Remove field extra_name.
22688 (struct test_fF_f1_data): Likewise.
22689 (struct test_ffI_f1_data): Likewise.
22690 (struct test_c_c_data): Rename test_name field to arg_str.
22691 (struct test_cc_c_data): Likewise.
22692 (struct test_f_i_data): Likewise.
22693 (struct test_ff_i_data): Likewise.
22694 (struct test_f_l_data): Likewise.
22695 (struct test_f_L_data): Likewise.
22696 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22698 (COMMON_TEST_SETUP): New macro.
22699 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22700 (COMMON_TEST_CLEANUP): Likewise.
22701 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22702 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22704 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22705 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22707 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22708 (RUN_TEST_fff_f): Take argument string. Call new setup and
22710 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22711 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22713 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22714 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22716 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22717 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22719 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22720 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22722 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22723 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22725 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22726 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22728 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22729 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22731 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22732 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22734 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22735 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22737 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22738 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22740 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22741 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22743 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22744 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22746 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22747 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22749 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22750 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22752 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22753 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22755 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22757 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22759 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22760 to _sifields.sigfault.
22761 (si_addr_lsb): Define new macro.
22762 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22764 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22766 2013-05-03 Carlos O'Donell <carlos at redhat.com>
22769 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22771 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22773 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22774 loading the domain.
22776 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22778 * math/gen-libm-test.pl (parse_args): Do not include expected
22779 result in test name.
22780 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22782 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22783 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22784 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22787 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22789 * benchtests/Makefile: Sort function entries.
22791 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22792 tanh, asinh, acosh, atanh.
22793 * benchtests/acos-inputs: New file.
22794 * benchtests/acosh-inputs: New file.
22795 * benchtests/asin-inputs: New file.
22796 * benchtests/asinh-inputs: New file.
22797 * benchtests/atanh-inputs: New file.
22798 * benchtests/cosh-inputs: New file.
22799 * benchtests/log-inputs: New file.
22800 * benchtests/sinh-inputs: New file.
22801 * benchtests/tanh-inputs: New file.
22803 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22806 * posix/tst-getaddrinfo4.c: New test.
22807 * posix/Makefile (tests): Add it.
22809 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22812 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22813 when no services were used.
22814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22815 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22817 2013-05-21 Andreas Schwab <schwab@suse.de>
22820 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22821 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22823 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22824 redundant variable declarations and reallocation of buffer when
22825 parsing as IPv6 address. Always set NSS status when called from
22826 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22827 buffer too small. Correct computation of needed size.
22828 * nss/Makefile (tests): Add test-digits-dots.
22829 * nss/test-digits-dots.c: New test.
22831 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22833 * benchtests/Makefile: Remove instructions for adding
22835 * benchtests/README: New file to explain how to execute and
22836 enhance the benchmark tests.
22838 2013-05-21 Andreas Schwab <schwab@suse.de>
22841 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22842 * setjmp/tst-sigsetjmp.c: New test.
22844 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22846 * sysdeps/x86_64/memset.S (memset): New implementation.
22847 (__bzero): Likewise.
22848 (__memset_tail): New function.
22850 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22852 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22853 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22854 __memcpy_sse2_unaligned ifunc selection.
22855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22856 Add memcpy-sse2-unaligned.S.
22857 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22858 Add: __memcpy_sse2_unaligned.
22860 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22863 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22864 math_force_eval before restoring floating-point envrionment.
22865 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22868 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22870 (__nearbyintl): Use math_force_eval before restoring
22871 floating-point environment.
22872 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22874 * math/gen-libm-test.pl (special_functions): Remove.
22875 (parse_args): Don't handle TEST_extra. Handle functions with no
22877 * math/libm-test.inc (struct test_sincos_data): Replace with
22878 struct test_fFF_11_data.
22879 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22880 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22881 (sincos_test_data): Change element type to struct
22882 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22883 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22884 RUN_TEST_LOOP_sincos.
22885 * math/README.libm-test: Don't mention special handling of
22886 individual functions.
22887 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22888 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22889 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22890 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22891 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22894 * math/gen-libm-test.pl (get_variable): Remove function.
22895 (parse_args): Don't show pointer parameters to call in test
22896 names. Use "extra output N" in test names for extra outputs
22897 rather than naming variables.
22899 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22902 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22903 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22904 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22906 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22908 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22911 * math/gen-libm-test.pl (@tests): Remove variable.
22912 ($count): Likewise.
22913 (new_test): Remove function.
22914 (show_exceptions): New function.
22915 (special_functions): Use show_exceptions instead of new_test.
22916 (parse_args): Likewise.
22917 (generate_testfile): Pass only function name in generated call to
22918 print_max_error or print_complex_max_error.
22919 (get_ulps): Do not handle complex tests specially.
22920 (output_test): Rename to ...
22921 (get_all_ulps_for_test): ... this. Return a string rather than
22922 printing to a file. Require ulps to be present.
22923 (output_ulps): Generate arrays rather than #defines.
22924 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22925 (struct ulp_data): New type.
22926 (BUILD_COMPLEX_ULP): Remove macro.
22927 (compare_ulp_data): New function.
22928 (find_ulps): Likewise.
22929 (find_test_ulps): Likewise.
22930 (find_function_ulps): Likewise.
22931 (find_complex_function_ulps): Likewise.
22932 (print_max_error): Determine allowed ulps using
22933 find_function_ulps.
22934 (print_complex_max_error): Determine allowed ulps using
22935 find_complex_function_ulps.
22936 (check_float_internal): Determine max ulps using find_test_ulps.
22937 (check_float): Do not take max_ulp parameter. Update call to
22938 check_float_internal.
22939 (check_complex): Likewise.
22940 (check_int): Do not take max_ulp parameter.
22941 (check_long): Likewise.
22942 (check_bool): Likewise.
22943 (check_longlong): Likewise.
22944 (struct test_f_f_data): Remove max_ulp field.
22945 (struct test_ff_f_data): Likewise.
22946 (struct test_ff_f_data_nexttoward): Likewise.
22947 (struct test_fi_f_data): Likewise.
22948 (struct test_fl_f_data): Likewise.
22949 (struct test_if_f_data): Likewise.
22950 (struct test_fff_f_data): Likewise.
22951 (struct test_c_f_data): Likewise.
22952 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22953 (struct test_fF_f1_data): Likewise.
22954 (struct test_ffI_f1_data): Likewise.
22955 (struct test_c_c_data): Remove max_ulp field.
22956 (struct test_cc_c_data): Likewise.
22957 (struct test_f_i_data): Likewise.
22958 (struct test_ff_i_data): Likewise.
22959 (struct test_f_l_data): Likewise.
22960 (struct test_f_L_data): Likewise.
22961 (struct test_sincos_data): Likewise.
22962 (RUN_TEST_f_f): Do not handle ulps.
22963 (RUN_TEST_LOOP_f_f): Likewise.
22964 (RUN_TEST_2_f): Likewise.
22965 (RUN_TEST_LOOP_2_f): Likewise.
22966 (RUN_TEST_fff_f): Likewise.
22967 (RUN_TEST_LOOP_fff_f): Likewise.
22968 (RUN_TEST_c_f): Likewise.
22969 (RUN_TEST_LOOP_c_f): Likewise.
22970 (RUN_TEST_f_f1): Likewise.
22971 (RUN_TEST_LOOP_f_f1): Likewise.
22972 (RUN_TEST_fF_f1): Likewise.
22973 (RUN_TEST_LOOP_fF_f1): Likewise.
22974 (RUN_TEST_fI_f1): Likewise.
22975 (RUN_TEST_LOOP_fI_f1): Likewise.
22976 (RUN_TEST_ffI_f1): Likewise.
22977 (RUN_TEST_LOOP_ffI_f1): Likewise.
22978 (RUN_TEST_c_c): Likewise.
22979 (RUN_TEST_LOOP_c_c): Likewise.
22980 (RUN_TEST_cc_c): Likewise.
22981 (RUN_TEST_LOOP_cc_c): Likewise.
22982 (RUN_TEST_f_i): Likewise.
22983 (RUN_TEST_LOOP_f_i): Likewise.
22984 (RUN_TEST_f_i_tg): Likewise.
22985 (RUN_TEST_LOOP_f_i_tg): Likewise.
22986 (RUN_TEST_ff_i_tg): Likewise.
22987 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22988 (RUN_TEST_f_b): Likewise.
22989 (RUN_TEST_LOOP_f_b): Likewise.
22990 (RUN_TEST_f_b_tg): Likewise.
22991 (RUN_TEST_LOOP_f_b_tg): Likewise.
22992 (RUN_TEST_f_l): Likewise.
22993 (RUN_TEST_LOOP_f_l): Likewise.
22994 (RUN_TEST_f_L): Likewise.
22995 (RUN_TEST_LOOP_f_L): Likewise.
22996 (RUN_TEST_sincos): Likewise.
22997 (RUN_TEST_LOOP_sincos): Likewise.
22999 2013-05-17 Joseph Myers <joseph@codesourcery.com>
23003 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23004 main case of finite arguments, set rounding mode to FE_TONEAREST
23005 and discard exceptions.
23006 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23008 (remainder_tonearest_test_data): New variable.
23009 (remainder_test_tonearest): New function.
23010 (remainder_towardzero_test_data): New variable.
23011 (remainder_test_towardzero): New function.
23012 (remainder_downward_test_data): New variable.
23013 (remainder_test_downward): New function.
23014 (remainder_upward_test_data): New variable.
23015 (remainder_test_upward): New function.
23016 (main): Call the new test functions.
23018 * math/libm-test.inc (struct test_f_f1_data): Remove field
23020 (struct test_fF_f1_data): Likewise.
23021 (struct test_ffI_f1_data): Likewise.
23022 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23023 based on value of EXTRA_EXPECTED.
23024 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23025 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23026 EXTRA_VAR based on value of EXTRA_EXPECTED.
23027 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23028 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23029 EXTRA_VAR based on value of EXTRA_EXPECTED.
23030 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23031 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23032 EXTRA_VAR based on value of EXTRA_EXPECTED.
23033 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23034 * math/gen-libm-test.pl (parse_args): Don't output initializers
23035 for extra output values.
23037 * math/libm-test.inc (check_int): Expect result to be exactly
23038 equal to expected value and do not handle ulps.
23039 (check_long): Likewise.
23040 (check_longlong): Likewise.
23042 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23044 (cimag_test_data): Likewise.
23045 (conj_test_data): Likewise.
23046 (copysign_test_data): Likewise.
23047 (cproj_test_data): Likewise.
23048 (creal_test_data): Likewise.
23049 (fabs_test_data): Likewise.
23050 (fdim_test_data): Likewise.
23051 (finite_test_data): Likewise.
23052 (floor_test_data): Likewise.
23053 (fmax_test_data): Likewise.
23054 (fmin_test_data): Likewise.
23055 (fmod_test_data): Likewise.
23056 (fpclassify_test_data): Likewise.
23057 (frexp_test_data): Likewise.
23058 (ilogb_test_data): Likewise.
23059 (isfinite_test_data): Likewise.
23060 (isgreater_test_data): Likewise.
23061 (isgreaterequal_test_data): Likewise.
23062 (isinf_test_data): Likewise.
23063 (isless_test_data): Likewise.
23064 (islessequal_test_data): Likewise.
23065 (islessgreater_test_data): Likewise.
23066 (isnan_test_data): Likewise.
23067 (isnormal_test_data): Likewise.
23068 (issignaling_test_data): Likewise.
23069 (isunordered_test_data): Likewise.
23070 (ldexp_test_data): Likewise.
23071 (lrint_test_data): Likewise.
23072 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23073 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23074 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23075 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23076 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23077 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23079 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23080 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23081 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23082 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23084 (lrint_downward_test_data): Test for "inexact" exceptions.
23085 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23086 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23087 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23089 (lrint_upward_test_data): Test for "inexact" exceptions.
23090 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23092 (llrint_test_data): Test for "inexact" exceptions.
23093 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23094 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23095 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23096 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23097 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23098 (llrint_downward_test_data): Test for "inexact" exceptions.
23099 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23100 (llrint_upward_test_data): Test for "inexact" exceptions.
23101 (logb_test_data): Likewise.
23102 (logb_downward_test_data): Likewise.
23103 (nextafter_test_data): Likewise.
23104 (nexttoward_test_data): Likewise.
23105 (remainder_test_data): Likewise.
23106 (remquo_test_data): Likewise.
23107 (scalbn_test_data): Likewise.
23108 (scalbln_test_data): Likewise.
23109 (signbit_test_data): Likewise.
23110 (sqrt_test_data): Likewise.
23111 (significand_test_data): Likewise.
23113 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23116 * benchtests/bench-modf.c (struct args): Mark arg0 as
23118 * scripts/bench.pl: Mark members of struct args as volatile.
23120 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23123 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23124 negative infinity on POWER6 or lower.
23125 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23127 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23130 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23131 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23132 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23133 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23134 (_FP_SETQNAN): New macro.
23135 (_FP_SETQNAN_SEMIRAW): Likewise.
23136 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23137 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23138 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23139 (FP_EXTEND): Use _FP_FRAC_SNANP.
23140 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23141 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23143 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23145 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23148 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23150 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23151 with DIVIDE_BY_ZERO_EXCEPTION.
23152 (gamma_test_data): Likewise.
23153 (lgamma_test_data): Likewise.
23154 (log_test_data): Likewise.
23155 (log10_test_data): Likewise.
23156 (log2_test_data): Likewise.
23157 (tgamma_test_data): Likewise.
23159 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23160 (acos_test_tonearest): Likewise.
23161 (acos_test_towardzero): Likewise.
23162 (acos_test_downward): Likewise.
23163 (acos_test_upward): Likewise.
23164 (acosh_test): Likewise.
23165 (asin_test): Likewise.
23166 (asin_test_tonearest): Likewise.
23167 (asin_test_towardzero): Likewise.
23168 (asin_test_downward): Likewise.
23169 (asin_test_upward): Likewise.
23170 (asinh_test): Likewise.
23171 (atan_test): Likewise.
23172 (atanh_test): Likewise.
23173 (atan2_test): Likewise.
23174 (cabs_test): Likewise.
23175 (cacos_test): Likewise.
23176 (cacosh_test): Likewise.
23177 (casin_test): Likewise.
23178 (casinh_test): Likewise.
23179 (catan_test): Likewise.
23180 (catanh_test): Likewise.
23181 (cbrt_test): Likewise.
23182 (ccos_test): Likewise.
23183 (ccosh_test): Likewise.
23184 (cexp_test): Likewise.
23185 (clog_test): Likewise.
23186 (clog10_test): Likewise.
23187 (cos_test): Likewise.
23188 (cos_test_tonearest): Likewise.
23189 (cos_test_towardzero): Likewise.
23190 (cos_test_downward): Likewise.
23191 (cos_test_upward): Likewise.
23192 (cosh_test): Likewise.
23193 (cosh_test_tonearest): Likewise.
23194 (cosh_test_towardzero): Likewise.
23195 (cosh_test_downward): Likewise.
23196 (cosh_test_upward): Likewise.
23197 (cpow_test): Likewise.
23198 (csin_test): Likewise.
23199 (csinh_test): Likewise.
23200 (csqrt_test): Likewise.
23201 (ctan_test): Likewise.
23202 (ctan_test_tonearest): Likewise.
23203 (ctan_test_towardzero): Likewise.
23204 (ctan_test_downward): Likewise.
23205 (ctan_test_upward): Likewise.
23206 (ctanh_test): Likewise.
23207 (ctanh_test_tonearest): Likewise.
23208 (ctanh_test_towardzero): Likewise.
23209 (ctanh_test_downward): Likewise.
23210 (ctanh_test_upward): Likewise.
23211 (erf_test): Likewise.
23212 (erfc_test): Likewise.
23213 (exp_test): Likewise.
23214 (exp_test_tonearest): Likewise.
23215 (exp_test_towardzero): Likewise.
23216 (exp_test_downward): Likewise.
23217 (exp_test_upward): Likewise.
23218 (exp10_test): Likewise.
23219 (exp2_test): Likewise.
23220 (expm1_test): Likewise.
23221 (fmod_test): Likewise.
23222 (gamma_test): Likewise.
23223 (hypot_test): Likewise.
23224 (j0_test): Likewise.
23225 (j1_test): Likewise.
23226 (jn_test): Likewise.
23227 (lgamma_test): Likewise.
23228 (log_test): Likewise.
23229 (log10_test): Likewise.
23230 (log1p_test): Likewise.
23231 (log2_test): Likewise.
23232 (logb_test_downward): Likewise.
23233 (pow_test): Likewise.
23234 (pow_test_tonearest): Likewise.
23235 (pow_test_towardzero): Likewise.
23236 (pow_test_downward): Likewise.
23237 (pow_test_upward): Likewise.
23238 (remainder_test): Likewise.
23239 (remquo_test): Likewise.
23240 (sin_test): Likewise.
23241 (sin_test_tonearest): Likewise.
23242 (sin_test_towardzero): Likewise.
23243 (sin_test_downward): Likewise.
23244 (sin_test_upward): Likewise.
23245 (sincos_test): Likewise.
23246 (sinh_test): Likewise.
23247 (sinh_test_tonearest): Likewise.
23248 (sinh_test_towardzero): Likewise.
23249 (sinh_test_downward): Likewise.
23250 (sinh_test_upward): Likewise.
23251 (sqrt_test): Likewise.
23252 (tan_test): Likewise.
23253 (tan_test_tonearest): Likewise.
23254 (tan_test_towardzero): Likewise.
23255 (tan_test_downward): Likewise.
23256 (tan_test_upward): Likewise.
23257 (tanh_test): Likewise.
23258 (tgamma_test): Likewise.
23259 (y0_test): Likewise.
23260 (y1_test): Likewise.
23261 (yn_test): Likewise.
23263 * math/gen-libm-test.pl (adjust_arg): Remove function.
23264 (special_function): Remove argument $in_func. Only handle
23265 generating output for tables of tests, not inside functions.
23266 (parse_args): Likewise.
23267 (generate_testfile): Remove variable $in_func. Update call to
23269 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23270 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23271 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23272 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23273 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23274 (MAX_VALUE_INIT): Rename macro to max_value.
23275 (MIN_VALUE_INIT): Rename macro to min_value.
23276 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23277 (plus_zero): Remove variable.
23278 (minus_zero): Likewise.
23279 (plus_infty): Likewise.
23280 (minus_infty): Likewise.
23281 (qnan_value): Likewise.
23282 (max_value): Likewise.
23283 (min_value): Likewise.
23284 (min_subnorm_value): Likewise.
23286 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23288 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23289 uint64_t or uint32_t usage.
23290 * crypt/sha256-block.c: Likewise.
23291 * crypt/sha256-crypt.c: Likewise.
23292 * crypt/sha256.c: Likewise.
23293 * crypt/sha512-block.c: Likewise.
23294 * crypt/sha512-crypt.c: Likewise.
23295 * crypt/sha512.c: Likewise.
23296 * debug/backtrace-tst.c: Likewise.
23297 * debug/pcprofiledump.c: Likewise.
23298 * elf/cache.c: Likewise.
23299 * elf/dl-cache.c: Likewise.
23300 * elf/dl-misc.c: Likewise.
23301 * elf/dl-profile.c: Likewise.
23302 * elf/dl-support.c: Likewise.
23303 * elf/ldconfig.c: Likewise.
23304 * elf/sprof.c: Likewise.
23305 * iconv/dummy-repertoire.c: Likewise.
23306 * iconv/iconv_charmap.c: Likewise.
23307 * iconv/skeleton.c: Likewise.
23308 * iconvdata/8bit-generic.c: Likewise.
23309 * iconvdata/cp737.h: Likewise.
23310 * iconvdata/cp775.h: Likewise.
23311 * iconvdata/ibm1008.h: Likewise.
23312 * iconvdata/ibm1025.h: Likewise.
23313 * iconvdata/ibm1046.h: Likewise.
23314 * iconvdata/ibm1097.h: Likewise.
23315 * iconvdata/ibm1112.h: Likewise.
23316 * iconvdata/ibm1122.h: Likewise.
23317 * iconvdata/ibm1123.h: Likewise.
23318 * iconvdata/ibm1124.h: Likewise.
23319 * iconvdata/ibm1129.h: Likewise.
23320 * iconvdata/ibm1130.h: Likewise.
23321 * iconvdata/ibm1132.h: Likewise.
23322 * iconvdata/ibm1133.h: Likewise.
23323 * iconvdata/ibm1137.h: Likewise.
23324 * iconvdata/ibm1140.h: Likewise.
23325 * iconvdata/ibm1141.h: Likewise.
23326 * iconvdata/ibm1142.h: Likewise.
23327 * iconvdata/ibm1143.h: Likewise.
23328 * iconvdata/ibm1144.h: Likewise.
23329 * iconvdata/ibm1145.h: Likewise.
23330 * iconvdata/ibm1146.h: Likewise.
23331 * iconvdata/ibm1147.h: Likewise.
23332 * iconvdata/ibm1148.h: Likewise.
23333 * iconvdata/ibm1149.h: Likewise.
23334 * iconvdata/ibm1153.h: Likewise.
23335 * iconvdata/ibm1154.h: Likewise.
23336 * iconvdata/ibm1155.h: Likewise.
23337 * iconvdata/ibm1156.h: Likewise.
23338 * iconvdata/ibm1157.h: Likewise.
23339 * iconvdata/ibm1158.h: Likewise.
23340 * iconvdata/ibm1160.h: Likewise.
23341 * iconvdata/ibm1161.h: Likewise.
23342 * iconvdata/ibm1162.h: Likewise.
23343 * iconvdata/ibm1163.h: Likewise.
23344 * iconvdata/ibm1164.h: Likewise.
23345 * iconvdata/ibm1166.h: Likewise.
23346 * iconvdata/ibm1167.h: Likewise.
23347 * iconvdata/ibm12712.h: Likewise.
23348 * iconvdata/ibm1390.h: Likewise.
23349 * iconvdata/ibm1399.h: Likewise.
23350 * iconvdata/ibm16804.h: Likewise.
23351 * iconvdata/ibm4517.h: Likewise.
23352 * iconvdata/ibm4899.h: Likewise.
23353 * iconvdata/ibm4909.h: Likewise.
23354 * iconvdata/ibm4971.h: Likewise.
23355 * iconvdata/ibm5347.h: Likewise.
23356 * iconvdata/ibm803.h: Likewise.
23357 * iconvdata/ibm856.h: Likewise.
23358 * iconvdata/ibm901.h: Likewise.
23359 * iconvdata/ibm902.h: Likewise.
23360 * iconvdata/ibm9030.h: Likewise.
23361 * iconvdata/ibm9066.h: Likewise.
23362 * iconvdata/ibm921.h: Likewise.
23363 * iconvdata/ibm922.h: Likewise.
23364 * iconvdata/ibm9448.h: Likewise.
23365 * iconvdata/isiri-3342.h: Likewise.
23366 * iconvdata/jis0201.h: Likewise.
23367 * include/link.h: Likewise.
23368 * include/netdb.h: Likewise.
23369 * inet/check_native.c: Likewise.
23370 * inet/check_pf.c: Likewise.
23371 * inet/getipv4sourcefilter.c: Likewise.
23372 * inet/getnameinfo.c: Likewise.
23373 * inet/getsourcefilter.c: Likewise.
23374 * inet/htonl.c: Likewise.
23375 * inet/setipv4sourcefilter.c: Likewise.
23376 * inet/setsourcefilter.c: Likewise.
23377 * inet/test-inet6_opt.c: Likewise.
23378 * inet/tst-network.c: Likewise.
23379 * locale/C-collate.c: Likewise.
23380 * locale/C-ctype.c: Likewise.
23381 * locale/C-time.c: Likewise.
23382 * locale/C-translit.h: Likewise.
23383 * locale/loadarchive.c: Likewise.
23384 * locale/programs/3level.h: Likewise.
23385 * locale/programs/charmap.c: Likewise.
23386 * locale/programs/charmap.h: Likewise.
23387 * locale/programs/ld-address.c: Likewise.
23388 * locale/programs/ld-collate.c: Likewise.
23389 * locale/programs/ld-ctype.c: Likewise.
23390 * locale/programs/ld-identification.c: Likewise.
23391 * locale/programs/ld-measurement.c: Likewise.
23392 * locale/programs/ld-messages.c: Likewise.
23393 * locale/programs/ld-monetary.c: Likewise.
23394 * locale/programs/ld-name.c: Likewise.
23395 * locale/programs/ld-numeric.c: Likewise.
23396 * locale/programs/ld-paper.c: Likewise.
23397 * locale/programs/ld-telephone.c: Likewise.
23398 * locale/programs/ld-time.c: Likewise.
23399 * locale/programs/linereader.c: Likewise.
23400 * locale/programs/locale.c: Likewise.
23401 * locale/programs/locarchive.c: Likewise.
23402 * locale/programs/locfile.h: Likewise.
23403 * locale/programs/repertoire.c: Likewise.
23404 * locale/programs/simple-hash.c: Likewise.
23405 * locale/programs/simple-hash.h: Likewise.
23406 * malloc/memusage.c: Likewise.
23407 * malloc/memusagestat.c: Likewise.
23408 * nis/nis_defaults.c: Likewise.
23409 * nis/nis_hash.c: Likewise.
23410 * nis/nis_print.c: Likewise.
23411 * nis/nis_xdr.c: Likewise.
23412 * nscd/connections.c: Likewise.
23413 * nscd/hstcache.c: Likewise.
23414 * nscd/nscd_gethst_r.c: Likewise.
23415 * nscd/nscd_getserv_r.c: Likewise.
23416 * nscd/nscd_helper.c: Likewise.
23417 * nscd/servicescache.c: Likewise.
23418 * nss/makedb.c: Likewise.
23419 * nss/nss_db/db-XXX.c: Likewise.
23420 * nss/nss_db/db-initgroups.c: Likewise.
23421 * nss/nss_db/db-netgrp.c: Likewise.
23422 * nss/nss_files/files-network.c: Likewise.
23423 * nss/nss_files/files-parse.c: Likewise.
23424 * posix/bug-regex5.c: Likewise.
23425 * posix/fnmatch_loop.c: Likewise.
23426 * posix/regcomp.c: Likewise.
23427 * posix/regexec.c: Likewise.
23428 * posix/tst-rfc3484-2.c: Likewise.
23429 * posix/tst-rfc3484-3.c: Likewise.
23430 * posix/tst-rfc3484.c: Likewise.
23431 * resolv/nss_dns/dns-canon.c: Likewise.
23432 * resolv/nss_dns/dns-network.c: Likewise.
23433 * resolv/res_init.c: Likewise.
23434 * resolv/res_mkquery.c: Likewise.
23435 * resolv/tst-aton.c: Likewise.
23436 * stdlib/cxa_atexit.c: Likewise.
23437 * stdlib/cxa_finalize.c: Likewise.
23438 * stdlib/gen-fpioconst.c: Likewise.
23439 * stdlib/strtol_l.c: Likewise.
23440 * string/tst-endian.c: Likewise.
23441 * sunrpc/auth_des.c: Likewise.
23442 * sunrpc/clnt_udp.c: Likewise.
23443 * sunrpc/rtime.c: Likewise.
23444 * sunrpc/svcauth_des.c: Likewise.
23445 * sunrpc/xdr.c: Likewise.
23446 * sunrpc/xdr_intXX_t.c: Likewise.
23447 * sunrpc/xdr_rec.c: Likewise.
23448 * sysdeps/generic/ldconfig.h: Likewise.
23449 * sysdeps/generic/ldsodefs.h: Likewise.
23450 * sysdeps/generic/memusage.h: Likewise.
23451 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23461 * sysdeps/posix/getaddrinfo.c: Likewise.
23462 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23463 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23464 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23465 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23466 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23467 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23468 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23469 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23470 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23471 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23472 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23473 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23474 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23475 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23476 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23477 * sysdeps/x86_64/dl-tls.h: Likewise.
23478 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23479 * time/alt_digit.c: Likewise.
23480 * time/era.c: Likewise.
23481 * wcsmbs/tst-c16c32-1.c: Likewise.
23483 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23485 * math/libm-test.inc (struct test_sincos_data): New type.
23486 (RUN_TEST_LOOP_sincos): New macro.
23487 (sincos_test_data): New variable.
23488 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23490 2013-05-16 Richard Henderson <rth@redhat.com>
23492 * math/atest-exp2.c (LIMB64): New macro.
23493 (CONSTSZ): New macro.
23494 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23496 (print_mpn_fp): ... to function scope.
23497 (read_mpn_hex): Remove.
23498 (get_log2): Remove.
23499 (exp2_mpn): Use mp_log2.
23500 (main): Use mp_exp1.
23502 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23504 * math/libm-test.inc: Remove comment about not testing "inexact"
23506 (INEXACT_EXCEPTION): New macro.
23507 (NO_INEXACT_EXCEPTION): Likewise.
23508 (INVALID_EXCEPTION_OK): Update value.
23509 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23510 (OVERFLOW_EXCEPTION_OK): Likewise.
23511 (UNDERFLOW_EXCEPTION_OK): Likewise.
23512 (IGNORE_ZERO_INF_SIGN): Likewise.
23513 (ERRNO_UNCHANGED): Likewise.
23514 (ERRNO_EDOM): Likewise.
23515 (ERRNO_ERANGE): Likewise.
23516 (test_exceptions): Handle testing "inexact" exceptions.
23517 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23518 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23519 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23520 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23522 (rint_towardzero_test_data): Likewise.
23523 (rint_downward_test_data): Likewise.
23524 (rint_upward_test_data): Likewise.
23526 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23527 with OVERFLOW_EXCEPTION.
23528 (exp10_test_data): Likewise.
23529 (exp2_test_data): Likewise.
23530 (expm1_test_data): Likewise.
23531 (lgamma_test_data): Likewise.
23532 (pow_test_data): Likewise.
23533 (tgamma_test_data): Likewise.
23534 (yn_test_data): Remove duplicate test of overflow.
23536 * math/libm-test.inc (struct test_cc_c_data): New type.
23537 (RUN_TEST_LOOP_cc_c): New macro.
23538 (cpow_test_data): New variable.
23539 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23541 * math/libm-test.inc (struct test_f_L_data): New type.
23542 (RUN_TEST_LOOP_f_L): New macro.
23543 (llrint_test_data): New variable.
23544 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23545 (llrint_tonearest_test_data): New variable.
23546 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23547 (llrint_towardzero_test_data): New variable.
23548 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23549 (llrint_downward_test_data): New variable.
23550 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23551 (llrint_upward_test_data): New variable.
23552 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23553 (llround_test_data): New variable.
23554 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23556 2013-05-13 Peter Collingbourne <pcc@google.com>
23558 * math/atest-exp2.c (get_log2): Remove const attribute.
23560 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23562 * math/libm-test.inc (struct test_f_l_data): New type.
23563 (RUN_TEST_LOOP_f_l): New macro.
23564 (lrint_test_data): New variable.
23565 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23566 (lrint_tonearest_test_data): New variable.
23567 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23568 (lrint_towardzero_test_data): New variable.
23569 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23570 (lrint_downward_test_data): New variable.
23571 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23572 (lrint_upward_test_data): New variable.
23573 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23574 (lround_test_data): New variable.
23575 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23577 2013-05-15 Peter Collingbourne <pcc@google.com>
23579 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23580 (EXTRACT_WORDS64) Use where appropriate.
23581 (INSERT_WORDS64) Likewise.
23583 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23584 constraints with x constraints.
23585 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23587 * malloc/obstack.c (_obstack_compat): Add initializer.
23589 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23592 si_trapno and add si_addr_lsb to _sifields.sigfault.
23593 (si_trapno): Remove macro.
23594 (si_addr_lsb): Define new macro.
23595 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23597 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23599 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23600 instead of TEST_f_l.
23601 (llrint_test_tonearest): Likewise.
23602 (llrint_test_towardzero): Likewise.
23603 (llrint_test_downward): Likewise.
23604 (llrint_test_upward): Likewise.
23605 (llround_test): Likewise.
23607 * math/libm-test.inc (struct test_f_i_data): Add comment.
23608 (RUN_TEST_LOOP_f_b): New macro.
23609 (RUN_TEST_LOOP_f_b_tg): Likewise.
23610 (finite_test_data): New variable.
23611 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23612 (isfinite_test_data): New variable.
23613 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23614 (isinf_test_data): New variable.
23615 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23616 (isnan_test_data): New variable.
23617 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23618 (isnormal_test_data): New variable.
23619 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23620 (issignaling_test_data): New variable.
23621 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23622 (signbit_test_data): New variable.
23623 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23625 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23626 with INVALID_EXCEPTION.
23627 (acosh_test_data): Likewise.
23628 (asin_test_data): Likewise.
23629 (atanh_test_data): Likewise.
23630 (fmod_test_data): Likewise.
23631 (log_test_data): Likewise.
23632 (log10_test_data): Likewise.
23633 (log2_test_data): Likewise.
23634 (pow_test_data): Likewise.
23635 (sqrt_test_data): Likewise.
23636 (y0_test_data): Likewise.
23637 (y1_test_data): Likewise.
23638 (yn_test_data): Likewise.
23640 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23643 * math/libm-test.inc (struct test_ff_i_data): New type.
23644 (RUN_TEST_LOOP_ff_i_tg): New macro.
23645 (isgreater_test_data): New variable.
23646 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23647 (isgreaterequal_test_data): New variable.
23648 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23649 (isless_test_data): New variable.
23650 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23651 (islessequal_test_data): New variable.
23652 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23653 (islessgreater_test_data): New variable.
23654 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23655 (isunordered_test_data): New variable.
23656 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23658 2013-05-14 David S. Miller <davem@davemloft.net>
23660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23662 2013-05-14 Joseph Myers <joseph@codesourcery.com>
23664 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23666 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23668 (struct test_f_i_data): Change type of max_ulp to int.
23670 * math/libm-test.inc (test_ffI_f1_data): New type.
23671 (RUN_TEST_LOOP_ffI_f1): New macro.
23672 (remquo_test_data): New variable.
23673 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23675 * setjmp/tst-setjmp-fp.c: New file.
23676 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23677 (link-libm): New variable.
23678 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23680 * math/libm-test.inc (struct test_f_i_data): New type.
23681 (RUN_TEST_LOOP_f_i): New macro.
23682 (RUN_TEST_LOOP_f_i_tg): Likewise.
23683 (fpclassify_test_data): New variable.
23684 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23685 (ilogb_test_data): New variable.
23686 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23688 * math/libm-test.inc (scalbln_test): Correct function name in END
23691 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23692 (RUN_TEST_LOOP_fI_f1): New macro.
23693 (frexp_test_data): New variable.
23694 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23696 * math/libm-test.inc (struct test_fF_f1_data): New type.
23697 (RUN_TEST_LOOP_fF_f1): New macro.
23698 (modf_test_data): New variable.
23699 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23701 * math/libm-test.inc (struct test_f_f1_data): New type.
23702 (RUN_TEST_LOOP_f_f1): New macro.
23703 (gamma_test_data): New variable.
23704 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23705 (lgamma_test_data): New variable.
23706 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23708 2013-05-13 Carlos O'Donell <carlos@redhat.com>
23710 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23711 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23712 (main): Comment "tls" pseudo-hwcap.
23714 2013-05-13 Joseph Myers <joseph@codesourcery.com>
23716 * math/libm-test.inc (struct test_fl_f_data): New type.
23717 (RUN_TEST_LOOP_fl_f): New variable.
23718 (scalbln_test_data): New variable.
23719 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23721 * math/libm-test.inc (struct test_fi_f_data): New type.
23722 (RUN_TEST_LOOP_fi_f): New macro.
23723 (ldexp_test_data): New variable.
23724 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23725 (scalbn_test_data): New variable.
23726 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23728 * math/libm-test.inc (struct test_c_f_data): New type.
23729 (RUN_TEST_LOOP_c_f): New macro.
23730 (cabs_test_data): New variable.
23731 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23732 (carg_test_data): New variable.
23733 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23734 (cimag_test_data): New variable.
23735 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23736 (creal_test_data): New variable.
23737 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23739 * math/libm-test.inc (struct test_if_f_data): New type.
23740 (RUN_TEST_LOOP_if_f): New macro.
23741 (jn_test_data): New variable.
23742 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23743 (yn_test_data): New variable.
23744 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23746 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23748 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23750 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23751 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23753 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23755 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23756 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23757 (bench-deps): Add bench-timing.h.
23758 * benchtests-bench-skeleton.c: Include bench-timing.h.
23759 (main): Use TIMING_* macros instead of clock_gettime.
23760 * benchtests/bench-timing.h: New file.
23763 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23764 Renamed from _LIB_VERSION.
23765 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23767 2013-05-12 Joseph Myers <joseph@codesourcery.com>
23769 * math/libm-test.inc (struct test_fff_f_data): New type.
23770 (RUN_TEST_LOOP_fff_f): New macro.
23771 (fma_test_data): New variable.
23772 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23773 (fma_towardzero_test_data): New variable.
23774 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23775 (fma_downward_test_data): New variable.
23776 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23777 (fma_upward_test_data): New variable.
23778 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23780 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23781 (struct test_c_c_data): New type.
23782 (RUN_TEST_LOOP_c_c): New macro.
23783 (cacos_test_data): New variable.
23784 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23785 (cacosh_test_data): New variable.
23786 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23787 (casin_test_data): New variable.
23788 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23789 (casinh_test_data): New variable.
23790 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23791 (catan_test_data): New variable.
23792 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23793 (catanh_test_data): New variable.
23794 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23795 (ccos_test_data): New variable.
23796 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23797 (ccosh_test_data): New variable.
23798 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23799 (cexp_test_data): New variable.
23800 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23801 (clog_test_data): New variable.
23802 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23803 (clog10_test_data): New variable.
23804 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23805 (conj_test_data): New variable.
23806 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23807 (cproj_test_data): New variable.
23808 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23809 (csin_test_data): New variable.
23810 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23811 (csinh_test_data): New variable.
23812 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23813 (csqrt_test_data): New variable.
23814 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23815 (ctan_test_data): New variable.
23816 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23817 (ctan_tonearest_test_data): New variable.
23818 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23819 (ctan_towardzero_test_data): New variable.
23820 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23821 (ctan_downward_test_data): New variable.
23822 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23823 (ctan_upward_test_data): New variable.
23824 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23825 (ctanh_test_data): New variable.
23826 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23827 (ctanh_tonearest_test_data): New variable.
23828 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23829 (ctanh_towardzero_test_data): New variable.
23830 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23831 (ctanh_downward_test_data): New variable.
23832 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23833 (ctanh_upward_test_data): New variable.
23834 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23835 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23838 * math/libm-test.inc (struct test_ff_f_data): New type.
23839 (struct test_ff_f_data_nexttoward): Likewise.
23840 (RUN_TEST_LOOP_2_f): New macro.
23841 (RUN_TEST_LOOP_ff_f): Likewise.
23842 (atan2_test_data): New variable.
23843 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23844 (copysign_test_data): New variable.
23845 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23846 (fdim_test_data): New variable.
23847 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23848 (fmax_test_data): New variable.
23849 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23850 (fmin_test_data): New variable.
23851 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23852 (fmod_test_data): New variable.
23853 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23854 (hypot_test_data): New variable.
23855 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23856 (nextafter_test_data): New variable.
23857 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23858 (nexttoward_test_data): New variable.
23859 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23860 (pow_test_data): New variable.
23861 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23862 (pow_tonearest_test_data): New variable.
23863 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23864 (pow_towardzero_test_data): New variable.
23865 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23866 (pow_downward_test_data): New variable.
23867 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23868 (pow_upward_test_data): New variable.
23869 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23870 (remainder_test_data): New variable.
23871 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23872 (scalb_test_data): New variable.
23873 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23874 * sysdeps/i386/fpu/libm-test-ulps: Update.
23876 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23878 * math/libm-test.inc (fma_test): Use max_value instead of local
23880 (nextafter_test): Likewise.
23882 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23883 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23884 (acos_downward_test_data): New variable.
23885 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23886 (acos_upward_test_data): New variable.
23887 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23888 (acosh_test_data): New variable.
23889 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23890 (asin_test_data): New variable.
23891 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23892 (asin_tonearest_test_data): New variable.
23893 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23894 (asin_towardzero_test_data): New variable.
23895 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23896 (asin_downward_test_data): New variable.
23897 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23898 (asin_upward_test_data): New variable.
23899 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23900 (asinh_test_data): New variable.
23901 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23902 (atan_test_data): New variable.
23903 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23904 (atanh_test_data): New variable.
23905 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23906 (cbrt_test_data): New variable.
23907 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23908 (ceil_test_data): New variable.
23909 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23910 (cos_test_data): New variable.
23911 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23912 (cos_tonearest_test_data): New variable.
23913 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23914 (cos_towardzero_test_data): New variable.
23915 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23916 (cos_downward_test_data): New variable.
23917 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23918 (cos_upward_test_data): New variable.
23919 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23920 (cosh_test_data): New variable.
23921 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23922 (cosh_tonearest_test_data): New variable.
23923 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23924 (cosh_towardzero_test_data): New variable.
23925 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23926 (cosh_downward_test_data): New variable.
23927 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23928 (cosh_upward_test_data): New variable.
23929 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23930 (erf_test_data): New variable.
23931 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23932 (erfc_test_data): New variable.
23933 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23934 (exp_test_data): New variable.
23935 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23936 (exp_tonearest_test_data): New variable.
23937 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23938 (exp_towardzero_test_data): New variable.
23939 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23940 (exp_downward_test_data): New variable.
23941 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23942 (exp_upward_test_data): New variable.
23943 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23944 (exp10_test_data): New variable.
23945 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23946 (exp2_test_data): New variable.
23947 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23948 (expm1_test_data): New variable.
23949 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23950 (fabs_test_data): New variable.
23951 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23952 (floor_test_data): New variable.
23953 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23954 (j0_test_data): New variable.
23955 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23956 (j1_test_data): New variable.
23957 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23958 (log_test_data): New variable.
23959 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23960 (log10_test_data): New variable.
23961 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23962 (log1p_test_data): New variable.
23963 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23964 (log2_test_data): New variable.
23965 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23966 (logb_test_data): New variable.
23967 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23968 (logb_downward_test_data): New variable.
23969 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23970 (nearbyint_test_data): New variable.
23971 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23972 (rint_test_data): New variable.
23973 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23974 (rint_tonearest_test_data): New variable.
23975 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23976 (rint_towardzero_test_data): New variable.
23977 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23978 (rint_downward_test_data): New variable.
23979 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23980 (rint_upward_test_data): New variable.
23981 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23982 (round_test_data): New variable.
23983 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23984 (sin_test_data): New variable.
23985 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23986 (sin_tonearest_test_data): New variable.
23987 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23988 (sin_towardzero_test_data): New variable.
23989 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23990 (sin_downward_test_data): New variable.
23991 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23992 (sin_upward_test_data): New variable.
23993 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23994 (sinh_test_data): New variable.
23995 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23996 (sinh_tonearest_test_data): New variable.
23997 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23998 (sinh_towardzero_test_data): New variable.
23999 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24000 (sinh_downward_test_data): New variable.
24001 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24002 (sinh_upward_test_data): New variable.
24003 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24004 (sqrt_test_data): New variable.
24005 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24006 (tan_test_data): New variable.
24007 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24008 (tan_tonearest_test_data): New variable.
24009 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24010 (tan_towardzero_test_data): New variable.
24011 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24012 (tan_downward_test_data): New variable.
24013 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24014 (tan_upward_test_data): New variable.
24015 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24016 (tanh_test_data): New variable.
24017 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24018 (tgamma_test_data): New variable.
24019 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24020 (trunc_test_data): New variable.
24021 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24022 (y0_test_data): New variable.
24023 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24024 (y1_test_data): New variable.
24025 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24026 (significand_test_data): New variable.
24027 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24029 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24032 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24034 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24036 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24038 2013-05-10 Andreas Jaeger <aj@suse.de>
24041 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24042 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24044 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24046 * math/gen-libm-test.pl (adjust_arg): New function.
24047 (special_functions): Handle generating output in both functions
24049 (parse_args): Likewise.
24050 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24051 $in_func argument to parse_args.
24052 * math/libm-test.inc (struct test_f_f_data): New type.
24053 (IF_ROUND_INIT_): New macro.
24054 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24055 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24056 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24057 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24058 (ROUND_RESTORE_): Likewise.
24059 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24060 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24061 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24062 (ROUND_RESTORE_FE_UPWARD): Likewise.
24063 (RUN_TEST_LOOP_f_f): New macro.
24064 (acos_test_data): New variable.
24065 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24066 (acos_tonearest_test_data): New variable.
24067 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24069 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24071 * benchtests/bench-skeleton.c (startup): Fix coding style.
24073 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24076 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24077 negative infinity argument.
24078 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24079 negative infinity argument.
24080 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24081 negative infinity argument.
24082 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24085 2013-05-10 Florian Weimer <fweimer@redhat.com>
24087 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24088 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24089 * iconv/iconv_prog.c (main): Likewise.
24090 * locale/programs/charmap-dir.c (charmap_readdir)
24091 (fopen_uncompressed): Likewise.
24092 * locale/programs/locfile.c (siblings_uncached)
24093 (write_locale_data): Use lstat64 instead of lstat.
24094 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24097 2013-05-10 Andreas Jaeger <aj@suse.de>
24100 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24102 Include <locale.h>.
24104 2013-05-09 Carlos O'Donell <carlos@redhat.com>
24106 * elf/dl-close.c (_dl_close_worker): Add comments.
24108 2013-05-09 Joseph Myers <joseph@codesourcery.com>
24111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24113 (__ieee754_rem_pio2l): Update comments.
24116 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24118 (__ieee754_rem_pio2l): Update comments.
24120 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24121 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24123 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24126 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24127 (M_PI_34_LOG10El): Likewise.
24128 (M_PI2_LOG10El): Likewise.
24129 (M_PI4_LOG10El): Likewise.
24130 (M_PI_LOG10El): Likewise.
24132 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24136 2013-05-08 Joseph Myers <joseph@codesourcery.com>
24138 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24139 (MINUS_ZERO_INIT): Likewise.
24140 (PLUS_INFTY_INIT): Likewise.
24141 (MINUS_INFTY_INIT): Likewise.
24142 (QNAN_VALUE_INIT): Likewise.
24143 (MAX_VALUE_INIT): Likewise.
24144 (MIN_VALUE_INIT): Likewise.
24145 (MIN_SUBNORM_VALUE_INIT): Likewise.
24146 (plus_zero): Initialize with PLUS_ZERO_INIT.
24147 (minus_zero): Initialize with MINUS_ZERO_INIT.
24148 (plus_infty): Initialize with PLUS_INFTY_INIT.
24149 (minus_infty): Initialize with MINUS_INFTY_INIT.
24150 (qnan_value): Initialize with QNAN_VALUE_INIT.
24151 (max_value): Initialize with MAX_VALUE_INIT.
24152 (min_value): Initialize with MIN_VALUE_INIT.
24153 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24155 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24156 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24157 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24158 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24160 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24161 (RUN_TEST_2_f): Likewise.
24162 (RUN_TEST_ff_f): Likewise.
24163 (RUN_TEST_fi_f): Likewise.
24164 (RUN_TEST_fl_f): Likewise.
24165 (RUN_TEST_fff_f): Likewise.
24166 (RUN_TEST_c_f): Likewise.
24167 (RUN_TEST_f_f1): Likewise.
24168 (RUN_TEST_fF_f1): Likewise.
24169 (RUN_TEST_fI_f1): Likewise.
24170 (RUN_TEST_ffI_f1): Likewise.
24171 (RUN_TEST_c_c): Likewise.
24172 (RUN_TEST_cc_c): Likewise.
24173 (RUN_TEST_f_i): Likewise.
24174 (RUN_TEST_f_i_tg): Likewise.
24175 (RUN_TEST_ff_i_tg): Likewise.
24176 (RUN_TEST_f_b): Likewise.
24177 (RUN_TEST_f_b_tg): Likewise.
24178 (RUN_TEST_f_l): Likewise.
24179 (RUN_TEST_f_L): Likewise.
24180 (RUN_TEST_sincos): Likewise.
24181 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24182 whether to show exceptions. Do not include ");\n" in return
24184 (special_functions): Output call to RUN_TEST_sincos instead of
24185 check_float calls. Update calls to new_test.
24186 (parse_args): Output call to single RUN_TEST_* macro instead of
24187 check_* calls and other assignments. Update calls to new_test.
24193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24194 input to result for tgamma overflow.
24195 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24196 (gamma_coeff): New variable.
24197 (NCOEFF): New macro.
24198 (gamma_positive): New function.
24199 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24200 underflow here. Use gamma_positive instead of exp (lgamma) for
24202 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24203 (gamma_coeff): New variable.
24204 (NCOEFF): New macro.
24205 (gammaf_positive): New function.
24206 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24207 underflow here. Use gamma_positive instead of exp (lgamma) for
24209 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24210 (gamma_coeff): New variable.
24211 (NCOEFF): New macro.
24212 (gammal_positive): New function.
24213 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24214 underflow here. Use gamma_positive instead of exp (lgamma) for
24216 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24217 (gamma_coeff): New variable.
24218 (NCOEFF): New macro.
24219 (gammal_positive): New function.
24220 (__ieee754_gammal_r): Handle positive infinity, overflow and
24221 underflow here. Handle NaN the same as positive infinity. Remove
24222 check x < 0xffffffff for negative integers. Use gamma_positive
24223 instead of exp (lgamma) for other arguments.
24224 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24225 (gamma_coeff): New variable.
24226 (NCOEFF): New macro.
24227 (gammal_positive): New function.
24228 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24229 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24234 * sysdeps/generic/math_private.h (__gamma_productf): New
24236 (__gamma_product): Likewise.
24237 (__gamma_productl): Likewise.
24238 * math/Makefile (libm-calls): Add gamma_product.
24239 * math/libm-test.inc (tgamma_test): Add more tests.
24240 * sysdeps/i386/fpu/libm-test-ulps: Update.
24241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24243 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
24245 * benchtests/bench-skeleton.c (main): Preheat CPU.
24247 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24249 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24251 2013-05-07 Roland McGrath <roland@hack.frob.com>
24253 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24254 and _dl_skip_args_internal.
24256 2013-05-07 Carlos O'Donell <carlos@redhat.com>
24258 * manual/message.texi (Message Translation): Talk about users.
24259 Message to key mapping impacts design.
24261 2013-05-06 Roland McGrath <roland@hack.frob.com>
24263 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24265 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24267 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24268 * sysdeps/wordsize-64/glob64.c: ... here.
24270 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24271 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24274 * debug/getlogin_r_chk.c: Moved to ...
24275 * login/getlogin_r_chk.c: ... here.
24276 * debug/Makefile (routines): Move getlogin_r_chk to ...
24277 * login/Makefile (routines): ... here.
24278 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24279 * login/Versions (libc: GLIBC_2.4): ... here.
24281 * io/poll.c (__poll): Renamed from poll.
24282 Add libc_hidden_def.
24283 (poll): Define as weak alias.
24285 * debug/ptsname_r_chk.c: Moved to ...
24286 * login/ptsname_r_chk.c: ... here.
24287 * debug/Makefile (routines): Move ptsname_r_chk to ...
24288 * login/Makefile (routines): ... here.
24289 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24290 * login/Versions (libc: GLIBC_2.4): ... here.
24292 * posix/getlogin.c: Moved to ...
24293 * login/getlogin.c: ... here.
24294 * posix/getlogin_r.c: Moved to ...
24295 * login/getlogin_r.c: ... here.
24296 * posix/getlogin_r.c: Moved to ...
24297 * login/getlogin_r.c: ... here.
24298 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24299 * login/Makefile (routines): ... here.
24300 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24301 * login/Versions (libc: GLIBC_2.0): ... here.
24303 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24304 (setrlimit): Define as weak alias.
24306 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24307 Call __ names for open, ftruncate, and close.
24308 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24309 (truncate): Define as weak alias.
24311 2013-05-06 Joseph Myers <joseph@codesourcery.com>
24313 * math/gen-libm-test.pl (parse_args): Initialize x before each
24314 test of frexp, modf and remquo.
24316 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24317 test signgam value.
24319 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24323 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24327 2013-05-06 Roland McGrath <roland@hack.frob.com>
24329 * elf/dl-writev.h: New file.
24330 * elf/dl-misc.c: Include it.
24331 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24332 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24334 2013-05-04 Joseph Myers <joseph@codesourcery.com>
24336 * math/libm-test.inc (noXFails): Remove variable.
24337 (noXPasses): Likewise.
24338 (BUILD_COMPLEX_INT): Remove macro.
24339 (print_screen): Remove xfail argument.
24340 (print_screen_max_error): Likewise.
24341 (update_stats): Likewise.
24342 (print_max_error): Likewise. Update calls to other affected
24344 (print_complex_max_error): Likewise.
24345 (test_single_exception): Update calls to print_screen.
24346 (test_single_errno): Likewise.
24347 (check_float_internal): Remove xfail argument. Update calls to
24348 other affected functions.
24349 (check_float): Likewise.
24350 (check_complex): Likewise.
24351 (check_int): Likewise.
24352 (check_long): Likewise.
24353 (check_bool): Likewise.
24354 (check_longlong): Likewise.
24355 (main): Don't print noXFails and noXPasses.
24356 * math/gen-libm-test.pl (top level): Don't mention expected
24357 failure handling in comment.
24358 (new_test): Don't handle expected failures.
24359 (parse_args): Don't mention expected failure handling in comment.
24360 (generate_testfile): Don't handle expected failures.
24361 (parse_ulps): Likewise.
24362 (print_ulps_file): Likewise.
24363 (get_failure): Remove function.
24364 (output_test): Don't handle expected failures.
24365 * make/README.libm-test: Don't mention expected failure handling.
24367 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24368 (minus_zero): Likewise.
24369 (plus_infty): Likewise.
24370 (minus_infty): Likewise.
24371 (qnan_value): Likewise.
24372 (max_value): Likewise.
24373 (min_value): Likewise.
24374 (min_subnorm_value): Likewise.
24375 (initialize): Do not initialize those variables dynamically.
24377 2013-05-03 Roland McGrath <roland@hack.frob.com>
24379 * io/open.c (__open_2): Moved to ...
24380 * io/open_2.c: ... this new file.
24381 * io/open64.c (__open64_2): Moved to ...
24382 * io/open64_2.c: ... this new file.
24383 * io/openat.c (__openat_2): Moved to ...
24384 * io/openat_2.c: ... this new file.
24385 * io/openat64.c (__openat64_2): Moved to ...
24386 * io/openat64_2.c: ... this new file.
24387 * io/Makefile (routines): Add them.
24388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24389 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24390 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24391 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24392 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24393 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24394 (__openat64): Add hidden_ver.
24395 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24396 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24398 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24399 Separately conditionalize setting of GLRO(dl_sysinfo) so
24400 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24401 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24403 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24405 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24406 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24408 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24409 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24410 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24411 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24412 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24414 2013-05-03 Joseph Myers <joseph@codesourcery.com>
24416 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24417 test signgam value.
24419 * math/libm-test.inc (hypot_test): Do not use
24420 IGNORE_ZERO_INF_SIGN.
24422 2013-05-03 Andreas Jaeger <aj@suse.de>
24424 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24426 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24427 (PF_MAX): Adjust for VSOCK change.
24429 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24433 2013-05-02 Carlos O'Donell <carlos@redhat.com>
24436 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24437 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24438 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24440 2013-05-02 David S. Miller <davem@davemloft.net>
24442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24444 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
24446 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24448 2013-05-01 Roland McGrath <roland@hack.frob.com>
24450 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24452 2013-05-01 Richard Smith <richard@metafoo.co.uk>
24455 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24456 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24457 Use __attribute__ ((__gnu_inline__)).
24458 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24459 Don't use __attribute__ ((__gnu_inline__)).
24461 2013-05-01 Joseph Myers <joseph@codesourcery.com>
24464 * math/s_catan.c (__catan): Handle small real or imaginary part of
24465 input specially to avoid spurious underflow.
24466 * math/s_catanf.c (__catanf): Likewise.
24467 * math/s_catanh.c (__catanh): Likewise.
24468 * math/s_catanhf.c (__catanhf): Likewise.
24469 * math/s_catanhl.c (__catanhl): Likewise.
24470 * math/s_catanl.c (__catanl): Likewise.
24471 * math/libm-test.inc (catan_test): Add more tests.
24472 (catanh_test): Likewise.
24473 * sysdeps/i386/fpu/libm-test-ulps: Update.
24474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24476 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24480 2013-04-30 Joseph Myers <joseph@codesourcery.com>
24483 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24484 accurately for denominator in atan2.
24485 * math/s_catanf.c (__catanf): Likewise.
24486 * math/s_catanh.c (__catanh): Likewise.
24487 * math/s_catanhf.c (__catanhf): Likewise.
24488 * math/s_catanhl.c (__catanhl): Likewise.
24489 * math/s_catanl.c (__catanl): Likewise.
24490 * math/libm-test.inc (catan_test): Add more tests.
24491 (catanh_test): Likewise.
24492 * sysdeps/i386/fpu/libm-test-ulps: Update.
24493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24495 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24497 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24499 * benchtests/Makefile (bench): Remove slow benchmarks.
24500 * benchtests/atan-inputs: Add slow benchmark inputs.
24501 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24502 (BENCH_FUNC): Accept variant offset.
24504 * benchtests/bench-skeleton.c (main): Run benchmark for each
24506 * benchtests/cos-inputs: Add slow benchmark inputs.
24507 * benchtests/exp-inputs: Likewise.
24508 * benchtests/pow-inputs: Likewise.
24509 * benchtests/sin-inputs: Likewise.
24510 * benchtests/slowatan-inputs: Remove.
24511 * benchtests/slowatan.c: Remove.
24512 * benchtests/slowcos-inputs: Remove.
24513 * benchtests/slowcos.c: Remove.
24514 * benchtests/slowexp-inputs: Remove.
24515 * benchtests/slowexp.c: Remove.
24516 * benchtests/slowpow-inputs: Remove.
24517 * benchtests/slowpow.c: Remove.
24518 * benchtests/slowsin-inputs: Remove.
24519 * benchtests/slowsin.c: Remove.
24520 * benchtests/slowtan-inputs: Remove.
24521 * benchtests/slowtan.c: Remove.
24522 * benchtests/tan-inputs: Add slow benchmark inputs.
24523 * scripts/bench.pl: Parse comments and directives.
24525 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24527 ($(objpfx)bench-%.c): Remove *-ITER.
24528 * benchtests/bench-modf.c: Remove definition of ITER.
24529 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24530 (main): Loop for DURATION seconds instead of fixed number of
24532 * scripts/bench.pl: Don't expect iterations in parameters.
24534 2013-04-29 Roland McGrath <roland@hack.frob.com>
24536 * io/fchdir.c (__fchdir): Renamed from fchdir.
24537 (fchdir): Define as weak alias.
24539 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24541 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24542 (ERRNO_EDOM): Likewise.
24543 (ERRNO_ERANGE): Likewise.
24544 (noErrnoTests): New variable.
24545 (init_max_error): Set errno to 0.
24546 (test_single_errno): New function.
24547 (test_errno): Likewise.
24548 (check_float_internal): Call test_errno. Set errno to 0.
24549 (check_complex): Refer to errno tests in comment.
24550 (check_int): Call test_errno. Set errno to 0.
24551 (check_long): Likewise.
24552 (check_bool): Likewise.
24553 (check_longlong): Likewise.
24554 (cos_test): Use ERRNO_* flags for errno tests instead of
24556 (expm1_test): Likewise.
24557 (fmod_test): Likewise.
24558 (ilogb_test): Likewise.
24559 (lgamma_test): Likewise.
24560 (pow_test): Likewise.
24561 (remainder_test): Likewise.
24562 (sin_test): Likewise.
24563 (tan_test): Likewise.
24564 (yn_test): Likewise.
24565 (initialize): Set errno to 0.
24566 (main): Print number of errno tests.
24567 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24569 2013-04-29 Andreas Jaeger <aj@suse.de>
24572 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24576 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24577 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24581 * stdlib/random.c (__initstate): Return NULL if
24585 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24586 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24589 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24593 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24595 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24596 of individual tests.
24597 (casin_test): Likewise.
24598 (casinh_test): Likewise.
24600 2013-04-27 Joseph Myers <joseph@codesourcery.com>
24603 * math/s_catan.c (__catan): Handle arguments with large real or
24604 imaginary part separately without squaring.
24605 * math/s_catanf.c (__catanf): Likewise.
24606 * math/s_catanh.c (__catanh): Likewise.
24607 * math/s_catanhf.c (__catanhf): Likewise.
24608 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24610 (__catanhl): Handle arguments with large real or imaginary part
24611 separately without squaring.
24612 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24614 (__catanl): Handle arguments with large real or imaginary part
24615 separately without squaring.
24616 * math/libm-test.inc (catan_test): Add more tests.
24617 (catanh_test): Likewise.
24618 * sysdeps/i386/fpu/libm-test-ulps: Update.
24619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24621 2013-04-27 Andreas Jaeger <aj@suse.de>
24624 * stdlib/stdlib.h: Update guards for qecvt.
24625 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24628 2013-04-27 Allan McRae <allan@archlinux.org>
24630 * sysdeps/i386/fpu/libm-test-ulps: Update.
24632 2013-04-26 Joseph Myers <joseph@codesourcery.com>
24635 * math/s_catan.c: Include <float.h>.
24636 (__catan): Ensure underflow exception occurs for underflowed
24638 * math/s_catanf.c: Include <float.h>.
24639 (__catanf): Ensure underflow exception occurs for underflowed
24641 * math/s_catanh.c: Include <float.h>.
24642 (__catanh): Ensure underflow exception occurs for underflowed
24644 * math/s_catanhf.c: Include <float.h>.
24645 (__catanhf): Ensure underflow exception occurs for underflowed
24647 * math/s_catanhl.c: Include <float.h>.
24648 (__catanhl): Ensure underflow exception occurs for underflowed
24650 * math/s_catanl.c: Include <float.h>.
24651 (__catanl): Ensure underflow exception occurs for underflowed
24653 * math/libm-test.inc (catan_test): Add more tests.
24654 (catanh_test): Likewise.
24657 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24658 underflowed result.
24659 * math/s_ccoshf.c (__ccoshf): Likewise.
24660 * math/s_ccoshl.c (__ccoshl): Likewise.
24661 * math/s_csin.c (__csin): Likewise.
24662 * math/s_csinf.c (__csinf): Likewise.
24663 * math/s_csinh.c (__csinh): Likewise.
24664 * math/s_csinhf.c (__csinhf): Likewise.
24665 * math/s_csinhl.c (__csinhl): Likewise.
24666 * math/s_csinl.c (__csinl): Likewise.
24667 * math/libm-test.inc (ccos_test): Add more tests.
24668 (ccosh_test): Likewise.
24669 (csin_test): Likewise.
24670 (csinh_test): Likewise.
24672 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24674 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24675 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24676 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24677 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24678 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24679 powerpc/power5+/fpu folders.
24680 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24683 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24687 2013-04-25 Joseph Myers <joseph@codesourcery.com>
24689 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24690 additions to variable.
24691 [$(config-machine) = x86_64] (modules-names): Likewise.
24692 ($(objpfx)tst-audit3): Remove dependency.
24693 ($(objpfx)tst-audit3.out): Likewise.
24694 ($(objpfx)tst-audit4): Likewise.
24695 ($(objpfx)tst-audit4.out): Likewise.
24696 ($(objpfx)tst-audit5): Likewise.
24697 ($(objpfx)tst-audit5.out): Likewise.
24698 ($(objpfx)tst-audit6): Likewise.
24699 ($(objpfx)tst-audit6.out): Likewise.
24700 ($(objpfx)tst-audit7): Likewise.
24701 ($(objpfx)tst-audit7.out): Likewise.
24702 (tst-audit3-ENV): Remove variable.
24703 (tst-audit4-ENV): Likewise.
24704 (tst-audit5-ENV): Likewise.
24705 (tst-audit6-ENV): Likewise.
24706 (tst-audit7-ENV): Likewise.
24707 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24708 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24709 addition to variable.
24710 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24711 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24712 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24713 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24714 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24715 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24716 tst-audit3, tst-audit4 and tst-audit5.
24717 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24718 tst-audit6 and tst-audit7.
24719 [$(subdir) = elf] (modules-names): Add audit modules for those
24721 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24722 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24723 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24724 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24725 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24726 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24727 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24728 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24729 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24730 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24731 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24732 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24733 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24734 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24735 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24736 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24738 [$(subdir) = elf && $(config-cflags-avx) = yes]
24739 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24740 [$(subdir) = elf && $(config-cflags-avx) = yes]
24741 (CFLAGS-tst-auditmod4a.c): Likewise.
24742 [$(subdir) = elf && $(config-cflags-avx) = yes]
24743 (CFLAGS-tst-auditmod4b.c): Likewise.
24744 [$(subdir) = elf && $(config-cflags-avx) = yes]
24745 (CFLAGS-tst-auditmod6b.c): Likewise.
24746 [$(subdir) = elf && $(config-cflags-avx) = yes]
24747 (CFLAGS-tst-auditmod6c.c): Likewise.
24748 [$(subdir) = elf && $(config-cflags-avx) = yes]
24749 (CFLAGS-tst-auditmod7b.c): Likewise.
24750 * elf/tst-audit3.c: Move to ...
24751 * sysdeps/x86_64/tst-audit3.c: ... here.
24752 * elf/tst-audit4.c: Move to ...
24753 * sysdeps/x86_64/tst-audit4.c: ... here.
24754 * elf/tst-audit5.c: Move to ...
24755 * sysdeps/x86_64/tst-audit5.c: ... here.
24756 * elf/tst-audit6.c: Move to ...
24757 * sysdeps/x86_64/tst-audit6.c: ... here.
24758 * elf/tst-audit7.c: Move to ...
24759 * sysdeps/x86_64/tst-audit7.c: ... here.
24760 * elf/tst-auditmod3a.c: Move to ...
24761 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24762 * elf/tst-auditmod3b.c: Move to ...
24763 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24764 * elf/tst-auditmod4a.c: Move to ...
24765 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24766 * elf/tst-auditmod4b.c: Move to ...
24767 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24768 * elf/tst-auditmod5a.c: Move to ...
24769 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24770 * elf/tst-auditmod5b.c: Move to ...
24771 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24772 * elf/tst-auditmod6a.c: Move to ...
24773 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24774 * elf/tst-auditmod6b.c: Move to ...
24775 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24776 * elf/tst-auditmod6c.c: Move to ...
24777 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24778 * elf/tst-auditmod7a.c: Move to ...
24779 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24780 * elf/tst-auditmod7b.c: Move to ...
24781 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24783 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24786 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24787 define unconditionally.
24788 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24789 define unconditionally.
24790 (INT8_C, INT16_C, etc.): Likewise.
24792 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24794 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24795 __ehdr_start with hidden visibility.
24797 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24799 2013-04-24 Carlos O'Donell <carlos@redhat.com>
24801 * math/libm-test.inc (cos_test): Use accurate hex constants.
24802 (sincost_test): Likewise.
24804 2013-04-24 Joseph Myers <joseph@codesourcery.com>
24806 * math/libm-test.inc (catan_test): Add more tests.
24807 (catanh_test): Likewise.
24809 * math/s_catanf.c (__catanf): Use suffixed floating-point
24811 * math/s_catanhf.c (__catanhf): Likewise.
24812 * math/s_catanhl.c (__catanhl): Likewise.
24813 * math/s_catanl.c (__catanl): Likewise.
24816 * math/s_catan.c (__catan): Calculate imaginary part of result
24817 with log1p not log unless computing log of number close to 0.
24818 * math/s_catanf.c (__catanf): Likewise.
24819 * math/s_catanl.c (__catanl): Likewise.
24820 * math/s_catanh.c (__catanh): Calculate real part of result with
24821 log1p not log unless computing log of number close to 0.
24822 * math/s_catanhf.c (__catanhf): Likewise.
24823 * math/s_catanhl.c (__catanhl): Likewise.
24824 * math/libm-test.inc (catan_test): Add more tests.
24825 (catanh_test): Likewise.
24826 * sysdeps/i386/fpu/libm-test-ulps: Update.
24827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24829 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24831 * benchtests/Makefile: Mention files in which fast and slow
24832 paths of math functions are implemented.
24834 2013-04-23 Roland McGrath <roland@hack.frob.com>
24836 * sysdeps/posix/timespec_get.c: New file.
24838 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24840 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24842 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24844 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24845 powerpc/power5/fpu folders.
24846 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24847 * benchtests/Makefile: Add modf testcase.
24848 * benchtests/bench-modf.c: New file: Benchmark test for mo
24850 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24853 * time/Makefile (tests): Add tst-strptime-whitespace.
24854 * time/strptime_l.c (get_number): Use ISSPACE.
24855 (__strptime_internal): Likewise.
24856 * time/tst-strptime-whitespace.c: New test case.
24858 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24860 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24862 (_nss_files_init): Set it here.
24864 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24866 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24867 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24870 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24872 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24874 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24879 2013-04-21 David S. Miller <davem@davemloft.net>
24881 * po/ru.po: Update Russion translation from translation project.
24883 2013-04-17 Adam Conrad <adconrad@0c3.net>
24885 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24888 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24890 * configure.in: Remove i386 configure warning. Remove i386 case.
24891 * configure: Regenerate.
24892 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24893 Add example to error message.
24894 * sysdeps/i386/configure: Regenerate.
24896 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24898 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24900 * benchtests/cos-inputs: New file.
24901 * benchtests/slowcos-inputs: New file.
24902 * benchtests/slowcos.c: New file.
24903 * benchtests/slowtan-inputs: New file.
24904 * benchtests/slowtan.c: New file.
24905 * benchtests/tan-inputs: New file.
24907 2013-04-16 Roland McGrath <roland@hack.frob.com>
24909 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24912 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24914 * benchtests/Makefile: Include cppflags-iterator.mk to add
24915 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24917 * Makefile.in (bench-clean): New target.
24918 * benchtests/Makefile (bench-clean): Likewise.
24920 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24922 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24924 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24926 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24928 2013-04-15 Andreas Schwab <schwab@suse.de>
24930 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24932 * nscd/pwdcache.c (cache_addpw): Likewise.
24933 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24936 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24938 * benchtests/Makefile (bench): Write all output to
24939 bench-out.tmp together.
24941 2013-04-15 Andreas Schwab <schwab@suse.de>
24943 * nscd/nscd.c (main): Don't fork again after closing files.
24945 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24947 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24949 * benchtests/Rules (bench-deps): Collect dependencies into a
24950 single variable. Add Makefile to dependencies.
24951 ($(objpfx)bench-%.c): Depend on bench-deps.
24953 2013-04-12 Roland McGrath <roland@hack.frob.com>
24954 Xavier Roche <roche+kml2@exalead.com>
24957 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24958 just that it's a file descriptor.
24959 * manual/llio.texi (Synchronizing AIO Operations): Update description
24960 for EBADF error from aio_fsync.
24962 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24964 * Rules (bench): Move target definition...
24965 * benchtests/Makefile: ... here.
24967 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24969 * math/libm-test.inc (cos_test): Fix PI/2 test.
24970 (sincos_test): Likewise.
24971 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24972 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24974 2013-04-11 Andreas Schwab <schwab@suse.de>
24977 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24978 accept exponent character only when digits were seen.
24979 * stdio-common/Makefile (tests): Add bug26.
24980 * stdio-common/bug26.c: New file.
24983 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24986 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24988 * Makeconfig (rtld-prefix): Define built linker prefix.
24989 * Rules (run-bench): Use it.
24990 * math/Makefile (run-regen-ulps): Likewise.
24992 * Rules (bench): Remove eval.
24994 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24995 Roland McGrath <roland@hack.frob.com>
24996 Ondrej Bilka <neleai@seznam.cz>
24999 * time/getdate.c: Include ctype.h and alloca.h.
25000 (__getdate_r): Trim leading and trailing spaces of input.
25001 * time/tst-getdate.c (tests): Add tests with leading and
25004 2013-04-08 Roland McGrath <roland@hack.frob.com>
25007 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25008 when computing value.
25010 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25012 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25013 Use testrun.sh to run libm tests.
25016 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25018 2013-04-06 Marko Myllynen <myllynen@redhat.com>
25021 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25023 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25025 * Makefile.in (regen-ulps): New target.
25026 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25027 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25028 [ifneq (no,$(PERL)] (regen-ulps): New target.
25029 [ifeq (no,$(PERL)] (regen-ulps): New target.
25030 * math/libm-test.inc (ulps_file_name): Define.
25031 (output_dir): New variable.
25032 (options): Add "output-dir" option.
25033 (parse_opt): Handle 'o' case.
25034 (main): If output_dir is non-NULL use it as a prefix
25036 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25038 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25040 [BZ #10060, #10062]
25041 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25042 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25043 fail configure if __sync_val_compare_and_swap is not inlined.
25044 * sysdeps/i386/configure: Regenerate.
25045 * configure.in: Build for i686 when configured for i386.
25046 * configure: Regenerate.
25047 * README: Remove i386 reference.
25049 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25051 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25052 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25054 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25056 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25057 (lmsnanval): New variables.
25058 (F): Add conversion tests.
25059 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25060 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25062 * stdio-common/tstdiomisc.c (F): Properly collect individual
25065 [BZ #14686, #15336]
25066 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25067 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25068 Instead, use input NaN values or generate a qNaN by arithmetic
25069 operation. Also fix bugs to comply with the standard.
25070 * math/libm-test.inc (remainder_test): Add more tests.
25072 [BZ #15335, #15342]
25073 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25075 input NaN values or generate a qNaN by arithmetic operation.
25077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25080 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25083 2013-04-03 Joseph Myers <joseph@codesourcery.com>
25086 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25087 underflowed result.
25088 * math/s_cexpf.c (__cexpf): Likewise.
25089 * math/s_cexpl.c (__cexpl): Likewise.
25090 * math/libm-test.inc (cexp_test): Add more tests.
25092 2013-04-03 Andreas Schwab <schwab@suse.de>
25095 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25096 order arrays from heap if bigger than alloca cutoff.
25098 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25100 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25101 (SNAN_TESTS_double): Refer to GCC PR56831.
25102 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25105 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25107 * Rules (bench): Move bench.out after the run is complete.
25109 * Rules (bench): Echo currently running benchmark.
25111 * benchtests/Makefile (bench): Add atan and slowatan.
25112 * benchtests/atan-inputs: New file.
25113 * benchtests/slowatan-inputs: New file.
25114 * benchtests/slowatan.c: New file.
25116 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25121 * sysdeps/unix/sysv/linux/kernel-features.h
25122 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25123 __ASSUME_XFS_RESTRICTED_CHOWN.
25124 * sysdeps/unix/sysv/linux/pathconf.c
25125 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25126 Save and restore errno.
25128 2013-04-02 Joseph Myers <joseph@codesourcery.com>
25131 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25132 arguments using __kernel_casinh.
25133 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25134 arguments using __kernel_casinhf.
25135 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25136 arguments using __kernel_casinhl.
25137 * math/libm-test.inc (cacosh_test): Add more tests.
25138 * sysdeps/i386/fpu/libm-test-ulps: Update.
25139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25141 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25143 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25146 * bench/Makefile (bench): Add sin and slowsin.
25147 * benchtests/sin-inputs: New file.
25148 * benchtests/slowsin-inputs: New file.
25149 * benchtests/slowsin.c: New file.
25151 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25152 (bench): Add slowexp and slowpow.
25153 (exp-ITER): Increase iterations.
25154 (pow-ITER): Likewise.
25155 * benchtests/exp-inputs: Change input.
25156 * benchtests/pow-inputs: Likewise.
25157 * benchtests/slowexp-inputs: New file.
25158 * benchtests/slowexp.c: New file.
25159 * benchtests/slowpow-inputs: New file.
25160 * benchtests/slowpow.c: New file.
25162 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25164 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25166 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25167 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25168 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25169 * benchtests/Makefile: Add rint benchtest.
25170 * benchtests/rint-inputs: Input for rint benchtest.
25172 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25174 * Versions.def (libm): Add GLIBC_2.18.
25175 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25176 hidden libm prototypes.
25177 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25178 * math/Makefile (libm-calls): Add s_issignaling.
25179 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25180 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25181 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25183 * math/math.h [__USE_GNU] (issignaling): New macro.
25184 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25185 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25187 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25190 * manual/arith.texi (issignaling): New section.
25191 * manual/libm-err-tab.pl (@all_functions): Update comment.
25192 * math/gen-libm-test.pl (parse_args): Apply special handling for
25194 * math/libm-test.inc (print_float, issignaling_test): New
25196 (check_float_internal): Add issignaling checks.
25197 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25198 default definition.
25199 * sysdeps/powerpc/math-tests.h: New file.
25200 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25202 * math/test-snan.c (TEST_FUNC): Likewise.
25204 2013-03-30 David S. Miller <davem@davemloft.net>
25206 * po/de.po: Update from translation team.
25208 2013-03-30 Joseph Myers <joseph@codesourcery.com>
25211 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25212 imaginary part less than 1.0 and real part less than 0.5
25214 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25215 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25216 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25217 (cacos_test): Add more tests.
25218 (casin_test): Likewise.
25219 (casinh_test): Likewise.
25220 * sysdeps/i386/fpu/libm-test-ulps: Update.
25221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25223 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25225 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25226 ONE with its value.
25228 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25229 (__pow_mp): Replace ONE and MONE with their values.
25230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25231 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25232 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25233 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25234 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25235 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25237 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25239 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25240 (__pow_mp): Replace ZERO and MZERO with their values.
25241 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25242 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25245 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25246 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25249 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25251 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25253 2013-03-28 Roland McGrath <roland@hack.frob.com>
25255 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25256 Declare with __attribute__ ((weak)).
25257 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25258 Call __call_tls_dtors only if it's not NULL.
25260 2013-03-28 Roland McGrath <roland@hack.frob.com>
25262 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25263 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25264 magic __ehdr_start linker symbol if it's defined.
25265 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25266 them up here if it was already done.
25268 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25269 (_dl_aux_init): Use const in cast when setting it.
25270 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25271 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25272 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25274 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25276 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25277 * csu/libc-tls.c: Nor here.
25278 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25280 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25281 (__libc_message): Never call vsyslog.
25283 2013-03-28 Alan Modra <amodra@gmail.com>
25285 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25287 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25290 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25297 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25300 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25301 Don't add gid passed as argument.
25303 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25305 2013-03-27 Joseph Myers <joseph@codesourcery.com>
25308 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25309 imaginary part between 1.0 and 1.5 and real part less than 0.5
25311 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25312 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25313 * math/libm-test.inc (cacos_test): Add more tests.
25314 (casin_test): Likewise.
25315 (casinh_test): Likewise.
25316 * sysdeps/i386/fpu/libm-test-ulps: Update.
25317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25319 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25321 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25324 (denorm): Likewise.
25325 (__dbl_mp): Likewise.
25326 (add_magnitudes): Likewise.
25327 (sub_magnitudes): Likewise.
25335 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25337 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25338 (__dubcos): Likewise.
25339 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25340 (__ieee754_acos): Likewise.
25341 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25342 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25343 (__exp1): Likewise.
25344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25347 (my_log2): Likewise.
25348 (checkint): Likewise.
25349 * sysdeps/ieee754/dbl-64/e_remainder.c
25350 (__ieee754_remainder): Likewise.
25351 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25353 (bsloww): Likewise.
25354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25356 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25357 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25358 MANTISSA_STORE_T to store computations on mantissa. Use
25359 macros for rounding and division.
25360 (denorm): Likewise.
25361 (__dbl_mp): Likewise.
25362 (add_magnitudes): Likewise.
25363 (sub_magnitudes): Likewise.
25366 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25367 powers of two in terms of TWOPOW macro.
25368 (mp_no): Make type of mantissa as MANTISSA_T.
25369 [!RADIXI]: Define RADIXI.
25370 [!TWO52]: Define TWO52.
25371 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25373 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25375 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25376 llroundl symbol when building for PPC32.
25378 2013-03-24 Mark H Weaver <mhw@netris.org>
25380 * manual/arith.texi (Normalization Functions): Fix prototypes for
25381 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25383 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25387 high value to check if expl overflow.
25388 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25389 to check for underflow and overflow.
25390 * math/libm-test.inc: Add exp test.
25392 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25395 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25398 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25400 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25403 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25405 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25406 wrap blocks consisting of several statements.
25408 * sysdeps/generic/math-tests.h: New file.
25409 * sysdeps/i386/fpu/math-tests.h: Likewise.
25410 * math/test-snan.c: Include it.
25411 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25413 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25416 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25417 (__ieee754_j0l): Do not improve calculations using cos of twice
25418 input for inputs above LDBL_MAX / 2.0L.
25419 (__ieee754_y0l): Likewise.
25420 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25421 (__ieee754_j1l): Do not improve calculations using cos of twice
25422 input for inputs above LDBL_MAX / 2.0L.
25423 (__ieee754_y1l): Likewise.
25424 * math/libm-test.inc (j0_test): Add another test.
25425 (j1_test): Likewise.
25426 (y0_test): Likewise.
25427 (y1_test): Likewise.
25428 * sysdeps/i386/fpu/libm-test-ulps: Update.
25430 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25432 * Rules ($(objpfx)bench-%.c): Include code from a C source
25435 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25438 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25439 imaginary part 1.0 and real part less than 0.5 specially.
25440 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25441 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25442 * math/libm-test.inc (cacos_test): Add more tests.
25443 (casin_test): Likewise.
25444 (casinh_test): Likewise.
25445 * sysdeps/i386/fpu/libm-test-ulps: Update.
25446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25448 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25450 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25451 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25453 2013-03-20 Joseph Myers <joseph@codesourcery.com>
25455 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25456 * config.make.in (config-cflags-sse4): Remove variable.
25457 (config-cflags-avx): Likewise.
25458 (config-cflags-sse2avx): Likewise.
25459 (config-cflags-novzeroupper): Likewise.
25460 (config-asflags-i686): Likewise.
25461 (have-mfma4): Likewise.
25462 (have-as-vis3): Likewise.
25464 * configure.in (MIG): Do not AC_SUBST.
25465 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25466 (libc_cv_cc_sse4): Do not AC_SUBST.
25467 (libc_cv_cc_avx): Likewise.
25468 (libc_cv_cc_sse2avx): Likewise.
25469 (libc_cv_cc_novzeroupper): Likewise.
25470 (libc_cv_cc_fma4): Likewise.
25471 (libc_cv_as_i686): Likewise.
25472 (libc_cv_sparc_as_vis3): Likewise.
25473 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25475 (config-asflags-i686): Likewise.
25476 (config-cflags-avx): Likewise.
25477 (config-cflags-sse2avx): Likewise.
25478 (have-mfma4): Likewise.
25479 (config-cflags-novzeroupper): Likewise.
25480 * sysdeps/mach/configure.in (MIG): Likewise.
25481 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25482 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25484 (config-cflags-avx): Likewise.
25485 (config-cflags-sse2avx): Likewise.
25486 (have-mfma4): Likewise.
25487 (config-cflags-novzeroupper): Likewise.
25488 * configure: Regenerated.
25489 * sysdeps/i386/configure: Likewise.
25490 * sysdeps/mach/configure: Likewise.
25491 * sysdeps/sparc/configure: Likewise.
25492 * sysdeps/x86_64/configure: Likewise.
25494 2013-03-20 Roland McGrath <roland@hack.frob.com>
25497 * locale/programs/localedef.c (options): Put N_ translation marker
25498 on argument names, not just descriptions.
25500 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25502 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25504 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
25507 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25509 2013-03-19 Roland McGrath <roland@hack.frob.com>
25511 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25512 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25513 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25514 [!BEFORE_ABORT] (before_abort): New function.
25515 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25516 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25517 (writev_for_fatal): New function.
25518 (WRITEV_FOR_FATAL): New macro; call that.
25519 (backtrace_and_maps): New function.
25520 (BEFORE_ABORT): New macro; call that.
25521 (struct str_list): Type removed.
25522 (__libc_message, __libc_fatal): Functions removed.
25523 Include <sysdeps/posix/libc_fatal.c> instead.
25525 2013-03-19 Joseph Myers <joseph@codesourcery.com>
25527 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25529 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25532 2013-03-19 Andreas Schwab <schwab@suse.de>
25534 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25535 * sysdeps/gnu/configure: Regenerate.
25537 * configure.in: Substitute libc_cv_rtlddir.
25538 * configure: Regenerate.
25539 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25540 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25541 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25542 * elf/Makefile (install-others, CFLAGS-interp.c)
25543 (ldso_install, common-ldd-rewrite): Likewise.
25544 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25545 $(inst_slibdir)/$(rtld-installed-name).
25546 * scripts/rellns-sh: Add -p option.
25547 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25550 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25552 * manual/nptl.texi: Renamed to ...
25553 * manual/threads.texi: ... this.
25554 * manual/Makefile (chapters): Update.
25556 2013-03-18 Roland McGrath <roland@hack.frob.com>
25559 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25560 on argument names, not just descriptions.
25561 * malloc/memusagestat.c (options): Likewise.
25562 * nss/getent.c (options): Likewise.
25564 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
25567 * iconv/iconv_prog.c (options): Put N_ translation marker
25568 on argument names, not just descriptions.
25569 * iconv/iconvconfig.c (options): Likewise.
25571 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
25573 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25574 implementation which is faster on all x86_64 architectures.
25575 Tested on AMD, Intel Nehalem, SNB, IVB.
25576 * sysdeps/x86_64/strnlen.S: Likewise.
25578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25579 Remove all multiarch strlen and strnlen versions.
25580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25581 Remove strlen and strnlen related parts.
25583 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25584 Inline strlen part.
25585 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25587 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25588 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25589 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25590 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25591 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25592 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25594 2013-03-17 Carlos O'Donell <carlos@redhat.com>
25596 * manual/memory.texi (Malloc Tunable Parameters):
25597 Sort parameters alphabetically. Add comments for missing entries.
25599 2013-03-17 David S. Miller <davem@davemloft.net>
25601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25603 2013-03-16 Joseph Myers <joseph@codesourcery.com>
25606 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25607 for arguments at most half maximum finite value.
25608 * math/libm-test.inc (j0_test): Add more tests.
25609 (j1_test): Likewise.
25610 (y0_test): Likewise.
25611 (y1_test): Likewise.
25612 * sysdeps/i386/fpu/libm-test-ulps: Update.
25613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25616 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25617 1 / x and functions P and Q for arguments above 0x1p256L.
25618 (__ieee754_y0l): Likewise.
25619 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25620 (__ieee754_y1l): Likewise.
25621 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25622 (j1_test): Likewise.
25623 (y0_test): Likewise.
25624 (y1_test): Likewise.
25626 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25628 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25631 2013-03-15 Roland McGrath <roland@hack.frob.com>
25633 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25634 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25635 zero since it's initialized to EXEC_PAGESIZE.
25637 * sysdeps/unix/sysv/linux/ldsodefs.h
25638 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25639 * sysdeps/generic/ldsodefs.h: ... here.
25641 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25643 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25645 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25647 * math/test-snan.c: Renamed from
25648 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25649 * math/Makefile (tests): Add test-snan.
25650 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25653 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25654 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25656 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25657 __builtin_nan family of functions.
25658 * math/libm-test.inc (initialize): Initialize qnan_value with
25659 __builtin_nan family of functions.
25660 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25662 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25664 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25665 storage class. Initialize qNaN_var and sNaN_var with
25666 __builtin_nan and __builtin_nans families of functions,
25669 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25670 (sqrt_test): Remove duplicate test with qNaN input.
25671 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25672 (round_test, signbit_test, significand_test): Note missing +/-Inf
25673 as well as qNaN tests.
25675 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25676 qNaN_var. Fix a few strings, too.
25677 * math/libm-test.inc (nan_value): Rename to qnan_value.
25678 * math/gen-libm-test.pl (%beautify): Adjust to that.
25679 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25680 * math/test-misc.c (main): Likewise.
25681 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25682 to __qnan_bytes, and __qnan_union, respectively.
25683 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25685 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25686 and lqnanval, respectively.
25687 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25688 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25689 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25690 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25692 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25693 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25696 * math/test-misc.c (main): Fix copy'n'pastos.
25697 * misc/tst-efgcvt.c (special): Likewise.
25699 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25700 Remove declarations.
25702 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25704 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25705 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25706 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25707 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25709 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25711 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25712 macro to return vdso values correctly in IFUNC implementations.
25713 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25714 Optimization by using IFUNC.
25716 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25717 Richard Henderson <rth@redhat.com>
25718 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25720 * Makefile.in (bench): New target.
25721 * NEWS: Mention the benchmark framework.
25722 * Rules (bench): Likewise.
25723 (binaries-bench): Generate binaries for functions to
25725 * benchtests/Makefile: New makefile for benchmark tests.
25726 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25728 * benchtests/exp-inputs: New input file for EXP function.
25729 * benchtests/pow-inputs: New input file for POW function.
25730 * scripts/bench.pl: New script to generate source files for
25731 benchmark programs.
25733 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25735 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25737 computations on mantissa. Use macros for rounding and
25739 (denorm): Likewise.
25740 (__dbl_mp): Likewise.
25741 (add_magnitudes): Likewise.
25742 (sub_magnitudes): Likewise.
25745 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25746 powers of two in terms of TWOPOW macro.
25747 (mp_no): Make type of mantissa as MANTISSA_T.
25748 [!RADIXI]: Define RADIXI.
25749 [!TWO52]: Define TWO52.
25750 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25752 * manual/nptl.texi (cindex): Modify threads to pthreads.
25754 2013-03-15 Joseph Myers <joseph@codesourcery.com>
25756 * sysdeps/x86_64/preconfigure: Regenerated.
25758 2013-03-14 Joseph Myers <joseph@codesourcery.com>
25761 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25763 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25764 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25766 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25767 * math/libm-test.inc (j0_test): Do not allow one spurious
25768 underflow exception.
25769 (y1_test): Likewise.
25771 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25773 * manual/Makefile (chapters): Add nptl.
25774 * manual/debug.texi (Debugging Support): Add link to Threads
25776 * manual/nptl.texi: New file.
25778 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25780 2013-03-14 Petr Baudis <pasky@ucw.cz>
25782 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25783 for non-NULL pointer before the memory validity test. Pointed
25784 out by Holger Brunck <holger.brunck@keymile.com>.
25786 2013-03-13 Andreas Schwab <schwab@suse.de>
25788 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25791 2013-03-13 Joseph Myers <joseph@codesourcery.com>
25793 * timezone/zic.c: Update from tzcode 2013b.
25795 2013-03-12 Carlos O'Donell <carlos@redhat.com>
25797 * manual/install.texi (Configuring and compiling):
25798 Mention i686 and i586.
25799 * INSTALL: Regenerate.
25801 2013-03-12 Roland McGrath <roland@hack.frob.com>
25803 * sysdeps/init_array/elf-init.c: New file.
25805 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25806 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25808 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25809 __gmon_start__ as global, but as static with a .preinit_array pointer.
25810 * sysdeps/init_array/gmon-start.c: New file. Use that.
25811 * sysdeps/init_array/crti.S: New file, empty except for comments.
25812 * sysdeps/init_array/crtn.S: Likewise.
25814 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
25816 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25819 Remove Prefer_SSE_for_memop.
25820 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25821 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25822 HAS_PREFER_SSE_FOR_MEMOP.
25823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25826 Remove bzero, memset ifunc support.
25827 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25828 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25829 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25830 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25832 2013-03-11 Andreas Schwab <schwab@suse.de>
25835 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25838 (GLIBC_2.16): Remove pthread_atfork.
25840 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25842 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25843 (ptestcases.h): Likewise.
25845 2013-03-08 Roland McGrath <roland@hack.frob.com>
25847 * Makeconfig ($(common-objpfx)config.status): Depend on
25848 sysdeps/*/preconfigure{,.in} too.
25850 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25852 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25853 (__free_hook): Use void * instead of __malloc_ptr_t.
25854 (__malloc_hook): Likewise.
25855 (__realloc_hook): Likewise.
25856 (__memalign_hook): Likewise.
25857 (__after_morecore_hook): Likewise.
25858 * malloc/arena.c (save_malloc_hook): Likewise.
25859 (save_free_hook): Likewise.
25860 * malloc/hooks.c (malloc_hook_ini): Likewise.
25861 (realloc_hook_ini): Likewise.
25862 (memalign_hook_ini): Likewise.
25863 * malloc/malloc.c (malloc_hook_ini): Likewise.
25864 (realloc_hook_ini): Likewise.
25865 (memalign_hook_ini): Likewise.
25866 (__free_hook): Likewise.
25867 (__malloc_hook): Likewise.
25868 (__realloc_hook): Likewise.
25869 (__memalign_hook): Likewise.
25870 (__libc_malloc): Likewise.
25871 (__libc_free): Likewise.
25872 (__libc_realloc): Likewise.
25873 (__libc_memalign): Likewise.
25874 (__libc_valloc): Likewise.
25875 (__libc_pvalloc): Likewise.
25876 (__libc_calloc): Likewise.
25877 (__posix_memalign): Likewise.
25878 * malloc/morecore.c (__sbrk): Likewise.
25879 (__default_morecore): Likewise.
25881 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25883 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25884 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25885 __malloc_ptrdiff_t.
25887 * malloc/malloc.h (__malloc_size_t): Remove macro.
25888 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25890 (old_memalign_hook): Likewise.
25891 (old_realloc_hook): Likewise.
25892 (struct hdr): Likewise.
25894 (mallochook): Likewise.
25895 (memalignhook): Likewise.
25896 (reallochook): Likewise.
25897 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25898 (tr_old_realloc_hook): Likewise.
25899 (tr_old_memalign_hook): Likewise.
25900 (tr_mallochook): Likewise.
25901 (tr_reallochook): Likewise.
25902 (tr_memalignhook): Likewise.
25904 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25907 default_ldbl_pack and using as default implementation.
25908 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25910 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25911 redundant definition.
25912 (ldbl_insert_mantissa): Likewise.
25913 (ldbl_canonicalize): Likewise.
25914 (ldbl_nearbyint): Likewise.
25915 (ldbl_pack): Rename to ldbl_pack_ppc.
25916 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25917 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25918 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25920 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25923 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25924 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25925 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25927 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25928 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25929 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25931 2013-03-07 Andreas Jaeger <aj@suse.de>
25933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25936 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25938 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25939 Include mpa.h and declare __MPEXP.
25940 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25941 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25942 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25943 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25944 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25945 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25946 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25948 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25949 (__slowpow): Use long double EXPL and LOGL functions to
25951 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25952 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25953 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25954 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25955 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25956 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25959 intermediate variable to calculate exponent.
25961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25965 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25966 [!NO__SQR]: Define __sqr.
25967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25968 and NO__SQR. Remove all code except __mul and __sqr. Include
25969 sysdeps/ieee754/dbl-64/mpa.c.
25970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25973 * posix/Makefile (tests): Add tst-pathconf.
25974 * posix/tst-pathconf.c: New test case.
25975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25977 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25979 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25981 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25983 2013-03-06 Andreas Jaeger <aj@suse.de>
25985 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25986 definition via __MAP_ANONYMOUS.
25988 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25989 it's not part of Linux headers.
25991 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25992 (MAP_HUGE_MASK): Define.
25994 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25996 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25997 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25999 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26000 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26002 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26003 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26005 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26007 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26008 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26009 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26010 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26011 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26012 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26017 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26018 Handle f2fs and efivarfs.
26020 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26023 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26024 (EFIVARFS_MAGIC): Add.
26025 (F2FS_LINK_MAX): Add.
26027 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26029 * stdio-common/vfprintf.c: Replace __builtin_expect with
26032 2013-03-06 Joseph Myers <joseph@codesourcery.com>
26035 * sysdeps/generic/bp-sym.h: Remove file.
26036 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26037 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26038 <bp-sym.h> and <bp-asm.h>.
26039 (__longjmp): Don't use BP_SYM.
26040 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26042 (memcpy): Don't use BP_SYM.
26043 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26044 <bp-sym.h> and <bp-asm.h>.
26045 (memcpy): Don't use BP_SYM.
26046 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26048 (memcpy): Don't use BP_SYM.
26049 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26051 (memset): Don't use BP_SYM.
26052 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26053 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26054 (__bzero): Don't use BP_SYM.
26055 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26056 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26057 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26058 <bp-sym.h> and <bp-asm.h>.
26059 (memcmp): Don't use BP_SYM. Remove comment about bounded
26061 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26062 <bp-sym.h> and <bp-asm.h>.
26063 (memcpy): Don't use BP_SYM.
26064 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26065 <bp-sym.h> and <bp-asm.h>.
26066 (memset): Don't use BP_SYM.
26067 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26068 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26069 (__bzero): Don't use BP_SYM.
26070 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26071 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26072 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26073 <bp-sym.h> and <bp-asm.h>.
26074 (strncmp): Don't use BP_SYM. Remove comment about bounded
26076 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26077 <bp-sym.h> and <bp-asm.h>.
26078 (memcpy): Don't use BP_SYM.
26079 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26080 <bp-sym.h> and <bp-asm.h>.
26081 (memset): Don't use BP_SYM.
26082 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26083 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26084 (__bzero): Don't use BP_SYM.
26085 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26086 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26088 <bp-sym.h> and <bp-asm.h>.
26089 (__memchr): Don't use BP_SYM.
26090 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26091 <bp-sym.h> and <bp-asm.h>.
26092 (memcmp): Don't use BP_SYM. Remove comment about bounded
26094 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26095 <bp-sym.h> and <bp-asm.h>.
26096 (memcpy): Don't use BP_SYM.
26097 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26098 <bp-sym.h> and <bp-asm.h>.
26099 (__mempcpy): Don't use BP_SYM.
26100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26101 <bp-sym.h> and <bp-asm.h>.
26102 (__memrchr): Don't use BP_SYM.
26103 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26104 <bp-sym.h> and <bp-asm.h>.
26105 (memset): Don't use BP_SYM.
26106 (__bzero): Likewise.
26107 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26108 <bp-sym.h> and <bp-asm.h>.
26109 (__rawmemchr): Don't use BP_SYM.
26110 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26111 <bp-sym.h> and <bp-asm.h>.
26112 (__STRCMP): Don't use BP_SYM.
26113 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26114 <bp-sym.h> and <bp-asm.h>.
26115 (strchr): Don't use BP_SYM.
26116 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26117 <bp-sym.h> and <bp-asm.h>.
26118 (__strchrnul): Don't use BP_SYM.
26119 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26120 <bp-sym.h> and <bp-asm.h>.
26121 (strlen): Don't use BP_SYM.
26122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26123 <bp-sym.h> and <bp-asm.h>.
26124 (strncmp): Don't use BP_SYM. Remove comment about bounded
26126 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26127 <bp-sym.h> and <bp-asm.h>.
26128 (__strnlen): Don't use BP_SYM.
26129 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26130 <bp-sym.h> and <bp-asm.h>.
26131 (__GI__setjmp): Don't use BP_SYM.
26132 (_setjmp): Likewise.
26133 (__sigsetjmp): Likewise.
26134 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26135 (L(start_addresses)): Don't use BP_SYM.
26136 (_start): Likewise.
26137 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26139 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26140 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26141 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26142 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26143 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26145 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26146 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26147 about bounded pointers.
26148 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26149 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26150 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26152 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26153 about bounded pointers. Remove GKM FIXME comments.
26154 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26155 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26157 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26158 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26159 Remove GKM FIXME comments.
26160 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26161 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26162 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26164 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26165 about bounded pointers. Remove GKM FIXME comment.
26166 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26168 (strncmp): Don't use BP_SYM. Remove comment about bounded
26170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26171 <bp-sym.h> and <bp-asm.h>.
26172 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26174 <bp-sym.h> and <bp-asm.h>.
26175 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26178 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26180 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26183 2013-03-05 David S. Miller <davem@davemloft.net>
26185 * po/es.po: Update from translation team.
26187 2013-03-05 Andreas Jaeger <aj@suse.de>
26189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26190 <bits/mman-linux.h>.
26191 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26193 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26194 <bits/mman-linux.h> to end of file.
26195 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26197 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26198 <bits/mman-linux.h> to end of file.
26199 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26202 <bits/mman-linux.h> to end of file.
26204 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26205 (MCL_CURRENT, MCL_FUTURE): Define here.
26207 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26210 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26212 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26214 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26216 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26217 fourth parameter needed for rt_sigprocmask syscall.
26218 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26219 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26220 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26221 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26222 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26223 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26225 2013-03-04 Joseph Myers <joseph@codesourcery.com>
26228 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26229 comment about bounded pointers.
26230 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26231 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26233 2013-03-04 Andreas Jaeger <aj@suse.de>
26235 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26236 common definitions.
26238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26239 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26240 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26242 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26245 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26249 __ieee754_sqrl instead of __sqrl.
26251 2013-03-01 Joseph Myers <joseph@codesourcery.com>
26253 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26254 * sysdeps/powerpc/fpu_control.h: ... here.
26255 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26256 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26257 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26258 * sysdeps/powerpc/bits/mathinline.h: ... here.
26260 2013-03-01 Roland McGrath <roland@hack.frob.com>
26262 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26263 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26264 to just [NEED_DL_SYSINFO_DSO].
26265 * elf/dl-support.c: Likewise.
26266 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26267 * elf/rtld.c (dl_main): Likewise.
26268 * elf/setup-vdso.h (setup_vdso): Likewise.
26269 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26270 * sysdeps/unix/sysv/linux/dl-sysdep.c
26271 (_dl_discover_osversion): Likewise.
26273 2013-03-01 Carlos O'Donell <carlos@redhat.com>
26275 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26276 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26278 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26280 * NEWS: Mention libm performance improvements and non-x86 PI
26283 * csu/libc-start.c (__pthread_initialize_minimal): Change
26284 function arguments.
26285 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26287 2013-02-28 Joseph Myers <joseph@codesourcery.com>
26290 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26291 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26292 <bp-sym.h> and <bp-asm.h>.
26293 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26294 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26296 (memcpy): Don't use BP_SYM.
26297 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26299 (__mpn_add_n): Don't use BP_SYM.
26300 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26301 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26303 (__mpn_addmul_1): Don't use BP_SYM.
26304 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26305 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26307 (_setjmp): Don't use BP_SYM.
26308 (__novmx_setjmp): Likewise.
26309 (__GI__setjmp): Likewise.
26310 (__vmx_setjmp): Likewise.
26311 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26313 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26314 (__bzero): Don't use BP_SYM.
26315 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26316 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26317 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26318 <bp-sym.h> and <bp-asm.h>.
26319 (memcpy): Don't use BP_SYM.
26320 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26321 <bp-sym.h> and <bp-asm.h>.
26322 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26323 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26324 <bp-sym.h> and <bp-asm.h>.
26325 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26326 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26328 (__mpn_lshift): Don't use BP_SYM.
26329 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26330 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26332 (memset): Don't use BP_SYM.
26333 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26334 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26335 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26337 (__mpn_mul_1): Don't use BP_SYM.
26338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26340 <bp-sym.h> and <bp-asm.h>.
26341 (memcmp): Don't use BP_SYM.
26342 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26343 <bp-sym.h> and <bp-asm.h>.
26344 (memcpy): Don't use BP_SYM.
26345 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26346 <bp-sym.h> and <bp-asm.h>.
26347 (memset): Don't use BP_SYM.
26348 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26349 <bp-sym.h> and <bp-asm.h>.
26350 (strncmp): Don't use BP_SYM.
26351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26352 <bp-sym.h> and <bp-asm.h>.
26353 (memcpy): Don't use BP_SYM.
26354 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26355 <bp-sym.h> and <bp-asm.h>.
26356 (memset): Don't use BP_SYM.
26357 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26358 <bp-sym.h> and <bp-asm.h>.
26359 (__memchr): Don't use BP_SYM.
26360 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26361 <bp-sym.h> and <bp-asm.h>.
26362 (memcmp): Don't use BP_SYM.
26363 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26364 <bp-sym.h> and <bp-asm.h>.
26365 (memcpy): Don't use BP_SYM.
26366 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26367 <bp-sym.h> and <bp-asm.h>.
26368 (__mempcpy): Don't use BP_SYM.
26369 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26370 <bp-sym.h> and <bp-asm.h>.
26371 (__memrchr): Don't use BP_SYM.
26372 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26373 <bp-sym.h> and <bp-asm.h>.
26374 (memset): Don't use BP_SYM.
26375 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26376 <bp-sym.h> and <bp-asm.h>.
26377 (__rawmemchr): Don't use BP_SYM.
26378 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26379 <bp-sym.h> and <bp-asm.h>.
26380 (__STRCMP): Don't use BP_SYM.
26381 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26382 <bp-sym.h> and <bp-asm.h>.
26383 (strchr): Don't use BP_SYM.
26384 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26385 <bp-sym.h> and <bp-asm.h>.
26386 (__strchrnul): Don't use BP_SYM.
26387 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26388 <bp-sym.h> and <bp-asm.h>.
26389 (strlen): Don't use BP_SYM.
26390 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26391 <bp-sym.h> and <bp-asm.h>.
26392 (strncmp): Don't use BP_SYM.
26393 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26394 <bp-sym.h> and <bp-asm.h>.
26395 (__strnlen): Don't use BP_SYM.
26396 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26398 (__mpn_rshift): Don't use BP_SYM.
26399 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26400 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26401 <bp-sym.h> and <bp-asm.h>.
26402 (__sigsetjmp): Don't use BP_SYM.
26403 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26404 (L(start_addresses)): Don't use BP_SYM.
26405 (_start): Likewise.
26406 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26408 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26409 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26410 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26411 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26413 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26414 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26415 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26416 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26418 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26420 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26421 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26423 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26425 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26426 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26427 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26429 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26431 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26433 (strncmp): Don't use BP_SYM,
26434 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26436 (__mpn_sub_n): Don't use BP_SYM.
26437 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26438 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26440 (__mpn_submul_1): Don't use BP_SYM.
26441 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26443 <bp-sym.h> and <bp-asm.h>.
26444 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26446 <bp-sym.h> and <bp-asm.h>.
26447 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26450 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26453 Use ZK to minimize writes to Z.
26454 (sub_magnitudes): Simplify code a bit.
26455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26456 Use ZK to minimize writes to Z.
26457 (sub_magnitudes): Simplify code a bit.
26459 2013-02-27 Roland McGrath <roland@hack.frob.com>
26461 * csu/gmon-start.c: Add special exception to license text.
26463 2013-02-27 Richard Henderson <rth@redhat.com>
26465 * scripts/config.guess: Update from config.git.
26466 * scripts/config.sub: Likewise.
26468 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26472 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26474 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26476 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26478 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26480 2013-02-26 Roland McGrath <roland@hack.frob.com>
26482 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26483 [$(build-shared = yes].
26485 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26487 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26488 (__mul): Reduce iterations for calculating mantissa.
26490 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26492 (__mpranred): Likewise.
26495 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26496 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26498 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26500 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26501 Define __attribute__.
26503 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26505 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26507 * posix/regex_internal.h (__attribute): Remove.
26508 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26509 (re_string_context_at): Likewise.
26510 (bitset_not): Use __attribute__ and mark function as possibly
26512 (bitset_merge): Likewise.
26513 (bitset_mask): Likewise.
26514 (re_string_char_size_at): Likewise.
26515 (re_string_wchar_at): Likewise.
26516 (re_string_elem_size_at): Likewise.
26518 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26520 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26524 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26528 (denorm): Likewise.
26529 (__dbl_mp): Likewise.
26530 (add_magnitudes): Likewise.
26531 (sub_magnitudes): Likewise.
26535 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26538 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26541 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26545 up changes with default code.
26546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26549 2013-02-24 Allan McRae <allan@archlinux.org>
26551 * manual/socket.texi (The Internet Namespace): Order menu items
26552 to match that in the file.
26554 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26555 node listing of the info page menu.
26557 2013-02-21 Joseph Myers <joseph@codesourcery.com>
26560 * sysdeps/i386/bp-asm.h: Remove file.
26561 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26562 (PARMS): Do not use macros from bp-asm.h.
26566 (__mpn_add_n): Do not use BP_SYM
26567 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26569 (PARMS): Do not use macros from bp-asm.h.
26572 (__mpn_addmul_1): Do not use BP_SYM
26573 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26575 (PARMS): Do not use macros from bp-asm.h.
26576 (SIGMSK): Likewise.
26577 (_setjmp): Likewise. Do not use BP_SYM.
26578 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26580 (PARMS): Do not use macros from bp-asm.h.
26581 (SIGMSK): Likewise.
26582 (setjmp): Likewise. Do not use BP_SYM.
26583 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26585 (PARMS): Do not use macros from bp-asm.h.
26586 (__frexp): Do not use BP_SYM.
26588 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26590 (PARMS): Do not use macros from bp-asm.h.
26591 (__frexpf): Do not use BP_SYM.
26592 (frexpf): Likewise.
26593 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26595 (PARMS): Do not use macros from bp-asm.h.
26596 (__frexpl): Do not use BP_SYM.
26597 (frexpl): Likewise.
26598 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26600 (PARMS): Do not use macros from bp-asm.h.
26601 (__remquo): Do not use BP_SYM.
26602 (remquo): Likewise.
26603 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26605 (PARMS): Do not use macros from bp-asm.h.
26606 (__remquof): Do not use BP_SYM.
26607 (remquof): Likewise.
26608 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26610 (PARMS): Do not use macros from bp-asm.h.
26611 (__remquol): Do not use BP_SYM.
26612 (remquol): Likewise.
26613 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26615 (PARMS): Do not use macros from bp-asm.h.
26618 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26619 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26621 (PARMS): Do not use macros from bp-asm.h.
26622 (strlen): Do not use BP_SYM.
26623 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26625 (PARMS): Do not use macros from bp-asm.h.
26629 (__mpn_add_n): Do not use BP_SYM.
26630 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26632 (PARMS): Do not use macros from bp-asm.h.
26635 (__mpn_addmul_1): Do not use BP_SYM.
26636 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26639 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26641 (PARMS): Do not use macros from bp-asm.h.
26644 (__mpn_lshift): Do not use BP_SYM.
26645 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26647 (PARMS): Do not use macros from bp-asm.h.
26651 (memcpy): Likewise. Do not use BP_SYM.
26652 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26653 libc_hidden_def and weak_alias.
26654 (mempcpy): Do not use BP_SYM in weak_alias.
26655 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26657 (PARMS): Do not use macros from bp-asm.h.
26660 [!BZERO_P] (CHR): Likewise.
26661 (memset): Likewise. Do not use BP_SYM.
26662 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26664 (PARMS): Do not use macros from bp-asm.h.
26667 (__mpn_mul_1): Do not use BP_SYM.
26668 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26670 (PARMS): Do not use macros from bp-asm.h.
26673 (__mpn_rshift): Do not use BP_SYM.
26674 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26676 (PARMS): Do not use macros from bp-asm.h.
26679 (strchr): Likewise. Do not use BP_SYM.
26680 (index): Do not use BP_SYM in weak_alias.
26681 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26683 (PARMS): Do not use macros from bp-asm.h.
26686 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26687 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26689 (PARMS): Do not use macros from bp-asm.h.
26690 (strlen): Do not use BP_SYM.
26691 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26693 (PARMS): Do not use macros from bp-asm.h.
26697 (__mpn_sub_n): Do not use BP_SYM.
26698 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26700 (PARMS): Do not use macros from bp-asm.h.
26703 (__mpn_submul_1): Do not use BP_SYM.
26704 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26706 (PARMS): Do not use macros from bp-asm.h.
26710 (__mpn_add_n): Do not use BP_SYM.
26711 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26714 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26716 (PARMS): Do not use macros from bp-asm.h.
26719 (memcmp): Do not use BP_SYM.
26720 (bcmp): Do not use BP_SYM in weak_alias.
26721 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26723 (PARMS): Do not use macros from bp-asm.h.
26727 (memcpy): Likewise. Do not use BP_SYM.
26728 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26730 (PARMS): Do not use macros from bp-asm.h.
26734 (memmove): Likewise. Do not use BP_SYM.
26735 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26737 (PARMS): Do not use macros from bp-asm.h.
26741 (__mempcpy): Likewise. Do not use BP_SYM.
26742 (mempcpy): Do not use BP_SYM in weak_alias.
26743 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26745 (PARMS): Do not use macros from bp-asm.h.
26748 [!BZERO_P] (CHR): Likewise.
26749 (memset): Likewise. Do not use BP_SYM.
26750 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26752 (PARMS): Do not use macros from bp-asm.h.
26754 (strcmp): Do not use BP_SYM.
26755 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26757 (PARMS): Do not use macros from bp-asm.h.
26760 [USE_AS_STRTOK_R] (SAVE): Likewise.
26761 (FUNCTION): Likewise. Do not use BP_SYM.
26762 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26764 (strtok_r): Likewise.
26765 (__GI___strtok_r): Likewise.
26766 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26767 (PARMS): Do not use macros from bp-asm.h.
26770 (__mpn_lshift): Do not use BP_SYM.
26771 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26772 (PARMS): Do not use macros from bp-asm.h.
26775 (__memchr): Do not use BP_SYM.
26776 (memchr): Do not use BP_SYM in weak_alias.
26777 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26778 (PARMS): Do not use macros from bp-asm.h.
26781 (memcmp): Do not use BP_SYM.
26782 (bcmp): Do not use BP_SYM in weak_alias.
26783 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26784 (PARMS): Do not use macros from bp-asm.h.
26787 (__mpn_mul_1): Do not use BP_SYM.
26788 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26790 (PARMS): Do not use macros from bp-asm.h.
26793 (__rawmemchr): Do not use BP_SYM.
26794 (rawmemchr): Do not use BP_SYM in weak_alias.
26795 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26796 (PARMS): Do not use macros from bp-asm.h.
26799 (__mpn_rshift): Do not use BP_SYM.
26800 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26801 (PARMS): Do not use macros from bp-asm.h.
26802 (SIGMSK): Likewise.
26803 (__sigsetjmp): Likewise. Do not use BP_SYM.
26804 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26805 (_start): Do not use BP_SYM.
26806 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26807 (PARMS): Do not use macros from bp-asm.h.
26810 (__stpcpy): Likewise. Do not use BP_SYM.
26811 (stpcpy): Do not use BP_SYM in weak_alias.
26812 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26814 (PARMS): Do not use macros from bp-asm.h.
26818 (__stpncpy): Likewise. Do not use BP_SYM.
26819 (stpncpy): Do not use BP_SYM in weak_alias.
26820 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26821 (PARMS): Do not use macros from bp-asm.h.
26824 (strchr): Likewise. Do not use BP_SYM.
26825 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26827 (PARMS): Do not use macros from bp-asm.h.
26830 (__strchrnul): Likewise. Do not use BP_SYM.
26831 (strchrnul): Do not use BP_SYM in weak_alias.
26832 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26834 (PARMS): Do not use macros from bp-asm.h.
26836 (strcspn): Do not use BP_SYM.
26837 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26839 (PARMS): Do not use macros from bp-asm.h.
26842 (strpbrk): Likewise. Do not use BP_SYM.
26843 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26845 (PARMS): Do not use macros from bp-asm.h.
26848 (strrchr): Likewise. Do not use BP_SYM.
26849 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26850 (PARMS): Do not use macros from bp-asm.h.
26852 (strspn): Do not use BP_SYM.
26853 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26854 (PARMS): Do not use macros from bp-asm.h.
26858 (FUNCTION): Likewise. Do not use BP_SYM.
26859 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26861 (strtok_r): Likewise.
26862 (__GI___strtok_r): Likewise.
26863 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26864 (PARMS): Do not use macros from bp-asm.h.
26868 (__mpn_sub_n): Do not use BP_SYM.
26869 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26871 (PARMS): Do not use macros from bp-asm.h.
26874 (__mpn_submul_1): Do not use BP_SYM.
26875 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26877 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26879 (PARMS): Do not use macros from bp-asm.h.
26884 (__clone): Do not use BP_SYM.
26885 (clone): Do not use BP_SYM in weak_alias.
26886 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26888 (PARMS): Do not use macros from bp-asm.h.
26890 (__mmap64): Do not use BP_SYM.
26891 (mmap64): Do not use BP_SYM in weak_alias.
26892 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26893 <bp-sym.h> and <bp-asm.h>.
26894 (PARMS): Do not use macros from bp-asm.h.
26895 (__posix_fadvise64_l64): Do not use BP_SYM.
26896 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26897 (PARMS): Do not use macros from bp-asm.h.
26899 (semtimedop): Do not use BP_SYM.
26900 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26903 2013-02-21 Allan McRae <allan@archlinux.org>
26905 * manual/message.texi (Charset conversion in gettext):
26906 Move @end statement to beginning of line.
26908 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26915 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26916 (denorm): Likewise.
26917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26920 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26922 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26923 tail-call to the resolved function if pltexit isn't needed.
26925 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26928 or Y being zero as being unlikely.
26929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26932 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26934 * manual/nss.texi (System Databases and Name Service Switch):
26935 Remove frobnicate @pxref.
26937 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26939 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26940 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26942 2013-02-20 Petr Machata <pmachata@redhat.com>
26944 * elf/elf.h (R_ARM_TARGET1): New macro.
26945 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26946 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26947 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26948 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26949 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26950 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26951 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26952 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26953 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26954 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26955 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26956 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26957 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26958 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26959 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26960 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26961 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26962 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26963 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26964 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26965 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26966 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26967 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26968 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26969 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26970 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26971 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26972 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26973 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26974 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26975 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26976 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26977 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26978 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26979 (R_ARM_THM_GOT_BREL12): Likewise.
26980 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26981 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26982 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26983 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26984 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26985 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26986 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26987 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26988 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26990 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26992 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26993 __attribute_used__ to __attribute__ ((unused)).
26995 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26997 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27000 comment formatting.
27001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27003 2013-02-19 Joseph Myers <joseph@codesourcery.com>
27006 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27008 (ENTER): Remove both macro definitions.
27010 (CHECK_BOUNDS_LOW): Likewise.
27011 (CHECK_BOUNDS_HIGH): Likewise.
27012 (CHECK_BOUNDS_BOTH): Likewise.
27013 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27014 (RETURN_BOUNDED_POINTER): Likewise.
27015 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27016 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27017 (POP_ERRNO_LOCATION_RETURN): Likewise.
27018 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27019 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27020 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27022 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27023 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27024 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27025 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27026 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27027 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27028 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27029 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27030 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27031 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27032 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27033 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27034 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27035 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27037 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27038 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27040 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27041 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27042 * sysdeps/i386/i586/memset.S (memset): Likewise.
27043 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27044 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27045 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27048 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27049 Change uses of L(2) to L(out).
27050 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27051 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27052 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27053 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27054 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27056 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27057 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27059 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27060 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27061 (RETURN): Do not use macro LEAVE.
27062 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27063 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27064 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27065 * sysdeps/i386/i686/memset.S (memset): Likewise.
27066 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27067 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27068 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27069 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27071 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27072 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27073 L(1_2) and L(1_3) into L(1).
27074 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27075 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27076 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27077 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27078 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27079 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27080 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27081 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27082 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27084 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27085 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27086 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27087 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27088 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27089 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27090 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27091 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27092 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27093 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27094 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27095 * sysdeps/i386/strspn.S (strspn): Likewise.
27096 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27098 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27099 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27100 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27101 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27102 L(1_3) into L(1_1).
27103 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27104 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27105 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27107 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27109 2013-02-19 Jakub Jelinek <jakub@redhat.com>
27111 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27114 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27116 * math/atest-exp.c (exp_mpn): Remove ROUND.
27117 * math/atest-exp2.c (exp_mpn): Likewise.
27118 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27120 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27121 * stdlib/tst-tls-atexit-lib.c: Likewise.
27122 * stdlib/tst-tls-atexit.c: Likewise.
27124 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27126 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27127 and __attribute_alloc_size__.
27129 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27131 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27132 __attribute_alloc_size__.
27133 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27134 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27136 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27138 * include/programs/xmalloc.h: New file.
27139 * catgets/gencat.c: Include it.
27140 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27141 * elf/pldd.c: Likewise.
27142 * iconv/iconv_charmap.c: Likewise.
27143 * iconv/iconvconfig.c: Likewise.
27144 * iconv/strtab.c: Likewise.
27145 * locale/programs/locale.c: Likewise.
27146 * locale/programs/localedef.h: Likewise.
27147 * locale/programs/simple-hash.c: Likewise.
27148 * nscd/nscd.h: Likewise.
27149 * nss/makedb.c: Likewise.
27150 * sysdeps/generic/ldconfig.h: Likewise.
27152 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27154 * Versions.def: Add GLIBC_2.18.
27155 * include/link.h (struct link_map): New member l_tls_dtor_count.
27156 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27157 (__call_tls_dtors): Likewise.
27158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27159 __cxa_thread_atexit_impl.
27160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27176 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27177 (tests): Add test case tst-tls-atexit.
27178 (modules-names): Add shared library for tst-tls-atexit.
27179 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27180 (GLIBC_PRIVATE): Add __call_tls_dtors.
27181 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27183 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27184 * stdlib/tst-tls-atexit.c: New test case.
27185 * stdlib/tst-tls-atexit-lib.c: New test case.
27187 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27189 * elf/Versions (ld): Add _dl_find_dso_for_object.
27190 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27191 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27192 (dl_open_worker): Use _dl_find_dso_for_object.
27193 * elf/dl-sym.c (do_sym): Likewise.
27194 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27196 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27198 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27199 Syntactic changes only.
27200 (_dl_runtime_profile): Do a tail-call to the resolved function.
27202 2013-02-17 Joseph Myers <joseph@codesourcery.com>
27205 * sysdeps/x86_64/bp-asm.h: Remove file.
27206 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27207 <bp-sym.h> and <bp-asm.h>.
27208 (__clone): Do not use BP_SYM.
27209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27210 <bp-sym.h> and <bp-asm.h>.
27211 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27212 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27214 (_setjmp): Do not use BP_SYM.
27215 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27217 (setjmp): Do not use BP_SYM.
27218 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27220 (mempcpy): Do not use BP_SYM in weak_alias.
27221 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27223 (strchr): Do not use BP_SYM.
27224 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27226 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27227 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27228 (_start): Do not use BP_SYM.
27229 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27231 (strcat): Do not use BP_SYM.
27232 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27234 (STRCMP): Do not use BP_SYM.
27235 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27237 (STRCPY): Do not use BP_SYM.
27238 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27240 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27242 (FUNCTION): Do not use BP_SYM.
27243 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27245 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27247 2013-02-17 Andreas Jaeger <aj@suse.de>
27249 * time/Versions: Sort entries.
27250 * string/Versions: Likewise.
27251 * resolv/Versions: Likewise.
27252 * posix/Versions: Likewise.
27253 * iconv/Versions: Likewise.
27254 * elf/Versions: Likewise.
27255 * wcsmbs/Versions: Likewise.
27257 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27259 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27260 loop termination condition.
27262 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27263 variable to calculate EZ.
27266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27267 the lower precision input.
27269 2013-02-15 Joseph Myers <joseph@codesourcery.com>
27272 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27273 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27274 (run-via-rtld-prefix): Do not handle %-bp tests.
27275 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27276 (all-object-suffixes): Remove .ob.
27277 (bppfx): Remove variable.
27278 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27279 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27280 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27281 [$(build-bounded) = yes] (libtype.ob): Likewise.
27282 * Makerules (elide-routines.ob): Remove variable.
27283 (do-tests-clean): Do not handle *-bp.out.
27284 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27285 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27286 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27287 (tests): Do not include $(tests-bp.out).
27288 (xtests): Do not include $(xtests-bp.out).
27289 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27290 [$(build-bounded) = yes] ($(addprefix
27291 $(objpfx),$(binaries-bounded))): Remove rule.
27292 ($(objpfx)%-bp.out): Remove rule.
27293 * config.make.in (build-bounded): Remove variable.
27294 * crypt/Makefile [$(build-bounded) = yes]
27295 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27296 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27297 append to variable.
27298 [$(build-bounded) = yes] (install-lib): Likewise.
27299 [$(build-bounded) = yes] (generated): Likewise.
27300 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27302 * intl/Makefile [$(build-bounded) = yes]
27303 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27304 * math/Makefile [$(build-bounded) = yes]
27305 ($(tests:%=$(objpfx)%-bp): Likewise.
27306 * misc/Makefile [$(build-bounded) = yes]
27307 ($(objpfx)tst-tsearch-bp): Likewise.
27308 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27309 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27311 * string/Makefile (o-objects.ob): Remove variable.
27312 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27313 (CFLAGS-.ob): Remove variable.
27314 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27315 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27316 both definitions of variable.
27317 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27318 (ASFLAGS-.ob): Remove variable.
27320 2013-02-14 Joseph Myers <joseph@codesourcery.com>
27323 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27324 Remove __BOUNDED_POINTERS__ from condition.
27325 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27326 * string/bits/string2.h [!__NO_STRING_INLINES &&
27327 !__BOUNDED_POINTERS__]: Likewise.
27328 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27330 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27331 Remove conditional code.
27332 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27333 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27334 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27338 * csu/libc-start.c: Do not include <bp-sym.h>.
27339 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27340 * elf/dl-open.c: Do not include <bp-sym.h>.
27341 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27342 * math/fegetenv.c: Do not include <bp-sym.h>.
27343 (fegetenv): Do not use BP_SYM in versioned symbols.
27344 * nptl/sysdeps/pthread/bits/libc-lockP.h
27345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27348 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27350 (__pthread_mutex_destroy): Likewise.
27351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27352 (__pthread_mutex_lock): Likewise.
27353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27354 (__pthread_mutex_trylock): Likewise.
27355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27356 (__pthread_mutex_unlock): Likewise.
27357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27358 (__pthread_mutexattr_init): Likewise.
27359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27360 (__pthread_mutexattr_destroy): Likewise.
27361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27362 (__pthread_mutexattr_settype): Likewise.
27363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27364 (__pthread_rwlock_init): Likewise.
27365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27366 (__pthread_rwlock_destroy): Likewise.
27367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27368 (__pthread_rwlock_rdlock): Likewise.
27369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27370 (__pthread_rwlock_tryrdlock): Likewise.
27371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27372 (__pthread_rwlock_wrlock): Likewise.
27373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27374 (__pthread_rwlock_trywrlock): Likewise.
27375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27376 (__pthread_rwlock_unlock): Likewise.
27377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27378 (__pthread_key_create): Likewise.
27379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27380 (__pthread_setspecific): Likewise.
27381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27382 (__pthread_getspecific): Likewise.
27383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27386 (_pthread_cleanup_push_defer): Likewise.
27387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27388 (_pthread_cleanup_pop_restore): Likewise.
27389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27390 (pthread_setcancelstate): Likewise.
27391 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27393 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27394 (memchr): Do not use BP_SYM in weak_alias.
27395 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27396 (fegetenv): Do not use BP_SYM in versioned symbols.
27397 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27398 (fesetenv): Do not use BP_SYM in versioned symbols.
27399 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27400 (feupdateenv): Do not use BP_SYM in versioned symbols.
27401 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27402 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27403 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27404 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27405 (open64): Do not use BP_SYM in weak_alias.
27406 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27407 (fegetenv): Do not use BP_SYM in versioned symbols.
27408 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27409 (fesetenv): Do not use BP_SYM in versioned symbols.
27410 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27411 (feupdateenv): Do not use BP_SYM in versioned symbols.
27412 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27413 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27414 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27415 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27416 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27417 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27418 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27420 (__libc_start_main): Do not use BP_SYM.
27422 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27425 redundant return line.
27427 (denorm): Likewise.
27428 (dbl_mp): Likewise.
27429 (sub_magnitudes): Likewise.
27435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27437 (denorm): Likewise.
27438 (dbl_mp): Likewise.
27439 (sub_magnitudes): Likewise.
27446 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27448 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27449 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27452 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27453 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27455 of __mul for squares.
27456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27460 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27461 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27463 2013-02-13 Joseph Myers <joseph@codesourcery.com>
27466 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27468 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27469 prototype or function definition. Rename ubp_* variables and
27470 parameters. Remove argv definitions conditional on
27471 [__BOUNDED_POINTERS__].
27472 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27473 * elf/dl-runtime.c (_dl_fixup): Likewise.
27474 * include/set-hooks.h (RUN_HOOK): Likewise.
27475 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27477 * string/strcpy.c (strcpy): Do not use __unbounded.
27478 * sysdeps/generic/frame.h (struct layout): Likewise.
27479 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27480 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27481 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27482 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27483 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27484 (__backtrace): Likewise.
27485 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27487 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27488 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27489 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27491 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27492 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27493 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27494 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27495 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27496 Do not use __unbounded.
27497 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27498 Rename __unboundedrlimits parameter to rlimits in prototype.
27499 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27500 Do not use __unbounded.
27501 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27502 not use __ptrvalue.
27503 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27504 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27505 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27506 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27507 __ptrvalue or __unbounded.
27508 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27509 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27511 (__new_msgctl): Do not use __ptrvalue.
27512 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27514 (__libc_msgrcv): Do not use __ptrvalue.
27515 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27516 startup_info): Do not use __unbounded.
27517 (__libc_start_main): Likewise. Rename ubp_* variables and
27518 parameters. Remove argv definitions conditional on
27519 [__BOUNDED_POINTERS__].
27520 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27522 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27526 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27528 (__new_shmctl): Do not use __ptrvalue.
27529 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27530 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27532 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27534 (__libc_sigaction): Likewise.
27535 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27536 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27538 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27540 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
27542 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27544 * string/mempcpy.c: Implement by calling memcpy.
27546 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27553 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27554 values in the mantissa.
27556 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27557 minimize writes to Z.
27558 (sub_magnitudes): Simplify code a bit.
27560 2013-02-12 Roland McGrath <roland@hack.frob.com>
27562 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27563 from the message. The linker prefixes all warnings with that already.
27565 2013-02-12 Andreas Schwab <schwab@suse.de>
27568 * posix/regexec.c (extend_buffers): Add parameter min_len.
27569 (check_matching): Pass minimum needed length.
27570 (clean_state_log_if_needed): Likewise.
27571 (get_subexp): Likewise.
27572 * posix/Makefile (tests): Add bug-regex34.
27573 (bug-regex34-ENV): Define.
27574 * posix/bug-regex34.c: New file.
27577 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27578 elements compare against the byte sequence of it, not its name.
27579 * posix/Makefile (tests): Add bug-regex35.
27580 (bug-regex35-ENV): Define.
27581 * posix/bug-regex35.c: New file.
27583 2013-02-11 Tom de Vries <tom@codesourcery.com>
27585 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27587 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27588 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27589 (CHECK_EOL): Add undef.
27591 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
27593 * bits/stdlib-bsearch.h: New file.
27594 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27595 * stdlib/stdlib.h: Likewise.
27597 2013-02-11 Roland McGrath <roland@hack.frob.com>
27599 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27600 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27602 * manual/search.texi (Array Search Function): Add missing const in
27604 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27605 declaration to use rlim_t.
27606 (Basic Scheduling Functions): Remove erroneous const from
27607 sched_getparam prototype. Remove erroneous * from
27608 sched_get_priority_max and sched_get_priority_min prototypes.
27609 (Resource Usage): Fix summary @comment on vtimes to refer to
27610 sys/vtimes.h rather than vtimes.h.
27611 Add missing *s in vtimes prototype.
27612 (Limits on Resources): Fix ulimit prototype to return long int.
27613 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27614 prototypes to use long int rather than double.
27615 (BSD Random): Fix initstate and setstate to use char *, not void *.
27616 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27617 prototype to make second argument 'struct aiocb64 *const[]'.
27618 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27619 (Status of AIO Operations): Remove erroneous const in aio_return and
27620 aio_return64 prototypes.
27621 (Synchronizing I/O): Fix sync prototype to return void.
27622 * manual/startup.texi (Suboptions): Remove an erroneous const in
27623 getsubopt prototype.
27624 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27625 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27626 use size_t rather than int.
27627 (Scanning All Users): Likewise for getpwent_r.
27628 (Setting Groups): Add missing const to setgroups prototype.
27629 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27630 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27631 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27632 'const void *' rather than 'const char *'.
27633 (Host Address Functions): Likewise for inet_ntop.
27634 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27635 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27636 ssize_t for return value.
27637 (Sending Data): Likewise for send, sendto, sendmsg.
27638 (Socket Option Functions): Add a missing const in setsockopt prototype.
27639 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27640 use wchar_t for the argument.
27641 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27642 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27644 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27645 double/float/long double for second argument.
27646 Fix return types of significand, significandf, significandl.
27647 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27648 argument in fchmod prototype.
27649 (File Owner): Use uid_t and gid_t in fchown prototype.
27650 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27651 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27652 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27653 use 'const struct dirent **' as argument types to CMP function pointer
27655 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27656 (File Times): Fix summary magic @comment for struct utimbuf and utime
27657 to refer to utime.h, not time.h.
27658 * manual/string.texi (Argz Functions): Add missing const in
27659 argz_extract and argz_next prototypes.
27660 (Finding Tokens in a String): Likewise for basename.
27661 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27662 (Copying and Concatenation): Fix typo in wmemmove prototype.
27663 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27664 (Signal Stack): Remove erroneous const in sigstack prototype.
27665 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27667 (Simple Calendar Time): Likewise for stime.
27668 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27670 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27671 say sys/sysctl.h instead.
27672 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27673 and vsyslog prototypes.
27675 2013-02-11 Tom de Vries <tom@codesourcery.com>
27677 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27680 2013-02-11 Roland McGrath <roland@hack.frob.com>
27682 * misc/sys/mman.h: Fix typo in mremap comment.
27684 2013-02-08 Roland McGrath <roland@hack.frob.com>
27686 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27687 the '\0' terminator.
27689 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27692 * debug/segfault.c: Don't include <bp-checks.h>.
27693 * sysdeps/generic/bp-checks.h: Remove file.
27694 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27695 (__GETDENTS): Don't use CHECK_N.
27696 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27697 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27698 (__getgroups): Don't use CHECK_N.
27699 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27700 (setgroups): Don't use CHECK_N.
27701 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27702 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27703 (__libc_msgrcv): Don't use CHECK_N.
27704 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27705 (__libc_msgsnd): Don't use CHECK_N.
27706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27708 (__libc_pread): Don't use CHECK_N.
27709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27710 include <bp-checks.h>.
27711 (__libc_pread64): Don't use CHECK_N.
27712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27713 include <bp-checks.h>.
27714 (__libc_pwrite): Don't use CHECK_N.
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27716 include <bp-checks.h>.
27717 (__libc_pwrite64): Don't use CHECK_N.
27718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27720 (__libc_pread): Don't use CHECK_N.
27721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27722 include <bp-checks.h>.
27723 (__libc_pread64): Don't use CHECK_N.
27724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27725 include <bp-checks.h>.
27726 (__libc_pwrite): Don't use CHECK_N.
27727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27728 include <bp-checks.h>.
27729 (__libc_pwrite64): Don't use CHECK_N.
27730 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27731 (do_pread): Don't use CHECK_N.
27732 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27733 (do_pread64): Don't use CHECK_N.
27734 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27735 (do_pwrite): Don't use CHECK_N.
27736 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27737 (do_pwrite64): Don't use CHECK_N.
27738 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27739 (__libc_readv): Don't use CHECK_N.
27740 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27741 (semop): Don't use CHECK_N.
27742 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27744 (semtimedop): Don't use CHECK_N.
27745 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27746 (__libc_pread): Don't use CHECK_N.
27747 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27749 (__libc_pread64): Don't use CHECK_N.
27750 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27752 (__libc_pwrite): Don't use CHECK_N.
27753 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27755 (__libc_pwrite64): Don't use CHECK_N.
27756 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27758 (__libc_msgrcv): Don't use CHECK_N.
27759 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27760 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27761 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27762 (__libc_writev): Don't use CHECK_N.
27764 2013-02-08 Roland McGrath <roland@hack.frob.com>
27766 * string/strcpy.c: Removed unused variable.
27768 * Makeconfig (+sysdep-includes): Define with := rather than =.
27769 Use an existing include/ subdir of each sysdeps dir before it.
27771 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27773 * nscd/connection.c (register_traced_file): Comment function.
27774 [HAVE_INOTIFY] (union __inev): Define.
27775 [HAVE_INOTIFY] (inotify_check_files): New function.
27776 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27777 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27779 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27781 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27783 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27784 loaded if not already and that a failure is permanent.
27786 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27789 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27790 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27792 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27795 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27796 (CHECK_1_NULL_OK): Likewise.
27797 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27798 (__fxstat): Do not use CHECK_1.
27799 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27801 (___fxstat64): Do not use CHECK_1.
27802 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27804 (__fxstatat): Do not use CHECK_1.
27805 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27807 (__fxstatat64): Do not use CHECK_1.
27808 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27810 (__fxstat): Do not use CHECK_1.
27811 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27813 (__fxstatat): Do not use CHECK_1.
27814 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27816 (__getresgid): Do not use CHECK_1.
27817 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27819 (__getresuid): Do not use CHECK_1.
27820 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27822 (__lxstat): Do not use CHECK_1.
27823 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27825 (__old_msgctl): Do not use CHECK_1.
27826 (__new_msgctl): Likewise.
27827 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27829 (__new_setrlimit): Do not use CHECK_1.
27830 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27832 (__old_shmctl): Do not use CHECK_1.
27833 (__new_shmctl): Likewise.
27834 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27836 (__xstat): Do not use CHECK_1.
27837 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27838 (__lxstat): Do not use CHECK_1.
27839 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27841 (___lxstat64): Do not use CHECK_1.
27842 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27843 (__old_msgctl): Do not use CHECK_1.
27844 (__new_msgctl): Likewise.
27845 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27847 (__gettimeofday): Do not use CHECK_1.
27848 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27849 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27850 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27852 (__gettimeofday): Do not use CHECK_1.
27853 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27854 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27855 (__new_shmctl): Do not use CHECK_1.
27856 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27858 (do_sigtimedwait): Do not use CHECK_1.
27859 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27861 (do_sigwaitinfo): Do not use CHECK_1.
27862 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27864 (msgctl): Do not use CHECK_1.
27865 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27867 (shmctl): Do not use CHECK_1.
27868 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27869 (ustat): Do not use CHECK_1.
27870 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27872 (__fxstat): Do not use CHECK_1.
27873 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27875 (__fxstatat): Do not use CHECK_1.
27876 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27878 (__lxstat): Do not use CHECK_1.
27879 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27881 (__xstat): Do not use CHECK_1.
27882 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27883 (__xstat): Do not use CHECK_1.
27884 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27885 (___xstat64): Do not use CHECK_1.
27888 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27890 (CHECK_BOUNDS_HIGH): Likewise.
27891 * string/strcpy.c: Do not include <bp-checks.h>.
27892 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27894 2013-02-07 Roland McGrath <roland@hack.frob.com>
27896 * nscd/nscd-client.h (__nscd_drop_map_ref):
27897 Add __attribute__ ((unused)).
27898 * nis/nss-nisplus.h (niserr2nss): Likewise.
27900 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27901 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27903 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27904 Remove inline keyword.
27905 * include/rounding-mode.h (round_away): Likewise.
27906 * libio/wfileops.c (adjust_wide_data): Likewise.
27907 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27908 (__m128i_strloadu_tolower): Likewise.
27909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27910 (__m128i_strloadu_tolower): Likewise.
27911 * time/mktime.c (ydhms_diff): Likewise.
27912 * locale/elem-hash.h (elem_hash): Likewise.
27913 * locale/setlocale.c (setdata): Likewise.
27914 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27915 (re_string_wchar_at): Likewise.
27916 (bitset_not, bitset_merge, bitset_mask): Likewise.
27917 [!(__GNUC__ > 3)] (inline): Remove macro.
27918 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27919 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27920 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27921 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27922 * string/memcmp.c (memcmp_bytes): Likewise.
27923 * locale/programs/locarchive.c (compute_hashval): Likewise.
27924 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27925 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27926 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27927 * nss/getent.c (print_rpc, print_protocols): Likewise.
27928 (print_passwd, print_group, print_aliases): Likewise.
27929 * nis/nss-nisplus.h (niserr2nss): Likewise.
27930 * nscd/connections.c (restart_p): Likewise.
27931 Change return type to bool.
27933 2013-02-05 Roland McGrath <roland@hack.frob.com>
27935 * Makeconfig (all-Depend-files): Add existing
27936 $(sorted-subdirs:=/Depend) files.
27937 (all-subdirs): Remove nss.
27938 * sysdeps/unix/inet/Subdirs: Add it here instead.
27939 * hesiod/Depend: New file.
27941 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27942 instead of calling alloca.
27944 * io/lseek.c (__lseek): Rename to __libc_lseek.
27945 Define __lseek as an alias.
27947 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27949 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27951 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27952 else clause and remove check for non-standard endianness.
27954 2013-02-04 David S. Miller <davem@davemloft.net>
27956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27958 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27961 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27962 (__ubp_memchr): Remove prototype.
27963 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27964 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27965 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27966 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27967 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27969 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27970 (__ubp_memchr): Likewise.
27971 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27972 (__ubp_memchr): Likewise.
27973 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27974 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27975 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27976 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27978 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27979 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27980 (__getcwd): Do not use CHECK_STRING.
27981 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27983 (__real_chown): Do not use CHECK_STRING.
27984 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27986 (fchownat): Do not use CHECK_STRING.
27987 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27989 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27991 (__lchown): Do not use CHECK_STRING.
27992 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27993 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27994 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27995 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27997 include <bp-checks.h>.
27998 (truncate64): Do not use CHECK_STRING.
27999 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28001 (__real_chown): Do not use CHECK_STRING.
28002 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28004 (__lchown): Do not use CHECK_STRING.
28005 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28007 (__chown): Do not use CHECK_STRING.
28008 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28010 (truncate64): Do not use CHECK_STRING.
28011 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28013 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28014 (__xmknod): Do not use CHECK_STRING.
28015 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28017 (__xmknodat): Do not use CHECK_STRING.
28018 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28019 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28021 2013-02-04 Andreas Schwab <schwab@suse.de>
28024 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28025 * include/netdb.h: Likewise for h_errno.
28026 * elf/tst-stackguard1.c: Include <tls.h>.
28028 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28030 * elf/link.h (struct link_map): Extend the l_addr comment.
28031 * include/link.h (struct link_map): Likewise.
28033 2013-02-01 Joseph Myers <joseph@codesourcery.com>
28036 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28037 (BOUNDED_1): Remove macro.
28038 * debug/backtrace.c: Don't include <bp-checks.h>.
28039 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28040 (__backtrace): Likewise.
28041 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28043 (__backtrace): Don't use BOUNDED_1.
28044 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28046 (__backtrace): Don't use BOUNDED_1.
28047 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28048 (__backtrace): Don't use BOUNDED_1.
28049 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28050 (shmat): Don't use BOUNDED_N.
28052 2013-01-31 Joseph Myers <joseph@codesourcery.com>
28055 * sysdeps/generic/bp-start.h: Remove file.
28056 * csu/libc-start.c: Don't include <bp-start.h>.
28057 (LIBC_START_MAIN): Set up __environ directly instead of using
28058 INIT_ARGV_and_ENVIRON.
28059 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28063 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28065 (CHECK_FCNTL): Likewise.
28066 (CHECK_N_PAGES): Likewise.
28069 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28071 (CHECK_SIGSET_NULL_OK): Likewise.
28072 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28074 (sigpending): Don't use CHECK_SIGSET.
28075 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28077 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28078 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28080 (do_sigsuspend): Don't use CHECK_SIGSET.
28081 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28083 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28084 (do_sigwait): Don't use CHECK_SIGSET.
28085 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28088 include <bp-checks.h>.
28089 (sigpending): Don't use CHECK_SIGSET.
28090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28091 include <bp-checks.h>.
28092 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28093 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28095 (sigpending): Don't use CHECK_SIGSET.
28096 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28098 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28101 * sysdeps/generic/bp-semctl.h: Remove file.
28102 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28103 <bp-checks.h> and <bp-semctl.h>.
28104 (__old_semctl): Don't use CHECK_SEMCTL.
28105 (__new_semctl): Likewise.
28106 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28108 (__old_semctl): Don't use CHECK_SEMCTL.
28109 (__new_semctl): Likewise.
28110 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28111 <bp-checks.h> and <bp-semctl.h>.
28112 (__old_semctl): Don't use CHECK_SEMCTL.
28113 (__new_semctl): Likewise.
28114 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28115 <bp-checks.h> and <bp-semctl.h>.
28116 (semctl): Don't use CHECK_SEMCTL.
28119 * Makerules (elide-bp-thunks): Remove variable.
28120 (elide-routines.oS): Don't use $(elide-bp-thunks).
28121 (elide-routines.os): Likewise.
28122 (elide-routines.o): Likewise.
28123 (elide-routines.op): Likewise.
28124 (elide-routines.og): Likewise.
28125 (objects): Don't use $(bp-thunks).
28126 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28128 (common-generated): Do not add s-proto-bp.d.
28129 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28132 Do not generate makefile rules for bounded-pointer thunks.
28133 * sysdeps/generic/bp-thunks.h: Remove file.
28134 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28135 * sysdeps/unix/s-proto-bp.S: Likewise.
28138 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28139 parts of result separately when argument is not close to line from
28140 -i to i and one part of argument is small.
28141 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28142 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28143 * math/libm-test.inc (cacos_test): Add more tests.
28144 (casin_test): Likewise.
28145 (casinh_test): Likewise.
28146 * sysdeps/i386/fpu/libm-test-ulps: Update.
28147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28149 2013-01-31 David S. Miller <davem@davemloft.net>
28151 * po/de.po: Update from translation team.
28153 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28155 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28157 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28159 * configure.in (_AC_PROG_CC_C89): New definition.
28160 * configure: Regenerate.
28162 * configure.in (AC_PROG_CPP): New definition.
28163 * configure: Regenerate.
28165 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28167 * debug/tst-backtrace.h: New file.
28168 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28169 (ret): Remove variable.
28171 (FAIL): Remove macro.
28172 (NO_INLINE): Likewise.
28173 (fn1): Use match function instead of strstr.
28174 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28175 (ret): Remove variable.
28177 (FAIL): Remove macro.
28178 (NO_INLINE): Likewise.
28179 (fn): Use match function instead of strstr.
28180 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28181 (ret): Remove variable.
28183 (FAIL): Remove macro.
28184 (NO_INLINE): Likewise.
28185 (handle_signal): Use match function instead of strstr.
28186 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28187 (ret): Remove variable.
28189 (FAIL): Remove macro.
28190 (NO_INLINE): Likewise.
28191 (handle_signal): Use match function instead of strstr.
28193 2013-01-23 Roland McGrath <roland@hack.frob.com>
28195 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28197 2013-01-23 David S. Miller <davem@davemloft.net>
28199 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28200 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28201 argument of CAS if possible.
28202 * sysdeps/sparc/sparc64/bits/atomic.h
28203 (__arch_compare_and_exchange_val_32_acq): Likewise.
28204 (__arch_compare_and_exchange_val_64_acq): Likewise.
28206 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28208 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28209 * sysdeps/posix/ulimit.c: ... this.
28210 Include <limits.h>.
28211 * sysdeps/unix/bsd/ulimit.c: Remove file.
28213 2013-01-23 Adam Conrad <adconrad@0c3.net>
28215 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28216 (LDFLAGS-tst-array5): Likewise.
28218 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28221 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28222 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28223 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28224 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28226 2013-01-21 David S. Miller <davem@davemloft.net>
28228 * sysdeps/sparc/backtrace.c: New file.
28229 * sysdeps/sparc/sparc32/backtrace.h: New file.
28230 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28231 * sysdeps/sparc/sparc64/backtrace.h: New file.
28232 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28233 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28236 2013-01-21 Andreas Schwab <schwab@suse.de>
28239 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28242 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28248 2013-01-18 Joseph Myers <joseph@codesourcery.com>
28249 Mark Mitchell <mark@codesourcery.com>
28250 Tom de Vries <tom@codesourcery.com>
28251 Paul Pluzhnikov <ppluzhnikov@google.com>
28253 * debug/tst-backtrace2.c: New file.
28254 * debug/tst-backtrace3.c: Likewise.
28255 * debug/tst-backtrace4.c: Likewise.
28256 * debug/tst-backtrace5.c: Likewise.
28257 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28258 (CFLAGS-tst-backtrace3.c): Likewise.
28259 (CFLAGS-tst-backtrace4.c): Likewise.
28260 (CFLAGS-tst-backtrace5.c): Likewise.
28261 (LDFLAGS-tst-backtrace2): Likewise.
28262 (LDFLAGS-tst-backtrace3): Likewise.
28263 (LDFLAGS-tst-backtrace4): Likewise.
28264 (LDFLAGS-tst-backtrace5): Likewise.
28265 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28266 tst-backtrace4 and tst-backtrace5.
28268 2013-01-18 Anton Blanchard <anton@samba.org>
28269 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28271 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28272 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28274 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28276 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28277 "+r" and remove output regs list as redundant. Add explicit inline
28278 asm to specify register of return val to work around compiler codegen
28279 bug. Remove (int) cast on return value. Add return type parameter to
28280 use in macro so that this macro does not truncate return value for
28282 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28283 pass to INTERNAL_VSYSCALL_NCS.
28284 (INLINE_VSYSCALL): Add 'long int' as return type to
28285 INTERNAL_VSYSCALL_NCS macro invocation.
28286 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28287 INTERNAL_VSYSCALL_NCS macro invocation.
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28290 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28293 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28294 Fix application of SIMD FP exception mask.
28296 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28297 mp_no from a power of two.
28298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28299 __mpexp_twomm1. Use __pow_mp.
28301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28304 2013-01-17 David S. Miller <davem@davemloft.net>
28306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28308 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28311 * include/complex.h: Condition contents on [!_COMPLEX_H].
28312 (__kernel_casinhf): New prototype.
28313 (__kernel_casinh): Likewise.
28314 (__kernel_casinhl): Likewise.
28315 * math/Makefile (libm_calls): Add k_casinh.
28316 * math/k_casinh.c: New file.
28317 * math/k_casinhf.c: Likewise.
28318 * math/k_casinhl.c: Likewise.
28319 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28320 finite nonzero arguments.
28321 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28322 finite nonzero arguments.
28323 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28324 finite nonzero arguments.
28325 * math/s_casinh.c: Do not include <float.h>.
28326 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28327 * math/s_casinhf.c: Do not include <float.h>.
28328 (__casinhf): Move code for finite nonzero arguments to
28330 * math/s_casinhl.c: Do not include <float.h>.
28331 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28333 (__casinhl): Move code for finite nonzero arguments to
28335 * math/libm-test.inc (cacos_test): Add more tests.
28336 * sysdeps/i386/fpu/libm-test-ulps: Update.
28337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28339 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28341 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28342 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28343 [!HAVE_MREMAP]: Remove [defined linux] case.
28344 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28346 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28348 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28350 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
28352 * elf/elf.h (R_386_SIZE32): New relocation.
28353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28355 (elf_machine_rela): Likewise.
28356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28357 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28359 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28361 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28362 (FP_FAST_FMA): Do not define.
28363 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28364 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28365 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28366 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28367 !_SOFT_FLOAT]: Likewise.
28368 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28369 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28371 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28372 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28373 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28374 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28375 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28376 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28379 2013-01-16 Andreas Schwab <schwab@suse.de>
28382 * include/stdlib.h (__mktemp): Add declaration.
28383 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28384 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28386 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28388 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28390 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28391 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28392 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28394 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28395 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28397 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28399 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28400 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28401 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28403 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28404 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28406 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28408 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28410 2013-01-15 David S. Miller <davem@davemloft.net>
28412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28413 trunc{,f} to libm-sysdep_routes.
28414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28424 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28425 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28426 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28427 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28428 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28429 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28432 nearbyint{,f} to libm-sysdep_routes.
28433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28444 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28446 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28447 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28449 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28450 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28451 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28453 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28454 libc_feholdexcept and libc_fesetenv.
28456 2013-01-15 Mike Frysinger <vapier@gentoo.org>
28458 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28460 2013-01-14 David S. Miller <davem@davemloft.net>
28462 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28463 (SPARC_ASM_VIS2_IFUNC): Likewise.
28464 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28466 use of 'siam' instruction.
28467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28500 routines to libm-sysdep_routines.
28501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28504 fdim/fdimf to libm-sysdep_routines.
28505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28513 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28514 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28515 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28516 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28518 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28520 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28521 to optimize copies.
28523 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28528 local variable MPTWO.
28529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28532 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28534 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28537 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28539 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28541 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28543 * manual/pattern.texi (glob_t): Document gl_flags.
28544 (glob64_t): Likewise.
28546 2013-01-11 David S. Miller <davem@davemloft.net>
28548 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28549 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28550 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
28551 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28552 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28553 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28554 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28555 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28556 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28557 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28558 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28559 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28560 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28563 sparc V9 rather than using V8 code.
28564 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28565 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28567 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28569 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28572 2013-01-11 Roland McGrath <roland@hack.frob.com>
28574 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28575 not in the main loop.
28576 * configure: Regenerated.
28578 2013-01-11 Joseph Myers <joseph@codesourcery.com>
28580 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28581 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28583 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28584 [!__GLIBC_HAVE_LONG_LONG] case.
28585 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28586 condition to just #else.
28587 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28588 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28589 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28590 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28592 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28593 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28594 #elif condition to just #else.
28595 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28596 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28597 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28598 #elif condition to just #else.
28600 2013-01-11 Steve Ellcey <sellcey@mips.com>
28602 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28603 (EF_MIPS_ARCH_64): Fix value.
28604 (EF_MIPS_ARCH_32R2): New.
28605 (EF_MIPS_ARCH_64R2): New.
28607 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28609 * Makeconfig (+link-pie-before-libc): New.
28610 (+link-pie-after-libc): Likewise.
28611 (+link-pie-tests): Likewise.
28612 (+link-pie): Rewritten.
28613 (link-before-libc): Remove $(config-LDFLAGS).
28614 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28615 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28616 (config-LDFLAGS): Renamed to ...
28617 (rtld-LDFLAGS): This.
28618 (rtld-tests-LDFLAGS): New macro.
28619 (link-libc-rpath-link): Likewise.
28620 (link-libc-tests-rpath-link): Likewise.
28621 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28622 (link-libc): Prepand $(link-libc-rpath-link).
28623 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28624 (test-program-prefix): New macro.
28625 (test-via-rtld-prefix): Likewise.
28626 (test-program-cmd): Likewise.
28627 (host-test-program-cmd): Likewise.
28628 * Makefile ($(common-objpfx)testrun.sh): Replace
28629 $(run-program-prefix) with $(test-program-prefix).
28630 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28632 ($(common-objpfx)shlib.lds): Likewise.
28633 (build-module-helper): Likewise.
28634 ($(common-objpfx)format.lds): Likewise.
28635 * Rules (binaries-pie-tests): New.
28636 (binaries-pie-notests): Likewise.
28637 (binaries-pie): Rewritten.
28638 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28639 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28640 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28641 (make-test-out): Replace $(host-built-program-cmd) with
28642 $(host-test-program-cmd).
28643 * config.make.in (build-hardcoded-path-in-tests): New variable.
28644 * configure.in (--enable-hardcoded-path-in-tests): New configure
28646 (hardcoded_path_in_tests): New AC_SUBST.
28647 * configure: Regenerated.
28648 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28649 $(built-program-cmd) with $(test-program-cmd).
28650 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28651 (test_program_cmd): This.
28652 * elf/Makefile ($(objpfx)order.out): Run test with
28653 $(test-program-prefix).
28654 ($(objpfx)order2.out): Likewise.
28655 ($(objpfx)tst-initorder.out): Likewise.
28656 ($(objpfx)tst-initorder2.out): Likewise.
28657 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28658 $(test-program-cmd).
28659 ($(objpfx)tst-array1-static.out): Likewise.
28660 ($(objpfx)tst-array2.out): Likewise.
28661 ($(objpfx)tst-array3.out): Likewise.
28662 ($(objpfx)tst-array4.out): Likewise.
28663 ($(objpfx)tst-array5.out): Likewise.
28664 ($(objpfx)tst-array5-static.out): Likewise.
28665 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28666 $(test-program-cmd).
28667 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28668 $(run-program-prefix) with $(test-program-prefix).
28669 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28670 (test_program_prefix): This.
28671 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28672 $(run-program-prefix) with $(test-program-prefix).
28673 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28674 (test_program_prefix): This.
28675 * iconvdata/tst-tables.sh: Likewise.
28676 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28677 $(run-program-prefix) with $(test-program-prefix).
28678 ($(objpfx)tst-translit.out): Likewise.
28679 ($(objpfx)tst-gettext2.out): Likewise.
28680 ($(objpfx)tst-gettext4.out): Likewise.
28681 ($(objpfx)tst-gettext6.out): Likewise.
28682 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28683 (test_program_prefix): This.
28684 * intl/tst-gettext2.sh: Likewise.
28685 * intl/tst-gettext4.sh Likewise.
28686 * intl/tst-gettext6.sh: Likewise.
28687 * intl/tst-translit.sh: Likewise.
28688 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28689 with $(test-program-cmd).
28690 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28691 $(run-program-prefix) with $(test-program-prefix).
28692 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28693 (test_program_prefix): This.
28694 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28695 $(run-program-prefix) with $(test-program-prefix).
28696 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28697 (test_program_prefix): This.
28698 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28699 * posix/Makefile ($(objpfx)globtest.out): Replace
28700 $(run-via-rtld-prefix) and $(test-wrapper) with
28701 $(test-program-prefix) and $(test-via-rtld-prefix).
28702 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28703 $(test-program-prefix).
28704 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28705 $(host-test-program-cmd).
28706 (tst-spawn-ARGS): Likewise.
28707 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28708 $(test-program-prefix).
28709 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28710 (test_via_rtld_prefix): This.
28711 (test_wrapper): Renamed to ...
28712 (test_program_prefix): This.
28713 (run_program_prefix): Replaced by test_program_prefix.
28714 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28715 (test_program_prefix): This.
28716 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28717 with $(host-test-program-cmd).
28718 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28719 $(run-program-prefix) with $(test-program-prefix).
28720 ($(objpfx)tst-printf.out): Likewise.
28721 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28722 $(test-program-cmd).
28723 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28724 (test_program_prefix): This.
28725 * stdio-common/tst-unbputc.sh: Likewise.
28726 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28727 $(run-program-prefix) with $(test-program-prefix).
28728 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28729 (test_program_prefix): This.
28730 * string/Makefile ($(objpfx)tst-svc.out): Replace
28731 $(built-program-cmd) with $(test-program-cmd).
28733 2013-01-11 Andreas Jaeger <aj@suse.de>
28736 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28737 value. Sync with Linux 3.7.
28739 2013-01-10 David S. Miller <davem@davemloft.net>
28741 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28742 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28743 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28745 2013-01-10 Roland McGrath <roland@hack.frob.com>
28747 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28749 * configure: Regenerated.
28751 2013-01-10 David S. Miller <davem@davemloft.net>
28753 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28754 sparc V9 rather than using V8 code.
28755 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28756 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28758 2013-01-10 Roland McGrath <roland@hack.frob.com>
28760 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28761 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28762 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28763 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28764 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28765 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28766 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28767 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28768 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28769 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28770 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28771 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28772 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28773 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28774 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28775 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28776 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28777 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28778 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28779 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28780 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28781 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28782 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28783 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28784 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28785 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28786 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28788 2013-01-10 David S. Miller <davem@davemloft.net>
28790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28792 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28794 * posix/Makefile (tests-static): New variable.
28795 (tests): Add $(tests-static).
28796 (tst-exec-static-ARGS): New variable.
28797 (tst-spawn-static-ARGS): Likewise.
28798 * posix/tst-exec-static.c: New file.
28799 * posix/tst-spawn-static.c: Likewise.
28800 * posix/tst-exec.c: Support run directly.
28801 * posix/tst-spawn.c: Likewise.
28803 2013-01-10 Joseph Myers <joseph@codesourcery.com>
28805 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28807 * math/bits/mathcalls.h (llrint): Likewise.
28808 (llround): Likewise.
28809 * stdlib/stdlib.h (struct drand48_data): Likewise.
28810 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28811 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28812 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28814 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28816 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28817 (elf_greg_t): Likewise.
28818 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28819 (__jmp_buf): Likewise.
28820 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28822 (llrint): Likewise, for all definitions.
28823 (llrintl): Likewise.
28825 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28826 Remove [__GNUC__] condition.
28827 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28828 condition to just [__USE_ISOC99].
28829 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28831 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28834 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28835 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28837 (_POSIX_V6_ILP32_OFF32): Likewise.
28838 (_XBS5_ILP32_OFF32): Likewise.
28839 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28840 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28842 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28844 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28847 doubles __mpexp_twomm1. Adjust usage.
28848 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28851 2013-01-10 Andreas Schwab <schwab@suse.de>
28854 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28855 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28857 2013-01-09 David S. Miller <davem@davemloft.net>
28860 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28861 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28862 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28863 (TCP_FASTOPEN): Define.
28864 (tcp_repair_opt): New structure.
28865 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28867 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28868 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28869 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28870 (tcp_cookie_transactions): New structure.
28872 2013-01-09 Anton Blanchard <anton@samba.org>
28874 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28875 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28876 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28879 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28881 * include/features.h (__USE_ANSI): Remove.
28883 2013-01-09 Roland McGrath <roland@hack.frob.com>
28885 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28887 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28889 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28891 * sysdeps/s390/fpu/libm-test-ulps: Update.
28893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28895 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28899 (denorm): Likewise.
28900 (__mp_dbl): Likewise.
28901 (__dbl_mp): Likewise.
28902 (add_magnitudes): Likewise.
28903 (sub_magnitudes): Likewise.
28909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28913 (denorm): Likewise.
28914 (__mp_dbl): Likewise.
28915 (__dbl_mp): Likewise.
28916 (add_magnitudes): Likewise.
28917 (sub_magnitudes): Likewise.
28923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28927 (denorm): Likewise.
28928 (__mp_dbl): Likewise.
28929 (__dbl_mp): Likewise.
28930 (add_magnitudes): Likewise.
28931 (sub_magnitudes): Likewise.
28938 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28940 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28941 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28942 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28943 2 && __USE_EXTERN_INLINES]: Likewise.
28945 2013-01-08 Andreas Jaeger <aj@suse.de>
28948 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28950 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28951 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28953 2013-01-07 Anton Blanchard <anton@samba.org>
28955 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28956 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28957 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28958 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28959 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28960 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28961 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28962 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28964 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28966 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28967 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28969 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28970 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28971 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28973 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28974 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28975 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28976 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28978 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28979 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28980 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28981 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28982 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28984 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28985 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28987 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28989 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28990 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28991 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28992 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28993 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28995 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28997 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28999 2013-01-07 Joseph Myers <joseph@codesourcery.com>
29001 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29002 (__MALLOC_PMT): Likewise.
29003 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29004 [__GNUC__], only on [_LIBC].
29005 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29006 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29007 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29008 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29009 forward declaration.
29010 (realloc_hook_ini): Likewise.
29011 (memalign_hook_ini): Likewise.
29012 (__libc_memalign): Do not use __MALLOC_PMT in variable
29014 (__libc_valloc): Likewise.
29015 (__libc_pvalloc): Likewise.
29016 (__libc_calloc): Likewise.
29017 (__posix_memalign): Likewise.
29020 * math/s_casinh.c: Include <float.h>.
29021 (__casinh): Do not do computation with squaring and square root
29022 for large arguments.
29023 * math/s_casinhf.c: Include <float.h>.
29024 (__casinhf): Do not do computation with squaring and square root
29025 for large arguments.
29026 * math/s_casinhl.c: Include <float.h>.
29027 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29028 (__casinhl): Do not do computation with squaring and square root
29029 for large arguments.
29030 * math/libm-test.inc (casin_test): Add more tests.
29031 (casinh_test): Likewise.
29032 * sysdeps/i386/fpu/libm-test-ulps: Update.
29033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29035 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29037 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29038 (__x86_64_raw_data_cache_size): Likewise.
29039 (__x86_64_data_cache_size_half): Likewise.
29040 (__x86_64_raw_data_cache_size_half): Likewise.
29041 (__x86_64_shared_cache_size): Likewise.
29042 (__x86_64_raw_shared_cache_size): Likewise.
29043 (__x86_64_shared_cache_size_half): Likewise.
29044 (__x86_64_raw_shared_cache_size_half): Likewise.
29045 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29047 (__x86_data_cache_size): This.
29048 (__x86_64_raw_data_cache_size): Renamed to ...
29049 (__x86_raw_data_cache_size): This.
29050 (__x86_64_data_cache_size_half): Renamed to ...
29051 (__x86_data_cache_size_half): This.
29052 (__x86_64_raw_data_cache_size_half): Renamed to ...
29053 (__x86_raw_data_cache_size_half): This.
29054 (__x86_64_shared_cache_size): Renamed to ...
29055 (__x86_shared_cache_size): This.
29056 (__x86_64_raw_shared_cache_size): Renamed to ...
29057 (__x86_raw_shared_cache_size): This.
29058 (__x86_64_shared_cache_size_half): Renamed to ...
29059 (__x86_shared_cache_size_half): This.
29060 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29061 (__x86_raw_shared_cache_size_half): This.
29062 * sysdeps/x86_64/memcpy.S: Updated.
29063 * sysdeps/x86_64/memset.S: Likewise.
29064 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29066 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29068 2013-01-04 David S. Miller <davem@davemloft.net>
29070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29072 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29074 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29075 1 to avoid redefinition warning.
29076 (__USE_GNU): Don't define.
29077 (init_signaling_nan): Protoize.
29079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29081 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29083 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29085 (__cpymn): Likewise.
29086 (norm): Remove commented code.
29087 (denorm): Likewise.
29088 (__mp_dbl): Likewise.
29090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29091 (__cpymn): Likewise.
29092 (norm): Remove commented code.
29093 (denorm): Likewise.
29094 (__mp_dbl): Likewise.
29097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29098 mp_no value for 1.0 and 2.0.
29099 (norm): Use RADIXI instead of radixi.d.
29100 (denorm): Likewise.
29101 (__mul): Use 0.0 instead of zero.d.
29102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29103 mp_no value for 1.0 and 2.0.
29104 (norm): Use RADIXI instead of radixi.d.
29105 (denorm): Likewise.
29106 (__mul): Use 0.0 instead of zero.d.
29108 2013-01-04 Joseph Myers <joseph@codesourcery.com>
29111 * math/s_casinh.c (__casinh): Reduce finite argument to first
29112 quadrant then set signs of results at the end.
29113 * math/s_casinhf.c (__casinhf): Likewise.
29114 * math/s_casinhl.c (__casinhl): Likewise.
29115 * math/libm-test.inc (casin_test): Add more tests.
29116 (casinh_test): Likewise.
29117 * sysdeps/i386/fpu/libm-test-ulps: Update.
29118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29120 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29122 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29124 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29126 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29128 (denorm): Likewise.
29129 (__mp_dbl): Likewise.
29132 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29133 and adjust the header comment.
29135 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29136 variable name from declaration.
29138 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29141 Initialize COMMON_CPUID_INDEX_7 element.
29142 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29143 (CPUID_RTM): Likewise.
29144 (HAS_RTM): Likewise.
29145 (COMMON_CPUID_INDEX_7): New enum.
29147 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29150 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29151 size is zero, record memory as freed.
29153 2013-01-03 Andreas Jaeger <aj@suse.de>
29155 * po/ia.po: Add new Interlingua translation.
29157 2012-01-03 Allan McRae <allan@archlinux.org>
29159 * locale/programs/localedef.c: Fix description of '--posix' flag.
29161 2013-01-02 Joseph Myers <joseph@codesourcery.com>
29163 * NEWS: Update dates in second copyright notice.
29164 * README: Update copyright dates in example.
29165 * manual/libc.texinfo: Update copyright dates.
29166 * scripts/test-installation.pl: Update copyright date in --version
29169 * hurd/ctty-input.c: Fix copyright notice formatting.
29170 * hurd/ctty-output.c: Likewise.
29171 * hurd/dtable.c: Likewise.
29172 * hurd/hurd-raise.c: Likewise.
29173 * hurd/hurdprio.c: Likewise.
29174 * hurd/msgportdemux.c: Likewise.
29175 * misc/sys/file.h: Likewise.
29176 * misc/sys/ioctl.h: Likewise.
29177 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29178 * sysdeps/mach/hurd/chdir.c: Likewise.
29179 * sysdeps/mach/hurd/fchdir.c: Likewise.
29180 * sysdeps/mach/hurd/rename.c: Likewise.
29181 * sysdeps/mach/hurd/rmdir.c: Likewise.
29182 * sysdeps/mach/hurd/seekdir.c: Likewise.
29183 * sysdeps/mach/hurd/setsid.c: Likewise.
29184 * sysdeps/posix/wait3.c: Likewise.
29186 * All files with FSF copyright notices: Update copyright dates
29187 using scripts/update-copyrights.
29188 * intl/plural.c: Regenerated.
29189 * locale/programs/charmap-kw.h: Likewise.
29190 * locale/programs/locfile-kw.h: Likewise.
29192 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29194 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29198 calculation loop and add branch prediction.
29200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29201 check access beyond bounds of m1np.
29203 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29205 (__inv): Remove local variable MPTWO to use the global
29207 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29210 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29211 MP3HALFS static const.
29213 2013-01-01 David S. Miller <davem@davemloft.net>
29215 * po/ca.po: Update from translation team.
29217 2013-01-01 Joseph Myers <joseph@codesourcery.com>
29219 * scripts/update-copyrights: New file.
29220 * Makeconfig: Reformat copyright notice.
29221 * ctype/ctype.h: Likewise.
29222 * debug/swprintf_chk.c: Likewise.
29223 * elf/dl-cache.c: Likewise.
29224 * elf/dl-debug.c: Likewise.
29225 * elf/dl-object.c: Likewise.
29226 * grp/initgroups.c: Likewise.
29227 * hurd/Makefile: Likewise.
29228 * hurd/hurd/signal.h: Likewise.
29229 * hurd/hurdfault.c: Likewise.
29230 * hurd/hurdioctl.c: Likewise.
29231 * hurd/hurdlookup.c: Likewise.
29232 * hurd/intr-msg.c: Likewise.
29233 * iconv/gconv_open.c: Likewise.
29234 * libio/swprintf.c: Likewise.
29235 * locale/lc-ctype.c: Likewise.
29236 * locale/nl_langinfo.c: Likewise.
29237 * mach/Machrules: Likewise.
29238 * mach/Makefile: Likewise.
29239 * malloc/obstack.h: Likewise.
29240 * manual/Makefile: Likewise.
29241 * manual/tsort.awk: Likewise.
29242 * misc/bits/stab.def: Likewise.
29243 * nis/nis_print_group_entry.c: Likewise.
29244 * nis/nis_table.c: Likewise.
29245 * nis/nss_compat/compat-pwd.c: Likewise.
29246 * nis/nss_compat/compat-spwd.c: Likewise.
29247 * po/Makefile: Likewise.
29248 * posix/fnmatch.c: Likewise.
29249 * posix/regex.h: Likewise.
29250 * resolv/Makefile: Likewise.
29251 * resolv/nss_dns/dns-network.c: Likewise.
29252 * resolv/res_hconf.c: Likewise.
29253 * scripts/gen-sorted.awk: Likewise.
29254 * soft-fp/soft-fp.h: Likewise.
29255 * stdio-common/printf.h: Likewise.
29256 * stdlib/monetary.h: Likewise.
29257 * stdlib/random.c: Likewise.
29258 * stdlib/random_r.c: Likewise.
29259 * sysdeps/generic/Makefile: Likewise.
29260 * sysdeps/gnu/Makefile: Likewise.
29261 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29289 * sysdeps/mach/hurd/errnos.awk: Likewise.
29290 * sysdeps/mach/hurd/fork.c: Likewise.
29291 * sysdeps/mach/hurd/getcwd.c: Likewise.
29292 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29293 * sysdeps/mach/hurd/mmap.c: Likewise.
29294 * sysdeps/mach/hurd/utimes.c: Likewise.
29295 * sysdeps/mach/hurd/xmknod.c: Likewise.
29296 * sysdeps/posix/profil.c: Likewise.
29297 * sysdeps/posix/readdir_r.c: Likewise.
29298 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29299 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29300 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29301 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29305 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29307 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29308 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29309 * sysdeps/pthread/lio_listio.c: Likewise.
29310 * sysdeps/sparc/dl-procinfo.h: Likewise.
29311 * sysdeps/unix/i386/sysdep.S: Likewise.
29312 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29313 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29314 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29315 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29317 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29318 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29319 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29320 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29321 * sysdeps/wordsize-32/divdi3.c: Likewise.
29322 * time/sys/time.h: Likewise.
29323 * wcsmbs/Makefile: Likewise.
29325 2013-01-01 David S. Miller <davem@davemloft.net>
29327 * po/fr.po: Update from translation team.
29329 * catgets/gencat.c: Update copyright year.
29330 * csu/version.c: Likewise.
29331 * debug/catchsegv.sh: Likewise.
29332 * debug/pcprofiledump.c: Likewise.
29333 * debug/xtrace.sh: Likewise.
29334 * elf/ldconfig.c: Likewise.
29335 * elf/ldd.bash.in: Likewise.
29336 * elf/pldd.c: Likewise.
29337 * elf/sotruss.ksh: Likewise.
29338 * elf/sprof.c: Likewise.
29339 * iconv/iconv_prog.c: Likewise.
29340 * iconv/iconvconfig.c: Likewise.
29341 * locale/programs/locale.c: Likewise.
29342 * locale/programs/localedef.c: Likewise.
29343 * login/programs/pt_chown.c: Likewise.
29344 * malloc/memusage.sh: Likewise.
29345 * malloc/memusagestat.c: Likewise.
29346 * malloc/mtrace.pl: Likewise.
29347 * nscd/nscd.c: Likewise.
29348 * nss/getent.c: Likewise.
29349 * nss/makedb.c: Likewise.
29350 * posix/getconf.c: Likewise.
29352 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29354 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29357 2012-12-30 Mike Frysinger <vapier@gentoo.org>
29359 * math/bits/mathcalls.h (modf): Use __nonnull.
29361 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29363 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29364 (split): Use macro CN instead of the bare value.
29365 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29368 instead of the bare value.
29369 (power1): Likewise.
29371 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29373 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29375 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29377 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29379 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29380 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29381 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29382 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29384 2012-12-28 Andreas Jaeger <aj@suse.de>
29386 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29387 values are from Linux 3.7.
29389 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29390 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29392 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29394 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29397 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29399 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29400 variables with preprocessor constants.
29401 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29402 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29403 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29405 2012-12-27 Bruno Haible <bruno@clisp.org>
29408 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29411 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29414 and use variable directly.
29415 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29417 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29419 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29420 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29422 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29424 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29425 include directive. Remove local variable MPONE.
29426 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29427 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29430 2012-12-25 David S. Miller <davem@davemloft.net>
29432 * version.h (RELEASE): Set to "development".
29433 (VERSION): Set to "2.17.90".
29434 * NEWS: Add 2.18 section.
29436 2012-12-21 David S. Miller <davem@davemloft.net>
29438 * po/hr.po: Update from translation team.
29440 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29442 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29444 2012-12-19 Steve Ellcey <sellcey@mips.com>
29446 * NEWS: Mention new memcpy for MIPS.
29448 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29450 * manual/contrib.texi (Contributors): Spelling correction.
29452 2012-12-15 David S. Miller <davem@davemloft.net>
29454 * po/ru.po: Update from translation team.
29456 2012-12-13 David S. Miller <davem@davemloft.net>
29458 * NEWS: Mention IFUNC testsuite enhancements.
29460 * po/pl.po: Update from translation team.
29461 * po/bg.po: Likewise.
29463 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29464 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29466 2012-12-11 David S. Miller <davem@davemloft.net>
29468 * po/sv.po: Update from translation team.
29470 * po/vi.po: Update from translation team.
29472 * po/cs.po: Update from translation team.
29474 * po/de.po: Update from translation team.
29475 * po/eo.po: Likewise.
29476 * po/nl.po: Likewise.
29478 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29481 * manual/argp.texi (Argp Helper Functions): Move node to follow
29482 Argp Parsing State.
29485 * manual/conf.texi (Limits on File System Capacity): Mention if
29486 terminating null is included in the max size.
29488 2012-12-10 Andreas Jaeger <aj@suse.de>
29490 * po/cs.po: Update from translation team.
29492 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29494 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29495 void pointer and cast to uintptr_t.
29496 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29498 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29499 * sysdeps/s390/s390-64/memset.S: Likewise.
29501 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
29504 * menual/message.texi (Message Translation): Fix typos.
29505 (Helper programs for gettext): Likewise.
29507 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29510 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29513 2012-12-07 David S. Miller <davem@davemloft.net>
29515 * po/libc.pot: Update.
29517 2012-12-07 Richard Henderson <rth@redhat.com>
29520 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29521 normal/normal case to before the switch.
29522 (_FP_DIV): Likewise.
29524 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29525 Mike Frysinger <vapier@gentoo.org>
29527 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29528 check for __NR_fadvise64_64.
29530 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29532 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29533 0, not just to plain "0" as a statement.
29534 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29537 2012-12-06 Joseph Myers <joseph@codesourcery.com>
29539 * NEWS: Use sourceware.org in Bugzilla URL.
29541 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29544 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29546 * stdio-common/tst-put-error.c (do_test): Add newline to the
29547 padded test to ensure flush.
29549 2012-12-05 Jeff Law <law@redhat.com>
29551 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29553 2012-12-05 Joseph Myers <joseph@codesourcery.com>
29555 * README: Don't refer to ports add-on as distributed separately.
29556 Mention AArch64 in list of systems supported in the ports add-on.
29558 * LICENSES: Add more non-FSF copyright and license notices.
29560 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29565 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29566 10000 as width of padded output.
29568 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29570 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29572 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29573 variable LX with __attribute__ ((unused)).
29574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29576 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29578 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29579 with __attribute__ ((unused)).
29581 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
29583 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29585 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29587 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29588 (CFLAGS-nldbl-acos.c): New variable.
29589 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29590 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29591 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29592 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29593 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29594 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29595 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29596 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29597 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29598 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29599 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29600 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29601 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29602 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29603 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29604 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29605 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29606 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29607 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29608 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29609 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29610 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29611 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29612 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29613 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29614 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29615 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29616 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29617 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29618 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29619 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29620 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29621 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29622 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29623 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29624 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29625 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29626 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29627 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29628 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29629 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29630 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29631 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29632 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29633 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29634 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29635 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29636 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29637 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29638 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29639 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29640 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29641 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29642 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29643 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29644 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29645 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29646 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29647 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29648 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29649 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29650 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29651 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29652 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29653 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29654 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29655 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29656 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29657 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29658 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29659 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29660 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29661 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29662 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29663 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29664 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29665 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29666 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29667 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29668 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29669 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29670 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29671 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29672 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29673 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29674 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29675 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29676 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29677 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29678 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29679 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29680 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29681 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29682 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29683 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29684 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29685 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29688 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29691 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29692 whole low double instead of just low 47 bits when splitting values
29695 2012-12-03 Allan McRae <allan@archlinux.org>
29697 * manual/stdio.texi (Predefined Printf Handlers): Remove
29698 @hsep and @vsep usage.
29700 2012-12-03 Mike Frysinger <vapier@gentoo.org>
29702 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29703 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29705 2012-12-03 Jeff Law <law@redhat.com>
29707 * time/sys/time.h (settimeofday): Do not mark TV argument
29710 2012-12-01 Mike Frysinger <vapier@gentoo.org>
29712 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29713 when currently writing and seek to current position when not.
29714 * libio/Makefile (tests): Remove bug-fclose1.
29715 * libio/bug-fclose1.c: Delete.
29717 2012-12-01 Joseph Myers <joseph@codesourcery.com>
29719 * manual/arith.texi (feenableexcept): Fix typo.
29720 (fedisableexcept): Likewise.
29722 2012-11-30 Roland McGrath <roland@hack.frob.com>
29724 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29725 second, differently-typed declaration, rather than a cast.
29727 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29729 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29730 * include/rpc/svc.h: ... here.
29732 2012-11-30 Aurelien Jarno <aurel32@debian.org>
29735 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29736 depending n and resplen2 to catch cases where answer
29739 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29741 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29742 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29744 2012-11-29 Mike Frysinger <vapier@gentoo.org>
29746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29748 2012-11-29 Roland McGrath <roland@hack.frob.com>
29750 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29752 2012-11-28 Jeff Law <law@redhat.com>
29755 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29756 dataset_temporary. Track alloca usage into alloca_used.
29757 If dataset is large allocate and release it via malloc/free.
29759 2012-06-04 Florian Weimer <fweimer@redhat.com>
29762 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29764 2012-11-28 David S. Miller <davem@davemloft.net>
29766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29768 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29771 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29772 of pi/2 rounded to nearest to 64 bits.
29773 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29774 nearest to 64 bits.
29775 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29778 2012-11-28 Jeff Law <law@redhat.com>
29779 Martin Osvald <mosvald@redhat.com>
29782 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29783 * sunrpc/svc.c: Include time.h.
29784 (__svc_accept_failed): New function.
29785 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29786 any reason other than EINTR, call __svc_accept_failed.
29787 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29788 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29790 2012-11-28 Andreas Schwab <schwab@suse.de>
29792 * scripts/abilist.awk: Also handle indirect functions in .opd
29795 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29798 * sysdeps/x86/fpu/powl_helper.c: New file.
29799 * sysdeps/x86/fpu/Makefile: Likewise.
29800 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29802 (__ieee754_powl): Use __powl_helper for finite arguments except
29803 integer exponents below 8.
29804 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29806 (__ieee754_powl): Use __powl_helper for finite arguments except
29807 integer exponents below 8.
29808 * math/libm-test.inc (pow_test): Add more tests and enable some
29809 previously disabled tests.
29810 * sysdeps/i386/fpu/libm-test-ulps: Update.
29811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29813 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29814 Carlos O'Donell <carlos_odonell@mentor.com>
29816 * nss/makedb.c (is_prime): Assert that input is odd and greater
29817 than 4. Note that fact in a comment too.
29818 (next_prime): Add 4 to input.
29820 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29823 * libio/Makefile (tests): Add test case tst-fwrite-error.
29824 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29825 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29826 * libio/tst-fwrite-error.c: New test case.
29828 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29830 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29831 before casting to void *.
29832 * include/libc-internal.h (__pointer_type): New macro.
29833 (__integer_if_pointer_type_sub): Likewise.
29834 (__integer_if_pointer_type): Likewise.
29835 (cast_to_integer): Likewise.
29836 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29837 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29838 before casting to atomic64_t.
29839 (atomic_exchange_acq): Likewise.
29840 (__arch_exchange_and_add_body): Likewise.
29841 (__arch_add_body): Likewise.
29842 (atomic_add_negative): Likewise.
29843 (atomic_add_zero): Likewise.
29845 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29847 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29848 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29849 (add_fdes): Likewise.
29850 (linear_search_fdes): Likewise.
29851 (binary_search_unencoded_fdes): Likewise.
29853 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29855 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29857 2012-11-24 Adam Conrad <adconrad@0c3.net>
29859 * configure.in: Autodetect C++ header directories.
29860 * configure: Regenerated.
29862 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29864 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29866 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29870 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29872 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29873 LDBL_MANT_DIG == 106]: Disable some tests.
29874 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29876 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29880 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29881 input for small inputs. Return +/- pi/2 for large inputs.
29882 * math/libm-test.inc (atan_test): Add more tests.
29884 * sysdeps/generic/unwind-dw2-fde-glibc.c
29885 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29886 __attribute__ ((unused)).
29889 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29890 x * y if x and y are nonzero and z is zero.
29893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29894 nonzero exponents with absolute value below 0x1p-117 to +/-
29898 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29899 up arguments below 2**-450, not just those below 2**-500.
29900 * math/libm-test.inc (hypot_test): Add another test.
29903 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29904 Return a+b for ratio over 2**120, not 2**60.
29905 * math/libm-test.inc (hypot_test): Add another test.
29907 * math/libm-test.inc (clog_test): Use
29908 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29909 (clog10_test): Likewise.
29912 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29914 2012-11-22 Andreas Schwab <schwab@suse.de>
29916 * sysdeps/i386/fpu/libm-test-ulps: Update.
29918 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29920 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29921 printf output with newline.
29923 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29926 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29927 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29928 -z nodlopen, -z initfirst and -z execstack support.
29929 * configure: Regenerated.
29931 * elf/elf.h (DF_1_NODIRECT): New macro.
29932 (DF_1_IGNMULDEF): Likewise.
29933 (DF_1_NOKSYMS): Likewise.
29934 (DF_1_NOHDR): Likewise.
29935 (DF_1_EDITED): Likewise.
29936 (DF_1_NORELOC): Likewise.
29937 (DF_1_SYMINTPOSE): Likewise.
29938 (DF_1_GLOBAUDIT): Likewise.
29939 (DF_1_SINGLETON): Likewise.
29940 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29941 DT_1_SUPPORTED_MASK bits.
29942 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29944 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29946 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29948 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29950 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29953 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29954 (sendmmsg): Move declarations...
29955 * socket/sys/socket.h: ... here.
29956 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29957 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29959 * socket/recvmmsg.c: ... this new file.
29960 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29961 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29962 definition of __sendmmsg hidden.
29963 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29964 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29965 Move ENOSYS stub into and include it from...
29966 * socket/sendmmsg.c: ... this new file.
29967 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29968 (sysdep_routines): Move recvmmsg and sendmmsg...
29969 * socket/Makefile (routines): ... here.
29970 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29971 (GLIBC_PRIVATE): Add __sendmmsg.
29972 * include/sys/socket.h (__sendmmsg): Add declarations.
29973 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29976 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29979 variable I1 with __attribute__ ((unused)).
29980 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29982 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29984 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29985 DUMMY variables with __attribute__ ((unused)).
29987 * bits/byteswap.h: Include <bits/types.h>.
29988 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29990 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29992 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29993 string_t. Do not manually set errno.
29994 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29995 length with __strnlen. Make sure to both set errno and return it on
29998 2012-11-19 David S. Miller <davem@davemloft.net>
30000 With help from Joseph Myers.
30001 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30002 very large arguments properly.
30003 * math/libm-test.inc (atan_test): New tests.
30004 (atan2_test): New tests.
30005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30008 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30011 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30014 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30015 [POSIX] (EADDRNOTAVAIL): Likewise.
30016 [POSIX] (EAFNOSUPPORT): Likewise.
30017 [POSIX] (EALREADY): Likewise.
30018 [POSIX] (ECONNABORTED): Likewise.
30019 [POSIX] (ECONNREFUSED): Likewise.
30020 [POSIX] (ECONNRESET): Likewise.
30021 [POSIX] (EDESTADDRREQ): Likewise.
30022 [POSIX] (EDQUOT): Likewise.
30023 [POSIX] (EHOSTUNREACH): Likewise.
30024 [POSIX] (EIDRM): Likewise.
30025 [POSIX] (EISCONN): Likewise.
30026 [POSIX] (ELOOP): Likewise.
30027 [POSIX] (EMULTIHOP): Likewise.
30028 [POSIX] (ENETDOWN): Likewise.
30029 [POSIX] (ENETUNREACH): Likewise.
30030 [POSIX] (ENOBUFS): Likewise.
30031 [POSIX] (ENODATA): Likewise.
30032 [POSIX] (ENOLINK): Likewise.
30033 [POSIX] (ENOMSG): Likewise.
30034 [POSIX] (ENOPROTOOPT): Likewise.
30035 [POSIX] (ENOSR): Likewise.
30036 [POSIX] (ENOSTR): Likewise.
30037 [POSIX] (ENOTCONN): Likewise.
30038 [POSIX] (ENOTSOCK): Likewise.
30039 [POSIX] (EOPNOTSUPP): Likewise.
30040 [POSIX] (EOVERFLOW): Likewise.
30041 [POSIX] (EPROTO): Likewise.
30042 [POSIX] (EPROTONOSUPPORT): Likewise.
30043 [POSIX] (EPROTOTYPE): Likewise.
30044 [POSIX] (ESTALE): Likewise.
30045 [POSIX] (ETIME): Likewise.
30046 [POSIX] (ETXTBSY): Likewise.
30047 [POSIX] (EWOULDBLOCK): Likewise.
30048 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30049 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30050 [POSIX] (SEEK_CUR): Likewise.
30051 [POSIX] (SEEK_END): Likewise.
30052 [POSIX || UNIX98] (mode_t): Do not require.
30053 [POSIX] (off_t): Likewise.
30054 [POSIX] (pid_t): Likewise.
30055 [POSIX] (sys/stat.h): Do not allow header.
30056 [POSIX] (unistd.h): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30058 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30059 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30060 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30062 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30063 sigevent): Specify elements.
30064 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30066 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30067 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30069 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30070 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30071 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30072 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30073 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30074 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30075 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30076 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30077 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30078 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30079 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30080 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30081 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30082 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30084 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30086 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30088 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30090 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30091 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30092 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30093 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30095 Specify lower bound on value.
30096 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30098 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30102 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30103 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30105 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30107 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30111 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30112 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30113 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30114 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30117 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30118 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30119 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30120 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30121 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30122 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30124 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30126 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30127 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30128 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30129 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30130 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30131 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30133 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30134 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30135 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30136 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30137 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30138 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30139 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30141 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30142 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30143 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30144 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30145 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30146 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30147 specify as optional.
30148 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30149 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30150 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30151 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30152 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30153 [XPG3] (NL_LANGMAX): Likewise.
30154 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30155 [POSIX || XPG3] (NL_NMAX): Likewise.
30156 [POSIX || XPG3] (NL_SETMAX): Likewise.
30157 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30158 [XPG3] (NZERO): Likewise.
30159 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30160 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30161 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30162 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30163 (REG_ERANGE): Expect.
30164 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30166 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30167 Use (void) in prototype.
30168 [POSIX] (*_t): Allow.
30169 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30170 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30171 (WRDE_BADVAL): Expect.
30173 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30175 [XPG3 || XPG4] (O_RSYNC): Likewise.
30176 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30178 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30179 [XPG3 || XPG4] (sigqueue): Likewise.
30180 [XPG3 || XPG4] (sigtimedwait): Likewise.
30181 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30182 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30183 [XPG3 || XPG4] (vsnprintf): Likewise.
30184 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30186 [XPG3 || XPG4] (blksize_t): Likewise.
30187 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30189 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30190 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30191 [XPG3 || XPG4] (struct itimerspec): Likewise.
30192 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30193 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30194 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30195 [XPG3 || XPG4] (clockid_t): Likewise.
30196 [XPG3 || XPG4] (timer_t): Likewise.
30197 [XPG3 || XPG4] (clock_getres): Likewise.
30198 [XPG3 || XPG4] (clock_gettime): Likewise.
30199 [XPG3 || XPG4] (clock_settime): Likewise.
30200 [XPG3 || XPG4] (nanosleep): Likewise.
30201 [XPG3 || XPG4] (timer_create): Likewise.
30202 [XPG3 || XPG4] (timer_delete): Likewise.
30203 [XPG3 || XPG4] (timer_gettime): Likewise.
30204 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30205 [XPG3 || XPG4] (timer_settime): Likewise.
30206 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30207 [XPG3 || XPG4] (getlogin_r): Likewise.
30208 [XPG3 || XPG4] (pread): Likewise.
30209 [XPG3 || XPG4] (pthread_atfork): Likewise.
30210 [XPG3 || XPG4] (pwrite): Likewise.
30213 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30216 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30218 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30219 finalizing MALLSTREAM.
30221 * sysdeps/mach/hurd/syncfs.c: New file.
30223 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30226 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30227 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30228 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30229 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30230 (_nss_dns_gethostbyname4_r): Likewise.
30231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30232 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30234 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30237 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30239 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30241 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30242 * elf/cache.c (print_entry): Print ",AArch64" for
30245 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30246 * elf/cache.c (print_entry): Print ",hard-float" for
30249 2012-11-18 David S. Miller <davem@davemloft.net>
30251 With help from Joseph Myers.
30252 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30254 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30256 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30257 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30259 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30260 * math/libm-test.inc (y0_test): New tests.
30261 (y1_test): New tests.
30262 * sysdeps/i386/fpu/libm-test-ulps: Update.
30263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30266 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30268 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30270 * configure: Regenerated.
30272 2012-11-17 David S. Miller <davem@davemloft.net>
30275 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30276 nonzero exponents with absolute value below 0x1p-128 to +/-
30279 2012-11-17 Joseph Myers <joseph@codesourcery.com>
30281 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30283 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30285 * posix/getconf-speclist.c: New file.
30286 * posix/posix-envs.def: Likewise.
30287 * posix/confstr.c (START_ENV_GROUP): New macro.
30288 (END_ENV_GROUP): Likewise.
30289 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30290 (KNOWN_PRESENT_ENV_STRING): Likewise.
30291 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30292 (UNKNOWN_ENVIRONMENT): Likewise.
30293 (confstr): Include posix-envs.def instead of handling
30294 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30295 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30296 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30297 (END_ENV_GROUP): Likewise.
30298 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30299 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30300 (UNKNOWN_ENVIRONMENT): Likewise.
30301 (__sysconf): Include posix-envs.def instead of handling associated
30302 cases directly here.
30303 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30304 preprocessing getconf-speclist.c rather than running getconf or
30305 generating empty file.
30307 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30309 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30311 2012-11-16 Andrej Lajovic <natrij@gmail.com>
30314 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30316 2012-11-16 David S. Miller <davem@davemloft.net>
30318 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30319 smaller than LDBL_EPSILON/2.0L, just return xm1.
30321 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30323 * elf/tst-array1.c (init): Set constructor priority to 1000.
30324 (fini): Set destructor priority to 1000.
30325 * elf/tst-array2dep.c: Likewise.
30327 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30330 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30331 (_IO_new_file_xsputn): Also return EOF if none of the input
30332 data was written when overflow failed.
30333 * libio/iopadn.c (_IO_padn): Likewise.
30334 * libio/iowpadn.c (_IO_wpadn): Likewise.
30335 * stdio-common/tst-put-error.c: Add copyright notice.
30336 (do_test): Add case for printing padded string.
30337 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30338 _IO_padn returned error.
30339 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30340 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30343 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30345 * libio/libioP.h: Add comment note that the references to C++
30346 bits are now obsolete.
30348 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30350 * math/libm-test.inc (check_complex): Use asprintf.
30352 2012-11-14 Joseph Myers <joseph@codesourcery.com>
30354 * debug/pcprofiledump.c (print_version): Update copyright year.
30355 * malloc/memusagestat.c (print_version): Likewise.
30357 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30360 * elf/Makefile (tests): Add tst-audit8.
30361 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30362 ($(objpfx)tst-audit8.out): New target.
30363 (tst-audit8-ENV): New variable.
30364 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30365 audit if l_reloc_result is NULL.
30366 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30367 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30368 * elf/tst-audit8.c: New file.
30370 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30372 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30373 * misc/Makefile (CFLAGS-select.c): Define.
30374 * posix/Makefile (CFLAGS-pause.c): Define.
30376 2012-11-13 David S. Miller <davem@davemloft.net>
30378 * crypt/Makefile: Move test targets after toplevel Rules
30379 inclusion. Grab any necessary sysdep routines when linking.
30380 * crypt/md5.c (md5_process_block): Remove define, we will always
30381 name it __md5_process_block.
30382 (md5_finish_ctx): Update md5_process_block call.
30383 (md5_stream): Likewise.
30384 (md5_process_bytes): Likewise.
30385 (md5_process_block): Rename to __md5_process_block and move to ...
30386 * crypt/md5-block.c: ... here.
30387 * crypt/sha256.c (sha256_process_block): Move to ...
30388 * crypt/sha256-block.c: ... here.
30389 * crypt/sha512.c (sha512_process_block): Move to ...
30390 * crypt/sha512-block.c: ... here.
30391 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30393 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30394 * sysdeps/sparc/sparc64/multiarch/Makefile
30395 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30397 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30400 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30401 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30402 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30403 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30404 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30405 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30406 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30407 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30408 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30410 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30411 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30413 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30415 2012-11-13 Joseph Myers <joseph@codesourcery.com>
30417 * timezone/tzselect.ksh: Update from tzcode git revision
30418 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30419 * timezone/zdump.c: Likewise.
30420 * timezone/zic.c: Likewise.
30421 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30422 in TZVERSION setting, not $(PKGVERSION).
30423 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30424 REPORT_BUGS_TO settings.
30427 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30430 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30432 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30433 detection to immediately after _FP_ROUND().
30434 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30437 2012-11-11 David S. Miller <davem@davemloft.net>
30439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30441 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30442 __close rather than their public counterparts.
30444 2012-11-10 Joseph Myers <joseph@codesourcery.com>
30446 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30448 [UNIX98] (sem_timedwait): Do not expect.
30449 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30450 [XPG4 || UNIX98] (sockatmark): Do not expect.
30451 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30452 (clock_getcpuclockid): Do not expect.
30453 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30454 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30456 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30457 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30458 [UNIX98] (vwscanf): Likewise.
30459 [UNIX98] (vswscanf): Likewise.
30461 2012-11-09 Joseph Myers <joseph@codesourcery.com>
30463 * timezone/version.h: Remove file.
30464 * timezone/README: Do not refer to version.h.
30465 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30466 $(objpfx)version.h.
30467 ($(objpfx)zdump.o): Likewise.
30468 ($(objpfx)version.h): New target.
30470 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30472 * timezone/README: Don't mention modification to tzselect.ksh.
30473 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30474 work on unmodified tzselect.ksh. Substitute version numbers in
30477 * Makefile (format-me): Remove.
30478 (INSTALL): Adjust indentation. Use commands directly instead of
30479 using $(format-me).
30481 * aclocal.m4 (ACX_PKGVERSION): New macro.
30482 (ACX_BUGURL): Likewise.
30483 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30484 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30485 (REPORT_BUGS_TO): Likewise.
30486 * configure: Regenerated.
30487 * config.h.in (PKGVERSION): New macro.
30488 (REPORT_BUGS_TO): Likewise.
30489 * config.make.in (PKGVERSION): New variable.
30490 (PKGVERSION_TEXI): Likewise.
30491 (REPORT_BUGS_TO): Likewise.
30492 (REPORT_BUGS_TEXI): Likewise.
30493 * Makefile (format-me): Use -I$(common-objpfx)manual.
30494 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30495 ($(common-objpfx)manual/%): New target.
30496 (manual/%): Remove target.
30497 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30498 (print_version): Use PKGVERSION.
30499 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30500 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30501 and REPORT_BUGS_TO.
30502 ($(objpfx)xtrace): Likewise.
30503 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30504 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30505 (print_version): Use PKGVERSION.
30506 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30507 (do_version): Use PKGVERSION.
30508 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30510 (common-ldd-rewrite): Likewise.
30511 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30512 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30513 (print_version): Use PKGVERSION.
30514 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30515 * elf/pldd.c (argp_program_bug_address): Remove variable.
30516 (more_help): New function.
30517 (argp): Use more_help.
30518 (print_version): Use PKGVERSION.
30519 * elf/sln.c (main): Use PKGVERSION.
30520 (usage): Use REPORT_BUGS_TO.
30521 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30522 (top level): Use PKGVERSION.
30523 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30524 (print_version): Use PKGVERSION.
30525 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30526 (print_version): Use PKGVERSION.
30527 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30528 (print_version): Use PKGVERSION.
30529 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30530 (print_version): Use PKGVERSION.
30531 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30532 (print_version): Use PKGVERSION.
30533 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30534 (print_version): Use PKGVERSION.
30535 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30537 ($(objpfx)memusage): Likewise.
30538 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30539 (do_version): Use PKGVERSION.
30540 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30541 (print_version): Use PKGVERSION.
30542 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30543 ($PKGVERSION): New variable.
30544 ($REPORT_BUGS_TO): Likewise.
30545 (usage): Use $REPORT_BUGS_TO.
30546 (top level): Use $PKGVERSION.
30547 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30548 ($(objpfx)pkgvers.texi): New rule.
30549 ($(objpfx)stamp-pkgvers): Likewise.
30550 * manual/install.texi: Include pkgvers.texi.
30551 (--with-pkgversion): Document new configure option.
30552 (--with-bugurl): Likewise.
30553 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30554 than necessarily for this particular distribution. Use
30555 REPORT_BUGS_TO for where to report bugs.
30556 * INSTALL: Regenerated.
30557 * manual/libc.texinfo: Include pkgvers.texi.
30558 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30559 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30560 (print_version): Use PKGVERSION.
30561 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30562 (print_version): Use PKGVERSION.
30563 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30564 (print_version): Use PKGVERSION.
30565 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30566 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30568 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30569 (print_version): Use PKGVERSION.
30570 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30571 (print_version): Use PKGVERSION.
30572 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30575 * timezone/checktab.awk: Update from tzcode 2012i.
30576 * timezone/ialloc.c: Likewise.
30577 * timezone/private.h: Likewise.
30578 * timezone/scheck.c: Likewise.
30579 * timezone/tzfile.h: Likewise.
30580 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30581 (TZVERSION): Hardcode tzcode version number.
30582 * timezone/zdump.c: Update from tzcode 2012i.
30583 * timezone/zic.c: Likewise.
30584 * timezone/version.h: New file.
30585 * timezone/README: Describe version.h. Update upstream location.
30588 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30589 (mktemp): Enable declaration.
30590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30591 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30607 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30608 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30609 for copies of such integer values.
30610 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30611 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30613 2012-11-09 Andreas Jaeger <aj@suse.de>
30615 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30616 definitions and declarations that are provided by
30617 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30619 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30621 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30622 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30623 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30626 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30628 * elf/elf.h: Update comment before AArch64 relocations.
30630 2012-11-07 David S. Miller <davem@davemloft.net>
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30633 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30634 (__start_context): Declare.
30635 (__makecontext_ret): Delete.
30636 (__makecontext): Hook up __start_context instead of
30638 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30639 (sysdep_routines): Add __start_context when in stdlib.
30641 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30643 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30644 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30645 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30647 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30648 (READELF): New variable. Use it instead of hardcoded "readelf".
30650 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30652 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30653 * sysdeps/x86/Makefile: Here.
30654 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30655 * sysdeps/x86/tst-xmmymm.sh: This.
30657 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30659 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30661 [UNIX98] (pthread_barrier_t): Do not expect.
30662 [UNIX98] (pthread_barrierattr_t): Likewise.
30663 [UNIX98] (pthread_spinlock_t): Likewise.
30664 [UNIX98] (pthread_barrier_destroy): Likewise.
30665 [UNIX98] (pthread_barrier_init): Likewise.
30666 [UNIX98] (pthread_barrier_wait): Likewise.
30667 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30668 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30669 [UNIX98] (pthread_barrierattr_init): Likewise.
30670 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30671 [UNIX98] (pthread_getcpuclockid): Likewise.
30672 [UNIX98] (pthread_mutex_timedlock): Likewise.
30673 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30674 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30675 [UNIX98] (pthread_sigmask): Likewise.
30676 [UNIX98] (pthread_spin_destroy): Likewise.
30677 [UNIX98] (pthread_spin_init): Likewise.
30678 [UNIX98] (pthread_spin_lock): Likewise.
30679 [UNIX98] (pthread_spin_trylock): Likewise.
30680 [UNIX98] (pthread_spin_unlock): Likewise.
30681 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30683 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30685 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30686 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30687 [XPG3 || XPG4] (pthread_key_t): Likewise.
30688 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30689 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30690 [XPG3 || XPG4] (pthread_once_t): Likewise.
30691 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30692 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30694 [XPG3 || XPG4] (pthread_t): Likewise.
30696 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30698 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30700 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30701 Change function return type to int.
30703 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30704 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30705 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30706 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30707 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30708 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30709 [!POSIX] (posix_madvise): Likewise.
30710 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30712 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30713 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30714 (mode_t): Likewise.
30715 (posix_mem_offset): Likewise.
30716 (posix_typed_mem_get_info): Likewise.
30717 (posix_typed_mem_open): Likewise.
30719 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30720 Change condition to [XOPEN2K8].
30722 * conform/conformtest.pl: Preprocess allow-header data with -x c
30723 instead of from stdin.
30724 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30725 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30726 [C99-based standards] (cerfc): Likewise.
30727 [C99-based standards] (cexp2): Likewise.
30728 [C99-based standards] (cexpm1): Likewise.
30729 [C99-based standards] (clog10): Likewise.
30730 [C99-based standards] (clog1p): Likewise.
30731 [C99-based standards] (clog2): Likewise.
30732 [C99-based standards] (clgamma): Likewise.
30733 [C99-based standards] (ctgamma): Likewise.
30734 [C99-based standards] (cerff): Likewise.
30735 [C99-based standards] (cerfcf): Likewise.
30736 [C99-based standards] (cexp2f): Likewise.
30737 [C99-based standards] (cexpm1f): Likewise.
30738 [C99-based standards] (clog10f): Likewise.
30739 [C99-based standards] (clog1pf): Likewise.
30740 [C99-based standards] (clog2f): Likewise.
30741 [C99-based standards] (clgammaf): Likewise.
30742 [C99-based standards] (ctgammaf): Likewise.
30743 [C99-based standards] (cerfl): Likewise.
30744 [C99-based standards] (cerfcl): Likewise.
30745 [C99-based standards] (cexp2l): Likewise.
30746 [C99-based standards] (cexpm1l): Likewise.
30747 [C99-based standards] (clog10l): Likewise.
30748 [C99-based standards] (clog1pl): Likewise.
30749 [C99-based standards] (clog2l): Likewise.
30750 [C99-based standards] (clgammal): Likewise.
30751 [C99-based standards] (ctgammal): Likewise.
30752 * conform/data/inttypes.h-data [C99-based standards]: Include
30753 stdint.h-data. Remove all expectations for stdint.h contents.
30754 [C99-based standards] (PRI*): Do not allow.
30755 [C99-based standards] (SCN*): Likewise.
30756 [C99-based standards] (*_t): Likewise.
30757 [C99-based-standards] (PRId8): Expect macro.
30758 [C99-based-standards] (PRIi8): Likewise.
30759 [C99-based-standards] (PRIo8): Likewise.
30760 [C99-based-standards] (PRIu8): Likewise.
30761 [C99-based-standards] (PRIx8): Likewise.
30762 [C99-based-standards] (PRIX8): Likewise.
30763 [C99-based-standards] (SCNd8): Likewise.
30764 [C99-based-standards] (SCNi8): Likewise.
30765 [C99-based-standards] (SCNo8): Likewise.
30766 [C99-based-standards] (SCNu8): Likewise.
30767 [C99-based-standards] (SCNx8): Likewise.
30768 [C99-based-standards] (PRIdLEAST8): Likewise.
30769 [C99-based-standards] (PRIiLEAST8): Likewise.
30770 [C99-based-standards] (PRIoLEAST8): Likewise.
30771 [C99-based-standards] (PRIuLEAST8): Likewise.
30772 [C99-based-standards] (PRIxLEAST8): Likewise.
30773 [C99-based-standards] (PRIXLEAST8): Likewise.
30774 [C99-based-standards] (SCNdLEAST8): Likewise.
30775 [C99-based-standards] (SCNiLEAST8): Likewise.
30776 [C99-based-standards] (SCNoLEAST8): Likewise.
30777 [C99-based-standards] (SCNuLEAST8): Likewise.
30778 [C99-based-standards] (SCNxLEAST8): Likewise.
30779 [C99-based-standards] (PRIdFAST8): Likewise.
30780 [C99-based-standards] (PRIiFAST8): Likewise.
30781 [C99-based-standards] (PRIoFAST8): Likewise.
30782 [C99-based-standards] (PRIuFAST8): Likewise.
30783 [C99-based-standards] (PRIxFAST8): Likewise.
30784 [C99-based-standards] (PRIXFAST8): Likewise.
30785 [C99-based-standards] (SCNdFAST8): Likewise.
30786 [C99-based-standards] (SCNiFAST8): Likewise.
30787 [C99-based-standards] (SCNoFAST8): Likewise.
30788 [C99-based-standards] (SCNuFAST8): Likewise.
30789 [C99-based-standards] (SCNxFAST8): Likewise.
30790 [C99-based-standards] (PRId16): Likewise.
30791 [C99-based-standards] (PRIi16): Likewise.
30792 [C99-based-standards] (PRIo16): Likewise.
30793 [C99-based-standards] (PRIu16): Likewise.
30794 [C99-based-standards] (PRIx16): Likewise.
30795 [C99-based-standards] (PRIX16): Likewise.
30796 [C99-based-standards] (SCNd16): Likewise.
30797 [C99-based-standards] (SCNi16): Likewise.
30798 [C99-based-standards] (SCNo16): Likewise.
30799 [C99-based-standards] (SCNu16): Likewise.
30800 [C99-based-standards] (SCNx16): Likewise.
30801 [C99-based-standards] (PRIdLEAST16): Likewise.
30802 [C99-based-standards] (PRIiLEAST16): Likewise.
30803 [C99-based-standards] (PRIoLEAST16): Likewise.
30804 [C99-based-standards] (PRIuLEAST16): Likewise.
30805 [C99-based-standards] (PRIxLEAST16): Likewise.
30806 [C99-based-standards] (PRIXLEAST16): Likewise.
30807 [C99-based-standards] (SCNdLEAST16): Likewise.
30808 [C99-based-standards] (SCNiLEAST16): Likewise.
30809 [C99-based-standards] (SCNoLEAST16): Likewise.
30810 [C99-based-standards] (SCNuLEAST16): Likewise.
30811 [C99-based-standards] (SCNxLEAST16): Likewise.
30812 [C99-based-standards] (PRIdFAST16): Likewise.
30813 [C99-based-standards] (PRIiFAST16): Likewise.
30814 [C99-based-standards] (PRIoFAST16): Likewise.
30815 [C99-based-standards] (PRIuFAST16): Likewise.
30816 [C99-based-standards] (PRIxFAST16): Likewise.
30817 [C99-based-standards] (PRIXFAST16): Likewise.
30818 [C99-based-standards] (SCNdFAST16): Likewise.
30819 [C99-based-standards] (SCNiFAST16): Likewise.
30820 [C99-based-standards] (SCNoFAST16): Likewise.
30821 [C99-based-standards] (SCNuFAST16): Likewise.
30822 [C99-based-standards] (SCNxFAST16): Likewise.
30823 [C99-based-standards] (PRId32): Likewise.
30824 [C99-based-standards] (PRIi32): Likewise.
30825 [C99-based-standards] (PRIo32): Likewise.
30826 [C99-based-standards] (PRIu32): Likewise.
30827 [C99-based-standards] (PRIx32): Likewise.
30828 [C99-based-standards] (PRIX32): Likewise.
30829 [C99-based-standards] (SCNd32): Likewise.
30830 [C99-based-standards] (SCNi32): Likewise.
30831 [C99-based-standards] (SCNo32): Likewise.
30832 [C99-based-standards] (SCNu32): Likewise.
30833 [C99-based-standards] (SCNx32): Likewise.
30834 [C99-based-standards] (PRIdLEAST32): Likewise.
30835 [C99-based-standards] (PRIiLEAST32): Likewise.
30836 [C99-based-standards] (PRIoLEAST32): Likewise.
30837 [C99-based-standards] (PRIuLEAST32): Likewise.
30838 [C99-based-standards] (PRIxLEAST32): Likewise.
30839 [C99-based-standards] (PRIXLEAST32): Likewise.
30840 [C99-based-standards] (SCNdLEAST32): Likewise.
30841 [C99-based-standards] (SCNiLEAST32): Likewise.
30842 [C99-based-standards] (SCNoLEAST32): Likewise.
30843 [C99-based-standards] (SCNuLEAST32): Likewise.
30844 [C99-based-standards] (SCNxLEAST32): Likewise.
30845 [C99-based-standards] (PRIdFAST32): Likewise.
30846 [C99-based-standards] (PRIiFAST32): Likewise.
30847 [C99-based-standards] (PRIoFAST32): Likewise.
30848 [C99-based-standards] (PRIuFAST32): Likewise.
30849 [C99-based-standards] (PRIxFAST32): Likewise.
30850 [C99-based-standards] (PRIXFAST32): Likewise.
30851 [C99-based-standards] (SCNdFAST32): Likewise.
30852 [C99-based-standards] (SCNiFAST32): Likewise.
30853 [C99-based-standards] (SCNoFAST32): Likewise.
30854 [C99-based-standards] (SCNuFAST32): Likewise.
30855 [C99-based-standards] (SCNxFAST32): Likewise.
30856 [C99-based-standards] (PRId64): Likewise.
30857 [C99-based-standards] (PRIi64): Likewise.
30858 [C99-based-standards] (PRIo64): Likewise.
30859 [C99-based-standards] (PRIu64): Likewise.
30860 [C99-based-standards] (PRIx64): Likewise.
30861 [C99-based-standards] (PRIX64): Likewise.
30862 [C99-based-standards] (SCNd64): Likewise.
30863 [C99-based-standards] (SCNi64): Likewise.
30864 [C99-based-standards] (SCNo64): Likewise.
30865 [C99-based-standards] (SCNu64): Likewise.
30866 [C99-based-standards] (SCNx64): Likewise.
30867 [C99-based-standards] (PRIdLEAST64): Likewise.
30868 [C99-based-standards] (PRIiLEAST64): Likewise.
30869 [C99-based-standards] (PRIoLEAST64): Likewise.
30870 [C99-based-standards] (PRIuLEAST64): Likewise.
30871 [C99-based-standards] (PRIxLEAST64): Likewise.
30872 [C99-based-standards] (PRIXLEAST64): Likewise.
30873 [C99-based-standards] (SCNdLEAST64): Likewise.
30874 [C99-based-standards] (SCNiLEAST64): Likewise.
30875 [C99-based-standards] (SCNoLEAST64): Likewise.
30876 [C99-based-standards] (SCNuLEAST64): Likewise.
30877 [C99-based-standards] (SCNxLEAST64): Likewise.
30878 [C99-based-standards] (PRIdFAST64): Likewise.
30879 [C99-based-standards] (PRIiFAST64): Likewise.
30880 [C99-based-standards] (PRIoFAST64): Likewise.
30881 [C99-based-standards] (PRIuFAST64): Likewise.
30882 [C99-based-standards] (PRIxFAST64): Likewise.
30883 [C99-based-standards] (PRIXFAST64): Likewise.
30884 [C99-based-standards] (SCNdFAST64): Likewise.
30885 [C99-based-standards] (SCNiFAST64): Likewise.
30886 [C99-based-standards] (SCNoFAST64): Likewise.
30887 [C99-based-standards] (SCNuFAST64): Likewise.
30888 [C99-based-standards] (SCNxFAST64): Likewise.
30889 [C99-based-standards] (PRIdMAX): Likewise.
30890 [C99-based-standards] (PRIiMAX): Likewise.
30891 [C99-based-standards] (PRIoMAX): Likewise.
30892 [C99-based-standards] (PRIuMAX): Likewise.
30893 [C99-based-standards] (PRIxMAX): Likewise.
30894 [C99-based-standards] (PRIXMAX): Likewise.
30895 [C99-based-standards] (SCNdMAX): Likewise.
30896 [C99-based-standards] (SCNiMAX): Likewise.
30897 [C99-based-standards] (SCNoMAX): Likewise.
30898 [C99-based-standards] (SCNuMAX): Likewise.
30899 [C99-based-standards] (SCNxMAX): Likewise.
30900 [C99-based-standards] (PRIdPTR): Likewise.
30901 [C99-based-standards] (PRIiPTR): Likewise.
30902 [C99-based-standards] (PRIoPTR): Likewise.
30903 [C99-based-standards] (PRIuPTR): Likewise.
30904 [C99-based-standards] (PRIxPTR): Likewise.
30905 [C99-based-standards] (PRIXPTR): Likewise.
30906 [C99-based-standards] (SCNdPTR): Likewise.
30907 [C99-based-standards] (SCNiPTR): Likewise.
30908 [C99-based-standards] (SCNoPTR): Likewise.
30909 [C99-based-standards] (SCNuPTR): Likewise.
30910 [C99-based-standards] (SCNxPTR): Likewise.
30911 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30913 * conform/data/stdint.h-data: Update comments to clarify
30915 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30917 [C99-based standards] (INT8_MAX): Likewise.
30918 [C99-based standards] (INT16_MIN): Likewise.
30919 [C99-based standards] (INT16_MAX): Likewise.
30920 [C99-based standards] (INT32_MIN): Likewise.
30921 [C99-based standards] (INT32_MAX): Likewise.
30922 [C99-based standards] (INT64_MIN): Likewise.
30923 [C99-based standards] (INT64_MAX): Likewise.
30924 [C99-based standards] (UINT8_MAX): Likewise.
30925 [C99-based standards] (UINT16_MAX): Likewise.
30926 [C99-based standards] (UINT32_MAX): Likewise.
30927 [C99-based standards] (UINT64_MAX): Likewise.
30928 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30929 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30930 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30931 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30932 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30933 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30934 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30935 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30936 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30937 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30938 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30939 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30940 [C99-based standards] (INT_FAST8_MIN): Likewise.
30941 [C99-based standards] (INT_FAST8_MAX): Likewise.
30942 [C99-based standards] (INT_FAST16_MIN): Likewise.
30943 [C99-based standards] (INT_FAST16_MAX): Likewise.
30944 [C99-based standards] (INT_FAST32_MIN): Likewise.
30945 [C99-based standards] (INT_FAST32_MAX): Likewise.
30946 [C99-based standards] (INT_FAST64_MIN): Likewise.
30947 [C99-based standards] (INT_FAST64_MAX): Likewise.
30948 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30949 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30950 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30951 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30952 [C99-based standards] (INTPTR_MIN): Likewise.
30953 [C99-based standards] (INTPTR_MAX): Likewise.
30954 [C99-based standards] (UINTPTR_MAX): Likewise.
30955 [C99-based standards] (INTMAX_MIN): Likewise.
30956 [C99-based standards] (INTMAX_MAX): Likewise.
30957 [C99-based standards] (UINTMAX_MAX): Likewise.
30958 [C99-based standards] (PTRDIFF_MIN): Likewise.
30959 [C99-based standards] (PTRDIFF_MAX): Likewise.
30960 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30961 [C99-based standards] (SIZE_MAX): Likewise.
30962 [C99-based standards] (WCHAR_MAX): Likewise.
30963 [C99-based standards] (WINT_MAX): Likewise.
30964 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30965 constraint on value.
30966 [C99-based standards] (WCHAR_MIN): Likewise.
30967 [C99-based standards] (WINT_MIN): Likewise.
30968 [C99-based standards] (*_t): Allow.
30969 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30970 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30971 Include math.h-data and complex.h-data. Remove all expectations
30972 of math.h and complex.h contents.
30973 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30975 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30976 (struct tm): Expect tag.
30977 [C99-based-standards] (wcstof): Expect function.
30978 [C99-based-standards] (wcstold): Likewise.
30979 [C99-based-standards] (wcstoll): Likewise.
30980 [C99-based-standards] (wcstoull): Likewise.
30981 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30982 macro-int-constant. Specify type.
30983 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30984 constraint on value.
30985 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30987 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30989 [ISO C standards]: Do not allow headers.
30990 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30991 wcs[abcdefghijklmnopqrstuvwxyz]*.
30992 [ISO C standards] (*_t): Do not allow.
30993 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30995 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30996 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30998 [ISO C standards]: Do not allow headers.
30999 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31000 is[abcdefghijklmnopqrstuvwxyz]*.
31001 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31002 to[abcdefghijklmnopqrstuvwxyz]*.
31003 [ISO C standards] (*_t): Do not allow.
31004 * conform/data/stdalign.h-data: New file.
31005 * conform/data/stdbool.h-data: Likewise.
31006 * conform/data/stdnoreturn.h-data: Likewise.
31008 2012-11-07 Roland McGrath <roland@hack.frob.com>
31011 * manual/filesys.texi (Directory Entries): Typo fix.
31012 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31014 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31016 * elf/elf.h (EM_AARCH64): New macro.
31017 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31018 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31019 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31020 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31021 (R_AARCH64_TLSDESC): Likewise.
31022 (NT_ARM_TLS): Likewise.
31023 (NT_ARM_HW_BREAK): Likewise.
31024 (NT_ARM_HW_WATCH): Likewise.
31026 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31029 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31030 (__ieee754_powl): Saturate nonzero exponents with absolute value
31031 below 0x1p-79 to +/- 0x1p-79.
31032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31033 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31034 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31035 nonzero exponents with absolute value below 0x1p-32 to +/-
31037 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31038 (__ieee754_powl): Saturate nonzero exponents with absolute value
31039 below 0x1p-79 to +/- 0x1p-79.
31040 * math/libm-test.inc (pow_test): Add more tests.
31042 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31044 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31045 _dl_s390_cap_flags with kernel. Increase string length.
31046 (_dl_s390_platforms): Add z196 and zEC12.
31048 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31050 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31051 Change XOPEN21K to XOPEN2K.
31053 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31055 * string/memmove.c: Use memcpy when possible.
31057 2012-11-06 Andreas Jaeger <aj@suse.de>
31059 * po/eo.po: Update from translation team.
31061 2012-11-06 Joseph Myers <joseph@codesourcery.com>
31064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31065 exponent and small x and y exponents, scale x or y up. Increase
31066 by 2 the exponent used in scaling up.
31067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31069 * math/libm-test.inc (fma_test): Add more tests.
31070 (fma_test_towardzero): Likewise.
31071 (fma_test_downward): Likewise.
31072 (fma_test_upward): Likewise.
31074 2012-11-05 Joseph Myers <joseph@codesourcery.com>
31077 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31081 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31082 namespace for names of struct fields.
31083 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31085 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31086 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31088 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31091 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31093 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31095 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31099 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31102 2012-11-04 Joseph Myers <joseph@codesourcery.com>
31105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31106 definitely overflow as x * y not x * y + z.
31107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31109 * math/libm-test.inc (fma_test): Add more tests.
31110 (fma_test_towardzero): Likewise.
31111 (fma_test_downward): Likewise.
31112 (fma_test_upward): Likewise.
31114 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31118 * include/stub-tag.h: Remove file.
31119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31121 * manual/maint.texi (Porting): Don't reference it.
31122 * Makerules ($(objpfx)stubs): Likewise.
31123 * dirent/closedir.c: Don't include <stub-tag.h>.
31124 * dirent/dirfd.c: Likewise.
31125 * dirent/fdopendir.c: Likewise.
31126 * dirent/getdents.c: Likewise.
31127 * dirent/getdents64.c: Likewise.
31128 * dirent/opendir.c: Likewise.
31129 * dirent/readdir.c: Likewise.
31130 * dirent/readdir64.c: Likewise.
31131 * dirent/readdir64_r.c: Likewise.
31132 * dirent/readdir_r.c: Likewise.
31133 * dirent/rewinddir.c: Likewise.
31134 * dirent/seekdir.c: Likewise.
31135 * dirent/telldir.c: Likewise.
31136 * gmon/profil.c: Likewise.
31137 * grp/setgroups.c: Likewise.
31138 * inet/if_index.c: Likewise.
31139 * io/access.c: Likewise.
31140 * io/chdir.c: Likewise.
31141 * io/chmod.c: Likewise.
31142 * io/chown.c: Likewise.
31143 * io/close.c: Likewise.
31144 * io/dup.c: Likewise.
31145 * io/dup2.c: Likewise.
31146 * io/dup3.c: Likewise.
31147 * io/euidaccess.c: Likewise.
31148 * io/faccessat.c: Likewise.
31149 * io/fchdir.c: Likewise.
31150 * io/fchmod.c: Likewise.
31151 * io/fchmodat.c: Likewise.
31152 * io/fchown.c: Likewise.
31153 * io/fchownat.c: Likewise.
31154 * io/fcntl.c: Likewise.
31155 * io/flock.c: Likewise.
31156 * io/fstatfs.c: Likewise.
31157 * io/fstatfs64.c: Likewise.
31158 * io/fstatvfs.c: Likewise.
31159 * io/fstatvfs64.c: Likewise.
31160 * io/futimens.c: Likewise.
31161 * io/fxstat.c: Likewise.
31162 * io/fxstat64.c: Likewise.
31163 * io/fxstatat.c: Likewise.
31164 * io/fxstatat64.c: Likewise.
31165 * io/getcwd.c: Likewise.
31166 * io/isatty.c: Likewise.
31167 * io/lchmod.c: Likewise.
31168 * io/lchown.c: Likewise.
31169 * io/link.c: Likewise.
31170 * io/linkat.c: Likewise.
31171 * io/lseek.c: Likewise.
31172 * io/lseek64.c: Likewise.
31173 * io/lxstat64.c: Likewise.
31174 * io/mkdir.c: Likewise.
31175 * io/mkdirat.c: Likewise.
31176 * io/mkfifo.c: Likewise.
31177 * io/mkfifoat.c: Likewise.
31178 * io/open.c: Likewise.
31179 * io/open64.c: Likewise.
31180 * io/openat.c: Likewise.
31181 * io/openat64.c: Likewise.
31182 * io/pipe.c: Likewise.
31183 * io/pipe2.c: Likewise.
31184 * io/poll.c: Likewise.
31185 * io/posix_fadvise.c: Likewise.
31186 * io/posix_fadvise64.c: Likewise.
31187 * io/posix_fallocate.c: Likewise.
31188 * io/posix_fallocate64.c: Likewise.
31189 * io/read.c: Likewise.
31190 * io/readlink.c: Likewise.
31191 * io/readlinkat.c: Likewise.
31192 * io/rmdir.c: Likewise.
31193 * io/sendfile.c: Likewise.
31194 * io/sendfile64.c: Likewise.
31195 * io/statfs.c: Likewise.
31196 * io/statfs64.c: Likewise.
31197 * io/statvfs.c: Likewise.
31198 * io/statvfs64.c: Likewise.
31199 * io/symlink.c: Likewise.
31200 * io/symlinkat.c: Likewise.
31201 * io/ttyname.c: Likewise.
31202 * io/ttyname_r.c: Likewise.
31203 * io/umask.c: Likewise.
31204 * io/unlink.c: Likewise.
31205 * io/unlinkat.c: Likewise.
31206 * io/utime.c: Likewise.
31207 * io/utimensat.c: Likewise.
31208 * io/write.c: Likewise.
31209 * io/xmknod.c: Likewise.
31210 * io/xmknodat.c: Likewise.
31211 * io/xstat.c: Likewise.
31212 * io/xstat64.c: Likewise.
31213 * login/getpt.c: Likewise.
31214 * login/grantpt.c: Likewise.
31215 * login/unlockpt.c: Likewise.
31216 * math/e_acoshl.c: Likewise.
31217 * math/e_acosl.c: Likewise.
31218 * math/e_asinl.c: Likewise.
31219 * math/e_atan2l.c: Likewise.
31220 * math/e_atanhl.c: Likewise.
31221 * math/e_coshl.c: Likewise.
31222 * math/e_expl.c: Likewise.
31223 * math/e_fmodl.c: Likewise.
31224 * math/e_gammal_r.c: Likewise.
31225 * math/e_hypotl.c: Likewise.
31226 * math/e_j0l.c: Likewise.
31227 * math/e_j1l.c: Likewise.
31228 * math/e_jnl.c: Likewise.
31229 * math/e_lgammal_r.c: Likewise.
31230 * math/e_log10l.c: Likewise.
31231 * math/e_log2l.c: Likewise.
31232 * math/e_logl.c: Likewise.
31233 * math/e_powl.c: Likewise.
31234 * math/e_rem_pio2l.c: Likewise.
31235 * math/e_sinhl.c: Likewise.
31236 * math/e_sqrtl.c: Likewise.
31237 * math/fclrexcpt.c: Likewise.
31238 * math/fedisblxcpt.c: Likewise.
31239 * math/feenablxcpt.c: Likewise.
31240 * math/fegetenv.c: Likewise.
31241 * math/fegetexcept.c: Likewise.
31242 * math/fegetround.c: Likewise.
31243 * math/feholdexcpt.c: Likewise.
31244 * math/fesetenv.c: Likewise.
31245 * math/fesetround.c: Likewise.
31246 * math/feupdateenv.c: Likewise.
31247 * math/fgetexcptflg.c: Likewise.
31248 * math/fraiseexcpt.c: Likewise.
31249 * math/fsetexcptflg.c: Likewise.
31250 * math/ftestexcept.c: Likewise.
31251 * math/k_cosl.c: Likewise.
31252 * math/k_rem_pio2l.c: Likewise.
31253 * math/k_sinl.c: Likewise.
31254 * math/k_tanl.c: Likewise.
31255 * math/s_asinhl.c: Likewise.
31256 * math/s_atanl.c: Likewise.
31257 * math/s_cbrtl.c: Likewise.
31258 * math/s_erfl.c: Likewise.
31259 * math/s_expm1l.c: Likewise.
31260 * math/s_log1pl.c: Likewise.
31261 * math/s_tanhl.c: Likewise.
31262 * misc/acct.c: Likewise.
31263 * misc/brk.c: Likewise.
31264 * misc/chflags.c: Likewise.
31265 * misc/chroot.c: Likewise.
31266 * misc/fchflags.c: Likewise.
31267 * misc/fgetxattr.c: Likewise.
31268 * misc/flistxattr.c: Likewise.
31269 * misc/fremovexattr.c: Likewise.
31270 * misc/fsetxattr.c: Likewise.
31271 * misc/fsync.c: Likewise.
31272 * misc/ftruncate.c: Likewise.
31273 * misc/futimes.c: Likewise.
31274 * misc/futimesat.c: Likewise.
31275 * misc/getdomain.c: Likewise.
31276 * misc/getdtsz.c: Likewise.
31277 * misc/gethostid.c: Likewise.
31278 * misc/gethostname.c: Likewise.
31279 * misc/getloadavg.c: Likewise.
31280 * misc/getpagesize.c: Likewise.
31281 * misc/getsysstats.c: Likewise.
31282 * misc/getxattr.c: Likewise.
31283 * misc/gtty.c: Likewise.
31284 * misc/ioctl.c: Likewise.
31285 * misc/lgetxattr.c: Likewise.
31286 * misc/listxattr.c: Likewise.
31287 * misc/llistxattr.c: Likewise.
31288 * misc/lremovexattr.c: Likewise.
31289 * misc/lsetxattr.c: Likewise.
31290 * misc/lutimes.c: Likewise.
31291 * misc/madvise.c: Likewise.
31292 * misc/mincore.c: Likewise.
31293 * misc/mlock.c: Likewise.
31294 * misc/mlockall.c: Likewise.
31295 * misc/mmap.c: Likewise.
31296 * misc/mprotect.c: Likewise.
31297 * misc/msync.c: Likewise.
31298 * misc/munlock.c: Likewise.
31299 * misc/munlockall.c: Likewise.
31300 * misc/munmap.c: Likewise.
31301 * misc/preadv.c: Likewise.
31302 * misc/preadv64.c: Likewise.
31303 * misc/ptrace.c: Likewise.
31304 * misc/pwritev.c: Likewise.
31305 * misc/pwritev64.c: Likewise.
31306 * misc/readv.c: Likewise.
31307 * misc/reboot.c: Likewise.
31308 * misc/remap_file_pages.c: Likewise.
31309 * misc/removexattr.c: Likewise.
31310 * misc/revoke.c: Likewise.
31311 * misc/select.c: Likewise.
31312 * misc/setdomain.c: Likewise.
31313 * misc/setegid.c: Likewise.
31314 * misc/seteuid.c: Likewise.
31315 * misc/sethostid.c: Likewise.
31316 * misc/sethostname.c: Likewise.
31317 * misc/setregid.c: Likewise.
31318 * misc/setreuid.c: Likewise.
31319 * misc/setxattr.c: Likewise.
31320 * misc/sstk.c: Likewise.
31321 * misc/stty.c: Likewise.
31322 * misc/swapoff.c: Likewise.
31323 * misc/swapon.c: Likewise.
31324 * misc/sync.c: Likewise.
31325 * misc/syncfs.c: Likewise.
31326 * misc/syscall.c: Likewise.
31327 * misc/truncate.c: Likewise.
31328 * misc/ualarm.c: Likewise.
31329 * misc/usleep.c: Likewise.
31330 * misc/ustat.c: Likewise.
31331 * misc/utimes.c: Likewise.
31332 * misc/vhangup.c: Likewise.
31333 * misc/writev.c: Likewise.
31334 * posix/_exit.c: Likewise.
31335 * posix/alarm.c: Likewise.
31336 * posix/execve.c: Likewise.
31337 * posix/fexecve.c: Likewise.
31338 * posix/fork.c: Likewise.
31339 * posix/fpathconf.c: Likewise.
31340 * posix/getaddrinfo.c: Likewise.
31341 * posix/getegid.c: Likewise.
31342 * posix/geteuid.c: Likewise.
31343 * posix/getgid.c: Likewise.
31344 * posix/getgroups.c: Likewise.
31345 * posix/getlogin.c: Likewise.
31346 * posix/getlogin_r.c: Likewise.
31347 * posix/getpgid.c: Likewise.
31348 * posix/getpid.c: Likewise.
31349 * posix/getppid.c: Likewise.
31350 * posix/getresgid.c: Likewise.
31351 * posix/getresuid.c: Likewise.
31352 * posix/getsid.c: Likewise.
31353 * posix/getuid.c: Likewise.
31354 * posix/glob64.c: Likewise.
31355 * posix/nanosleep.c: Likewise.
31356 * posix/pathconf.c: Likewise.
31357 * posix/pause.c: Likewise.
31358 * posix/posix_madvise.c: Likewise.
31359 * posix/pread.c: Likewise.
31360 * posix/pread64.c: Likewise.
31361 * posix/pwrite.c: Likewise.
31362 * posix/pwrite64.c: Likewise.
31363 * posix/sched_getaffinity.c: Likewise.
31364 * posix/sched_getp.c: Likewise.
31365 * posix/sched_gets.c: Likewise.
31366 * posix/sched_primax.c: Likewise.
31367 * posix/sched_primin.c: Likewise.
31368 * posix/sched_rr_gi.c: Likewise.
31369 * posix/sched_setaffinity.c: Likewise.
31370 * posix/sched_setp.c: Likewise.
31371 * posix/sched_sets.c: Likewise.
31372 * posix/sched_yield.c: Likewise.
31373 * posix/setgid.c: Likewise.
31374 * posix/setlogin.c: Likewise.
31375 * posix/setpgid.c: Likewise.
31376 * posix/setresgid.c: Likewise.
31377 * posix/setresuid.c: Likewise.
31378 * posix/setsid.c: Likewise.
31379 * posix/setuid.c: Likewise.
31380 * posix/sleep.c: Likewise.
31381 * posix/spawni.c: Likewise.
31382 * posix/sysconf.c: Likewise.
31383 * posix/times.c: Likewise.
31384 * posix/wait.c: Likewise.
31385 * posix/wait3.c: Likewise.
31386 * posix/wait4.c: Likewise.
31387 * posix/waitpid.c: Likewise.
31388 * resolv/gai_sigqueue.c: Likewise.
31389 * resource/getpriority.c: Likewise.
31390 * resource/getrlimit.c: Likewise.
31391 * resource/getrusage.c: Likewise.
31392 * resource/nice.c: Likewise.
31393 * resource/setpriority.c: Likewise.
31394 * resource/setrlimit.c: Likewise.
31395 * resource/ulimit.c: Likewise.
31396 * rt/aio_cancel.c: Likewise.
31397 * rt/aio_fsync.c: Likewise.
31398 * rt/aio_read.c: Likewise.
31399 * rt/aio_sigqueue.c: Likewise.
31400 * rt/aio_suspend.c: Likewise.
31401 * rt/aio_write.c: Likewise.
31402 * rt/clock_getres.c: Likewise.
31403 * rt/clock_gettime.c: Likewise.
31404 * rt/clock_nanosleep.c: Likewise.
31405 * rt/clock_settime.c: Likewise.
31406 * rt/lio_listio.c: Likewise.
31407 * rt/mq_close.c: Likewise.
31408 * rt/mq_getattr.c: Likewise.
31409 * rt/mq_notify.c: Likewise.
31410 * rt/mq_open.c: Likewise.
31411 * rt/mq_receive.c: Likewise.
31412 * rt/mq_send.c: Likewise.
31413 * rt/mq_setattr.c: Likewise.
31414 * rt/mq_timedreceive.c: Likewise.
31415 * rt/mq_timedsend.c: Likewise.
31416 * rt/mq_unlink.c: Likewise.
31417 * rt/shm_open.c: Likewise.
31418 * rt/shm_unlink.c: Likewise.
31419 * rt/timer_create.c: Likewise.
31420 * rt/timer_delete.c: Likewise.
31421 * rt/timer_getoverr.c: Likewise.
31422 * rt/timer_gettime.c: Likewise.
31423 * rt/timer_settime.c: Likewise.
31424 * setjmp/__longjmp.c: Likewise.
31425 * setjmp/setjmp.c: Likewise.
31426 * signal/kill.c: Likewise.
31427 * signal/killpg.c: Likewise.
31428 * signal/raise.c: Likewise.
31429 * signal/sigaction.c: Likewise.
31430 * signal/sigaltstack.c: Likewise.
31431 * signal/sigblock.c: Likewise.
31432 * signal/sigignore.c: Likewise.
31433 * signal/sigintr.c: Likewise.
31434 * signal/signal.c: Likewise.
31435 * signal/sigpause.c: Likewise.
31436 * signal/sigpending.c: Likewise.
31437 * signal/sigqueue.c: Likewise.
31438 * signal/sigreturn.c: Likewise.
31439 * signal/sigset.c: Likewise.
31440 * signal/sigsetmask.c: Likewise.
31441 * signal/sigstack.c: Likewise.
31442 * signal/sigsuspend.c: Likewise.
31443 * signal/sigtimedwait.c: Likewise.
31444 * signal/sigvec.c: Likewise.
31445 * signal/sigwait.c: Likewise.
31446 * signal/sigwaitinfo.c: Likewise.
31447 * signal/sysv_signal.c: Likewise.
31448 * socket/accept.c: Likewise.
31449 * socket/accept4.c: Likewise.
31450 * socket/bind.c: Likewise.
31451 * socket/connect.c: Likewise.
31452 * socket/getpeername.c: Likewise.
31453 * socket/getsockname.c: Likewise.
31454 * socket/getsockopt.c: Likewise.
31455 * socket/isfdtype.c: Likewise.
31456 * socket/listen.c: Likewise.
31457 * socket/recv.c: Likewise.
31458 * socket/recvfrom.c: Likewise.
31459 * socket/recvmsg.c: Likewise.
31460 * socket/send.c: Likewise.
31461 * socket/sendmsg.c: Likewise.
31462 * socket/sendto.c: Likewise.
31463 * socket/setsockopt.c: Likewise.
31464 * socket/shutdown.c: Likewise.
31465 * socket/sockatmark.c: Likewise.
31466 * socket/socket.c: Likewise.
31467 * socket/socketpair.c: Likewise.
31468 * stdio-common/ctermid.c: Likewise.
31469 * stdio-common/cuserid.c: Likewise.
31470 * stdio-common/remove.c: Likewise.
31471 * stdio-common/rename.c: Likewise.
31472 * stdio-common/renameat.c: Likewise.
31473 * stdio-common/tempname.c: Likewise.
31474 * stdlib/getcontext.c: Likewise.
31475 * stdlib/makecontext.c: Likewise.
31476 * stdlib/setcontext.c: Likewise.
31477 * stdlib/swapcontext.c: Likewise.
31478 * stdlib/system.c: Likewise.
31479 * streams/fattach.c: Likewise.
31480 * streams/fdetach.c: Likewise.
31481 * streams/getmsg.c: Likewise.
31482 * streams/getpmsg.c: Likewise.
31483 * streams/putmsg.c: Likewise.
31484 * streams/putpmsg.c: Likewise.
31485 * sysdeps/unix/bsd/getpt.c: Likewise.
31486 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31487 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31488 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31491 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31492 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31493 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31494 * sysvipc/msgctl.c: Likewise.
31495 * sysvipc/msgget.c: Likewise.
31496 * sysvipc/msgrcv.c: Likewise.
31497 * sysvipc/msgsnd.c: Likewise.
31498 * sysvipc/semctl.c: Likewise.
31499 * sysvipc/semget.c: Likewise.
31500 * sysvipc/semop.c: Likewise.
31501 * sysvipc/semtimedop.c: Likewise.
31502 * sysvipc/shmat.c: Likewise.
31503 * sysvipc/shmctl.c: Likewise.
31504 * sysvipc/shmdt.c: Likewise.
31505 * sysvipc/shmget.c: Likewise.
31506 * termios/tcdrain.c: Likewise.
31507 * termios/tcflow.c: Likewise.
31508 * termios/tcflush.c: Likewise.
31509 * termios/tcgetattr.c: Likewise.
31510 * termios/tcgetpgrp.c: Likewise.
31511 * termios/tcsendbrk.c: Likewise.
31512 * termios/tcsetattr.c: Likewise.
31513 * termios/tcsetpgrp.c: Likewise.
31514 * time/adjtime.c: Likewise.
31515 * time/clock.c: Likewise.
31516 * time/getitimer.c: Likewise.
31517 * time/gettimeofday.c: Likewise.
31518 * time/setitimer.c: Likewise.
31519 * time/settimeofday.c: Likewise.
31520 * time/stime.c: Likewise.
31521 * time/time.c: Likewise.
31523 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
31525 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31528 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31530 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31532 2012-11-03 Joseph Myers <joseph@codesourcery.com>
31535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31536 FE_TONEAREST before applying Dekker multiplication and Knuth
31537 addition. Clear inexact exceptions and check for exact zero
31538 results afterwards.
31539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31540 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31542 * math/libm-test.inc (fma_test): Add more tests.
31543 (fma_test_towardzero): Likewise.
31544 (fma_test_downward): Likewise.
31545 (fma_test_upward): Likewise.
31546 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31548 (libc_fesetround): New macro.
31549 (libc_fesetroundf): Likewise.
31550 (libc_fesetroundl): Likewise.
31551 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31553 (libc_fesetround_387): Likewise.
31554 (libc_fesetroundf): New macro.
31555 (libc_fesetround): Likewise.
31556 (libc_fesetroundl): Likewise.
31557 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31559 (libc_fesetroundf): New macro.
31560 (libc_fesetround): Likewise.
31561 (libc_fesetroundl): Likewise.
31562 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31563 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31564 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31566 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31567 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31569 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31570 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31572 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31576 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31577 integer constant usable in #if and use that to give value to enum
31579 (FE_DIVBYZERO): Likewise.
31580 (FE_UNDERFLOW): Likewise.
31581 (FE_OVERFLOW): Likewise.
31582 (FE_INVALID): Likewise.
31583 (FE_INVALID_SNAN): Likewise.
31584 (FE_INVALID_ISI): Likewise.
31585 (FE_INVALID_IDI): Likewise.
31586 (FE_INVALID_ZDZ): Likewise.
31587 (FE_INVALID_IMZ): Likewise.
31588 (FE_INVALID_COMPARE): Likewise.
31589 (FE_INVALID_SOFTWARE): Likewise.
31590 (FE_INVALID_SQRT): Likewise.
31591 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31592 (FE_TONEAREST): Likewise.
31593 (FE_TOWARDZERO): Likewise.
31594 (FE_UPWARD): Likewise.
31595 (FE_DOWNWARD): Likewise.
31596 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31597 (FE_DIVBYZERO): Likewise.
31598 (FE_OVERFLOW): Likewise.
31599 (FE_UNDERFLOW): Likewise.
31600 (FE_INEXACT): Likewise.
31601 (FE_TONEAREST): Likewise.
31602 (FE_DOWNWARD): Likewise.
31603 (FE_UPWARD): Likewise.
31604 (FE_TOWARDZERO): Likewise.
31605 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31606 (FE_UNDERFLOW): Likewise.
31607 (FE_OVERFLOW): Likewise.
31608 (FE_DIVBYZERO): Likewise.
31609 (FE_INVALID): Likewise.
31610 (FE_TONEAREST): Likewise.
31611 (FE_TOWARDZERO): Likewise.
31612 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31613 (FE_OVERFLOW): Likewise.
31614 (FE_UNDERFLOW): Likewise.
31615 (FE_DIVBYZERO): Likewise.
31616 (FE_INEXACT): Likewise.
31617 (FE_TONEAREST): Likewise.
31618 (FE_TOWARDZERO): Likewise.
31619 (FE_UPWARD): Likewise.
31620 (FE_DOWNWARD): Likewise.
31621 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31622 (FE_DIVBYZERO): Likewise.
31623 (FE_OVERFLOW): Likewise.
31624 (FE_UNDERFLOW): Likewise.
31625 (FE_INEXACT): Likewise.
31626 (FE_TONEAREST): Likewise.
31627 (FE_DOWNWARD): Likewise.
31628 (FE_UPWARD): Likewise.
31629 (FE_TOWARDZERO): Likewise.
31631 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31633 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31635 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31637 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31638 commands. Quote $PWD.
31639 (blacklist_exports): Don't use remove_newlines. Replace "declare
31641 (remove_newlines): Remove.
31643 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31645 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31646 * stdlib/stdlib.h (atof): Moved to ...
31647 * include/bits/stdlib-float.h: Here. New file.
31648 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31649 * stdlib/bits/stdlib-float.h: New file.
31650 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31652 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31655 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31657 * conform/conformtest.pl (@headers): Add fenv.h.
31658 * conform/data/fenv.h-data: New file.
31659 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31660 include of <math/fenv.h>.
31662 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31663 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31664 && !UNIX98]. Enables tests for XOPEN2K8.
31665 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31666 POSIX2008]: Likewise.
31668 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31669 (struct rusage): Do not expect type or its members.
31672 * math/math.h (FP_NAN): Define macro to integer constant usable in
31673 #if and use that to give value to enum constant.
31674 (FP_INFINITE): Likewise.
31675 (FP_ZERO): Likewise.
31676 (FP_SUBNORMAL): Likewise.
31677 (FP_NORMAL): Likewise.
31679 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31681 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31682 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31685 2012-11-02 Roland McGrath <roland@hack.frob.com>
31687 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31688 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31689 autoconf-time if not.
31690 * configure.in: Remove AC_PREREQ.
31692 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31694 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31695 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31696 of the internal implementation.
31698 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31700 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31701 except include of <misc/sys/syslog.h>.
31703 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31706 function returns with a NULL context exit with zero.
31708 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31710 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31712 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31714 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31715 (run_program_cmd): This.
31716 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31717 (tst_langinfo): New variable. Use it.
31719 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31721 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31722 floating point opcodes.
31724 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31726 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31729 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31731 * sysdeps/mach/hurd/powerpc: Remove directory.
31732 * sysdeps/mach/powerpc: Likewise.
31734 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31736 * scripts/check-local-headers.sh: Ignore c++ headers.
31738 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31740 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31741 __libc_cleanup_region_start argument.
31743 2012-11-01 Joseph Myers <joseph@codesourcery.com>
31747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31748 x * y using scaling, not as x * y + z.
31749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31751 * math/libm-test.inc (fma_test): Add more tests.
31752 (fma_test_towardzero): Likewise.
31753 (fma_test_downward): Likewise.
31754 (fma_test_upward): Likewise.
31756 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31758 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31760 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31762 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31765 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31767 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31769 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31776 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31779 Fix the order of the list for glibc 2.17.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31783 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31787 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31790 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31791 for low part of x being zero before using __atanl (y).
31792 * math/libm-test.inc (atan2_test): Add another test.
31794 * manual/install.texi (Configuring and compiling): Document
31795 general use of test-wrapper and test-wrapper-env.
31796 * INSTALL: Regenerated.
31798 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31799 (__fma): Do not extract and scale down low bits on after-rounding
31800 systems when result rounded to normal precision would have normal
31802 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31803 (__fmal): Do not extract and scale down low bits on after-rounding
31804 systems when result rounded to normal precision would have normal
31806 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31807 (__fmal): Do not extract and scale down low bits on after-rounding
31808 systems when result rounded to normal precision would have normal
31810 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31812 (fma_test): Add more tests.
31813 (fma_test_towardzero): Likewise.
31814 (fma_test_downward): Likewise.
31815 (fma_test_upward): Likewise.
31817 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31819 * sysdeps/i386/tininess.h: Renamed to ...
31820 * sysdeps/x86/tininess.h: This.
31821 * sysdeps/x86_64/tininess.h: Removed.
31823 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31825 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31826 input. Use $(build-program-cmd).
31827 ($(objpfx)tst-array1-static.out): Likewise.
31828 ($(objpfx)tst-array2.out): Likewise.
31829 ($(objpfx)tst-array3.out): Likewise.
31830 ($(objpfx)tst-array4.out): Likewise.
31831 ($(objpfx)tst-array5.out): Likewise.
31832 ($(objpfx)tst-array5-static.out): Likewise.
31834 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31836 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31839 * nss/nsswitch.h (nss_interface_function): Provide new
31840 macro for use with NSS functions.
31841 * grp/initgroups.c: Use new macro.
31842 * nss/getXXbyYY.c: Likewise.
31843 * nss/getXXbyYY_r.c: Likewise.
31844 * nss/getXXent.c: Likewise.
31845 * nss/getXXent_r.c: Likewise.
31846 * sysdeps/posix/getaddrinfo.c: Likewise.
31848 2012-10-30 Andreas Jaeger <aj@suse.de>
31850 * po/ru.po: Update Russion translation from translation project.
31852 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31857 result and shift together with sticky bit instead of replicating
31858 round-to-nearest rounding.
31859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31860 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31861 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31862 missing underflow exceptions.
31863 (fma_test_towardzero): Add more tests.
31864 (fma_test_downward): Likewise.
31865 (fma_test_upward): Likewise.
31868 * sysdeps/generic/tininess.h: New file.
31869 * sysdeps/i386/tininess.h: Likewise.
31870 * sysdeps/sh/tininess.h: Likewise.
31871 * sysdeps/x86_64/tininess.h: Likewise.
31872 * stdlib/tst-strtod-underflow.c: Likewise.
31873 * stdlib/tst-tininess.c: Likewise.
31874 * stdlib/strtod_l.c: Include <tininess.h>.
31875 (round_and_return): Do not set errno for exact underflow cases.
31876 Force an underflow exception when setting errno for underflow.
31877 Determine underflow based on rounding to normal precision if
31878 TININESS_AFTER_ROUNDING.
31879 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31880 ERANGE for exact underflow cases.
31881 * stdlib/Makefile (tests): Add tst-tininess and
31882 tst-strtod-underflow.
31883 ($(objpfx)tst-tininess): Use $(link-libm).
31884 ($(objpfx)tst-strtod-underflow): Likewise.
31886 2012-10-30 Andreas Jaeger <aj@suse.de>
31889 * elf/Makefile (tests): Remove conditional for have-initfini-array
31890 since this is now always required and the variable does not exist
31892 (tests-static): Likewise.
31893 (modules-names): Likewise.
31895 * po/eo.po: Add Esperanto translation from translation project.
31897 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31898 merged with constructor/destructor.
31899 (init_array): Likewise.
31900 * elf/tst-array2dep.c (fini_array): Likewise.
31901 (init_array): Likewise.
31903 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31905 * manual/message.texi: Delete @cartouche tags.
31907 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31909 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31911 * sysdeps/mach/hurd/fsync.c: Likewise.
31913 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31914 [_POSIX_REALTIME_SIGNALS]: Change condition to
31915 [_POSIX_REALTIME_SIGNALS > 0].
31917 2012-10-27 Andreas Jaeger <aj@suse.de>
31919 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31920 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31922 [__WORDSIZE != 64]: Likewise.
31924 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31926 * iconvdata/tst-table.sh: Remove ${SHELL}.
31927 * iconvdata/tst-tables.sh: Likewise.
31929 2012-10-25 David S. Miller <davem@davemloft.net>
31931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31932 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31938 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31939 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31942 2012-10-25 Roland McGrath <roland@hack.frob.com>
31944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31945 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31948 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31949 Jim Blandy <jimb@codesourcery.com>
31951 * scripts/cross-test-ssh.sh: New file.
31952 * manual/install.texi (Configuring and compiling): Document use of
31954 * INSTALL: Regenerated.
31956 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31958 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31961 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31963 * Makeconfig (run-program-prefix): Fix comment.
31965 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31966 Jim Blandy <jimb@codesourcery.com>
31968 * Makeconfig (test-wrapper): New variable,
31969 (test-wrapper-env): Likewise.
31970 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31971 (run-built-tests): Define to yes.
31972 (run-program-prefix): Use $(test-wrapper).
31973 (built-program-cmd): Likewise.
31974 * Rules (make-test-out): Use $(test-wrapper-env) and
31975 $(host-built-program-cmd).
31976 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31977 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31979 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31980 $(test-wrapper-env) to tst-rtld-load-self.sh.
31981 ($(objpfx)order2.out): Use $(test-wrapper).
31982 ($(objpfx)tst-initorder.out): Likewise.
31983 ($(objpfx)tst-initorder2.out): Likewise.
31984 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31985 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31986 (test_wrapper_env): New variable. Use it to run ld.so.
31987 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31988 Use it to run ld.so.
31989 (test_wrapper_env): Likewise.
31990 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31991 $(test-wrapper) to run-iconv-test.sh.
31992 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31993 (ICONV): Use $test_wrapper.
31994 * posix/Makefile ($(objpfx)globtest.out): Pass
31995 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31996 globtest.sh, not $(run-program-prefix).
31997 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31998 (test_wrapper): Likewise.
31999 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32000 set together with run_via_rtld_prefix.
32001 (run_program_prefix): Define in terms of test_wrapper and
32002 run_via_rtld_prefix.
32004 2012-10-24 Roland McGrath <roland@hack.frob.com>
32006 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32007 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32011 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32012 Declare __clock_getres, __clock_gettime, __clock_settime,
32013 __clock_nanosleep, and __clock_getcpuclockid.
32014 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32015 Remove librt_hidden_def (clock_gettime).
32016 * sysdeps/unix/clock_gettime.c: Likewise.
32017 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32019 * rt/clock_getres.c: Define __clock_getres as an alias.
32020 * sysdeps/posix/clock_getres.c: Likewise.
32021 * rt/clock_settime.c: Define __clock_settime as an alias.
32022 * sysdeps/unix/clock_settime.c: Likewise.
32023 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32024 * sysdeps/unix/clock_nanosleep.c: Likewise.
32025 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32026 * rt/clock-compat.c: New file.
32027 * rt/Makefile (librt-routines): Add clock-compat and move
32028 $(clock-routines) to ...
32029 (routines): ... here, new variable.
32030 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32031 Don't add get_clockfreq here.
32032 * rt/Versions (libc: GLIBC_2.17): New version set.
32033 Add clock_* symbols here.
32034 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32035 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32036 (GLIBC_2.17): Add clock_* symbols.
32037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32048 * NEWS: Mention the move.
32050 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32051 Use __open, __read, __close rather than their public counterparts.
32052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32053 (__get_clockfreq_via_cpuinfo): Likewise.
32054 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32055 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32057 * config.h.in (HAVE_IFUNC): New #undef.
32058 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32060 * configure: Regenerated.
32062 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32064 * configure.in: Move READELF check to start of file.
32065 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32066 libc_cv_asm_gnu_indirect_function in the process.
32067 * configure: Regenerated.
32069 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32071 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32072 send the output to /dev/null.
32073 (libc_cv_cc_with_libunwind): Likewise.
32074 (libc_cv_as_noexecstack): Likewise.
32075 * configure: Regenerate.
32077 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32079 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32081 * posix/globtest.sh (TMPDIR): Do not set.
32082 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32083 (testout): Likewise.
32085 2012-10-24 Andreas Jaeger <aj@suse.de>
32087 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32088 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32089 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32090 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32091 posix_fadvise64, posix_fallocate64.
32093 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32094 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32095 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32097 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32099 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32102 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32103 <bits/fcntl-linux.h>.
32104 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32107 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32108 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32109 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32110 [__WORDSIZE != 64]: Likewise.
32112 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32114 * Makeconfig (run-built-tests): New variable.
32115 * Rules [$(cross-compiling) = yes]: Change condition to
32116 [$(run-built-tests) = no].
32117 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32118 to [$(run-built-tests) = yes].
32119 * elf/Makefile [$(cross-compiling) = no]: Likewise
32120 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32121 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32122 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32123 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32124 * io/Makefile [$(cross-compiling) = no]: Likewise.
32125 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32126 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32127 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32128 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32129 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32130 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32131 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32132 * string/Makefile [$(cross-compiling) = no]: Likewise.
32134 * posix/Makefile ($(objpfx)globtest.out): Pass
32135 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32136 $(rtld-installed-name).
32137 * posix/globtest.sh (elf_objpfx): Remove variable.
32138 (rtld_installed_name): Likewise.
32139 (library_path): Likewise.
32140 (run_program_prefix): New variable. Use for running globtest
32143 2012-10-23 Jim Blandy <jimb@codesourcery.com>
32144 Joseph Myers <joseph@codesourcery.com>
32146 * Makeconfig (host-built-program-cmd): New variable.
32147 * elf/Makefile (tst-stackguard1-ARGS): Use
32148 $(host-built-program-cmd).
32149 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32150 (tst-spawn-ARGS): Likewise.
32151 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32153 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32154 Jim Blandy <jimb@codesourcery.com>
32156 * Makeconfig (run-via-rtld-prefix): New variable.
32157 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32158 (built-program-cmd): Likewise.
32160 2012-10-22 Andreas Jaeger <aj@suse.de>
32162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32163 __O_RSYNC if it exists, otherwise to O_SYNC.
32165 2012-10-22 Jim Blandy <jimb@codesourcery.com>
32166 Joseph Myers <joseph@codesourcery.com>
32168 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32170 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32172 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32175 2012-10-22 Andreas Jaeger <aj@suse.de>
32177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32182 bits/fcntl-linux.h.
32184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32185 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32192 2012-10-21 Jim Blandy <jimb@codesourcery.com>
32193 Joseph Myers <joseph@codesourcery.com>
32195 * config.make.in (NM): New variable.
32197 2012-10-21 Andreas Jaeger <aj@suse.de>
32199 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32200 definitions and declarations that are provided by
32201 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32203 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32206 * elf/Makefile (tests-static): Add tst-leaks1-static.
32207 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32208 ($(objpfx)tst-leaks1-static): New rule.
32209 ($(objpfx)tst-leaks1-static-mem): Likewise.
32210 (tst-leaks1-static-ENV): New macro.
32211 * elf/dl-open.c (dl_open_worker): Check the main application
32212 only if SHARED is defined.
32213 * elf/tst-leaks1-static.c: New file.
32215 2012-10-20 Andreas Jaeger <aj@suse.de>
32217 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32218 generic values for Linux.
32219 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32220 and declarations that are provided by <bits/fcntl-linux.h> and
32221 include <bits/fcntl-linux.h>.
32222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32225 2012-10-20 Roland McGrath <roland@hack.frob.com>
32227 * io/fcntl.h: Move include of <bits/types.h> to the top and
32228 include it unconditionally.
32230 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32232 * wcsmbs/Makefile (tests-ifunc): New variable.
32233 (tests): Add $(tests-ifunc).
32234 * wcsmbs/test-wcschr-ifunc.c: New file.
32235 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32236 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32237 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32238 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32239 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32241 * string/Makefile (tests-ifunc): New variable.
32242 (tests): Add $(tests-ifunc).
32243 * string/test-memccpy.c (TEST_NAME): New macro.
32244 * string/test-memchr.c (TEST_NAME): Likewise.
32245 * string/test-memcmp.c (TEST_NAME): Likewise.
32246 * string/test-memcpy.c (TEST_NAME): Likewise.
32247 * string/test-memmem.c (TEST_NAME): Likewise.
32248 * string/test-memmove.c (TEST_NAME): Likewise.
32249 * string/test-memset.c (TEST_NAME): Likewise.
32250 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32251 * string/test-stpcpy.c (TEST_NAME): Likewise.
32252 * string/test-stpncpy.c (TEST_NAME): Likewise.
32253 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32254 * string/test-strcasestr.c (TEST_NAME): Likewise.
32255 * string/test-strcat.c (TEST_NAME): Likewise.
32256 * string/test-strchr.c (TEST_NAME): Likewise.
32257 * string/test-strcmp.c(TEST_NAME): Likewise.
32258 * string/test-strcpy.c (TEST_NAME): Likewise.
32259 * string/test-strcspn.c (TEST_NAME): Likewise.
32260 * string/test-strlen.c (TEST_NAME): Likewise.
32261 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32262 * string/test-strncmp.c (TEST_NAME): Likewise.
32263 * string/test-strncpy.c (TEST_NAME): Likewise.
32264 * string/test-strnlen.c (TEST_NAME): Likewise.
32265 * string/test-strpbrk.c (TEST_NAME): Likewise.
32266 * string/test-strrchr.c (TEST_NAME): Likewise.
32267 * string/test-strspn.c (TEST_NAME): Likewise.
32268 * string/test-strstr.c (TEST_NAME): Likewise.
32269 * string/test-bcopy-ifunc.c: New file.
32270 * string/test-bzero-ifunc.c: Likewise.
32271 * string/test-memccpy-ifunc.c: Likewise.
32272 * string/test-memchr-ifunc.c: Likewise.
32273 * string/test-memcmp-ifunc.c: Likewise.
32274 * string/test-memcpy-ifunc.c: Likewise.
32275 * string/test-memmem-ifunc.c: Likewise.
32276 * string/test-memmove-ifunc.c: Likewise.
32277 * string/test-mempcpy-ifunc.c: Likewise.
32278 * string/test-memset-ifunc.c: Likewise.
32279 * string/test-rawmemchr-ifunc.c: Likewise.
32280 * string/test-stpcpy-ifunc.c: Likewise.
32281 * string/test-stpncpy-ifunc.c: Likewise.
32282 * string/test-strcasecmp-ifunc.c: Likewise.
32283 * string/test-strcasestr-ifunc.c: Likewise.
32284 * string/test-strcat-ifunc.c: Likewise.
32285 * string/test-strchr-ifunc.c: Likewise.
32286 * string/test-strchrnul-ifunc.c: Likewise.
32287 * string/test-strcmp-ifunc.c: Likewise.
32288 * string/test-strcpy-ifunc.c: Likewise.
32289 * string/test-strcspn-ifunc.c: Likewise.
32290 * string/test-strlen-ifunc.c: Likewise.
32291 * string/test-strncasecmp-ifunc.c: Likewise.
32292 * string/test-strncat-ifunc.c: Likewise.
32293 * string/test-strncmp-ifunc.c: Likewise.
32294 * string/test-strncpy-ifunc.c: Likewise.
32295 * string/test-strnlen-ifunc.c: Likewise.
32296 * string/test-strpbrk-ifunc.c: Likewise.
32297 * string/test-strrchr-ifunc.c: Likewise.
32298 * string/test-strspn-ifunc.c: Likewise.
32299 * string/test-strstr-ifunc.c: Likewise.
32301 * debug/Makefile (tests-ifunc): New variable.
32302 (tests): Add $(tests-ifunc).
32303 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32304 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32305 * debug/test-stpcpy_chk-ifunc.c: New file.
32306 * debug/test-strcpy_chk-ifunc.c: Likewise.
32308 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32311 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32312 header is not read in.
32314 2012-10-19 Joseph Myers <joseph@codesourcery.com>
32316 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32317 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32318 directly. Pass built executable to script as
32319 $(built-program-cmd).
32320 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32321 $testprogram without using LD_LIBRARY_PATH and $ldso.
32323 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32324 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32325 $(rtld-installed-name).
32326 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32327 (rtld_installed_name): Likewise.
32328 (library_path): Likewise.
32329 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32330 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32331 $(run-program-prefix) to tst-tables.sh.
32332 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32333 it to run tst-table-from and tst-table-to.
32334 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32335 Pass it to tst-table.sh.
32336 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32337 $(run-program-prefix) to tst-gettext.sh.
32338 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32340 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32342 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32343 to run tst-gettext.
32344 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32345 to run tst-gettext2.
32346 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32347 to run tst-translit.
32348 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32349 $(run-program-prefix) to tst-mtrace.sh.
32350 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32352 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32353 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32354 $(rtld-installed-name).
32355 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32356 (rtld_installed_name): Likewise.
32357 (run_program_prefix): New variable. Use it to run wordexp-test.
32359 * Makeconfig (ARCH): Remove all definitions.
32360 (machine): Likewise.
32361 [ARCH]: Remove conditional code.
32362 [!objdir]: Give error.
32363 [!objdir] (objpfx): Remove.
32364 [!objdir] (common-objpfx): Likewise.
32365 [!objdir] (common-objdir): Likewise.
32366 * configure.in (config_makefile): Remove. Hardcode Makefile in
32367 AC_CONFIG_FILES call.
32368 * configure: Regenerated.
32371 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32373 (testout): Likewise.
32375 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32376 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32377 $(rtld-installed-name).
32378 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32379 (rtld_installed_name): Likwise.
32380 (runit): Remove function.
32381 (run_getconf): New variable, Use it for running getconf binary.
32383 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32386 * string/test-memmem.c (check_result): New function.
32387 (do_one_test): Use it.
32388 (check1): New function.
32389 (test_main): Use it.
32391 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32393 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32395 2012-10-18 Joseph Myers <joseph@codesourcery.com>
32397 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32398 (_G_LSEEK64): Likewise.
32399 (_G_MMAP64): Likewise.
32400 (_G_FSTAT64): Likewise.
32401 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32402 (_G_LSEEK64): Likewise.
32403 (_G_MMAP64): Likewise.
32404 (_G_FSTAT64): Likewise.
32405 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32406 unconditional. Call __mmap64 directly.
32407 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32408 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32409 __lseek64 directly.
32410 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32411 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32413 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32414 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32415 __lseek64 directly.
32416 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32417 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32418 __lseek64 directly.
32419 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32420 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32421 __lseek64 directly.
32422 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32423 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32424 __fxstat64 directly.
32425 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32426 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32428 (freopen64) [!_G_OPEN64]: Remove conditional code.
32429 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32431 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32432 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32434 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32435 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32437 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32438 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32440 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32441 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32443 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32444 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32446 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32447 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32449 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32451 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32454 * manual/memory.texi (Malloc Tunable Parameters): Add note
32455 about free list pointers overwriting some perturb bytes.
32456 Wording suggested by Roland McGrath.
32458 2012-10-17 Joseph Myers <joseph@codesourcery.com>
32460 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32461 (lgamma_test): Likewise.
32462 (tgamma_test): Likewise.
32464 2012-10-16 Florian Weimer <fweimer@redhat.com>
32467 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32468 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32470 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32472 * NEWS: Mention BZ #14716.
32473 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32474 when removing AVAILABLE1_USES_J macro.
32476 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32478 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32479 (__bswap_64): __uint64_t for unsigned 64-bit int.
32481 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32483 * include/string.h (memmem): Declare libc hidden alias.
32484 * string/memmem.c (memmem): Define libc hidden alias.
32485 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32486 __read, __close instead of open, read, close.
32488 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32491 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32493 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32494 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32495 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32497 (__rawmemchr_sse2): Likewise.
32498 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32499 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32500 (__strchr_sse2): Likewise.
32501 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32502 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32503 (__strcasecmp_sse2): Likewise.
32504 (__strncasecmp_sse2): Likewise.
32505 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32506 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32507 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32508 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32509 (__strrchr_sse2): Likewise.
32510 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32512 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32513 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32514 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32515 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32516 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32517 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32518 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32519 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32520 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32521 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32522 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32523 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32524 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32525 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32526 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32527 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32528 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32529 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32530 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32531 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32532 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32533 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32534 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32535 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32536 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32537 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32538 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32539 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32540 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32541 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32543 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32545 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32546 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32547 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32548 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32550 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32552 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32553 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32554 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32555 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32557 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32558 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32559 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32560 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32561 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32562 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32563 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32564 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32566 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32567 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32568 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32569 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32570 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32571 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32573 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32574 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32575 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32576 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32577 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32578 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32579 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32580 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32582 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32583 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32584 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32585 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32586 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32587 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32588 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32589 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32590 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32591 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32592 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32594 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32596 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32597 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32599 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32600 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32601 * include/ifunc-impl-list.h: New file.
32602 * misc/ifunc-impl-list.c: Likewise.
32603 * misc/Makefile (routines): Add ifunc-impl-list.
32604 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32605 * string/test-string.h: Include <ifunc-impl-list.h>.
32606 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32607 TEST_NAME]: New variables.
32608 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32610 (test_init): Call __libc_ifunc_impl_list to initialize
32611 func_list if TEST_IFUNC and TEST_NAME are defined.
32613 * string/Makefile (strop-tests): Add bcopy and bzero.
32614 * string/test-bcopy.c: New file.
32615 * string/test-bzero.c: Likewise.
32616 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32618 * string/test-memset.c: Support bzero test if TEST_BZERO is
32620 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32622 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32624 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32627 2012-10-10 Joseph Myers <joseph@codesourcery.com>
32629 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32630 * configure: Regenerated.
32632 * Makeconfig (+link-static-before-libc): Don't include
32633 $(link-static-libc).
32635 * libio/libio.h (_IO_pos_t): Remove.
32637 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32639 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32642 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32644 * crypt/crypt-entry.c: Include fips-private.h.
32645 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32646 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32647 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32648 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32650 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32652 * crypt/crypt-private.h: Include stdbool.h.
32653 (_ufc_setup_salt_r): Return bool.
32654 * crypt/crypt-entry.c: Include errno.h.
32655 (__crypt_r): Return NULL with EINVAL for bad salt.
32656 * crypt/crypt_util.c (bad_for_salt): New.
32657 (_ufc_setup_salt_r): Check that salt is long enough and within
32658 the specified alphabet.
32659 * crypt/badsalttest.c: New file.
32660 * crypt/Makefile (tests): Add it.
32661 ($(objpfx)badsalttest): New.
32663 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32665 * NEWS: Add entry for BZ #14602.
32667 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32669 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32671 * math/libm-test.inc: Update comment listing what functions and
32673 (isgreater_test): New function.
32674 (isgreaterequal_test): Likewise.
32675 (isless_test): Likewise.
32676 (islessequal_test): Likewise.
32677 (islessgreater_test): Likewise.
32678 (isunordered_test): Likewise.
32679 (main): Call the new functions.
32681 2012-10-09 Roland McGrath <roland@hack.frob.com>
32683 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32684 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32685 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32686 * sysdeps/i386/configure: Regenerated.
32687 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32688 * sysdeps/mach/configure: Regenerated.
32689 * sysdeps/mach/hurd/configure: Regenerated.
32690 * sysdeps/powerpc/configure: Regenerated.
32691 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32692 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32693 * sysdeps/s390/s390-32/configure: Regenerated.
32694 * sysdeps/s390/s390-64/configure: Regenerated.
32695 * sysdeps/sh/configure: Regenerated.
32696 * sysdeps/sparc/configure: Regenerated.
32697 * sysdeps/unix/sysv/linux/configure: Regenerated.
32698 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32699 * sysdeps/x86_64/configure: Regenerated.
32701 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32702 defined. Don't check if MAP is NULL.
32704 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32706 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32707 (_G_stat64): Likewise.
32708 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32709 (_G_stat64): Likewise.
32710 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32711 instead of struct _G_stat64.
32712 * libio/fileops.c (mmap_remap_check): Likewise.
32713 (decide_maybe_mmap): Likewise.
32714 (_IO_new_file_seekoff): Likewise.
32715 (_IO_file_stat): Likewise.
32716 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32718 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32719 instead of struct _G_stat64.
32720 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32722 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32725 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32727 (CHECK_EOL): New macro.
32728 (two_way_short_needle): Check beginning of haystack for EOL. Use
32730 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32731 Replace with CHECK_EOL.
32732 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32733 Replace with CHECK_EOL.
32735 2012-10-08 Joseph Myers <joseph@codesourcery.com>
32737 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32739 * math/libm-test.inc: Update comment listing what functions and
32741 (finite_test): New function.
32742 (isinf_test): Likewise.
32743 (isnan_test): Likewise.
32744 (fpclassify_test): Test subnormal input.
32745 (isfinite_test): Likewise.
32746 (isnormal_test): Likewise.
32747 (main): Call the new functions.
32749 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32752 * Makerules (%.dynsym): Force C locale when running
32753 $(OBJDUMP) --dynamic-syms.
32755 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32757 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32760 2012-10-06 David S. Miller <davem@davemloft.net>
32762 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32763 upper 32-bits of the length value in %o2 since we use branch-on-register
32764 tests which consider the entire 64-bit register.
32766 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32768 * string/test-strstr.c (check2): Add a test for page boundary.
32770 2012-10-05 David S. Miller <davem@davemloft.net>
32772 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32773 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32775 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32777 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32778 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32779 and bzero when HWCAP_SPARC_CRYPTO is present.
32781 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32784 * string/test-strstr.c (check2): New function.
32785 (test_main): Call check2.
32787 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32789 * string/bug-strcasestr1.c (do_test): Moved to ...
32790 * string/test-strcasestr.c (check1): Here. New function.
32791 (do_one_test): Break out result checking code into ...
32792 (check_result): This. New function.
32793 (do_one_test): Call check_result.
32794 (test_main): Call check1.
32795 * string/bug-strchr1.c (do_test): Moved to ...
32796 * string/test-strchr.c (check1): Here. New function.
32797 (do_one_test): Break out result checking code into ...
32798 (check_result): This. New function.
32799 (do_one_test): Call check_result.
32800 (test_main): Call check1.
32801 * string/bug-strstr1.c (main): Moved to ...
32802 * string/test-strstr.c (check1): Here. New function.
32803 (do_one_test): Break out result checking code into ...
32804 (check_result): This. New function.
32805 (do_one_test): Call check_result.
32806 (test_main): Call check1.
32807 * string/bug-strcasestr1.c: Removed.
32808 * string/bug-strchr1.c: Likewise.
32809 * string/bug-strstr1.c: Likewise.
32811 * elf/Makefile (dl-routines): Add hwcaps.
32812 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32813 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32814 (_dl_important_hwcaps): Moved to ...
32815 * elf/dl-hwcaps.c: Here. New file.
32816 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32819 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32820 if IS_IN_rtld isn't defined.
32822 * elf/dl-support.c (_dl_sysinfo_map): New.
32823 Include "get-dynamic-info.h" and "setup-vdso.h".
32824 (_dl_non_dynamic_init): Call setup_vdso.
32825 * elf/dynamic-link.h: Don't include <assert.h>.
32826 (elf_get_dynamic_info): Moved to ...
32827 * elf/get-dynamic-info.h: Here. New file.
32828 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32829 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32830 * elf/setup-vdso.h: Here. New file.
32831 * elf/rtld.c: Include "setup-vdso.h".
32832 (dl_main): Call setup_vdso.
32834 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32836 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32837 creal in comment listing functions tested. List finite, isinf,
32838 isnan, isless, islessequal, isgreater, isgreaterequal,
32839 islessgreater, isunordered, lgamma_r and pow10 as functions and
32840 macros not tested. Mention which functions not tested are aliases
32841 for other functions. Fix typo. Note that signs of NaNs are not
32844 * scripts/config.guess: Update from config.git.
32845 * scripts/config.sub: Likewise.
32847 2012-10-04 Roland McGrath <roland@hack.frob.com>
32849 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32850 * misc/madvise.c (madvise): Renamed to __madvise.
32851 Make madvise a weak alias.
32852 * include/sys/mman.h: Declare __madvise.
32853 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32854 * sysdeps/unix/syscalls.list
32855 (madvise): Make __madvise the strong name, and madvise a weak alias.
32856 * sysdeps/unix/sysv/linux/syscalls.list
32857 (madvise, mmap): Remove redundant entries.
32858 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32859 * malloc/malloc.c (mtrim): Likewise.
32860 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32862 2012-10-03 Roland McGrath <roland@hack.frob.com>
32864 * sysdeps/mach/hurd/dl-cache.c: File removed.
32865 * config.h.in (USE_LDCONFIG): New #undef.
32866 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32867 * configure: Regenerated.
32868 * elf/Makefile (dl-routines): Add dl-cache only under
32869 [$(use-ldconfig) = yes].
32870 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32871 cache on [USE_LDCONFIG].
32872 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32874 * elf/rtld.c (dl_main): Likewise.
32876 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32878 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32879 _SC_LEVEL4_CACHE_LINESIZE.
32881 2012-10-03 Roland McGrath <roland@hack.frob.com>
32883 * sysdeps/unix/bsd/confstr.h: File removed.
32885 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32887 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32890 2012-10-02 Roland McGrath <roland@hack.frob.com>
32892 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32893 Make 'mapoff' field ElfW(Off) rather than off_t.
32895 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32897 * nscd/Makefile: Remove nscd-cflags and all its users.
32898 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32899 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32902 * malloc.c (malloc_printerr): Clarify error message.
32904 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32908 Set bit_FMA_Usable if FMA is supported.
32909 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32911 (bit_FMA4_Usable): Updated.
32912 (index_FMA_Usable): New macro.
32913 (CPUID_FMA): Likewise
32914 (HAS_FMA): Defined with bit_FMA_Usable.
32916 2012-10-01 Roland McGrath <roland@hack.frob.com>
32918 * bits/types.h (__swblk_t): Type removed.
32919 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32920 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32922 (__SWBLK_T_TYPE): Likewise.
32923 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32924 (__SWBLK_T_TYPE): Likewise.
32925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32926 (__SWBLK_T_TYPE): Likewise.
32927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32928 (__SWBLK_T_TYPE): Likewise.
32930 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32931 Honza Horak <hhorak@redhat.com>
32933 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32934 (xdr_mapname): Use YPMAXMAP as maxsize.
32935 (xdr_peername): Use YPMAXPEER as maxsize.
32936 (xdr_keydat): Use YPAXRECORD as maxsize.
32937 (xdr_valdat): Use YPMAXRECORD as maxsize.
32939 2012-10-01 Roland McGrath <roland@hack.frob.com>
32941 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32943 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32944 * csu/init-first.c: ... here.
32945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32946 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32947 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32948 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32949 * sysdeps/i386/init-first.c: File removed.
32950 * sysdeps/sh/init-first.c: File removed.
32952 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32956 if x * y might underflow to zero and z is zero.
32957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32959 * math/libm-test.inc (min_subnorm_value): New variable.
32960 (fma_test): Add more tests.
32961 (fma_test_towardzero): Likewise.
32962 (fma_test_downward): Likewise
32963 (fma_test_upward): Likewise.
32964 (initialize): Set min_subnorm_value.
32966 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32971 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32972 mode for addition resulting in exact zero.
32973 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32976 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32978 * math/libm-test.inc (fma_test): Add more tests.
32979 (fma_test_towardzero): New function.
32980 (fma_test_downward): Likewise.
32981 (fma_test_upward): Likewise.
32982 (main): Call the new functions.
32984 2012-09-28 David S. Miller <davem@davemloft.net>
32986 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32988 2012-09-28 Roland McGrath <roland@hack.frob.com>
32990 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32991 instead of SIGALRM.
32993 * sysdeps/gnu/_G_config.h: Moved to ...
32994 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32995 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32996 * sysdeps/generic/_G_config.h: ... here.
32998 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33000 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33002 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33003 Conditionalize target on [libnss_test1.so-version].
33005 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33007 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33008 (elfobjdir): Move out of conditionals.
33010 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33011 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33012 (__nss_lookup_function): Conditionalize label remove_from_tree on
33013 [!DO_STATIC_NSS || SHARED], matching its only use.
33015 2012-09-28 David S. Miller <davem@davemloft.net>
33017 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33018 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33020 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33022 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33024 when HWCAP_SPARC_CRYPTO is present.
33026 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33028 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33030 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33033 * stdio-common/vfprintf.c (process_string_arg): Revert
33036 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33038 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33040 * stdio-common/tst-sprintf.c: Include <locale.h>
33041 (main): Test sprintf's handling of incomplete multibyte
33044 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33046 * elf/dl-runtime.c (VERSYMIDX): Removed.
33047 * elf/dl-version.c (VERSYMIDX): Likewise.
33048 * elf/do-rel.h (VERSYMIDX): Likewise.
33049 (VALIDX): Likewise.
33050 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33051 * elf/rtld.c (VALIDX): Likewise.
33052 (ADDRIDX): Likewise.
33053 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33054 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33055 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33056 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33057 (VALIDX): Likewise.
33058 (ADDRIDX): Likewise.
33060 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33062 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33064 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33067 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33069 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33070 addresses are in the same scope as 192.0.2/24.
33071 * posix/gai.conf: Document new scope table defaults.
33073 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33076 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33077 for ftell. Compute offsets from write pointers instead.
33078 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33080 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33083 * libio/Makefile (tests): New test case tst-fseek.
33084 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33085 combination works in wide mode.
33086 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33087 state when the external buffer state changes.
33089 2012-09-27 David S. Miller <davem@davemloft.net>
33092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33093 pass reloc->r_addend in as the 'high' argument to
33094 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33098 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33100 * rt/tst-aio2.c: Include <pthread.h>.
33101 * rt/tst-aio3.c: Likewise.
33103 2012-09-27 Steve Ellcey <sellcey@mips.com>
33105 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33107 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33109 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33110 contents on [SHARED].
33112 2012-09-26 Marek Polacek <polacek@redhat.com>
33116 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33117 for C++ and GCC <4.3 as well as for non GCC compilers.
33119 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33123 2012-09-25 Roland McGrath <roland@hack.frob.com>
33125 * Makefile.in (all, install): Declare with .PHONY.
33126 Reported by Michael Hope <michael.hope@linaro.org>.
33128 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33130 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33131 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33133 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33135 (sydep_routines): Add the new and the internal functions.
33136 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33137 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33139 (GLIBC_2.17): Add the new function.
33140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33141 (GLIBC_2.17): Likewise.
33142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33143 (GLIBC_2.17): Likewise.
33144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33145 (GLIBC_2.17): Likewise.
33146 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33148 2012-09-25 Alan Modra <amodra@gmail.com>
33150 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33151 Add release barrier before setting once_control to say
33152 initialisation is done. Add hints on lwarx. Use macro in
33154 (clear_once_control): Add release barrier.
33156 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33159 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33161 * math/s_clog10.c (__clog10): Likewise.
33162 * math/s_clog10f.c (__clog10f): Likewise.
33163 * math/s_clog10l.c (__clog10l): Likewise.
33164 * math/s_clogf.c (__clogf): Likewise.
33165 * math/s_clogl.c (__clogl): Likewise.
33166 * math/Makefile (libm-calls): Add x2y2m1.
33167 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33168 (__x2y2m1): Likewise.
33169 (__x2y2m1l): Likewise.
33170 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33171 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33174 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33175 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33176 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33177 * sysdeps/i386/fpu/libm-test-ulps: Update.
33178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33181 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33182 int as type of variable DEPTH.
33183 (glob): Use size_t instead of int as type of variables NEWCOUNT
33186 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33188 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33189 Add s_sincosf-sse2.
33190 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33191 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33192 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33193 macros for using routine as __sincosf_ia32.
33194 Use macro for function declaration and weak_alias.
33195 * sysdeps/i386/fpu/libm-test-ulps: Update.
33197 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33200 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33201 subnormal argument.
33202 * math/s_cexpf.c (__cexpf): Likewise.
33203 * math/s_csinf.c (__csinf): Likewise.
33204 * math/s_csinhf.c (__csinhf): Likewise.
33205 * math/s_ctanf.c (__ctanf): Likewise.
33206 * math/s_ctanhf.c (__ctanhf): Likewise.
33207 * math/s_ccosh.c (__ccoshf): Likewise.
33208 * math/s_cexp.c (__cexpl): Likewise.
33209 * math/s_csin.c (__csin): Likewise.
33210 * math/s_csinh.c (__csinh): Likewise.
33211 * math/s_ctan.c (__ctan): Likewise.
33212 * math/s_ctanh.c (ctanh): Likewise.
33213 * math/s_ccoshl.c (__ccoshl): Likewise.
33214 * math/s_cexpl.c (__cexpl): Likewise.
33215 * math/s_csinl.c (__csinl): Likewise.
33216 * math/s_csinhl.c (__csinhl): Likewise.
33217 * math/s_ctanl.c (__ctanl): Likewise.
33218 * math/s_ctanhl.c (__ctanhl): Likewise.
33220 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33222 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33223 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33224 (_IO_off_t): Define to __off_t, not _G_off_t.
33225 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33226 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33227 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33228 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33229 type of __dummy and __dummy2 fields.
33230 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33231 (_G_ssize_t): Likewise.
33232 (_G_off_t): Likewise.
33233 (_G_pid_t): Likewise.
33234 (_G_uid_t): Likewise.
33235 (_G_wchar_t): Likewise.
33236 (_G_wint_t): Likewise.
33237 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33238 (_G_ssize_t): Likewise.
33239 (_G_off_t): Likewise.
33240 (_G_pid_t): Likewise.
33241 (_G_uid_t): Likewise.
33242 (_G_wchar_t): Likewise.
33243 (_G_wint_t): Likewise.
33244 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33245 (_G_ssize_t): Likewise.
33246 (_G_off_t): Likewise.
33247 (_G_pid_t): Likewise.
33248 (_G_uid_t): Likewise.
33249 (_G_wchar_t): Likewise.
33250 (_G_wint_t): Likewise.
33252 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33254 * malloc/arena.c: Include malloc-sysdep.h.
33255 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33256 is sufficient to shrink the heap or an unmap is needed.
33257 * sysdeps/generic/malloc-sysdep.h: New file. Define
33258 new function check_may_shrink_heap.
33259 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33260 new function check_may_shrink_heap.
33262 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33264 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33267 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33269 * catgets/test-gencat.sh: Add "set -e".
33270 * elf/tst-pathopt.sh: Likewise.
33271 * grp/tst_fgetgrent.sh: Likewise.
33272 * iconvdata/run-iconv-test.sh: Likewise.
33273 * intl/tst-gettext.sh: Likewise.
33274 * intl/tst-gettext2.sh: Likewise.
33275 * intl/tst-gettext4.sh: Likewise.
33276 * intl/tst-gettext6.sh: Likewise.
33277 * intl/tst-translit.sh: Likewise.
33278 * io/ftwtest-sh: Likewise.
33279 * libio/test-freopen.sh: Likewise.
33280 * malloc/tst-mtrace.sh: Likewise.
33281 * posix/globtest.sh: Likewise.
33282 * posix/tst-getconf.sh: Likewise.
33283 * posix/wordexp-tst.sh: Likewise.
33284 * stdio-common/tst-printf.sh: Likewise.
33285 * stdio-common/tst-unbputc.sh: Likewise.
33286 * stdlib/tst-fmtmsg.sh: Likewise.
33287 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33288 * catgets/Makefile: Do not specify -e option when running
33289 testsuite shell scripts.
33290 * elf/Makefile: Likewise.
33291 * grp/Makefile: Likewise.
33292 * iconvdata/Makefile: Likewise.
33293 * intl/Makefile: Likewise.
33294 * io/Makefile: Likewise.
33295 * libio/Makefile: Likewise.
33296 * malloc/Makefile: Likewise.
33297 * posix/Makefile: Likewise.
33298 * stdio-common/Makefile: Likewise.
33299 * stdlib/Makefile: Likewise.
33300 * sysdeps/x86_64/Makefile: Likewise.
33302 * io/ftwtest-sh: Add copyright header.
33303 * posix/globtest.sh: Likewise.
33304 * posix/tst-getconf.sh: Likewise.
33305 * posix/wordexp-tst.sh: Likewise.
33306 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33308 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33311 * Makeconfig (+link): Defined as $(+link-static) if
33312 $(build-shared) isn't yes.
33313 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33315 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33317 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33320 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33321 new chunk size with MALLOC_ALIGN_MASK.
33323 2012-09-24 Joseph Myers <joseph@codesourcery.com>
33326 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33328 (__printf_fphex): Determine rounding using get_rounding_mode and
33330 * stdio-common/tst-printf-round.c (struct hex_test): New
33332 (hex_tests): New variable.
33333 (test_hex_in_one_mode): New function.
33334 (do_test): Also run tests for hex float output.
33336 2012-09-21 Joseph Myers <joseph@codesourcery.com>
33338 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33339 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33340 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33341 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33342 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33343 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33344 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33345 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33347 2012-09-20 Joseph Myers <joseph@codesourcery.com>
33349 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33350 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33351 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33352 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33354 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33357 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33359 * elf/tst-rtld-load-self.sh: New test.
33360 * elf/Makefile: Run it.
33362 2012-09-18 Joseph Myers <joseph@codesourcery.com>
33364 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33365 (tst-writev-ENV): Remove.
33366 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33368 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33370 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33372 2012-09-17 Joseph Myers <joseph@codesourcery.com>
33374 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33376 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33378 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33379 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33380 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33383 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33386 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33387 * config.make.in (have-cpp-asm-debuginfo): Removed.
33388 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33389 * configure: Regenerated.
33391 2012-09-14 Joseph Myers <joseph@codesourcery.com>
33394 * stdio-common/printf_fp.c: Include <stdbool.h> and
33396 (___printf_fp): Determine rounding using get_rounding_mode and
33398 * stdio-common/tst-printf-round.c: New file.
33399 * stdio-common/Makefile (tests): Add tst-printf-round.
33400 (link-libm): New variable.
33401 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33403 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33406 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33407 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33409 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33412 2012-09-13 Joseph Myers <joseph@codesourcery.com>
33414 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33415 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33416 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33417 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33419 2012-09-12 Joseph Myers <joseph@codesourcery.com>
33422 * include/rounding-mode.h: New file.
33423 * sysdeps/generic/get-rounding-mode.h: Likewise.
33424 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33425 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33426 (MAX_VALUE): New macro.
33427 (MIN_VALUE): Likewise.
33428 (overflow_value): New function.
33429 (underflow_value): Likewise.
33430 (round_and_return): Use overflow_value and underflow_value to
33431 determine return values in overflow and underflow cases. Use
33432 round_away to determine rounding depending on rounding mode.
33433 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33434 determine return values in overflow and underflow cases.
33435 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33436 (struct test_results): New structure.
33437 (struct test): Use struct test_results to store expected results
33438 for all rounding modes.
33439 (TEST): Include expected results for all rounding modes.
33440 (test_in_one_mode): New function.
33441 (do_test): Use test_in_one_mode to compute and check results.
33442 Check results for all rounding modes.
33443 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33446 2012-12-09 Allan McRae <allan@archlinux.org>
33448 * sysdeps/i386/fpu/libm-test-ulps: Update
33450 2012-09-11 Joseph Myers <joseph@codesourcery.com>
33452 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33453 (_G_int32_t): Likewise.
33454 (_G_uint16_t): Likewise.
33455 (_G_uint32_t): Likewise.
33456 (_G_HAVE_BOOL): Likewise.
33457 (_G_HAVE_ATEXIT): Likewise.
33458 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33459 (_G_HAVE_IO_FILE_OPEN): Likewise.
33460 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33461 (_G_int32_t): Likewise.
33462 (_G_uint16_t): Likewise.
33463 (_G_uint32_t): Likewise.
33464 (_G_HAVE_BOOL): Likewise.
33465 (_G_HAVE_ATEXIT): Likewise.
33466 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33467 (_G_HAVE_IO_FILE_OPEN): Likewise.
33468 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33469 (_G_int32_t): Likewise.
33470 (_G_uint16_t): Likewise.
33471 (_G_uint32_t): Likewise.
33472 (_G_HAVE_BOOL): Likewise.
33473 (_G_HAVE_ATEXIT): Likewise.
33474 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33475 (_G_HAVE_IO_FILE_OPEN): Likewise.
33477 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33479 * csu/libc-tls.c: Update copyright years.
33481 2012-09-10 Joseph Myers <joseph@codesourcery.com>
33483 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33484 [!_G_USING_THUNKS]: Remove conditional code.
33485 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33486 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33488 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33489 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33490 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33491 (_G_VTABLE_LABEL_PREFIX): Likewise.
33492 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33493 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33494 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33495 (_G_VTABLE_LABEL_PREFIX): Likewise.
33496 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33497 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33498 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33499 (_G_VTABLE_LABEL_PREFIX): Likewise.
33500 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33502 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33504 * libio/Makefile: Include ../Makeconfig before tests.
33505 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33506 only if $(build-shared) is yes.
33508 * iconv/gconv_db.c: Update copyright years.
33510 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33512 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33513 unwind info if defined PIC. Fix special cases description.
33514 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33516 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33518 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33520 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33522 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33524 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33527 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33528 (LDLIBS-tst-chk4): This.
33529 (LDFLAGS-tst-chk5): Renamed to ...
33530 (LDLIBS-tst-chk5): This.
33531 (LDFLAGS-tst-chk6): Renamed to ...
33532 (LDLIBS-tst-chk6): This.
33533 (LDFLAGS-tst-lfschk4): Renamed to ...
33534 (LDLIBS-tst-lfschk4): This.
33535 (LDFLAGS-tst-lfschk5): Renamed to ...
33536 (LDLIBS-tst-lfschk5): This.
33537 (LDFLAGS-tst-lfschk6): Renamed to ...
33538 (LDLIBS-tst-lfschk6): This.
33540 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33541 on $(common-objpfx)soversions.mk.
33543 2012-09-07 Joseph Myers <joseph@codesourcery.com>
33546 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33549 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33551 * malloc/arena.c (arena_get_retry): New function that gets
33552 another arena for the caller to try its request on.
33553 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33554 current arena cannot fulfill the request.
33555 (__libc_memalign): Likewise.
33556 (__libc_memalign): Likewise.
33557 (__libc_pvalloc): Likewise.
33558 (__libc_calloc): Likewise.
33560 2012-09-05 John Tobey <john.tobey@gmail.com>
33563 * manual/arith.texi (Operations on Complex): Fix description
33564 of carg branch cut.
33566 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33569 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33573 * manual/memory.texi (Memory): Make order of menu items match
33576 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33578 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33579 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33580 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33582 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33584 * csu/libc-tls.c (static_dtv): Renamed to ...
33585 (_dl_static_dtv): This. Make it global.
33586 (_dl_initial_dtv): Removed.
33587 (__libc_setup_tls): Updated.
33588 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33589 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33592 2012-09-06 Petr Machata <pmachata@redhat.com>
33594 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33595 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33596 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33597 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33599 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33602 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33603 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33606 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33609 * Makeconfig (link-static-before-libc): Replace $(+prector)
33611 (link-static-after-libc): Replace $(+postctor) with
33613 (link-bounded): Replace $(+prector)/$(+postctor) with
33614 $(+prectorT)/$(+postctorT).
33615 (+prectorT): New macro.
33616 (+postctorT): Likewise.
33618 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33620 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33621 (round_str): Handle values above the maximum for IBM long double
33623 * stdlib/tst-strtod-round.c (tests): Regenerated.
33625 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33627 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33629 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33630 zarch_nohighgprs around the zarch optimized routines.
33631 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33632 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33633 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33636 2012-09-05 David S. Miller <davem@davemloft.net>
33638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33640 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33641 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33642 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33646 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33648 * malloc/arena.c: Fold copyright years.
33649 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33651 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33653 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33655 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33657 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33659 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33661 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33662 change internal state upon failure.
33664 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33666 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33667 * malloc/memusage.c (mmap): Likewise.
33668 (mmap64, mremap): Likewise. Adjust name in comment.
33670 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33672 * libio/fileops.c: Fix typos in comments.
33673 * libio/oldfileops.c: Likewise.
33674 * libio/wfileops.c: Likewise.
33676 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33679 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33680 (tst-malloc-usable-ENV): Set environment for test case.
33681 * malloc/hooks.c (malloc_check_get_size): New function to get
33683 * malloc/malloc.c (musable): Use malloc_check_get_size.
33684 * malloc/tst-malloc-usable.c: New test case.
33686 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33688 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33690 2012-09-05 Allan McRae <allan@archlinux.org>
33693 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33694 determine header location.
33695 * configure: Regenerated.
33697 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33699 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33701 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33702 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33704 (test): Regenerate.
33706 2012-09-04 David S. Miller <davem@davemloft.net>
33708 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33709 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33710 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33712 2012-09-04 Florian Weimer <fweimer@redhat.com>
33714 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33717 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33719 2012-09-04 Joseph Myers <joseph@codesourcery.com>
33722 * libio/iogetdelim.c: Include <limits.h>.
33723 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33724 + len + 1 would overflow.
33726 2012-09-03 Andreas Jaeger <aj@suse.de>
33728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33729 * sysdeps/i386/fpu/libm-test-ulps: Update.
33731 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33733 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33734 Add s_sinf-sse2, s_conf-sse2.
33736 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33737 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33738 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33739 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33741 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33742 for using routine as __sinf_ia32.
33743 Use macro for function declaration and weak_alias.
33744 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33745 for using routine as __cosf_ia32.
33746 Use macro for function declaration and weak_alias.
33748 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33749 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33751 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33752 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33755 * math/libm-test.inc (cos_test): Add more test cases.
33756 (sin_test): Likewise.
33757 (sincos_test): Likewise.
33759 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33761 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33762 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33764 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33766 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33769 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33770 first element of the GOT.
33771 (elf_machine_load_address): Return the difference between
33772 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33774 2012-09-01 Allan McRae <allan@archlinux.org>
33777 * configure.in (AWK): Require gawk version 3.0 or later.
33778 * configure: Regenerated.
33780 2012-09-01 Joseph Myers <joseph@codesourcery.com>
33782 * sysdeps/unix/sysv/linux/kernel-features.h
33783 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33784 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33785 [__NR_clock_getres]: Make code unconditional.
33786 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33787 (clock_getcpuclockid): Remove code left unreachable by removal of
33789 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33790 code unconditional.
33791 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33793 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33794 Make code unconditional.
33795 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33796 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33797 * sysdeps/unix/sysv/linux/clock_settime.c
33798 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33800 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33801 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33803 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33806 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33807 scripts/test-installation.pl.
33809 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33810 and $ld_so_version if it is set.
33812 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33816 failure if reading from procfs failed.
33817 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33819 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33821 * sysdeps/unix/sysv/linux/kernel-features.h
33822 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33823 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33824 Remove conditional code.
33825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33826 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33827 Remove conditional code.
33828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33829 * sysdeps/unix/sysv/linux/i386/fxstat.c
33830 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33832 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33833 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33835 * sysdeps/unix/sysv/linux/i386/lxstat.c
33836 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33838 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33839 Remove conditional code.
33840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33841 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33842 Remove conditional code.
33843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33844 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33845 <kernel-features.h>.
33846 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33848 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33849 Remove conditional code.
33850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33851 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33852 Remove conditional.
33854 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33857 * NEWS: Add fixed bug number.
33859 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33862 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33863 underflowing exponent in case of negative sign.
33864 * stdlib/tst-strtod-round-data: Add more tests.
33865 * stdlib/tst-strtod-round.c (tests): Regenerated.
33868 * stdlib/strtod_l.c (NDIG): Remove.
33869 (HEXNDIG): Likewise.
33870 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33871 smallest representable value.
33872 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33873 lie within an exact representation of 1/2 ulp of the result.
33874 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33876 (TENS_P9_IDX): Define unconditionally.
33877 (TENS_P9_SIZE): Likewise.
33878 (TENS_P10_IDX): Likewise.
33879 (TENS_P10_SIZE): Likewise.
33880 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33881 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33882 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33883 entries for 10^2^13 and 10^2^14.
33884 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33885 (TENS_P13_IDX): Define.
33886 (TENS_P13_SIZE): Likewise.
33887 (TENS_P14_IDX): Likewise.
33888 (TENS_P14_SIZE): Likewise.
33889 (_fpioconst_pow10): Change array size to
33890 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33892 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33893 1024]: Add entries for 10^2^13 and 10^2^14.
33894 [LAST_POW10 > _LAST_POW10]: Remove #error.
33895 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33896 (_fpioconst_pow10): Change array size to
33897 FPIOCONST_POW10_ARRAY_SIZE.
33898 * stdlib/gen-fpioconst.c: New file.
33899 * stdlib/gen-tst-strtod-round.c: Likewise.
33900 * stdlib/tst-strtod-round-data: Likewise.
33901 * stdlib/tst-strtod-round.c: Likewise.
33902 * stdlib/Makefile (tests): Add tst-strtod-round.
33905 * stdlib/strtod_l.c: Include <stdint.h>.
33906 (NDEBUG): Do not define.
33907 (round_and_return): Change EXPONENT parameter to type intmax_t.
33908 Rearrange calculations to avoid internal overflow possibilities.
33909 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33910 Rearrange calculations to avoid internal overflow possibilities.
33911 Assert that number fits inside MPNSIZE limbs.
33912 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33913 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33914 calculations and add assertions to avoid internal overflow
33915 possibilities. Add casts to avoid signed/unsigned operations.
33916 * stdlib/tst-strtod-overflow.c: New file.
33917 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33919 2012-08-25 Marek Polacek <polacek@redhat.com>
33921 * time/time.h: Fix some typos in comments.
33923 2012-08-23 Roland McGrath <roland@hack.frob.com>
33925 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33926 * posix/tst-rfc3484-2.c: Likewise.
33927 * posix/tst-rfc3484-3.c: Likewise.
33929 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33931 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33932 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33934 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33936 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33937 #include of fxstatat64.c.
33939 2012-08-22 Roland McGrath <roland@hack.frob.com>
33941 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33942 * shadow/getspent_r.c: Likewise.
33943 * shadow/getspnam.c: Likewise.
33944 * shadow/getspnam_r.c: Likewise.
33945 * gshadow/getsgent.c: Likewise.
33946 * gshadow/getsgent_r.c: Likewise.
33947 * gshadow/getsgnam.c: Likewise.
33948 * gshadow/getsgnam_r.c: Likewise.
33949 * inet/getnetbyad.c: Likewise.
33950 * inet/getnetbyad_r.c: Likewise.
33951 * inet/getnetbynm.c: Likewise.
33952 * inet/getnetbynm_r.c: Likewise.
33953 * inet/getnetent.c: Likewise.
33954 * inet/getnetent_r.c: Likewise.
33955 * inet/getproto.c: Likewise.
33956 * inet/getproto_r.c: Likewise.
33957 * inet/getprtent.c: Likewise.
33958 * inet/getprtent_r.c: Likewise.
33959 * inet/getprtname.c: Likewise.
33960 * inet/getprtname_r.c: Likewise.
33961 * inet/getrpcbyname.c: Likewise.
33962 * inet/getrpcbyname_r.c: Likewise.
33963 * inet/getrpcbynumber.c: Likewise.
33964 * inet/getrpcbynumber_r.c: Likewise.
33965 * inet/getrpcent.c: Likewise.
33966 * inet/getrpcent_r.c: Likewise.
33967 * inet/getaliasent.c: Likewise.
33968 * inet/getaliasent_r.c: Likewise.
33969 * inet/getaliasname.c: Likewise.
33970 * inet/getaliasname_r.c: Likewise.
33971 * nscd/getgrgid_r.c: Likewise.
33972 * nscd/getgrnam_r.c: Likewise.
33973 * nscd/gethstbyad_r.c: Likewise.
33974 * nscd/gethstbynm3_r.c: Likewise.
33975 * nscd/getpwnam_r.c: Likewise.
33976 * nscd/getpwuid_r.c: Likewise.
33977 * nscd/getsrvbynm_r.c: Likewise.
33978 * nscd/getsrvbypt_r.c: Likewise.
33979 * nscd/gai.c: Likewise.
33981 * configure.in (build_nscd): New substituted variable, set
33982 by --disable-build-nscd and defaults to $use_nscd.
33983 * configure: Regenerated.
33984 * config.make.in (build-nscd): New substituted variable.
33985 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33986 Change conditional to require [$(build-nscd) = yes] as well.
33987 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33990 * configure.in (use_nscd): New substituted variable, set by
33991 --disable-nscd. If enabled, define USE_NSCD.
33992 * configure: Regenerated.
33993 * config.h.in: Add USE_NSCD.
33994 * config.make.in (use-nscd): New substituted variable.
33995 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33996 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33997 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33998 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33999 (CFLAGS-getgrnam_r.c): Likewise.
34000 (CFLAGS-initgroups.c): Likewise.
34001 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34002 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34004 * inet/getnetgrent_r.c
34005 (nscd_setnetgrent): New function, broken out of ...
34006 (setnetgrent): ... here. Call it.
34007 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34008 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34009 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34010 * nscd/Makefile (routines, aux): Move definitions after include of
34011 Makeconfig. Conditionalize on [$(use-nscd) != no].
34012 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34013 Conditionalize on [USE_NSCD].
34014 (is_nscd, nscd_init_cb): Likewise.
34015 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34016 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34017 * nss/nss_db/db-init.c: Likewise.
34018 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34020 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34021 (make_request): Use it.
34022 (cache_valid_p): New function.
34023 (__check_pf): Use it.
34024 * NEWS: Add item for --disable-nscd.
34026 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34028 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34029 to support sed >= 4.2.1-20-ga9bf076.
34030 * configure: Regenerated.
34032 2012-08-22 Roland McGrath <roland@hack.frob.com>
34034 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34035 Conditionalize whole body on [IREL].
34037 2012-08-22 Jeff Law <law@redhat.com>
34040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34041 if the family is PF_UNSPEC.
34043 2012-08-22 Mike Frysinger <vapier@gentoo.org>
34045 * Makerules (lib-version): Rename from V.
34046 (install-lib-nosubdir): Change V to lib-version.
34048 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34051 * powerpc32/power6/wcschr.c: New file.
34052 * powerpc32/power6/wcscpy.c: New file.
34053 * powerpc32/power6/wcsrchr.c: New file.
34054 * powerpc64/power6/wcschr.c: New file.
34055 * powerpc64/power6/wcscpy.c: New file.
34056 * powerpc64/power6/wcsrchr.c: New file.
34058 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34060 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34061 (two_way_short_needle): Use it.
34062 * string/strstr.c (AVAILABLE1_USES_J): Define.
34063 * string/strcasestr.c: Likewise.
34065 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34067 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34070 * NEWS: Add an entry.
34071 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34072 define their defaults.
34073 (two_way_short_needle): Detect end-of-string on-the-fly.
34074 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34075 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34076 * string/bug-strcasestr1.c: New test.
34077 * string/Makefile: Run it.
34079 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34082 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34083 the first character.
34085 2012-08-21 Roland McGrath <roland@hack.frob.com>
34087 * csu/elf-init.c (__libc_csu_irel): Function removed.
34088 * csu/libc-start.c (apply_irel): New function.
34089 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34091 2012-08-21 Joseph Myers <joseph@codesourcery.com>
34093 * sysdeps/unix/sysv/linux/kernel-features.h
34094 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34095 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34096 <kernel-features.h>.
34097 [__NR_fadvise64_64]: Make code unconditional.
34098 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34099 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34100 !__NR_fadvise64_64)]: Likewise.
34101 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34102 !__NR_fadvise64_64))]: Likewise.
34103 [__NR_fadvise64]: Make code unconditional.
34104 [!__NR_fadvise64]: Remove conditional code.
34105 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34106 <kernel-features.h>.
34107 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34109 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34112 not include <kernel-features.h>.
34113 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34115 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34117 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34118 include <kernel-features.h>.
34119 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34121 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34124 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34126 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34127 slight instruction rearrangements per scrollpipe analysis.
34128 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34130 2012-08-20 Roland McGrath <roland@hack.frob.com>
34132 * manual/syslog.texi (syslog; vsyslog, closelog):
34133 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34134 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34136 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34137 DSOCAPS to match condition on defining it.
34139 2012-08-20 Joseph Myers <joseph@codesourcery.com>
34141 * sysdeps/unix/sysv/linux/kernel-features.h
34142 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34144 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34145 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34147 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34148 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34150 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34151 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34153 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34154 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34156 * sysdeps/unix/sysv/linux/kernel-features.h
34157 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34158 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34160 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34161 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34162 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34163 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34164 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34165 Make code unconditional.
34166 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34167 (__mmap64) [!__NR_mmap2]: Likewise.
34168 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34169 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34170 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34171 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34172 [__NR_mmap2]: Make code unconditional.
34173 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34174 (__mmap64) [!__NR_mmap2]: Likewise.
34176 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34178 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34180 2012-08-18 Andreas Jaeger <aj@suse.de>
34182 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34184 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34186 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34187 * include/unistd.h (__have_sock_cloexec): Likewise.
34188 (__have_pipe2): Likewise.
34189 (__have_dup3): Likewise.
34191 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34194 * include/unistd.h (__have_pipe2): Change define into an extern int.
34195 (__have_dup3): Likewise.
34196 * socket/have_sock_cloexec.c: Include fcntl.h.
34197 (__have_pipe2): New variable.
34198 (__have_dup3): Likewise.
34200 2012-08-17 Mike Frysinger <vapier@gentoo.org>
34202 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34204 2012-08-17 Marek Polacek <polacek@redhat.com>
34206 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34207 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34209 2012-08-17 Roland McGrath <roland@hack.frob.com>
34211 * configure.in: Add AC_SUBST for sysheaders.
34212 * configure: Regenerated.
34213 * config.make.in (sysheaders): New substituted variable.
34215 * sysdeps/unix/mkfifo.c: Moved ...
34216 * sysdeps/posix/mkfifo.c: ... here.
34217 * sysdeps/unix/mkfifoat.c: Moved ...
34218 * sysdeps/posix/mkfifoat.c: ... here.
34220 * sysdeps/unix/utime.c: Moved ...
34221 * sysdeps/posix/utime.c: ... here.
34223 * sysdeps/unix/time.c: Moved ...
34224 * sysdeps/posix/time.c: ... here.
34225 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34226 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34228 * sysdeps/unix/nice.c: Moved ...
34229 * sysdeps/posix/nice.c: ... here.
34231 * sysdeps/unix/alarm.c: Moved ...
34232 * sysdeps/posix/alarm.c: ... here.
34234 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34236 2012-08-17 Jeff Law <law@redhat.com>
34238 * intl/Makefile (codeset_mo): New variable.
34239 ($(codeset_mo)): New target.
34240 (tst-codeset.out): Depend on that. Remove explicit rule.
34241 (tst-gettext3.out, tst-gettext5.out): Likewise.
34242 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34243 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34244 * intl/tst-codeset.sh: Remove.
34245 * intl/tst-gettext3.sh: Likewise.
34246 * intl/tst-gettext5.sh: Likewise.
34248 2012-08-17 Roland McGrath <roland@hack.frob.com>
34250 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34251 * sysdeps/unix/syscalls.list: ... here.
34253 * sysdeps/posix/getaddrinfo.c
34254 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34255 (gaiconf_init, gaiconf_reload): Use them.
34256 [!_STATBUF_ST_NSEC]
34257 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34258 Define using time_t rather than struct timespec.
34260 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34261 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34263 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34265 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34266 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34269 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34270 __libc_cleanup_push argument.
34272 * bits/param.h: New file.
34273 * misc/sys/param.h: New file.
34274 * include/sys/param.h: New file.
34275 * misc/Makefile (headers): Add bits/param.h.
34276 * sysdeps/generic/sys/param.h: File removed.
34277 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34278 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34279 * sysdeps/mach/hurd/bits/param.h: New file.
34280 * sysdeps/mach/hurd/sys/param.h: File removed.
34282 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34285 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34287 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34288 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34291 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34292 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34293 rather than -D_IO_MTSAFE_IO conditionally.
34294 * stdio-common/Makefile (CPPFLAGS): Likewise.
34295 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34296 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34297 Use $(libio-mtsafe).
34298 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34299 of -D_IO_MTSAFE_IO.
34300 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34301 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34302 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34303 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34304 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34305 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34306 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34307 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34308 (CFLAGS-fread_u_chk.c): Likewise.
34309 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34310 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34311 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34312 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34313 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34314 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34315 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34316 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34317 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34319 * libio/Makefile: Test [$(libc-reentrant) = yes]
34320 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34323 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34324 * sysdeps/pthread/configure: File removed.
34325 * sysdeps/pthread/Makeconfig: New file.
34326 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34327 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34329 2012-08-16 Gary Benson <gbenson@redhat.com>
34331 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34332 unmapping the first object in a namespace.
34334 2012-08-16 Roland McGrath <roland@hack.frob.com>
34336 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34337 (__internal_setnetgrent): ... this. Add internal_function to
34338 definition. Add libc_hidden_def.
34339 (setnetgrent): Update caller.
34340 (internal_endnetgrent): Renamed to ...
34341 (__internal_endnetgrent): ... this. Add internal_function to
34342 definition. Add libc_hidden_def.
34343 (endnetgrent): Update caller.
34344 (internal_getnetgrent_r): Renamed to ...
34345 (__internal_getnetgrent_r): ... this. Add internal_function to
34346 definition. Add libc_hidden_def.
34347 (__getnetgrent_r): Update caller.
34348 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34350 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34352 * stdlib/longlong.h: Update from GCC.
34354 2012-08-16 Roland McGrath <roland@hack.frob.com>
34356 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34357 on _QL, which is set by umul_ppmm but never used.
34358 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34359 variables, which are set by GMP macros but never used.
34360 * stdio-common/_itowa.c (_itowa): Likewise.
34361 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34362 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34364 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34366 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34367 struct La_sh_regs is not constant.
34368 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34369 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34370 and struct La_sparc64_regs are not constant.
34372 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34374 * sysdeps/unix/sysv/linux/kernel-features.h
34375 (__ASSUME_POSIX_TIMERS): Remove.
34376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34378 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34379 Make code unconditional.
34380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34381 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34382 Make code unconditional.
34383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34384 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34385 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34387 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34388 Make code unconditional.
34389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34390 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34391 (__libc_missing_posix_timers): Remove.
34393 2012-08-15 Roland McGrath <roland@hack.frob.com>
34395 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34396 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34398 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34400 * elf/dl-sym.c: Include <stdlib.h>.
34402 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34403 constants, which avoids warnings in 32-bit builds.
34405 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34406 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34408 * misc/lseek.c: File moved to ...
34409 * io/lseek.c: ... here.
34411 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34413 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34414 shifting LEN more than 31 bits at once.
34416 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34419 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34420 segmentation fault for a case of two empty input strings.
34421 * string/test-strncasecmp.c (check1): Renamed to...
34422 (bz12205): ...this.
34423 (bz14195): Add new testcase for two empty input strings and N > 0.
34424 (test_main): Call new testcase, adapt for renamed function.
34426 2012-08-15 Andreas Jaeger <aj@suse.de>
34429 * crypt/md5test2.c: New test, based on test supplied by Serge
34430 Belyshev <belyshev@depni.sinp.msu.ru>.
34431 * crypt/Makefile (xtests): Add md5test-giant..
34432 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34434 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34437 * crypt/md5.c (md5_process_block): Don't assume the buffer
34438 length is less than 2**32.
34439 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34440 length is less than 2**64.
34442 2012-08-15 Roland McGrath <roland@hack.frob.com>
34444 * string/str-two-way.h: Include <sys/param.h>.
34445 (MAX): Macro removed.
34447 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34448 Move #define and #undef of memmove to just before and after
34449 including <string.h>.
34451 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34452 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34453 and after including <string.h>. Move declarations of
34454 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34455 to before #include "string/memmove.c".
34457 * include/dirent.h: Declare __getdirentries.
34459 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34460 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34462 2012-08-14 Mike Frysinger <vapier@gentoo.org>
34464 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34465 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34466 * sysdeps/i386/configure: Regenerated.
34467 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34468 STABS_CURRENT_FILE, and STABS_FUN.
34469 (END): Remove call to STABS_FUN_END.
34470 (STABS_CURRENT_FILE1): Delete.
34471 (STABS_CURRENT_FILE): Likewise.
34472 (STABS_FUN): Likewise.
34473 (STABS_FUN_END): Likewise.
34474 (STABS_FUN2): Likewise.
34475 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34476 * sysdeps/x86_64/configure: Regenerated.
34478 2012-08-14 Roland McGrath <roland@hack.frob.com>
34480 * elf/dl-open.c: Include <atomic.h>.
34481 * elf/dl-lookup.c: Likewise.
34483 2012-08-14 Joseph Myers <joseph@codesourcery.com>
34485 * sysdeps/unix/sysv/linux/kernel-features.h
34486 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34487 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34489 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34491 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34492 condition on __ASSUME_CLONE_THREAD_FLAGS.
34494 2012-08-14 Andreas Jaeger <aj@suse.de>
34496 * sysdeps/i386/fpu/libm-test-ulps: Update.
34498 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34500 * include/atomic.h (atomic_exchange_and_add): Split into ...
34501 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34504 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34508 2012-08-13 Jeff Law <law@redhat.com>
34510 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34511 null byte in the output string.
34513 2012-08-10 Joseph Myers <joseph@codesourcery.com>
34515 * sysdeps/unix/sysv/linux/kernel-features.h
34516 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34517 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34518 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34519 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34520 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34521 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34522 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34524 2012-08-09 Jeff Law <law@redhat.com>
34527 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34528 When avoid_arena is set, don't retry in the that arena. Pick the
34529 next one, whatever it might be.
34530 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34531 (arena_lock): Pass in new parameter to arena_get2.
34532 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34534 (__libc_malloc): Unify retrying after main arena failure with
34535 __libc_memalign version.
34536 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34538 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34542 to __redirect_strstr.
34543 (__strstr_sse42): Use typeof __redirect_strstr.
34544 (__strstr_ia32): Likewise.
34545 (__libc_strstr): New prototype.
34546 (strstr): Renamed to ...
34547 (__libc_strstr): This.
34548 (strstr): New strong alias of __libc_strstr.
34549 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34550 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34553 (__libc_time): New prototype.
34554 (time_ifunc): Replace time with __libc_time.
34555 (time): New strong alias and hidden definition of __libc_time.
34556 (__GI_time): Remove strong alias.
34557 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34558 Include <stddef.h>.
34559 (memmove): Redefined to __redirect_memmove.
34560 (__memmove_sse2): Use typeof __redirect_memmove.
34561 (__memmove_ssse3): Likewise.
34562 (__memmove_ssse3_back): Likewise.
34563 (__libc_memmove): New prototype.
34564 (memmove): Renamed to ...
34565 (__libc_memmove): This.
34566 (memmove): New strong alias of __libc_memmove.
34568 2012-08-08 Mark Salter <msalter@redhat.com>
34571 (R_MN10300_TLS_GD): Define.
34572 (R_MN10300_TLS_LD): Likewise.
34573 (R_MN10300_TLS_LDO): Likewise.
34574 (R_MN10300_TLS_GOTIE): Likewise.
34575 (R_MN10300_TLS_IE): Likewise.
34576 (R_MN10300_TLS_LE): Likewise.
34577 (R_MN10300_TLS_DTPMOD): Likewise.
34578 (R_MN10300_TLS_DTPOFF): Likewise.
34579 (R_MN10300_TLS_TPOFF): Likewise.
34580 (R_MN10300_SYM_DIFF): Likewise.
34581 (R_MN10300_ALIGN): Likewise.
34582 (R_MN10300_NUM): Update.
34584 2012-08-08 Joseph Myers <joseph@codesourcery.com>
34586 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34589 2012-08-08 Roland McGrath <roland@hack.frob.com>
34591 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34593 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34594 sysdeps/unix -> sysdeps/posix move.
34595 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34597 2012-08-07 Allan McRae <allan@archlinux.org>
34600 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34601 (SUNOS_CPP): Likewise.
34602 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34604 (open_input): Call CPP using execvp.
34606 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34608 * sysdeps/unix/sysv/linux/kernel-features.h
34609 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34610 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34611 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34612 (__ASSUME_WAITID_SYSCALL): Likewise.
34613 * sysdeps/unix/sysv/linux/dl-execstack.c
34614 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34615 code unconditional.
34616 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34618 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34619 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34620 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34622 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34624 [__ASSUME_WAITID_SYSCALL]: Likewise.
34625 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34627 2012-08-07 Roland McGrath <roland@hack.frob.com>
34629 * sysdeps/unix/closedir.c: Renamed to ...
34630 * sysdeps/posix/closedir.c: ... here.
34631 * sysdeps/unix/dirfd.c: Renamed to ...
34632 * sysdeps/posix/dirfd.c: ... here.
34633 * sysdeps/unix/dirstream.h: Renamed to ...
34634 * sysdeps/posix/dirstream.h: ... here.
34635 * sysdeps/unix/fdopendir.c: Renamed to ...
34636 * sysdeps/posix/fdopendir.c: ... here.
34637 * sysdeps/unix/opendir.c: Renamed to ...
34638 * sysdeps/posix/opendir.c: ... here.
34639 * sysdeps/unix/readdir.c: Renamed to ...
34640 * sysdeps/posix/readdir.c: ... here.
34641 * sysdeps/unix/readdir_r.c: Renamed to ...
34642 * sysdeps/posix/readdir_r.c: ... here.
34643 * sysdeps/unix/rewinddir.c: Renamed to ...
34644 * sysdeps/posix/rewinddir.c: ... here.
34645 * sysdeps/unix/seekdir.c: Renamed to ...
34646 * sysdeps/posix/seekdir.c: ... here.
34647 * sysdeps/unix/telldir.c: Renamed to ...
34648 * sysdeps/posix/telldir.c: ... here.
34649 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34650 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34651 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34652 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34654 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34655 * bits/fcntl.h: ... here.
34657 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34659 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34660 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34661 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34662 (struct flock): Move l_start, l_len to the beginning.
34663 Use __pid_t for l_pid.
34664 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34665 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34666 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34667 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34668 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34669 [__USE_LARGEFILE64] (struct flock64): New type.
34670 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34672 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34673 * bits/dirent.h: ... here.
34675 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34676 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34678 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34680 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34681 Change from 2.6.0 to 2.6.16.
34682 * sysdeps/unix/sysv/linux/configure: Regenerated.
34683 * sysdeps/unix/sysv/linux/kernel-features.h
34684 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34685 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34687 (__ASSUME_UTIMES): Likewise.
34688 (__ASSUME_CLONE_STOPPED): Remove.
34689 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34690 architectures, not kernel version.
34691 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34692 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34693 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34694 (__ASSUME_WAITID_SYSCALL): Likewise.
34695 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34696 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34697 * README: State 2.6.16 as minimum Linux kernel version. Do not
34698 refer to older versions.
34700 2012-08-06 Roland McGrath <roland@hack.frob.com>
34702 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34703 Define alphasort64 as an alias.
34704 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34705 Define versionsort64 as an alias.
34706 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34707 Define scandir64 as an alias.
34708 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34709 Define scandirat64 as an alias.
34710 * dirent/alphasort64.c (alphasort64):
34711 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34712 * dirent/versionsort64.c: Likewise.
34713 * dirent/scandir64.c: Likewise.
34714 * dirent/scandirat64.c: Likewise.
34715 * sysdeps/wordsize-64/alphasort.c: File removed.
34716 * sysdeps/wordsize-64/alphasort64.c: File removed.
34717 * sysdeps/wordsize-64/scandir.c: File removed.
34718 * sysdeps/wordsize-64/scandir64.c: File removed.
34719 * sysdeps/wordsize-64/scandirat.c: File removed.
34720 * sysdeps/wordsize-64/scandirat64.c: File removed.
34721 * sysdeps/wordsize-64/versionsort.c: File removed.
34722 * sysdeps/wordsize-64/versionsort64.c: File removed.
34723 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34724 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34725 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34726 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34727 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34728 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34729 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34730 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34732 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34734 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34736 [defined __arch64__ || defined __sparcv9]
34737 (__INO_T_MATCHES_INO64_T): New macro.
34738 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34739 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34740 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34741 * sysdeps/unix/sysv/linux/bits/dirent.h
34742 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34743 (_DIRENT_MATCHES_DIRENT64): New macro.
34745 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34746 Define lockf64 as an alias.
34747 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34748 Define fseeko64 as an alias.
34749 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34750 Define ftello64 as an alias.
34751 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34752 Define _IO_fgetpos64 and fgetpos64 as aliases.
34753 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34754 Define _IO_fsetpos64 and fsetpos64 as aliases.
34755 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34756 Conditionalize body on this.
34757 * libio/fseeko64.c: Likewise.
34758 * libio/ftello64.c: Likewise.
34759 * libio/iofgetpos64.c: Likewise.
34760 * libio/iofsetpos64.c: Likewise.
34761 * sysdeps/wordsize-64/lockf.c: File removed.
34762 * sysdeps/wordsize-64/lockf64.c: File removed.
34763 * sysdeps/wordsize-64/fseeko.c: File removed.
34764 * sysdeps/wordsize-64/fseeko64.c: File removed.
34765 * sysdeps/wordsize-64/ftello.c: File removed.
34766 * sysdeps/wordsize-64/ftello64.c: File removed.
34767 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34768 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34769 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34770 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34772 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34773 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34774 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34775 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34776 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34779 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34782 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34784 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34786 [defined __arch64__ || defined __sparcv9]
34787 (__OFF_T_MATCHES_OFF64_T): New macro.
34788 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34789 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34791 (__OFF_T_MATCHES_OFF64_T): New macro.
34793 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34795 * stdlib/secure-getenv.c (__secure_getenv): Replace
34796 GLIBC_2_16 with GLIBC_2_17.
34798 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34803 2012-08-03 David S. Miller <davem@davemloft.net>
34805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34807 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34809 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34811 (__ASSUME_CORRECT_SI_PID): Likewise.
34812 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34813 (__ASSUME_TMPFS_NAME): Likewise.
34814 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34815 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34816 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34817 (HAVE_AUX_SECURE): Make definition unconditional.
34818 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34819 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34821 2012-08-03 Roland McGrath <roland@hack.frob.com>
34823 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34824 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34825 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34826 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34827 __eloop_threshold instead of SYMLOOP_MAX.
34829 * sysdeps/generic/eloop-threshold.h: New file.
34830 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34832 * elf/chroot_canon.c (chroot_canon): Likewise.
34834 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34837 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34838 Change to 2.6.0 everywhere.
34839 * sysdeps/unix/sysv/linux/configure: Regenerated.
34840 * sysdeps/unix/sysv/linux/kernel-features.h
34841 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34842 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34844 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34845 (__ASSUME_FUTEX_REQUEUE): Remove.
34846 (__ASSUME_STATFS64): Define unconditionally.
34847 (__ASSUME_AT_SECURE): Likewise.
34848 (__ASSUME_CORRECT_SI_PID): Likewise.
34849 (__ASSUME_TGKILL): Define without depending on kernel version for
34851 (__ASSUME_UTIMES): Likewise.
34852 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34854 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34855 (__ASSUME_TMPFS_NAME): Likewise.
34856 * README: Update reference to Linux kernel versions.
34858 2012-08-02 Marek Polacek <polacek@redhat.com>
34861 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34862 libc_cv_asm_type_prefix with %.
34863 * configure: Regenerated.
34864 * include/libc-symbols.h: Remove comment about
34865 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34866 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34867 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34868 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34869 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34870 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34871 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34872 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34873 * elf/tst-unique2mod1.c: Likewise.
34874 * elf/tst-unique1mod2.c: Likewise.
34875 * elf/tst-unique1mod1.c: Likewise.
34876 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34877 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34878 Replace ASM_TYPE_DIRECTIVE with .type.
34879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34880 * sysdeps/i386/sysdep.h: Likewise.
34881 * sysdeps/x86_64/sysdep.h: Likewise.
34882 * sysdeps/sh/sysdep.h: Likewise.
34883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34884 Do not define ASM_TYPE_DIRECTIVE.
34885 * sysdeps/powerpc/sysdep.h: Likewise.
34886 * sysdeps/powerpc/powerpc32/sysdep.h:
34887 Replace ASM_TYPE_DIRECTIVE with .type.
34888 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34890 * sysdeps/i386/fpu/e_powf.S: Likewise.
34891 * sysdeps/i386/fpu/e_expl.S: Likewise.
34892 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34893 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34894 * sysdeps/i386/fpu/e_pow.S: Likewise.
34895 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34896 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34897 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34898 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34899 * sysdeps/i386/fpu/e_log2.S: Likewise.
34900 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34902 * sysdeps/i386/fpu/e_powl.S: Likewise.
34903 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34904 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34905 * sysdeps/i386/fpu/e_logl.S: Likewise.
34906 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34907 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34908 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34909 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34910 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34911 * sysdeps/i386/fpu/e_log.S: Likewise.
34912 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34913 * sysdeps/i386/fpu/e_logf.S: Likewise.
34914 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34915 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34917 * sysdeps/i386/fpu/e_log10.S: Likewise.
34918 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34919 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34920 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34921 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34922 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34923 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34925 * sysdeps/i386/i686/strtok.S: Likewise.
34926 * sysdeps/i386/i386-mcount.S: Likewise.
34927 * sysdeps/i386/strtok.S: Likewise.
34928 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34929 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34930 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34931 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34932 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34933 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34934 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34935 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34936 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34937 * sysdeps/x86_64/_mcount.S: Likewise.
34938 * sysdeps/x86_64/strtok.S: Likewise.
34939 * sysdeps/sh/_mcount.S: Likewise.
34941 2012-08-01 Roland McGrath <roland@hack.frob.com>
34943 * libio/iofopen.c: Include <fcntl.h>.
34944 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34945 (_IO_fopen64, fopen64): Define as aliases.
34946 * libio/iofopen64.c: Include <fcntl.h>.
34947 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34948 Conditionalize body on this.
34949 * sysdeps/wordsize-64/iofopen.c: File removed.
34950 * sysdeps/wordsize-64/iofopen64.c: File removed.
34952 2012-08-01 Marek Polacek <polacek@redhat.com>
34954 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34955 Use dlfcn directly instead of a variable.
34956 (binfmt-subdir): Do not define.
34959 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34961 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34962 Remove all definitions.
34963 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34964 <kernel-features.h>.
34965 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34966 (miss_F_GETOWN_EX): Remove all definitions.
34967 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34969 [!__ASSUME_FCNTL64]: Remove conditional code.
34970 [__ASSUME_FCNTL64]: Make code unconditional.
34971 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34972 <kernel-features.h>.
34973 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34974 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34975 (lockf64) [__NR_fcntl64]: Make code unconditional.
34976 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34978 * sysdeps/unix/sysv/linux/kernel-features.h
34979 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34980 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34981 Make code unconditional.
34982 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34983 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34985 [__NR_vfork]: Make code unconditional.
34986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34989 [__NR_vfork]: Make code unconditional.
34990 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34991 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34993 2012-08-01 Roland McGrath <roland@hack.frob.com>
34995 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34996 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34998 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34999 Define mkstemp64 as an alias.
35000 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35001 Define mkstemps64 as an alias.
35002 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35003 Define mkostemp64 as an alias.
35004 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35005 Define mkostemps64 as an alias.
35006 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35007 Conditionalize body on this.
35008 * misc/mkostemp64.c: Likewise.
35009 * misc/mkostemps64.c: Likewise.
35010 * misc/mkstemps64.c: Likewise.
35011 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35012 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35013 * sysdeps/wordsize-64/mkostemp.c: File removed.
35014 * sysdeps/wordsize-64/mkstemp.c: File removed.
35015 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35016 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35017 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35018 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35021 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35022 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35023 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35024 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35026 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35027 compat_symbol macros from <shlib-compat.h> rather than the underlying
35028 default_symbol_version and symbol_version macros, so that DEFAULT
35029 lines in shlib-versions are respected.
35030 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35032 2012-08-01 Florian Weimer <fweimer@redhat.com>
35034 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35035 Declare with warn_unused_result.
35036 (setgid, setregid, setegid, setresgid): Likewise.
35037 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35039 * WUR-REPORT: Remove set*id functions.
35041 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35043 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35045 2012-07-31 Roland McGrath <roland@hack.frob.com>
35048 * include/sys/socket.h (__libc_accept, __libc_accept4):
35049 Add attribute_hidden.
35050 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35052 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35054 * inet/getnetgrent_r.c (setup): Likewise.
35056 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35058 2012-07-31 David S. Miller <davem@davemloft.net>
35060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35062 2012-07-31 Joseph Myers <joseph@codesourcery.com>
35065 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35066 value between 1.0 and 2.0 and smaller part has absolute value less
35068 * math/s_clog10.c (__clog10): Likewise.
35069 * math/s_clog10f.c (__clog10f): Likewise.
35070 * math/s_clog10l.c (__clog10l): Likewise.
35071 * math/s_clogf.c (__clogf): Likewise.
35072 * math/s_clogl.c (__clogl): Likewise.
35073 * math/libm-test.inc (clog_test): Add more tests.
35074 (clog10_test): Likewise.
35075 * sysdeps/i386/fpu/libm-test-ulps: Update.
35076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35078 2012-07-31 Florian Weimer <fweimer@redhat.com>
35080 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35081 Exit with zero in case no suitable GID is found, and write a
35082 message to standard error.
35084 2012-07-30 Roland McGrath <roland@hack.frob.com>
35086 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35088 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35089 (MAXPATHLEN): Removed.
35090 (NOGROUP, NODEV): New macros.
35091 (setbit, clrbit, isset, isclr): New macros.
35092 (howmany, roundup, powerof2): New macros.
35093 (DEV_BSIZE): New macro.
35095 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35096 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35098 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35099 definition on [!__NO_LONG_DOUBLE_MATH].
35101 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35102 PTR_MANGLE and PTR_DEMANGLE.
35104 * socket/accept4.c (accept4): Rename to __libc_accept4.
35105 Define accept4 as a weak alias.
35107 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35108 on [_DIRENT_HAVE_D_TYPE].
35109 * io/ftw.c (ftw_dir): Likewise.
35111 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35113 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35115 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35116 Use the BSD numbers rather than the arbitrary ones we had.
35117 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35118 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35119 (SIGXCPU, SIGXFSZ): New macros.
35122 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35123 initializer on [_LIBC_REENTRANT].
35125 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35126 definitions inside [_POSIX_MAPPED_FILES].
35128 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35130 * dirent/opendir.c: Include <fcntl.h>.
35132 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35133 (__libc_getspecific): Likewise.
35134 (__libc_key_create): Likewise.
35136 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35137 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35138 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35139 (tmpfile64): Define as alias.
35140 * sysdeps/wordsize-64/tmpfile.c: File removed.
35141 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35142 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35145 * stdio-common/vfscanf.c: Include <stdbool.h>.
35146 * nss/makedb.c: Likewise.
35147 * stdio-common/_i18n_number.h: Likewise.
35148 * argp/argp-help.c: Likewise.
35149 * posix/wordexp.c: Likewise.
35150 * sysdeps/posix/spawni.c: Likewise.
35151 * nss/nss_files/files-initgroups.c: Likewise.
35152 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35153 * nss/nss_files/files-initgroups.c: Likewise.
35154 * nss/nss_db/db-netgrp.c: Likewise.
35155 * nss/nss_db/db-initgroups.c: Likewise.
35156 * io/fchmodat.c: Include <sys/stat.h>.
35158 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35159 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35161 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35164 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35165 Add multiple inclusion protection.
35167 2012-07-27 David S. Miller <davem@davemloft.net>
35169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35171 2012-07-27 Gary Benson <gbenson@redhat.com>
35174 * elf/rtld.c: Include <stap-probe.h>.
35175 (dl_main): Added static probes "init_start" and "init_complete".
35176 * elf/dl-load.c: Include <stap-probe.h>.
35177 (lose): Take new parameter "nsid".
35178 Added static probe "map_failed".
35179 (_dl_map_object_from_fd): Pass namespace id to lose.
35180 Added static probe "map_start".
35181 (open_verify): Pass namespace id to lose.
35182 * elf/dl-open.c: Include <stap-probe.h>.
35183 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35184 and "reloc_complete".
35185 * elf/dl-close.c: Include <stap-probe.h>.
35186 (_dl_close_worker): Added static probes "unmap_start" and
35188 * elf/rtld-debugger-interface.txt: New file documenting the above.
35190 2012-07-26 Roland McGrath <roland@hack.frob.com>
35192 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35193 rather than a string variable.
35194 * sunrpc/rpc_main.c (h_output): Likewise.
35195 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35197 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35199 * inet/check_native.c: New file.
35201 2012-07-26 Joseph Myers <joseph@codesourcery.com>
35204 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35205 if larger part has absolute value 1.0.
35206 * math/s_clog10.c (__clog10): Likewise.
35207 * math/s_clog10f.c (__clog10f): Likewise.
35208 * math/s_clog10l.c (__clog10l): Likewise.
35209 * math/s_clogf.c (__clogf): Likewise.
35210 * math/s_clogl.c (__clogl): Likewise.
35211 * math/libm-test.inc (clog_test): Add more tests.
35212 (clog10_test): Likewise.
35213 * sysdeps/i386/fpu/libm-test-ulps: Update.
35214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35216 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35217 (pltexit): Likewise.
35218 (La_regs): Likewise.
35219 (La_retval): Likewise.
35220 (int_retval): Likewise.
35221 Update #error for removed macros to refer only to definitions in
35223 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35225 (pltexit): Likewise.
35226 (La_regs): Likewise.
35227 (La_retval): Likewise.
35228 (int_retval): Likewise.
35229 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35231 (pltexit): Likewise.
35232 (La_regs): Likewise.
35233 (La_retval): Likewise.
35234 (int_retval): Likewise.
35235 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35237 (pltexit): Likewise.
35238 (La_regs): Likewise.
35239 (La_retval): Likewise.
35240 (int_retval): Likewise.
35241 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35243 (pltexit): Likewise.
35244 (La_regs): Likewise.
35245 (La_retval): Likewise.
35246 (int_retval): Likewise.
35247 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35249 (pltexit): Likewise.
35250 (La_regs): Likewise.
35251 (La_retval): Likewise.
35252 (int_retval): Likewise.
35253 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35255 (pltexit): Likewise.
35256 (La_regs): Likewise.
35257 (La_retval): Likewise.
35258 (int_retval): Likewise.
35259 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35260 macro definitions in tst-audit.h.
35261 * sysdeps/i386/tst-audit.h: New file.
35262 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35263 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35264 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35265 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35266 * sysdeps/sh/tst-audit.h: Likewise.
35267 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35268 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35269 * sysdeps/x86_64/tst-audit.h: Likewise.
35271 2012-07-26 Andreas Jaeger <aj@suse.de>
35273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35276 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35277 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35278 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35280 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35281 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35282 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35284 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35287 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35289 (si_call_addr, si_syscall, si_arch): Define new macro.
35290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35292 (si_call_addr, si_syscall, si_arch): Define new marcro.
35293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35295 (si_call_addr, si_syscall, si_arch): Define new macro.
35296 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35298 (si_call_addr, si_syscall, si_arch): Define new macro.
35300 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35304 Change to 2.4.21 where previously 2.4.1.
35305 * sysdeps/unix/sysv/linux/configure: Regenerated.
35306 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35307 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35308 Linux kernel version.
35309 (__ASSUME_STD_AUXV): Remove.
35310 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35312 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35313 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35314 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35315 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35316 (__ASSUME_NETLINK_SUPPORT): Likewise.
35317 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35318 (__no_netlink_support): Remove conditional definition.
35319 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35321 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35322 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35323 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35324 (if_nameindex_ioctl): Remove.
35325 (if_nameindex_netlink): Do not handle __no_netlink_support.
35326 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35328 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35329 Remove conditional code.
35330 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35332 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35334 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35335 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35336 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35338 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35339 [!__ASSUME_STD_AUXV]: Remove conditional code.
35340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35341 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35342 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35344 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35345 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35347 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35349 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35350 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35352 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35354 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35357 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35360 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35361 code unconditional.
35362 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35364 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35366 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35369 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35371 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35374 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35375 code unconditional.
35376 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35378 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35380 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35383 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35384 code unconditional.
35385 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35387 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35389 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35392 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35394 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35395 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35396 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35397 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35398 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35399 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35400 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35401 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35402 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35403 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35404 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35405 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35406 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35407 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35408 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35409 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35410 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35411 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35412 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35414 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35415 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35418 2012-07-25 Florian Weimer <fweimer@redhat.com>
35420 * Versions.def: Add GLIBC_2.17.
35421 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35422 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35423 Introduce __libc_secure_getenv.
35424 * stdlib/Versions (2.17): Add secure_getenv
35425 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35426 * stdlib/secure-getenv.c: Rename __secure_getenv to
35427 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35428 symbol __secure_getenv for GLIBC_2.0.
35429 * stdlib/tst-secure-getenv.c: New.
35430 * stdlib/Makefile (tests): Add testcase.
35431 * manual/startup.texi (Environment Access): Document
35433 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35434 __libc_secure_getenv.
35435 * inet/ruserpass.c (ruserpass): Likewise.
35436 * malloc/mtrace.c (mtrace): Likewise.
35437 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35438 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35439 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35440 * sysdeps/posix/tempname.c: Likewise. Evaluate
35441 HAVE_SECURE_GETENV.
35442 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35443 __secure_getenv to __libc_secure_getenv.
35444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35457 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35459 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35460 (struct La_i86_retval): Likewise.
35461 (struct La_x86_64_regs): Likewise.
35462 (struct La_x86_64_retval): Likewise.
35463 (struct La_x32_regs): Likewise.
35464 (struct La_x32_retval): Likewise.
35465 (struct La_ppc32_regs): Likewise.
35466 (struct La_ppc32_retval): Likewise.
35467 (struct La_ppc64_regs): Likewise.
35468 (struct La_ppc64_retval): Likewise.
35469 (struct La_sh_regs): Likewise.
35470 (struct La_sh_retval): Likewise.
35471 (struct La_s390_32_regs): Likewise.
35472 (struct La_s390_32_retval): Likewise.
35473 (struct La_s390_64_regs): Likewise.
35474 (struct La_s390_64_retval): Likewise.
35475 (struct La_sparc32_regs): Likewise.
35476 (struct La_sparc32_retval): Likewise.
35477 (struct La_sparc64_regs): Likewise.
35478 (struct La_sparc64_retval): Likewise.
35479 (struct audit_ifaces): Remove architecture-specific pltenter and
35481 * sysdeps/i386/ldsodefs.h: New file.
35482 * sysdeps/powerpc/ldsodefs.h: Likewise.
35483 * sysdeps/s390/ldsodefs.h: Likewise.
35484 * sysdeps/sh/ldsodefs.h: Likewise.
35485 * sysdeps/sparc/ldsodefs.h: Likewise.
35486 * sysdeps/x86_64/ldsodefs.h: Likewise.
35488 2012-07-25 Marek Polacek <polacek@redhat.com>
35491 * math/libm-test.inc (yn_test): Add another test.
35492 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35493 to ERANGE when the result is +-Inf.
35494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35496 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35497 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35499 2012-07-24 Joseph Myers <joseph@codesourcery.com>
35501 * conform/data/time.h-data (NULL): Use macro-constant. Require
35503 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35505 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35507 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35509 * configure.in <sysdeps resolving>: Correct printing
35511 * configure: Regenerate.
35513 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35515 * math/w_ilogb.c: Include <limits.h>.
35516 * math/w_ilogbl.c: Likewise.
35518 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35520 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35521 va_copy. Document allowing for unavailable va_copy only as
35522 pre-C99 compatibility.
35523 * manual/string.texi (Copying and Concatenation): Use va_copy
35524 instead of __va_copy in concat example.
35526 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35528 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35529 (__sendto): Use create_address_port. Initialize APORT and deallocate
35532 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35533 with O_NOLINK passed to __file_name_lookup.
35535 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35536 with O_NOLINK passed to __file_name_lookup.
35538 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35539 negative N or less than NGIDS.
35541 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35542 type to string_t. Set ERANGE as errno and return it if NAME is not big
35543 enough. Use memcpy instead of strncpy.
35545 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35547 * elf/Makefile (check-data): Remove.
35548 (localplt.data): New vpath directive.
35549 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35550 instead of $(check-data).
35551 * scripts/data/localplt-generic.data: Move to ...
35552 * sysdeps/generic/localplt.data: ... here.
35553 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35554 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35555 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35558 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35561 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35564 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35567 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35570 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35574 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35576 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35577 PPC32 and PPC64 files.
35578 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35579 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35581 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35583 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35584 __makecontext_ret to ...
35585 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35586 ... here and call exit if uc_link is NULL. New file.
35587 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35588 __makecontext_ret.S.
35589 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35590 __makecontext_ret to ...
35591 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35592 ... here and call exit if uc_link is NULL. New file.
35593 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35594 __makecontext_ret.S.
35596 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35598 * elf/elf.h (R_390_IRELATIVE): New definition.
35599 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35600 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35601 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35603 (elf_machine_lazy_rel): Likewise.
35604 * sysdeps/s390/dl-irel.h: New file.
35605 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35606 * sysdeps/s390/s390-64/memset.S: New asm code.
35607 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35608 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35609 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35610 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35611 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35612 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35613 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35614 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35615 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35616 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35617 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35618 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35619 * sysdeps/s390/s390-32/memset.S: New asm code.
35620 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35622 2012-07-17 Marek Polacek <polacek@redhat.com>
35625 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35626 * sysdeps/s390/s390-64/configure.in: Likewise.
35627 * sysdeps/sparc/configure.in: Likewise.
35628 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35629 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35630 * sysdeps/i386/configure.in: Likewise.
35631 * sysdeps/x86_64/configure.in: Likewise.
35632 * sysdeps/sh/configure.in: Likewise.
35633 * sysdeps/s390/s390-32/configure: Regenerated.
35634 * sysdeps/s390/s390-64/configure: Likewise.
35635 * sysdeps/x86_64/configure: Likewise.
35636 * sysdeps/sh/configure: Likewise.
35637 * sysdeps/powerpc/powerpc64/configure: Likewise.
35638 * sysdeps/powerpc/powerpc32/configure: Likewise.
35639 * sysdeps/sparc/configure: Likwise.
35640 * sysdeps/i386/configure: Likewise.
35642 * elf/dl-open.c: Comment fixes.
35644 2012-07-17 Joseph Myers <joseph@codesourcery.com>
35646 * Makefile [CXX] (check-data): Remove.
35647 [CXX] (c++-types.data): New vpath directive.
35648 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35649 vpath. Do not allow for C++ type data being missing.
35650 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35651 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35652 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35653 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35654 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35655 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35656 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35659 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35662 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35665 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35668 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35671 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35674 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35677 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35680 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35681 definitions to architecture-specific files.
35682 (TLS_IE): Likewise.
35683 (TLS_LD): Likewise.
35684 (TLS_GD): Likewise.
35685 * sysdeps/i386/tls-macros.h: New file.
35686 * sysdeps/powerpc/tls-macros.h: Likewise.
35687 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35688 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35689 * sysdeps/sh/tls-macros.h: Likewise.
35690 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35691 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35692 * sysdeps/x86_64/tls-macros.h: Likewise.
35694 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35696 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35697 zero value for regular exit case.
35699 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35700 (__start_context): Preserve zero value for regular exit case.
35702 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35703 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35705 * manual/setjmp.texi (setcontext): Clarify normal process
35706 termination when uc_link is the null pointer.
35707 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35710 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35712 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35713 preprocessor. Test for each exception mask separately.
35715 2012-07-16 Andreas Jaeger <aj@suse.de>
35717 * po/ru.po: Update from translation team.
35719 2012-07-15 Joseph Myers <joseph@codesourcery.com>
35721 * conform/data/string.h-data (NULL): Use macro-constant. Require
35723 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35724 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35725 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35726 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35729 2012-07-13 Andreas Jaeger <aj@suse.de>
35731 * po/fr.po: Update from translation team.
35733 2012-07-12 Marek Polacek <polacek@redhat.com>
35736 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35737 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35740 2012-07-12 Joseph Myers <joseph@codesourcery.com>
35743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35744 Change to 2.4.1 where previously 2.4.0.
35745 * sysdeps/unix/sysv/linux/configure: Regenerated.
35746 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35747 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35749 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35750 (__ASSUME_AT_CLKTCK): Remove.
35751 (__ASSUME_AT_PAGESIZE): Likewise.
35752 (__ASSUME_AT_XID): Likewise.
35753 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35754 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35755 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35757 (HAVE_AUX_PAGESIZE): Likewise.
35758 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35759 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35760 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35762 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35766 the temporary buffer used to invoke __gethostbyname2_r,
35767 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35768 host_data / struct gaih_addrtuple.
35769 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35770 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35771 header file nss/nsswitch.h.
35772 * nss/nsswitch.h (global scope): Add definition of implementation
35773 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35774 resolv/nss_dns/dns-host.c).
35776 2012-07-11 Andreas Jaeger <aj@suse.de>
35778 * po/fr.po: Update from translation team.
35780 * po/sv.po: Update from translation team
35781 * po/fr.po: Another update from translation team.
35783 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35785 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35786 for subnormals or multiply small sinh result by itself.
35787 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35790 2012-07-11 David S. Miller <davem@davemloft.net>
35792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35794 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35797 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35798 (INTERNAL_MARK): Shift it here.
35800 2012-07-10 Marek Polacek <polacek@redhat.com>
35803 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35804 libc_cv_asm_global_directive with .globl.
35805 * configure: Regenerated.
35806 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35808 * sysdeps/i386/configure: Regenerated.
35809 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35811 * sysdeps/x86_64/configure: Regenerated.
35812 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35813 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35814 * elf/tst-unique2mod2.c: Likewise.
35815 * elf/tst-unique2mod1.c: Likewise.
35816 * elf/tst-unique1mod2.c: Likewise.
35817 * elf/tst-unique1mod1.c: Likewise.
35818 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35819 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35822 * sysdeps/mach/sysdep.h: Likewise.
35823 * sysdeps/i386/sysdep.h: Likewise.
35824 * sysdeps/i386/i386-mcount.S: Likewise.
35825 * sysdeps/x86_64/_mcount.S: Likewise.
35826 * sysdeps/x86_64/sysdep.h: Likewise.
35827 * sysdeps/sh/_mcount.S: Likewise.
35828 * sysdeps/sh/sysdep.h: Likewise.
35829 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35830 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35831 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35833 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35834 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35835 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35836 * locale/localeinfo.h: Likewise.
35837 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35838 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35840 2012-07-09 Roland McGrath <roland@hack.frob.com>
35843 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35845 * manual/message.texi (The Uniforum approach): Likewise.
35846 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35847 (glibc iconv Implementation): Likewise.
35849 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35852 * math/s_clog.c (__clog): Avoid scaling a value down where that
35853 could result in underflow.
35854 * math/s_clog10.c (__clog10): Likewise.
35855 * math/s_clog10f.c (__clog10f): Likewise.
35856 * math/s_clog10l.c (__clog10l): Likewise.
35857 * math/s_clogf.c (__clogf): Likewise.
35858 * math/s_clogl.c (__clogl): Likewise.
35859 * math/libm-test.inc (clog_test): Add more tests.
35860 (clog10_test): Likewise.
35861 * sysdeps/i386/fpu/libm-test-ulps: Update.
35862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35864 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35867 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35868 by 7 not 8 to examine high bit of fractional part.
35871 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35872 for call to __mcount_internal.
35873 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35874 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35875 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35877 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35880 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35881 approximation for values within 0x1p-13f of an odd multiple of
35883 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35884 exception. Add more tests.
35885 * sysdeps/i386/fpu/libm-test-ulps: Update.
35888 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35889 inputs and return -1 for them. Do not check for +Inf in case not
35890 reachable for +Inf.
35891 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35892 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35893 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35894 and return -1 for them. Do not check for +Inf in case not
35895 reachable for +Inf.
35896 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35898 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35899 and return -1 for them. Do not check for +Inf in case not
35900 reachable for +Inf.
35901 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35902 spurious underflow.
35903 * sysdeps/i386/fpu/libm-test-ulps: Update.
35904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35906 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35908 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35910 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35914 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35915 could result in spurious underflow. Scale down values above
35916 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35917 * math/s_csqrtf.c (__csqrtf): Likewise.
35918 * math/s_csqrtl.c (__csqrtl): Likewise.
35919 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35920 spurious underflow.
35921 * sysdeps/i386/fpu/libm-test-ulps: Update.
35922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35924 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35926 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35928 * catgets/xopen-msg.awk: New file.
35929 * catgets/xopen-msg.sed: Removed.
35931 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35933 * intl/po2test.awk: New file.
35934 * intl/po2test.sed: Removed.
35936 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35939 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35940 or multiply small sinh result by itself.
35941 * math/s_ctanf.c (__ctanf): Likewise.
35942 * math/s_ctanh.c (__ctanh): Likewise.
35943 * math/s_ctanhf.c (__ctanhf): Likewise.
35944 * math/s_ctanhl.c (__ctanhl): Likewise.
35945 * math/s_ctanl.c (__ctanl): Likewise.
35946 * math/libm-test.inc (ctan_test_tonearest): New function.
35947 (ctan_test_towardzero): Likewise.
35948 (ctan_test_downward): Likewise.
35949 (ctan_test_upward): Likewise.
35950 (ctanh_test_tonearest): Likewise.
35951 (ctanh_test_towardzero): Likewise.
35952 (ctanh_test_downward): Likewise.
35953 (ctanh_test_upward): Likewise.
35954 (main): Call these new functions.
35955 * sysdeps/i386/fpu/libm-test-ulps: Update.
35956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35958 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35960 * .gitignore: Delete /ports entry.
35962 2012-07-03 Andreas Jaeger <aj@suse.de>
35964 * po/bg.po: Update from translation team.
35965 * po/cs.po: Likewise.
35966 * po/de.po: Likewise.
35967 * po/hr.po: Likewise.
35968 * po/nl.pl: Likewise.
35969 * po/pl.po: Likewise.
35970 * po/vi.po: Likewise.
35972 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35974 * Makeconfig [!+link] (+link-before-libc): New variable.
35975 [!+link] (+link-after-libc): Likewise.
35976 [!+link] (+link-tests): Likewise.
35977 [!+link] (+link): Define in terms of $(+link-before-libc) and
35978 $(+link-after-libc).
35979 [!+link-static] (+link-static-before-libc): New variable.
35980 [!+link-static] (+link-static-after-libc): Likewise.
35981 [!+link-static] (+link-static-tests): Likewise.
35982 [!+link-static] (+link-static): Define in terms of
35983 $(+link-static-before-libc) and $(+link-static-after-libc).
35984 [build-shared] (link-libc-before-gnulib): New variable.
35985 [build-shared] (link-libc-tests): Likewise.
35986 [build-shared] (link-libc): Define in terms of
35987 $(link-libc-before-gnulib).
35988 [!build-shared] (link-libc-tests): New variable.
35989 (link-libc-static-tests): New variable.
35990 [!gnulib] (gnulib-arch): New variable.
35991 [!gnulib] (gnulib-tests): Likewise.
35992 [!gnulib] (static-gnulib-arch): Likewise.
35993 [!gnulib] (static-gnulib-tests): Likewise.
35994 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35995 Define with "=" instead of ":=".
35996 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35997 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35998 * Rules (binaries-all-notests): New variable.
35999 (binaries-all-tests): Likewise.
36000 (binaries-static-notests): Likewise.
36001 (binaries-static-tests): Likewise.
36002 (binaries-all): Define using $(binaries-all-notests) and
36003 $(binaries-all-tests).
36004 (binaries-static): Define using $(binaries-static-notests) and
36005 $(binaries-static-tests).
36006 (binaries-shared-tests): New variable.
36007 (binaries-shared-notests): Likewise.
36008 (binaries-shared): Remove variable.
36009 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36010 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36011 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36012 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36013 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36014 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36015 * elf/Makefile (sln-modules): New variable.
36016 (extra-objs): Add $(sln-modules:=.o).
36017 (ldconfig-modules): Add static-stubs.
36018 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36019 * elf/static-stubs.c: New file.
36022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36023 by 7 not 8 to examine high bit of fractional part. Use volatile
36024 variables when splitting into final array of floats if
36025 __FLT_EVAL_METHOD__ != 0.
36026 * math/libm-test.inc (cos_test): Add another test.
36027 (sin_test): Likewise.
36028 * sysdeps/i386/fpu/libm-test-ulps: Update.
36031 * math/libm-test.inc (cosh_test): Add more tests.
36033 * version.h (RELEASE): Set to "development".
36034 (VERSION): Set to "2.16.90".
36036 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36038 * NEWS: Update copyright. Remove last-updated date.
36039 Mention math library bug fixes and timezone data changes.
36040 * README: Mention GNU/Hurd, x32, and HPPA support status.
36042 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36044 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36046 2012-06-27 Andreas Jaeger <aj@suse.de>
36048 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36050 2012-06-25 Andreas Jaeger <aj@suse.de>
36052 * sysdeps/s390/fpu/libm-test-ulps: Update.
36054 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36055 Thomas Schwinge <thomas@codesourcery.com>
36057 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36058 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36062 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36064 * sysdeps/mach/start.c: Remove file.
36065 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36066 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36067 * sysdeps/sh/init-first.c: Likewise.
36069 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36070 registers for frame unwinding purposes, add CFI directives.
36071 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36072 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36073 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36076 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36077 __fortify_fail returning.
36078 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36080 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36081 sysdeps/sh/____longjmp_chk.S.
36082 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36083 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36084 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36085 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36087 * sysdeps/sh/abort-instr.h: New file.
36088 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36089 process in case exit returns.
36091 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36092 initialize the GOT register before use.
36094 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36095 calculation of ARGC > 4.
36097 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36098 meaningful names to some local labels.
36100 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36101 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36103 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36104 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36105 (__arch_compare_and_exchange_val_16_acq): Likewise.
36106 (__arch_compare_and_exchange_val_32_acq): Likewise.
36107 (atomic_exchange_and_add): Fix gUSA sequence.
36108 (atomic_add): Likewise.
36109 (atomic_add_negative): Likewise.
36110 (atomic_add_zero): Likewise.
36111 (atomic_bit_test_set): Likewise.
36113 2012-06-22 Andreas Schwab <schwab@redhat.com>
36116 * include/link.h (struct link_map): Add l_free_initfini.
36117 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36119 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36120 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36121 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36124 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36126 * configure.in: Use AC_LANG_SOURCE.
36127 * configure: Regenerate.
36129 2012-06-22 Roland McGrath <roland@hack.frob.com>
36131 * configure.in (libc_cv_localstatedir): New substituted variable.
36132 * configure: Regenerated.
36133 * config.make.in (localstatedir): New variable, substituted from
36134 libc_cv_localstatedir.
36135 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36136 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36137 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36138 * sysdeps/gnu/configure: Regenerated.
36140 2012-06-21 Jeff Law <law@redhat.com>
36143 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36144 free. Simplify list management for _LIBC case.
36146 2012-06-21 Joseph Myers <joseph@codesourcery.com>
36149 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36150 Clear sign bit of 64-bit integer value before comparing against
36153 * sysdeps/mach/configure: Regenerated.
36155 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36158 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36160 2012-06-21 Jeff Law <law@redhat.com>
36163 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36164 uint16_t for elements in the "seen" array to avoid char overflows.
36165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36166 * elf/dl-open.c (dl_open_worker): Likewise.
36168 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36170 * scripts/list-sources.sh: Scan PORTS for translations.
36171 * po/libc.pot: Regenerated.
36173 2012-06-21 Andreas Jaeger <aj@suse.de>
36176 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36178 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36179 * bits/byteswap-16.h (__bswap_16): Likewise.
36180 * bits/byteswap.h (__bswap_constant_16): Likewise.
36182 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36185 * sysdeps/i386/fpu_control.h: Removed.
36186 * sysdeps/x86_64/fpu_control.h: Moved to ...
36187 * sysdeps/x86/fpu_control.h: Here.
36189 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36190 (_FPU_SETCW): Likewise.
36192 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36195 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36196 * sysdeps/x86/fpu/bits/mathinline.h: This.
36197 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36201 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36202 functions if __x86_64__ is defined.
36204 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36206 * string/endian.h: Add !__ASSEMBLER__ condition for including
36207 conversion interfaces.
36209 2012-06-15 Joseph Myers <joseph@codesourcery.com>
36212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36213 of ABS(x) in calculating zero to negative powers other than odd
36215 * math/libm-test.inc (pow_test): Add more tests.
36217 2012-06-15 Andreas Jaeger <aj@suse.de>
36219 * manual/contrib.texi (Contributors): Update entry of Liubov
36220 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36223 2012-06-15 Cyril Hrubis <metan@ucw.cz>
36225 * string/string.h: Add __wur to GNU version of strerror_r.
36227 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36230 * string/Makefile (tests): Add tst-strtok_r.
36231 * string/tst-strtok_r.c: New file.
36232 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36233 RAX_LP/RDX_LP on SAVE_PTR.
36235 2012-06-14 Roland McGrath <roland@hack.frob.com>
36237 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36239 2012-06-14 Joseph Myers <joseph@codesourcery.com>
36241 * libm_test.inc (csqrt_test): Allow more spurious underflow
36243 (j0_test): Likewise.
36244 (j1_test): Likewise.
36245 (y0_test): Likewise.
36246 (y1_test): Likewise.
36248 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36250 * po/Makefile (libc.pot): Use UTF-8 charset.
36252 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36255 Suppress sign-conversion warning from FD_SET.
36256 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36257 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36258 not unsigned long int.
36259 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36261 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36265 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36266 __extern_always_inline instead of __extern_inline.
36267 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36268 (__signbit): Likewise.
36269 (__signbitl): Support C++ namespace.
36270 (lrintf): New inline function.
36272 (llrintf): Likewise.
36273 (llrint): Likewise.
36283 (floorf): Likewise.
36284 (nearbyint): Likewise.
36285 (nearbyintf): Likewise.
36287 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36289 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36290 non-default versions.
36292 2012-06-11 Roland McGrath <roland@hack.frob.com>
36295 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36297 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36299 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36300 (FE_UPWARD, FE_DOWNWARD): Don't define.
36301 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36302 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36304 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36306 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36307 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36309 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36311 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36312 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36313 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36314 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36316 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36319 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36320 * sysdeps/i386/fpu/Implies: New file.
36321 * sysdeps/x86_64/fpu/Implies: Likewise.
36322 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36323 * sysdeps/x86/fpu/bits/fenv.h: This.
36325 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36328 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36331 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36332 character 0xffff that matches the last element of the
36335 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36340 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36343 values higher than 25.6283.
36345 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36348 subnormal exponent extraction and add some __builtin_expect.
36349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36350 Fix for subnormal mantissa calculation.
36352 2012-06-04 Mike Frysinger <vapier@gentoo.org>
36354 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36355 cpu2 is -1 and errno is not ENOSYS.
36357 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36360 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36361 * sysdeps/x86/bits/string.h: This.
36362 * sysdeps/x86_64/bits/string.h: Removed.
36364 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36365 if not compiling for x86-64, but compiling for >= i486.
36367 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36368 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36370 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36371 New macro from Linux kernel 3.4.0.
36372 (FP_XSTATE_MAGIC2): Likewise.
36373 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36374 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36375 (struct _fpx_sw_bytes): New struct.
36376 (struct _xsave_hdr): Likewise.
36377 (struct _ymmh_state): Likewise.
36378 (struct _xstate): Likewise.
36380 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36381 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36382 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36383 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36384 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36385 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36387 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36388 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36389 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36390 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36391 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36392 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36394 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36397 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36398 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36399 (sysdep_headers): Include sys/platform/ppc.h.
36400 * sysdeps/powerpc/test-gettimebase.c: Test for
36401 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36402 * manual/Makefile (appendices): Include platform.texi.
36403 * manual/contrib.texi (Contributors): Update @node pointers.
36404 * manual/maint.texi (Maintenance): Likewise.
36405 (Platform): New node.
36406 * manual/platform.texi: New file. Document the new features.
36408 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36409 Jakub Jelinek <jakub@redhat.com>
36412 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36413 where __builtin_expect is unavailable.
36415 2012-06-03 David S. Miller <davem@davemloft.net>
36417 * stdlib/longlong.h: Updated from GCC.
36419 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36422 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36423 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36426 (GLIBC_2.16): Likewise.
36428 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36430 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36432 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36435 (default-abi): New variable.
36436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36437 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36439 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36441 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36443 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36446 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36447 definition. Document in comment.
36449 2012-06-01 David S. Miller <davem@davemloft.net>
36451 * stdlib/longlong.h: Updated from GCC.
36453 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36456 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36457 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36458 sys/debugreg.h sys/io.h here.
36459 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36460 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36462 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36463 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36464 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36465 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36466 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36467 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36469 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36470 Define only if __x86_64__ is defined.
36472 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36475 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36476 Use int64_t for variable i.
36477 * math/libm-test.inc (fmod_test): Add more tests.
36479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36480 z computation is not scheduled after fetestexcept.
36481 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36482 Use math_force_eval instead of asm to ensure calculation scheduled
36483 before exception test.
36484 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36485 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36487 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36490 computation is not scheduled after fetestexcept.
36492 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36495 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36496 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36498 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36500 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36501 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36503 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36506 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36508 (__WCHAR_MIN): Support __WORDSIZE == 64.
36509 (__WCHAR_MAX): Likewise.
36511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36512 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36516 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36519 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36520 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36522 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36523 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36525 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36526 Defined to 1 if __x86_64__ isn't defined.
36527 (_STAT_VER_LINUX_OLD): New.
36528 (st_atime): Remove duplicate.
36529 (st_mtime): Likewise.
36530 (st_ctime): Likewise.
36532 2012-05-31 David S. Miller <davem@davemloft.net>
36534 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36537 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36539 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36543 * elf/dl-reloc.c: Include <_itoa.h>.
36544 (_dl_reloc_bad_type): Remove use of INTUSE.
36545 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36546 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36547 * stdio-common/psiginfo.c (psiginfo): Likewise.
36548 * stdio-common/psignal.c (psignal): Likewise.
36549 * string/strsignal.c (strsignal): Likewise.
36550 * include/signal.h (_sys_siglist): Declare hidden proto.
36551 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36552 INTVARDEF with libc_hidden_data_def.
36553 * stdio-common/itoa-udigits.c: Likewise.
36554 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36555 (_itoa_lower_digits_internal): Remove declaration.
36556 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36557 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36558 (_sys_sigabbrev_internal): Remove aliases.
36559 (_sys_siglist): Define hidden alias.
36561 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36566 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36569 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36570 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36572 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36573 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36574 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36575 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36577 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36579 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36580 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36581 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36583 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36591 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36593 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36595 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36596 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36597 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36598 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36599 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36600 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36602 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36603 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36605 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36606 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36609 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36610 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36612 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36613 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36615 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36617 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36618 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36619 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36621 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36623 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36625 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36627 * math/math.h (M_El): Use two more decimal places.
36628 (M_LOG2El): Likewise.
36629 (M_LOG10El): Likewise.
36630 (M_LN2l): Likewise.
36631 (M_LN10l): Likewise.
36633 (M_PI_2l): Likewise.
36634 (M_PI_4l): Likewise.
36635 (M_1_PIl): Likewise.
36636 (M_2_PIl): Likewise.
36637 (M_2_SQRTPIl): Likewise.
36638 (M_SQRT2l): Likewise.
36639 (M_SQRT1_2l): Likewise.
36641 2012-05-31 David S. Miller <davem@davemloft.net>
36643 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36644 values between float registers.
36645 * sysdeps/sparc/sparc64/memset.S: Likewise.
36646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36648 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36650 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36651 -D_FORTIFY_SOURCE=1.
36652 (CPPFLAGS-tst-longjmp_chk.c): Define.
36653 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36654 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36655 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36656 CFLAGS-tst-wchar-h.c.
36658 2012-05-31 Marek Polacek <polacek@redhat.com>
36661 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36662 __endmntent_internal): Remove declaration.
36663 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36664 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36665 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36667 2012-05-30 David S. Miller <davem@davemloft.net>
36669 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36670 (___Q_simulate_exceptions): Use real FP ops rather than writing
36672 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36675 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36678 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36679 * sysdeps/x86/bits/xtitypes.h: This.
36681 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36682 * sysdeps/x86/bits/wordsize.h: This.
36684 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36685 * sysdeps/x86/bits/huge_vall.h: This.
36687 * sysdeps/i386/bits/select.h: Removed.
36688 * sysdeps/x86_64/bits/select.h: Renamed to ...
36689 * sysdeps/x86/bits/select.h: This.
36691 * sysdeps/i386/bits/setjmp.h: Removed.
36692 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36693 * sysdeps/x86/bits/setjmp.h: This.
36695 * sysdeps/i386/bits/mathdef.h: Removed.
36696 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36697 * sysdeps/x86/bits/mathdef.h: This.
36699 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36702 * include/sys/socket.h (__connect_internal)
36703 (__libc_sa_len_internal): Remove declaration.
36704 (__connect, __libc_sa_len): Declare hidden_proto.
36705 (SA_LEN): Remove use of INTUSE.
36706 * socket/connect.c: Add libc_hidden_def.
36707 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36708 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36709 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36711 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36712 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36713 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36714 of adding _internal alias.
36716 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36719 * sysdeps/i386/bits/link.h: Removed.
36720 * sysdeps/i386/bits/linkmap.h: Likewise.
36721 * sysdeps/x86_64/bits/link.h: Renamed to ...
36722 * sysdeps/x86/bits/link.h: This.
36723 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36724 * sysdeps/x86/bits/linkmap.h: This.
36726 * sysdeps/i386/bits/endian.h: Removed.
36727 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36728 * sysdeps/x86/bits/endian.h: This.
36730 * sysdeps/i386/bits/byteswap.h: Removed.
36731 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36732 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36733 * sysdeps/x86/bits/byteswap.h: This.
36734 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36735 * sysdeps/x86/bits/byteswap-16.h: This.
36736 * sysdeps/i386/Implies: Add x86.
36737 * sysdeps/x86_64/Implies: Likewise.
36739 2012-05-30 David S. Miller <davem@davemloft.net>
36741 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36742 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36744 (FP_TRAPPING_EXCEPTIONS): Define.
36745 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36746 (FP_TRAPPING_EXCEPTIONS): Define.
36747 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36748 subnormals only when inexact has been signalled or underflow
36749 exceptions are enabled.
36750 (_FP_PACK_CANONICAL): Likewise.
36752 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36755 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36756 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36758 2012-05-30 Richard Henderson <rth@twiddle.net>
36760 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36761 with #ifndef NOT_IN_libc.
36763 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36764 marked to avoid plt entry.
36766 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36769 * Makeconfig (default-abi): New macro.
36770 (abi-includes): Likewise.
36771 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36772 $(abi-$(default-abi)-lib-soname) for soname if defined.
36773 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36775 * Makefile (installed-stubs): Likewise.
36776 * include/stubs-biarch.h: Removed.
36777 * scripts/lib-names.awk: Only handle one library at a time.
36778 * scripts/soversions.awk: Remove WORDSIZE support.
36779 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36781 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36783 (syscall-list-default-condition): Likewise.
36784 (syscall-list-default-condition): Likewise.
36785 (syscall-list-includes): Likewise.
36786 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36787 syscall-list-* with abi-*. Handle undefined abi-variants.
36788 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36789 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36790 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36791 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36792 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36793 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36795 (syscall-list-32-options): Likewise.
36796 (syscall-list-32-condition): Likewise.
36797 (syscall-list-64-options): Likewise.
36798 (syscall-list-64-condition): Likewise.
36799 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36801 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36804 (abi-64-ld-soname): New macro.
36805 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36806 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36809 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36810 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36812 2012-05-30 Joseph Myers <joseph@codesourcery.com>
36814 * sysdeps/unix/sysv/linux/kernel-features.h
36815 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36816 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36817 include <kernel-features.h>.
36818 [!__NR_ftruncate64]: Remove conditional code.
36819 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36820 [__NR_ftruncate64]: Make code unconditional.
36821 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36822 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36823 include <kernel-features.h>.
36824 [!__NR_ftruncate64]: Remove conditional code.
36825 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36826 [__NR_ftruncate64]: Make code unconditional.
36827 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36829 include <kernel-features.h>.
36830 [!__NR_ftruncate64]: Remove conditional code.
36831 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36832 [__NR_ftruncate64]: Make code unconditional.
36833 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36835 include <kernel-features.h>.
36836 [!__NR_ftruncate64]: Remove conditional code.
36837 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36838 [__NR_ftruncate64]: Make code unconditional.
36839 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36841 * configure.in (libc_cv_fpie): Weaken to a compile test using
36842 LIBC_TRY_CC_OPTION.
36843 * configure: Regenerated.
36845 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36860 2012-05-27 David S. Miller <davem@davemloft.net>
36862 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36864 (__Q_simulate_exceptions): Return void. Change to simulate
36865 exceptions by writing into the %fsr.
36866 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36867 (__Qp_handle_exceptions): Likewise.
36869 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36870 __Qp_handle_exceptions.
36871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36872 __Qp_handle_exceptions.
36873 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36874 as unused and give dummy FP_RND_NEAREST initializer.
36875 (FP_INHIBIT_RESULTS): Define.
36876 (___Q_simulate_exceptions): Update declaration.
36877 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36879 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36880 as unused and give dummy FP_RND_NEAREST initializer.
36881 (__Qp_handle_exceptions): Update declaration.
36882 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36885 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36887 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36888 the temporary FPU control word.
36889 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36890 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36891 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36892 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36893 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36894 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36895 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36896 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36897 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36898 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36899 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36901 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36903 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36906 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36908 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36909 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36910 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36911 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36913 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36914 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36917 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36919 * po/h.po: Update from translation team.
36921 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36923 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36925 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36926 handling of denormals.
36927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36928 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36929 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36930 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36936 2012-05-26 Marek Polacek <polacek@redhat.com>
36939 * math/libm-test.inc (fma_test): Don't always expect underflow
36942 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36945 * elf/tst-execstack.c: Include stackinfo.h.
36946 (do_test): Adjust test case to ensure that pthread_getattr_np
36947 behaviour remains the same after marking stack executable.
36949 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36951 * sysdeps/unix/sysv/linux/kernel-features.h
36952 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36953 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36955 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36956 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36957 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36959 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36960 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36962 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36964 * configure.in: Define the default includes to being none.
36965 * configure: Regenerated.
36967 2012-05-25 Roland McGrath <roland@hack.frob.com>
36969 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36970 * sysdeps/x86_64/setjmp.S: Likewise.
36971 * sysdeps/i386/bsd-setjmp.S: Likewise.
36972 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36973 * sysdeps/i386/setjmp.S: Likewise.
36974 * sysdeps/i386/__longjmp.S: Likewise.
36975 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36976 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36978 * include/stap-probe.h: New file.
36979 * configure.in: Handle --enable-systemtap.
36980 * configure: Regenerated.
36981 * config.h.in (USE_STAP_PROBE): New #undef.
36982 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36983 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36984 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36986 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36989 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36990 to 2.4.0 where earlier.
36991 * sysdeps/unix/sysv/linux/configure: Regenerated.
36992 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36993 <kernel-features.h>.
36994 [__ASSUME_32BITUIDS]: Make code unconditional.
36995 [!__ASSUME_32BITUIDS]: Remove conditional code.
36996 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36997 <kernel-features.h>.
36998 [__ASSUME_32BITUIDS]: Make code unconditional.
36999 [!__ASSUME_32BITUIDS]: Remove conditional code.
37000 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37001 [__ASSUME_32BITUIDS]: Make code unconditional.
37002 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37003 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37004 <kernel-features.h>.
37005 [__ASSUME_32BITUIDS]: Make code unconditional.
37006 [!__ASSUME_32BITUIDS]: Remove conditional code.
37007 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37008 <kernel-features.h>.
37009 [__ASSUME_32BITUIDS]: Make code unconditional.
37010 [!__ASSUME_32BITUIDS]: Remove conditional code.
37011 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37012 <kernel-features.h>.
37013 [__ASSUME_32BITUIDS]: Make code unconditional.
37014 [!__ASSUME_32BITUIDS]: Remove conditional code.
37015 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37016 <kernel-features.h>.
37017 [__ASSUME_32BITUIDS]: Make code unconditional.
37018 [!__ASSUME_32BITUIDS]: Remove conditional code.
37019 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37020 <kernel-features.h>.
37021 [__ASSUME_32BITUIDS]: Make code unconditional.
37022 [!__ASSUME_32BITUIDS]: Remove conditional code.
37023 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37024 <kernel-features.h>.
37025 [__ASSUME_32BITUIDS]: Make code unconditional.
37026 [!__ASSUME_32BITUIDS]: Remove conditional code.
37027 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37028 <kernel-features.h>.
37029 [__ASSUME_32BITUIDS]: Make code unconditional.
37030 [!__ASSUME_32BITUIDS]: Remove conditional code.
37031 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37032 <kernel-features.h>.
37033 [__ASSUME_32BITUIDS]: Make code unconditional.
37034 [!__ASSUME_32BITUIDS]: Remove conditional code.
37035 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37036 <kernel-features.h>.
37037 [__ASSUME_32BITUIDS]: Make code unconditional.
37038 [!__ASSUME_32BITUIDS]: Remove conditional code.
37039 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37040 <kernel-features.h>.
37041 [__ASSUME_32BITUIDS]: Make code unconditional.
37042 [!__ASSUME_32BITUIDS]: Remove conditional code.
37043 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37044 <kernel-features.h>.
37045 [__NR_setresgid] (__setresgid): Do not declare.
37046 [__ASSUME_32BITUIDS]: Make code unconditional.
37047 [!__ASSUME_32BITUIDS]: Remove conditional code.
37048 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37049 <kernel-features.h>.
37050 [__NR_setresuid] (__setresuid): Do not declare.
37051 [__ASSUME_32BITUIDS]: Make code unconditional.
37052 [!__ASSUME_32BITUIDS]: Remove conditional code.
37053 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37054 <kernel-features.h>.
37055 [__ASSUME_32BITUIDS]: Make code unconditional.
37056 [!__ASSUME_32BITUIDS]: Remove conditional code.
37057 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37058 <kernel-features.h>.
37059 [__ASSUME_32BITUIDS]: Make code unconditional.
37060 [!__ASSUME_32BITUIDS]: Remove conditional code.
37061 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37062 <kernel-features.h>.
37063 [__ASSUME_32BITUIDS]: Make code unconditional.
37064 [!__ASSUME_32BITUIDS]: Remove conditional code.
37065 * sysdeps/unix/sysv/linux/i386/setgroups.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/i386/setregid.c: Do not include
37070 <kernel-features.h>.
37071 [__ASSUME_32BITUIDS]: Make code unconditional.
37072 [!__ASSUME_32BITUIDS]: Remove conditional code.
37073 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37074 <kernel-features.h>.
37075 [__ASSUME_32BITUIDS]: Make code unconditional.
37076 [!__ASSUME_32BITUIDS]: Remove conditional code.
37077 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37078 <kernel-features.h>.
37079 [__ASSUME_32BITUIDS]: Make code unconditional.
37080 [!__ASSUME_32BITUIDS]: Remove conditional code.
37081 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37082 <kernel-features.h>.
37083 [__ASSUME_32BITUIDS]: Make code unconditional.
37084 [!__ASSUME_32BITUIDS]: Remove conditional code.
37085 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37086 <kernel-features.h>.
37087 [__ASSUME_32BITUIDS]: Make code unconditional.
37088 [!__ASSUME_32BITUIDS]: Remove conditional code.
37089 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37090 <kernel-features.h>.
37091 [__ASSUME_32BITUIDS]: Make code unconditional.
37092 [!__ASSUME_32BITUIDS]: Remove conditional code.
37093 * sysdeps/unix/sysv/linux/kernel-features.h
37094 (__ASSUME_SETRESUID_SYSCALL): Remove.
37095 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37096 (__ASSUME_32BITUIDS): Likewise.
37097 (__ASSUME_LDT_WORKS): Likewise.
37098 (__ASSUME_O_DIRECTORY): Likewise.
37099 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37100 architecture but not kernel version.
37101 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37102 (__ASSUME_MMAP2_SYSCALL): Likewise.
37103 (__ASSUME_STAT64_SYSCALL): Likewise.
37104 (__ASSUME_IPC64): Likewise.
37105 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37106 <kernel-features.h>.
37107 [__ASSUME_32BITUIDS]: Make code unconditional.
37108 [!__ASSUME_32BITUIDS]: Remove conditional code.
37109 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37110 <kernel-features.h>.
37111 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37112 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37113 132096]: Remove conditional code.
37114 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37115 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37116 <kernel-features.h>.
37117 [__ASSUME_32BITUIDS]: Make code unconditional.
37118 [!__ASSUME_32BITUIDS]: Remove conditional code.
37119 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37120 <kernel-features.h>.
37121 [__ASSUME_32BITUIDS]: Make code unconditional.
37122 [!__ASSUME_32BITUIDS]: Remove conditional code.
37123 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37124 <kernel-features.h>.
37125 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37127 (__setresgid): Do not declare.
37128 [__ASSUME_32BITUIDS]: Make code unconditional.
37129 [!__ASSUME_32BITUIDS]: Remove conditional code.
37130 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37131 <kernel-features.h>.
37132 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37134 (__setresuid): Do not declare.
37135 [__ASSUME_32BITUIDS]: Make code unconditional.
37136 [!__ASSUME_32BITUIDS]: Remove conditional code.
37137 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37138 <kernel-features.h>.
37139 [__ASSUME_32BITUIDS]: Make code unconditional.
37140 [!__ASSUME_32BITUIDS]: Remove conditional code.
37141 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37142 <kernel-features.h>.
37143 [__ASSUME_32BITUIDS]: Make code unconditional.
37144 [!__ASSUME_32BITUIDS]: Remove conditional code.
37146 2012-05-25 Richard Henderson <rth@twiddle.net>
37148 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37149 dl_hwcap to ifunc resolver.
37150 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37152 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37153 dl_hwcap to ifunc resolver.
37154 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37156 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37159 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37160 for |x| <= 2**-26, not 2**-57.
37161 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37164 2012-05-24 Jeff Law <law@redhat.com>
37166 * stdio-common/Makefile (tests): Add bug25.
37167 * stdio-common/bug25.c: New test.
37169 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37172 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37173 multiple of MALLOC_ALIGNMENT in size.
37174 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37176 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37178 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37180 (FILENAME_MAX): Use macro-int-constant.
37181 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37182 (_IOFBF): Use macro-int-constant.
37183 (_IOLBF): Likewise.
37184 (_IONBF): Likewise.
37185 (SEEK_CUR): Likewise.
37186 (SEEK_END): Likewise.
37187 (SEEK_SET): Likewise.
37188 (TMP_MAX): Likewise.
37189 (EOF): Use macro-int-constant. Require < 0.
37190 (NULL): Use macro-constant. Require == 0.
37191 (stdin): Require type to be FILE *.
37192 (stdout): Likewise.
37193 (stderr): Likewise.
37194 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37195 macro-int-constant.
37196 (EXIT_SUCCESS): Likewise.
37197 (NULL): Use macro-constant. Require == 0.
37198 (RAND_MAX): Use macro-int-constant.
37199 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37200 [C99-based standards] (strtof): Require function.
37201 [C99-based standards] (strtold): Likewise.
37202 [C99-based standards] (strtoll): Likewise.
37203 [C99-based standards] (strtoull): Likewise.
37204 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37205 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37206 [ISO || ISO99 || ISO11] (math.h): Likewise.
37207 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37208 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37211 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37214 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37215 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37216 * intl/dgettext.c (DCGETTEXT): Likewise.
37217 * intl/gettext.c (DCGETTEXT): Likewise.
37218 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37219 * posix/regex_internal.h (gettext): Likewise.
37220 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37221 Remove declaration.
37222 * include/argz.h (__argz_count_internal)
37223 (__argz_stringify_internal): Remove declaration.
37224 (__argz_count, __argz_stringify): Declare hidden proto.
37225 * intl/dcgettext.c: Remove use of INTDEF.
37226 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37227 * string/argz-stringify.c: Likewise.
37228 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37229 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37230 Declare hidden proto.
37231 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37232 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37233 Declare hidden proto.
37234 * include/stdio.h (__asprintf_internal): Don't declare.
37235 (__asprintf): Don't define as macro. Declare hidden proto.
37236 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37237 (__fsetlocking): Declare hidden proto.
37238 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37239 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37241 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37242 (_IO_setlinebuf): Remove use of INTUSE.
37243 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37244 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37245 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37246 Remove declaration.
37247 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37248 (_IO_do_flush): Remove use of INTUSE.
37249 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37250 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37251 (_IO_adjust_column, _IO_least_wmarker)
37252 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37253 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37254 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37255 (_IO_default_doallocate, _IO_wdefault_doallocate)
37256 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37257 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37258 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37259 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37260 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37261 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37262 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37263 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37264 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37265 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37266 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37267 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37268 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37270 (_IO_flush_all_internal, _IO_adjust_column_internal)
37271 (_IO_default_uflow_internal, _IO_default_finish_internal)
37272 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37273 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37274 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37275 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37276 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37277 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37278 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37279 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37280 (_IO_file_close_internal, _IO_file_close_it_internal)
37281 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37282 (_IO_file_init_internal, _IO_file_attach_internal)
37283 (_IO_file_fopen_internal, _IO_file_read_internal)
37284 (_IO_file_sync_internal, _IO_file_seek_internal)
37285 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37286 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37287 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37288 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37289 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37290 (_IO_list_all_internal, _IO_link_in_internal)
37291 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37292 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37293 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37294 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37295 (_IO_do_write_internal, _IO_padn_internal)
37296 (_IO_getline_info_internal, _IO_getline_internal)
37297 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37298 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37299 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37300 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37301 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37302 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37303 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37304 with libc_hidden_ver, remove use of INTUSE.
37305 * libio/genops.c: Likewise.
37306 * libio/freopen.c: Likewise.
37307 * libio/freopen64.c: Likewise.
37308 * libio/iofclose.c: Likewise.
37309 * libio/iofdopen.c: Likewise.
37310 * libio/iofflush.c: Likewise.
37311 * libio/iofflush_u.c: Likewise.
37312 * libio/iofgets.c: Likewise.
37313 * libio/iofgets_u.c: Likewise.
37314 * libio/iofopen.c: Likewise.
37315 * libio/iofopncook.c: Likewise.
37316 * libio/iofread.c: Likewise.
37317 * libio/iofread_u.c: Likewise.
37318 * libio/ioftell.c: Likewise.
37319 * libio/iofwrite.c: Likewise.
37320 * libio/iogetline.c: Likewise.
37321 * libio/iogets.c: Likewise.
37322 * libio/iogetwline.c: Likewise.
37323 * libio/iopadn.c: Likewise.
37324 * libio/iopopen.c: Likewise.
37325 * libio/ioseekoff.c: Likewise.
37326 * libio/ioseekpos.c: Likewise.
37327 * libio/iosetbuffer.c: Likewise.
37328 * libio/iosetvbuf.c: Likewise.
37329 * libio/ioungetc.c: Likewise.
37330 * libio/ioungetwc.c: Likewise.
37331 * libio/iovdprintf.c: Likewise.
37332 * libio/iovsprintf.c: Likewise.
37333 * libio/iovsscanf.c: Likewise.
37334 * libio/memstream.c: Likewise.
37335 * libio/obprintf.c: Likewise.
37336 * libio/oldfileops.c: Likewise.
37337 * libio/oldiofclose.c: Likewise.
37338 * libio/oldiofdopen.c: Likewise.
37339 * libio/oldiofopen.c: Likewise.
37340 * libio/oldiopopen.c: Likewise.
37341 * libio/oldstdfiles.c: Likewise.
37342 * libio/putc.c: Likewise.
37343 * libio/setbuf.c: Likewise.
37344 * libio/setlinebuf.c: Likewise.
37345 * libio/stdfiles.c: Likewise.
37346 * libio/strops.c: Likewise.
37347 * libio/vasprintf.c: Likewise.
37348 * libio/vscanf.c: Likewise.
37349 * libio/vsnprintf.c: Likewise.
37350 * libio/vswprintf.c: Likewise.
37351 * libio/wfiledoalloc.c: Likewise.
37352 * libio/wfileops.c: Likewise.
37353 * libio/wgenops.c: Likewise.
37354 * libio/wmemstream.c: Likewise.
37355 * libio/wstrops.c: Likewise.
37356 * libio/__fpurge.c: Likewise.
37357 * libio/__fsetlocking.c: Likewise.
37358 * assert/assert.c: Likewise.
37359 * debug/fgets_chk.c: Likewise.
37360 * debug/fgets_u_chk.c: Likewise.
37361 * debug/fread_chk.c: Likewise.
37362 * debug/fread_u_chk.c: Likewise.
37363 * debug/gets_chk.c: Likewise.
37364 * debug/obprintf_chk.c: Likewise.
37365 * debug/vasprintf_chk.c: Likewise.
37366 * debug/vdprintf_chk.c: Likewise.
37367 * debug/vsnprintf_chk.c: Likewise.
37368 * debug/vsprintf_chk.c: Likewise.
37369 * malloc/mtrace.c: Likewise.
37370 * misc/error.c: Likewise.
37371 * misc/syslog.c: Likewise.
37372 * stdio-common/asprintf.c: Likewise.
37373 * stdio-common/fxprintf.c: Likewise.
37374 * stdio-common/getw.c: Likewise.
37375 * stdio-common/isoc99_fscanf.c: Likewise.
37376 * stdio-common/isoc99_scanf.c: Likewise.
37377 * stdio-common/isoc99_vfscanf.c: Likewise.
37378 * stdio-common/isoc99_vscanf.c: Likewise.
37379 * stdio-common/isoc99_vsscanf.c: Likewise.
37380 * stdio-common/printf-prs.c: Likewise.
37381 * stdio-common/printf_fp.c: Likewise.
37382 * stdio-common/printf_fphex.c: Likewise.
37383 * stdio-common/printf_size.c: Likewise.
37384 * stdio-common/putw.c: Likewise.
37385 * stdio-common/scanf.c: Likewise.
37386 * stdio-common/sprintf.c: Likewise.
37387 * stdio-common/tmpfile.c: Likewise.
37388 * stdio-common/vfprintf.c: Likewise.
37389 * stdio-common/vfscanf.c: Likewise.
37390 * stdlib/strfmon_l.c: Likewise.
37391 * sunrpc/openchild.c: Likewise.
37392 * sunrpc/xdr_stdio.c: Likewise.
37393 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37394 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37396 2012-05-24 Roland McGrath <roland@hack.frob.com>
37398 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37400 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37401 in the third column, to generate for the shared library an IFUNC
37402 that uses _dl_vdso_vsym.
37403 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37404 * Makeconfig (object-suffixes-noshared): New variable.
37406 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37407 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37408 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37409 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37412 * include/sys/time.h (__gettimeofday): Remove macro.
37413 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37414 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37416 (__gettimeofday): Add libc_hidden_def.
37417 (gettimeofday): Add libc_hidden_weak.
37418 * sysdeps/mach/gettimeofday.c: Likewise.
37419 * sysdeps/posix/gettimeofday.c: Likewise.
37420 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37421 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37423 (__gettimeofday_internal): Remove strong_alias.
37424 (__gettimeofday): Add libc_hidden_def.
37425 (gettimeofday): Add libc_hidden_weak.
37426 * sysdeps/unix/syscalls.list (gettimeofday):
37427 Remove __gettimeofday_internal alias.
37429 2012-05-24 Daniel Jacobowitz <drow@false.org>
37430 H.J. Lu <hongjiu.lu@intel.com>
37433 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37434 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37435 (largebin_index_32_big): New.
37436 (largebin_index): Use it for 16-byte alignment.
37437 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37438 correction with front_misalign.
37440 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37468 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37469 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37471 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37475 * math/libm-test.inc (exp_test): Add test from bug 14036.
37476 (pow_test): Add test from bug 10846.
37478 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37480 (special_function): Do not include flags in test name.
37481 (parse_args): Likewise.
37482 * sysdeps/i386/fpu/libm-test-ulps: Update.
37483 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37484 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37485 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37488 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37490 * math/libm-test.inc ("Philosophy"): Update comment about
37492 (UNDERFLOW_EXCEPTION): New macro.
37493 (UNDERFLOW_EXCEPTION_OK): Likewise.
37494 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37495 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37496 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37497 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37498 (INVALID_EXCEPTION_OK): Update value.
37499 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37500 (OVERFLOW_EXCEPTION_OK): Likewise.
37501 (IGNORE_ZERO_INF_SIGN): Likewise.
37502 (test_exceptions): Handle underflow exceptions.
37503 (acos_test): Update for underflow exception expectations.
37504 (cexp_test): Likewise.
37505 (clog_test): Likewise.
37506 (clog10_test): Likewise.
37507 (csqrt_test): Likewise.
37508 (ctan_test): Likewise.
37509 (ctanh_test): Likewise.
37510 (exp_test): Likewise.
37511 (exp10_test): Likewise.
37512 (exp2_test): Likewise.
37513 (expm1_test): Likewise.
37514 (fma_test): Likewise.
37515 (j0_test): Likewise.
37516 (jn_test): Likewise.
37517 (nexttoward_test): Likewise.
37518 (pow_test): Likewise.
37519 (scalbn_test): Likewise.
37520 (scalbln_test): Likewise.
37521 (tan_test): Likewise.
37522 (y1_test): Likewise.
37523 * sysdeps/i386/fpu/libm-test-ulps: Update.
37524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37526 2012-05-23 David S. Miller <davem@davemloft.net>
37528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37529 (__libc_sigaction): Remove unused local variables.
37531 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37533 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37535 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37537 mktime: avoid signed integer overflow
37538 * time/mktime.c (__mktime_internal): Do not mishandle the case
37539 where diff == INT_MIN.
37541 mktime: simplify computation of average
37542 * time/mktime.c (ranged_convert): Use new time_t_avg function
37543 instead of rolling our own (probably-slower) code.
37545 mktime: do not assume signed right shift propagates sign bit
37546 * time/mktime.c (isdst_differ): New static function.
37547 (__mktime_internal): No need to normalize tm_isdst now.
37548 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37551 mktime: merge another wrapv change from gnulib
37552 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37553 from some compilers.
37555 mktime: remove incorrect attempt at unusual arithmetics
37556 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37557 The code didn't really work on such machines anyway.
37558 (TYPE_MINIMUM): Assume two's complement.
37559 (twos_complement_arithmetic): Verify that long_int and time_t
37560 are two's complement (or unsigned, in the latter case).
37562 mktime: check signed shifts on long_int and time_t, too
37563 * time/mktime.c (SHR): Check that shifts work as desired
37564 on the types long_int and time_t too, as SHR is used on
37567 mktime: do not assume 'long' is wide enough
37568 * time/mktime.c (verify): Move decl up.
37569 (long_int): New type.
37570 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37571 to remove assumption in the code that 'long' is wide enough to
37572 store year values. This assumption is not true on x32 and on
37573 some non-glibc platforms.
37575 mktime: merge wrapv change from gnulib
37576 * time/mktime.c (WRAPV): New macro.
37577 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37578 (guess_time_tm, __mktime_internal): Do not assume that signed
37579 integer overflow wraps around; modern compilers generate code
37580 where this assumption is no longer valid.
37582 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37584 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37585 Replace "jmp L(pseudo_end)" with "ret".
37586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37589 2012-05-23 Andreas Jaeger <aj@suse.de>
37591 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37592 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37594 2012-05-23 Andreas Jaeger <aj@suse.de>
37595 Maximilian Attems <max@stro.at>
37597 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37600 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37603 code so that pseudo_end is just ret and the stack pointer is
37604 correct also for static library in error case.
37606 2012-05-23 Joseph Myers <joseph@codesourcery.com>
37608 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37609 move to syscalls.list.
37610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37615 * manual/install.texi (Running make install): Do not mention Linux
37616 kernel version for which pt_chown is not needed.
37617 (Linux): Do not mention problems with nscd with 2.0 kernels.
37618 * INSTALL: Regenerated.
37620 2012-05-23 Andreas Jaeger <aj@suse.de>
37622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37623 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37625 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37627 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37628 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37629 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37633 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37634 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37635 * sysdeps/unix/sysv/linux/bits/in.h
37636 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37638 2012-05-22 Roland McGrath <roland@hack.frob.com>
37640 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37641 (PREPARE_VERSION): Just use assert instead, it will be elided
37642 under [NDEBUG] anyway.
37644 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37646 * sysdeps/unix/sysv/linux/Makefile: Include
37647 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37648 (sysdep_routines): Remove sysctl.
37649 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37650 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37651 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37652 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37653 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37655 2012-05-22 Andreas Jaeger <aj@suse.de>
37657 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37658 that pseudo_end is just ret and the stack pointer is correct also
37659 for static library in error case.
37661 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37664 * nss/nsswitch.c (defconfig_entries): New variable.
37665 (__nss_database_lookup): Don't leak defconfig entries.
37666 (nss_parse_service_list): Don't leak on error paths.
37667 (free_database_entries): New function.
37668 (free_defconfig): New function.
37669 (free_mem): Move common code to free_database_entries.
37671 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37673 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37675 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37677 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37678 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37681 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37682 (INTERNAL_SYSCALL_TYPES): Likewise.
37683 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37684 (LOAD_REGS_TYPES_[1-6]): Likewise.
37685 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37686 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37688 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37690 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37691 copysignl for GLIBC_2_0.
37692 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37693 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37695 logbl for GLIBC_2_0.
37696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37697 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37699 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37702 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37704 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37707 * time/mktime.c: Update copyright years.
37709 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37711 mktime: merge comment-quoting-style change from gnulib
37712 * time/mktime.c: Quote 'like this' in comments.
37713 The GNU coding standards suggest that we no longer quote `like this',
37714 as "`" and "'" are typically rendered asymmetrically nowadays.
37715 The typical gnulib style is to quote 'like this' when quoting
37716 code, and "like this" when quoting English.
37718 * time/mktime.c (compile-command): Add "-I.".
37720 mktime: merge mktime-internal.h change from gnulib
37721 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37723 mktime: merge time_r change from gnulib
37724 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37726 mktime: merge DEBUG change from gnulib
37727 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37728 case system <time.h> has a #define.
37730 mktime: merge <sys/types.h> change from gnulib
37731 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37732 since <time.t> is now guaranteed to define time_t.
37734 mktime: merge HAVE_CONFIG_H change from gnulib
37735 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37737 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37742 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37744 (struct rusage): Use anonymous union to pad each field to
37747 2012-05-21 David S. Miller <davem@davemloft.net>
37749 * Makefules (o-iterator): Remove .s cases.
37750 (compile-command.s): Delete.
37751 (COMPILE.s): Delete.
37752 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37754 2012-05-21 Joseph Myers <joseph@codesourcery.com>
37756 * configure.in (libc_cv_predef_stack_protector): Only consider
37757 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37758 * configure: Regenerated.
37760 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37763 New macro. Use R*LP on int and pointer.
37764 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37765 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37766 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37767 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37769 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37770 [__WORDSIZE_TIME64_COMPAT32] instead of
37771 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37772 (struct utmp): Likewise.
37773 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37774 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37776 (__WORDSIZE_TIME64_COMPAT32): This.
37777 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37778 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37779 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37780 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37781 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37782 (__WORDSIZE_TIME64_COMPAT32): New macro.
37784 2012-05-21 Andreas Jaeger <aj@suse.de>
37786 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37787 only if [SHARED]. Add prototype for __wcschr_ia32.
37789 2012-05-21 Roland McGrath <roland@hack.frob.com>
37791 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37792 of %rbp unmolested in the jmp_buf while mangling the low bits.
37793 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37794 unmolested high bits of %rbp while demangling the low bits.
37795 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37797 2012-05-21 Andreas Jaeger <aj@suse.de>
37799 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37800 * sunrpc/svc_simple.c: Use it for registerrpc.
37801 * sunrpc/xcrypt.c: Use it for passwd2des.
37803 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37805 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37807 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37808 Don't define if [__SYSCALL_WORDSIZE != 32].
37809 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37812 2012-05-21 Bruno Haible <bruno@clisp.org>
37813 Andreas Jaeger <aj@suse.de>
37815 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37816 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37817 inptr and inend for must_buffer_ch.
37818 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37819 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37820 * stdio-common/Makefile (tests): Remove bug15.
37821 (bug15-ENV): Remove macro.
37822 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37825 2012-05-19 Andreas Jaeger <aj@suse.de>
37826 Roland McGrath <roland@hack.frob.com>
37828 * manual/contrib.texi: Completely rewritten. It contains now an
37829 alphabetical list of contributors and their contributions.
37831 2012-05-21 Richard Henderson <rth@twiddle.net>
37833 * misc/getauxval.c (__getauxval): Use unsigned long int.
37834 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37835 (getauxval): Use unsigned long int.
37837 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37839 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37841 2012-05-21 Roland McGrath <roland@hack.frob.com>
37843 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37844 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37845 __alignof__ (long double).
37847 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37851 2012-05-20 Richard Henderson <rth@twiddle.net>
37853 * misc/getauxval.c: New file.
37854 * misc/sys/auxv.h: New file.
37855 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37856 (routines): Add getauxval.
37857 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37858 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37859 * elf/dl-sysdep.c (_dl_auxv): Remove.
37860 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37861 * elf/dl-support.c (_dl_auxv): New variable.
37862 (_dl_aux_init): Initialize it.
37863 * manual/startup.texi (Auxiliary Vector): New node.
37864 * sysdeps/generic/bits/hwcap.h: New file.
37865 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37866 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37867 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37868 * sysdeps/sparc/sysdep.h: ... here. Include it.
37869 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37870 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37882 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37886 2012-05-19 David S. Miller <davem@davemloft.net>
37888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37890 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37893 * math/s_ccosh.c: Include <float.h>
37894 (__ccosh): Avoid internal overflow calculating sinh and cosh
37895 values before multiplying by sin and cos values.
37896 * math/s_ccoshf.c: Likewise.
37897 * math/s_ccoshl.c: Likewise.
37898 * math/s_csin.c: Likewise.
37899 * math/s_csinf.c: Likewise.
37900 * math/s_csinl.c: Likewise.
37901 * math/s_csinh.c: Likewise.
37902 * math/s_csinhf.c: Likewise.
37903 * math/s_csinhl.c: Likewise.
37904 * math/libm-test.inc (ccos_test): Add more tests.
37905 (ccosh_test): Likewise.
37906 (csin_test): Likewise.
37907 (csinh_test): Likewise.
37908 * sysdeps/i386/fpu/libm-test-ulps: Update.
37909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37911 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37913 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37914 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37916 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37918 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37920 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37921 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37922 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37923 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37924 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37925 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37926 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37927 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37928 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37929 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37930 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37931 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37932 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37933 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37934 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37935 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37936 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37937 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37938 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37939 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37940 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37941 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37942 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37943 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37944 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37945 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37946 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37947 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37948 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37949 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37950 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37952 2012-05-18 Andreas Jaeger <aj@suse.de>
37954 * csu/.gitignore: Delete.
37956 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37958 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37959 (timex): Use __syscall_slong_t.
37961 2012-05-18 Andreas Jaeger <aj@suse.de>
37962 Carlos O'Donell <carlos_odonell@mentor.com>
37964 * manual/install.texi (Configuring and compiling): Update
37965 description about files modified in the source directory.
37966 * INSTALL: Regenerated.
37968 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37970 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37971 value. Use "or" to set return value to -1.
37972 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37973 negate return value.
37975 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37977 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37978 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37979 failure if the compiler has Graphite support disabled.
37980 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37982 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37983 (CFLAGS-memmove.c): Likewise.
37984 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37987 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37989 * sysdeps/x86_64/x32/_itoa.h: New file.
37991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37992 getdents system call only if kernel and user dirents have the
37993 same d_ino and d_off.
37995 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37996 LLONG_MAX != LONG_MAX.
37997 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37998 (_fitoa_word): Likewise.
38000 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38003 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38004 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38006 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38007 include <bits/wordsize.h>. Check __x86_64__ instead of
38009 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38010 if __x86_64__ is defined. Use anonymous union on fpstate.
38012 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38015 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38017 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38018 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38019 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38020 Refer to _rtld_local_ro instead of _rtld_global_ro.
38021 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38023 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38025 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38027 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38028 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38029 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38031 * sysdeps/powerpc/powerpc32/dl-machine.c
38032 (__elf_machine_runtime_setup) [PROF]: Don't reference
38035 2012-05-18 Andreas Jaeger <aj@suse.de>
38037 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38038 function only available for GCCs before 3.4 since GCC 3.4
38039 introduced a builtin.
38041 (llrintf): Likewise.
38042 (llrint): Likewise.
38049 (nearbyint): Likewise.
38050 (nearbyintf): Likewise.
38054 (floorf): Likewise.
38056 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38058 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38059 on both fields and cast pointer to __syscall_ulong_t.
38061 * bits/types.h (__fsword_t): New type.
38062 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38063 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38065 (__FSWORD_T_TYPE): Likewise.
38066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38067 (__FSWORD_T_TYPE): Likewise.
38068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38069 (__FSWORD_T_TYPE): Likewise.
38070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38071 (__FSWORD_T_TYPE): Likewise.
38072 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38073 __SWORD_TYPE with __fsword_t.
38074 (statfs64): Likewise.
38076 2012-05-17 David S. Miller <davem@davemloft.net>
38078 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38080 2012-05-17 Andreas Jaeger <aj@suse.de>
38082 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38085 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38087 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38089 2012-05-17 Andreas Jaeger <aj@suse.de>
38091 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38094 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38096 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38098 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38100 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38101 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38103 2012-05-17 Andreas Jaeger <aj@suse.de>
38104 Carlos O'Donell <carlos_odonell@mentor.com>
38107 * sysdeps/x86_64/multiarch/init-arch.h
38108 (bit_YMM_Usable): Rename to...
38109 (bit_AVX_Usable): ... this.
38110 (bit_FMA4_Usable): New macro.
38111 (bit_XMM_state): New macro.
38112 (bit_YMM_state): New macro.
38113 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38114 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38115 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38116 (CPUID_OSXSAVE): New macro.
38117 (CPUID_AVX): New macro.
38118 (CPUID_FMA4): New macro.
38119 (index_YMM_Usable): Rename to...
38120 (index_AVX_Usable): ... this.
38121 (HAS_AVX): Use HAS_ARCH_FEATURE.
38122 (HAS_FMA4): Likewise.
38123 (HAS_YMM_USABLE): Remove.
38124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38125 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38127 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38128 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38129 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38130 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38131 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38133 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38135 * math/libm-test.c: Support platforms without multiple rounding modes.
38136 * math/bug-nextafter.c: Support platforms without FP exceptions.
38137 * math/bug-nexttoward.c: Likewise.
38138 * math/test-fenv.c: Likewise.
38139 * math/test-misc.c: Likewise.
38140 * stdlib/bug-getcontext.c: Likewise.
38142 2012-05-17 Andreas Jaeger <aj@suse.de>
38144 * manual/examples/search.c (critter_cmp): Change signature to
38146 * manual/string.texi (Collation Functions): Likewise.
38148 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38150 * bits/types.h: Fold copyright years.
38151 * bits/typesizes.h: Likewise.
38152 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38156 * time/time.h: Likewise.
38158 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38161 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38162 in instead of returning them. Return void.
38163 (__libc_mallinfo): Accumulate over all arenas.
38164 (__malloc_stats): Adjust for change in int_mallinfo interface.
38166 2012-05-16 Roland McGrath <roland@hack.frob.com>
38169 * configure.in (NM): Add AC_CHECK_TOOL for it.
38170 (libc_extra_cflags): New substituted variable.
38171 Check for -fstack-protector being used implicitly.
38172 * configure: Regenerated.
38173 * config.make.in (config-extra-cflags): New variable,
38174 gets @libc_extra_cflags@.
38175 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38178 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38179 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38180 * configure: Regenerated.
38181 * config.make.in (CPPUNDEFS): New substituted variable.
38182 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38183 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38184 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38188 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38189 (mq_attr): Use __syscall_slong_t.
38191 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38193 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38194 Check __x86_64__ instead of __WORDSIZE.
38195 (_STAT_VER_LINUX): Likewise.
38196 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38197 __syscall_ulong_t and __syscall_slong_t.
38198 (stat64): Likewise.
38200 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38202 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38204 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38206 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38208 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38210 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38213 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38214 include <bits/wordsize.h>. Check __x86_64__ instead of
38216 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38218 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38221 include <bits/wordsize.h>. Check __x86_64__ instead of
38223 (user_regs_struct): Use "__extension__ unsigned long long"
38224 instead of "unsigned long" if __x86_64__ is defined.
38225 (user): Likewise. Pad after pointer field if __ILP32__ is
38228 2012-05-16 Joseph Myers <joseph@codesourcery.com>
38230 * configure.in (makeinfo): Require version 4.5 or later. Allow
38232 * configure: Regenerated.
38233 * manual/install.texi (texinfo): Increase version requirement to
38235 * INSTALL: Regenerated.
38237 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38239 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38241 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38243 * sysdeps/x86_64/x32/ffs.c: New file.
38245 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38247 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38248 defined. Use __syscall_ulong_t.
38249 (shminfo): Use __syscall_ulong_t.
38250 (shm_info): Likewise.
38252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38255 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38257 (msgqnum_t): Use __syscall_ulong_t.
38258 (msglen_t): Likewise.
38259 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38262 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38263 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38265 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38267 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38268 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38270 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38273 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38274 include <bits/wordsize.h>. Check __x86_64__ instead of
38277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38278 "unsigned long long int" if __x86_64__ is defined.
38279 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38281 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38282 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38283 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38285 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38287 (GET_PC): Cast to uintptr_t first.
38288 (GET_FRAME): Likewise.
38289 (GET_STACK): Likewise.
38291 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38292 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38293 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38295 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38297 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38298 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38299 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38300 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38306 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38307 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38308 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38309 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38310 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38311 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38313 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38315 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38316 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38317 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38318 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38319 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38321 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38323 * Makerules (+depfiles): Also collect depfiles from .oS in
38325 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38326 .oS, $(libnldbl-routines)).
38328 * Makerules (native-compile-mkdep-flags): Define.
38329 * sunrpc/Makefile (extra-objs): Add $(addprefix
38330 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38331 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38332 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38333 calling $(make-target-directory).
38335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38337 * bits/types.h (__snseconds_t): Removed.
38338 * time/time.h (struct timespec): Replace __snseconds_t with
38340 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38341 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38344 (__SNSECONDS_T_TYPE): Likewise.
38345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38346 (__SNSECONDS_T_TYPE): Likewise.
38347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38348 (__SNSECONDS_T_TYPE): Likewise.
38350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38352 * sysdeps/mach/hurd/bits/typesizes.h
38353 (__SYSCALL_SLONG_TYPE): New macro.
38354 (__SYSCALL_ULONG_TYPE): Likewise.
38356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38358 * bits/types.h (__syscall_slong_t): New type.
38359 (__syscall_ulong_t): Likewise.
38361 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38362 (__SYSCALL_ULONG_TYPE): Likewise.
38363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38364 (__SYSCALL_SLONG_TYPE): Likewise.
38365 (__SYSCALL_ULONG_TYPE): Likewise.
38366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38367 (__SYSCALL_SLONG_TYPE): Likewise.
38368 (__SYSCALL_ULONG_TYPE): Likewise.
38369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38370 (__SYSCALL_SLONG_TYPE): Likewise.
38371 (__SYSCALL_ULONG_TYPE): Likewise.
38373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38375 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38376 Add sigaltstack-offsets.sym.
38377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38378 <sigaltstack-offsets.h>.
38379 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38380 longjmp_msg pointer.
38381 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38382 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38384 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38386 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38388 * elf/stackguard-macros.h: Remove file.
38389 * sysdeps/generic/stackguard-macros.h: New file.
38390 * sysdeps/i386/stackguard-macros.h: Likewise.
38391 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38392 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38393 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38394 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38395 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38396 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38397 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38398 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38399 <elf/stackguard-macros.h>.
38402 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38403 __aligned__ in attribute.
38404 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38405 (gregset_t): Likewise.
38407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38409 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38410 * sysdeps/x86_64/64/Implies-after: Here. New file.
38411 * sysdeps/x86_64/x32/Implies-after: New file.
38413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38415 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38416 and access return value for _dl_profile_fixup. Use R10_LP to
38419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38421 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38425 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38426 * sysdeps/x86_64/x32/sysdep.h: New file.
38428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38430 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38431 * sysdeps/x86_64/setjmp.S: Likewise.
38433 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38437 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38439 remove unused global constant.
38441 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38443 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38444 include of <not-cancel.h>.
38446 2012-05-15 Roland McGrath <roland@hack.frob.com>
38448 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38450 2012-05-15 Jeff Law <law@redhat.com>
38451 Andreas Jaeger <aj@suse.de>
38454 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38456 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38457 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38459 code changing __hst_map_handle.map.
38461 2012-05-15 Roland McGrath <roland@hack.frob.com>
38463 * configure.in (sysnames): Look for Implies-before and Implies-after
38465 * configure: Regenerated.
38467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38469 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38470 8-byte data alignment with LP_SIZE alignment.
38472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38474 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38479 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38483 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38484 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38491 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38492 (stackinfo_sub_sp): Likewise.
38494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38501 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38511 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38515 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38516 into R11_LP and load __x86_64_shared_cache_size_half into
38519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38521 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38524 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38533 powerpc32/power7/fpu/s_logb.c via #include.
38534 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38535 powerpc32/power7/fpu/s_logbf.c via #include.
38536 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38537 powerpc32/power7/fpu/s_logbl.c via #include.
38539 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38541 * README.libm: Remove file.
38543 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38545 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38546 count for x32. Use R*_LP and omit operand-size suffix.
38548 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38550 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38551 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38552 * sysdeps/x86_64/x32/shlib-versions: New file.
38554 2012-05-14 Roland McGrath <roland@hack.frob.com>
38556 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38557 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38558 Use _dl_fatal_printf instead.
38560 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38562 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38563 set if not set by the user. Do not allow for being unset.
38564 * sysdeps/unix/sysv/linux/configure: Regenerated.
38566 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38568 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38569 the `q' suffix from lea and replace .quad with ASM_ADDR.
38571 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38574 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38576 (PTR_DEMANGLE): Likewise.
38578 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38580 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38582 (ASM_ADDR): Likewise.
38583 (RAX_LP): Likewise.
38584 (RBP_LP): Likewise.
38585 (RBX_LP): Likewise.
38586 (RCX_LP): Likewise.
38587 (RDI_LP): Likewise.
38588 (RSI_LP): Likewise.
38589 (RSP_LP): Likewise.
38592 (R10_LP): Likewise.
38593 (R10_LP): Likewise.
38594 (R11_LP): Likewise.
38595 (R12_LP): Likewise.
38596 (R13_LP): Likewise.
38597 (R14_LP): Likewise.
38598 (R15_LP): Likewise.
38600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38602 * sysdeps/x86_64/x32/dl-machine.h: New file.
38604 2012-05-14 Andreas Jaeger <aj@suse.de>
38606 * manual/Makefile (subdir): Remove export of subdir.
38607 (all): Remove target.
38608 (.PHONY): Remove all from list.
38609 (mkinstalldirs): Remove.
38610 (.PHONY): Remove installdirs from list.
38611 ($(inst_infodir)/libc.info): Use make-target-directory.
38612 (installdirs): Remove.
38613 (subdir_%): Remove.
38614 (glibc-targets): Remove.
38617 ($(objpfx)stubs ../po/manual.pot): Remove.
38618 ($(objpfx)stamp%): Remove.
38619 (make-target-directory): Remove.
38620 (subdir_install): Remove.
38621 (routines): Remove.
38628 * manual/.gitignore: Remove, it's not needed anymore.
38629 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38631 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38633 (texis): Renamed to $(objpfx)texis.
38634 (texis-path): New, contains path to generated files.
38635 (chapters.%): Use texis-path for complete path, add extra argument
38637 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38638 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38639 (summary,texi, stamp-summary): Use complete path of
38640 files. Generate files in build dir.
38641 (dir-add.texi): Build in build dir.
38642 (libm-err.texi,stamp-libm-err): Likewise.
38643 (version.texi, stamp-version): Likewise.
38644 (.%c.texi): Likewise.
38645 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38646 (mostlyclean): Remove target.
38647 (realclean): Remove target.
38648 (generated): Add new variable with contents from mostlyclean and
38649 realclean, remove entries duplicated in common-mostlyclean, add
38650 stamp-libm-err and stamp-version.
38651 (generated-dirs): Add libc directory.
38652 ($(inst_infodir)/libc.info): Install files from build dir.
38654 * manual/install.texi (Configuring and compiling): Adjust since
38655 the info files are not part of the tar ball anymore.
38657 2012-05-14 Andreas Jaeger <aj@suse.de>
38659 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38662 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38666 to 2.2.0 where earlier.
38667 * sysdeps/unix/sysv/linux/configure: Regenerated.
38668 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38669 Remove conditional code.
38670 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38671 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38672 Remove conditional code.
38673 [!__NR_lchown]: Likewise.
38674 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38675 [__NR_lchown]: Likewise.
38676 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38677 comment referencing __ASSUME_LCHOWN_SYSCALL.
38678 * sysdeps/unix/sysv/linux/i386/sigaction.c
38679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38681 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38682 Remove conditional code.
38683 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38684 (__protocol_available): Remove #if 0 code.
38685 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38687 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38688 * sysdeps/unix/sysv/linux/kernel-features.h
38689 (__ASSUME_GETCWD_SYSCALL): Don't define.
38690 (__ASSUME_REALTIME_SIGNALS): Likewise.
38691 (__ASSUME_PREAD_SYSCALL): Likewise.
38692 (__ASSUME_PWRITE_SYSCALL): Likewise.
38693 (__ASSUME_POLL_SYSCALL): Likewise.
38694 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38695 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38697 (__ASSUME_SIOCGIFNAME): Don't define.
38698 (__ASSUME_MSG_NOSIGNAL): Likewise.
38699 (__ASSUME_SENDFILE): Define unconditionally.
38700 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38701 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38703 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38704 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38705 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38706 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38707 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38708 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38709 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38711 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38714 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38717 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38723 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38726 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38729 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38734 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38735 Remove conditional code.
38736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38737 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38738 Remove conditional code.
38739 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38740 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38741 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38742 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38743 Remove conditional code.
38744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38745 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38746 Remove conditional code.
38747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38748 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38749 Remove conditional code.
38750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38751 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38752 Remove conditional code.
38753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38754 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38755 Remove conditional code.
38756 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38757 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38760 * sysdeps/unix/sysv/linux/sigaction.c
38761 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38762 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38763 * sysdeps/unix/sysv/linux/sigpending.c
38764 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38765 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38766 * sysdeps/unix/sysv/linux/sigprocmask.c
38767 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38768 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38769 * sysdeps/unix/sysv/linux/sigsuspend.c
38770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38772 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38773 (__libc_missing_rt_sigs): Remove.
38774 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38775 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38776 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38777 Remove conditional code.
38778 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38779 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38782 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38784 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38786 2012-05-14 Andreas Jaeger <aj@suse.de>
38788 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38789 it's not used in glibc.
38790 (__coshm1): Likewise.
38791 (__acosh1p): Likewise.
38794 * manual/string.texi (Copying and Concatenation): Add missing
38795 variable in concat example.
38796 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38798 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38802 __builtin_clzl with __builtin_clzll.
38804 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38807 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38810 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38812 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38813 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38814 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38815 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38817 2012-05-14 Mike Frysinger <vapier@gentoo.org>
38819 * NEWS: Update ia64 info.
38821 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38823 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38826 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38828 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38829 * sysdeps/unix/syscalls.list (dup3): Likewise.
38830 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38831 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38833 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38835 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38836 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38838 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38840 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38842 (TLS_IE): Use mov/add instead of movq/addq to load thread
38844 (TLS_GD_PREFIX): New.
38847 2012-05-11 David S. Miller <davem@davemloft.net>
38849 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38850 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38851 (_FPU_SETCW): Likewise.
38853 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38855 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38856 is 32-byte aligned.
38858 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38861 * iconvdata/gb18030.c: Update tables.
38862 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38863 characters specially.
38864 (BODY for TO_LOOP): Add encoding of missing ranges.
38866 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38869 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38870 * sysdeps/mach/hurd/dup3.c: Likewise.
38871 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38872 * sysdeps/powerpc/memmove.c:: Likewise.
38874 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38877 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38879 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38881 * elf/elf.h (R_X86_64_RELATIVE64): New.
38882 (R_X86_64_NUM): Updated.
38883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38884 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38885 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38886 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38887 tst-quad1pie tst-quad2pie
38888 (modules-names): Add tst-quadmod1 tst-quadmod2.
38889 ($(objpfx)tst-quad1): New dependency.
38890 ($(objpfx)tst-quad2): Likewise.
38891 ($(objpfx)tst-quad1pie): Likewise.
38892 ($(objpfx)tst-quad2pie): Likewise.
38893 * sysdeps/x86_64/tst-quad1.c: New file.
38894 * sysdeps/x86_64/tst-quad1pie.c: New file.
38895 * sysdeps/x86_64/tst-quad2.c: Likewise.
38896 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38897 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38898 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38899 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38900 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38904 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38905 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38906 * streams/stropts.h (t_scalar_t): Define type.
38908 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38909 (_PATH_PRESERVE): Set to "/var/lib".
38910 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38912 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38915 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38916 if __dir_mkfile succeeded.
38918 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38919 checking for _hurd_dtablesize. Unlock it right after having
38920 finished _hurd_dtable allocation.
38922 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38924 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38925 * sysdeps/mach/hurd/configure: Regenerated.
38926 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38927 special-casing to...
38928 * sysdeps/gnu/configure.in: ... this new file.
38929 * sysdeps/unix/sysv/linux/configure: Regenerated.
38930 * sysdeps/gnu/configure: New generated file.
38932 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38933 for Linux: use nsec instead of usec, as well as:
38934 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38935 members of type struct timespec.
38936 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38938 (struct stat64): Likewise.
38939 (_STATBUF_ST_NSEC): New macro.
38940 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38942 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38943 __strtoul_internal rather than strtoul.
38945 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38947 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38952 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38953 which preserves existing values.
38954 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38956 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38958 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38959 TIMEOUT values. Return EINVAL for NFDS values either negative or
38960 greater than FD_SETSIZE.
38962 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38964 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38965 allocated, call __vm_protect to finish enabling the existing space, and
38966 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38967 allocate the remainder.
38969 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38971 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38972 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38976 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38977 sysdeps/mach/hurd/readlink.c.
38979 * posix/tst-sysconf.c (posix_options): Only use
38980 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38981 _POSIX_SYNCHRONIZED_IO when they are defined
38982 * sysdeps/mach/hurd/bits/posix_opt.h:
38983 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38984 (_XOPEN_REALTIME): Undefine macro.
38985 (_XOPEN_REALTIME_THREADS): Undefine macro.
38986 (_XOPEN_SHM): Undefine macro.
38987 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38989 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38991 (_POSIX_ASYNC_IO): Undefine macro.
38992 (_POSIX_PRIORITIZED_IO): Undefine macro.
38993 (_POSIX_SPIN_LOCKS): Define macro to -1.
38995 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38996 SA_NODEFER, SA_RESETHAND.
38997 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38998 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39001 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39003 * elf/Makefile (pldd-modules): Define unconditionally.
39005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39007 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39011 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39012 Return ENOENT when name is empty.
39013 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39017 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39019 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39023 Fix mlock in all cases except non-readable pages.
39024 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39025 instead of VM_PROT_ALL as parameter to __vm_wire function.
39027 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39028 (__mkdir): When path is `/', just fail with EEXIST.
39029 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39031 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39033 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39034 <sys/uio.h> (for writev).
39035 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39036 and <sys/param.h> (for MIN).
39038 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39040 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39041 REQUESTED_TIME. Properly set the remaining time and return EINTR
39044 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39046 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39047 Depend on against $(link-rpcuserlibs).
39049 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39051 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39052 (__libc_stack_end): Do not use attribute_relro.
39053 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39054 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39055 to libthread-provided value.
39056 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39062 * bits/libc-lock.h (__libc_once_get): New macro.
39063 * sysdeps/mach/bits/libc-lock.h: Likewise.
39064 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39066 instead of using implementation details.
39068 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39069 * libio/freopen.c: Likewise.
39070 * libio/freopen64.c: Likewise.
39071 * misc/syslog.c: Likewise.
39072 * nscd/connections.c: Likewise.
39073 * nscd/netgroupcache.c: Likewise.
39074 * sysdeps/posix/getcwd.c: Likewise.
39076 2012-05-10 Roland McGrath <roland@hack.frob.com>
39078 * math/w_ilogbf.c: Add #include <limits.h>.
39080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39082 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39083 path instead of returning without unlocking.
39085 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39086 immediate-write ioctls.
39087 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39089 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39091 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39092 __builtin_frame_address instead of making assumptions about the
39093 location of the return address relative to DATA. Force early load of
39094 the return address.
39095 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39096 __builtin_frame_address.
39099 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39100 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39101 implement dup3 and do some further code clean-ups.
39102 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39103 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39105 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39107 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39109 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39110 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39111 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39112 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39113 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39116 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39117 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39118 when handler == SIG_ERR, not when handler != SIG_ERR.
39120 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39122 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39123 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39126 accept4 for GNU Hurd.
39127 * include/sys/socket.h (__libc_accept4): New prototype.
39128 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39129 to implement __libc_accept4.
39130 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39132 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39134 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39135 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39136 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39137 signal-defines.sym.
39139 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39141 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39143 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39145 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39146 assertion on O_CLOEXEC flag.
39147 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39148 * hurd/intern-fd.c: Likewise.
39149 * hurd/port2fd.c: Likewise.
39151 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39154 * bits/in.h (IPV6_PKTINFO): Define new macro.
39155 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39157 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39162 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39164 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39165 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39167 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39168 * math/libm-test.inc (logb_test) : Additional logb tests.
39170 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39171 Andreas Jaeger <aj@suse.de>
39173 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39174 * configure: Regenerated.
39175 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39176 * config.make.in (link-obsolete-rpc): New substituted variable.
39177 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39178 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39179 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39180 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39181 so that libc.a contains the symbols.
39182 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39183 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39184 * sunrpc/auth_none.c: Likewise.
39185 * sunrpc/auth_unix.c: Likewise.
39186 * sunrpc/authdes_prot.c: Likewise.
39187 * sunrpc/authuxprot.c: Likewise.
39188 * sunrpc/clnt_gen.c: Likewise.
39189 * sunrpc/clnt_perr.c: Likewise.
39190 * sunrpc/clnt_raw.c: Likewise.
39191 * sunrpc/clnt_simp.c: Likewise.
39192 * sunrpc/clnt_tcp.c: Likewise.
39193 * sunrpc/clnt_udp.c: Likewise.
39194 * sunrpc/clnt_unix.c: Likewise.
39195 * sunrpc/des_crypt.c: Likewise.
39196 * sunrpc/des_soft.c: Likewise.
39197 * sunrpc/get_myaddr.c: Likewise.
39198 * sunrpc/key_call.c: Likewise.
39199 * sunrpc/key_prot.c: Likewise.
39200 * sunrpc/netname.c: Likewise.
39201 * sunrpc/pm_getmaps.c: Likewise.
39202 * sunrpc/pm_getport.c: Likewise.
39203 * sunrpc/pmap_clnt.c: Likewise.
39204 * sunrpc/pmap_prot.c: Likewise.
39205 * sunrpc/pmap_prot2.c: Likewise.
39206 * sunrpc/pmap_rmt.c: Likewise.
39207 * sunrpc/publickey.c: Likewise.
39208 * sunrpc/rpc_cmsg.c: Likewise.
39209 * sunrpc/rpc_common.c: Likewise.
39210 * sunrpc/rpc_dtable.c: Likewise.
39211 * sunrpc/rpc_prot.c: Likewise.
39212 * sunrpc/rpc_thread.c: Likewise.
39213 * sunrpc/rtime.c: Likewise.
39214 * sunrpc/svc.c: Likewise.
39215 * sunrpc/svc_auth.c: Likewise.
39216 * sunrpc/svc_raw.c: Likewise.
39217 * sunrpc/svc_run.c: Likewise.
39218 * sunrpc/svc_tcp.c: Likewise.
39219 * sunrpc/svc_udp.c: Likewise.
39220 * sunrpc/svc_unix.c: Likewise.
39221 * sunrpc/svcauth_des.c: Likewise.
39222 * sunrpc/xcrypt.c: Likewise.
39223 * sunrpc/xdr.c: Likewise.
39224 * sunrpc/xdr_array.c: Likewise.
39225 * sunrpc/xdr_float.c: Likewise.
39226 * sunrpc/xdr_intXX_t.c: Likewise.
39227 * sunrpc/xdr_mem.c: Likewise.
39228 * sunrpc/xdr_rec.c: Likewise.
39229 * sunrpc/xdr_ref.c: Likewise.
39230 * sunrpc/xdr_sizeof.c: Likewise.
39231 * sunrpc/xdr_stdio.c: Likewise.
39233 2012-05-10 Roland McGrath <roland@hack.frob.com>
39235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39236 change. Update copyright years.
39238 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39240 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39242 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39243 Joseph Myers <joseph@codesourcery.com>
39244 Paul Pluzhnikov <ppluzhnikov@google.com>
39247 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39249 [cross-compiling] (extra-libs): Likewise.
39250 [cross-compiling] (extra-libs-others): Likewise.
39251 [cross-compiling] (librpcsvc-routines): Likewise.
39252 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39253 [cross-compiling] (omit-deps): Likewise.
39254 (sunrpc-CPPFLAGS): New variable.
39255 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39256 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39257 (cross-rpcgen-objs): New variable.
39258 (extra-objs): Append $(cross-rpcgen-objs).
39259 ($(cross-rpcgen-objs)): New rule.
39260 ($(objpfx)cross-rpcgen): Likewise.
39261 (rpcgen-cmd): Define to use $(built-program-file). Expand
39263 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39264 ($(objpfx)x%.stmp): Likewise.
39265 * sunrpc/proto.h [IS_IN_build] (_): Define.
39266 [IS_IN_build] (_libc_intl_domainname): Likewise.
39268 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39271 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39272 and R_X86_64_TPOFF64.
39274 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39276 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39277 sysdeps/unix/sysv/syscalls.list.
39280 * sysdeps/unix/sysv/syscalls.list: Remove file.
39282 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39285 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39286 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39287 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39288 (__LC_IDENTIFICATION): Make these macros useful in #if
39289 expressions, as required by C99.
39291 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39293 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39294 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39297 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39299 * stdlib/longlong.h: Updated from GCC.
39301 2012-05-09 Andreas Jaeger <aj@suse.de>
39303 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39304 default is first entry.
39305 (run_mode): Set type.
39306 (main): Remove informal message about syslog.
39307 (options): Fix typo.
39310 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39313 (llrintf): Likewise.
39314 (llrint): Likewise.
39317 (nearbyint): Likewise.
39318 (nearbyintf): Likewise.
39320 2012-05-09 Andreas Jaeger <aj@suse.de>
39321 Pedro Alves <palves@redhat.com>
39323 * nscd/nscd.c (run_mode): Use enum.
39324 (main): Cleanup coding style issue.
39326 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
39327 Andreas Jaeger <aj@suse.de>
39329 * nscd/nscd.c (go_background): Replaced with...
39330 (run_mode): ... this.
39331 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39332 (options): Add -F --foreground.
39333 (main): Implement it.
39334 (parse_opt): Parse it.
39336 2012-05-09 Andreas Jaeger <aj@suse.de>
39339 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39340 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39341 -Wconversion warning.
39342 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39345 2012-05-09 Joseph Myers <joseph@codesourcery.com>
39347 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39349 (LC_ALL): Use macro-int-constant.
39350 (LC_COLLATE): Likewise.
39351 (LC_CTYPE): Likewise.
39352 (LC_MESSAGES): Likewise.
39353 (LC_MONETARY): Likewise.
39354 (LC_NUMERIC): Likewise.
39355 (LC_TIME): Likewise.
39356 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39357 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39359 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39361 [C99-based standards] (float_t): Expect type.
39362 [C99-based standards] (double_t): Expect type.
39363 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39365 [C99-based standards] (HUGE_VALL): Likewise.
39366 [C99-based standards] (INFINITY): Likewise.
39367 [C99-based standards] (NAN): Likewise.
39368 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39369 [C99-based standards] (FP_NAN): Likewise.
39370 [C99-based standards] (FP_NORMAL): Likewise.
39371 [C99-based standards] (FP_SUBNORMAL): Likewise.
39372 [C99-based standards] (FP_ZERO): Likewise.
39373 [C99-based standards] (FP_FAST_FMA): Use
39374 optional-macro-int-constant. Specify type. Require == 1.
39375 [C99-based standards] (FP_FAST_FMAF): Likewise.
39376 [C99-based standards] (FP_FAST_FMAL): Likewise.
39377 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39378 [C99-based standards] (FP_ILOGBNAN): Likewise.
39379 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39381 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39382 [C99-based standards] (math_errhandling): Specify type.
39383 [ISO99 || ISO11] (signgam): Do not allow.
39384 [non-C99-based standards] (copysignf): Do not allow.
39385 [non-C99-based standards] (exp2f): Likewise.
39386 [non-C99-based standards] (log2f): Likewise.
39387 [non-C99-based standards] (modff): Allow.
39388 [non-C99-based standards] (erff): Do not allow.
39389 [non-C99-based standards] (erfcf): Likewise.
39390 [non-C99-based standards] (gammaf): Likewise.
39391 [non-C99-based standards] (hypotf): Likewise.
39392 [non-C99-based standards] (j0f): Likewise.
39393 [non-C99-based standards] (j1f): Likewise.
39394 [non-C99-based standards] (jnf): Likewise.
39395 [non-C99-based standards] (lgammaf): Likewise.
39396 [non-C99-based standards] (tgammaf): Likewise.
39397 [non-C99-based standards] (y0f): Likewise.
39398 [non-C99-based standards] (y1f): Likewise.
39399 [non-C99-based standards] (ynf): Likewise.
39400 [non-C99-based standards] (isnanf): Likewise.
39401 [non-C99-based standards] (acoshf): Likewise.
39402 [non-C99-based standards] (asinhf): Likewise.
39403 [non-C99-based standards] (atanhf): Likewise.
39404 [non-C99-based standards] (cbrtf): Likewise.
39405 [non-C99-based standards] (expm1f): Likewise.
39406 [non-C99-based standards] (ilogbf): Likewise.
39407 [non-C99-based standards] (log1pf): Likewise.
39408 [non-C99-based standards] (logbf): Likewise.
39409 [non-C99-based standards] (nextafterf): Likewise.
39410 [non-C99-based standards] (remainderf): Likewise.
39411 [non-C99-based standards] (rintf): Likewise.
39412 [non-C99-based standards] (scalbf): Likewise.
39413 [non-C99-based standards] (copysignl): Likewise.
39414 [non-C99-based standards] (exp2l): Likewise.
39415 [non-C99-based standards] (log2l): Likewise.
39416 [non-C99-based standards] (modfl): Allow.
39417 [non-C99-based standards] (erfl): Do not allow.
39418 [non-C99-based standards] (erfcl): Likewise.
39419 [non-C99-based standards] (gammal): Likewise.
39420 [non-C99-based standards] (hypotl): Likewise.
39421 [non-C99-based standards] (j0l): Likewise.
39422 [non-C99-based standards] (j1l): Likewise.
39423 [non-C99-based standards] (jnl): Likewise.
39424 [non-C99-based standards] (lgammal): Likewise.
39425 [non-C99-based standards] (tgammal): Likewise.
39426 [non-C99-based standards] (y0l): Likewise.
39427 [non-C99-based standards] (y1l): Likewise.
39428 [non-C99-based standards] (ynl): Likewise.
39429 [non-C99-based standards] (isnanl): Likewise.
39430 [non-C99-based standards] (acoshl): Likewise.
39431 [non-C99-based standards] (asinhl): Likewise.
39432 [non-C99-based standards] (atanhl): Likewise.
39433 [non-C99-based standards] (cbrtl): Likewise.
39434 [non-C99-based standards] (expm1l): Likewise.
39435 [non-C99-based standards] (ilogbl): Likewise.
39436 [non-C99-based standards] (log1pl): Likewise.
39437 [non-C99-based standards] (logbl): Likewise.
39438 [non-C99-based standards] (nextafterl): Likewise.
39439 [non-C99-based standards] (remainderl): Likewise.
39440 [non-C99-based standards] (rintl): Likewise.
39441 [non-C99-based standards] (scalbl): Likewise.
39442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39443 [non-C99-based standards] (FP_*): Do not allow.
39444 [C99-based standards] (FP_*): Change to
39445 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39446 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39448 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39449 (SIG_ERR): Likewise.
39450 [X/Open-based standards] (SIG_HOLD): Likewise.
39451 (SIG_IGN): Likewise.
39452 (SIGABRT): Use macro-int-constant. Specify type. Require
39454 (SIGFPE): Likewise.
39455 (SIGILL): Likewise.
39456 (SIGINT): Likewise.
39457 (SIGSEGV): Likewise.
39458 (SIGTER): Likewise.
39459 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39460 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39461 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39462 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39463 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39464 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39465 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39466 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39467 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39468 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39469 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39470 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39471 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39472 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39473 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39474 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39475 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39476 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39477 [X/Open-based standards] (SIGTRAP): Likewise.
39478 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39479 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39480 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39481 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39482 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39485 2012-05-08 Ian Wienand <ianw@vmware.com>
39488 * time/tzset.c (__tzset_parse_tz): Update default rules for
39489 daylight time changes in the Energy Policy Act of 2005.
39491 2012-05-09 Andreas Jaeger <aj@suse.de>
39494 * elf/ldconfig.c (parse_conf): Change string to make clear that
39495 ldconfig only issued a warning if ld.so.conf does not exist.
39497 2012-05-08 David S. Miller <davem@davemloft.net>
39499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39500 movxtod instead of popping the value on the stack.
39502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39504 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39506 * config.h.in: Add HAVE_ARM_PCS_VFP.
39508 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
39511 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39512 checking but the checks are disabled for any reason.
39514 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39516 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39517 and ELF64_R_TYPE with ELFW(R_TYPE).
39519 2012-05-08 Joseph Myers <joseph@codesourcery.com>
39521 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39522 (ulimit): Likewise.
39524 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39525 (settimeofday): Likewise.
39527 2012-05-08 Mike Frysinger <vapier@gentoo.org>
39529 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39530 a struct th_u2 inside the union, and move tu_block/tu_code into
39531 a new th_u3 union of tu_block/tu_code inside of that. Move
39532 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39533 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39534 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39535 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39536 (th_stuff): Change to th_u1.tu_stuff.
39538 (th_msg): Change to th_u1.th_u2.tu_data.
39540 2012-05-07 David S. Miller <davem@davemloft.net>
39542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39545 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39546 (SETUP_PIC_REG): Use it.
39547 (SETUP_PIC_REG_LEAF): Use it.
39549 2012-05-07 Joseph Myers <joseph@codesourcery.com>
39553 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39555 (EXPL_FINITE): Likewise.
39556 (FLDLOG): Likewise.
39557 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39558 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39562 (EXPL_FINITE): Likewise.
39563 (FLDLOG): Likewise.
39564 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39565 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39567 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39568 test of -max_value argument for long double.
39569 * sysdeps/i386/fpu/libm-test-ulps: Update.
39570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39572 2012-05-06 David S. Miller <davem@davemloft.net>
39574 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39575 quad soft-float symbols whose references which are compiler
39577 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39579 2012-05-06 Joseph Myers <joseph@codesourcery.com>
39583 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39585 (EXPL_FINITE): Likewise.
39586 (FLDLOG): Likewise.
39589 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39590 Adjust comments for base varying.
39591 (__expl_finite): Change alias to EXPL_FINITE.
39592 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39594 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39595 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39597 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39598 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39600 (EXPL_FINITE): Likewise.
39601 (FLDLOG): Likewise.
39604 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39605 Adjust comments for base varying.
39606 (__expl_finite): Change alias to EXPL_FINITE.
39607 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39612 * math/libm-test.inc (check_float_internal): Correct ulp
39613 calculation for subnormal expected results.
39615 2012-05-06 Andreas Jaeger <aj@suse.de>
39617 * Makeconfig (+math-flags): New, set to -frounding-math.
39618 (+cflags): Add +math-flags so that all of glibc gets compiled with
39621 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39623 2012-05-05 Joseph Myers <joseph@codesourcery.com>
39625 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39631 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39632 (__ieee754_expl): Allow for and saturate large arguments.
39633 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39634 (u_threshold): Likewise.
39635 (__exp): Call __ieee754_exp before checking for overflow and
39637 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39638 (u_threshold): Likewise.
39639 (__expf): Call __ieee754_expf before checking for overflow and
39641 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39642 (u_threshold): Likewise.
39643 (__expl): Call __ieee754_expl before checking for overflow and
39645 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39646 (__ieee754_expl): Allow for and saturate large arguments.
39647 * math/libm-test.inc (exp_test): Add another test. Do not allow
39648 missing overflow exception on overflow.
39649 (expm1_test): Do not allow missing overflow exception on overflow.
39651 * sysdeps/i386/fpu/e_expl.c: Move to ...
39652 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39653 rather than using inline asm.
39654 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39655 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39656 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39658 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39661 (signal): Likewise.
39665 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39667 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39668 sysdeps/unix/common/syscalls.list.
39669 (fchmod): Likewise.
39670 (fchown): Likewise.
39671 (ftruncate): Likewise.
39672 (getrusage): Likewise.
39673 (gettimeofday): Likewise.
39674 (setpgid): Likewise.
39675 (setregid): Likewise.
39676 (setreuid): Likewise.
39677 (sigaction): Likewise.
39678 (truncate): Likewise.
39679 (vhangup): Likewise.
39680 * sysdeps/unix/common/syscalls.list: Remove file.
39681 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39682 * sysdeps/unix/sysv/linux/Implies: Likewise.
39684 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39686 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39688 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39692 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39695 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39698 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39701 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39704 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39707 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39710 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39714 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39718 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39721 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39725 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39729 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39731 * sysdeps/unix/common/bits/dirent.h: Remove file.
39732 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39734 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39735 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39736 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39737 * sysdeps/unix/bsd/isatty.c: Likewise.
39738 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39739 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39740 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39742 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39746 long double comparison inaccuracies.
39747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39750 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39752 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39755 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39759 nonzero digits before rounding a hex value.
39760 * stdlib/tst-strtod.c (tests): Add another test.
39762 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39764 * sysdeps/s390/fpu/libm-test-ulps: Update.
39766 2012-05-03 Andreas Jaeger <aj@suse.de>
39768 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39769 does not get optimized out.
39770 (malloc_opt_barrier): New.
39772 2012-05-03 Andreas Jaeger <aj@suse.de>
39773 Roland McGrath <roland@hack.frob.com>
39775 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39776 intermediate file deletion.
39777 (generated): Add .symlist files.
39779 2012-05-03 Joseph Myers <joseph@codesourcery.com>
39782 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39783 Redirect under this condition.
39784 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39785 [__USE_GNU] (__dprintf_chk): Not under this condition.
39786 [__USE_GNU] (__vdprintf_chk): Likewise.
39787 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39788 under this condition.
39789 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39790 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39791 [__USE_XOPEN2K8] (vdprintf): Likewise.
39792 [__USE_GNU] (__dprintf_chk): Not under this condition.
39793 [__USE_GNU] (__vdprintf_chk): Likewise.
39794 [__USE_GNU] (dprintf): Likewise.
39795 [__USE_GNU] (vdprintf): Likewise.
39797 2012-05-03 Roland McGrath <roland@hack.frob.com>
39799 * elf/Makefile (common-generated): Set this instead of generated for
39800 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39801 $(all-built-dso)-derived lists.
39803 2012-05-03 Andreas Jaeger <aj@suse.de>
39805 * sysdeps/i386/fpu/libm-test-ulps: Update.
39808 * FAQ.in: Likewise.
39809 * scripts/gen-FAQ.pl: Likewise.
39810 * manual/install.texi (Installation): Point to online location of
39812 * Makefile (files-for-dist): Remove FAQ.
39815 2012-05-02 Allan McRae <allan@archlinux.org>
39817 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39818 (LDFLAGS-reldepmod5.so): Likewise.
39819 (LDFLAGS-reldep6mod1.so): Likewise.
39820 (LDFLAGS-reldep6mod4.so): Likewise.
39821 (LDFLAGS-reldep8mod3.so): Likewise.
39822 (LDFLAGS-unload4mod1.so): Likewise.
39823 (LDFLAGS-unload4mod2.so): Likewise.
39824 (LDFLAGS-tst-initorder): Likewise.
39825 (LDFLAGS-tst-initordera2.so): Likewise.
39826 (LDFLAGS-tst-initordera3.so): Likewise.
39827 (LDFLAGS-tst-initordera4.so): Likewise.
39828 (LDFLAGS-tst-initorderb2.so): Likewise.
39829 (LDFLAGS-noload): Likewise.
39830 (LDFLAGS-next): Likewise.
39831 (LDFLAGS-order2mod1.so): Likewise.
39832 (LDFLAGS-order2mod2.so): Likewise.
39833 (LDFLAGS-tst-initorder2): Likewise.
39834 (LDFLAGS-tst-initorder2a.so): Likewise.
39835 (LDFLAGS-tst-initorder2b.so): Likewise.
39836 (LDFLAGS-tst-initorder2c.so): Likewise.
39837 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39839 2012-05-02 David S. Miller <davem@davemloft.net>
39841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39843 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39846 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39848 2012-05-02 Andreas Jaeger <aj@suse.de>
39850 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39851 since we manipulate rounding mode.
39852 (CPPFLAGS-test-idouble.c): Likewise.
39853 (CPPFLAGS-test-ifloat.c): Likewise.
39854 (CFLAGS-test-ldouble.c): Likewise.
39855 (CFLAGS-test-double.c): Likewise.
39856 (CFLAGS-test-float.c): Likewise.
39857 (CFLAGS-test-misc.c): Likewise.
39858 (CFLAGS-test-test-fenv.c): Likewise.
39860 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39864 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39865 comparisons to determine direction to adjust input.
39867 2012-05-01 Roland McGrath <roland@hack.frob.com>
39869 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39870 output to the target.
39872 * scripts/localplt.awk: New file.
39873 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39874 (check-localplt-CFLAGS): Variable removed.
39875 ($(all-built-dso:=.jmprel)): New static pattern rule.
39876 (generated): Add those targets.
39877 (localplt-built-dso): New variable.
39878 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39880 * elf/check-localplt.c: File removed.
39882 * scripts/check-execstack.awk: New file.
39883 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39884 (check-execstack-CFLAGS): Variable removed.
39885 ($(objpfx)check-execstack.h): Target removed.
39886 ($(objpfx)execstack-default): New target.
39887 (generated): Add that instead of check-execstack.h.
39888 ($(all-built-dso:=.phdr)): New static pattern rule.
39889 (generated): Add those targets.
39890 * elf/check-execstack.c: File removed.
39892 * scripts/check-textrel.awk: New file.
39893 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39894 (check-textrel-CFLAGS): Variable removed.
39895 (all-built-dso): Use := to define.o
39896 ($(all-built-dso:=.dyn)): New static pattern rule.
39897 (generated): Add those targets.
39898 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39899 * config.make.in (READELF): New substituted variable.
39900 * elf/check-textrel.c: File removed.
39902 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39904 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39906 * conform/data/ctype.h-data [C99-based standards] (isblank):
39908 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39909 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39911 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39912 Specify type. Require positive value.
39913 (EILSEQ): Likewise.
39914 (ERANGE): Likewise.
39915 [ISO || POSIX] (EILSEQ): Do not expect.
39916 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39917 Specify type. Require positive value.
39918 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39919 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39920 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39921 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39922 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39923 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39924 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39925 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39926 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39927 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39928 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39929 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39930 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39931 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39932 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39933 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39934 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39935 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39936 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39937 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39938 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39939 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39940 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39941 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39942 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39943 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39944 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39945 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39946 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39947 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39948 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39949 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39950 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39951 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39952 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39953 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39954 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39955 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39956 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39957 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39958 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39959 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39960 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39961 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39962 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39963 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39964 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39965 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39966 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39967 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39968 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39969 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39970 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39971 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39972 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39973 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39974 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39975 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39976 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39977 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39978 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39979 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39980 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39981 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39982 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39983 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39984 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39985 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39986 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39987 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39988 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39989 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39990 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39991 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39992 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39993 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39994 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39996 (FLT_ROUNDS): Expect as macro, not constant.
39997 (FLT_MANT_DIG): Use macro-int-constant.
39998 (DBL_MANT_DIG): Likewise.
39999 (LDBL_MANT_DIG): Likewise.
40000 (FLT_DIG): Likewise.
40001 (DBL_DIG): Likewise.
40002 (LDBL_DIG): Likewise.
40003 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40004 (DBL_MIN_EXP): Likewise.
40005 (LDBL_MIN_EXP): Likewise.
40006 (FLT_MAX_EXP): Use macro-int-constant.
40007 (DBL_MAX_EXP): Likewise.
40008 (LDBL_MAX_EXP): Likewise.
40009 (FLT_MAX_10_EXP): Likewise.
40010 (DBL_MAX_10_EXP): Likewise.
40011 (LDBL_MAX_10_EXP): Likewise.
40012 (FLT_MAX): Use macro-constant.
40013 (DBL_MAX): Likewise.
40014 (LDBL_MAX): Likewise.
40015 (FLT_EPSILON): Use macro-constant. Give upper bound.
40016 (DBL_EPSILON): Likewise.
40017 (LDBL_EPSILON): Likewise.
40018 (FLT_MIN): Likewise.
40019 (DBL_MIN): Likewise.
40020 (LDBL_MIN): Likewise.
40021 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40022 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40023 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40024 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40025 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40026 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40027 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40028 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40029 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40030 [ISO11] (FLT_TRUE_MIN): Likewise.
40031 [ISO11] (LDBL_TRUE_MIN): Likewise.
40032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40033 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40034 (SCHAR_MIN): Use macro-int-constant. Specify type.
40035 (SCHAR_MAX): Likewise.
40036 (UCHAR_MAX): Likewise.
40037 (CHAR_MIN): Likewise.
40038 (CHAR_MAX): Likewise.
40039 (MB_LEN_MAX): Use macro-int-constant.
40040 (SHRT_MIN): Use macro-int-constant. Specify type.
40041 (SHRT_MAX): Likewise.
40042 (USHRT_MAX): Likewise.
40043 (INT_MAX): Likewise.
40044 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40046 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40048 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40050 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40051 bound negative. Suffix upper bound with "L".
40052 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40054 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40056 [C99-based standards] (LLONG_MAX): Likewise.
40057 [C99-based standards] (ULLONG_MAX): Likewise.
40058 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40060 [ISO11] (max_align_t): Require type.
40061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40063 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40064 from $CFLAGS, without defining away __attribute__ calls.
40065 (checknamespace): Use $CFLAGS_namespace.
40067 * conform/conformtest.pl (@keywords): Only include C99 keywords
40068 for standards based on C99 or C11.
40070 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40072 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40075 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40076 usability of symbols in #if.
40078 * conform/conformtest.pl: If macro or constant types start
40079 "promoted:", expect the symbol to be of the following type
40080 promoted by the integer promotions.
40082 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40083 in one place. Also handle "macro-constant".
40085 * conform/conformtest.pl: Only accept expected macro values with
40086 "==". Parse all "macro" lines in one place.
40087 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40089 * conform/conformtest.pl: Handle braced types on "constant" lines
40090 instead of handling "typed-constant".
40091 * conform/data/signal.h-data: Use "constant" instead of
40094 * conform/conformtest.pl: Handle "optional-" at start of lines in
40095 one place rather than duplicating several cases. Handle each
40096 format of "macro" line with initial "optional-".
40098 * conform/conformtest.pl: Only accept expected constant or
40099 optional-constant values with "==". Parse all "constant" lines in
40100 one place. Parse all "optional-constant" lines in one place.
40101 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40102 * conform/data/fmtmsg.h-data: Likewise.
40103 * conform/data/netinet/in.h-data: Likewise.
40104 * conform/data/tar.h-data: Likewise.
40105 * conform/data/limits.h-data: Use "==" form on "constant" and
40106 "optional-constant" lines.
40108 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40109 Use -std=c99 for XOPEN2K.
40110 (@knownproblems): Remove.
40111 (newtoken): Don't check %isknown.
40113 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40114 Do not expect macro.
40115 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40127 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40128 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40130 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40139 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40140 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40145 [XPG3] (acosh): Likewise.
40146 [XPG3] (asinh): Likewise.
40147 [XPG3] (atanh): Likewise.
40148 [XPG3] (cbrt): Likewise.
40149 [XPG3] (expm1): Likewise.
40150 [XPG3] (ilogb): Likewise.
40151 [XPG3] (log1p): Likewise.
40152 [XPG3] (logb): Likewise.
40153 [XPG3] (nextafter): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40156 [XPG3] (remainder): Likewise.
40157 [XPG3] (rint): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40165 [UNIX98 || XOPEN2K] (scalb): Expect.
40166 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40167 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40168 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40169 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40170 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40171 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40172 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40173 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40174 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40175 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40176 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40177 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40178 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40179 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40180 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40181 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40182 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40183 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40184 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40185 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40186 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40187 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40188 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40189 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40190 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40191 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40192 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40193 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40194 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40195 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40196 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40197 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40198 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40199 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40200 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40201 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40202 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40203 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40204 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40205 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40206 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40207 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40208 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40209 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40210 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40211 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40212 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40213 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40214 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40215 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40216 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40217 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40218 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40219 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40220 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40221 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40222 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40223 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40224 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40225 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40226 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40227 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40228 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40229 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40230 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40231 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40232 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40233 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40234 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40235 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40236 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40237 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40238 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40239 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40240 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40241 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40242 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40243 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40244 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40245 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40246 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40247 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40248 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40249 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40250 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40251 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40252 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40253 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40254 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40255 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40256 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40257 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40258 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40259 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40260 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40261 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40262 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40263 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40264 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40265 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40266 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40267 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40268 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40269 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40270 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40271 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40272 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40273 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40274 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40275 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40276 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40277 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40278 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40279 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40280 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40281 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40282 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40283 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40284 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40285 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40286 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40287 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40288 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40289 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40290 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40291 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40292 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40293 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40294 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40295 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40296 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40297 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40298 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40299 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40300 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40301 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40302 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40304 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40305 _XOPEN_SOURCE_EXTENDED for XPG4.
40307 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40309 * Makeconfig (localtime): Remove variable.
40310 (inst_localtime-file): Likewise.
40312 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40333 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40337 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40338 comparisons to determine direction to adjust input.
40339 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40340 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40341 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40343 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40347 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40348 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40350 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40352 * math/libm-test.inc (nexttoward_test): Add more tests.
40354 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40358 in version GLIBC_2.1, not GLIBC_2.0.
40359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40362 2012-04-30 Joseph Myers <joseph@codesourcery.com>
40365 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40367 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40368 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40369 * math/libm-test.inc (acos_test): Add more tests.
40370 (asin_test): Likewise.
40371 * sysdeps/i386/fpu/libm-test-ulps: Update.
40372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40375 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40377 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40378 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40379 * math/libm-test.inc (acos_test_tonearest): New function.
40380 (acos_test_towardzero): Likewise.
40381 (acos_test_downward): Likewise.
40382 (acos_test_upward): Likewise.
40383 (asin_test_tonearest): Likewise.
40384 (asin_test_towardzero): Likewise.
40385 (asin_test_downward): Likewise.
40386 (asin_test_upward): Likewise.
40387 (main): Call the new functions.
40388 * sysdeps/i386/fpu/libm-test-ulps: Update.
40389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40393 * math/e_exp10.c: Include <float.h>.
40394 (__ieee754_exp10): Handle underflow here rather than multiplying
40395 large negative argument by M_LN10.
40396 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40398 * math/e_exp10l.c: Include <float.h>.
40399 (__ieee754_exp10l): Handle underflow here rather than multiplying
40400 large negative argument by M_LN10l.
40401 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40402 spurious overflow exception on underflow.
40404 2012-04-29 Marek Polacek <polacek@redhat.com>
40406 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40407 (__fortify_function): New macro.
40408 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40409 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40410 __extern_always_inline.
40411 * libio/bits/stdio2.h: Likewise.
40412 * libio/bits/stdio.h: Likewise.
40413 * string/string.h: Likewise.
40414 * string/bits/string3.h: Likewise.
40415 * include/stdio.h: Likewise.
40416 * stdlib/bits/stdlib.h: Likewise.
40417 * stdlib/stdlib.h: Likewise.
40418 * rt/bits/mqueue2.h: Likewise.
40419 * rt/mqueue.h: Likewise.
40420 * posix/bits/unistd.h: Likewise.
40421 * posix/unistd.h: Likewise.
40422 * io/bits/poll2.h: Likewise.
40423 * io/bits/fcntl2.h: Likewise.
40424 * io/fcntl.h: Likewise.
40425 * io/sys/poll.h: Likewise.
40426 * misc/bits/syslog.h: Likewise.
40427 * misc/bits/syslog-ldbl.h: Likewise.
40428 * misc/sys/syslog.h: Likewise.
40429 * socket/bits/socket2.h: Likewise.
40430 * socket/sys/socket.h: Likewise.
40431 * debug/tst-chk1.c: Likewise.
40432 * wcsmbs/bits/wchar2.h: Likewise.
40433 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40434 * wcsmbs/wchar.h: Likewise.
40436 2012-04-29 Andreas Jaeger <aj@suse.de>
40438 * Makerules (tests): Remove enable-check-abi protection.
40439 (check-abi-warn): Remove.
40440 (check-abi-%): Remove check-abi-warn usage.
40442 * configure.in: Remove check-abi configure option.
40443 * configure: Regenerated.
40444 * config.make.in (enable-check-abi): Remove.
40446 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40449 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40450 double functions to double *_finite functions.
40453 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40454 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40456 * stdio-common/Makefile (tests): Add tst-sprintf3.
40457 * stdio-common/tst-sprintf3.c: New file.
40459 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40460 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40462 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40464 * conform/conformtest.pl: Remove duplicate typed-constant
40467 2012-04-28 David S. Miller <davem@davemloft.net>
40469 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40470 (check-abi-%): Remove AWK script prerequisite and explicit
40472 (check-abi): Rewrite to just diff the symlist with the abilist.
40473 (config-tls, config-abi-config): Delete, no longer used.
40474 (update-abi-%): Remove AWK script and explicit abilist directory.
40475 (update-abi): Rewrite to simply compare and conditionally copy the
40476 symlist and the sysdep abilist file. Remove update-abi-config
40478 * abilist/ld.abilist: Remove.
40479 * abilist/libBrokenLocale.abilist: Remove.
40480 * abilist/libanl.abilist: Remove.
40481 * abilist/libcrypt.abilist: Remove.
40482 * abilist/libdl.abilist: Remove.
40483 * abilist/librt.abilist: Remove.
40484 * abilist/libthread_db.abilist: Remove.
40485 * abilist/libutil.abilist: Remove.
40486 * scripts/extract-abilist.awk: Remove.
40487 * scripts/merge-abilist.awk: Remove.
40488 * sysdeps/generic/libcidn.abilist: New file.
40489 * sysdeps/generic/libnss_compat.abilist: New file.
40490 * sysdeps/generic/libnss_db.abilist: New file.
40491 * sysdeps/generic/libnss_dns.abilist: New file.
40492 * sysdeps/generic/libnss_files.abilist: New file.
40493 * sysdeps/generic/libnss_hesiod.abilist: New file.
40494 * sysdeps/generic/libnss_nis.abilist: New file.
40495 * sysdeps/generic/libnss_nisplus.abilist: New file.
40496 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40497 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40498 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40501 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40502 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40503 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40504 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40505 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40506 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40507 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40508 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40510 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40511 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40512 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40513 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40515 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40516 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40517 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40518 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40519 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40520 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40522 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40523 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40524 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40526 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40629 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40630 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40631 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40634 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40635 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40636 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40637 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40638 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40639 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40640 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40641 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40642 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40694 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40696 * conform/conformtest.pl: Fix typo in handling typed-constant from
40699 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40701 * README: Cut down references to pre-2.6 Linux kernels and
40702 Linuxthreads. Update lists of configurations in libc and ports
40703 and sort alphabetically. Say "or newer" with Linux kernel version
40706 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40708 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40711 * math/libm-test.inc (logb_test_downward): New test to expose
40712 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40715 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40718 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40720 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40721 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40723 2012-04-26 Joseph Myers <joseph@codesourcery.com>
40725 * sysdeps/unix/i386/brk.S: Remove file.
40726 * sysdeps/unix/i386/dl-brk.S: Likewise.
40727 * sysdeps/unix/i386/pipe.S: Likewise.
40728 * sysdeps/unix/i386/sigreturn.S: Likewise.
40729 * sysdeps/unix/i386/syscall.S: Likewise.
40730 * sysdeps/unix/i386/vfork.S: Likewise.
40731 * sysdeps/unix/i386/wait.S: Likewise.
40733 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40734 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40736 * configure.in (arm*-none*): Do not allow without
40737 --enable-hacker-mode.
40738 (netbsd*): Remove case setting base_os.
40739 (386bsd*): Likewise.
40740 (freebsd*): Likewise.
40743 (sunos*): Likewise.
40744 (ultrix*): Likewise.
40745 (newsos*): Likewise.
40746 (dynix*): Likewise.
40752 (minix*): Likewise.
40753 (irix4*): Likewise.
40754 (irix6*): Likewise.
40755 (solaris[2-9]*): Likewise.
40757 * configure: Regenerated.
40759 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40762 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40763 overflow or cancellation in calculating denominator.
40764 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40766 down expression to avoid unexpected rounding in newer GCCs.
40767 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40769 2012-04-26 David S. Miller <davem@davemloft.net>
40771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40772 long-double compat symbols.
40773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40787 2012-04-25 David S. Miller <davem@davemloft.net>
40789 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40790 HWCAP_* values only after the memory barriers have been defined.
40791 (atomic_full_barrier): Define.
40792 (atomic_read_barrier): Define.
40793 (atomic_write_barrier): Define.
40795 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40797 * shlib-versions: Add libgcc_s version information.
40798 * sysdeps/generic/libgcc_s.h: Remove.
40799 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40801 * sysdeps/gnu/unwind-resume.c: Likewise.
40802 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40804 2012-04-25 David S. Miller <davem@davemloft.net>
40806 * sysdeps/unix/sparc/brk.S: Delete.
40807 * sysdeps/unix/sparc/dl-brk.S: Delete.
40808 * sysdeps/unix/sparc/pipe.S: Delete.
40809 * sysdeps/unix/sparc/sysdep.S: Delete.
40810 * sysdeps/unix/sparc/sysdep.h: Delete.
40811 * sysdeps/unix/sparc/vfork.S: Delete.
40812 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40813 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40815 (ret_ERRVAL, r0, r1, MOVE): Define.
40816 (JUMPTARGET): Remove.
40817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40818 sysdeps/unix/sparc/sysdep.h
40819 (ENTRY, END): Remove.
40820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40822 2012-04-25 Joseph Myers <joseph@codesourcery.com>
40824 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40825 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40828 * timezone/README: Update upstream location and email address for
40830 * timezone/zdump.c: Update from tzcode 2012b.
40831 * timezone/zic.c: Likewise.
40833 * configure.in (libc_cv_as_needed): Remove test.
40834 * configure: Regenerated.
40835 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40836 conditional definition.
40837 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40838 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40839 * config.make.in (have-as-needed): Remove variable.
40841 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40842 Paul Pluzhnikov <ppluzhnikov@google.com>
40844 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40847 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40849 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40850 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40851 * sysdeps/sh/strlen.S: Likewise.
40853 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40855 * sysdeps/unix/fork.S: Remove file.
40856 * sysdeps/unix/i386/fork.S: Likewise.
40857 * sysdeps/unix/sparc/fork.S: Likewise.
40859 * sysdeps/unix/system.c: Remove file.
40860 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40862 * sysdeps/unix/getegid.S: Remove file.
40863 * sysdeps/unix/geteuid.S: Likewise.
40865 2012-04-24 Roland McGrath <roland@hack.frob.com>
40867 * scripts/check-localplt.awk: New file.
40868 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40870 * scripts/data/localplt-generic.data: Add a comment.
40872 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40873 NODE when __dir_mkfile failed.
40874 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40875 Reported by Ludovic Courtès <ludo@gnu.org>.
40877 2012-04-24 Andreas Jaeger <aj@suse.de>
40879 * Makerules (common-clean): Also remove gen-as-const-headers
40882 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40884 * Makerules (native-compile): Do not change working directory for
40885 build. Use $(OUTPUT_OPTION) in command.
40886 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40888 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40891 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40892 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40893 * math/libm-test.inc (floor_test): Add more tests.
40894 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40896 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40898 * sysdeps/unix/getdents.c: Remove file.
40899 * sysdeps/unix/sysv/getdents.c: Likewise.
40900 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40902 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40903 sysdeps/unix/mman/syscalls.list.
40905 (mprotect): Likewise.
40907 (munmap): Likewise.
40908 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40909 * sysdeps/unix/mman/syscalls.list: Remove.
40910 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40912 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40913 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40914 * configure: Regenerated.
40915 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40916 $(libgcc_s_suffix).
40917 * config.make.in (libgcc_s_suffix): Remove variable.
40919 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40921 * sysdeps/unix/sysv/gethostname.c: Move to ...
40922 * sysdeps/posix/gethostname.c: ... here.
40924 * sysdeps/unix/execve.S: Remove file.
40926 * sysdeps/unix/_exit.S: Remove file.
40928 2012-04-23 Andreas Jaeger <aj@suse.de>
40931 * manual/Makefile: Remove make dist support, there's no
40932 need for a stand-alone documentation tar ball.
40933 (TEXI2DVI): Define always, it's not in Makeconfig.
40936 (edition): Removed.
40937 (glibc-doc-$(edition).tar): Removed
40941 (ETAGS): Remove, it's in Makeconfig.
40942 (move-if-change): Remove, it's in Makeconfig.
40944 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40947 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40948 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40949 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40950 (strtod_l, strtof_l, strtold_l): Remove __wur.
40951 It is not necessarily an error to ignore strtol's return value.
40952 One can reliably look at the stored endptr to decide whether
40953 the number had valid syntax.
40955 2012-04-21 Andreas Jaeger <aj@suse.de>
40958 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40960 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40962 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40963 * sysdeps/unix/sysv/Versions: Remove file.
40965 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40970 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40974 version from __vm86.
40976 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40978 * sysdeps/unix/common/lxstat.c: Remove file.
40979 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40981 * sysdeps/unix/sysv/Makefile: Remove file.
40983 * sysdeps/unix/sysv/direct.h: Remove file.
40985 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40986 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40987 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40988 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40989 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40990 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40991 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40993 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40995 * sysdeps/unix/xmknod.c: Remove file.
40996 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40998 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41000 * sysdeps/unix/sysv/i386/time.S: Remove file.
41002 * sysdeps/unix/fxstat.c: Remove file.
41003 * sysdeps/unix/xstat.c: Likewise.
41004 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41006 * sysdeps/unix/sysv/sigaction.c: Remove file.
41008 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41009 (sysdep_headers): Remove variable.
41010 [termio.h not in sysdep_headers] (generated): Likewise.
41011 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41012 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41013 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41014 * sysdeps/unix/sysv/tcflow.c: Likewise.
41015 * sysdeps/unix/sysv/tcflush.c: Likewise.
41016 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41017 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41018 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41019 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41020 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41022 * sysdeps/unix/siglist.c: Remove file.
41024 * sysdeps/unix/getppid.S: Remove file.
41026 * sysdeps/unix/mkdir.c: Remove file.
41027 * sysdeps/unix/rmdir.c: Likewise.
41029 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41031 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41033 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41034 errlist-compat value.
41036 2012-04-18 David S. Miller <davem@davemloft.net>
41038 * sysdeps/generic/memcopy.h (reg_char): Delete.
41039 * debug/strcat_chk.c: Use char, not reg_char.
41040 * debug/strcpy_chk.c: Likewise.
41041 * debug/strncat_chk.c: Likewise.
41042 * debug/strncpy_chk.c: Likewise.
41043 * string/memchr.c: Likewise.
41044 * string/memrchr.c: Likewise.
41045 * string/rawmemchr.c: Likewise.
41046 * string/strcat.c: Likewise.
41047 * string/strchr.c: Likewise.
41048 * string/strchrnul.c: Likewise.
41049 * string/strcmp.c: Likewise.
41050 * string/strcpy.c: Likewise.
41051 * string/strncat.c: Likewise.
41052 * string/strncmp.c: Likewise.
41053 * string/strncpy.c: Likewise.
41055 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41057 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41058 __builtin_memcopy is called when src and dest ranges are known to not
41061 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41063 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41064 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41065 fwd_align_merge macro call.
41066 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41067 bwd_align_merge macro call.
41068 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41070 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41072 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41073 bwd_align_merge macros.
41074 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41075 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41076 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41078 2012-04-18 David S. Miller <davem@davemloft.net>
41080 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41082 2012-04-18 Andreas Jaeger <aj@suse.de>
41085 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41086 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41087 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41089 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41090 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41091 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41093 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41094 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41095 Adjust for changed ldbl-128 files.
41097 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41098 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41099 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41101 2012-04-17 David S. Miller <davem@davemloft.net>
41103 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41105 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41107 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41108 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41109 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41110 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41111 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41112 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41114 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41117 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41118 * math/libm-test.inc: Add ilogb errno and exception tests.
41119 * math/w_ilogb.c: New file: ilogb wrapper.
41120 * math/w_ilogbf.c: New file: ilogbf wrapper.
41121 * math/w_ilogbl.c: New file: ilogbl wrapper.
41122 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41123 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41124 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41125 exception being thrown with 0.0 as argument.
41126 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41127 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41128 exception being thrown with 0.0 as argument.
41129 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41130 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41131 exception being thrown with 0.0 as argument.
41132 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41133 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41134 exception being thrown with 0.0 as argument.
41135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41136 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41137 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41138 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41139 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41140 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41141 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41142 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41143 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41145 2012-04-17 Petr Baudis <pasky@ucw.cz>
41147 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41150 2012-04-16 Marek Polacek <polacek@redhat.com>
41152 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41154 2012-04-16 Marek Polacek <polacek@redhat.com>
41156 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41157 operands of fdivp instruction.
41159 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41161 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41162 * elf/tst-auditmod3b.c: Likewise.
41163 * elf/tst-auditmod4b.c: Likewise.
41164 * elf/tst-auditmod5b.c: Likewise.
41165 * elf/tst-auditmod6b.c: Likewise.
41166 * elf/tst-auditmod6c.c: Likewise.
41167 * elf/tst-auditmod7b.c: Likewise.
41168 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41169 * sysdeps/x86_64/preconfigure.in: Likewise.
41170 * sysdeps/x86_64/preconfigure: Regenerated.
41172 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41174 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41177 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
41179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41180 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41182 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41185 * locale/iso-639.def: Fix gl language name. Spotted by
41188 2012-04-12 Roland McGrath <roland@hack.frob.com>
41191 * libio/libio.h (__io_write_fn): Update comment.
41193 2012-04-12 Petr Baudis <pasky@ucw.cz>
41196 * stdio.texi (Hook Functions): The user provided writer function
41197 is not allowed to return -1.
41199 2012-04-11 David S. Miller <davem@davemloft.net>
41201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41203 2012-04-11 Mike Frysinger <vapier@gentoo.org>
41205 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41206 Add a leading slash to rtkaio.
41208 2012-04-11 Jim Meyering <meyering@redhat.com>
41211 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41212 It is not necessarily an error to ignore fwrite's return
41213 value. One can reliably use ferror to test for errors after
41216 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41218 * bits/types.h (__snseconds_t): New type.
41219 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41221 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41223 (__SNSECONDS_T_TYPE): Likewise.
41224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41225 (__SNSECONDS_T_TYPE): Likewise.
41226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41227 (__SNSECONDS_T_TYPE): Likewise.
41229 2012-04-10 Andreas Jaeger <aj@suse.de>
41232 * manual/time.texi (Processor Time): Return type of times is
41233 elapsed real time since an arbitrary point in the past.
41234 (CPU Time): Move CLK_TCK from here...
41235 (Processor Time): ...to here. Correct description.
41236 * manual/conf.texi (Constants for Sysconf): Correct description of
41239 2012-04-10 David S. Miller <davem@davemloft.net>
41242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41243 where the is a gap between DT_REL(A) and DT_JMPREL.
41245 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41247 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41248 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41249 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41251 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41253 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41254 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41255 (dl_main): Handle --inhibit-cache.
41256 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41258 * elf/dl-load.c (_dl_map_object): Use it.
41259 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41261 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41264 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41265 (__ieee754_powl): Saturate large exponents rather than testing for
41266 overflow of y*log2(x).
41267 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41268 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41272 * math/s_ctan.c: Include <float.h>.
41273 (__ctan): Avoid internal overflow or cancellation in calculating
41275 * math/s_ctanf.c: Likewise.
41276 * math/s_ctanl.c: Likewise.
41277 * math/s_ctanh.c: Likewise.
41278 * math/s_ctanhf.c: Likewise.
41279 * math/s_ctanhl.c: Likewise.
41280 * math/libm-test.inc (ctan_test): Add more tests.
41281 (ctanh_test): Likewise.
41282 * sysdeps/i386/fpu/libm-test-ulps: Update.
41283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41285 2012-04-09 Andreas Jaeger <aj@suse.de>
41288 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41289 is an optional BSD extension.
41292 * manual/stdio.texi (Opening Streams): Document additional fopen
41295 2012-04-09 Roland McGrath <roland@hack.frob.com>
41297 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41298 %eax without telling the compiler.
41300 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41303 * manual/install.texi: Use sourceware.org.
41305 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41308 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41309 (__ieee754_pow): Generate overflow and underflow using huge*huge
41310 and tiny*tiny rather than just returning constant infinity or zero
41311 for large exponents.
41312 * math/libm-test.inc (pow_test): Require overflow exceptions for
41313 applicable cases of large exponents.
41316 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41317 (__ieee754_pow): Use iterative multiplication algorithm only for
41318 integer exponents with absolute value below 1024. Check for odd
41319 integer exponents when using algorithm for real exponents.
41320 * math/libm-test.inc (pow_test): Add more tests.
41321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41323 2012-04-08 Joseph Myers <joseph@codesourcery.com>
41326 * math/libm-test.inc (exp_test): Do not allow overflow exception
41329 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41332 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41333 instead of __kernel_standard_f.
41335 2012-04-08 Mike Frysinger <vapier@gentoo.org>
41337 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41338 * sysdeps/x86_64/memset_chk.S: Likewise.
41340 2012-04-08 Andreas Jaeger <aj@suse.de>
41343 * manual/startup.texi (Environment Access): Describe return value
41344 for putenv and setenv.
41347 * manual/filesys.texi (Directory Entries): Add description for
41351 * manual/filesys.texi (Directory Entries): Clarify that it's file
41352 system not operating system in the description of DT_UNKNOWN.
41355 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41357 2012-04-08 Stephen Compall <s11@member.fsf.org>
41360 * manual/llio.texi (Opening and Closing Files): Add cross
41361 reference to explain mode argument.
41363 2012-04-07 Mike Frysinger <vapier@gentoo.org>
41365 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41366 * sysdeps/x86_64/memset_chk.S: Likewise.
41368 2012-04-07 David S. Miller <davem@davemloft.net>
41370 * elf/elf.h (R_SPARC_WDISP10): Define.
41371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41374 R_SPARC_SIZE64 and R_SPARC_H34.
41376 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41378 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41379 conditions and remove no longer applicable assertion.
41381 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41383 * bits/byteswap.h: Include <features.h>.
41384 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41385 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41387 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41389 * bits/byteswap.h (__bswap_16): Removed.
41390 Include <bits/byteswap-16.h> to get __bswap_16.
41391 * sysdeps/i386/bits/byteswap.h: Likewise.
41392 * sysdeps/s390/bits/byteswap.h: Likewise.
41393 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41394 * bits/byteswap-16.h: New file.
41395 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41396 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41397 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41398 * string/Makefile (headers): Add bits/byteswap-16.h.
41400 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41403 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41405 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41406 * nss/tst-nss-static.c: New.
41408 2012-04-06 Robert Millan <rmh@gnu.org>
41411 * manual/llio.texi (File Position Primitive): lseek
41412 refers to WHENCE when it really means OFFSET.
41414 2012-04-06 Andreas Jaeger <aj@suse.de>
41416 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41417 strncmp declarations.
41419 * abilist/libc.abilist: Add __poll and __ppoll.
41421 2012-04-05 David S. Miller <davem@davemloft.net>
41423 * scripts/check-local-headers.sh: Accept a host triplet in the
41424 path matched by the exclude regexp.
41426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41428 * sysdeps/powerpc/powerpc32/dl-machine.h
41429 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41430 * sysdeps/s390/s390-32/dl-machine.h
41431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41432 * sysdeps/sparc/sparc32/dl-machine.h
41433 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41434 * sysdeps/sparc/sparc64/dl-machine.h
41435 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41437 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41439 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41440 undefined symbol errors.
41442 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41445 2012-04-05 Michael Matz <matz@suse.de>
41448 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41450 2012-04-05 Andreas Jaeger <aj@suse.de>
41453 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41456 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41458 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41459 which ROUND is no valid rounding mode.
41461 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41463 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41465 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41467 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41469 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41470 an exception using FPU order intentionally.
41472 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41474 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41475 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41476 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41477 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41479 2012-04-05 Simon Josefsson <simon@josefsson.org>
41482 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41483 EINVAL when BUFLEN is too smal.
41485 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41488 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41489 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41491 2012-04-03 Andreas Jaeger <aj@suse.de>
41494 * manual/setjmp.texi (System V contexts): Fix sentence.
41497 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41498 New macro for this case.
41499 [!__GNUC__] (__bswap_64): New inline function for this case.
41500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41501 * bits/byteswap.h: Likewise.
41502 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41503 ull, guard with __GLIBC_HAVE_LONG_LONG.
41505 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41506 __GLIBC_HAVE_LONG_LONG.
41508 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41509 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41511 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41514 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41515 inptr and inend, rather than using last_ch.
41517 2012-04-02 David S. Miller <davem@davemloft.net>
41519 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41520 * stdio-common/printf-parse.h (read_int): Change return type to
41521 'int', return -1 on INT_MAX overflow.
41522 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41523 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41524 overflows INT_MAX. Check for overflow of in-format-string precision
41525 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41526 SIZE_MAX not INT_MAX for integer overflow test.
41527 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41528 skip the construct in the format string but do not record anything.
41529 * stdio-common/bug22.c: Adjust to test both width/prevision
41530 INT_MAX overflow as well as total length INT_MAX overflow. Check
41531 explicitly for proper errno values.
41533 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41535 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41537 * string/test-strcmp.c [! WIDE]: Likewise.
41538 * time/tst-mktime2.c: Likewise for INT_MAX.
41539 * string/test-string.h: #include <sys/param.h> for MIN.
41541 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41542 * sysdeps/i386/init-first.c (init): Likewise.
41543 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41544 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41545 * sysdeps/sh/init-first.c (init): Likewise.
41547 2012-04-01 Ulrich Drepper <drepper@gmail.com>
41549 * po/ru.po: Update from translation team.
41550 * po/vi.po: Likewise.
41552 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41554 * resolv/nss_dns/dns-host.c: Merge copyright years.
41556 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41559 Optimize memcpy with prefetch if
41560 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41561 src, dst pointers have unequal 16 byte alignments.
41563 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41566 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41567 from a CNAME entry and return the minimum ttl for the query.
41568 (gaih_getanswer_slice): Likewise.
41570 2012-03-30 Jeff Law <law@redhat.com>
41572 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41574 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41575 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41577 * resolv/nss_dns/dns-host.c: Update copyright year.
41579 2012-03-30 Ulrich Drepper <drepper@gmail.com>
41581 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41582 requests to save a system call. Fix check that all bytes are sent.
41584 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41585 comments for sendmmsg.
41587 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41590 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41591 with only 1 character between 0x0041 and 0x01b0.
41592 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41593 * wcsmbs/tst-mbsnrtowcs.c: New file.
41595 2012-03-29 David S. Miller <davem@davemloft.net>
41597 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41598 small copies by hand.
41600 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41603 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41604 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41607 2012-03-28 David S. Miller <davem@davemloft.net>
41609 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41610 that branches into memcpy.
41611 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41614 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41617 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41618 implementation too.
41619 * sysdeps/sparc/mempcpy.S: New file.
41621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41622 the IFUNC routine in the libc case.
41623 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41625 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41626 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41627 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41628 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41629 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41630 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41631 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41632 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41634 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41635 loop to 256 bytes instead of 64 bytes and fix test signedness.
41637 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41638 * sysdeps/sparc/sparc32/Makefile: rather than here...
41639 * sysdeps/sparc/sparc64/Makefile: and here.
41641 2012-03-28 Ulrich Drepper <drepper@gmail.com>
41643 * malloc/mallocbug.c: Avoid warnings about unused variables.
41645 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41648 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41649 in the right place. Discard and retry query if response is
41650 larger than input buffer size.
41652 2012-03-28 Joseph Myers <joseph@codesourcery.com>
41657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41658 x for large integer exponent.
41659 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41660 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41661 sign of result as needed afterwards.
41662 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41663 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41664 result for underflowing pow the same as for overflow.
41665 (__kernel_standard_l): Handle powl overflow and underflow here
41666 rather than calling __kernel_standard.
41667 * math/libm-test.inc (pow_test): Add more tests.
41682 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41683 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41684 (__kernel_standard_l): New function.
41685 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41687 * math/w_acosl.c (__acosl): Likewise.
41688 * math/w_asinl.c (__asinl): Likewise.
41689 * math/w_atan2l.c (__atan2l): Likewise.
41690 * math/w_atanhl.c (__atanhl): Likewise.
41691 * math/w_coshl.c (__coshl): Likewise.
41692 * math/w_exp10l.c (__exp10l): Likewise.
41693 * math/w_exp2l.c (__exp2l): Likewise.
41694 * math/w_fmodl.c (__fmodl): Likewise.
41695 * math/w_hypotl.c (__hypotl): Likewise.
41696 * math/w_j0l.c (__j0l, __y0l): Likewise.
41697 * math/w_j1l.c (__j1l, __y1l): Likewise.
41698 * math/w_jnl.c (__jnl, __ynl): Likewise.
41699 * math/w_lgammal.c (__lgammal): Likewise.
41700 * math/w_log10l.c (__log10l): Likewise.
41701 * math/w_log2l.c (__log2l): Likewise.
41702 * math/w_logl.c (__logl): Likewise.
41703 * math/w_powl.c (__powl): Likewise.
41704 * math/w_remainderl.c (__remainderl): Likewise.
41705 * math/w_scalbl.c (sysv_scalbl): Likewise.
41706 * math/w_sinhl.c (__sinhl): Likewise.
41707 * math/w_sqrtl.c (__sqrtl): Likewise.
41708 * math/w_tgammal.c (__tgammal): Likewise.
41709 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41710 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41711 * math/libm-test.inc (acos_test): Add more tests.
41712 (acosh_test): Likewise.
41713 (asin_test): Likewise.
41714 (atanh_test): Likewise.
41715 (exp_test): Likewise.
41716 (exp10_test): Likewise.
41717 (exp2_test): Likewise.
41718 (expm1_test): Likewise.
41719 (lgamma_test): Likewise.
41720 (log_test): Likewise.
41721 (log10_test): Likewise.
41722 (log1p_test): Likewise.
41723 (log2_test): Likewise.
41724 (pow_test): Do not allow some spurious overflow exceptions.
41725 (sqrt_test): Add more tests.
41726 (tgamma_test): Likewise.
41727 (y0_test): Likewise.
41728 (y1_test): Likewise.
41729 (yn_test): Likewise.
41731 2012-03-27 Anton Blanchard <anton@samba.org>
41733 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41739 2012-03-27 David S. Miller <davem@davemloft.net>
41741 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41743 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41744 have-as-vis3 check.
41746 2012-03-27 Andreas Jaeger <aj@suse.de>
41748 * sysdeps/x86_64/elf/configure.in: Moved to ...
41749 * sysdeps/x86_64/configure.in: ... here.
41750 * sysdeps/x86_64/elf/start.S: Moved to ...
41751 * sysdeps/x86_64/start.S: ... here.
41752 * sysdeps/x86_64/elf/configure: Delete.
41754 * sysdeps/x86_64/configure.in: Merge contents from
41755 sysdeps/i386/configure.in (without i686 check).
41757 * sysdeps/i386/elf/Versions: Merge into ...
41758 * sysdeps/i386/Versions: ... this.
41759 * sysdeps/i386/elf/Versions: Delete file.
41760 * sysdeps/i386/elf/start.S: Moved to ...
41761 * sysdeps/i386/start.S: ...here.
41762 * sysdeps/i386/elf/configure.in: Merge into...
41763 * sysdeps/i386/configure.in: ...here.
41764 * sysdeps/i386/elf/configure.in: Delete file.
41765 * sysdeps/i386/elf/configure: Delete file.
41767 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41768 * debug/backtracesyms.c: ... here.
41769 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41770 * debug/backtracesymsfd.c: ... here.
41771 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41772 * sysdeps/generic/ifunc-sel.h: ... here.
41774 * sysdeps/unix/i386/start.c: Delete file.
41775 * sysdeps/unix/sparc/start.c: Delete file.
41776 * sysdeps/unix/start.c: Delete file.
41778 * sysdeps/sh/elf/configure.in: Moved to ...
41779 * sysdeps/sh/configure.in: ... here.
41780 * sysdeps/sh/elf/start.S: Moved to ...
41781 * sysdeps/sh/start.S: ... here.
41782 * sysdeps/sh/elf/configure: Delete file.
41784 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41785 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41786 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41787 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41788 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41789 * sysdeps/powerpc/powerpc64/start.S: here.
41790 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41791 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41792 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41793 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41794 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41796 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41797 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41798 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41799 * sysdeps/powerpc/powerpc32/start.S: ... here.
41800 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41801 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41802 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41804 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41805 * sysdeps/powerpc/ifunc-sel.h: ... here.
41806 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41807 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41809 * sysdeps/sparc/elf/configure.in: Moved to ...
41810 * sysdeps/sparc/configure.in: ... here.
41811 * sysdeps/sparc/elf/configure: Delete file.
41812 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41813 * sysdeps/sparc/sparc32/start.S: ... here.
41814 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41815 * sysdeps/sparc/sparc64/start.S: ... here.
41816 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41817 * sysdeps/sparc/sparc32/Makefile: ... this.
41818 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41819 * sysdeps/sparc/sparc64/Makefile: ... this.
41821 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41822 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41823 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41824 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41825 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41826 * sysdeps/s390/s390-32/setjmp.S: ... here.
41827 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41828 * sysdeps/s390/s390-32/configure.in: ... here.
41829 * sysdeps/s390/s390-32/elf/configure: Delete file.
41830 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41831 * sysdeps/s390/s390-32/start.S: ... here.
41833 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41834 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41835 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41836 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41837 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41838 * sysdeps/s390/s390-64/setjmp.S: ... here.
41839 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41840 * sysdeps/s390/s390-64/configure.in: ... here
41841 * sysdeps/s390/s390-64/elf/configure: Delete file.
41842 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41843 * sysdeps/s390/s390-64/start.S: ... here.
41844 * sysdeps/s390/s390-64/elf/configure: Delete.
41846 * configure.in: Remove support for elf directories in sysdeps.
41848 * configure: Regenerated.
41849 * sysdeps/i386/configure: Regenerated.
41850 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41851 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41852 * sysdeps/s390/s390-32/configure: Regenerated.
41853 * sysdeps/s390/s390-64/configure: Regenerated.
41854 * sysdeps/sh/configure: Regenerated.
41855 * sysdeps/sparc/configure: Regenerated.
41856 * sysdeps/x86_64/configure: Regenerated.
41858 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41863 denormal result into account.
41865 2012-03-25 Roland McGrath <roland@hack.frob.com>
41867 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41868 Reported by Allan McRae <allan@archlinux.org>.
41870 2012-03-23 Jeff Law <law@redhat.com>
41872 * nss/getnssent.c (__nss_getent): Fix typo.
41874 2012-03-23 David S. Miller <davem@davemloft.net>
41876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41878 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41880 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41881 to pad to uint64_t for each field.
41882 (dl_tls_index): Replace unsigned long with uint64_t.
41884 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41885 Paul Pluzhnikov <ppluzhnikov@google.com>
41888 * grp/Makefile (otherlibs): Don't set it.
41889 * inet/Makefile (otherlibs): Likewise.
41890 * login/Makefile (otherlibs): Likewise.
41891 * nscd/Makefile (otherlibs): Likewise.
41892 * posix/Makefile (otherlibs): Likewise.
41893 * pwd/Makefile (otherlibs): Likewise.
41894 * rt/Makefile (otherlibs): Likewise.
41895 * sunrpc/Makefile (otherlibs): Likewise.
41896 * nss/Makefile (otherlibs): Likewise.
41897 Add libnss_files to routines and static-only-routines.
41898 ($(objpfx)getent): Remove rule.
41899 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41900 static-only-routines.
41902 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41905 * math/s_cexp.c: Include <float.h>.
41906 (__cexp): Handle exp result overflowing not necessarily
41907 overflowing both real and imaginary parts of result.
41908 * math/s_cexpf.c: Likewise.
41909 * math/s_cexpl.c: Likewise.
41910 * math/libm-test.inc (cexp_test): Add more tests.
41911 * sysdeps/i386/fpu/libm-test-ulps: Update.
41912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41914 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41916 * include/link.h (ELFW): New macro.
41917 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41918 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41920 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41922 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41925 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41927 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41929 (struct La_x32_retval): Likewise.
41931 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41933 * sysdeps/x86_64/preconfigure.in: New file.
41934 * sysdeps/x86_64/preconfigure: New generated file.
41936 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41939 * math/e_exp2l.c: Include <float.h>.
41940 (__ieee754_exp2l): Handle overflow and underflow cases
41941 separately. Only pass fractional part of argument to
41943 * math/libm-test.inc (exp2_test): Add more tests.
41945 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41946 negating x to take absolute value.
41947 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41949 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41950 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41952 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41953 computing low part if x was negated.
41954 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41956 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41958 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41959 la_x32_gnu_pltexit.
41960 (pltexit): Cast int_retval to ptrdiff_t.
41961 * elf/tst-auditmod3b.c: Likewise.
41962 * elf/tst-auditmod4b.c: Likewise.
41963 * elf/tst-auditmod5b.c: Likewise.
41964 * elf/tst-auditmod6b.c: Likewise.
41965 * elf/tst-auditmod6c.c: Likewise.
41966 * elf/tst-auditmod7b.c: Likewise.
41968 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41969 and x32_gnu_pltexit.
41971 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41972 __ELF_NATIVE_CLASS.
41973 (La_x32_regs): New macro.
41974 (La_x32_retval): Likewise.
41975 (la_x32_gnu_pltenter): New function prototype.
41976 (la_x32_gnu_pltexit): Likewise.
41978 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41985 * configure.in (libc_cv_cc_nofma): Check for option to disable
41986 generation of FMA instructions.
41987 * configure: Regenerate.
41988 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41989 * sysdeps/ieee754/dbl-64/Makefile: New file.
41990 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41991 Remove brandred-fma4.
41992 (CFLAGS-brandred-fma4.c): Remove.
41993 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41994 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41996 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41999 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42001 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42002 LLONG_MAX != LONG_MAX.
42003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42004 (_fitoa_word): Likewise.
42005 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42006 LLONG_MAX != LONG_MAX.
42007 * stdio-common/_itowa.h: Include <_itoa.h>.
42008 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42009 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42010 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42011 only if not defined.
42012 (_ITOA_WORD_TYPE): Likewise.
42013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42014 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42016 2012-03-21 David S. Miller <davem@davemloft.net>
42018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42020 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42022 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42023 of x86_64 when setting libc_cv_slibdir, libdir and
42025 * sysdeps/unix/sysv/linux/configure: Regenerated.
42027 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42029 * manual/lang.texi (Old Varargs): Remove section.
42030 (How Variadic): Update menu.
42031 (va_start): Do not mention varargs.h.
42033 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42034 Joseph Myers <joseph@codesourcery.com>
42036 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42038 * configure: Regenerated.
42040 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42042 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42043 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42046 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42049 * Makefile (files-for-dist): Remove NOTES.
42050 (NOTES): Remove rule.
42051 * README: Don't refer to NOTES.
42052 * manual/creature.texi: Don't include macros.texi.
42053 * manual/intro.texi (creature.texi): Remove comment referring to
42056 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42057 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42058 * configure: Regenerated.
42059 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42060 LIBC_TRY_CC_OPTION.
42061 (libc_cv_as_i686): Likewise.
42062 (libc_cv_cc_avx): Likewise.
42063 (libc_cv_cc_sse2avx): Likewise.
42064 (libc_cv_cc_fma4): Likewise.
42065 (libc_cv_cc_novzeroupper): Likewise.
42066 * sysdeps/i386/configure: Regenerated.
42069 * sysdeps/i386/fpu/s_cexp.S: Remove.
42070 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42071 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42072 * math/libm-test.inc (cexp_test): Add more tests.
42073 * sysdeps/i386/fpu/libm-test-ulps: Update.
42074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42076 2012-03-21 Allan McRae <allan@archlinux.org>
42078 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42080 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42083 * math/w_exp2.c: Do not include <float.h>.
42084 (o_threshold, u_threshold): Remove.
42085 (__exp2): Calculate result before checking finiteness and calling
42087 * math/w_exp2f.c: Likewise.
42088 * math/w_exp2l.c: Likewise.
42089 * math/libm-test.inc (exp2_test): Require overflow exception for
42093 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42094 range of signed 64-bit integers before using fistpll. Remove
42095 checks for whether integers fit in mantissa bits.
42096 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42097 the range of signed 32-bit integers before using fistpl. Remove
42098 checks for whether integers fit in mantissa bits.
42099 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42100 (__ieee754_powl): Test for y outside the range of signed 64-bit
42101 integers before using fistpll. Reduce 64-bit values to 63-bit
42103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42104 divide-by-zero is raised for zero to large negative powers.
42105 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42106 (__ieee754_powl): Test for y outside the range of signed 64-bit
42107 integers before using fistpll. Reduce 64-bit values to 63-bit
42109 * math/libm-test.inc (pow_test): Add more tests.
42111 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42113 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42114 <stdio-common/_itoa.h>.
42115 * debug/segfault.c: Likewise.
42116 * elf/dl-cache.c: Likewise.
42117 * elf/dl-minimal.c: Likewise.
42118 * elf/dl-misc.c: Likewise.
42119 * elf/dl-sysdep.c: Likewise.
42120 * elf/dl-version.c: Likewise.
42121 * elf/rtld.c: Likewise.
42122 * hurd/hurdsock.c: Likewise.
42123 * hurd/lookup-retry.c: Likewise.
42124 * malloc/malloc.c: Likewise.
42125 * malloc/mtrace.c: Likewise.
42126 * nscd/nscd_getgr_r.c: Likewise.
42127 * nscd/nscd_getpw_r.c: Likewise.
42128 * nscd/nscd_getserv_r.c: Likewise.
42129 * posix/getopt_init.c: Likewise.
42130 * posix/wordexp.c: Likewise.
42131 * stdio-common/_itoa.c: Likewise.
42132 * stdio-common/printf_fphex.c: Likewise.
42133 * stdio-common/vfprintf.c: Likewise.
42134 * string/_strerror.c: Likewise.
42135 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42136 * sysdeps/i386/i686/hp-timing.h: Likewise.
42137 * sysdeps/mach/_strerror.c: Likewise.
42138 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42139 * sysdeps/mach/hurd/sethostid.c: Likewise.
42140 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42141 * sysdeps/mach/xpg-strerror.c: Likewise.
42142 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42143 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42144 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42145 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42146 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42147 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42148 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42149 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42150 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42151 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42152 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42153 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42154 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42155 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42156 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42158 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42159 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42160 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42161 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42162 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42164 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42166 * stdio-common/_itoa.h: Moved to ...
42167 * sysdeps/generic/_itoa.h: Here.
42169 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42171 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42172 instead of "_itoa.h" and "_itowa.h".
42173 * stdio-common/vfprintf.: Likewise.
42175 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42177 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42179 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42180 (__signbit): Likwise.
42181 (llrintf): Likwise.
42184 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42186 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42189 2012-03-20 Joseph Myers <joseph@codesourcery.com>
42191 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42192 OVERFLOW_EXCEPTION_OK.
42193 * math/libm-test.inc ("Philosophy"): Update comment about
42195 (OVERFLOW_EXCEPTION): Define.
42196 (OVERFLOW_EXCEPTION_OK): Likewise.
42197 (INVALID_EXCEPTION_OK): Renumber.
42198 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42199 (IGNORE_ZERO_INF_SIGN): Likewise.
42200 (test_exceptions): Handle FE_OVERFLOW.
42201 (exp10_test): Expect overflow exceptions.
42202 (exp2_test): Likewise.
42203 (expm1_test): Likewise.
42204 (nextafter_test): Likewise.
42205 (pow_test): Likewise.
42206 (scalbn_test): Likewise.
42207 (scalbln_test): Likewise.
42209 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42211 * sysdeps/x86_64/bits/atomic.h
42212 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42214 (atomic_exchange_acq): Likewise.
42215 (__arch_exchange_and_add_body): Likewise.
42216 (__arch_add_body): Likewise.
42217 (atomic_add_negative): Likewise.
42218 (atomic_add_zero): Likewise.
42220 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42222 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42223 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42225 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42227 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42228 Check __x86_64__ instead of __WORDSIZE.
42230 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42232 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42234 2012-03-19 David S. Miller <davem@davemloft.net>
42236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42238 * sysdeps/sparc/fpu/fenv_private.h: New file.
42239 * sysdeps/sparc/fpu/math_private.h: Use it.
42240 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42242 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42243 (libc_feholdexcept_setroundl): Remove.
42244 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42246 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42247 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42249 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42251 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42252 int64_t instead of long int.
42253 (INSERT_WORDS64): Likwise.
42255 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42257 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42258 _Unwind_GetCFA return to _Unwind_Ptr first.
42260 2012-03-19 Joseph Myers <joseph@codesourcery.com>
42263 * math/s_clog.c: Include <float.h>.
42264 (__clog): Scale large or subnormal inputs.
42265 * math/s_clogf.c: Likewise.
42266 * math/s_clogl.c: Likewise.
42267 * math/s_clog10.c: Include <float.h>.
42268 (M_LOG10_2): Define.
42269 (__clog10): Scale large or subnormal inputs.
42270 * math/s_clog10f.c: Likewise.
42271 * math/s_clog10l.c: Likewise.
42272 * math/libm-test.inc (clog_test): Add more tests.
42273 (clog10_test): Likewise.
42274 * sysdeps/i386/fpu/libm-test-ulps: Update.
42275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42278 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42280 * math/libm-test.inc (atan2_test): Add another test.
42282 * Makerules (common-objdir-compile): Remove.
42283 * sysdeps/unix/Makefile (config-generated): Do not add
42284 $(unix-generated) to variable.
42285 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42286 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42288 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42290 [generic bits/local_lim.h] (before-compile): Do not append to
42292 [generic bits/local_lim.h] (common-generated): Likewise.
42293 [generic sys/param.h] (before-compile): Do not append to variable.
42294 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42295 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42296 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42297 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42299 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42300 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42301 [generic sys/param.h] ($(addprefix
42302 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42303 [generic sys/param.h] (common-generated): Do not append to
42305 [generic sys/param.h] (sysdep_headers): Likewise.
42306 [generic bits/errno.h] (before-compile): Do not append to
42308 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42310 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42311 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42312 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42313 [generic bits/errno.h] (common-generated): Do not append to
42315 [generic bits/ioctls.h] (before-compile): Do not append to
42317 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42319 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42320 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42321 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42323 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42324 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42325 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42326 [generic bits/ioctls.h] (common-generated): Do not append to
42328 [generic sys/syscall.h] (syscall.h): Remove variable.
42329 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42331 [generic sys/syscall.h] (before-compile): Do not append to
42333 [generic sys/syscall.h] (common-generated): Likewise.
42334 * sysdeps/unix/errnos-tmpl.c: Remove file.
42335 * sysdeps/unix/errnos.awk: Likewise.
42336 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42337 * sysdeps/unix/ioctls.awk: Likewise.
42338 * sysdeps/unix/mk-local_lim.c: Likewise.
42339 * sysdeps/unix/snarf-ioctls: Likewise.
42341 2012-03-19 Richard Henderson <rth@twiddle.net>
42343 * sysdeps/i386/fpu/fenv_private.h: New file.
42344 * sysdeps/i386/fpu/math_private.h: Use it.
42345 (math_opt_barrier, math_force_eval): Remove.
42346 (libc_feholdexcept_setround_53bit): Remove.
42347 (libc_feupdateenv_53bit): Remove.
42348 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42349 (math_opt_barrier, math_force_eval): Remove.
42350 (libc_feholdexcept): Remove.
42351 (libc_feholdexcept_setround): Remove.
42352 (libc_fetestexcept, libc_fesetenv): Remove.
42353 (libc_feupdateenv_test): Remove.
42354 (libc_feupdateenv, libc_feholdsetround): Remove.
42355 (libc_feresetround): Remove.
42357 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42358 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42360 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42361 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42362 (libc_feupdateenv_testl): New.
42363 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42364 (libc_feupdateenv_testf): New.
42365 (libc_feupdateenv): Use libc_feupdateenv_test.
42366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42369 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42370 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42371 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42372 (libc_feresetround_noex): New.
42373 (libc_feresetround_noexf): New.
42374 (libc_feresetround_noexl): New.
42375 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42376 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42377 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42378 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42383 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42385 SET_RESTORE_ROUND_NOEX.
42386 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42387 SET_RESTORE_ROUND_NOEXF.
42388 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42389 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42390 (libc_feholdsetroundf): New.
42391 (libc_feresetround, libc_feresetroundf): New.
42393 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42394 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42395 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42397 * sysdeps/generic/math_private.h: Include <fenv.h>.
42398 (default_libc_feholdexcept): New.
42399 (default_libc_feholdexcept_setround): New.
42400 (default_libc_fesetenv, default_libc_feupdateenv): New.
42401 (libc_feholdexcept): Only define if undefined.
42402 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42403 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42404 (libc_feholdexcept_setroundl): Likewise.
42405 (libc_feholdexcept_setround_53bit): Likewise.
42406 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42407 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42408 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42409 (libc_feupdateenv_53bit): Likewise.
42410 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42411 (libc_feholdexcept): Convert from macro to inline function.
42412 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42413 (libc_fesetenv, libc_feupdateenv): Likewise.
42415 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42416 not previously defined.
42417 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42418 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42419 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42420 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42421 * sysdeps/ieee754/flt-32/math_private.h: New file.
42422 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42423 math_private.h below SET_FLOAT_WORD.
42424 (__isnan, __isinf_ns, __finite): Remove.
42425 (__isnanf, __isinf_nsf, __finitef): Remove.
42427 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42431 2012-03-17 David S. Miller <davem@davemloft.net>
42434 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42437 2012-03-16 David S. Miller <davem@davemloft.net>
42439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42445 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42446 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42447 sysdep_routines when subdir is sysvipc.
42448 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42449 __getshmlba helper.
42451 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42453 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42455 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42458 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42460 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42461 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42462 (__lround): Renamed to ...
42463 (__llround): This. Replace long int with long long int.
42464 Define lround functions as aliases of llround functions.
42465 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42467 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42469 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42470 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42471 adresses to uintptr_t. Replace "long int" and "unsigned long
42472 int" with "greg_t" on va_arg.
42474 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42476 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42477 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42479 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42480 Move e_machine check before EI_CLASS check. Handle x32
42481 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42482 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42483 SKIP_EM_IA_64 and include
42484 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42486 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42487 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42488 (add_system_dir): New macro.
42490 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42491 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42493 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42504 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42506 * math/w_j0f.c (j0f): Likewise.
42508 * math/w_j0l.c (__j0l): Likewise.
42510 * math/w_j1.c (j1): Likewise.
42512 * math/w_j1f.c (j1f): Likewise.
42514 * math/w_j1l.c (__j1l): Likewise.
42516 * math/w_jn.c (jn): Likewise.
42518 * math/w_jnf.c (jnf): Likewise.
42520 * math/w_jnl.c (__jnl): Likewise.
42522 * math/libm-test.inc (j0_test): Add more tests.
42523 (j1_test): Likewise.
42524 (jn_test): Likewise. Add trailing semicolon to existing test.
42525 (y0_test): Likewise.
42526 (y1_test): Likewise.
42527 * sysdeps/i386/fpu/libm-test-ulps: Update.
42528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42532 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42533 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42534 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42535 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42536 (__tanl): Set errno for infinite argument.
42537 * sysdeps/i386/fpu/mptan.c: Remove.
42538 * sysdeps/i386/fpu/s_tan.S: Likewise.
42539 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42540 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42541 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42542 * math/libm-test.inc (tan_test): Add more tests and enable more
42543 tests for double and long double.
42544 * sysdeps/i386/fpu/libm-test-ulps: Update.
42545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42547 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42549 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42550 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42552 2012-03-16 Roland McGrath <roland@hack.frob.com>
42554 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42555 * configure.in: Use it for both main tree and add-ons.
42556 * configure: Regenerated.
42558 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42560 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42562 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42564 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42568 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42569 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42570 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42571 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42572 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42574 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42576 != 0 for prec == 2.
42577 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42578 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42579 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42580 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42581 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42582 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42583 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42584 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42585 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42586 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42587 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42588 * math/libm-test.inc (cos_test): Add more tests and enable more
42589 tests for long double.
42590 (sin_test): Likewise.
42591 (sincos_test): Likewise.
42592 * sysdeps/i386/fpu/libm-test-ulps: Update.
42593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42595 2012-03-16 David S. Miller <davem@davemloft.net>
42597 * sysdeps/sparc/fpu/math_private.h: New file.
42599 2012-03-15 David S. Miller <davem@davemloft.net>
42601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42615 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42616 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42618 * sysdeps/sparc/sparc-ifunc.h: New file.
42619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42664 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42666 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42670 2012-03-15 Andreas Jaeger <aj@suse.de>
42673 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42674 ieee754/flt-32 implementation for sin, cos and sincos.
42675 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42676 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42677 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42678 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42679 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42680 ieee754/flt-32 implementation for tan.
42682 * math/libm-test.inc (cos_test): Enable some large input tests for
42684 (sin_test): Likewise.
42685 (sincos_test): Likewise.
42686 (tan_test): Add tests for large input.
42688 * sysdeps/i386/fpu/libm-test-ulps: Update.
42690 2012-03-15 Andreas Jaeger <aj@suse.de>
42693 * math/libm-test.inc (cos_test): Add more test cases.
42694 (sin_test): Likewise.
42695 (sincos_test): Likewise.
42697 2012-03-15 Andreas Jaeger <aj@suse.de>
42700 * math/libm-test.inc (cos_test): Add a test case for large input
42702 (sin_test): Likewise.
42703 (sincos_test): Likewise.
42705 2012-03-15 Andreas Jaeger <aj@suse.de>
42706 Joseph Myers <joseph@codesourcery.com>
42709 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42710 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42711 * sysdeps/i386/fpu/branred.c: Likewise.
42712 * sysdeps/i386/fpu/dosincos.c: Likewise.
42713 * sysdeps/i386/fpu/mpa.c: Likewise.
42714 * sysdeps/i386/fpu/s_cos.S: Likewise.
42715 * sysdeps/i386/fpu/s_sin.S: Likewise.
42716 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42717 * sysdeps/i386/fpu/sincos32.c: Likewise.
42719 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42721 (libc_feupdateenv_53bit): Define.
42722 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42724 (libc_feupdateenv_53bit): Define.
42726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42727 53 bit (without extend i386 double precision).
42729 * math/libm-test.inc (sincos_test): Add tests for large input.
42733 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42735 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42739 2012-03-15 David S. Miller <davem@davemloft.net>
42741 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42742 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42743 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42744 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42769 fmin/fmax sysdep routines.
42770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42772 2012-03-14 David S. Miller <davem@davemloft.net>
42774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42846 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42851 * sysdeps/sparc/configure.in: New file.
42852 * sysdeps/sparc/configure: Generate.
42853 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42854 * configure: Regenerate.
42855 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42856 * config.make.in (have-as-vis3): New.
42857 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42858 available use -Av9d instead of -Av9a.
42859 * sysdeps/sparc/sparc64/Makefile: Likewise.
42860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42875 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42876 fzeros/fnegs to load 0x80000000 into a float register instead of
42878 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42880 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42884 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42885 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42886 ($(inst_includedir)/bits/syscall.h): Remove rule.
42887 ($(objpfx)bits/syscall.d): Include instead of
42888 $(objpfx)syscall-list.d.
42889 (generated): Change syscall-list.h and syscall-list.d to
42890 bits/syscall.h and bits/syscall.d.
42892 2012-03-14 Roland McGrath <roland@hack.frob.com>
42895 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42897 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42900 * math/s_csqrt.c: Include <float.h>.
42901 (__csqrt): Scale large or subnormal inputs.
42902 * math/s_csqrtf.c: Likewise.
42903 * math/s_csqrtl.c: Likewise.
42904 * math/libm-test.inc (csqrt_test): Add more tests.
42905 * sysdeps/i386/fpu/libm-test-ulps: Update.
42906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42909 * math/libm-test.inc (hypot_test): Add more tests.
42911 2012-03-13 David S. Miller <davem@davemloft.net>
42914 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42915 double-precision for the calculation instead of scaling.
42917 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42919 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42920 manipulate bits before adding and subtracting TWO52[sx].
42921 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42922 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42926 2012-03-13 David S. Miller <davem@davemloft.net>
42928 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42929 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42931 rtld-global-offsets.h
42932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42934 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42937 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42939 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42940 'err' in the ifdef scope in which it is actually used.
42942 * nss/nss_db/db-init.c: Include string.h
42944 2012-03-12 David S. Miller <davem@davemloft.net>
42946 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42947 masking out of the most significant byte of random value used.
42948 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42949 Fix coding style in previous change.
42951 * sysdeps/unix/sysv/linux/kernel-features.h
42952 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42953 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42955 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42958 2012-03-11 David S. Miller <davem@davemloft.net>
42960 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42961 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42962 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42963 for 'resultvar' otherwise things get truncated on 64-bit.
42965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42966 Fix masking out of the most significant byte of random value used.
42968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42970 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42974 2012-03-09 David S. Miller <davem@davemloft.net>
42976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42977 variables with appropriate CPP guards.
42978 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42979 from the frame pointer, not the stack pointer. Correct layout
42980 comments. Fix test on resulting framesize and the management of
42981 the outregs buffer for pltexit. Preserve floating point return
42982 values across _dl_call_pltexit call.
42983 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42984 framesize and the management of the outregs buffer for pltexit.
42985 Preserve floating point return values across _dl_call_pltexit
42987 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42988 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42989 (la_sparc64_gnu_pltexit): New functions.
42990 (print_exit): Fix format string for return register value.
42992 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42994 * sunrpc/Makefile (others): Add rpcgen.
42995 ($(objpfx)rpcgen): Remove special build rule and dependency on
42997 * sunrpc/rpcgen.c: New file.
42999 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43002 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43003 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43004 * sysdeps/i386/crti.S: Likewise.
43005 * sysdeps/i386/crtn.S: Likewise.
43006 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43007 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43008 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43009 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43010 * sysdeps/sh/crti.S: Likewise.
43011 * sysdeps/sh/crtn.S: Likewise.
43012 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43015 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43017 * locale/programs/locfile-kw.gperf: Likewise.
43018 * locale/programs/charmap-kw.h: Regenerated.
43019 * locale/programs/locfile-kw.h: Likewise.
43022 * intl/plural.y: Replace FSF snail mail address with URL.
43023 * intl/plural.c: Regenerated.
43025 2012-03-09 Richard Henderson <rth@twiddle.net>
43027 * include/math_private.h: Remove file.
43028 * math/math_private.h: Move file ...
43029 * sysdeps/generic/math_private.h: ... here.
43031 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43032 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43033 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43035 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43036 and <math_private.h>.
43037 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43038 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43039 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43040 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43041 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43042 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43043 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43045 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43046 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43051 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43052 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43054 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43055 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43056 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43058 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43059 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43069 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43070 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43071 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43072 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43073 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43074 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43075 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43076 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43077 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43078 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43079 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43080 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43081 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43082 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43083 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43084 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43085 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43087 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43088 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43089 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43090 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43091 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43093 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43094 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43095 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43096 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43097 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43098 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43099 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43100 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43101 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43105 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43106 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43107 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43108 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43110 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43111 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43117 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43118 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43119 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43120 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43121 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43124 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43130 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43132 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43133 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43134 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43135 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43136 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43137 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43138 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43139 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43140 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43141 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43145 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43146 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43147 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43148 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43149 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43150 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43151 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43152 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43153 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43154 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43155 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43156 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43157 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43158 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43159 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43160 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43161 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43162 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43163 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43164 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43165 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43166 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43167 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43168 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43169 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43170 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43171 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43172 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43173 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43174 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43175 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43176 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43177 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43178 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43179 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43180 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43181 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43182 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43183 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43184 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43185 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43186 * sysdeps/ieee754/k_standard.c: Likewise.
43187 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43191 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43193 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43196 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43199 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43200 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43201 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43203 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43204 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43211 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43227 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43228 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43230 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43231 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43232 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43233 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43234 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43239 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43241 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43243 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43244 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43246 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43248 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43249 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43253 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43260 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43261 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43264 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43265 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43266 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43267 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43274 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43278 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43280 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43291 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43292 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43294 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43300 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43301 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43302 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43303 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43304 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43305 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43306 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43307 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43308 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43309 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43310 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43311 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43312 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43313 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43314 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43315 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43317 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43318 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43319 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43320 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43321 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43322 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43323 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43324 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43325 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43326 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43327 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43328 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43329 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43330 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43331 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43333 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43334 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43335 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43336 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43337 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43338 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43339 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43340 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43341 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43342 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43343 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43344 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43345 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43346 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43347 * sysdeps/ieee754/s_lib_version.c: Likewise.
43348 * sysdeps/ieee754/s_matherr.c: Likewise.
43349 * sysdeps/ieee754/s_signgam.c: Likewise.
43350 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43351 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43352 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43353 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43354 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43355 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43356 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43357 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43358 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43359 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43360 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43361 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43362 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43363 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43364 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43365 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43366 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43367 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43368 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43372 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43374 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43375 * sunrpc/rpc_main.c: Likewise.
43376 * sunrpc/rpc_svcout.c: Likewise.
43378 2012-03-09 David S. Miller <davem@davemloft.net>
43380 * include/math_private.h: New file.
43382 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43384 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43385 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43386 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43387 from <bits/socket_type.h>.
43388 (enum __socket_type): Don't define here.
43389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43391 bits/socket_type.h.
43394 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43395 checking __USE_GNU.
43397 * Makerules ($(inst_includedir)/%.h): New rule.
43398 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43399 (install-others): Remove variable setting.
43400 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43402 2012-03-08 Richard Henderson <rth@twiddle.net>
43404 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43405 from macro to inline function; merge with the
43406 !__LIBC_INTERNAL_MATH_INLINES version.
43407 (__ieee754_sqrtf): Likewise.
43409 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43410 to inline function.
43411 (__rintf, __floor, __floorf): Likewise.
43413 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43414 macro to inline function.
43415 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43418 not <math/math_private.h>.
43420 2012-03-08 David S. Miller <davem@davemloft.net>
43422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43424 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43426 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43428 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43430 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43431 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43433 2012-03-08 Ulrich Drepper <drepper@gmail.com>
43435 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43436 be defined individually, they must be defined as a block. Define
43437 S for printing a string instead of hidint the different by using a
43438 macro for adding the 'l'.
43439 * stdio-common/tst-fphex-wide.c: Adjust.
43441 2012-03-07 Marek Polacek <polacek@redhat.com>
43443 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43445 2012-03-08 Marek Polacek <polacek@redhat.com>
43448 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43449 * stdio-common/tst-fphex.c: Define a few macros to make the
43450 test reusable. Use them.
43451 * stdio-common/tst-fphex-wide.c: New file.
43453 2012-03-08 Joseph Myers <joseph@codesourcery.com>
43456 * manual/macros.texi (gnusystems): New macro.
43457 (nongnusystems): Likewise.
43458 (gnulinuxhurdsystems): Likewise.
43459 (gnuhurdsystems): Likewise..
43460 (gnulinuxsystems): Likewise.
43461 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43462 variants of the GNU system, not "GNU system".
43463 * manual/conf.texi: Likewise.
43464 * manual/errno.texi: Likewise. Update example of errno macro
43466 * manual/filesys.texi: Likewise.
43467 (getumask): Document as specific to GNU/Hurd.
43468 * manual/install.texi: Likewise. Reword some references to
43470 * manual/intro.texi: Likewise.
43471 * manual/io.texi: Likewise.
43472 (File Name Portability): Detail which constraints are inapplicable
43473 to all GNU systems and which are only inapplicable to GNU/Hurd.
43474 * manual/job.texi: Likewise.
43475 * manual/llio.texi: Likewise.
43476 (O_NOCTTY): Document as present on GNU/Linux.
43477 * manual/maint.texi: Likewise.
43478 * manual/memory.texi: Likewise.
43479 * manual/pattern.texi: Likewise.
43480 * manual/pipe.texi: Likewise.
43481 * manual/process.texi: Likewise.
43482 * manual/resource.texi: Likewise.
43483 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43485 * manual/setjmp.texi: Likewise.
43486 * manual/signal.texi: Likewise.
43487 * manual/startup.texi: Likewise.
43488 * manual/stdio.texi: Likewise.
43489 * manual/terminal.texi: Likewise.
43490 (ONLCR): Document as POSIX.
43491 (OXTABS): Document availability on GNU/Linux as XTABS.
43492 (ONOEOT): Document availability separately from other bits.
43493 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43494 * manual/time.texi: Likewise.
43495 * manual/users.texi: Likewise.
43496 * INSTALL: Regenerated.
43497 * sysdeps/gnu/errlist.c: Regenerated.
43499 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43500 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43501 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43503 * configure: Regenerated.
43505 2012-03-07 Joseph Myers <joseph@codesourcery.com>
43507 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43508 default includes instead of AC_HEADER_CHECK.
43509 * sysdeps/i386/configure: Regenerated.
43512 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43513 * math/s_cacoshf.c (__cacoshf): Likewise.
43514 * math/s_cacoshl.c (__cacoshl): Likewise.
43515 * math/s_casinh.c (__casinh): Set signs of result from argument.
43516 * math/s_casinhf.c (__casinhf): Likewise.
43517 * math/s_casinhl.c (__casinhl): Likewise.
43518 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43519 (casinh_test): Add more tests.
43520 * sysdeps/i386/fpu/libm-test-ulps: Update.
43521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43523 2012-03-07 Ulrich Drepper <drepper@gmail.com>
43525 * po/zh_TW.po: Update from translation team.
43527 * login/Makefile (distribute): Remove variable.
43528 * catgets/Makefile: Likewise.
43529 * mach/Makefile: Likewise.
43530 * malloc/Makefile: Likewise.
43531 * misc/Makefile: Likewise.
43532 * iconv/Makefile: Likewise.
43533 * nscd/Makefile: Likewise.
43534 * hurd/Makefile: Likewise.
43535 * manual/Makefile: Likewise.
43536 * locale/Makefile: Likewise.
43537 * intl/Makefile: Likewise.
43538 * conform/Makefile: Likewise.
43539 * nss/Makefile: Likewise.
43540 * time/Makefile: Likewise.
43541 * soft-fp/Makefile: Likewise.
43542 * dirent/Makefile: Likewise.
43543 * gmon/Makefile: Likewise.
43544 * po/Makefile: Likewise.
43545 * rt/Makefile: Likewise.
43546 * socket/Makefile: Likewise.
43547 * math/Makefile: Likewise.
43548 * signal/Makefile: Likewise.
43549 * debug/Makefile: Likewise.
43550 * elf/Makefile: Likewise.
43551 * timezone/Makefile: Likewise.
43552 * stdlib/Makefile: Likewise.
43553 * iconvdata/Makefile: Likewise.
43554 * sunrpc/Makefile: Likewise.
43555 * io/Makefile: Likewise.
43556 * argp/Makefile: Likewise.
43557 * inet/Makefile: Likewise.
43558 * hesiod/Makefile: Likewise.
43559 * grp/Makefile: Likewise.
43560 * csu/Makefile: Likewise.
43561 * wctype/Makefile: Likewise.
43562 * crypt/Makefile: Likewise.
43563 * libio/Makefile: Likewise.
43564 * string/Makefile: Likewise.
43565 * nis/Makefile: Likewise.
43566 * resolv/Makefile: Likewise.
43567 * stdio-common/Makefile: Likewise.
43568 * wcsmbs/Makefile: Likewise.
43569 * dlfcn/Makefile: Likewise.
43570 * posix/Makefile: Likewise.
43573 * timezone/Makefile: Don't install timezone files, just the programs
43576 2012-03-06 Ulrich Drepper <drepper@gmail.com>
43578 * nss/databases.def: Add missing gshadow entry.
43580 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43582 2012-03-06 Marek Polacek <polacek@redhat.com>
43585 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43586 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43587 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43588 * stdio-common/tst-long-dbl-fphex.c: New file.
43590 2012-03-06 David S. Miller <davem@davemloft.net>
43592 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43593 (set_obp_int): New function.
43594 (get_obp_int): New function.
43595 (__get_clockfreq_via_dev_openprom): Likewise.
43596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43597 Avoid unused variable warnings on 'val' and use builtin_expect.
43598 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43600 (INLINE_CLONE_SYSCALL): Likewise.
43602 2012-03-05 David S. Miller <davem@davemloft.net>
43604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43606 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43611 only for |x| >= 40.
43612 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43614 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
43616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43617 Replace gettimeofday with __vdso_gettimeofday.
43619 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43620 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43621 __vdso_clock_gettime and __vdso_getcpu.
43623 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43624 time with __vdso_time.
43626 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43628 * manual/lang.texi (size_t): Note types to which size_t may be
43629 equivalent with the GNU C Library, but do not describe when
43630 differences between them are significant.
43632 2012-03-05 Andreas Jaeger <aj@suse.de>
43634 * sysdeps/i386/fpu/libm-test-ulps: Update.
43636 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43639 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43640 (__ieee754_pow): Save and restore rounding mode and use
43641 round-to-nearest for main computations.
43642 * math/libm-test.inc (pow_test_tonearest): New function.
43643 (pow_test_towardzero): Likewise.
43644 (pow_test_downward): Likewise.
43645 (pow_test_upward): Likewise.
43646 (main): Call the new functions.
43647 * sysdeps/i386/fpu/libm-test-ulps: Update.
43648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43651 * math/libm-test.inc (cosh_test_tonearest): New function.
43652 (cosh_test_towardzero): Likewise.
43653 (cosh_test_downward): Likewise.
43654 (cosh_test_upward): Likewise.
43655 (sinh_test_tonearest): Likewise.
43656 (sinh_test_towardzero): Likewise.
43657 (sinh_test_downward): Likewise.
43658 (sinh_test_upward): Likewise.
43659 (main): Call the new functions.
43660 * sysdeps/i386/fpu/libm-test-ulps: Update.
43661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43663 2012-03-05 Tom de Vries <tom@codesourcery.com>
43665 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43666 default stack guard is set in last bytes.
43667 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43669 2012-03-05 Kees Cook <keescook@chromium.org>
43671 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43674 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43675 possibly allocate from heap instead of stack.
43676 * stdio-common/bug-vfprintf-nargs.c: New file.
43677 * stdio-common/Makefile (tests): Add nargs overflow test.
43679 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43683 2012-03-03 Marek Polacek <polacek@redhat.com>
43685 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43686 * math/math_private.h: Likewise.
43687 * stdlib/tst-strtod.c: Likewise.
43688 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43689 * sysdeps/x86_64/bits/atomic.h: Likewise.
43691 2012-03-02 David S. Miller <davem@davemloft.net>
43693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43697 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43698 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43699 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43700 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43702 2012-03-02 Roland McGrath <roland@hack.frob.com>
43705 * manual/examples/README: New file, says the example source files
43706 can be used under GPL>=2.
43707 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43708 line containing just "*/".
43709 * manual/examples/add.c: Add copyright header (GPL>=2).
43710 * manual/examples/argp-ex1.c: Likewise.
43711 * manual/examples/argp-ex2.c: Likewise.
43712 * manual/examples/argp-ex3.c: Likewise.
43713 * manual/examples/argp-ex4.c: Likewise.
43714 * manual/examples/atexit.c: Likewise.
43715 * manual/examples/db.c: Likewise.
43716 * manual/examples/dir.c: Likewise.
43717 * manual/examples/dir2.c: Likewise.
43718 * manual/examples/execinfo.c: Likewise.
43719 * manual/examples/filecli.c: Likewise.
43720 * manual/examples/filesrv.c: Likewise.
43721 * manual/examples/fmtmsgexpl.c: Likewise.
43722 * manual/examples/genpass.c: Likewise.
43723 * manual/examples/inetcli.c: Likewise.
43724 * manual/examples/inetsrv.c: Likewise.
43725 * manual/examples/isockad.c: Likewise.
43726 * manual/examples/longopt.c: Likewise.
43727 * manual/examples/memopen.c: Likewise.
43728 * manual/examples/memstrm.c: Likewise.
43729 * manual/examples/mkfsock.c: Likewise.
43730 * manual/examples/mkisock.c: Likewise.
43731 * manual/examples/mygetpass.c: Likewise.
43732 * manual/examples/pipe.c: Likewise.
43733 * manual/examples/popen.c: Likewise.
43734 * manual/examples/rprintf.c: Likewise.
43735 * manual/examples/search.c: Likewise.
43736 * manual/examples/select.c: Likewise.
43737 * manual/examples/setjmp.c: Likewise.
43738 * manual/examples/sigh1.c: Likewise.
43739 * manual/examples/sigusr.c: Likewise.
43740 * manual/examples/stpcpy.c: Likewise.
43741 * manual/examples/strdupa.c: Likewise.
43742 * manual/examples/strftim.c: Likewise.
43743 * manual/examples/strncat.c: Likewise.
43744 * manual/examples/subopt.c: Likewise.
43745 * manual/examples/swapcontext.c: Likewise.
43746 * manual/examples/termios.c: Likewise.
43747 * manual/examples/testopt.c: Likewise.
43748 * manual/examples/testpass.c: Likewise.
43749 * manual/examples/timeval_subtract.c: Likewise.
43752 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43754 * manual/timeval_subtract.c.texi: ... here, new file.
43756 2012-03-02 David S. Miller <davem@davemloft.net>
43758 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43760 2012-03-02 Joseph Myers <joseph@codesourcery.com>
43763 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43764 (__sin): Save and restore rounding mode and use round-to-nearest
43765 for all computations.
43766 (__cos): Save and restore rounding mode and use round-to-nearest
43767 for all computations.
43768 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43770 (tan): Save and restore rounding mode and use round-to-nearest for
43772 * math/libm-test.inc (cos_test_tonearest): New function.
43773 (cos_test_towardzero): Likewise.
43774 (cos_test_downward): Likewise.
43775 (cos_test_upward): Likewise.
43776 (sin_test_tonearest): Likewise.
43777 (sin_test_towardzero): Likewise.
43778 (sin_test_downward): Likewise.
43779 (sin_test_upward): Likewise.
43780 (tan_test_tonearest): Likewise.
43781 (tan_test_towardzero): Likewise.
43782 (tan_test_downward): Likewise.
43783 (tan_test_upward): Likewise.
43784 (main): Call the new functions.
43785 * sysdeps/i386/fpu/libm-test-ulps: Update.
43786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43789 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43790 small n, then large n, before computing and testing k+n.
43791 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43796 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43797 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43798 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43799 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43800 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43801 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43802 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43803 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43804 * math/libm-test.inc (scalbn_test): Add more tests.
43805 (scalbln_test): Likewise.
43807 * manual/filesys.texi (mode_t): Describe constraints on size and
43808 signedness, not exact equivalence to a particular type.
43810 (ino64_t): Likewise.
43812 (nlink_t): Likewise.
43813 (blkcnt_t): Likewise.
43814 (blkcnt64_t): Likewise.
43815 * manual/llio.texi (off_t): Likewise.
43818 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43819 (__ieee754_exp): Save and restore rounding mode and use
43820 round-to-nearest for all computations.
43821 * math/libm-test.inc (exp_test_tonearest): New function.
43822 (exp_test_towardzero): Likewise.
43823 (exp_test_downward): Likewise.
43824 (exp_test_upward): Likewise.
43825 (main): Call the new functions.
43826 * sysdeps/i386/fpu/libm-test-ulps: Update.
43827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43829 2012-03-01 Chris Demetriou <cgd@google.com>
43831 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43832 have predictable order.
43834 2012-03-01 David S. Miller <davem@davemloft.net>
43836 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43838 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43839 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43840 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43841 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43843 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43844 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43845 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43847 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43848 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43849 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43850 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43851 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43856 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43857 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43859 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43860 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43861 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43862 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43863 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43866 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43867 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43868 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43869 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43870 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43872 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43873 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43875 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43876 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43877 * sysdeps/sparc/elf/configure: Regenerated.
43879 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43881 * configure.in (AS, LD): Require binutils 2.20 or later.
43882 * configure: Regenerated.
43883 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43884 as required minimum version.
43885 * INSTALL: Regenerated.
43889 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43890 before squaring exponent.
43891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43892 bottom long double and 27 bits of top long double before squaring
43894 * math/libm-test.inc (erfc_test): Add more tests.
43895 * sysdeps/i386/fpu/libm-test-ulps: Update.
43896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43899 2012-03-01 Kai Tietz <ktietz@redhat.com>
43901 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43902 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43903 containing bit-fields.
43904 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43905 * soft-fp/single.h (_FP_UNION_S): Likewise.
43906 * soft-fp/double.h (_FP_UNION_D): Likewise.
43908 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43911 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43912 not include ../strcmp.S.
43913 [USE_AS_STRNCASECMP_L]: Likewise.
43914 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43915 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43916 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43917 (__strncasecmp_l_ia32): Define as alias to
43918 __strncasecmp_l_nonascii.
43921 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43922 * sysdeps/i386/fpu/libm-test-ulps: Update.
43923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43925 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43928 2012-02-29 Jeff Law <law@redhat.com>
43930 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43931 out of bounds read.
43933 2012-02-29 Marek Polacek <polacek@redhat.com>
43936 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43937 * elf/Makefile: Add rules to run tst-unused-dep.out.
43939 2012-02-28 David S. Miller <davem@davemloft.net>
43941 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43942 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43945 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43946 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43948 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43950 * math/libm-test.inc (llround_test): Move one test from
43951 lround_test. Use TEST_f_L in moved test.
43952 (lround_test): Move misplaced test to llround_test. Add testcase
43955 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43957 * sysdeps/x86_64/fpu/e_expf.S: New file.
43958 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43960 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43963 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43964 of remain_len that may cause incomplete multi-byte character and
43966 * posix/bug-regex33.c: New file.
43967 * posix/Makefile (tests): Add bug-regex33.
43969 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43971 * manual/macros.texi: New file.
43972 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43973 * manual/libc.texinfo: Include macros.texi.
43974 * manual/creatute.texi: Likewise.
43975 * manual/install.texi: Likewise.
43976 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43977 @glibcadj{} in references to the GNU C Library.
43978 * manual/charset.texi: Likewise.
43979 * manual/conf.texi: Likewise.
43980 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43981 when not using those macros.
43982 * manual/creature.texi: Likewise.
43983 * manual/crypt.texi: Likewise.
43984 * manual/errno.texi: Likewise.
43985 * manual/filesys.texi: Likewise.
43986 * manual/header.texi: Likewise.
43987 * manual/install.texi: Likewise.
43988 * manual/intro.texi: Likewise.
43989 * manual/io.texi: Likewise.
43990 * manual/job.texi: Likewise.
43991 * manual/lang.texi: Likewise.
43992 * manual/libc.texiinfo: Likewise.
43993 * manual/llio.texi: Likewise.
43994 * manual/locale.texi: Likewise.
43995 * manual/maint.texi: Likewise.
43996 * manual/math.texi: Likewise.
43997 * manual/memory.texi: Likewise.
43998 * manual/message.texi: Likewise.
43999 * manual/nss.texi: Likewise.
44000 * manual/pattern.texi: Likewise.
44001 * manual/process.texi: Likewise.
44002 * manual/resource.texi: Likewise.
44003 * manual/search.texi: Likewise.
44004 * manual/setjmp.texi: Likewise.
44005 * manual/signal.texi: Likewise.
44006 * manual/socket.texi: Likewise.
44007 * manual/startup.texi: Likewise.
44008 * manual/stdio.texi: Likewise.
44009 * manual/string.texi: Likewise.
44010 * manual/sysinfo.texi: Likewise.
44011 * manual/syslog.texi: Likewise.
44012 * manual/terminal.texi: Likewise.
44013 * manual/time.texi: Likewise.
44014 * manual/users.texi: Likewise.
44015 * INSTALL: Regenerated.
44016 * NOTES: Regenerated.
44017 * sysdeps/gnu/errlist.c: Regenerated.
44019 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44021 * include/dirent.h: Include <dirstream.h> before
44024 2012-02-28 David S. Miller <davem@davemloft.net>
44026 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44027 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44028 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44029 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44031 2012-02-27 David S. Miller <davem@davemloft.net>
44033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44035 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44036 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44039 frame pointer instead of stack pointer relative arg slot.
44040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44041 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44042 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44044 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44047 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44049 2012-02-27 David S. Miller <davem@davemloft.net>
44051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44055 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44056 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44057 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44058 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44060 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44062 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44063 later. Allow versions 5-9.
44064 * configure: Regenerated.
44065 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44066 required minimum version and 4.6 as recommended version. Do not
44067 mention bugs in GCC 2.7 and 2.8.
44068 * INSTALL: Regenerated.
44070 2012-02-27 David S. Miller <davem@davemloft.net>
44072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44076 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44077 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44078 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44079 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44081 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44082 manipulate bits before adding and subtracting TWO112[sx].
44083 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44085 2012-02-27 Roland McGrath <roland@hack.frob.com>
44088 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44089 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44090 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44091 being in POSIX, because they are in 1003.1-2008.
44093 * rt/tst-aio.c: Include <fcntl.h>.
44094 * rt/tst-aio7.c: Likewise.
44095 * rt/tst-aio64.c: Likewise.
44097 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44099 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44101 * manual/install.texi (--with-headers): Describe headers as
44102 interface headers, not private headers.
44103 (Specific advice for GNU/Linux systems): Describe use of headers
44104 from "make headers_install", not private headers from older
44106 * INSTALL: Regenerated.
44107 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44109 * sysdeps/unix/sysv/linux/configure: Regenerated.
44111 * manual/llio.texi (fclean): Remove documentation.
44113 * manual/Makefile (libc-texi-generated): New variable. Include
44115 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44116 $(libc-texi-generated), not duplicated list of files.
44117 (version.texi, stamp-version): New rules.
44118 (realclean): Remove $(libc-texi-generated), not individual files
44119 from that list. Do not remove dir-add.texinfo.
44120 * manual/libc.texinfo: Comment out uses of edition numbers and
44121 references to printed manual. Remove last-updated dates.
44122 (EDITION): Comment out.
44124 (VERSION, UPDATED): Remove.
44125 (version.texi): Include.
44127 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44129 * sysdeps/posix/spawni.c: Include <signal.h>.
44130 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44131 * sysdeps/pthread/aio_fsync.c: Likewise.
44133 2012-02-26 Ulrich Drepper <drepper@gmail.com>
44135 * conform/Makefile (tests): Run only when not cross-compiling and
44136 when fast-check is not defined.
44138 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44139 * conform/data/limits.h-data: Fixes for POSIX2008.
44140 * conform/run-conformtest.sh: Run all tests.
44141 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44143 * include/bits/dlfcn.h: Likewise.
44144 * include/langinfo.h: Likewise.
44145 * include/monetary.h: Likewise.
44146 * include/sys/poll.h: Likewise.
44148 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44150 * posix/spawn.h: Define __need_sigset_t.
44151 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44152 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44153 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44154 to get sigevent_t only.
44155 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44156 only for __USE_GNU.
44157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44158 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44159 process_vm_writev only for __USE_GNU.
44160 * termios/termios.h: Declare tcgetsid also for POSIX2008.
44162 * conform/Makefile: For now ignore errors from run-conformtest.
44163 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44164 POSIX to avoid namespace pollution. Don't prepend headers.
44165 * conform/data/aio.h-data: Fixes for POSIX testing.
44166 * conform/data/fcntl.h-data: Likewise.
44167 * conform/data/glob.h-data: Likewise.
44168 * conform/data/grp.h-data: Likewise.
44169 * conform/data/pthread.h-data: Likewise.
44170 * conform/data/pwd.h-data: Likewise.
44171 * conform/data/signal.h-data: Likewise.
44172 * conform/data/spawn.h-data: Likewise.
44173 * conform/data/stdio.h-data: Likewise.
44174 * conform/data/stdlib.h-data: Likewise.
44175 * conform/data/stropts.h-data: Likewise.
44176 * conform/data/sys/mman.h-data: Likewise.
44177 * conform/data/sys/stat.h-data: Likewise.
44178 * conform/data/sys/types.h-data: Likewise.
44179 * conform/data/sys/wait.h-data: Likewise.
44180 * conform/data/time.h-data: Likewise.
44181 * conform/data/unistd.h-data: Likewise.
44182 * conform/data/utime.h-data: Likewise.
44184 * io/sys/stat.h: fchmod was always in POSIX.
44185 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44186 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44187 * rt/aio.h: Define __need_timespec before including <time.h>.
44188 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44189 struct. Add forward declaration of pthread_attr_t and use it in
44191 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44192 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44193 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44194 always remove CLK_TCK definition.
44196 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44198 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44200 2012-02-25 Ulrich Drepper <drepper@gmail.com>
44202 * conform/run-conformtest.sh: New file.
44203 * conform/Makefile: Run run-conformtest for tests.
44204 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44207 * conform/data/uchar.h-data: New file.
44208 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44209 * conform/data/arpa/inet.h-data: Likewise.
44210 * conform/data/assert.h-data: Likewise.
44211 * conform/data/complex.h-data: Likewise.
44212 * conform/data/cpio.h-data: Likewise.
44213 * conform/data/ctype.h-data: Likewise.
44214 * conform/data/dirent.h-data: Likewise.
44215 * conform/data/dlfcn.h-data: Likewise.
44216 * conform/data/errno.h-data: Likewise.
44217 * conform/data/fcntl.h-data: Likewise.
44218 * conform/data/float.h-data: Likewise.
44219 * conform/data/fmtmsg.h-data: Likewise.
44220 * conform/data/fnmatch.h-data: Likewise.
44221 * conform/data/ftw.h-data: Likewise.
44222 * conform/data/glob.h-data: Likewise.
44223 * conform/data/grp.h-data: Likewise.
44224 * conform/data/iconv.h-data: Likewise.
44225 * conform/data/inttypes.h-data: Likewise.
44226 * conform/data/langinfo.h-data: Likewise.
44227 * conform/data/libgen.h-data: Likewise.
44228 * conform/data/limits.h-data: Likewise.
44229 * conform/data/locale.h-data: Likewise.
44230 * conform/data/math.h-data: Likewise.
44231 * conform/data/monetary.h-data: Likewise.
44232 * conform/data/mqueue.h-data: Likewise.
44233 * conform/data/ndbm.h-data: Likewise.
44234 * conform/data/net/if.h-data: Likewise.
44235 * conform/data/netdb.h-data: Likewise.
44236 * conform/data/netinet/in.h-data: Likewise.
44237 * conform/data/nl_types.h-data: Likewise.
44238 * conform/data/poll.h-data: Likewise.
44239 * conform/data/pthread.h-data: Likewise.
44240 * conform/data/pwd.h-data: Likewise.
44241 * conform/data/regex.h-data: Likewise.
44242 * conform/data/sched.h-data: Likewise.
44243 * conform/data/search.h-data: Likewise.
44244 * conform/data/semaphore.h-data: Likewise.
44245 * conform/data/setjmp.h-data: Likewise.
44246 * conform/data/signal.h-data: Likewise.
44247 * conform/data/spawn.h-data: Likewise.
44248 * conform/data/stdarg.h-data: Likewise.
44249 * conform/data/stdio.h-data: Likewise.
44250 * conform/data/stdlib.h-data: Likewise.
44251 * conform/data/string.h-data: Likewise.
44252 * conform/data/strings.h-data: Likewise.
44253 * conform/data/stropts.h-data: Likewise.
44254 * conform/data/sys/ipc.h-data: Likewise.
44255 * conform/data/sys/mman.h-data: Likewise.
44256 * conform/data/sys/msg.h-data: Likewise.
44257 * conform/data/sys/resource.h-data: Likewise.
44258 * conform/data/sys/select.h-data: Likewise.
44259 * conform/data/sys/sem.h-data: Likewise.
44260 * conform/data/sys/shm.h-data: Likewise.
44261 * conform/data/sys/socket.h-data: Likewise.
44262 * conform/data/sys/stat.h-data: Likewise.
44263 * conform/data/sys/statvfs.h-data: Likewise.
44264 * conform/data/sys/time.h-data: Likewise.
44265 * conform/data/sys/timeb.h-data: Likewise.
44266 * conform/data/sys/times.h-data: Likewise.
44267 * conform/data/sys/types.h-data: Likewise.
44268 * conform/data/sys/uio.h-data: Likewise.
44269 * conform/data/sys/un.h-data: Likewise.
44270 * conform/data/sys/utsname.h-data: Likewise.
44271 * conform/data/sys/wait.h-data: Likewise.
44272 * conform/data/syslog.h-data: Likewise.
44273 * conform/data/tar.h-data: Likewise.
44274 * conform/data/termios.h-data: Likewise.
44275 * conform/data/utime.h-data: Likewise.
44276 * conform/data/utmpx.h-data: Likewise.
44277 * conform/data/varargs.h-data: Likewise.
44278 * conform/data/wchar.h-data: Likewise.
44279 * conform/data/wctype.h-data: Likewise.
44280 * conform/data/wordexp.h-data: Likewise.
44282 * include/stropts.h: New file.
44283 * include/uchar.h: New file.
44284 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44285 * include/assert.h: Likewise.
44286 * include/ctype.h: Likewise.
44287 * include/dirent.h: Likewise.
44288 * include/dlfcn.h: Likewise.
44289 * include/fcntl.h: Likewise.
44290 * include/fnmatch.h: Likewise.
44291 * include/glob.h: Likewise.
44292 * include/grp.h: Likewise.
44293 * include/libio.h: Likewise.
44294 * include/locale.h: Likewise.
44295 * include/math.h: Likewise.
44296 * include/net/if.h: Likewise.
44297 * include/netdb.h: Likewise.
44298 * include/netinet/in.h: Likewise.
44299 * include/pthread.h: Likewise.
44300 * include/pwd.h: Likewise.
44301 * include/regex.h: Likewise.
44302 * include/sched.h: Likewise.
44303 * include/search.h: Likewise.
44304 * include/setjmp.h: Likewise.
44305 * include/signal.h: Likewise.
44306 * include/stdio.h: Likewise.
44307 * include/stdlib.h: Likewise.
44308 * include/string.h: Likewise.
44309 * include/sys/cdefs.h: Likewise.
44310 * include/sys/mman.h: Likewise.
44311 * include/sys/msg.h: Likewise.
44312 * include/sys/resource.h: Likewise.
44313 * include/sys/select.h: Likewise.
44314 * include/sys/socket.h: Likewise.
44315 * include/sys/stat.h: Likewise.
44316 * include/sys/statvfs.h: Likewise.
44317 * include/sys/time.h: Likewise.
44318 * include/sys/times.h: Likewise.
44319 * include/sys/uio.h: Likewise.
44320 * include/sys/utsname.h: Likewise.
44321 * include/sys/wait.h: Likewise.
44322 * include/termios.h: Likewise.
44323 * include/time.h: Likewise.
44324 * include/ulimit.h: Likewise.
44325 * include/unistd.h: Likewise.
44326 * include/utime.h: Likewise.
44327 * include/wchar.h: Likewise.
44328 * include/wctype.h: Likewise.
44329 * include/wordexp.h: Likewise.
44331 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44333 * time/time.h: TIME_UTC must be a macro.
44334 Make timespec_get available for ISO C11 only as well.
44336 2012-02-24 Ulrich Drepper <drepper@gmail.com>
44338 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44339 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44341 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44343 * configure.in: Use -o not -a in test for unsupported multi-arch.
44345 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44347 * manual/texinfo.tex: Update to version 2012-01-19.16.
44349 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44351 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44353 2012-02-24 Roland McGrath <roland@hack.frob.com>
44356 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44357 * manual/fdl-1.3.texi: New file.
44358 * manual/fdl-1.1.texi: File removed.
44361 * manual/libc.texinfo (FDL_VERSION): New @set.
44362 Use it for mention of FDL in cover text.
44363 (Documentation License): Use it in @include file name.
44365 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44366 Roland McGrath <roland@hack.frob.com>
44369 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44370 (not LONG_LONG_MAX and LONG_LONG_MIN.
44371 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44372 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44374 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44376 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44380 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44381 manipulate bits before adding and subtracting TWO23[sx].
44382 * math/libm-test.inc (nearbyint_test): Add more tests.
44384 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44387 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44388 bits before adding and subtracting TWO23[sx].
44389 * math/libm-test.inc (rint_test): Add more tests.
44390 (rint_test_tonearest): Likewise.
44391 (rint_test_towardzero): Likewise.
44392 (rint_test_downward): Likewise.
44393 (rint_test_upward: Likewise.
44395 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44398 * include/stdc-predef.h: New file. Extracted from features.h.
44399 * include/features.h: Include stdc-predef.h.
44400 * Makefile (headers): Add stdc-predef.h.
44401 * CONFORMANCE (Compiler limitations): Update.
44403 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44405 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44407 2012-02-21 David S. Miller <davem@davemloft.net>
44409 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44410 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44412 2012-02-20 David S. Miller <davem@davemloft.net>
44414 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44415 using a normal save/restore sequence, rather than allocating a
44416 dummy stack frame just to store a frame pointer and restore.
44417 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44419 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44421 * manual/install.texi: Fix stray word in line-wrapped comment.
44423 2012-02-20 David S. Miller <davem@davemloft.net>
44425 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44426 both binutils and gcc support GOTDATA.
44428 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44429 "rd %pc" in the PIC register setup sequences.
44431 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44432 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44433 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44434 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44435 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44440 (SYSCALL_ERROR_HANDLER): Likewise.
44441 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44442 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44444 (SYSCALL_ERROR_HANDLER): Likewise.
44446 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44447 (HAVE_GCC_GOTDATA): New.
44448 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44449 relocation support in both binutils and gcc.
44450 * sysdeps/sparc/elf/configure: Regenerate.
44452 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44453 * sysdeps/sparc/sparc32/elf/configure: Delete.
44454 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44455 * sysdeps/sparc/sparc64/elf/configure: Delete.
44456 * sysdeps/sparc/elf/configure.in: New file.
44457 * sysdeps/sparc/elf/configure: Generate.
44459 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44460 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44461 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44462 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44463 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44465 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44467 * manual/install.texi: Do not mention specific glibc version
44469 * manual/libc.texinfo (VERSION, UPDATED): Update.
44470 (@copying): Use @copyright{} and range of years.
44472 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44475 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44476 [crti.S not in sysdirs] (generated): Do not append.
44477 [crti.S not in sysdirs] (omit-deps): Likewise.
44478 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44479 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44480 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44481 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44482 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44484 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44485 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44486 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44487 * csu/defs.awk: Remove file.
44488 * sysdeps/generic/initfini.c: Likewise.
44489 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44491 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44494 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44496 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44497 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44498 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44499 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44500 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44501 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44503 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44504 (__EPOLL_PACKED): Define to empty if not defined by
44506 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44510 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44512 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44513 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44514 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44515 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44517 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44521 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44523 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44526 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44527 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44530 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44532 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44533 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44535 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44537 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44538 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44540 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44542 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44545 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44547 * math/w_acos.c: Use non-signaling floating-point comparisons.
44548 * math/w_acosf.c: Likewise.
44549 * math/w_acosh.c: Likewise.
44550 * math/w_acoshf.c: Likewise.
44551 * math/w_acoshl.c: Likewise.
44552 * math/w_acosl.c: Likewise.
44553 * math/w_asin.c: Likewise.
44554 * math/w_asinf.c: Likewise.
44555 * math/w_asinl.c: Likewise.
44556 * math/w_atanh.c: Likewise.
44557 * math/w_atanhf.c: Likewise.
44558 * math/w_atanhl.c: Likewise.
44559 * math/w_exp2.c: Likewise.
44560 * math/w_exp2f.c: Likewise.
44561 * math/w_exp2l.c: Likewise.
44562 * math/w_j0.c: Likewise.
44563 * math/w_j0f.c: Likewise.
44564 * math/w_j0l.c: Likewise.
44565 * math/w_j1.c: Likewise.
44566 * math/w_j1f.c: Likewise.
44567 * math/w_j1l.c: Likewise.
44568 * math/w_jn.c: Likewise.
44569 * math/w_jnf.c: Likewise.
44570 * math/w_log.c: Likewise.
44571 * math/w_log10.c: Likewise.
44572 * math/w_log10f.c: Likewise.
44573 * math/w_log10l.c: Likewise.
44574 * math/w_log2.c: Likewise.
44575 * math/w_log2f.c: Likewise.
44576 * math/w_log2l.c: Likewise.
44577 * math/w_logf.c: Likewise.
44578 * math/w_logl.c: Likewise.
44579 * math/w_sqrt.c: Likewise.
44580 * math/w_sqrtf.c: Likewise.
44581 * math/w_sqrtl.c: Likewise.
44582 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44583 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44584 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44585 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44586 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44588 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44591 * manual/string.texi (strnlen): Use correct parameter name in
44592 equivalent expression.
44594 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44597 * manual/users.texi (seteuid): Consistently use neweuid for
44600 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44603 * manual/nss.texi (Services in the NSS configuration): Correct
44604 list of services in example configuration file.
44606 2012-02-19 Nick Bowler <nbowler@draconx.ca>
44609 * manual/arith.texi: Remove statements about negative zero
44610 behaving identically to zero.
44612 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44615 * manual/install.texi: Do not document upgrading from libc5.
44617 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44620 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44622 2012-02-18 David S. Miller <davem@davemloft.net>
44624 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44625 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44626 %o7 across the call.
44627 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44630 SETUP_PIC_REG_LEAF.
44631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44632 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44633 * sysdeps/sparc/crtn.S: Likewise.
44635 2012-02-17 Ulrich Drepper <drepper@gmail.com>
44637 * aout/Makefile: Remove.
44639 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44642 * manual/examples/argp-ex1.c (main): Format definition in GNU
44644 * manual/examples/argp-ex2.c (main): Likewise.
44645 * manual/examples/argp-ex3.c (main): Likewise.
44646 * manual/examples/argp-ex4.c (main): Likewise.
44647 * manual/examples/longopt.c (main): Use new-style prototype
44649 * manual/examples/strncat.c (main): Specify return type and use
44650 (void) for arguments.
44651 * manual/examples/subopt.c (main): Use char **argv argument.
44653 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44656 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44659 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44662 * manual/string.texi (strchr): Change when strchrnul is
44665 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44668 * manual/locale.texi (setlocale): Document LOCPATH.
44670 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44673 * manual/process.texi (execle): Move @dots{} before last argument.
44675 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
44678 * manual/charset.texi (Generic Charset Conversion): Fix typo
44679 (LC_TYPE -> LC_CTYPE).
44681 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44684 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44685 (scalbnf): Likewise.
44686 (scalbnl): Likewise.
44687 (scalbln): Likewise.
44688 (scalblnf): Likewise.
44689 (scalblnl): Likewise.
44690 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44691 (vwarnx): Likewise.
44694 * manual/filesys.texi (telldir): Use braces around return type.
44695 * manual/llio.texi (mmap): Add space after comma.
44696 (mmap64): Likewise.
44697 * manual/math.texi (jn): Use @var{} on parameter names.
44703 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44705 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44707 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44708 (sched_get_priority_max): Likewise.
44709 * manual/signal.texi (sigvec): Add space after comma.
44710 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44712 (if_indextoname): Likewise.
44713 (if_freenameindex): Likewise.
44714 (sendto): Use ',' instead of '.' in prototype.
44715 * manual/startup.texi (syscall): Use @dots{} instead of literal
44717 * manual/stdio.texi (__fpending): Separate initial words of
44718 paragraph from @deftypefun line.
44719 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44721 (vsyslog): Use @var{} on parameter names.
44722 * manual/terminal.texi (stty): Use @var{} on parameter names.
44723 * manual/users.texi (getutmp): Use @var{} on parameter names.
44724 (getutmpx): Likewise.
44726 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44729 * manual/stdio.texi (fopen): Fix typos in description of
44732 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44735 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44736 get clock_id definition.
44738 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
44741 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44742 (madvise): Cast every argument to void on its own.
44744 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44747 * manual/startup.texi (Exit Status): Fix typo.
44749 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44752 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44753 * manual/examples/argp-ex2.c: Likewise.
44754 * manual/examples/argp-ex3.c: Likewise.
44756 2012-02-16 Richard Henderson <rth@redhat.com>
44758 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44759 * sysdeps/s390/s390-32/initfini.c: Remove.
44760 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44761 * sysdeps/s390/s390-64/initfini.c: Remove.
44763 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44765 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44766 compiler output for sysdeps/generic/initfini.c.
44767 * sysdeps/sh/elf/initfini.c: Remove file.
44769 2012-02-16 David S. Miller <davem@davemloft.net>
44772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44774 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44775 * sysdeps/sparc/crti.S: New file.
44776 * sysdeps/sparc/crtn.S: New file.
44777 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44778 * sysdeps/sparc/sparc64/Makefile: Likewise.
44780 2012-02-15 Mike Frysinger <vapier@gentoo.org>
44783 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44785 2012-02-15 Roland McGrath <roland@hack.frob.com>
44788 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44790 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44791 (write, read, close): Likewise.
44792 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44794 2012-02-15 Joseph Myers <joseph@codesourcery.com>
44796 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44797 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44798 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44799 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44801 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44805 2012-02-14 Marek Polacek <polacek@redhat.com>
44807 * sysdeps/x86_64/crti.S: New file.
44808 * sysdeps/x86_64/crtn.S: New file.
44809 * sysdeps/x86_64/elf/initfini.c: Remove file.
44811 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44813 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44814 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44815 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44816 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44818 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44822 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44824 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44825 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44826 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44827 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44829 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44833 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44835 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44836 __feraiseexcept instead of feraiseexcept.
44838 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44839 nanosleep invocations.
44840 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44841 strings, and add error checking for a nanosleep invocations.
44843 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44845 Replace FSF snail mail address with URLs, as per GNU coding standards.
44846 Most of the snail mail addresses were wrong anyway, and omitting
44847 them makes the source code easier to maintain. Almost all of the
44848 changes are to license notices and to locale LC_IDENTIFICATION
44849 addresses, except for this one:
44850 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44851 not its snail mail address.
44853 2012-02-09 Richard Henderson <rth@twiddle.net>
44855 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44856 of kernel-features.h.
44858 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44860 2012-02-08 Marek Polacek <polacek@redhat.com>
44862 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44863 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44864 * sysdeps/gnu/_G_config.h: Likewise.
44865 * sysdeps/generic/_G_config.h: Likewise.
44867 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44869 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44873 * sysdeps/powerpc/powerpc32/crti.S: New file.
44874 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44875 * sysdeps/powerpc/powerpc64/crti.S: New file.
44876 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44878 * Makeconfig (have-initfini): Don't set.
44879 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44880 * configure.in (nopic_initfini): Don't substitute.
44881 * config.h.in (HAVE_INITFINI): Don't #undef.
44882 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44883 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44885 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44887 Support crti.S and crtn.S provided directly by architectures.
44888 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44889 [crti.S in sysdirs] (omit-deps): Likewise.
44890 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44891 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44892 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44893 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44894 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44895 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44896 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44897 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44898 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44899 compiler output for sysdeps/generic/initfini.c.
44900 * sysdeps/i386/elf/Makefile: Remove file.
44901 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44903 2012-02-07 Marek Polacek <polacek@redhat.com>
44905 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44906 * sysdeps/gnu/_G_config.h: Likewise.
44907 * sysdeps/mach/hurd/_G_config.h: Likewise.
44909 2012-02-07 Marek Polacek <polacek@redhat.com>
44911 * math/Makefile (tests): Add tst-CMPLX2.
44912 * math/tst-CMPLX2.c: New file.
44914 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44916 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44918 * math/libm-test.inc (jn_test): Add missing L suffix.
44920 2012-02-06 Marek Polacek <polacek@redhat.com>
44922 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44923 * sysdeps/i386/fpu/e_powf.S: Likewise.
44924 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44925 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44926 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44927 * sysdeps/i386/fpu/e_pow.S: Likewise.
44928 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44929 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44930 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44931 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44932 * sysdeps/i386/fpu/e_log2.S: Likewise.
44933 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44934 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44935 * sysdeps/i386/fpu/e_powl.S: Likewise.
44936 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44937 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44938 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44939 * sysdeps/i386/fpu/e_logl.S: Likewise.
44940 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44941 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44942 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44943 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44944 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44945 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44946 * sysdeps/i386/fpu/e_log.S: Likewise.
44947 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44948 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44949 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44950 * sysdeps/i386/fpu/e_logf.S: Likewise.
44951 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44952 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44953 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44954 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44955 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44956 * sysdeps/i386/fpu/e_log10.S: Likewise.
44957 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44958 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44959 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44960 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44961 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44962 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44963 * sysdeps/i386/asm-syntax.h: Likewise.
44964 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44965 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44966 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44967 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44968 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44969 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44970 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44971 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44972 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44973 * sysdeps/powerpc/sysdep.h: Likewise.
44974 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44975 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44977 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44980 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44982 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44984 * sysdeps/i386/sysdep.h: Include <features.h>.
44985 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44988 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44990 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44992 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44995 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44997 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44998 (SETUP_PIC_REG): Use GET_PC_THUNK.
44999 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45002 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45004 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45005 for non-PIC compilation.
45006 (SETUP_PIC_REG): Add .p2align directive.
45007 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45008 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45009 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45010 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45012 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45013 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45014 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45015 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45016 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45017 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45018 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45019 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45020 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45021 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45022 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45023 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45024 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45025 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45026 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45029 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45030 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45033 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45035 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45036 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45037 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45038 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45039 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45040 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45041 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45042 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45043 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45044 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45045 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45046 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45047 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45049 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45051 * math/tst-CMPLX.c: Include <stdio.h>.
45053 2012-01-31 Joseph Myers <joseph@codesourcery.com>
45055 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45057 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45058 * sysdeps/sparc/bits/mathdef.h: Likewise.
45060 2012-01-31 Marek Polacek <polacek@redhat.com>
45062 * libio/libio.h: Don't define _PARAMS.
45063 * locale/programs/config.h: Don't define PARAMS.
45064 * stdlib/strtol_l.c: Likewise.
45065 (__strtol_l): Remove PARAMS from the prototype.
45067 2012-01-31 Ulrich Drepper <drepper@gmail.com>
45069 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45070 names. Just use the correct names. Remove unnecessary wrapper
45072 * malloc/arena.c: Likewise.
45073 * malloc/hooks.c: Likewise.
45075 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45076 ARENA_TEST says not to. Simplify test for creation of a new arena.
45077 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45079 2012-01-30 Ulrich Drepper <drepper@gmail.com>
45081 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45083 (update_get_addr): New function.
45084 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45085 GET_ADDR_MODULE parameter.
45087 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45089 * crypt/cert.c: Remove __STDC__ conditionals.
45090 * crypt/crypt-entry.c: Likewise.
45091 * crypt/crypt_util.c: Likewise.
45092 * libio/filedoalloc.c: Likewise.
45093 * libio/fileops.c: Likewise.
45094 * libio/genops.c: Likewise.
45095 * libio/iofclose.c: Likewise.
45096 * libio/iofdopen.c: Likewise.
45097 * libio/iofopen.c: Likewise.
45098 * libio/iofopen64.c: Likewise.
45099 * libio/iogetdelim.c: Likewise.
45100 * libio/iopopen.c: Likewise.
45101 * libio/obprintf.c: Likewise.
45102 * libio/oldfileops.c: Likewise.
45103 * libio/oldiofclose.c: Likewise.
45104 * libio/oldiofdopen.c: Likewise.
45105 * libio/oldiofopen.c: Likewise.
45106 * libio/oldiopopen.c: Likewise.
45107 * libio/wfiledoalloc.c: Likewise.
45108 * libio/wgenops.c: Likewise.
45109 * locale/programs/xmalloc.c: Likewise.
45110 * misc/syslog.c: Likewise.
45111 * stdio-common/xbug.c: Likewise.
45112 * string/memchr.c: Likewise.
45113 * string/memcmp.c: Likewise.
45114 * string/memrchr.c: Likewise.
45115 * string/rawmemchr.c: Likewise.
45116 * sysdeps/posix/getcwd.c: Likewise.
45117 * time/strftime_l.c: Likewise.
45119 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45121 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45122 * config.make.in (config-cflags-sse2avx): Define.
45123 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45126 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45128 * scripts/config.guess: Update from upstream config git repository.
45129 * scripts/config.sub: Likewise.
45131 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45133 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45135 (R_TILEPRO_*, R_TILEGX_*): New macros.
45137 * scripts/firstversions.awk: Fix bug in version range handling.
45139 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45141 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45143 * include/sys/epoll.h: New file.
45144 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45147 2012-01-28 Ulrich Drepper <drepper@gmail.com>
45149 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45150 Avoid unnecessary __WORDSIZE == 64 test.
45151 (fmaxf): Use VEX format if possible.
45156 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45157 * math/math_private.h: Remove libc_fegetround* and
45159 * sysdeps/i386/configure.in: Check for -msse2avx.
45160 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45161 also if SSE2AVX is defined.
45162 Remove libc_fegetround* and libc_fesetround*.
45163 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45164 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45165 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45167 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45168 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45169 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45170 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45171 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45173 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45175 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45177 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45179 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45181 2012-01-27 Ulrich Drepper <drepper@gmail.com>
45184 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45186 * Makeconfig (libm): Define.
45187 * elf/Makefile: Add rules to build and run tst-relsort1.
45188 * elf/tst-relsort1.c: New file.
45189 * elf/tst-relsort1mod1.c: New file.
45190 * elf/tst-relsort1mod2.c: New file.
45192 2012-01-27 Joseph Myers <joseph@codesourcery.com>
45194 * math/s_ldexp.c: Remove __STDC__ conditionals.
45195 * math/s_ldexpf.c: Likewise.
45196 * math/s_ldexpl.c: Likewise.
45197 * math/s_nextafter.c: Likewise.
45198 * math/s_nexttowardf.c: Likewise.
45199 * math/s_significand.c: Likewise.
45200 * math/s_significandf.c: Likewise.
45201 * math/s_significandl.c: Likewise.
45202 * math/w_jnl.c: Likewise.
45203 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45204 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45205 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45206 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45207 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45208 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45209 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45210 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45211 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45212 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45213 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45214 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45215 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45216 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45217 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45218 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45219 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45220 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45221 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45222 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45223 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45224 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45225 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45227 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45228 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45229 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45230 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45231 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45232 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45233 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45234 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45235 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45236 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45237 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45238 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45239 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45240 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45241 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45242 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45243 * sysdeps/ieee754/k_standard.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45245 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45248 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45249 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45251 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45252 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45253 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45254 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45256 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45257 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45263 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45264 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45265 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45266 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45268 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45273 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45274 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45275 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45276 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45279 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45280 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45281 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45282 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45283 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45284 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45286 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45287 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45288 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45289 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45290 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45293 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45294 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45297 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45298 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45299 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45300 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45301 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45303 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45304 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45305 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45306 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45307 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45308 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45309 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45310 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45311 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45312 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45313 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45314 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45316 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45319 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45320 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45321 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45323 * sysdeps/ieee754/s_matherr.c: Likewise.
45324 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45325 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45329 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45331 * crypt/md5.h: Remove __STDC__ conditionals.
45332 * libio/libioP.h: Likewise.
45333 * locale/programs/config.h: Likewise.
45334 * sysdeps/generic/sysdep.h: Likewise.
45335 * sysdeps/i386/asm-syntax.h: Likewise.
45336 * sysdeps/s390/asm-syntax.h: Likewise.
45337 * sysdeps/unix/sysdep.h: Likewise.
45338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45341 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45343 * libio/libio.h: Remove __STDC__ conditionals.
45344 * malloc/obstack.h: Likewise.
45345 * math/complex.h: Likewise.
45346 * math/math.h: Likewise.
45347 * sysdeps/generic/_G_config.h: Likewise.
45348 * sysdeps/gnu/_G_config.h: Likewise.
45349 * sysdeps/mach/hurd/_G_config.h: Likewise.
45350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45351 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45352 * sysdeps/sparc/bits/mathdef.h: Likewise.
45354 2012-01-26 Ulrich Drepper <drepper@gmail.com>
45357 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45358 Clean up HAS_* macros.
45359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45360 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45362 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45364 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45365 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45367 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45368 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45370 2012-01-25 Joseph Myers <joseph@codesourcery.com>
45372 * elf/tst-unique3.cc (gets): Remove declaration.
45373 * elf/tst-unique3lib.cc (gets): Likewise.
45374 * elf/tst-unique3lib2.cc (gets): Likewise.
45375 * elf/tst-unique4.cc (gets): Likewise.
45377 2012-01-24 Ulrich Drepper <drepper@gmail.com>
45379 * include/stdio.h: Add C++ protection. Add gets declarations and
45381 * debug/tst-chk1.c: Don't declare gets here.
45382 * stdio-common/tst-gets.c: Likewise.
45384 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45386 * posix/glob: Remove directory.
45388 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45390 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45392 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45394 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45395 of the non-standard EPFNOSUPPORT.
45397 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45399 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45400 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45401 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45403 2012-01-21 Ulrich Drepper <drepper@gmail.com>
45405 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45407 2012-01-20 Ulrich Drepper <drepper@gmail.com>
45409 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45411 * nscd/grpcache.c (cache_addgr): Likewise.
45412 * nscd/hstcache.c (cache_addhst): Likewise.
45413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45414 * nscd/pwdcache.c (cache_addpw): Likewise.
45415 * nscd/servicescache.c (cache_addserv): Likewise.
45417 2012-01-16 Ulrich Drepper <drepper@gmail.com>
45419 * malloc/malloc.c: Various cleanups.
45420 * malloc/hooks.c: Likewise.
45422 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45423 * stdlib/bug-fmtmsg1.c: New file.
45425 * stdlib/fmtmsg.c (init): Add missing unlock.
45426 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45428 2012-01-12 Marek Polacek <polacek@redhat.com>
45430 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45433 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45435 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45436 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45437 macro to ensure uniqueness of label name.
45438 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45439 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45441 2012-01-11 Ulrich Drepper <drepper@gmail.com>
45443 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45445 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45446 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45447 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45450 2012-01-10 Ulrich Drepper <drepper@gmail.com>
45452 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45454 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45455 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45456 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45458 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45460 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45461 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45462 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45465 * math/bits/math-finite.h: Add ldexp support.
45467 2012-01-10 Marek Polacek <polacek@redhat.com>
45469 * locale/programs/localedef.h (show_archive_content): Add noreturn
45472 2012-01-09 Ulrich Drepper <drepper@gmail.com>
45474 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45476 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45478 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45480 * io/Makefile (headers): Add bits/poll2.h.
45482 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45485 typo #include statement.
45487 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45489 * include/sys/cdefs.h: Define __attribute_alloc_size.
45490 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45491 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45492 * elf/pldd.c: Likewise.
45493 * iconv/iconv_charmap.c: Likewise.
45494 * iconv/iconvconfig.c: Likewise.
45495 * iconv/strtab.c: Likewise.
45496 * locale/programs/locale.c: Likewise.
45497 * locale/programs/localedef.h: Likewise.
45498 * locale/programs/simple-hash.c: Likewise.
45499 * nscd/nscd.h: Likewise.
45500 * nss/makedb.c: Likewise.
45501 * sysdeps/generic/ldconfig.h: Likewise.
45502 * locale/programs/localedef.c: Remove xmalloc prototype.
45503 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45505 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45507 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45510 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45512 * math/Makefile (tests): Add tst-CMPLX.
45513 * math/tst-CMPLX.c: New file.
45515 * math/complex.h (CMPLXL): Fix typo.
45517 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45518 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45520 * debug/tst-chk1.c: Add poll and ppoll tests.
45521 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45522 * include/sys/poll.h: Add hidden proto for ppoll.
45523 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45524 * sysdeps/mach/hurd/ppoll.c: Likewise.
45525 * io/ppoll.c: Likewise.
45526 * debug/poll_chk.c: New file.
45527 * debug/ppoll_chk.c: New file.
45528 * include/bits/poll2.h: New file.
45529 * io/bits/poll2.h: New file.
45532 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45534 * configure.in: static is always set to yes. Remove.
45535 * config.make.in: Don't set build-static.
45536 * Makeconfig: Remove use of build-static.
45537 * dlfcn/Makefile: Likewise.
45538 * elf/Makefile: Likewise.
45539 * math/Makefile: Likewise.
45540 * misc/Makefile: Likewise.
45541 * nptl/Makefile: Likewise.
45542 * sysdeps/mach/hurd/Makefile: Likewise.
45544 * configure.in: PWD_P is not used anymore.
45545 * config.make.in: Remove PWD_P entry.
45547 * configure.in: Remove last remnants of RANLIB.
45548 No need to check for signed size_t anymore.
45549 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45551 Remove __builtin_expect test because we require at least gcc 3.4.
45552 * aclocal.m4: Likewise.
45554 * wcsmbs/mbrtoc16.c: Implement using towc function.
45555 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45556 * wcsmbs/wcsmbsload.c: Likewise.
45557 * iconv/gconv_simple.c: Likewise.
45558 * iconv/gconv_int.h: Likewise.
45559 * iconv/gconv_builtin.h: Likewise.
45560 * iconv/iconv_prog.c: Remove CHAR16 handling.
45562 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45564 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45566 * configure.in: Remove --with-elf and --enable-bounded options.
45567 Dont set base_machine for ia64. More non-ELF conditions removed.
45568 Remove testing and setting of leading underscore information.
45569 * config.make.in (build-bounded): Set to no.
45570 * config.h.in: Remove NO_UNDERSCORES entry.
45571 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45573 * csu/start.c: Remove !NO_UNDERSCORE code.
45574 * locale/localeinfo.h: Likewise.
45575 * sysdeps/generic/machine-gmon.h: Likewise.
45576 * sysdeps/generic/sysdep.h: Likewise.
45577 * sysdeps/i386/sysdep.h: Likewise.
45578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45579 * sysdeps/mach/sysdep.h: Likewise.
45580 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45581 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45582 * sysdeps/sh/sysdep.h: Likewise.
45583 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45584 * sysdeps/unix/i386/sysdep.S: Likewise.
45585 * sysdeps/unix/sparc/start.c: Likewise.
45586 * sysdeps/unix/sparc/sysdep.S: Likewise.
45587 * sysdeps/unix/sparc/sysdep.h: Likewise.
45588 * sysdeps/unix/start.c: Likewise.
45589 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45590 * sysdeps/x86_64/sysdep.h: Likewise.
45592 2012-01-07 Ulrich Drepper <drepper@gmail.com>
45595 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45597 * argp/argp-fmtstream.h: Use const instead __const.
45598 * argp/argp.h: Likewise.
45599 * assert/assert.h: Likewise.
45600 * bits/fenv.h: Likewise.
45601 * bits/sched.h: Likewise.
45602 * bits/sigset.h: Likewise.
45603 * bits/sigthread.h: Likewise.
45604 * catgets/nl_types.h: Likewise.
45605 * conform/data/pthread.h-data: Likewise.
45606 * crypt/crypt-private.h: Likewise.
45607 * crypt/crypt.h: Likewise.
45608 * crypt/crypt_util.c: Likewise.
45609 * ctype/ctype.h: Likewise.
45610 * debug/execinfo.h: Likewise.
45611 * debug/mbsnrtowcs_chk.c: Likewise.
45612 * debug/mbsrtowcs_chk.c: Likewise.
45613 * debug/wcsnrtombs_chk.c: Likewise.
45614 * debug/wcsrtombs_chk.c: Likewise.
45615 * debug/wcstombs_chk.c: Likewise.
45616 * dirent/dirent.h: Likewise.
45617 * dlfcn/dlfcn.h: Likewise.
45618 * elf/neededtest4.c: Likewise.
45619 * grp/grp.h: Likewise.
45620 * gshadow/gshadow.h: Likewise.
45621 * iconv/gconv.h: Likewise.
45622 * iconv/gconv_int.h: Likewise.
45623 * iconv/gconv_simple.c: Likewise.
45624 * iconv/iconv.h: Likewise.
45625 * iconv/loop.c: Likewise.
45626 * iconv/skeleton.c: Likewise.
45627 * include/aio.h: Likewise.
45628 * include/aliases.h: Likewise.
45629 * include/argz.h: Likewise.
45630 * include/arpa/inet.h: Likewise.
45631 * include/assert.h: Likewise.
45632 * include/dirent.h: Likewise.
45633 * include/dlfcn.h: Likewise.
45634 * include/execinfo.h: Likewise.
45635 * include/fcntl.h: Likewise.
45636 * include/fenv.h: Likewise.
45637 * include/glob.h: Likewise.
45638 * include/grp.h: Likewise.
45639 * include/libintl.h: Likewise.
45640 * include/mntent.h: Likewise.
45641 * include/netdb.h: Likewise.
45642 * include/pwd.h: Likewise.
45643 * include/rpc/netdb.h: Likewise.
45644 * include/sched.h: Likewise.
45645 * include/search.h: Likewise.
45646 * include/shadow.h: Likewise.
45647 * include/signal.h: Likewise.
45648 * include/stdio.h: Likewise.
45649 * include/stdlib.h: Likewise.
45650 * include/string.h: Likewise.
45651 * include/sys/socket.h: Likewise.
45652 * include/sys/stat.h: Likewise.
45653 * include/sys/statfs.h: Likewise.
45654 * include/sys/statvfs.h: Likewise.
45655 * include/sys/syslog.h: Likewise.
45656 * include/sys/time.h: Likewise.
45657 * include/sys/uio.h: Likewise.
45658 * include/time.h: Likewise.
45659 * include/unistd.h: Likewise.
45660 * include/utmp.h: Likewise.
45661 * include/wchar.h: Likewise.
45662 * include/wctype.h: Likewise.
45663 * inet/aliases.h: Likewise.
45664 * inet/arpa/inet.h: Likewise.
45665 * inet/netinet/ether.h: Likewise.
45666 * inet/netinet/in.h: Likewise.
45667 * intl/libintl.h: Likewise.
45668 * io/bits/fcntl2.h: Likewise.
45669 * io/fcntl.h: Likewise.
45670 * io/ftw.h: Likewise.
45671 * io/sys/poll.h: Likewise.
45672 * io/sys/stat.h: Likewise.
45673 * io/sys/statfs.h: Likewise.
45674 * io/sys/statvfs.h: Likewise.
45675 * io/utime.h: Likewise.
45676 * libio/bits/stdio.h: Likewise.
45677 * libio/bits/stdio2.h: Likewise.
45678 * libio/libio.h: Likewise.
45679 * libio/libioP.h: Likewise.
45680 * libio/stdio.h: Likewise.
45681 * locale/lc-ctype.c: Likewise.
45682 * locale/locale.h: Likewise.
45683 * login/utmp.h: Likewise.
45684 * malloc/arena.c: Likewise.
45685 * malloc/malloc.c: Likewise.
45686 * malloc/malloc.h: Likewise.
45687 * malloc/mcheck.c: Likewise.
45688 * malloc/mtrace.c: Likewise.
45689 * math/bits/mathcalls.h: Likewise.
45690 * math/fenv.h: Likewise.
45691 * math/math_private.h: Likewise.
45692 * misc/bits/error.h: Likewise.
45693 * misc/bits/syslog.h: Likewise.
45694 * misc/err.h: Likewise.
45695 * misc/error.h: Likewise.
45696 * misc/fstab.h: Likewise.
45697 * misc/mntent.h: Likewise.
45698 * misc/regexp.h: Likewise.
45699 * misc/search.h: Likewise.
45700 * misc/sgtty.h: Likewise.
45701 * misc/sys/mman.h: Likewise.
45702 * misc/sys/syslog.h: Likewise.
45703 * misc/sys/uio.h: Likewise.
45704 * misc/sys/xattr.h: Likewise.
45705 * misc/ttyent.h: Likewise.
45706 * nis/rpcsvc/ypclnt.h: Likewise.
45707 * nss/nss.h: Likewise.
45708 * posix/bits/unistd.h: Likewise.
45709 * posix/fnmatch.h: Likewise.
45710 * posix/glob.h: Likewise.
45711 * posix/sched.h: Likewise.
45712 * posix/spawn.h: Likewise.
45713 * posix/sys/wait.h: Likewise.
45714 * posix/unistd.h: Likewise.
45715 * posix/wordexp.h: Likewise.
45716 * pwd/pwd.h: Likewise.
45717 * resolv/netdb.h: Likewise.
45718 * resource/sys/resource.h: Likewise.
45719 * rt/aio.h: Likewise.
45720 * rt/bits/mqueue2.h: Likewise.
45721 * rt/mqueue.h: Likewise.
45722 * shadow/shadow.h: Likewise.
45723 * signal/signal.h: Likewise.
45724 * socket/send.c: Likewise.
45725 * socket/sendto.c: Likewise.
45726 * socket/sys/socket.h: Likewise.
45727 * stdio-common/printf.h: Likewise.
45728 * stdlib/bits/stdlib.h: Likewise.
45729 * stdlib/fmtmsg.h: Likewise.
45730 * stdlib/monetary.h: Likewise.
45731 * stdlib/stdlib.h: Likewise.
45732 * stdlib/ucontext.h: Likewise.
45733 * streams/stropts.h: Likewise.
45734 * string/argz.h: Likewise.
45735 * string/bits/string2.h: Likewise.
45736 * string/string.h: Likewise.
45737 * string/strings.h: Likewise.
45738 * sunrpc/rpc/auth.h: Likewise.
45739 * sunrpc/rpc/auth_des.h: Likewise.
45740 * sunrpc/rpc/clnt.h: Likewise.
45741 * sunrpc/rpc/netdb.h: Likewise.
45742 * sunrpc/rpc/pmap_clnt.h: Likewise.
45743 * sunrpc/rpc/xdr.h: Likewise.
45744 * sysdeps/generic/inttypes.h: Likewise.
45745 * sysdeps/generic/net/if.h: Likewise.
45746 * sysdeps/generic/sys/swap.h: Likewise.
45747 * sysdeps/gnu/net/if.h: Likewise.
45748 * sysdeps/gnu/utmpx.h: Likewise.
45749 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45750 * sysdeps/i386/i486/bits/string.h: Likewise.
45751 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45752 * sysdeps/s390/bits/string.h: Likewise.
45753 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45754 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45755 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45756 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45757 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45758 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45759 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45760 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45761 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45762 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45763 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45764 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45765 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45766 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45767 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45768 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45769 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45771 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45772 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45774 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45775 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45776 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45777 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45778 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45779 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45781 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45782 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45783 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45784 * sysvipc/sys/ipc.h: Likewise.
45785 * sysvipc/sys/msg.h: Likewise.
45786 * sysvipc/sys/sem.h: Likewise.
45787 * sysvipc/sys/shm.h: Likewise.
45788 * termios/termios.h: Likewise.
45789 * time/sys/time.h: Likewise.
45790 * time/time.h: Likewise.
45791 * wcsmbs/bits/wchar2.h: Likewise.
45792 * wcsmbs/uchar.h: Likewise.
45793 * wcsmbs/wchar.h: Likewise.
45794 * wctype/wctype.h: Likewise.
45797 * Makeconfig: Remove all but ELF support including AIX support.
45798 * Makerules: Likewise.
45799 * config.h.in: Likewise.
45800 * config.make.in: Likewise.
45801 * configure: Likewise.
45802 * configure.in: Likewise.
45803 * csu/Makefile: Likewise.
45804 * csu/version.c: Likewise.
45805 * debug/Makefile: Likewise.
45806 * dlfcn/Makefile: Likewise.
45807 * elf/Makefile: Likewise.
45808 * extra-lib.mk: Likewise.
45809 * iconv/Makefile: Likewise.
45810 * include/libc-symbols.h: Likewise.
45811 * include/shlib-compat.h: Likewise.
45812 * resolv/Makefile: Likewise.
45813 * resolv/res_libc.c: Likewise.
45814 * rt/Makefile: Likewise.
45815 * sysdeps/i386/asm-syntax.h: Likewise.
45816 * sysdeps/i386/sysdep.h: Likewise.
45817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45818 * sysdeps/mach/sysdep.h: Likewise.
45819 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45820 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45821 * sysdeps/s390/asm-syntax.h: Likewise.
45822 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45823 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45824 * sysdeps/sh/sysdep.h: Likewise.
45825 * sysdeps/unix/sparc/sysdep.h: Likewise.
45826 * sysdeps/wordsize-32/divdi3.c: Likewise.
45827 * sysdeps/x86_64/sysdep.h: Likewise.
45829 * argp/Versions: Remove _argp_unlock_xxx.
45832 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45833 * abilist/libBrokenLocale.abilist: Likewise.
45834 * abilist/libanl.abilist: Likewise.
45835 * abilist/libc.abilist: Likewise.
45836 * abilist/libcrypt.abilist: Likewise.
45837 * abilist/libdl.abilist: Likewise.
45838 * abilist/libm.abilist: Likewise.
45839 * abilist/libnsl.abilist: Likewise.
45840 * abilist/libpthread.abilist: Likewise.
45841 * abilist/libresolv.abilist: Likewise.
45842 * abilist/librt.abilist: Likewise.
45843 * abilist/libthread_db.abilist: Likewise.
45844 * abilist/libutil.abilist: Likewise.
45845 * abilist/libnss_db.abilist: New file.
45847 * scripts/abilist.awk: Add support for indirect functions.
45849 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45851 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45853 * shlib-versions: Remove entries for ports architectures.
45855 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45857 * elf/stackguard-macros.h: Remove support for IA-64.
45858 * elf/tst-auditmod1.c: Likewise.
45859 * sysdeps/generic/ldsodefs.h: Likewise.
45861 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45862 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45866 * configure.in: Remove --enable-omitfp support.
45868 * config.make.in: Likewise.
45869 * Makeconfig: Likewise.
45870 * manual/install.texi: Likewise.
45872 In case anyone cares, the IA-64 architecture could move to ports.
45873 * sysdeps/ia64/*: Removed.
45874 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45875 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45878 * configure.in: Remove entries for unsupported architectures.
45881 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45882 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45884 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45885 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45886 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45887 fall back to using wcrtomb.
45888 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45889 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45891 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45892 * wcsmbs/tst-c16c32-1.c: New file.
45894 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45897 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45899 * elf/tst-unique3.cc: Add explicit declaration of gets.
45900 * elf/tst-unique3lib.cc: Likewise.
45901 * elf/tst-unique3lib2.cc: Likewise.
45902 * elf/tst-unique4.cc: Likewise.
45904 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45906 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45909 * assert/assert.h (static_assert): Don't define for C++.
45910 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45911 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45913 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45915 * iconv/loop.c (single loop): Fix assertion in storing of
45918 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45920 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45922 * posix/getconf.c: Update copyright year.
45923 * nss/getent.c: Likewise.
45924 * nss/makedb.c: Likewise.
45925 * iconv/iconvconfig.c: Likewise.
45926 * iconv/iconv_prog.c: Likewise.
45927 * elf/ldconfig.c: Likewise.
45928 * elf/pldd.c: Likewise.
45929 * elf/sotruss.ksh: Likewise.
45930 * catgets/gencat.c: Likewise.
45931 * csu/version.c: Likewise.
45932 * elf/ldd.bash.in: Likewise.
45933 * elf/sprof.c (print_version): Likewise.
45934 * locale/programs/locale.c: Likewise.
45935 * locale/programs/localedef.c: Likewise.
45936 * login/programs/pt_chown.c: Likewise.
45937 * nscd/nscd.c (print_version): Likewise.
45938 * debug/xtrace.sh: Likewise.
45939 * malloc/memusage.sh: Likewise.
45940 * malloc/mtrace.pl: Likewise.
45941 * debug/catchsegv.sh: Likewise.
45943 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45945 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45948 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45951 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45952 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45954 * iconv/gconv_int.h: Likewise.
45955 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45956 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45957 from libc for GLIBC_2.16.
45958 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45959 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45960 * wcsmbs/uchar.h: Really define mbstate_t.
45961 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45962 * wcsmbs/c16rtomb.c: New file.
45963 * wcsmbs/mbrtoc16.c: New file.
45964 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45965 for C/POSIX locale.
45966 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45967 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45969 * wcsmbs/wchar.h: Add missing __restrict.
45971 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45974 * time/Makefile (routines): Add timespec_get.
45975 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45976 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45977 timespec for ISO C11.
45978 * time/timespec_get.c: New file.
45979 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45980 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45983 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45984 * stdlib/stdlib.h: Declare aligned_alloc.
45985 * Versions.def: Add GLIBC_2.16 for libc.
45986 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45989 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45992 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45996 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45999 * assert/assert.h (static_assert): Define.
46001 * version.h: Update for 2.16 development version.
46004 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46007 * version.h (RELEASE): Bump for 2.15 release.
46008 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46010 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46011 Patch by Marek Polacek <mpolacek@redhat.com>.
46013 * bits/byteswap.h: Protect long long constants with __extension__.
46014 * sysdeps/i386/bits/byteswap.h: Likewise.
46015 * sysdeps/ia64/bits/byteswap.h: Likewise.
46016 * sysdeps/s390/bits/byteswap.h: Likewise.
46017 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46019 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46022 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46023 destination buffer.
46024 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46026 2011-12-23 Marek Polacek <polacek@redhat.com>
46028 * elf/dl-addr.c (determine_info): Add inline keyword.
46029 * elf/tst-auditmod4b.c (check_avx): Likewise.
46030 * elf/tst-auditmod6b.c (check_avx): Likewise.
46031 * elf/tst-auditmod6c.c (check_avx): Likewise.
46032 * elf/tst-auditmod7b.c (check_avx): Likewise.
46034 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46036 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46039 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46042 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46043 processing for last bytes.
46045 2011-08-06 Bruno Haible <bruno@clisp.org>
46048 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46049 U+0385, not to U+1FEE.
46052 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46053 entry for U+00A5 U+0301.
46055 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46058 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46059 buffer for the output is too small.
46061 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46065 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46066 SSE flags if possible.
46068 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46072 processing for last bytes.
46074 2011-12-22 Joseph Myers <joseph@codesourcery.com>
46076 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46077 (syscall-list-default-options, syscall-list-default-condition)
46078 (syscall-list-includes): Define.
46079 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46080 list of ABIs and options and #if conditions for each ABI. Do not
46081 handle common syscalls between ABIs specially.
46082 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46084 (syscall-list-variants, syscall-list-32bit-options)
46085 (syscall-list-32bit-condition, syscall-list-64bit-options)
46086 (syscall-list-64bit-condition): Define.
46087 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46088 (syscall-list-variants, syscall-list-32bit-options)
46089 (syscall-list-32bit-condition, syscall-list-64bit-options)
46090 (syscall-list-64bit-condition): Define.
46091 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46093 (syscall-list-variants, syscall-list-32bit-options)
46094 (syscall-list-32bit-condition, syscall-list-64bit-options)
46095 (syscall-list-64bit-condition): Define.
46096 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46098 (syscall-list-variants, syscall-list-32bit-options)
46099 (syscall-list-32bit-condition, syscall-list-64bit-options)
46100 (syscall-list-64bit-condition): Define.
46102 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46104 * locale/iso-639.def: Add brx entry.
46107 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46108 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46110 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46111 __feraiseexcept_renamed.
46113 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46116 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46117 EPOLLET with unsigned values.
46118 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46119 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46121 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46122 to large cancellation.
46123 * math/s_cacoshf.c: Likewise.
46124 * math/s_cacoshl.c: Likewise.
46126 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46130 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46131 * math/s_cacoshf.c: Likewise.
46132 * math/s_cacoshl.c: Likewise.
46134 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46137 * iconv/gconv.h: Define __GCONV_SWAP.
46138 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46139 * iconvdata/utf-16.c: Likewise.
46140 * iconvdata/utf-32.c: Likewise.
46142 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46146 numerator after shifting it by one limb.
46148 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46150 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46151 under [__USE_EXTERN_INLINES].
46153 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46156 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46158 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46160 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46161 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46163 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46164 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46165 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46166 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46167 for strncasecmp/strncasecmp_l compilation.
46168 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46169 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46171 2011-12-08 Marek Polacek <mpolacek@redhat.com>
46174 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46177 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46180 * time/tzfile.c (__tzfile_read): Check values from file header.
46182 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46184 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46185 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46186 * powerpc/powerpc32/dl-start.S: Likewise.
46187 * powerpc/powerpc32/elf/start.S: Likewise.
46188 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46189 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46190 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46191 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46192 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46193 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46194 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46195 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46196 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46197 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46198 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46199 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46200 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46201 * powerpc/powerpc32/memset.S: Likewise.
46202 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46203 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46204 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46205 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46206 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46207 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46208 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46209 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46210 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46211 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46212 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46213 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46214 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46216 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46218 * math/libm-test.inc: Added more nearbyint tests.
46219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46220 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46224 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46226 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46229 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46231 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46232 Add wcscpy-ssse3 wcscpy-c.
46233 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46234 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46235 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46236 * sysdeps/x86_64/wcschr.S: New file.
46237 * sysdeps/x86_64/wcsrchr.S: New file.
46238 * string/test-strcmp.c: Remove checking of wcscmp function for
46240 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46241 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46242 wcsrchr-sse2 wcsrchr-c.
46243 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46244 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46245 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46246 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46247 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46248 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46249 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46250 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46251 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46252 * wcsmbc/wcschr.c (WCSCHR): New macro.
46254 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46256 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46257 * wcsmbs/test-wcsrchr.c: New file.
46258 * string/test-strrchr.c: Add wcsrchr support.
46260 * wcsmbs/test-wcscpy.c: New file.
46261 * string/test-strcpy.c: Add wcscpy support.
46264 2011-12-10 Ulrich Drepper <drepper@gmail.com>
46266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46269 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46272 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46274 2011-12-04 Ulrich Drepper <drepper@gmail.com>
46276 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46277 Minor optimizations.
46279 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46280 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46281 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46283 2011-12-03 Ulrich Drepper <drepper@gmail.com>
46285 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46286 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46287 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46288 for gcc to avoid warnings.
46289 * inet/Makefile (tests): Add tst-checks.
46290 * inet/tst-checks.c: New file.
46292 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46295 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46298 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46299 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46301 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46303 2011-12-02 Ulrich Drepper <drepper@gmail.com>
46305 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46308 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46310 2011-11-29 Joseph Myers <joseph@codesourcery.com>
46312 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46313 conditional on GCC version.
46314 (__arch_compare_and_exchange_val_8_acq)
46315 (__arch_compare_and_exchange_val_16_acq)
46316 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46317 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46318 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46320 2011-12-02 Joseph Myers <joseph@codesourcery.com>
46322 * sysdeps/sh/backtrace.c: New file.
46324 2011-12-02 Andreas Schwab <schwab@redhat.com>
46326 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46329 2011-12-01 Andreas Schwab <schwab@redhat.com>
46331 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46332 falling back to utime.
46334 2011-11-30 Andreas Schwab <schwab@redhat.com>
46336 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46337 expectations for float.
46339 2011-11-29 Andreas Schwab <schwab@redhat.com>
46341 * locale/weight.h (findidx): Add parameter len.
46342 * locale/weightwc.h (findidx): Likewise.
46343 * posix/fnmatch_loop.c (FCT): Adjust caller.
46344 * posix/regcomp.c (build_equiv_class): Likewise.
46345 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46346 * posix/regexec.c (check_node_accept_bytes): Likewise.
46347 * string/strcoll_l.c (STRCOLL): Likewise.
46348 * string/strxfrm_l.c (STRXFRM): Likewise.
46350 2011-11-17 Ulrich Drepper <drepper@gmail.com>
46352 * Makefile.in: Remove CVSOPT handling.
46353 * configure.in: Remove use of AC_REVISION.
46354 * iconvdata/Makefile (distribute): No need to filter out CVS.
46355 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46358 2011-11-16 Andreas Schwab <schwab@redhat.com>
46360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46361 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46362 [USE_AS_STRNCASECMP_L]: Likewise.
46363 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46364 NO_TLS_DIRECT_SEG_REFS.
46365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46366 Fix argument offsets for non-PIC.
46367 [USE_AS_STRNCASECMP_L]: Likewise.
46368 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46369 NO_TLS_DIRECT_SEG_REFS.
46371 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46373 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46375 * locale/loadlocale.c (_nl_load_locale): Likewise.
46377 2011-11-15 Andreas Schwab <schwab@redhat.com>
46379 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46380 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46381 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46382 (SYSCALL_GETTIME): Set errno on error.
46384 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46385 count references to noai6ai_cached.
46387 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46389 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46391 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46392 FD_CLOEXEC for /proc/self/maps.
46394 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46395 FD_CLOEXEC for /proc/meminfo.
46397 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46400 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46401 FD_CLOEXEC for given file.
46403 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46405 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46406 FD_CLOEXEC for /etc/hosts.
46407 (_gethtent): Likewise.
46409 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46411 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46412 cancellation and set FD_CLOEXEC for /etc/netgroup.
46414 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46415 reading /etc/publickey.
46417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46418 allow cancellation when reading /etc/group.
46420 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46422 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46424 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46425 when using data file.
46427 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46429 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46430 (write_nis_obj): Use "c" and "e" in fopen.
46432 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46434 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46436 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46438 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46440 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46443 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46445 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46447 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46449 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46450 file parsing and set FD_CLOEXEC.
46452 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46454 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46456 2011-11-14 Andreas Schwab <schwab@redhat.com>
46458 * malloc/arena.c (arena_get2): Don't call reused_arena when
46459 _int_new_arena failed.
46461 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46463 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46464 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46467 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46468 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46469 to compile strcasecmp and strncasecmp.
46470 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46471 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46475 2011-11-13 Ulrich Drepper <drepper@gmail.com>
46477 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46478 locale-defines.sym to gen-as-const-headers.
46479 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46480 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46482 to compile strcasecmp and strncasecmp.
46483 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46484 strcasecmp_l and strncasecmp_l.
46485 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46486 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46487 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46488 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46489 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46490 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46491 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46492 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46493 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46494 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46495 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46497 2011-11-12 Ulrich Drepper <drepper@gmail.com>
46499 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46500 result of SYSDEP_GETTIME_CPU to retval.
46501 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46502 parameter list to macro. Remove trailing semicolon. Adjust users.
46504 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46507 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46509 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46511 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46512 from unused variable.
46514 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46516 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46519 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46522 * sunrpc/rpc_prot.c (rejected): Fix case value.
46524 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46525 unsigned long long int to avoid warnings in shift.
46527 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46529 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46532 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46533 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46534 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46536 * nis/nis_table.c (nis_list): Use variable of correct type for
46537 result of __follow_path call.
46539 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46541 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46542 of math functions ceil, trunc, floor, round, and sqrt, when
46543 avaliable on the platform.
46544 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46546 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46547 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46548 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46550 2011-10-30 Marek Polacek <mpolacek@redhat.com>
46552 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46553 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46555 2011-11-11 Roland McGrath <roland@hack.frob.com>
46557 * include/unistd.h: Fix __readlink return type.
46558 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46560 2011-11-11 Ulrich Drepper <drepper@gmail.com>
46562 * stdlib/ucontext.h: Undo last change for makecontext.
46564 2011-11-11 Andreas Schwab <schwab@redhat.com>
46566 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46568 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46569 * setjmp/setjmp.h: Mark functions as non-leaf.
46570 * setjmp/bits/setjmp2.h: Likewise.
46571 * stdlib/ucontext.h: Likewise.
46573 2011-11-10 Andreas Schwab <schwab@redhat.com>
46575 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46576 (reused_arena): Don't check arena limit.
46577 (arena_get2): Atomically check arena limit.
46579 2011-11-08 Ulrich Drepper <drepper@gmail.com>
46581 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46582 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46587 2011-11-07 Andreas Schwab <schwab@redhat.com>
46589 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46590 handler when locking.
46592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46593 Fix size of allocated buffer.
46595 2011-11-04 Andreas Schwab <schwab@redhat.com>
46598 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46599 declarations for long double functions.
46600 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46602 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46604 2011-11-03 Andreas Schwab <schwab@redhat.com>
46606 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46609 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46612 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46614 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46616 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46618 * include/alloca.h (stackinfo_alloca_round): Define.
46619 (extend_alloca): Use it.
46620 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46621 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46624 * scripts/check-local-headers.sh: Ignore libaudit.h.
46626 * nscd/Makefile (extra-objs): Make recursively expanded.
46628 2011-11-01 Ulrich Drepper <drepper@gmail.com>
46630 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46631 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46633 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46634 * posix/tst-rfc3484-2.c: Likewise.
46635 * posix/tst-rfc3484-3.c: Likewise.
46637 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46639 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46641 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46642 process_vm_writev from libc using GLIBC_2.15 version.
46644 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46646 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46648 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46651 2011-10-31 Ulrich Drepper <drepper@gmail.com>
46654 * nss/getent.c (initgroups_keys): Show error message in case no group
46657 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46658 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46659 __bump_nl_timestamp.
46660 * nscd/connections (nscd_init): When host database is served open
46661 netlink socket and request notification about configuration changes.
46662 (main_loop_poll): Track netlink file descriptor and bump timestamp
46663 in case data becomes available.
46664 (main_loop_epoll): Likewise.
46665 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46666 (database_pers_head): Add extra_data fileds.
46667 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46668 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46669 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46671 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46672 in6ai data, call __free_in6ai.
46673 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46674 Add -DHAVE_NETLINK.
46675 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46676 interface information. Reuse previous data if netlink timestamp
46678 (__bump_nl_timestamp): New function.
46679 (__free_in6ai): New function.
46681 2011-10-30 Ulrich Drepper <drepper@gmail.com>
46683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46684 close_not_cancel_no_status here.
46685 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46687 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46690 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46693 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46694 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46695 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46697 2011-07-03 Andreas Jaeger <aj@suse.de>
46700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46701 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46702 * math/libm-test.inc (sin_test): Add test case.
46704 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46707 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46708 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46710 * elf/chroot_canon.c (chroot_canon): Cleanups.
46712 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46715 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46716 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46718 * string/test-strchr.c: Make usable for strchrnul testing.
46719 * string/test-strchrnul.c: New file.
46720 * string/Makefile (strop-tests): Add strchrnul.
46722 * po/it.po: Update from translation team.
46723 * po/es.po: Likewise.
46725 2011-10-28 Ulrich Drepper <drepper@gmail.com>
46727 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46728 the three constants needed as parameters. Drop the others.
46729 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46730 __m128i_strloadu_tolower.
46731 Create and initialize variable zero and use it in all the places
46732 where _mm_setzero_si128 was used.
46734 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46735 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46736 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46737 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46739 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46740 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46741 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46742 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46743 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46744 __mpranred, __mptan.
46745 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46746 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46747 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46748 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46749 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46750 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46752 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46753 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46755 2011-10-28 Andreas Schwab <schwab@redhat.com>
46757 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46758 redefine if SHARED.
46759 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46762 wide char related routines to wcsmbs subdir.
46764 2011-10-27 Andreas Schwab <schwab@redhat.com>
46767 * misc/sys/cdefs.h (__THROWNL): Define.
46768 * posix/unistd.h: Use __THREADNL instead of __THREAD
46769 for memory synchronization functions.
46771 2011-10-26 Roland McGrath <roland@hack.frob.com>
46774 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46776 * manual/stdio.texi (Obstack Streams): Node removed.
46778 2011-10-26 Andreas Schwab <schwab@redhat.com>
46780 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46784 * math/math_private.h (math_force_eval): Allow non-addressable
46786 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46788 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46790 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46791 file is not needed.
46793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46794 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46800 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46802 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46803 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46804 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46805 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46806 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46807 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46808 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46809 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46810 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46811 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46812 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46813 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46815 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46816 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46817 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46818 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46819 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46820 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46822 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46823 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46826 place. Use VEX encoding when compiling for AVX.
46828 2011-10-25 Andreas Schwab <schwab@redhat.com>
46830 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46831 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46833 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46835 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46837 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46838 useless if() expression.
46839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46840 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46841 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46843 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46845 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46847 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46849 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46851 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46852 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46853 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46854 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46855 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46857 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46859 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46861 2011-10-25 Andreas Schwab <schwab@redhat.com>
46863 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46865 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46867 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46869 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46870 .text section. Avoid duplicate constants.
46871 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46873 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46875 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46878 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46879 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46880 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46881 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46882 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46883 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46884 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46885 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46886 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46887 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46888 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46889 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46891 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46892 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46893 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46894 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46895 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46896 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46897 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46898 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46899 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46900 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46901 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46904 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46905 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46906 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46907 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46909 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46910 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46912 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46913 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46914 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46915 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46917 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46919 * sysdeps/x86_64/dla.h: Move to ...
46920 * sysdeps/x86_64/fpu/dla.h: ...here.
46921 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46922 situations. Use __builtin_fma only for gcc 4.6 and up.
46924 * config.make.in: Add have-mfma4 entry.
46925 * configure.in: Substitute libc_cv_cc_fma4.
46926 * math/Makefile (dbl-only-routines): Add sincostab.
46927 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46928 Use __sincostab not sincos.
46929 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46931 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46936 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46937 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46938 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46939 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46941 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46942 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46944 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46945 define aliases when function name is a macro.
46946 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46947 sysdeps/ieee754/dbl-64/sincos.tbl.
46948 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46949 fma4-enabled routines.
46950 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46951 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46952 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46953 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46954 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46955 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46956 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46957 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46958 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46960 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46961 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46962 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46963 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46964 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46965 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46966 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46967 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46968 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46969 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46970 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46971 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46972 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46975 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46976 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46977 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46978 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46979 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46981 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46992 2011-10-24 Andreas Schwab <schwab@redhat.com>
46994 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46996 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46998 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47000 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47002 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47004 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47005 Remove unused variable magic_bits.
47006 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47008 * string/strnlen.c: Define and use STRNLEN macro.
47009 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47010 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47011 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47012 * wcsmbs/wcslen.c: Define and use WCSLEN.
47013 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47014 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47015 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47016 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47017 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47018 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47019 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47021 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47024 strnlen-sse2-no-bsf.
47025 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47026 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47027 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47028 Add strnlen support.
47029 (USE_AS_STRNLEN): New macro.
47030 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47031 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47032 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47033 * sysdeps/x86_64/wcslen.S: New file.
47035 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47038 XMM-moves are used for copying on small sizes.
47040 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47042 * wcsmbs/Makefile (strop-tests): Add wcschr.
47043 * wcsmbs/test-wcschr.c: New file.
47044 * string/test-strchr.c: Update.
47045 Add wcschr support.
47048 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47050 * wcsmbs/Makefile (strop-tests): Add wcslen.
47051 * wcsmbs/test-wcslen.c: New file.
47052 * string/test-strlen.c: Update.
47053 Add wcslen support.
47056 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47058 * po/it.po: Update from translation team.
47060 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47062 * sysdeps/x86_64/wcscmp.S: Update.
47063 Fix wrong comparison semantics.
47064 wcscmp shall use signed comparison not unsigned.
47065 Don't use substraction to avoid overflow bug.
47066 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47067 * wcsmbc/wcscmp.c: Likewise.
47068 * string/test-strcmp.c: Likewise.
47069 Add new tests to check cases with negative values.
47071 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47073 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47074 * sysdeps/x86_64/dla.h: ...here. New file.
47075 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47085 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47088 __ynl_finite aliases.
47090 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47094 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47096 [DLA_FMA] (EMULV): Use DLA_FMA.
47097 [DLA_FMA] (MUL12): Use EMULV.
47098 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47099 that are not needed.
47100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47106 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47108 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47110 * math/s_nan.c: Undef __nan.
47111 * math/s_nanf.c: Undef __nanf.
47112 * math/s_nanl.c: Undef __nanl.
47113 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47116 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47118 * math/s_catan.c: Add branch predictions.
47119 * math/s_catanf.c: Likewise.
47120 * math/s_catanh.c: Likewise.
47121 * math/s_catanhf.c: Likewise.
47122 * math/s_catanhl.c: Likewise.
47123 * math/s_catanl.c: Likewise.
47124 * math/s_cexp.c: Likewise.
47125 * math/s_cexpf.c: Likewise.
47126 * math/s_cexpl.c: Likewise.
47127 * math/s_clog.c: Likewise.
47128 * math/s_clog10.c: Likewise.
47129 * math/s_clog10f.c: Likewise.
47130 * math/s_clog10l.c: Likewise.
47131 * math/s_clogf.c: Likewise.
47132 * math/s_clogl.c: Likewise.
47133 * math/s_csqrt.c: Likewise.
47134 * math/s_csqrtf.c: Likewise.
47135 * math/s_csqrtl.c: Likewise.
47136 * math/s_ctanf.c: Likewise.
47137 * math/s_ctanh.c: Likewise.
47138 * math/s_ctanhf.c: Likewise.
47139 * math/s_ctanhl.c: Likewise.
47140 * math/s_ctanl.c: Likewise.
47142 * math/math_private.h: Define __nan, __nanf, __nanl.
47143 * math/s_cacosh.c: Include <math_private.h>.
47144 * math/s_cacoshl.c: Likewise.
47145 * math/s_casinh.c: Likewise.
47146 * math/s_casinhf.c: Likewise.
47147 * math/s_casinhl.c: Likewise.
47148 * math/s_ccos.c: Rely entire on ccosh.
47149 * math/s_ccosf.c: Rely entire on ccoshf.
47150 * math/s_ccosl.c: Rely entirely on ccoshl.
47151 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47152 Remove tests for FE_INVALID.
47153 * math/s_ccoshf.c: Likewise.
47154 * math/s_ccoshl.c: Likewise.
47155 * math/s_csin.c: Likewise.
47156 * math/s_csinf.c: Likewise.
47157 * math/s_csinh.c Likewise.
47158 * math/s_csinhf.c: Likewise.
47159 * math/s_csinhl.c: Likewise.
47160 * math/s_csinl.c: Likewise.
47161 * math/s_ctan.c: Likewise.
47162 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47163 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47164 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47166 2011-10-21 Ulrich Drepper <drepper@gmail.com>
47168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47169 compilation problems.
47171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47174 2011-10-20 Ulrich Drepper <drepper@gmail.com>
47176 * sysdeps/i386/configure.in: Test for -mfma4 option.
47177 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47178 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47179 COMMON_CPUID_INDEX_80000001.
47180 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47181 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47182 use it if FMA3 is not supported.
47183 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47185 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47186 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47188 2011-10-20 Andreas Schwab <schwab@redhat.com>
47191 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47192 it would create a cycle with a link time dependency.
47194 2011-10-19 Ulrich Drepper <drepper@gmail.com>
47196 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47198 * string/Makefile (strop-tests): Add rawmemchr.
47199 * string/test-rawmemchr.c: New file.
47201 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47203 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47204 when compiling str{,n}casecmp and when AVX is available. Hook up
47205 new optimized code in initializers.
47207 2011-10-19 Andreas Schwab <schwab@redhat.com>
47209 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47210 __feraiseexcept instead of feraiseexcept.
47212 2011-10-18 Ulrich Drepper <drepper@gmail.com>
47214 * math/math_private.h: Define defaults for libc_fetestexcept and
47216 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47217 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47218 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47219 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47220 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47221 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47222 libc_fetestexcept and libc_feupdateenv.
47224 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47225 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47226 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47227 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47228 libc_feholdexcept_setround.
47230 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47231 Add s_nearbyint-c and s_nearbyintf-c.
47232 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47233 nearbyintf inlines.
47234 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47235 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47236 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47237 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47239 * math/math_private.h: Define defaults for libc_fegetround,
47240 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47241 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47242 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47244 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47245 standard functions.
47246 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47247 Remove comments and hacks for old compiler versions.
47248 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47249 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47250 libc_feholdexceptl.
47252 2011-10-18 Andreas Schwab <schwab@redhat.com>
47254 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47255 (__feraiseexcept_renamed): Add __NTH.
47256 (feraiseexcept): Add __NTH. Rename local variables to fix
47257 namespace violations.
47259 2011-10-17 Ulrich Drepper <drepper@gmail.com>
47261 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47263 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47265 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47266 recently added interfaces.
47267 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47269 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47270 about macro parameter expansion.
47272 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47273 __NO_MATH_INLINES is defined. Cleanups.
47275 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47276 and __floorf is target has SSE4.1.
47277 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47278 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47280 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47282 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47284 (floorf): Likewise.
47286 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47288 2011-10-17 Andreas Schwab <schwab@redhat.com>
47290 * misc/sys/cdefs.h: Fix last change.
47292 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47295 2011-10-16 Ulrich Drepper <drepper@gmail.com>
47297 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47299 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47300 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47301 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47304 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47305 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47306 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47307 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47308 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47309 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47310 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47311 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47312 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47313 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47314 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47315 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47316 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47317 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47318 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47319 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47320 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47322 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47323 ceil, ceilf, floor, floorf.
47325 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47326 Perform IRELATIVE relocations last.
47328 * elf/do-rel.h: Add another parameter nrelative, replacing the
47329 local variable with the same name. Change name of the function
47330 to end in Rel or Rela (uppercase).
47331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47332 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47333 elf_dynamic_do_##reloc function.
47335 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47337 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47338 is sufficient, at least on modern CPUs.
47340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47342 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47343 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47345 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47347 * math/bits/math-finite.h: Add entries for exp.
47348 * math/e_expl.c: Add __*_finite alias.
47349 * sysdeps/i386/fpu/e_exp.S: Likewise.
47350 * sysdeps/i386/fpu/e_expf.S: Likewise.
47351 * sysdeps/i386/fpu/e_expl.c: Likewise.
47352 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47353 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47354 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47356 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47357 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47358 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47360 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47361 is sufficient, at least on modern CPUs.
47363 * ctype/ctype-info.c (__ctype_init): Define.
47364 * include/ctype.h (__ctype_init): Declare.
47365 (__ctype_b_loc): The variable is always initialized.
47366 (__ctype_toupper_loc): Likewise.
47367 (__ctype_tolower_loc): Likewise.
47368 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47369 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47371 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47373 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47375 * configure.in: Also look in $cxxmachine/include for C++ system
47378 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47380 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47381 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47382 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47383 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47384 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47385 (USE_AS_WMEMCMP): New macro.
47387 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47388 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47389 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47390 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47392 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47393 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47394 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47395 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47396 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47397 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47398 (USE_AS_WMEMCMP): New macro.
47399 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47400 * sysdeps/string/test-memcmp.c: Update.
47401 Fix simple_wmemcmp.
47403 * wcsmbs/wmemcmp.c: Update.
47404 (WMEMCMP): New macro.
47407 2011-10-12 Andreas Jaeger <aj@suse.de>
47410 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47412 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47414 * libio/iofwide.c (do_length): Avoid warning.
47416 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47418 2011-10-14 Ulrich Drepper <drepper@gmail.com>
47420 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47422 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47423 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47424 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47425 * sysdeps/i386/i686/fpu/e_log.S: New file.
47426 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47427 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47429 * ctype/ctype.h: Add support for inlined isXXX functions when
47430 compiling C++ code.
47432 2011-10-14 Andreas Schwab <schwab@redhat.com>
47434 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47436 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47438 2011-10-13 Roland McGrath <roland@hack.frob.com>
47441 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47443 2011-10-13 Andreas Schwab <schwab@redhat.com>
47445 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47446 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47449 * sysdeps/x86_64/memrchr.S: Check for zero size.
47451 * string/stratcliff.c: Add memrchr tests.
47453 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47456 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47457 rawmemchr-sse2 rawmemchr-sse2-bsf.
47458 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47459 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47460 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47461 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47462 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47463 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47464 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47465 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47466 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47467 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47468 * string/memrchr.c (MEMRCHR): New macro.
47470 2011-10-12 Ulrich Drepper <drepper@gmail.com>
47472 Add integration with gcc's -ffinite-math-only and optimize wrapper
47474 * Versions.def: Define GLIBC_2.15 version for libm.
47475 * math/Makefile (headers): Add bits/math-finite.h.
47476 * math/bits/math-finite.h: New file.
47477 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47478 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47479 * math/e_acoshl.c: Add __*_finite alias.
47480 * math/e_acosl.c: Likewise.
47481 * math/e_asinl.c: Likewise.
47482 * math/e_atan2l.c: Likewise.
47483 * math/e_atanhl.c: Likewise.
47484 * math/e_coshl.c: Likewise.
47485 * math/e_exp10.c: Likewise.
47486 * math/e_exp10f.c: Likewise.
47487 * math/e_exp10l.c: Likewise.
47488 * math/e_exp2l.c: Likewise.
47489 * math/e_fmodl.c: Likewise.
47490 * math/e_gammal_r.c: Likewise.
47491 * math/e_hypotl.c: Likewise.
47492 * math/e_j0l.c: Likewise.
47493 * math/e_j1l.c: Likewise.
47494 * math/e_jnl.c: Likewise.
47495 * math/e_lgammal_r.c: Likewise.
47496 * math/e_log10l.c: Likewise.
47497 * math/e_log2l.c: Likewise.
47498 * math/e_logl.c: Likewise.
47499 * math/e_powl.c: Likewise.
47500 * math/e_sinhl.c: Likewise.
47501 * math/e_sqrtl.c: Likewise.
47502 * math/e_scalb.c: Completely rewritten and optimized.
47503 * math/e_scalbf.c: Likewise.
47504 * math/e_scalbl.c: Likewise.
47505 * math/w_acos.c: Likewise.
47506 * math/w_acosf.c: Likewise.
47507 * math/w_acosl.c: Likewise.
47508 * math/w_acosh.c: Likewise.
47509 * math/w_acoshf.c: Likewise.
47510 * math/w_acoshl.c: Likewise.
47511 * math/w_asin.c: Likewise.
47512 * math/w_asinf.c: Likewise.
47513 * math/w_asinl.c: Likewise.
47514 * math/w_atan2.c: Likewise.
47515 * math/w_atan2f.c: Likewise.
47516 * math/w_atan2l.c: Likewise.
47517 * math/w_atanh.c: Likewise.
47518 * math/w_atanhf.c: Likewise.
47519 * math/w_atanhl.c: Likewise.
47520 * math/w_exp10.c: Likewise.
47521 * math/w_exp10f.c: Likewise.
47522 * math/w_exp10l.c: Likewise.
47523 * math/w_fmod.c: Likewise.
47524 * math/w_fmodf.c: Likewise.
47525 * math/w_fmodl.c: Likewise.
47526 * math/w_j0.c: Likewise.
47527 * math/w_j0f.c: Likewise.
47528 * math/w_j0l.c: Likewise.
47529 * math/w_j1.c: Likewise.
47530 * math/w_j1f.c: Likewise.
47531 * math/w_j1l.c: Likewise.
47532 * math/w_jn.c: Likewise.
47533 * math/w_jnf.c: Likewise.
47534 * math/w_log.c: Likewise.
47535 * math/w_logf.c: Likewise.
47536 * math/w_logl.c: Likewise.
47537 * math/w_log10.c: Likewise.
47538 * math/w_log10f.c: Likewise.
47539 * math/w_log10l.c: Likewise.
47540 * math/w_log2.c: Likewise.
47541 * math/w_log2f.c: Likewise.
47542 * math/w_log2l.c: Likewise.
47543 * math/w_pow.c: Likewise.
47544 * math/w_powf.c: Likewise.
47545 * math/w_powl.c: Likewise.
47546 * math/w_remainder.c: Likewise.
47547 * math/w_remainderf.c: Likewise.
47548 * math/w_remainderl.c: Likewise.
47549 * math/w_scalb.c: Likewise.
47550 * math/w_scalbf.c: Likewise.
47551 * math/w_scalbl.c: Likewise.
47552 * math/w_sqrt.c: Likewise.
47553 * math/w_sqrtf.c: Likewise.
47554 * math/w_sqrtl.c: Likewise.
47555 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47556 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47558 * math/math_private.h: Declare __kernel_standard_f.
47559 * math/w_cosh.c: Remove cruft and optimize a bit.
47560 * math/w_coshf.c: Likewise.
47561 * math/w_coshl.c: Likewise.
47562 * math/w_exp2.c: Likewise.
47563 * math/w_exp2f.c: Likewise.
47564 * math/w_exp2l.c: Likewise.
47565 * math/w_hypot.c: Likewise.
47566 * math/w_hypotf.c: Likewise.
47567 * math/w_hypotl.c: Likewise.
47568 * math/w_lgamma.c: Likewise.
47569 * math/w_lgamma_r.c: Likewise.
47570 * math/w_lgammaf.c: Likewise.
47571 * math/w_lgammaf_r.c: Likewise.
47572 * math/w_lgammal.c: Likewise.
47573 * math/w_lgammal_r.c: Likewise.
47574 * math/w_sinh.c: Likewise.
47575 * math/w_sinhf.c: Likewise.
47576 * math/w_sinhl.c: Likewise.
47577 * math/w_tgamma.c: Likewise.
47578 * math/w_tgammaf.c: Likewise.
47579 * math/w_tgammal.c: Likewise.
47580 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47582 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47583 Minor optimizations. Pretty printing. Remove cruft.
47584 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47585 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47586 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47587 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47588 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47589 * sysdeps/i386/fpu/e_asin.S: Likewise.
47590 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47591 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47592 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47593 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47594 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47595 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47596 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47597 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47598 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47599 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47600 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47601 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47602 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47603 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47604 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47605 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47606 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47607 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47608 * sysdeps/i386/fpu/e_log.S: Likewise.
47609 * sysdeps/i386/fpu/e_log10.S: Likewise.
47610 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47611 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47612 * sysdeps/i386/fpu/e_log2.S: Likewise.
47613 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47614 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47615 * sysdeps/i386/fpu/e_logf.S: Likewise.
47616 * sysdeps/i386/fpu/e_logl.S: Likewise.
47617 * sysdeps/i386/fpu/e_pow.S: Likewise.
47618 * sysdeps/i386/fpu/e_powf.S: Likewise.
47619 * sysdeps/i386/fpu/e_powl.S: Likewise.
47620 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47621 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47622 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47623 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47624 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47625 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47626 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47627 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47628 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47629 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47632 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47633 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47634 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47635 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47636 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47637 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47638 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47639 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47640 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47642 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47643 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47645 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47646 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47647 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47648 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47650 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47651 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47652 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47653 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47654 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47655 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47656 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47657 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47658 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47659 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47660 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47661 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47662 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47663 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47664 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47665 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47666 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47667 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47668 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47669 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47670 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47671 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47675 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47677 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47679 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47680 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47684 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47685 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47686 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47687 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47688 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47689 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47690 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47693 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47694 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47695 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47697 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47699 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47700 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47703 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47705 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47706 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47707 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47708 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47709 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47710 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47711 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47712 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47713 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47714 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47715 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47716 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47717 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47718 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47719 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47722 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47723 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47724 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47725 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47726 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47727 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47728 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47729 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47730 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47731 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47732 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47733 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47734 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47736 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47737 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47738 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47739 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47740 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47741 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47742 (__isnanf): Likewise.
47743 (__isinf_ns): Likewise.
47744 (__isinf_nsf): Likewise.
47745 (__finite): Likewise.
47746 (__finitef): Likewise.
47747 (__ieee754_sqrt): Define as macro.
47748 (__ieee754_sqrtf): Define as macro.
47749 (__ieee754_sqrtl): Define as macro.
47750 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47752 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47753 __FINITE_MATH_ONLY__ consistent.
47754 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47756 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47758 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47761 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47763 2011-10-09 Ulrich Drepper <drepper@gmail.com>
47765 * po/ja.po: Update from translation team.
47767 2011-10-08 Roland McGrath <roland@hack.frob.com>
47769 * locale/programs/locarchive.c (prepare_address_space): New function.
47770 (create_archive, enlarge_archive, open_archive): Use it.
47772 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47773 inside [SHARED], where it is used.
47775 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47777 * nss/getent.c (netgroup_keys): Remove unused variable.
47778 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47780 2011-10-08 Ulrich Drepper <drepper@gmail.com>
47782 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47783 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47785 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47786 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47787 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47788 * math/Makefile (libm-calls): Add s_isinf_ns.
47789 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47790 * math/multc3.c: Likewise.
47791 * math/s_casin.c: Likewise.
47792 * math/s_casinf.c: Likewise.
47793 * math/s_casinl.c: Likewise.
47794 * math/s_ccos.c: Likewise.
47795 * math/s_ccosf.c: Likewise.
47796 * math/s_ccosl.c: Likewise.
47797 * math/s_ctan.c: Likewise.
47798 * math/s_ctanf.c: Likewise.
47799 * math/s_ctanh.c: Likewise.
47800 * math/s_ctanhf.c: Likewise.
47801 * math/s_ctanhl.c: Likewise.
47802 * math/s_ctanl.c: Likewise.
47803 * math/w_fmod.c: Likewise.
47804 * math/w_fmodf.c: Likewise.
47805 * math/w_fmodl.c: Likewise.
47806 * math/w_remainder.c: Likewise.
47807 * math/w_remainderf.c: Likewise.
47808 * math/w_remainderl.c: Likewise.
47809 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47810 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47813 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47814 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47815 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47816 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47818 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47820 * stdio-common/printf_fphex.c: Likewise.
47821 * stdio-common/printf_size.c: Likewise.
47823 * math/e_exp10.c: Include math_private.h using <...> not "...".
47824 * math/e_exp10f.c: Likewise.
47825 * math/e_exp10l.c: Likewise.
47826 * math/e_exp2l.c: Likewise.
47827 * math/e_j0l.c: Likewise.
47828 * math/e_j1l.c: Likewise.
47829 * math/e_jnl.c: Likewise.
47830 * math/e_lgammal_r.c: Likewise.
47831 * math/e_rem_pio2l.c: Likewise.
47832 * math/e_scalb.c: Likewise.
47833 * math/e_scalbf.c: Likewise.
47834 * math/e_scalbl.c: Likewise.
47835 * math/k_cosl.c: Likewise.
47836 * math/k_sinl.c: Likewise.
47837 * math/k_tanl.c: Likewise.
47838 * math/s_cacoshf.c: Likewise.
47839 * math/s_catan.c: Likewise.
47840 * math/s_catanf.c: Likewise.
47841 * math/s_catanh.c: Likewise.
47842 * math/s_catanhf.c: Likewise.
47843 * math/s_catanhl.c: Likewise.
47844 * math/s_catanl.c: Likewise.
47845 * math/s_ccosh.c: Likewise.
47846 * math/s_ccoshf.c: Likewise.
47847 * math/s_ccoshl.c: Likewise.
47848 * math/s_cexp.c: Likewise.
47849 * math/s_cexpf.c: Likewise.
47850 * math/s_cexpl.c: Likewise.
47851 * math/s_clog.c: Likewise.
47852 * math/s_clog10.c: Likewise.
47853 * math/s_clog10f.c: Likewise.
47854 * math/s_clog10l.c: Likewise.
47855 * math/s_clogf.c: Likewise.
47856 * math/s_clogl.c: Likewise.
47857 * math/s_csin.c: Likewise.
47858 * math/s_csinf.c: Likewise.
47859 * math/s_csinh.c: Likewise.
47860 * math/s_csinhf.c: Likewise.
47861 * math/s_csinhl.c: Likewise.
47862 * math/s_csinl.c: Likewise.
47863 * math/s_csqrt.c: Likewise.
47864 * math/s_csqrtf.c: Likewise.
47865 * math/s_csqrtl.c: Likewise.
47866 * math/s_ctan.c: Likewise.
47867 * math/s_ctanf.c: Likewise.
47868 * math/s_ctanh.c: Likewise.
47869 * math/s_ctanhf.c: Likewise.
47870 * math/s_ctanhl.c: Likewise.
47871 * math/s_ctanl.c: Likewise.
47872 * math/s_ldexp.c: Likewise.
47873 * math/s_ldexpf.c: Likewise.
47874 * math/s_ldexpl.c: Likewise.
47875 * math/s_significand.c: Likewise.
47876 * math/s_significandf.c: Likewise.
47877 * math/s_significandl.c: Likewise.
47878 * math/w_acos.c: Likewise.
47879 * math/w_acosf.c: Likewise.
47880 * math/w_acosh.c: Likewise.
47881 * math/w_acoshf.c: Likewise.
47882 * math/w_acoshl.c: Likewise.
47883 * math/w_acosl.c: Likewise.
47884 * math/w_asin.c: Likewise.
47885 * math/w_asinf.c: Likewise.
47886 * math/w_asinl.c: Likewise.
47887 * math/w_atan2.c: Likewise.
47888 * math/w_atan2f.c: Likewise.
47889 * math/w_atan2l.c: Likewise.
47890 * math/w_atanh.c: Likewise.
47891 * math/w_atanhf.c: Likewise.
47892 * math/w_atanhl.c: Likewise.
47893 * math/w_cosh.c: Likewise.
47894 * math/w_coshf.c: Likewise.
47895 * math/w_coshl.c: Likewise.
47896 * math/w_dremf.c: Likewise.
47897 * math/w_exp10.c: Likewise.
47898 * math/w_exp10f.c: Likewise.
47899 * math/w_exp10l.c: Likewise.
47900 * math/w_exp2.c: Likewise.
47901 * math/w_exp2f.c: Likewise.
47902 * math/w_fmod.c: Likewise.
47903 * math/w_fmodf.c: Likewise.
47904 * math/w_fmodl.c: Likewise.
47905 * math/w_hypot.c: Likewise.
47906 * math/w_hypotf.c: Likewise.
47907 * math/w_hypotl.c: Likewise.
47908 * math/w_j0.c: Likewise.
47909 * math/w_j0f.c: Likewise.
47910 * math/w_j0l.c: Likewise.
47911 * math/w_j1.c: Likewise.
47912 * math/w_j1f.c: Likewise.
47913 * math/w_j1l.c: Likewise.
47914 * math/w_jn.c: Likewise.
47915 * math/w_jnf.c: Likewise.
47916 * math/w_jnl.c: Likewise.
47917 * math/w_lgamma.c: Likewise.
47918 * math/w_lgamma_r.c: Likewise.
47919 * math/w_lgammaf.c: Likewise.
47920 * math/w_lgammaf_r.c: Likewise.
47921 * math/w_lgammal.c: Likewise.
47922 * math/w_lgammal_r.c: Likewise.
47923 * math/w_log.c: Likewise.
47924 * math/w_log10.c: Likewise.
47925 * math/w_log10f.c: Likewise.
47926 * math/w_log10l.c: Likewise.
47927 * math/w_log2.c: Likewise.
47928 * math/w_log2f.c: Likewise.
47929 * math/w_log2l.c: Likewise.
47930 * math/w_logf.c: Likewise.
47931 * math/w_logl.c: Likewise.
47932 * math/w_pow.c: Likewise.
47933 * math/w_powf.c: Likewise.
47934 * math/w_powl.c: Likewise.
47935 * math/w_remainder.c: Likewise.
47936 * math/w_remainderf.c: Likewise.
47937 * math/w_remainderl.c: Likewise.
47938 * math/w_scalb.c: Likewise.
47939 * math/w_scalbf.c: Likewise.
47940 * math/w_scalbl.c: Likewise.
47941 * math/w_sinh.c: Likewise.
47942 * math/w_sinhf.c: Likewise.
47943 * math/w_sinhl.c: Likewise.
47944 * math/w_sqrt.c: Likewise.
47945 * math/w_sqrtf.c: Likewise.
47946 * math/w_sqrtl.c: Likewise.
47947 * math/w_tgamma.c: Likewise.
47948 * math/w_tgammaf.c: Likewise.
47949 * math/w_tgammal.c: Likewise.
47951 * po/ja.po: Update from translation team.
47953 2011-09-29 Andreas Jaeger <aj@suse.de>
47956 * sunrpc/netname.c (netname2host): Fix logic.
47960 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47962 * math/w_remainder.c (__remainder): Likewise.
47963 * math/w_remainderf.c (__remainderf): Likewise.
47964 * math/libm-test.inc (remainder_test): Add test cases.
47966 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47968 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47971 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47973 * string/test-memcmp.c: Avoid unncessary #defines.
47974 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47976 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47978 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47979 Use new sse2 version for core i3 - i7 as it's faster
47980 than sse42 version.
47981 (bit_Prefer_PMINUB_for_stringop): New.
47982 * sysdeps/x86_64/rawmemchr.S: Update.
47983 Replace with faster SSE2 version.
47984 * sysdeps/x86_64/memrchr.S: New file.
47985 * sysdeps/x86_64/memchr.S: Update.
47986 Replace with faster SSE2 version.
47988 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47990 * elf/dl-load.c (lose): Add cast to avoid warning.
47992 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47994 * po/ca.po: Update from translation team.
47996 * inet/getnetgrent_r.c: Hook up nscd.
47997 * nscd/Makefile (routines): Add nscd_netgroup.
47998 (nscd-modules): Add netgroupcache.
47999 (CFLAGS-netgroupcache.c): Define.
48000 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48001 (cache_search): Add const to second parameter.
48002 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48004 (dbs): Add netgrdb entry.
48005 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48006 (verify_persistent_db): Handle netgrdb.
48007 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48008 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48010 (netgroup_response_header): Define.
48011 (innetgroup_response_header): Define.
48012 (datahead): Add netgroup_response_header and innetgroup_response_header
48014 * nscd/nscd.conf: Add entries for netgroup cache.
48015 * nscd/nscd.h (dbtype): Add netgrdb.
48016 (_PATH_NSCD_NETGROUP_DB): Define.
48017 (netgroup_iov_disabled): Declare.
48018 (xmalloc, xcalloc, xrealloc): Move declarations here.
48019 (cache_search): Adjust prototype.
48020 Add netgroup-related prototypes.
48021 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48022 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48023 (__nscd_innetgr): Declare.
48024 * nscd/selinux.c (perms): Use access_vector_t as element type and
48025 add netgroup-related initializers.
48026 * nscd/netgroupcache.c: New file.
48027 * nscd/nscd_netgroup.c: New file.
48028 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48029 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48030 For four parameters use innetgr.
48031 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48032 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48033 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48034 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48036 * nscd/connections.c (register_traced_file): Don't register file
48037 for disabled databases.
48039 2011-10-06 Ulrich Drepper <drepper@gmail.com>
48041 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48043 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48044 from tree and freeing node.
48046 2011-09-25 Jiri Olsa <jolsa@redhat.com>
48048 * nss/nsswitch.c (__nss_database_lookup): Handle
48049 nss_parse_service_list out of memory case.
48051 2011-09-15 Jiri Olsa <jolsa@redhat.com>
48053 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48054 out of memory case.
48056 2011-10-04 Andreas Schwab <schwab@redhat.com>
48058 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48059 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48061 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48062 elf_machine_rela, elf_machine_lazy_rel.
48063 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48064 (ELF_DYNAMIC_DO_REL): Likewise.
48065 (ELF_DYNAMIC_DO_RELA): Likewise.
48066 (ELF_DYNAMIC_RELOCATE): Likewise.
48067 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48068 to ELF_DYNAMIC_DO_REL.
48069 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48070 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48071 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48073 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48074 skip_ifunc, don't call ifunc function if non-zero.
48075 (elf_machine_rela): Likewise.
48076 (elf_machine_lazy_rel): Likewise.
48077 (elf_machine_lazy_rela): Likewise.
48078 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48079 (elf_machine_lazy_rel): Likewise.
48080 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48082 (elf_machine_lazy_rel): Likewise.
48083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48085 (elf_machine_lazy_rel): Likewise.
48086 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48087 (elf_machine_lazy_rel): Likewise.
48088 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48089 (elf_machine_lazy_rel): Likewise.
48090 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48091 (elf_machine_lazy_rel): Likewise.
48092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48093 (elf_machine_lazy_rel): Likewise.
48094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48095 (elf_machine_lazy_rel): Likewise.
48096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48097 (elf_machine_lazy_rel): Likewise.
48099 2011-09-28 Ulrich Drepper <drepper@gmail.com>
48101 * nss/nss_files/files-init.c (_nss_files_init): Use static
48102 initialization for all the *_traced_file variables.
48104 2011-09-28 Andreas Schwab <schwab@redhat.com>
48106 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48108 2011-09-27 Roland McGrath <roland@hack.frob.com>
48111 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48113 2011-09-27 Andreas Schwab <schwab@redhat.com>
48115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48116 Reread the line before reparsing it.
48118 2011-09-26 Andreas Schwab <schwab@redhat.com>
48120 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48122 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48123 Maxim Kuvyrkov <maxim@codesourcery.com>
48124 Joseph Myers <joseph@codesourcery.com>
48126 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48127 if needed for __stack_chk_guard.
48129 2011-09-19 Roland McGrath <roland@hack.frob.com>
48131 * sysdeps/posix/spawni.c (script_execute): Always define it.
48132 It will be optimized away if unused.
48133 (maybe_script_execute): New function.
48134 (__spawni): Call it.
48136 * Makerules: Don't include tls.make.
48137 (config-tls): Always set to thread.
48138 * tls.make.c: File removed.
48140 2011-09-19 Mike Frysinger <vapier@gentoo.org>
48142 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48143 * config.make.in (CPPFLAGS-config): New substituted variable.
48145 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48147 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48150 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48151 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48153 2011-09-15 Roland McGrath <roland@hack.frob.com>
48155 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48156 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48158 (CALL_FAIL): Likewise.
48159 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48160 (CALL_FAIL): Macro removed.
48161 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48163 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48165 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48166 for __FINITE_MATH_ONLY__ == 1.
48168 2011-09-15 Andreas Schwab <schwab@redhat.com>
48170 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48171 __ieee754_sqrt instead of sqrt.
48172 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48173 __ieee754_sqrtf instead of sqrtf.
48174 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48175 __floorf instead of floorf.
48176 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48177 __floorf, __truncf instead of floorf, truncf.
48179 2011-09-14 Ulrich Drepper <drepper@gmail.com>
48181 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48183 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48184 __extern_always_inline.
48185 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48188 2011-09-14 Andreas Schwab <schwab@redhat.com>
48190 * elf/rtld.c (dl_main): Also relocate in dependency order when
48191 doing symbol dependency testing.
48193 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48196 Always define `refsym'.
48198 2011-09-13 Andreas Schwab <schwab@redhat.com>
48200 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48201 (__FD_ELT): Renamed from __FDELT.
48202 * misc/bits/select2.h (__FD_ELT): Likewise.
48203 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48204 __FD_MASK instead of __FDELT, __FDMASK.
48205 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48207 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48210 * elf/Makefile (gen-ldd): Fix pattern.
48212 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48213 (init_tls): Likewise.
48215 2011-09-12 Ulrich Drepper <drepper@gmail.com>
48217 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48219 2011-09-12 Andreas Schwab <schwab@redhat.com>
48221 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48222 `struct cmsghdr *' instead of `void *'.
48223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48226 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48228 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48230 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48231 ldd_rewrite_script.
48233 2011-09-11 Ulrich Drepper <drepper@gmail.com>
48235 * configure.in: Remove --with-tls option.
48236 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48237 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48238 out in case it is missing.
48239 * sysdeps/ia64/elf/configure.in: Likewise.
48240 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48241 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48242 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48243 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48244 * sysdeps/sh/elf/configure.in: Likewise.
48245 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48246 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48247 * sysdeps/x86_64/elf/configure.in: Likewise.
48248 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48249 * sysdeps/mach/hurd/tls.h: Likewise.
48252 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48255 * configure.in: Fix use of AC_INIT.
48257 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48259 2011-09-10 Ulrich Drepper <drepper@gmail.com>
48261 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48263 * malloc/hooks.c: Likewise.
48266 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48267 variables statically.
48268 (narenas): Initialize.
48269 (list_lock): Initialize.
48270 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48271 initializtion of main_arena and list_lock. Small cleanups.
48272 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48273 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48274 Add initializers to main_arena and mp_.
48275 (malloc_state): Remove pagesize member. Change all users to use
48278 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48279 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48280 is always initialized.
48282 * malloc/malloc.c: Removed unused configurations and dead code.
48283 * malloc/arena.c: Likewise.
48284 * malloc/hooks.c: Likewise.
48285 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48287 * include/tls.h: Removed. USE___THREAD must always be defined.
48288 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48289 * elf/dl-libc.c: Likewise.
48290 * elf/dl-tsd.c: Likewise.
48291 * include/errno.h: Likewise.
48292 * include/netdb.h: Likewise.
48293 * include/resolv.h: Likewise.
48294 * inet/herrno-loc.c: Likewise.
48295 * inet/herrno.c: Likewise.
48296 * malloc/arena.c: Likewise.
48297 * malloc/hooks.c: Likewise.
48298 * malloc/malloc.c: Likewise.
48299 * resolv/res-state.c: Likewise.
48300 * resolv/res_libc.c: Likewise.
48301 * sysdeps/i386/dl-machine.h: Likewise.
48302 * sysdeps/ia64/dl-machine.h: Likewise.
48303 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48304 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48305 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48306 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48307 * sysdeps/sh/dl-machine.h: Likewise.
48308 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48309 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48310 * sysdeps/unix/i386/sysdep.S: Likewise.
48311 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48312 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48317 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48321 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48322 * sysdeps/x86_64/dl-machine.h: Likewise.
48323 * tls.make.c: Likewise.
48325 * configure.in: Remove --with-__thread option. Make tests for
48326 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48327 tls_model attribute fail if no support is available. Remove
48329 * Makeconfig: Adjust for dropped configure option. All features are
48331 * Makerules: Likewise.
48332 * Versions.def: Likewise.
48333 * argp/argp-fmtstream.c: Likewise.
48334 * argp/argp-fmtstream.h: Likewise.
48335 * argp/argp-help.c: Likewise.
48336 * assert/assert.c: Likewise.
48337 * config.h.in: Likewise.
48338 * config.make.in: Likewise.
48339 * configure: Likewise.
48340 * configure.in: Likewise.
48341 * csu/Versions: Likewise.
48342 * csu/init.c: Likewise.
48343 * elf/tst-audit2.c: Likewise.
48344 * elf/tst-tls10.c: Likewise.
48345 * elf/tst-tls10.h: Likewise.
48346 * elf/tst-tls11.c: Likewise.
48347 * elf/tst-tls12.c: Likewise.
48348 * elf/tst-tls14.c: Likewise.
48349 * elf/tst-tlsmod11.c: Likewise.
48350 * elf/tst-tlsmod12.c: Likewise.
48351 * elf/tst-tlsmod13.c: Likewise.
48352 * elf/tst-tlsmod13a.c: Likewise.
48353 * elf/tst-tlsmod14a.c: Likewise.
48354 * elf/tst-tlsmod15b.c: Likewise.
48355 * elf/tst-tlsmod16a.c: Likewise.
48356 * elf/tst-tlsmod16b.c: Likewise.
48357 * elf/tst-tlsmod7.c: Likewise.
48358 * elf/tst-tlsmod8.c: Likewise.
48359 * elf/tst-tlsmod9.c: Likewise.
48360 * gmon/gmon.c: Likewise.
48361 * grp/fgetgrent_r.c: Likewise.
48362 * grp/putgrent.c: Likewise.
48363 * hurd/fopenport.c: Likewise.
48364 * include/libc-symbols.h: Likewise.
48365 * include/tls.h: Likewise.
48366 * intl/gettextP.h: Likewise.
48367 * intl/loadinfo.h: Likewise.
48368 * locale/global-locale.c: Likewise.
48369 * locale/localeinfo.h: Likewise.
48370 * mach/devstream.c: Likewise.
48371 * malloc/arena.c: Likewise.
48372 * malloc/set-freeres.c: Likewise.
48373 * misc/err.c: Likewise.
48374 * misc/getttyent.c: Likewise.
48375 * misc/mntent_r.c: Likewise.
48376 * posix/getopt.c: Likewise.
48377 * posix/wordexp.c: Likewise.
48378 * pwd/fgetpwent_r.c: Likewise.
48379 * resolv/Versions: Likewise.
48380 * resolv/res_hconf.c: Likewise.
48381 * shadow/fgetspent_r.c: Likewise.
48382 * shadow/putspent.c: Likewise.
48383 * stdio-common/printf_fphex.c: Likewise.
48384 * stdio-common/tmpfile.c: Likewise.
48385 * stdlib/abort.c: Likewise.
48386 * stdlib/fmtmsg.c: Likewise.
48387 * sunrpc/auth_unix.c: Likewise.
48388 * sunrpc/clnt_perr.c: Likewise.
48389 * sunrpc/clnt_tcp.c: Likewise.
48390 * sunrpc/clnt_udp.c: Likewise.
48391 * sunrpc/clnt_unix.c: Likewise.
48392 * sunrpc/openchild.c: Likewise.
48393 * sunrpc/svc_simple.c: Likewise.
48394 * sunrpc/svc_tcp.c: Likewise.
48395 * sunrpc/svc_udp.c: Likewise.
48396 * sunrpc/svc_unix.c: Likewise.
48397 * sunrpc/xdr.c: Likewise.
48398 * sunrpc/xdr_array.c: Likewise.
48399 * sunrpc/xdr_rec.c: Likewise.
48400 * sunrpc/xdr_ref.c: Likewise.
48401 * sunrpc/xdr_stdio.c: Likewise.
48403 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48405 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48407 2011-07-03 Andreas Jaeger <aj@suse.de>
48409 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48410 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48411 regenerate with gen-libm-tests.pl.
48413 2010-05-12 Petr Baudis <pasky@suse.cz>
48416 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48417 around j0() zero points by switching to j1().
48418 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48419 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48423 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48425 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48427 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48430 Patch in part by Pavel Roskin <proski@gnu.org>.
48433 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48435 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48436 Free memory block if necessary.
48439 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48440 be NULL. Don't lock in this case.
48442 2011-09-09 Roland McGrath <roland@hack.frob.com>
48444 * elf/elf.h (ELFOSABI_GNU): New macro.
48445 (ELFOSABI_LINUX): Define to that.
48447 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48449 * string/strncat.c (strncat): Undef the symbol in case it has been
48450 defined in bits/string.h.
48452 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48454 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48456 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48459 2011-08-17 Andreas Jaeger <aj@suse.de>
48461 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48463 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48464 Ian Lance Taylor <iant@google.com>
48466 * math/libm-test.inc (lround_test): New testcase.
48467 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48469 2011-09-08 Ulrich Drepper <drepper@gmail.com>
48471 * Makefile: Remove support for automatic cvs check-ins.
48472 * Makerules: Likewise.
48473 * config.make.in: Likewise.
48474 * configure.in: Likewise.
48475 * intl/Makefile: Likewise.
48476 * locale/Makefile: Likewise.
48477 * po/Makefile: Likewise.
48478 * posix/Makefile: Likewise.
48479 * sysdeps/gnu/Makefile: Likewise.
48480 * sysdeps/mach/hurd/Makefile: Likewise.
48481 * sysdeps/sparc/sparc32/Makefile: Likewise.
48484 * posix/Makefile (bug-regex32-ENV): Define.
48485 Patch by John Stanley <jpsinthemix@verizon.net>.
48487 * misc/Makefile (headers): Add bits/select2.h.
48488 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48489 * misc/bits/select2.h: New file.
48490 * include/bits/select2.h: New file.
48491 * debug/Makefile (routines): Add fdelt_chk.
48492 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48493 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48495 * debug/fdelt_chk.c: New file.
48497 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48498 * wcsmbs/test-wmemcmp.c: Likewise.
48499 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48500 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48502 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48504 * string/Makefile (strop-tests): Add memcmp.
48505 * string/test-wmemcmp.c: New file.
48506 * string/test-memcmp.c: Add wmemcmp support.
48508 2011-09-08 Roland McGrath <roland@hack.frob.com>
48511 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48514 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48515 garbage value in a __mach_port_mod_refs call in the cases of the
48516 task-self and thread-self ports.
48518 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48520 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48522 2011-09-08 Andreas Schwab <schwab@redhat.com>
48524 * elf/dl-load.c (lose): Check for non-null L.
48526 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48528 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48530 * elf/dl-libc.c (dlerror_run): Pass back error code from
48534 * elf/dl-load.c (lose): Free l_origin if it is valid.
48536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48538 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48539 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48540 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48541 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48542 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48543 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48545 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48547 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48548 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48549 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48550 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48551 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48552 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48553 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48554 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48555 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48556 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48558 2011-08-15 Alan Modra <amodra@gmail.com>
48561 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48562 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48563 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48564 ppc_mcount to static-only-routines.
48565 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48567 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48568 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48570 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48572 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48573 for finite and infinity parameters.
48575 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48577 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48578 and add nop instructions for throughput optimization.
48579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48581 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48583 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48584 aligned copy for power7 with vector-scalar instructions.
48585 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48587 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48592 2011-09-07 Andreas Schwab <schwab@redhat.com>
48595 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48598 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48600 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48601 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48602 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48603 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48606 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48608 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48609 Forgot to demangle the pointer.
48611 * sysdeps/i386/sysdep.h: Define atom_text_section.
48612 * sysdeps/x86_64/sysdep.h: Likewise.
48613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48614 section with atom_text_section.
48615 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48616 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48617 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48618 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48619 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48621 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48622 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48623 already be defined. Change to take two parameters and don't assign
48624 result to variable. Adjust all users.
48625 Define INTERNAL_GETTIME if not already defined.
48626 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48629 HAVE_CLOCK_GETTIME_VSYSCALL.
48630 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48633 gettimeofday vsyscall, just use time.
48635 2011-09-06 Andreas Schwab <schwab@redhat.com>
48637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48640 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48642 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48646 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48647 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48648 syscall if possible.
48650 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48652 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48653 e_ident. Don't pass to find_mapsXX.
48654 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48656 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48659 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48660 * sysdeps/x86_64/multiarch/strchr.S: Update.
48661 Check bit_slow_BSF bit.
48662 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48663 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48664 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48666 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48669 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48671 (tryshell): Define.
48672 (__spawni): Change last parameter to be flag. Test
48673 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48674 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48675 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48676 * posix/spawni.c: Likewise.
48677 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48678 * posix/spawnp.c: Likewise. Change normal version to use
48679 SPAWN_XFLAGS_USE_PATH.
48680 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48681 SPAWN_XFLAGS_TRY_SHELL.
48684 * posix/glob.h: Remove gcc 1.x support.
48687 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48689 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48692 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48694 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48695 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48696 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48697 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48698 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48701 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48703 * sysdeps/x86_64/wcscmp.S: New file.
48705 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48706 wcscmp-c wcscmp-sse2
48707 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48708 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48709 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48710 * wcsmbs/wcscmp.c: Allow renaming.
48712 2011-09-05 David S. Miller <davem@davemloft.net>
48714 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48715 stack slot, rather than the struct return pointer slot.
48716 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48717 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48719 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48721 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48723 * po/ja.po: Update from translation team.
48726 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48727 kernel in 64-bit binaries.
48729 2011-09-01 David S. Miller <davem@davemloft.net>
48731 * elf/elf.h (HWCAP_SPARC_*): Move to..
48732 * sysdeps/sparc/sysdep.h: this new file and add new values.
48733 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48734 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48735 _DL_HWCAP_COUNT to 24.
48736 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48738 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48739 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48740 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48742 instead of magic constants.
48743 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48745 2011-08-31 David S. Miller <davem@davemloft.net>
48747 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48749 Reimplement to do errno handling inline.
48750 (SYSCALL_ERROR_HANDLER): New macro.
48751 (__SYSCALL_STRING): Do not do errno handling in asm.
48752 (__CLONE_SYSCALL_STRING): Delete.
48753 (__INTERNAL_SYSCALL_STRING): Delete.
48754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48755 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48756 (PSEUDO): Reimplement to do errno handling inline.
48757 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48758 (SYSCALL_ERROR_HANDLER): New macro.
48759 (__SYSCALL_STRING): Do not do errno handling in asm.
48760 (__CLONE_SYSCALL_STRING): Delete.
48761 (__INTERNAL_SYSCALL_STRING): Delete.
48762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48763 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48765 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48766 (inline_syscall*): Add 'err' argument.
48767 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48768 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48769 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48770 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48772 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48773 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48775 2011-08-30 Andreas Schwab <schwab@redhat.com>
48777 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48779 2011-08-29 Jiri Olsa <jolsa@redhat.com>
48781 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48784 2011-08-24 David S. Miller <davem@davemloft.net>
48786 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48788 2011-08-24 Andreas Schwab <schwab@redhat.com>
48790 * elf/Makefile: Add rules to build and run unload8 test.
48791 * elf/unload8.c: New file.
48792 * elf/unload8mod1.c: New file.
48793 * elf/unload8mod1x.c: New file.
48794 * elf/unload8mod2.c: New file.
48795 * elf/unload8mod3.c: New file.
48797 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48800 2011-08-23 David S. Miller <davem@davemloft.net>
48802 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48803 subtract stack bias.
48804 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48805 %sp not %fp in calculations.
48806 (_JMPBUF_UNWINDS_ADJ): Likewise.
48808 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48809 (aio_suspend): Call it to force an exception region around the
48810 AIO_MISC_WAIT() invocation.
48812 2011-08-23 Andreas Schwab <schwab@redhat.com>
48814 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48817 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48819 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48821 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48822 and <dl-machine.h>.
48823 (Elf64_FuncDesc): Remove.
48825 2011-08-22 David S. Miller <davem@davemloft.net>
48827 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48828 sigaltstack check, add missing cfi directives.
48829 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48830 missing cfi directives, and sigaltstack handling.
48832 2011-08-16 Andreas Schwab <schwab@redhat.com>
48835 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48836 object is seen twice.
48837 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48839 * elf/Makefile (distribute): Add tst-initorder2.c.
48840 (tests): Add tst-initorder2.
48841 (modules-names): Add tst-initorder2a tst-initorder2b
48842 tst-initorder2c tst-initorder2d. Add rules to build them.
48843 ($(objpfx)tst-initorder2.out): New rule.
48844 * elf/tst-initorder2.c: New file.
48845 * elf/tst-initorder2.exp: New file.
48847 2011-08-22 Andreas Schwab <schwab@redhat.com>
48849 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48851 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48852 dependencies back to end of function.
48854 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48855 $(elfobjdir)/ld.so.
48857 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48860 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48862 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48863 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48864 of __vdso_gettimeofday.
48865 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48866 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48868 (_libc_vdso_platform_setup): Remove initialization of
48869 __vdso_gettimeofday and __vdso_time.
48871 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48873 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48874 and fgetc_unlocked.
48875 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48878 * elf/dl-open.c (add_to_global): Report additions to the global scope
48879 for LD_DEBUG=scopes.
48880 (dl_open_worker): Also print scope of newly loaded dependencies.
48881 (_dl_show_scope): Indicate if there is no scope.
48884 * stdio-common/Makefile (tests): Add bug24.
48885 * stdio-common/bug24.c: New file.
48887 2011-08-19 Andreas Jaeger <aj@suse.de>
48890 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48891 non-existant file when using close-on-exec mode.
48893 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48895 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48896 the very first instruction.
48898 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48899 the CFI state in the end.
48900 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48901 inclusion of dl-trampoline.h.
48902 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48904 2011-08-19 Andreas Schwab <schwab@redhat.com>
48906 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48907 expectations for long double.
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48910 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48912 2011-08-14 David S. Miller <davem@davemloft.net>
48914 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48915 artificual limit depends upon the system page size.
48917 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48919 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48920 * resolv/Makefile: Define CFLAGS-libresolv.
48922 2011-08-17 Andreas Schwab <schwab@redhat.com>
48924 * nss/makedb.c (compute_tables): Make variables used in nested
48927 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48929 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48930 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48931 if buffer was too small.
48933 * elf/pldd.c (main): Attach to all threads in the process.
48934 Rewrite /proc handling to use *at functions.
48936 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48938 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48939 specifies first scope to show.
48940 (dl_open_worker): Update callers. Move printing scope of new
48941 object to before the relocation.
48942 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48943 * sysdeps/generic/ldsodefs.h: Update declaration.
48945 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48946 string for the scope number.
48948 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48950 * nscd/servicescache.c (cache_addserv): Make sure written is always
48953 2011-08-14 Roland McGrath <roland@hack.frob.com>
48955 * sysdeps/i386/i486/bits/atomic.h
48956 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48957 statement expression, so as to suppress "set but not used" warning.
48958 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48960 * string/strncat.c (STRNCAT): Use prototype definition.
48962 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48963 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48965 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48966 (localedef-modules): Add localedef.
48967 (locale-modules): Add locale.
48969 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48970 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48971 to avoid a warning.
48973 2011-08-14 David S. Miller <davem@davemloft.net>
48975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48976 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48978 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48980 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48981 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48982 * elf/rtld.c (dl_main): Set l_name of vDSO.
48983 Call _dl_show_scope when DL_DEBUG_SCOPES.
48984 (process_dl_debug): Recognize scopes flag and also set it for all.
48985 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48986 Declare _dl_show_scope.
48988 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48989 (do_dlopen): Pass caller_dlopen to dl_open.
48990 (__libc_dlopen_mode): Initialize caller_dlopen.
48992 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48993 of libc. Make tolower call locale-independent. Optimize a bit by
48994 using isdigit instead of isalnum.
48995 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48997 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48999 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49000 was a dependency or dynamically loaded.
49002 2011-08-11 Ulrich Drepper <drepper@gmail.com>
49004 * intl/l10nflist.c: Allow architecture-specific pop function.
49005 * sysdeps/x86_64/l10nflist.c: New file.
49007 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49010 2011-08-10 Andreas Schwab <schwab@redhat.com>
49012 * include/dirent.h: Add libc_hidden_proto for scandirat and
49013 scandirat64. Don't declare __scandirat64.
49014 * dirent/scandirat.c: Add libc_hidden_def.
49015 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49016 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49018 2011-08-10 David S. Miller <davem@davemloft.net>
49020 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49022 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49024 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49026 2011-08-09 Ulrich Drepper <drepper@gmail.com>
49028 * Versions.def [libc]: Add GLIBC_2.15.
49029 * dirent/Makefile (routines): Add scandirat and scandirat64.
49030 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49032 * dirent/dirent.h: Declare scandirat and scandirat64.
49033 * dirent/scandirat.c: New file.
49034 * dirent/scandirat64.c: New file.
49035 * sysdeps/wordsize-64/scandirat.c: New file.
49036 * sysdeps/wordsize-64/scandirat64.c: New file.
49037 * dirent/opendir.c: Define opendirat.
49038 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49040 * dirent/scandir64.c: Adjust for scandir.c change.
49041 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49042 __scandirat64, and __scandir_cancel_handler.
49043 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49044 additional parameter and use openat instead of open (outside of ld.so).
49045 Add new __opendir as wrapper around __opendirat.
49046 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49047 here without requiring old scandirat implementation.
49049 2011-08-08 Ulrich Drepper <drepper@gmail.com>
49051 * dirent/scandir.c (cancel_handler): Renamed to
49052 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49053 defined. Adjust users.
49054 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49057 2011-08-04 Ulrich Drepper <drepper@gmail.com>
49059 * string/test-string.h (IMPL): Use __STRING to expand name and then
49062 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49065 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49067 * string/Makefile: Update.
49068 (strop-tests): Append strncat.
49069 * string/test-wcscmp.c: New file.
49070 New comprehensive test for wcscmp.
49071 * string/test-strcmp.c: Update.
49072 (WIDE): New define.
49074 2011-07-22 Andreas Schwab <schwab@redhat.com>
49076 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49079 2011-07-26 Andreas Schwab <schwab@redhat.com>
49081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49082 encoding to ACE if AI_IDN.
49084 2011-08-01 Jakub Jelinek <jakub@redhat.com>
49086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49087 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49089 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49092 Fix overflow bug in strncat.
49093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49095 * string/test-strncat.c: Update.
49096 Add new tests for checking overflow bugs.
49098 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49101 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49102 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49103 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49104 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49105 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49106 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49107 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49108 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49111 (USE_AS_STRCAT): Define.
49112 Add strcat and strncat support.
49113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49115 2011-07-25 Andreas Schwab <schwab@redhat.com>
49117 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49118 __n bigger than INT_MAX+1.
49119 (__strncmp_g): Likewise.
49121 2011-07-23 Ulrich Drepper <drepper@gmail.com>
49123 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49124 * libio/stido.h: Likewise.
49126 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49131 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49132 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49133 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49138 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49143 (_dl_x86_64_save_sse): Likewise.
49145 2011-07-22 Ulrich Drepper <drepper@gmail.com>
49147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49149 (_dl_x86_64_save_sse): Likewise.
49151 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49153 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49155 2011-07-21 Andreas Schwab <schwab@redhat.com>
49157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49159 (_dl_x86_64_save_sse): Use correct AVX check.
49161 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49164 bug in strncpy/strncat.
49165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49167 2011-07-21 Ulrich Drepper <drepper@gmail.com>
49169 * string/tester.c (test_strcat): Add tests for different alignments
49170 of source and destination.
49171 (test_strncat): Likewise.
49173 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49176 * posix/glob.c (glob): Check passed in values before using them in
49177 expressions to avoid some overflows.
49178 (glob_in_dir): Likewise.
49181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49182 check for AVX enablement so that we don't crash with old kernels and
49184 * elf/tst-audit4.c: Add same checks here.
49185 * elf/tst-audit6.c: Likewise.
49187 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49189 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49191 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49193 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49195 * po/cs.po: Update from translation team.
49196 * po/bg.po: Likewise.
49198 2011-07-12 Marek Polacek <mpolacek@redhat.com>
49200 * misc/sys/cdefs.h: Add support for const attribute.
49201 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49202 to gnu_dev_{major,minor,makedev} functions.
49204 2011-07-20 Marek Polacek <mpolacek@redhat.com>
49206 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49208 2011-07-20 Andreas Schwab <schwab@redhat.com>
49210 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49213 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49216 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49217 register in order to avoid conflicts with the soft frame pointer
49218 being held in r11 when necessary.
49219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49220 (INTERNAL_VSYSCALL_NCS): Likewise.
49222 2011-07-14 Marek Polacek <mpolacek@redhat.com>
49224 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49225 * elf/dl-fini.c (_dl_fini): Adjust caller.
49226 * elf/dl-close.c (_dl_close_worker): Likewise.
49227 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49229 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49231 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49232 "aux_cache->nlibs < 0".
49234 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49235 in the reload-count case.
49237 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49240 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49241 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49242 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49243 * sysdeps/x86_64/multiarch/strcat.S: New file.
49244 * sysdeps/x86_64/multiarch/strncat.S: New file.
49245 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49246 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49247 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49248 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49249 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49250 (USE_AS_STRCAT): Define.
49251 Add strcat and strncat support.
49252 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49254 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49255 * string/strncat.c: Update.
49256 (USE_AS_STRNCAT): Define.
49257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49258 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49260 * sysdeps/x86_64/multiarch/init-arch.h
49261 (bit_Prefer_PMINUB_for_stringop): New.
49262 (index_Prefer_PMINUB_for_stringop): Likewise.
49263 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49264 bit_Prefer_PMINUB_for_stringop.
49266 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49268 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49270 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49271 of casting of buffer.
49272 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49273 buffer32 and buffer64.
49274 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49275 writes instead of casting of buffer.
49276 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49278 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49281 2011-07-19 Andreas Schwab <schwab@redhat.com>
49283 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49285 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49287 * nscd/nscd.c (termination_handler): Don't do anything for a database
49288 if it has not yet been initialized.
49290 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49292 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49294 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49296 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49298 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49300 * po/nl.po: Update from translation team.
49301 * po/sv.po: Likewise.
49303 2011-07-16 Roland McGrath <roland@hack.frob.com>
49305 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49306 now disallowed by GCC.
49308 * configure.in (use-default-link): Default to yes if a test -shared
49309 link meets our qualifications.
49310 * configure: Regenerated.
49312 * config.make.in (output-format): New variable.
49313 * configure.in: Check for ld --print-output-format support.
49314 * configure: Regenerated.
49315 * Makerules ($(common-objpfx)format.lds)
49316 [$(output-format) != unknown]: Just use $(output-format),
49317 instead of the linker-script munging.
49319 2011-07-14 Roland McGrath <roland@hack.frob.com>
49321 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49322 of $(common-objpfx)shlib.lds.
49323 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49325 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49326 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49328 * configure.in (-z relro check): Adjust test code to add a large
49329 writable data section after it.
49330 * configure: Regenerated.
49332 2011-07-11 Roland McGrath <roland@hack.frob.com>
49334 * configure.in (-z relro check): Fix test code to make the variable
49336 * configure: Regenerated.
49338 2011-07-11 Ulrich Drepper <drepper@gmail.com>
49340 * nscd/nscd.h (struct traced_file): Define.
49341 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49342 elements. Add traced_files.
49343 (inotify_fd): Declare.
49344 (register_traced_file): Declare.
49345 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49346 (inotify_fd): Export.
49347 (resolv_conf_descr): Remove.
49348 (nscd_init): Move inotify descriptor creation to main.
49349 Don't register files for notification here.
49350 (register_traced_file): New function.
49351 (invalidate_cache): Don't use reset_res to determine whether to call
49352 res_init, go through the list of registered files.
49353 (main_loop_poll): The inotify descriptors are now stored in the
49354 structures for the traced files.
49355 (main_loop_epoll): Likewise
49356 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49357 to __nss_disable_nscd.
49358 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49359 for a database anymore. Check the records for all the registered
49361 * nss/Makefile (libnss_files-routines): Add files-init.
49362 (libnss_db-routines): Add db-init.
49363 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49364 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49365 * nss/nss_db/db-init.c: New file.
49366 * nss/nss_files/files-init.c: New file.
49367 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49368 __nss_lookup_function.
49369 (__nss_lookup_function): Call nss_load_library.
49370 (nss_load_all_libraries): New function.
49371 (__nss_disable_nscd): Take parameter with callback function for files
49372 to register. Set is_nscd. Load all the DSOs for the NSS modules
49373 used for the cached services.
49374 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49375 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49376 options for features to all the files in nscd.
49378 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49380 2011-07-10 Roland McGrath <roland@hack.frob.com>
49382 * csu/elf-init.c (__libc_csu_init): Comment typo.
49384 2011-07-09 Ulrich Drepper <drepper@gmail.com>
49386 * po/pl.po: Update from translation team.
49387 * po/ja.po: Likewise.
49388 * po/ru.po: Likewise.
49389 * po/ko.po: Likewise.
49390 * po/fr.po: Likewise.
49392 2011-07-09 Roland McGrath <roland@hack.frob.com>
49394 * configure.in (.ctors/.dtors header and trailer check):
49395 Use an empirical test on a built program.
49396 * configure: Regenerated.
49398 * configure.in (-z relro check): Use an empirical test on a built DSO.
49399 Detect, but do not require, on ia64.
49400 * configure: Regenerated.
49402 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49403 Update tests that use readelf to use $READELF instead.
49404 * configure: Regenerated.
49406 2011-07-08 Ulrich Drepper <drepper@gmail.com>
49408 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49409 if the result is not used.
49411 2011-07-05 Andreas Jaeger <aj@suse.de>
49414 * stdlib/tst-strtod.c: Add testcase.
49416 2011-07-07 Ulrich Drepper <drepper@gmail.com>
49418 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49419 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49420 The latter has a higher limit. Take additional parameter to pass to
49422 (__pathconf): Pass file to __statfs_link_max.
49423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49425 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49429 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49432 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49433 (__statfs_filesize_max): Likewise.
49434 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49436 2011-07-05 Andreas Jaeger <aj@suse.de>
49438 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49440 2011-07-06 Marek Polacek <mpolacek@redhat.com>
49442 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49444 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49447 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49449 * Makefile (strop-tests): Add strncat.
49450 * string/test-strncat.c: New file.
49452 2011-06-30 Marek Polacek <mpolacek@redhat.com>
49454 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49456 2011-06-21 Andreas Jaeger <aj@suse.de>
49458 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49459 Copy rule from iconvdata/Makefile.
49461 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49464 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49465 but no long options are defined, just return 'W'.
49467 2011-06-22 Marek Polacek <mpolacek@redhat.com>
49470 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49472 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49474 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49476 (innetgr): Likewise.
49478 2011-07-05 Roland McGrath <roland@hack.frob.com>
49480 * config.make.in (install_root): Default to $(DESTDIR).
49482 2011-07-05 Ulrich Drepper <drepper@gmail.com>
49484 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49486 2011-07-02 Roland McGrath <roland@hack.frob.com>
49488 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49490 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49491 containing directory rather than embedding absolute directory names.
49493 * scripts/check-local-headers.sh: Rewritten using awk.
49494 Match by word, not by line. Print error messages for matches.
49495 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49497 * Makerules [shlib-lds-flags empty]:
49498 ($(common-objpfx)libc_pic.opts): New target.
49499 ($(common-objpfx)libc_pic.os.clean): New target.
49500 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49502 * config.make.in (OBJCOPY): New variable.
49503 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49504 * configure: Regenerated.
49506 * config.make.in (use-default-link): New variable.
49507 * configure.in (use_default_link): Grok --with-default-link to set it.
49508 * configure: Regenerated.
49509 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49510 (shlib-lds, shlib-lds-flags): Define to empty.
49512 * Makerules (shlib-lds): New variable.
49513 (shlib-lds-flags): New variable.
49514 (build-shlib, build-moduile, build-module-asneeded): Use it.
49515 ($(common-objpfx)libc.so): Use $(shlib-lds).
49516 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49517 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49519 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49520 DT_FLAGS/DT_FLAGS_1 with zero flags.
49522 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49523 linker script munging.
49525 2011-07-02 Ulrich Drepper <drepper@gmail.com>
49527 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49529 * crypt/sha512.c (sha512_process_block): Perform total addition using
49530 128-bit if possible.
49531 (__sha512_finish_ctx): Likewise.
49532 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49534 * crypt/sha256.c (SWAP64): Define.
49535 (sha256_process_block): Perform total addition using 64-bit if
49537 (__sha256_finish_ctx): Likewise.
49539 2011-07-01 Ulrich Drepper <drepper@gmail.com>
49541 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49543 * nscd/hstcache.c (cache_addhst): Likewise.
49544 * nscd/grpcache.c (cache_addgr): Likewise.
49545 * nscd/aicache.c (addhstaiX): Likewise
49546 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49548 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
49550 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49552 * nscd/hstcache.c (cache_addhst): Likewise.
49553 * nscd/grpcache.c (cache_addgr): Likewise.
49554 * nscd/aicache.c (addhstaiX): Likewise
49556 2011-07-01 Andreas Schwab <schwab@redhat.com>
49558 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49559 domain only when needed.
49561 2011-06-30 Andreas Schwab <schwab@redhat.com>
49563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49564 is always restored.
49566 2011-06-29 Ulrich Drepper <drepper@gmail.com>
49568 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49569 are re-adding the entry.
49570 * nscd/servicescache.c (cache_addserv): Likewise.
49572 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49574 * sysdeps/generic/dl-irel.h: fix protection against multiple
49576 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49578 2011-06-28 Ulrich Drepper <drepper@gmail.com>
49581 * malloc/memusage.sh: Fix quoting in message.
49582 * debug/xtrace.sh: Likewise.
49584 * configure.in: Remove support for --experimental-malloc option, make
49586 * config.make.in: Likewise.
49587 * malloc/Makefile: Likewise.
49589 2011-06-27 Andreas Schwab <schwab@redhat.com>
49591 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49592 two-byte characters.
49594 2011-06-27 Roland McGrath <roland@hack.frob.com>
49596 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49597 AC_CACHE_CHECK invocation.
49598 * configure: Regenerated.
49600 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49602 2011-06-27 Ulrich Drepper <drepper@gmail.com>
49605 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49606 bit from old_res_options.
49608 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49610 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49611 value type for setfct.
49613 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49616 __gettimeofday instead of gettimeofday.
49618 2011-06-26 Ulrich Drepper <drepper@gmail.com>
49620 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49622 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49624 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49629 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49632 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49633 strcpy-sse2-unaligned strncpy-sse2-unaligned
49634 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49635 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49636 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49637 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49638 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49641 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49642 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49643 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49644 (STRCPY): Support SSE2 and SSSE3 versions.
49646 2011-06-24 Ulrich Drepper <drepper@gmail.com>
49649 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49650 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49651 kernels which artificially limit size of requests.
49653 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49656 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49657 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49658 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49659 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49660 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49661 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49662 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49663 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49665 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49666 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49667 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49668 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49669 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49671 Enable unaligned load optimization for Intel Core i3, i5 and i7
49673 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49675 (index_Fast_Unaligned_Load): Define.
49676 (HAS_FAST_UNALIGNED_LOAD): Define.
49678 2011-06-23 Marek Polacek <mpolacek@redhat.com>
49680 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49682 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49685 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49686 until it is clear that the information is realy needed.
49687 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49689 2011-06-22 Andreas Schwab <schwab@redhat.com>
49691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49693 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49696 /sys/devices/system/cpu/online if it is usable.
49698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49699 reading the information from the /proc filesystem to once a second.
49701 2011-06-21 Andreas Jaeger <aj@suse.de>
49703 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49704 NULL after inclusion of kernel headers.
49706 2011-06-21 Ulrich Drepper <drepper@gmail.com>
49708 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49709 calls to internal_setent.
49712 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49713 addresses using gethostbyname4_r ignore IPv4 addresses.
49715 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49716 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49718 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49720 2011-06-20 David S. Miller <davem@davemloft.net>
49722 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49724 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49726 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49727 (elf_irel): Use it.
49728 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49729 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49730 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49731 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49732 * sysdeps/x86_64/dl-irel.h: Likewise.
49734 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49735 * elf/dl-sym.c: Likewise.
49737 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49739 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49740 need to dereference resplen2.
49742 2011-06-14 Andreas Schwab <schwab@redhat.com>
49744 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49746 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49748 * Makeconfig: Define vardbdir and inst_vardbdir.
49749 * nss/Makefile: Add rules to install db-Makefile.
49751 * nss/nss_db/db-XXX.c: Cleanup.
49753 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49754 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49756 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49757 * nss/makedb.c: Implement -g option to specify that value strings
49758 are generated and should not be added to table iterated over for
49760 * nss/nss_db/db-initgroups.c: New file.
49762 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49765 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49766 (internal_getgrouplist): Adjust to name change.
49767 Update use_initgroups_entry if this is not the first call.
49768 * nss/databases.def: Add initgroups entry.
49770 * nss/makedb.c (compute_tables): Check result of multiple hash table
49771 sizes to minimize maximum chain length.
49773 2011-06-14 Ulrich Drepper <drepper@gmail.com>
49775 * Versions.def: Add entry for libnss_db.
49776 * shlib-versions: Likewise.
49777 * nss/Makefile: Add rules to build libnss_db.
49778 * nss/Versions: Add libnss_db information. Organize libnss_files
49780 * nss/db-Makefile: Add gshadow support. Change rules for the new
49781 makedb progra. Some minor improvements to generate smaller files.
49782 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49784 * nss/makedb.c: ...here.
49785 Improve database format to be smaller and require less memory at
49787 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49789 * nss/nss_db/db-netgrp.c: Likewise.
49790 * nss/nss_db/db-open.c: Likewise.
49791 * nss/nss_files/flies-XXX.x: Adjust comments.
49792 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49793 * nss/nss_files/files-grp.c: Likewise.
49794 * nss/nss_files/files-hosts.c: Likewise.
49795 * nss/nss_files/files-network.c: Likewise.
49796 * nss/nss_files/files-proto.c: Likewise.
49797 * nss/nss_files/files-pwd.c: Likewise.
49798 * nss/nss_files/files-rpc.c: Likewise.
49799 * nss/nss_files/files-service.c: Likewise.
49800 * nss/nss_files/files-sgrp.c: Likewise.
49801 * nss/nss_files/files-spwd.c: Likewise.
49802 * nss/nss_db/db-alias.c: Removed.
49803 * nss/nss_db/dummy-db.h: Removed.
49805 2011-06-02 Ulrich Drepper <drepper@gmail.com>
49807 * nss/makedb.c: Rewritten to not use database library.
49808 * nss/Makefile: Update to build new makedb program.
49810 2011-06-14 Andreas Jaeger <aj@suse.de>
49812 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49813 memset declaration.
49815 2011-06-10 Andreas Schwab <schwab@redhat.com>
49817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49820 2011-06-10 Roland McGrath <roland@hack.frob.com>
49822 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49823 * elf/Makefile ($(objpfx)ld.so): Likewise.
49825 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49826 Don't list ld.so twice in dependencies.
49828 * posix/bug-regex31.c: Include <stdlib.h>.
49830 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49832 * nis/nss_compat/compat-spwd.c
49833 (getspent_next_nss_netgr): Remove unused variable.
49834 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49836 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49837 nonmembers" output to use the right array.
49839 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49841 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49843 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49844 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49845 * catgets/gencat.c (read_input_file): Likewise.
49846 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49848 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49849 variable definition inside #if's controlling its use.
49851 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49853 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49855 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49857 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49860 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49862 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49863 * configure: Regenerated.
49865 * Makerules: Revert last change.
49866 * elf/Makefile: Likewise.
49868 2011-06-09 Roland McGrath <roland@hack.frob.com>
49870 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49871 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49872 (reloc-link): Likewise.
49874 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49876 * elf/Makefile: Add rules to build pldd.
49877 * elf/pldd.c: New file.
49878 * elf/pldd-xx.c: New file.
49880 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49882 * version.h: Update for 2.15 development version.
49884 2011-06-07 David S. Miller <davem@davemloft.net>
49886 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49889 elf_machine_lazy_rel): Likewise.
49890 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49892 elf_machine_lazy_rel): Likewise.
49893 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49894 dl_hwcap via passed in argument.
49895 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49898 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49900 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49902 2011-06-06 Roland McGrath <roland@hack.frob.com>
49905 * manual/fdl-1.1.texi: New file, verbatim from:
49906 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49907 * manual/lgpl-2.1.texi: New file, verbatim from:
49908 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49909 * manual/Makefile (licenses): New variable, list those new file names.
49911 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49913 * manual/fdl.texi: File removed.
49914 * manual/lesser.texi: File removed.
49915 * manual/libc.texinfo (Copying, Documentation License):
49916 Use new @include file names, put @appendix directive before @include.
49918 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49921 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49922 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49923 (mq_open): Add __NTH.
49925 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49928 Assume Intel Core i3/i5/i7 processor if AVX is available.
49930 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49935 2011-05-31 Andreas Schwab <schwab@redhat.com>
49937 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49938 memory. Use alloca_account. Fix memory leak when retrying.
49940 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49942 * version.h (RELEASE): Bump for 2.14 release.
49943 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49945 * config.make.in (RANLIB): Remove entry.
49947 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49949 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49950 (libc.pot): Work around missing support for .ksh extension in xgettext.
49953 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49954 if both request failed.
49955 (send_dg): In case of server errors clear resplen or *resplen2.
49958 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49959 when there are multiple maps.
49960 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49961 (_dl_fini): Remove test here.
49963 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49965 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49968 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49969 bit from old_res_options.
49970 (gaih_inet): Likewise.
49973 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49976 * resolv/res_init.c (res_setoptions): Make the code more compact.
49979 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49983 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49985 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49988 * malloc/malloc.h: Declare malloc hook variables as volatile.
49990 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49994 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49995 raise in the comment.
49996 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49997 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49998 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50000 2011-05-28 Ulrich Drepper <drepper@gmail.com>
50003 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50004 grow the buffers more if it already has to be sufficient.
50005 (build_wcs_upper_buffer): Likewise.
50006 * posix/regexec.c (check_matching): Likewise.
50007 (clean_state_log_if_needed): Likewise.
50008 (extend_buffers): Don't enlarge buffers beyond size of the input
50010 Patches mostly by Emil Wojak <emil@wojak.eu>.
50011 * posix/bug-regex32.c: New file.
50012 * posix/Makefile (tests): Add bug-regex32.
50014 * locale/findlocale.c (_nl_find_locale): Return right away if
50015 _nl_explode_name failed.
50016 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50018 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50020 * debug/xtrace.sh: Unify messages.
50021 * malloc/memusage.sh: Likewise.
50024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50025 time symbol from vDSO. Substitute with vsyscall if not available.
50026 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50029 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50030 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50031 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50032 Add sendmmsg and internal_sendmmsg.
50033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50034 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50035 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50037 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50038 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50041 2011-05-27 Ulrich Drepper <drepper@gmail.com>
50044 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50045 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50051 * iconvdata/Makefile (tests): Add bug-iconv9.
50052 * iconvdata/bug-iconv9.c: New file.
50054 2011-05-27 Andreas Schwab <schwab@redhat.com>
50057 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50059 2011-05-25 Jakub Jelinek <jakub@redhat.com>
50061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50062 (struct user_regs_struct): Change intcs field back to cs.
50064 2011-05-25 Ulrich Drepper <drepper@gmail.com>
50066 * po/ja.po: Update from translation team.
50068 2011-05-23 Ulrich Drepper <drepper@gmail.com>
50071 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50072 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50074 2011-05-20 Andreas Schwab <schwab@redhat.com>
50076 * stdlib/longlong.h: Update from GCC.
50078 2011-05-23 Andreas Schwab <schwab@redhat.com>
50080 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50082 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50083 Add parameter name.
50084 (__sysconf): Pass it down.
50086 2011-05-22 Ulrich Drepper <drepper@gmail.com>
50089 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50092 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50093 add in in __libc_use_alloca calls. Adjust callers.
50094 (glob): Use malloc in some situations.
50096 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50097 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50100 2011-05-21 Ulrich Drepper <drepper@gmail.com>
50102 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50103 and CLOCK_BOOTTIME_ALARM.
50106 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50109 * string/_strerror.c (__strerror_r): Print negative errors as signed
50113 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50114 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50115 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50117 * configure.in: Fix typo in redirection and correct removal of test
50118 files in two cases.
50121 * locale/setlocale.c (new_composite_name): Fix test to check for
50122 identical name of all categories.
50125 * libio/filedoalloc.c (local_isatty): New function.
50126 (_IO_file_doallocate): Use local_isatty.
50127 * stdio-common/perror.c (perror): In case a new stream is used
50128 forward the stream error.
50129 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50132 2011-05-20 Ulrich Drepper <drepper@gmail.com>
50135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50137 * include/alloca.h (extend_alloca_account): Define.
50140 * posix/regex.h: Fix comments with documentation of user-accessible
50141 fields after compilation and describe correct free'ing of pattern
50142 after re_compile_pattern.
50143 Patch by Reuben Thomas <rrt@sc3d.org>.
50145 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50147 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50148 and -mno-altivec to prevent the compiler from using Altivec and/or
50149 VSX instructions when the corresponding registers are not available.
50151 2011-05-19 Andreas Schwab <schwab@redhat.com>
50153 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50155 2011-05-19 Ulrich Drepper <drepper@gmail.com>
50157 * libio/freopen.c (freopen): Use __dup2, not dup2.
50158 * libio/freopen64.c (freopen64): Likewise.
50160 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50163 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50164 * math/Makefile (tests): Add test-powl.
50165 (CFLAGS-test-powl.c): Define.
50166 * math/test-powl.c: New file.
50168 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50170 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50172 2011-05-17 Ulrich Drepper <drepper@gmail.com>
50175 * iconvdata/gb18030.c: Update to GB18020-2005.
50177 2011-05-16 Ulrich Drepper <drepper@gmail.com>
50179 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50180 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50181 Patch by Aharon Robbins <arnold@skeeve.com>.
50184 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50188 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50189 through underflows.
50192 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50193 point to strings before performing equality test for error_one_per_line
50197 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50200 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50201 (struct user_fpregs_struct): Avoid __uint*_t types.
50204 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50205 symbol info. Use it instead of calling _dl_addr locally.
50206 (lock_and_info): New function.
50207 (tr_freehook): Call lock_and_info and pass symbol info as additional
50208 parameter to tr_where.
50209 (tr_mallochook): Likewise.
50210 (tr_reallochook): Likewise.
50211 (tr_memalignhook): Likewise.
50213 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50214 used and couldn't be at all thread-safe.
50216 2011-05-15 Ulrich Drepper <drepper@gmail.com>
50218 * libio/freopen.c (freopen): Don't close old file descriptor
50219 before the new one is opened. Instead dup the new file descriptor
50220 to the old one after the new stream is created.
50221 * libio/freopen64.c (freopen64): Likewise.
50222 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50223 * libio/fileops.c (_IO_new_file_close_it): Handle new
50224 _IO_FLAGS2_NOCLOSE flag.
50225 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50226 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50227 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50228 _IO_FLAGS2_NOCLOSE flag.
50229 * include/unistd.h: Add hidden_proto for dup3.
50230 Define __have_dup3.
50231 * io/dup3.c: Define hidden symbol.
50232 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50235 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50236 when an incomplete long option is used.
50237 * posix/tst-getopt_long1.c: New file.
50238 * posix/Makefile (tests): Add tst-getopt_long1.
50241 * scripts/config.guess: Update from autoconf-2.68.
50242 * scripts/config.sub: Likewise.
50245 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50247 (has_cpuclock): ...this. New function.
50248 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50249 macro here based on has_cpuclock code.
50252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50253 First byte (not low byte) is now always NUL.
50254 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50257 Use non-cancelable interfaces.
50260 * locale/iso-639.def: Add entry for Sorani.
50263 * include/stdlib.h: Move include protection to the right place.
50264 Define abort_msg_s. Declare __abort_msg with it.
50265 * stdlib/abort.c (__abort_msg): Adjust type.
50266 * assert/assert.c (__assert_fail_base): New function. Majority
50267 of code from __assert_fail. Allocate memory for __abort_msg with
50269 (__assert_fail): Now call __assert_fail_base.
50270 * assert/assert-perr.c: Remove bulk of implementation. Use
50271 __assert_fail_base.
50272 * include/assert.hL Declare __assert_fail_base.
50273 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50275 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50277 2011-05-14 Ulrich Drepper <drepper@gmail.com>
50281 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50282 until all modules are registered in the DTV.
50283 * elf/Makefile: Add rules to build and run tst-tls19.
50284 * elf/tst-tls19.c: New file.
50285 * elf/tst-tls19mod1.c: New file.
50286 * elf/tst-tls19mod2.c: New file.
50287 * elf/tst-tls19mod3.c: New file.
50288 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50291 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50295 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50296 two-byte sequence errors.
50297 * iconvdata/Makefile (tests): Add bug-iconv8.
50298 * iconvdata/bug-iconv8.c: New file.
50301 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50304 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50307 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50308 (dummy_getcfa): New function.
50309 (init): Get _Unwind_GetCFA address, use dummy if not found.
50310 (backtrace_helper): In recursion check, also check whether CFA changes.
50311 (__backtrace): Completely initialize arg.
50313 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50314 storing incomplete byte sequence in state object. Avoid testing for
50315 guaranteed too small input if we know there is enough data available.
50317 2011-05-11 Andreas Schwab <schwab@redhat.com>
50319 * Makeconfig (+link-pie): Indent.
50320 * Rules (binaries-pie): Define if $(have-fpie) and
50322 (binaries-shared): Also filter out $(binaries-pie).
50323 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50324 * nscd/Makefile (others-pie): Add nscd.
50325 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50326 ($(objpfx)nscd): Remove command override.
50327 * login/Makefile (others-pie): Add pt_chown.
50328 ($(objpfx)pt_chown): Remove command override.
50329 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50330 remove command overrides.
50332 2011-05-13 Ulrich Drepper <drepper@gmail.com>
50334 * libio/tst_putwc.c: Fix error messages.
50337 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50338 currently writing and seek to current position when not.
50339 * libio/Makefile (tests): Add bug-fclose1.
50340 * libio/bug-fclose1.c: New file.
50342 2011-05-12 Ulrich Drepper <drepper@gmail.com>
50345 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50346 don't set DF_1_NODELETE here.
50347 (do_lookup_x): When entering new entry test for copy relocation
50348 and if necessary set DF_1_NODELETE flag.
50349 * elf/tst-unique4.cc: New file.
50350 * elf/tst-unique4.h: New file.
50351 * elf/tst-unique4lib.cc: New file.
50352 * elf/Makefile: Add rules to build and run tst-unique4.
50353 Patch by Piotr Bury <pbury@goahead.com>.
50355 2011-05-11 Ulrich Drepper <drepper@gmail.com>
50358 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50361 * misc/mntent_r.c (addmntent): Flush the stream after the output
50364 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50365 (is_trusted_path_normalize): Skip initial colon. Append slash
50366 to empty buffer. Duplicate is_trusted_path code but allow
50367 constructed patch to be prefix.
50368 (is_dst): Allow $ORIGIN followed by /.
50369 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50370 Correct testing of result of is_trusted_path_normalize
50371 (decompose_rpath): Fix warning.
50373 2011-05-10 Ulrich Drepper <drepper@gmail.com>
50376 * grp/initgroups.c (internal_getgrouplist): When we found the service
50377 list through the initgroups entry in nsswitch.conf do not always
50378 continue on a successful lookup. Don't always use the
50379 __nss_group_database value if it is set.
50380 * nss/nsswitch.conf (initgroups): Change action for successful db
50381 lookup to continue for compatibility.
50383 2011-05-09 Ulrich Drepper <drepper@gmail.com>
50386 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50388 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50390 * iconvdata/tst-tables.sh: Likewise.
50391 * iconvdata/cp770.c: New file.
50392 * iconvdata/cp771.c: New file.
50393 * iconvdata/cp772.c: New file.
50394 * iconvdata/cp773.c: New file.
50395 * iconvdata/cp774.c: New file.
50396 * iconvdata/testdata/CP770: New file.
50397 * iconvdata/testdata/CP770..UTF8: New file.
50398 * iconvdata/testdata/CP771: New file.
50399 * iconvdata/testdata/CP771..UTF8: New file.
50400 * iconvdata/testdata/CP772: New file.
50401 * iconvdata/testdata/CP772..UTF8: New file.
50402 * iconvdata/testdata/CP773: New file.
50403 * iconvdata/testdata/CP773..UTF8: New file.
50404 * iconvdata/testdata/CP774: New file.
50405 * iconvdata/testdata/CP774..UTF8: New file.
50407 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50409 * iconvdata/gen-8bit-gap.sh: Likewise.
50410 * iconvdata/gen-8bit.sh: Likewise.
50412 * locale/iso-639.def: Add ary entry.
50415 * locale/C-translit.h.in: Add U20A1 transliteration.
50418 * locale/iso-639.def: Add wae entry.
50419 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50422 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50426 * locale/C-translit.h.in: Add entry for U20B9.
50427 Patch by pravin.d.s@gmail.com.
50429 2011-05-08 Ulrich Drepper <drepper@gmail.com>
50432 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50433 ENAMETOOLONG use generic getcwd.
50434 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50435 in rtld. Use *stat64.
50436 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50437 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50438 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50439 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50440 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50441 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50442 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50443 __fstatat64 macros.
50444 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50445 * dirent/rewinddir.c: Add libc_hidden_def.
50446 * sysdeps/mach/hurd/rewinddir.c: Likewise.
50447 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
50449 * include/dirent.h (__alloc_dir): Add flags parameter.
50450 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50451 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50453 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50454 from fdopendir if O_CLOEXEC is already set.
50456 2011-03-15 Alan Modra <amodra@gmail.com>
50458 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50459 l_tls_firstbyte_offset non-zero. Save padding offset in
50460 l_tls_firstbyte_offset for later use.
50461 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50462 freeing static tls block.
50464 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50466 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50467 where #ifdef was intended. The intent is to prevent ARG_MAX from
50468 being defined by the kernel headers.
50470 2011-05-07 Ulrich Drepper <drepper@gmail.com>
50473 * resolv/resolv.h: Define RES_NOTLDQUERY.
50474 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50475 no-tld-query and set RES_NOTLDQUERY.
50476 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50477 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50478 modern BIND to search name as TLD unless forbidden.
50480 2011-05-07 Petr Baudis <pasky@suse.cz>
50481 Ulrich Drepper <drepper@gmail.com>
50484 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50485 (is_trusted_path): ...to here.
50486 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50487 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50488 using is_trusted_path_normalize() in setuid scripts.
50490 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50492 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50493 __BEGIN/__END_DECLS.
50495 2011-05-06 Ulrich Drepper <drepper@gmail.com>
50497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50498 NSS_STATUS_NOTFOUND if no record was found.
50500 2011-05-05 Andreas Schwab <schwab@redhat.com>
50502 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50503 (headers-not-in-tirpc): Remove rpc/netdb.h
50504 * resolv/netdb.h: Revert last change.
50506 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50508 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50509 circular dependency between libgcc.a and libc.a.
50511 2011-05-05 Andreas Schwab <schwab@redhat.com>
50513 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50514 * nis/Makefile: Don't install rpcsvc/*.
50515 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50516 instead of <rpc/types.h>.
50517 (MAXHOSTNAMELEN): Define.
50519 2011-05-03 Andreas Schwab <schwab@redhat.com>
50521 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50523 2011-04-28 Maciej Babinski <mbabinski@google.com>
50526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50527 gethostbyname4_r when IPv6 results are possible.
50529 2011-05-02 Ulrich Drepper <drepper@gmail.com>
50532 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50533 _PC_PIPE_BUF handling.
50535 2011-04-30 Bruno Haible <bruno@clisp.org>
50538 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50539 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50541 * inet/getnameinfo.c (getnameinfo): Likewise.
50543 2011-04-29 Ulrich Drepper <drepper@gmail.com>
50545 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50546 to groups setting in database lookup.
50547 * nss/nsswitch.conf: Add initgroups entry.
50549 2011-04-22 Ulrich Drepper <drepper@gmail.com>
50552 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50554 Patch by Eric Blake <eblake@redhat.com>.
50556 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50558 * sunrpc/Makefile (need-export-routines): Add svc_run.
50559 (routines): Remove svc_run.
50560 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50561 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50562 * sunrpc/svc_run.c (svc_run): Likewise.
50563 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50565 2011-04-21 Ulrich Drepper <drepper@gmail.com>
50567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50568 problem in reallocation in last patch.
50570 2011-04-20 Ulrich Drepper <drepper@gmail.com>
50572 * sunrpc/Makefile: Move inclusion of Rules.
50574 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50576 * nss/nss_files/files-initgroups.c: New file.
50577 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50578 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50579 _nss_files_initgroups_dyn.
50581 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50583 * elf/elf.h (R_ARM_IRELATIVE): Define.
50585 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50587 * po/ru.po: Update from translation team.
50589 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50591 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50594 2011-02-06 Mike Frysinger <vapier@gentoo.org>
50597 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50598 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50603 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50607 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50608 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50611 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50614 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50616 * stdlib/bug-getcontext.c: New file.
50617 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50619 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50621 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50622 instructions into .machine "z9-109".
50623 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50624 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50626 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50628 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50629 between environment variables and auxiliary vector.
50631 2011-04-16 Ulrich Drepper <drepper@gmail.com>
50633 * Makefile: Add rules to build linkobj/libc.so.
50634 * include/libc-symbols.h: Define libc_hidden_nolink.
50635 * include/rpc/auth.h: Mark functions which are to be hidden.
50636 * include/rpc/auth_des.h: Likewise.
50637 * include/rpc/auth_unix.h: Likewise.
50638 * include/rpc/clnt.h: Likewise.
50639 * include/rpc/des_crypt.h: Likewise.
50640 * include/rpc/key_prot.h: Likewise.
50641 * include/rpc/pmap_clnt.h: Likewise.
50642 * include/rpc/pmap_prot.h: Likewise.
50643 * include/rpc/pmap_rmt.h: Likewise.
50644 * include/rpc/rpc_msg.h: Likewise.
50645 * include/rpc/svc.h: Likewise.
50646 * include/rpc/svc_auth.h: Likewise.
50647 * include/rpc/xdr.h: Likewise.
50648 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50649 * nss/Makefile: Likewise.
50650 * sunrpc/Makefile: Don't install headers. Build library with normal
50651 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50652 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50653 for the compat linking library. Remove use of INTDEF/INTUSE.
50654 * sunrpc/auth_none.c: Likewise.
50655 * sunrpc/auth_unix.c: Likewise.
50656 * sunrpc/authdes_prot.c: Likewise.
50657 * sunrpc/authuxprot.c: Likewise.
50658 * sunrpc/clnt_gen.c: Likewise.
50659 * sunrpc/clnt_perr.c: Likewise.
50660 * sunrpc/clnt_raw.c: Likewise.
50661 * sunrpc/clnt_simp.c: Likewise.
50662 * sunrpc/clnt_tcp.c: Likewise.
50663 * sunrpc/clnt_udp.c: Likewise.
50664 * sunrpc/clnt_unix.c: Likewise.
50665 * sunrpc/des_crypt.c: Likewise.
50666 * sunrpc/des_soft.c: Likewise.
50667 * sunrpc/get_myaddr.c: Likewise.
50668 * sunrpc/key_call.c: Likewise.
50669 * sunrpc/key_prot.c: Likewise.
50670 * sunrpc/netname.c: Likewise.
50671 * sunrpc/pm_getmaps.c: Likewise.
50672 * sunrpc/pm_getport.c: Likewise.
50673 * sunrpc/pmap_clnt.c: Likewise.
50674 * sunrpc/pmap_prot.c: Likewise.
50675 * sunrpc/pmap_prot2.c: Likewise.
50676 * sunrpc/pmap_rmt.c: Likewise.
50677 * sunrpc/publickey.c: Likewise.
50678 * sunrpc/rpc_cmsg.c: Likewise.
50679 * sunrpc/rpc_common.c: Likewise.
50680 * sunrpc/rpc_dtable.c: Likewise.
50681 * sunrpc/rpc_prot.c: Likewise.
50682 * sunrpc/rpc_thread.c: Likewise.
50683 * sunrpc/rtime.c: Likewise.
50684 * sunrpc/svc.c: Likewise.
50685 * sunrpc/svc_auth.c: Likewise.
50686 * sunrpc/svc_authux.c: Likewise.
50687 * sunrpc/svc_raw.c: Likewise.
50688 * sunrpc/svc_run.c: Likewise.
50689 * sunrpc/svc_simple.c: Likewise.
50690 * sunrpc/svc_tcp.c: Likewise.
50691 * sunrpc/svc_udp.c: Likewise.
50692 * sunrpc/svc_unix.c: Likewise.
50693 * sunrpc/svcauth_des.c: Likewise.
50694 * sunrpc/xcrypt.c: Likewise.
50695 * sunrpc/xdr.c: Likewise.
50696 * sunrpc/xdr_array.c: Likewise.
50697 * sunrpc/xdr_float.c: Likewise.
50698 * sunrpc/xdr_intXX_t.c: Likewise.
50699 * sunrpc/xdr_mem.c: Likewise.
50700 * sunrpc/xdr_rec.c: Likewise.
50701 * sunrpc/xdr_ref.c: Likewise.
50702 * sunrpc/xdr_sizeof.c: Likewise.
50703 * sunrpc/xdr_stdio.c: Likewise.
50705 2011-04-10 Ulrich Drepper <drepper@gmail.com>
50708 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50709 * sysdeps/ia64/dl-tls.h: Likewise.
50710 * sysdeps/powerpc/dl-tls.h: Likewise.
50711 * sysdeps/s390/dl-tls.h: Likewise.
50712 * sysdeps/sh/dl-tls.h: Likewise.
50713 * sysdeps/sparc/dl-tls.h: Likewise.
50714 * sysdeps/x86_64/dl-tls.h: Likewise.
50715 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50717 2011-03-14 Andreas Schwab <schwab@redhat.com>
50719 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50720 rpath element also skip the following colon.
50721 (expand_dynamic_string_token): Add is_path parameter and pass
50722 down to DL_DST_REQUIRED and _dl_dst_substitute.
50723 (decompose_rpath): Call expand_dynamic_string_token with
50724 non-zero is_path. Ignore empty rpaths.
50725 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50728 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50733 2011-04-09 Ulrich Drepper <drepper@gmail.com>
50736 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50737 Patch by Filipe David Manana <fdmanana@apache.org>.
50739 2011-04-07 Andreas Schwab <schwab@redhat.com>
50741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50742 Maintain aligned stack.
50743 (CHECK_RSP): Remove unused macro.
50745 2011-04-03 Ulrich Drepper <drepper@gmail.com>
50747 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50750 2011-04-02 Ulrich Drepper <drepper@gmail.com>
50752 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50754 * include/features.h: Mention __USE_XOPEN2K8 in comment.
50756 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50759 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50760 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50761 * sysdeps/x86_64/memmove.c: New file.
50762 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50763 (memcpy): Renamed to ...
50764 (__new_memcpy): This.
50765 (memcpy): Provide GLIBC_2_14 memcpy.
50766 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50767 (memcpy): Provide GLIBC_2_2_5 memcpy.
50769 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50772 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50774 2011-03-30 Andreas Schwab <schwab@redhat.com>
50776 * misc/syncfs.c: New file.
50777 * misc/Makefile (routines): Add syncfs.
50778 * posix/unistd.h: Declare syncfs.
50779 * sysdeps/unix/syscalls.list: Add syncfs.
50781 2011-04-01 Andreas Schwab <schwab@redhat.com>
50783 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50787 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50788 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50790 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50791 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50793 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50795 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50797 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50798 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50799 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50801 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50803 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50804 sync_file_range.c with -fexceptions.
50805 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50806 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50807 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50808 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50809 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50810 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50812 sync_file_range as cancellation point
50813 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50814 now a wrapper around __call_sync_file_range with cancellation handling.
50815 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50816 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50817 function name to __call_sync_file_range.
50818 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50819 Add call_sync_file_range.
50821 2011-04-01 Andreas Schwab <schwab@redhat.com>
50823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50826 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50828 * iconv/iconv.h: Fix typo in comment.
50829 * io/fcntl.h: Likewise.
50830 * libio/stdio.h: Likewise.
50831 * posix/spawn.h: Likewise.
50832 * posix/unistd.h: Likewise.
50833 * stdlib/stdlib.h: Likewise.
50834 * time/time.h: Likewise.
50835 * wcsmbs/wchar.h: Likewise.
50837 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50838 open_by_handle): Add.
50839 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50840 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50841 Augment a few comments.
50842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50844 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50847 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50850 * io/fcntl.h (AT_EMPTY_PATH): Define.
50852 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50854 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50855 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50856 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50858 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50859 * Versions.def: Add GLIBC_2.14.
50860 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50863 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50865 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50867 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50869 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50872 * string/test-strncmp.c (do_page_test): New function.
50873 (check2): Likewise.
50874 (test_main): Call check2.
50875 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50877 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50880 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50881 Handle cache information in CPU leaf 4.
50882 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50884 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50887 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50888 character representation.
50889 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50891 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50893 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50894 END(__isnan) to END(__isnanf) to match function entry point/label
50895 EALIGN(__isnanf,...).
50897 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50899 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50901 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50904 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50905 copy from the symbol referenced in the relocation to initialize the
50907 Patch by Piotr Bury <pbury@goahead.com>.
50908 * elf/Makefile: Add rules to build and tst-unique3.
50909 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50910 * elf/tst-unique3.cc: New file.
50911 * elf/tst-unique3.h: New file.
50912 * elf/tst-unique3lib.cc: New file.
50913 * elf/tst-unique3lib2.cc: New file.
50915 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50917 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50919 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50920 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50923 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50925 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50926 to-be-loaded object along a path to loader is ld.so.
50928 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50929 Ulrich Drepper <drepper@gmail.com>
50931 * sysdeps/x86_64/memset.S: After aligning destination, code
50932 branches to different locations depending on the value of
50933 misalignment, when multiarch is enabled. Fix this.
50935 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50937 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50938 Set _x86_64_preferred_memory_instruction for AMD processsors.
50939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50940 Set bit_Prefer_SSE_for_memop for AMD processors.
50942 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50944 * libio/fmemopen.c (fmemopen): Optimize a bit.
50946 2011-03-03 Andreas Schwab <schwab@redhat.com>
50948 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50950 2011-03-03 Roland McGrath <roland@redhat.com>
50952 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50954 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50956 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50957 __bzero_ultra1 instead of __memset_ultra1.
50959 2011-02-23 Andreas Schwab <schwab@redhat.com>
50960 Ulrich Drepper <drepper@gmail.com>
50963 * include/link.h (struct link_map): Add l_orig_initfini.
50964 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50965 returning unsuccessfully.
50966 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50967 close of a file loaded at startup, restore the original l_initfini
50969 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50970 list, store the pointer.
50971 * elf/Makefile ($(objpfx)noload-mem): New rule.
50972 (noload-ENV): Define.
50973 (tests): Add $(objpfx)noload-mem.
50974 * elf/noload.c: Include <memcheck.h>.
50975 (main): Call mtrace. Close all opened handles.
50977 2011-02-17 Andreas Schwab <schwab@redhat.com>
50980 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50981 dependencies are missing.
50983 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50985 Fix __if_freereq crash: Unlike the generic version which uses free,
50987 * sysdeps/mach/hurd/ifreq.h: New file.
50989 2011-01-27 Petr Baudis <pasky@suse.cz>
50990 Ulrich Drepper <drepper@gmail.com>
50993 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50994 to extend_alloca().
50995 * stdio-common/bug23.c: New file.
50996 * stdio-common/Makefile (tests): Add bug23.
50998 2010-09-28 Andreas Schwab <schwab@redhat.com>
50999 Ulrich Drepper <drepper@gmail.com>
51002 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51003 before performing relro protection. At old place add assertion
51004 to make sure nothing changed.
51006 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51007 Glauber de Oliveira Costa <glommer@gmail.com>
51009 * elf/elf.h: Add new ARM TLS relocs.
51011 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51014 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51016 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51018 * sysdeps/wordsize-64/tst-writev.c: New file.
51020 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51022 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51023 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51024 insns in _dl_start to prevent a TOC reference before relocs are
51027 2011-02-15 Ulrich Drepper <drepper@gmail.com>
51030 * Makeconfig: Remove RANLIB definition.
51031 * Makerules: Don't use RANLIB.
51032 * aclocal.m4: Remove ranlib test.
51033 * configure.in: No need to check for ranlib.
51034 * elf/rtld-Rules: Don't use RANLIB.
51036 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51038 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51040 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51041 inclusion protection macro.
51043 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51044 SIGRTMIN and SIGRTMAX and print information in that case only when
51045 SIGRTMIN is defined.
51047 2011-02-11 Jakub Jelinek <jakub@redhat.com>
51049 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51050 arginfo fn returning -1.
51052 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51053 and thousands string is zero terminated.
51055 2011-02-03 Andreas Schwab <schwab@redhat.com>
51057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51058 sysdeps/unix/sysv/linux/bits/socket.h.
51060 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51062 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51063 (__CPU_COUNT): Remove old macros.
51064 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51065 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51066 (__CPU_ALLOC, __CPU_FREE): Add macros.
51067 (__sched_cpualloc, __sched_cpufree): Add declarations.
51069 2011-02-05 Ulrich Drepper <drepper@gmail.com>
51071 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51072 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51073 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51074 (readdhstai): Return value of addhstaiX call.
51075 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51076 (addgrbyX): Return value returned by cache_addgr.
51077 (readdgrbyname): Return value returned by addgrbyX.
51078 (readdgrbygid): Likewise.
51079 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51080 (addpwbyX): Return value returned by cache_addpw.
51081 (readdpwbyname): Return value returned by addhstbyX.
51082 (readdpwbyuid): Likewise.
51083 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51084 (addservbyX): Return value returned by cache_addserv.
51085 (readdservbyname): Return value returned by addservbyX:
51086 (readdservbyport): Likewise.
51087 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51088 (addhstbyX): Return value returned by cache_addhst.
51089 (readdhstbyname): Return value returned by addhstbyX.
51090 (readdhstbyaddr): Likewise.
51091 (readdhstbynamev6): Likewise.
51092 (readdhstbyaddrv6): Likewise.
51093 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51094 (readdinitgroups): Return value returned by addinitgroupsX.
51095 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51096 (prune_cache): Keep track of timeout value of re-added entries.
51097 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51098 * nscd/nscd.h: Adjust prototypes of readd* functions.
51100 2011-02-04 Roland McGrath <roland@redhat.com>
51102 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51103 (nis_stats): Likewise.
51104 * nis/nis_modify.c (nis_modify): Likewise.
51105 * nis/nis_remove.c (nis_remove): Likewise.
51106 * nis/nis_add.c (nis_add): Likewise.
51108 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51110 * posix/fnmatch_loop.c: Add some consts.
51112 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51114 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51117 * config.make.in (config-cflags-novzeroupper): Define.
51118 * configure.in: Substitute libc_cv_cc_novzeroupper.
51119 * elf/Makefile (AVX-CFLAGS): Define.
51120 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51121 (CFLAGS-tst-auditmod4a.c): Likewise.
51122 (CFLAGS-tst-auditmod4b.c): Likewise.
51123 (CFLAGS-tst-auditmod6b.c): Likewise.
51124 (CFLAGS-tst-auditmod6c.c): Likewise.
51125 (CFLAGS-tst-auditmod7b.c): Likewise.
51126 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51128 2011-02-02 Ulrich Drepper <drepper@gmail.com>
51130 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51131 function to the callback.
51132 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51134 2011-02-02 Andreas Schwab <schwab@redhat.com>
51136 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51139 2011-01-19 Ulrich Drepper <drepper@gmail.com>
51142 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51144 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51146 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51149 * elf/Makefile: Add rules to build and run new test.
51150 * elf/tst-initorder.c: New file.
51151 * elf/tst-initorder.exp: New file.
51152 * elf/tst-initordera1.c: New file.
51153 * elf/tst-initordera2.c: New file.
51154 * elf/tst-initordera3.c: New file.
51155 * elf/tst-initordera4.c: New file.
51156 * elf/tst-initorderb1.c: New file.
51157 * elf/tst-initorderb2.c: New file.
51158 * elf/tst-order-a1.c: New file.
51159 * elf/tst-order-a2.c: New file.
51160 * elf/tst-order-a3.c: New file.
51161 * elf/tst-order-a4.c: New file.
51162 * elf/tst-order-b1.c: New file.
51163 * elf/tst-order-b2.c: New file.
51164 * elf/tst-order-main.c: New file.
51165 New test case by George Gensure <werkt0@gmail.com>.
51167 2010-10-01 Andreas Schwab <schwab@redhat.com>
51169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51170 decoding ACE if AI_CANONIDN.
51172 2011-01-18 Ulrich Drepper <drepper@gmail.com>
51174 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51176 2011-01-17 Ulrich Drepper <drepper@gmail.com>
51178 * version.h (RELEASE): Bump for 2.13 release.
51179 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51181 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51183 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51185 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51187 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51188 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51189 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51190 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51192 * posix/getconf.c: Update copyright year.
51193 * catgets/gencat.c: Likewise.
51194 * csu/version.c: Likewise.
51195 * debug/catchsegv.sh: Likewise.
51196 * debug/xtrace.sh: Likewise.
51197 * elf/ldconfig.c: Likewise.
51198 * elf/ldd.bash.in: Likewise.
51199 * elf/sprof.c (print_version): Likewise.
51200 * iconv/iconv_prog.c: Likewise.
51201 * iconv/iconvconfig.c: Likewise.
51202 * locale/programs/locale.c: Likewise.
51203 * locale/programs/localedef.c: Likewise.
51204 * malloc/memusage.sh: Likewise.
51205 * malloc/mtrace.pl: Likewise.
51206 * nscd/nscd.c (print_version): Likewise.
51207 * nss/getent.c: Likewise.
51209 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51210 PF_CAIF, and PF_ALG.
51211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51213 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51215 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51216 (modules-names): Use them.
51217 (ifunc-test-modules, ifunc-pie-tests): Define.
51218 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51219 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51220 (test-extras): Likewise.
51221 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51222 $(compile-command.c).
51223 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51224 (all-built-dso): Define.
51225 (check-textrel.out, check-execstack.out): Depend on it.
51227 * configure.in: Don't override --enable-multi-arch.
51229 2011-01-15 Ulrich Drepper <drepper@gmail.com>
51232 * nscd/hstcache.c (tryagain): Define.
51233 (cache_addhst): Return tryagain not notfound for temporary errors.
51234 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51237 2011-01-14 Ulrich Drepper <drepper@gmail.com>
51240 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51241 to make the syscall.
51242 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51245 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51246 and fall back to matching as normal character if the string ends before
51247 the matching ']' is found. This is what POSIX requires.
51248 * posix/testfnm.c: Adjust test result.
51249 * posix/globtest.sh: Adjust test result. Add new test.
51250 * posix/tst-fnmatch.input: Likewise.
51251 * posix/tst-fnmatch2.c: Add new test.
51253 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51255 * elf/Makefile (check-execstack): Revert last change. Depend on
51257 (check-execstack.h): New target.
51258 (generated): Add check-execstack.h.
51259 * elf/check-execstack.c: Include "check-execstack.h".
51260 (main): Revert last change.
51261 (handle_file): Return zero if GNU_STACK is absent and
51262 DEFAULT_STACK_PERMS doesn't include PF_X.
51264 2011-01-13 Ulrich Drepper <drepper@gmail.com>
51266 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51267 in child fails because the descriptor is already closed.
51268 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51269 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51270 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51273 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51277 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51278 temporary buffer used to handle multi lookups locally.
51279 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51281 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51283 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51286 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51288 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51289 alignment for SSE2.
51291 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51294 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51295 characters. When rounding increased number of integer digits recompute
51297 * stdio-common/tst-grouping.c: New file.
51298 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51300 2011-01-09 Ulrich Drepper <drepper@gmail.com>
51302 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51303 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51305 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51307 * bits/select.h: Likewise.
51309 2011-01-08 Ulrich Drepper <drepper@gmail.com>
51311 * po/ja.po: Update from translation team.
51313 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
51316 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51317 implementation just like for lxstat, fxstatat, et al.
51319 2010-12-27 Jim Meyering <meyering@redhat.com>
51322 * posix/regexec.c (build_trtable): Return failure indication upon
51323 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51325 2010-12-25 Ulrich Drepper <drepper@gmail.com>
51328 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51329 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51330 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51331 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51334 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51337 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51338 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51340 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51342 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51343 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51344 script has SORT_BY_INIT_PRIORITY.
51345 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51346 NO_CTORS_DTORS_SECTIONS is defined.
51347 * elf/soinit.c: Likewise.
51348 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51349 NO_CTORS_DTORS_SECTIONS is defined.
51350 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51351 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51352 * sysdeps/sh/init-first.c: Likewise.
51353 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51355 2010-12-24 Ulrich Drepper <drepper@gmail.com>
51357 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51358 always use the slow path.
51360 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51362 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51363 similar rule which adds the sysdep directories to the header search in
51364 order to pick up the correct platform stackinfo.h.
51365 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51366 perform test if it is, otherwise return successfully without testing.
51367 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51368 DEFAULT_STACK_PERMS define in stackinfo.h.
51369 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51370 defined in stackinfo.h.
51371 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51372 DEFAULT_STACK_PERMS defined in stackinfo.h.
51373 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51374 * sysdeps/ia64/stackinfo.h: Likewise.
51375 * sysdeps/s390/stackinfo.h: Likewise.
51376 * sysdeps/sh/stackinfo.h: Likewise.
51377 * sysdeps/sparc/stackinfo.h: Likewise.
51378 * sysdeps/x86_64/stackinfo.h: Likewise.
51379 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51380 PF_X for powerpc64. Retain PF_X for powerpc32.
51382 2010-12-19 Ulrich Drepper <drepper@gmail.com>
51384 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51386 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51387 GETDENTS_64BIT_ALIGNED.
51389 2010-12-14 Ulrich Drepper <dreper@gmail.com>
51391 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51393 2010-12-10 Andreas Schwab <schwab@redhat.com>
51395 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51398 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51399 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51401 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51402 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51404 2010-12-09 Ulrich Drepper <drepper@gmail.com>
51407 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51410 2010-12-09 Jakub Jelinek <jakub@redhat.com>
51412 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51414 2010-12-03 Ulrich Drepper <drepper@gmail.com>
51416 * po/it.po: Update from translation team.
51418 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51423 2010-11-30 Ulrich Drepper <drepper@gmail.com>
51425 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51427 2010-11-24 Andreas Schwab <schwab@redhat.com>
51429 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51431 (gaih_getanswer_slice): Likewise.
51433 2010-10-20 Jakub Jelinek <jakub@redhat.com>
51435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51437 2010-05-31 Petr Baudis <pasky@suse.cz>
51440 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51441 silently even in the chroot mode.
51443 2010-11-22 Ulrich Drepper <drepper@gmail.com>
51445 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51446 last patch a bit. Pretty printing
51448 2010-05-31 Petr Baudis <pasky@suse.cz>
51451 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51452 initialization of skip_initgroups_dyn.
51454 2010-11-19 Ulrich Drepper <drepper@gmail.com>
51456 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51459 2010-11-16 Ulrich Drepper <drepper@gmail.com>
51461 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51463 2010-11-11 Andreas Schwab <schwab@redhat.com>
51465 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51466 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51467 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51468 ($(objpfx)tst-fnmatch-mem): New rule.
51469 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51470 * posix/tst-fnmatch.c (main): Call mtrace.
51472 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51475 Support Intel processor model 6 and model 0x2c.
51477 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
51479 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51482 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51485 * string/test-strncasecmp.c (check_result): New function.
51486 (do_one_test): Use it.
51487 (check1): New function.
51488 (test_main): Use it.
51489 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51490 Support strcasecmp and strncasecmp.
51492 2010-11-08 Ulrich Drepper <drepper@gmail.com>
51495 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51498 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51500 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51504 * sysdeps/x86_64/multiarch/bzero.S: New file.
51505 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51506 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51507 * sysdeps/x86_64/multiarch/memset.S: New file.
51508 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51510 Set bit_Prefer_SSE_for_memop for Intel processors.
51511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51513 (index_Prefer_SSE_for_memop): Define.
51514 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51516 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
51518 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51519 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51521 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51524 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51525 (__x86_64_raw_data_cache_size_half): Likewise.
51526 (__x86_64_raw_shared_cache_size): Likewise.
51527 (__x86_64_raw_shared_cache_size_half): Likewise.
51529 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51530 (__x86_64_raw_data_cache_size_half): Likewise.
51531 (__x86_64_raw_shared_cache_size): Likewise.
51532 (__x86_64_raw_shared_cache_size_half): Likewise.
51533 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51534 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51535 and __x86_64_raw_shared_cache_size_half. Round
51536 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51537 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51538 to multiple of 256 bytes.
51540 2010-11-03 Ulrich Drepper <drepper@gmail.com>
51543 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51544 of inacessible symlinks. Verify result of symlink before returning it.
51545 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51546 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51548 2010-10-28 Erich Ritz <erichritz@gmail.com>
51550 * math/math.h (isinf): Fix typo in comment.
51552 2010-11-01 Ulrich Drepper <drepper@gmail.com>
51554 * po/da.po: Update from translation team.
51556 2010-10-26 Ulrich Drepper <drepper@gmail.com>
51558 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51559 is added to the list.
51561 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51562 Ulrich Drepper <drepper@gmail.com>
51564 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51565 the global list here. Move code to...
51566 (_dl_add_to_namespace_list): ...here. New function.
51567 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51568 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51569 * elf/dl-load.c (lose): Don't remove the element from the list.
51570 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51571 (_dl_map_object): Likewise.
51573 2010-10-25 Ulrich Drepper <drepper@gmail.com>
51576 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51577 into all bytes of SSE register.
51578 Patch by Richard Li <richardpku@gmail.com>.
51580 2010-10-24 Ulrich Drepper <drepper@gmail.com>
51583 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51586 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51588 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51589 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51590 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51591 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51596 2010-10-22 Andreas Schwab <schwab@redhat.com>
51598 * include/dlfcn.h (__RTLD_SECURE): Define.
51599 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51600 mode & __RTLD_SECURE instead.
51601 (open_path): Rename preloaded parameter to secure.
51602 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51603 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51604 * elf/dl-deps.c (openaux): Likewise.
51605 * elf/rtld.c (struct map_args): Remove is_preloaded.
51606 (map_doit): Don't use it.
51607 (dl_main): Likewise.
51608 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51609 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51611 2010-09-09 Andreas Schwab <schwab@redhat.com>
51613 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51614 (sysd-rules-targets): Remove duplicates.
51615 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51616 rtld-%.$o dependency.
51618 2010-10-18 Andreas Schwab <schwab@redhat.com>
51620 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51621 _dl_map_object do it.
51623 2010-10-19 Ulrich Drepper <drepper@gmail.com>
51625 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51626 fast fma builtins, define the macros in the C99 standard.
51627 (FP_FAST_FMAF): Likewise.
51628 (FP_FAST_FMAL): Likewise.
51629 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51631 * bits/mathdef.h: Update copyright year.
51632 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51634 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51636 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51637 builtins, define the macros in the C99 standard.
51638 (FP_FAST_FMAF): Likewise.
51639 (FP_FAST_FMAL): Likewise.
51640 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51642 (FP_FAST_FMAF): Likewise.
51644 2010-10-15 Jakub Jelinek <jakub@redhat.com>
51647 * math/libm-test.inc (fma_test): Some new testcases.
51648 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51649 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51650 y and infinite z. Do multiplication by C already in long double.
51651 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51653 y and infinite z. Do bitwise or of inexact bit into u.d.
51654 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51655 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51656 * sysdeps/i386/fpu/s_fma.S: Removed.
51657 * sysdeps/i386/fpu/s_fmal.S: Removed.
51659 2010-10-16 Jakub Jelinek <jakub@redhat.com>
51662 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51664 computation is not scheduled after fetestexcept. Fix value
51665 of minimum denormal long double.
51667 2010-10-14 Jakub Jelinek <jakub@redhat.com>
51670 * math/libm-test.inc (fma_test): Add some more tests.
51671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51674 2010-10-15 Andreas Schwab <schwab@redhat.com>
51676 * scripts/data/localplt-s390-linux-gnu.data: New file.
51677 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51679 2010-10-13 Jakub Jelinek <jakub@redhat.com>
51682 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51683 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51685 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51687 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51689 if one of x and y is very large and the other is subnormal.
51690 * sysdeps/s390/fpu/s_fmaf.c: New file.
51691 * sysdeps/s390/fpu/s_fma.c: New file.
51692 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51693 * sysdeps/powerpc/fpu/s_fma.S: New file.
51694 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51695 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51696 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51698 2010-10-12 Jakub Jelinek <jakub@redhat.com>
51701 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51703 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51704 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51705 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51706 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51707 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51708 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51709 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51711 2010-10-12 Ulrich Drepper <drepper@redhat.com>
51714 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51715 * posix/bug-regex31.input: Add test case.
51717 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51719 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51720 * posix/bug-regex31.input: New file.
51723 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51724 (parse_sub_exp): Fix last change, use postorder.
51726 * posix/bug-regex31.c: New file.
51727 * posix/Makefile: Add rules to build and run bug-regex31.
51729 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51732 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51735 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51736 to have entries in sys_siglist.
51739 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51742 2010-10-07 Jakub Jelinek <jakub@redhat.com>
51745 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51746 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51747 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51748 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51749 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51750 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51751 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51752 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51753 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51754 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51755 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51756 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51757 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51758 * math/ftestexcept.c (fetestexcept): Likewise.
51759 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51760 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51761 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51762 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51763 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51764 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51765 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51767 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51770 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51773 2010-10-06 Ulrich Drepper <drepper@gmail.com>
51775 * string/bug-strstr1.c: New file.
51776 * string/Makefile: Add rules to build and run bug-strstr1.
51778 2010-10-05 Eric Blake <eblake@redhat.com>
51781 * string/str-two-way.h (two_way_long_needle): Always clear memory
51782 when skipping input due to the shift table.
51784 2010-10-03 Ulrich Drepper <drepper@gmail.com>
51787 * malloc/mcheck.c: Handle large requests.
51790 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51791 for strncmp and strncasecmp.
51792 * string/stratcliff.c: Add tests for strcmp and strncmp.
51793 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51795 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51797 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51800 2010-09-30 Andreas Jaeger <aj@suse.de>
51802 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51803 (CGROUP_SUPER_MAGIC): Define.
51804 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51805 Handle btrfs and cgroup file systems.
51806 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51809 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
51811 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51812 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51814 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51817 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51818 trying to locate the ELF header.
51820 2010-09-27 Andreas Schwab <schwab@redhat.com>
51823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51824 Mask out sign-bit copies when constructing f_fsid.
51826 2010-09-24 Petr Baudis <pasky@suse.cz>
51828 * debug/stack_chk_fail_local.c: Add missing licence exception.
51829 * debug/warning-nop.c: Likewise.
51831 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51833 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51834 implementing getdents64 using getdents syscall, set d_type if
51835 __ASSUME_GETDENTS32_D_TYPE.
51837 2010-09-16 Andreas Schwab <schwab@redhat.com>
51839 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51840 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51842 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51845 * posix/unistd.h: Undo change of feature selection for ftruncate from
51848 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51850 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51853 2010-09-20 Andreas Schwab <schwab@redhat.com>
51855 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51857 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51859 2010-09-14 Andreas Schwab <schwab@redhat.com>
51861 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51862 variables after CHECK_SP call.
51863 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51865 2010-09-13 Andreas Schwab <schwab@redhat.com>
51866 Ulrich Drepper <drepper@redhat.com>
51868 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51869 re-relocationg ld.so.
51870 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51871 _dl_init_paths call.
51872 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51875 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51877 * resolv/res_init.c (__res_vinit): Count the default server we added.
51879 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51880 Ulrich Drepper <drepper@redhat.com>
51883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51884 (____longjmp_chk): Use %ebx for saving value across system call.
51887 2010-09-06 Andreas Schwab <schwab@redhat.com>
51889 * manual/Makefile: Don't mix pattern rules with normal rules.
51891 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51893 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51895 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51896 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51897 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51898 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51902 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51905 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51906 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51908 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51910 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51911 * sysdeps/x86_64/addmul_1.S: Likewise.
51912 * sysdeps/x86_64/lshift.S: Likewise.
51913 * sysdeps/x86_64/mul_1.S: Likewise.
51914 * sysdeps/x86_64/rshift.S: Likewise.
51915 * sysdeps/x86_64/sub_n.S: Likewise.
51916 * sysdeps/x86_64/submul_1.S: Likewise.
51918 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51920 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51921 Define __sched_param instead of SCHED_* and sched_param when
51922 <bits/sched.h> is included with __need_schedparam defined.
51923 * bits/sched.h [__need_schedparam]
51924 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51925 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51926 (__defined_schedparam): Define to 1.
51927 (__sched_param): New structure, identical to sched_param.
51928 (__need_schedparam): Undefine.
51930 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51932 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51933 (epoll_create1): Declare.
51935 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51937 2010-08-31 Andreas Schwab <schwab@redhat.com>
51940 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51941 shifting retval into place.
51943 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51945 * nis/rpcsvc/nis.h: Update copyright notice.
51946 * nis/rpcsvc/nis.x: Likewise.
51947 * nis/rpcsvc/nis_callback.h: Likewise.
51948 * nis/rpcsvc/nis_callback.x: Likewise.
51949 * nis/rpcsvc/nis_object.x: Likewise.
51950 * nis/rpcsvc/nis_tags.h: Likewise.
51951 * nis/rpcsvc/yp.h: Likewise.
51952 * nis/rpcsvc/yp.x: Likewise.
51953 * nis/rpcsvc/ypupd.h: Likewise.
51954 * nis/yp_xdr.c: Likewise.
51955 * nis/ypupdate_xdr.c: Likewise.
51957 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51958 mainly the body of pmap_getport. Add parameters to specify timeouts.
51959 (pmap_getport): Use __libc_rpc_getport.
51960 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51961 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51962 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51964 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51969 2010-08-27 Roland McGrath <roland@redhat.com>
51971 * sysdeps/i386/i686/multiarch/Makefile
51972 (CFLAGS-varshift.c): New variable.
51974 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51976 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51977 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51981 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51983 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51985 * sysdeps/x86_64/strlen.S: Unroll the loop.
51986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51987 strlen-sse2 strlen-sse2-bsf.
51988 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51989 __strlen_no_bsf if bit_Slow_BSF is set.
51990 (__strlen_sse42): Removed.
51991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51992 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51994 2010-08-25 Roland McGrath <roland@redhat.com>
51996 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51997 * sysdeps/x86_64/multiarch/varshift.c: New file.
51998 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51999 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52000 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52001 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52003 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52006 strlen-sse2 strlen-sse2-bsf.
52007 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52008 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52009 (__strlen_sse2): Removed.
52010 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52011 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52013 bit_Slow_BSF for Atom.
52014 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52015 (index_Slow_BSF): Define.
52016 (HAS_SLOW_BSF): Define.
52018 2010-08-25 Ulrich Drepper <drepper@redhat.com>
52021 * resolv/res_init.c (__res_vinit): When no server address at all
52022 is given default to loopback.
52024 2010-08-24 Roland McGrath <roland@redhat.com>
52026 * configure.in: Remove config-name.h generation.
52027 * configure: Regenerated.
52028 * config-name.in: File removed.
52029 * scripts/config-uname.sh: New file.
52030 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52031 ($(objdir)config-name.h): New target.
52033 * sunrpc/rpc_parse.h: Avoid nested comment.
52035 2010-08-24 Richard Henderson <rth@redhat.com>
52036 Ulrich Drepper <drepper@redhat.com>
52037 H.J. Lu <hongjiu.lu@intel.com>
52039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52041 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52042 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52043 _mm_alignr_epi8 with _mm_loadu_si128.
52044 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52045 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52046 (__m128i_shift_right): Removed.
52047 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52048 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52049 * sysdeps/x86_64/multiarch/varshift.h: New file.
52050 * sysdeps/x86_64/multiarch/varshift.S: New file.
52052 2010-08-21 Mike Frysinger <vapier@gentoo.org>
52054 * configure.in: Move assembler checks to before sysdep dir checking.
52056 2010-08-20 Petr Baudis <pasky@suse.cz>
52058 * LICENSES: Sync the sunrpc license.
52060 2010-08-19 Ulrich Drepper <drepper@redhat.com>
52062 * sunrpc/auth_des.c: Update copyright notice once again.
52063 * sunrpc/auth_none.c: Likewise.
52064 * sunrpc/auth_unix.c: Likewise.
52065 * sunrpc/authdes_prot.c: Likewise.
52066 * sunrpc/authuxprot.c: Likewise.
52067 * sunrpc/bindrsvprt.c: Likewise.
52068 * sunrpc/clnt_gen.c: Likewise.
52069 * sunrpc/clnt_perr.c: Likewise.
52070 * sunrpc/clnt_raw.c: Likewise.
52071 * sunrpc/clnt_simp.c: Likewise.
52072 * sunrpc/clnt_tcp.c: Likewise.
52073 * sunrpc/clnt_udp.c: Likewise.
52074 * sunrpc/clnt_unix.c: Likewise.
52075 * sunrpc/des_crypt.c: Likewise.
52076 * sunrpc/des_soft.c: Likewise.
52077 * sunrpc/get_myaddr.c: Likewise.
52078 * sunrpc/getrpcport.c: Likewise.
52079 * sunrpc/key_call.c: Likewise.
52080 * sunrpc/key_prot.c: Likewise.
52081 * sunrpc/openchild.c: Likewise.
52082 * sunrpc/pm_getmaps.c: Likewise.
52083 * sunrpc/pm_getport.c: Likewise.
52084 * sunrpc/pmap_clnt.c: Likewise.
52085 * sunrpc/pmap_prot.c: Likewise.
52086 * sunrpc/pmap_prot2.c: Likewise.
52087 * sunrpc/pmap_rmt.c: Likewise.
52088 * sunrpc/rpc/auth.h: Likewise.
52089 * sunrpc/rpc/auth_unix.h: Likewise.
52090 * sunrpc/rpc/clnt.h: Likewise.
52091 * sunrpc/rpc/des_crypt.h: Likewise.
52092 * sunrpc/rpc/key_prot.h: Likewise.
52093 * sunrpc/rpc/netdb.h: Likewise.
52094 * sunrpc/rpc/pmap_clnt.h: Likewise.
52095 * sunrpc/rpc/pmap_prot.h: Likewise.
52096 * sunrpc/rpc/pmap_rmt.h: Likewise.
52097 * sunrpc/rpc/rpc.h: Likewise.
52098 * sunrpc/rpc/rpc_des.h: Likewise.
52099 * sunrpc/rpc/rpc_msg.h: Likewise.
52100 * sunrpc/rpc/svc.h: Likewise.
52101 * sunrpc/rpc/svc_auth.h: Likewise.
52102 * sunrpc/rpc/types.h: Likewise.
52103 * sunrpc/rpc/xdr.h: Likewise.
52104 * sunrpc/rpc_clntout.c: Likewise.
52105 * sunrpc/rpc_cmsg.c: Likewise.
52106 * sunrpc/rpc_common.c: Likewise.
52107 * sunrpc/rpc_cout.c: Likewise.
52108 * sunrpc/rpc_dtable.c: Likewise.
52109 * sunrpc/rpc_hout.c: Likewise.
52110 * sunrpc/rpc_main.c: Likewise.
52111 * sunrpc/rpc_parse.c: Likewise.
52112 * sunrpc/rpc_parse.h: Likewise.
52113 * sunrpc/rpc_prot.c: Likewise.
52114 * sunrpc/rpc_sample.c: Likewise.
52115 * sunrpc/rpc_scan.c: Likewise.
52116 * sunrpc/rpc_scan.h: Likewise.
52117 * sunrpc/rpc_svcout.c: Likewise.
52118 * sunrpc/rpc_tblout.c: Likewise.
52119 * sunrpc/rpc_util.c: Likewise.
52120 * sunrpc/rpc_util.h: Likewise.
52121 * sunrpc/rpcinfo.c: Likewise.
52122 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52123 * sunrpc/rpcsvc/key_prot.x: Likewise.
52124 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52125 * sunrpc/rpcsvc/mount.x: Likewise.
52126 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52127 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52128 * sunrpc/rpcsvc/rex.x: Likewise.
52129 * sunrpc/rpcsvc/rstat.x: Likewise.
52130 * sunrpc/rpcsvc/rusers.x: Likewise.
52131 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52132 * sunrpc/rpcsvc/spray.x: Likewise.
52133 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52134 * sunrpc/rtime.c: Likewise.
52135 * sunrpc/svc.c: Likewise.
52136 * sunrpc/svc_auth.c: Likewise.
52137 * sunrpc/svc_authux.c: Likewise.
52138 * sunrpc/svc_raw.c: Likewise.
52139 * sunrpc/svc_run.c: Likewise.
52140 * sunrpc/svc_simple.c: Likewise.
52141 * sunrpc/svc_tcp.c: Likewise.
52142 * sunrpc/svc_udp.c: Likewise.
52143 * sunrpc/svc_unix.c: Likewise.
52144 * sunrpc/svcauth_des.c: Likewise.
52145 * sunrpc/xcrypt.c: Likewise.
52146 * sunrpc/xdr.c: Likewise.
52147 * sunrpc/xdr_array.c: Likewise.
52148 * sunrpc/xdr_float.c: Likewise.
52149 * sunrpc/xdr_mem.c: Likewise.
52150 * sunrpc/xdr_rec.c: Likewise.
52151 * sunrpc/xdr_ref.c: Likewise.
52152 * sunrpc/xdr_sizeof.c: Likewise.
52153 * sunrpc/xdr_stdio.c: Likewise.
52155 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52158 2010-08-19 Andreas Schwab <schwab@redhat.com>
52160 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52162 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
52164 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52165 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52166 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52167 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52168 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52169 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52170 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52171 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52172 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52173 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52174 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52175 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52176 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52177 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52179 2010-07-26 Anton Blanchard <anton@samba.org>
52181 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52182 * malloc/arena.c (heap_trim): Likewise.
52184 2010-08-16 Ulrich Drepper <drepper@redhat.com>
52186 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52189 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52191 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52193 * sysdeps/i386/elf/Makefile: New file.
52195 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52197 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52198 from fanotify_init.
52199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52202 2010-08-15 Ulrich Drepper <drepper@redhat.com>
52204 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52206 * sysdeps/multiarch/strcmp.S: Likewise.
52208 2010-08-14 Ulrich Drepper <drepper@redhat.com>
52210 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52211 strncase_l-nonascii.
52212 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52213 Add strncase_l-ssse3.
52214 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52215 * sysdeps/x86_64/strcmp.S: Likewise.
52216 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52217 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52218 * sysdeps/x86_64/strncase.S: New file.
52219 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52220 * sysdeps/x86_64/strncase_l.S: New file.
52221 * string/Makefile (strop-tests): Add strncasecmp.
52222 * string/test-strncasecmp.c: New file.
52224 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52227 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52228 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52230 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52232 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52234 2010-08-12 Ulrich Drepper <drepper@redhat.com>
52236 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52237 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52238 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52240 2010-05-01 Alan Modra <amodra@gmail.com>
52242 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52243 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52244 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52245 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52246 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52247 tidying. Don't tail-call __sigjmp_save for static lib.
52248 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52250 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52251 (CALL_MCOUNT): Add eh info, and nop after bl.
52252 (TAIL_CALL_SYSCALL_ERROR): New macro.
52253 (PSEUDO_RET): Use it.
52254 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52255 Correct save location of integer regs and cr.
52256 (_dl_profile_resolve): Correct cr save location. Delete nops
52257 after bl when SHARED. Reduce cfi size a little by better
52258 placement of cfi directives.
52259 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52260 make a stack frame. Instead use parm save area as a temp.
52261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52262 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52264 Don't make a stack frame for parent, use parm save area.
52265 Increase child stack frame to 112 bytes. Don't save unused reg,
52266 and adjust reg usage. Set up cfi on error recovery and
52267 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52269 (__makecontext): Add dummy nop after jump to exit.
52270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52271 Use correct parm save area and cr save, reduce stack frame.
52272 Correct cfi for possible PSEUDO_RET frame setup.
52273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52274 Branch to local label emitted by PSEUDO_RET rather than
52277 2010-08-12 Andreas Schwab <schwab@redhat.com>
52280 * locale/programs/locale.c (print_assignment): New function.
52281 (show_locale_vars): Use it.
52283 2010-08-11 Ulrich Drepper <drepper@redhat.com>
52285 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52287 (struct statfs64): Likewise.
52288 (_STATFS_F_FLAGS): Define.
52289 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52290 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52291 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52292 (ST_VALID): Define locally.
52293 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52294 __statvfs_getflags, use the provided value.
52295 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52296 __ASSUME_STATFS_F_FLAGS.
52298 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52300 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52301 Add sys/fanotify.h.
52302 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52303 fanotify_mask for GLIBC_2.13.
52304 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52305 fanotify_init and fanotify_mark.
52306 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52307 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52309 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52311 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52312 prlimit64 for GLIBC_2.13.
52313 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52315 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52318 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52319 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52320 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52323 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52326 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52327 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52329 * nss/Makefile: Add rules to build and run tst-nss-test1.
52330 * shlib-versions: Add entry for libnss_test1.
52331 * nss/nss_test1.c: New file.
52332 * nss/tst-nss-test1.c: New file.
52334 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52335 (__nss_configure_lookup): Set appropriate entry in
52336 __nss_configure_lookup to true.
52337 * nss/nsswitch.h: Define enum with indeces of databases in
52338 databases and __nss_database_custom arrays. Declare
52339 __nss_database_custom.
52340 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52341 to avoid using nscd when custom rules are installed.
52342 * nss/getXXbyYY_r.c: Likewise.
52343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52345 * nss/nss_files/files-parse.c: Whitespace fixes.
52347 2010-08-09 Ulrich Drepper <drepper@redhat.com>
52350 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52351 * posix/fnmatch_loop.c: Likewise.
52353 2010-07-17 Andi Kleen <ak@linux.intel.com>
52355 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52356 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52357 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52358 * Versions.def [GLIBC_2.13]: Add.
52360 2010-08-06 Ulrich Drepper <drepper@redhat.com>
52362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52363 Also fail if tpwd after pwuid call is NULL.
52365 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52367 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52368 when converting to ms.
52370 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52372 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52373 EOPNOTSUPP errors with ENOTTY.
52374 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52375 EOPNOTSUPP errors with ENOTTY.
52377 2010-07-31 Ulrich Drepper <drepper@redhat.com>
52379 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52380 Add strcasecmp_l-ssse3.
52381 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52383 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52384 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52385 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52387 2010-07-30 Ulrich Drepper <drepper@redhat.com>
52389 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52391 * string/Makefile (strop-tests): Add strcasecmp.
52392 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52393 strcasecmp_l-nonascii.
52394 (gen-as-const-headers): Add locale-defines.sym.
52395 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52396 * sysdeps/x86_64/strcasecmp.S: New file.
52397 * sysdeps/x86_64/strcasecmp_l.S: New file.
52398 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52399 * sysdeps/x86_64/locale-defines.sym: New file.
52400 * string/test-strcasecmp.c: New file.
52402 * string/test-strcasestr.c: Test both ends of the range of characters.
52403 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52405 2010-07-29 Roland McGrath <roland@redhat.com>
52408 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52410 2010-07-27 Ulrich Drepper <drepper@redhat.com>
52412 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52415 2010-07-27 Andreas Schwab <schwab@redhat.com>
52417 * manual/memory.texi (Malloc Tunable Parameters): Document
52420 2010-07-26 Roland McGrath <roland@redhat.com>
52423 * configure.in (-fgnu89-inline check): Set and substitute
52424 gnu89_inline, not libc_cv_gnu89_inline.
52425 * configure: Regenerated.
52426 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52428 2010-07-26 Ulrich Drepper <drepper@redhat.com>
52430 * string/test-strnlen.c: New file.
52431 * string/Makefile (strop-tests): Add strnlen.
52432 * string/tester.c (test_strnlen): Add a few more test cases.
52433 * string/tst-strlen.c: Better error reporting.
52435 * sysdeps/x86_64/strnlen.S: New file.
52437 2010-07-24 Ulrich Drepper <drepper@redhat.com>
52439 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52440 lower-latency instructions.
52442 2010-07-23 Ulrich Drepper <drepper@redhat.com>
52444 * string/test-strcasestr.c: New file.
52445 * string/test-strstr.c: New file.
52446 * string/Makefile (strop-tests): Add strstr and strcasestr.
52447 * string/str-two-way.h: Don't undefine MAX.
52448 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52450 2010-07-21 Andreas Schwab <schwab@redhat.com>
52452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52453 strcasestr-nonascii.
52454 (CFLAGS-strcasestr-nonascii.c): Define.
52455 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52457 Remove unused attribute.
52459 2010-07-20 Roland McGrath <roland@redhat.com>
52461 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52462 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52463 ld.so.cache was broken. With it, there is no way to disable dsocaps
52464 like LD_HWCAP_MASK can disable hwcaps.
52466 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52468 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52470 2010-07-16 Ulrich Drepper <drepper@redhat.com>
52472 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52473 call in strcasestr.
52474 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52475 __strcasestr_sse42_nonascii.
52476 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52477 strcasestr-nonascii.c.
52478 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52480 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
52482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52483 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52485 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52487 2010-07-09 Ulrich Drepper <drepper@redhat.com>
52489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52492 2010-07-06 Andreas Schwab <schwab@redhat.com>
52495 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52498 2010-07-06 Ulrich Drepper <drepper@redhat.com>
52500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52501 _PC_PIPE_BUF using F_GETPIPE_SZ.
52503 2010-07-05 Roland McGrath <roland@redhat.com>
52505 * manual/arith.texi (Rounding Functions): Fix rint description
52506 implicit in round description.
52508 2010-07-02 Ulrich Drepper <drepper@redhat.com>
52510 * elf/Makefile: Fix linking for a few tests to make recent linker
52513 2010-06-30 Andreas Schwab <schwab@redhat.com>
52515 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52516 $(common-objpfx)libc_nonshared.a.
52518 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
52520 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52521 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52522 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52523 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52524 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52525 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52526 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52527 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52542 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52543 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52544 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52545 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52546 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52547 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52548 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52549 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52550 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52551 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52552 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52553 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52569 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52571 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52572 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52573 * string/memmove.c (memmove): Renamed to ...
52574 (MEMMOVE): ...this. Default to memmove.
52575 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52576 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52579 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52580 mempcpy-ssse3-back memmove-ssse3-back.
52581 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52582 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52583 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52584 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52585 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52586 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52587 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52588 * sysdeps/x86_64/multiarch/memmove.c: New file.
52589 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52590 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52591 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52592 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52593 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52596 (index_Fast_Copy_Backward): Define.
52597 (HAS_ARCH_FEATURE): Define.
52598 (HAS_FAST_REP_STRING): Define.
52599 (HAS_FAST_COPY_BACKWARD): Define.
52601 2010-06-21 Andreas Schwab <schwab@redhat.com>
52603 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52604 Restore proper fallback handling.
52606 2010-06-19 Ulrich Drepper <drepper@redhat.com>
52609 * posix/group_member.c (__group_member): Correct checking loop.
52611 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52612 OOM in getpwuid_r correctly. Return error number when the caller
52613 should return, otherwise -1.
52614 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52615 call returning > 0 value.
52616 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52618 2010-06-07 Andreas Schwab <schwab@redhat.com>
52620 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52621 libc_nonshared.a from targets in modules-names.
52623 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52625 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52628 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
52630 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52631 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52632 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52633 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52635 2010-06-02 Andreas Schwab <schwab@redhat.com>
52637 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52639 2010-06-14 Ulrich Drepper <drepper@redhat.com>
52641 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52648 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52650 2010-06-14 Roland McGrath <roland@redhat.com>
52652 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52654 2010-06-07 Jakub Jelinek <jakub@redhat.com>
52656 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52657 __REDIRECT followed by __THROW.
52658 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52659 * posix/getopt.h (getopt): Likewise.
52661 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52663 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52664 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52665 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52667 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52668 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52670 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
52672 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52674 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52678 Properly check family and model.
52680 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52682 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52684 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
52686 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52688 2010-05-21 Ulrich Drepper <drepper@redhat.com>
52690 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52693 2010-05-19 Andreas Schwab <schwab@redhat.com>
52695 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52698 2010-05-21 Andreas Schwab <schwab@redhat.com>
52700 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52701 and internal_recvmmsg.
52702 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52703 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52704 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52705 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52707 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52708 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52709 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52711 2010-05-20 Andreas Schwab <schwab@redhat.com>
52713 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52715 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
52717 POWER7 optimizations.
52718 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52719 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52721 2010-05-19 Ulrich Drepper <drepper@redhat.com>
52723 * version.h: Update for 2.13 development version.
52725 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
52727 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52728 exceptions. Return 0.
52730 2010-05-07 Roland McGrath <roland@redhat.com>
52732 * elf/ldconfig.c (main): Add a const.
52734 2010-05-06 Ulrich Drepper <drepper@redhat.com>
52736 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52737 (args_options): Add no-idn option.
52738 (ahosts_keys_int): Add idn_flags to ai_flags.
52739 (parse_option): Handle 'i' option to clear idn_flags.
52741 * malloc/malloc.c (_int_free): Possible race in the most recently
52742 added check. Only act on the data if no current modification
52745 See ChangeLog.17 for earlier changes.