1 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6 * include/libc-symbols.h (IS_IN_LIB): New macro.
7 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8 * include/netdb.h: Likewise.
9 * include/stap-probe.h: Remove all uses of IN_LIB.
11 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13 * include/libc-symbols.h (IN_MODULE): Define using
15 (PASTE_NAME, PASTE_NAME1): New macros.
16 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18 (STAP_PROBE_ASM): Likewise.
20 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
22 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23 __mach_init in dlopened libc.
25 2014-11-22 Mike Frysinger <vapier@gentoo.org>
27 * sysdeps/arm/preconfigure.ac: Delete EABI check.
28 * sysdeps/arm/preconfigure: Regenerate.
30 2014-11-21 Roland McGrath <roland@hack.frob.com>
32 * nptl/pthread_create.c (__pthread_create_2_1): Set
33 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
34 when copying values from IATTR into PD.
36 2014-11-21 Will Newton <will.newton@linaro.org>
37 Andrew Pinski <andrew.pinski@caviumnetworks.com>
39 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40 Refactor inline-asm. Also add comment.
42 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43 ElfW macro instead of hardcoded Elf64 types.
44 (la_aarch64_gnu_pltenter): Likewise.
45 * sysdeps/aarch64/dl-machine.h
46 (elf_machine_runtime_setup): Use ElfW(Addr).
48 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
49 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
50 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
51 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
52 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
53 (R_AARCH64_TLS_DTPMOD64): Rename to ..
54 (R_AARCH64_TLS_DTPMOD): This.
55 (R_AARCH64_TLS_DTPREL64): Rename to ...
56 (R_AARCH64_TLS_DTPREL): This.
57 (R_AARCH64_TLS_TPREL64): Rename to ...
58 (R_AARCH64_TLS_TPREL): This.
59 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
60 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
61 R_AARCH64_TLS_TPREL64.
62 (elf_machine_rela): Likewise.
64 2014-11-21 Torvald Riegel <triegel@redhat.com>
66 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
67 by setting it to 0. 64b atomics are not supported currently.
69 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
72 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
75 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
79 * resolv/res_query.c (__libc_res_nquerydomain): Retain
81 * posix/tst-getaddrinfo5.c: New.
82 * posix/Makefile (tests): Add it.
84 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
88 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
89 after parsing line but before break_if_match.
90 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
91 if there is a protocol mismatch.
93 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
95 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
96 because the potential race is on the user-supplied stream.
98 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
100 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
101 string literal if not passed a buffer.
102 * manual/job.texi (ctermid): Update reasoning, note deviation
103 from posix, suggest mtasurace when not passed a buffer, for
104 future non-preliminary safety notes.
106 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
108 * manual/users.texi (cuserid): Fix MT-Safety note for the case
109 of not passing it a buffer.
110 Reported by Peng Haitao.
112 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
114 * manual/Makefile ($(objpfx)stamp-summary): Require
115 check-safety.sh to pass.
116 * manual/check-safety.sh: Wish for verification that every
117 @deftypefn and @deftypefun is followed by a @safety remark.
119 2014-11-20 Roland McGrath <roland@hack.frob.com>
121 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
123 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
124 PTHREAD_CANCEL_ASYNCHRONOUS.
125 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
128 * nptl/default-sched.h: New file.
129 * sysdeps/unix/sysv/linux/default-sched.h: New file.
130 * nptl/pthread_create.c: Include it.
131 (__pthread_create_2_1): Use collect_default_sched instead of making
132 Linux syscalls here directly.
134 2014-11-20 Torvald Riegel <triegel@redhat.com>
136 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
137 __pthread_once): Use C11 atomics.
139 2014-11-20 Torvald Riegel <triegel@redhat.com>
141 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
143 2014-11-20 Torvald Riegel <triegel@redhat.com>
145 * include/atomic.h (__atomic_link_error, __atomic_check_size,
146 atomic_thread_fence_acquire, atomic_thread_fence_release,
147 atomic_thread_fence_seq_cst, atomic_load_relaxed,
148 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
149 atomic_compare_exchange_weak_relaxed,
150 atomic_compare_exchange_weak_acquire,
151 atomic_compare_exchange_weak_release,
152 atomic_exchange_acquire, atomic_exchange_release,
153 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
154 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
155 atomic_fetch_and_acquire,
156 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
158 2014-11-20 Torvald Riegel <triegel@redhat.com>
160 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
161 USE_ATOMIC_COMPILER_BUILTINS): Define.
162 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
163 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
164 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
165 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
166 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
167 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
168 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
169 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
170 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
171 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
172 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
173 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
174 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
175 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
176 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
177 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
178 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
179 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
180 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
181 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
182 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
183 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
184 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
185 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
186 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
187 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
188 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
189 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
190 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
192 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
193 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
194 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
195 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
196 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
197 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
198 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
199 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
200 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
201 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
203 2014-11-19 Roland McGrath <roland@hack.frob.com>
205 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
206 the sched_priority value here. It was already checked when the user
207 called pthread_attr_setschedparam.
209 * nptl/tst-bad-schedattr.c: New file.
210 * nptl/Makefile (tests): Add it.
212 2014-11-19 Carlos O'Donell <carlos@redhat.com>
213 Florian Weimer <fweimer@redhat.com>
214 Joseph Myers <joseph@codesourcery.com>
215 Adam Conrad <adconrad@0c3.net>
216 Andreas Schwab <schwab@suse.de>
217 Brooks <bmoses@google.com>
220 * wordexp-test.c (__dso_handle): Add prototype.
221 (__register_atfork): Likewise.
222 (__app_register_atfork): New function.
223 (registered_forks): New global.
224 (register_fork): New function.
225 (test_case): Add 3 new tests for WRDE_CMDSUB.
226 (main): Call __app_register_atfork.
227 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
228 fork count is non-zero fail the test.
229 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
231 (parse_dollars): Remove check for WRDE_NOCMD.
232 (parse_dquote): Likewise.
234 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
236 * Makeconfig (built-modules): List non-library modules to be
238 (module-cppflags): Include libc-modules.h for
239 everything except shlib-versions.v.i.
241 (before-compile): Add libc-modules.h.
242 ($(common-objpfx)libc-modules.h,
243 $(common-objpfx)libc-modules.stmp): New targets.
244 (common-generated): Add libc-modules.h and libc-modules.stmp.
245 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
246 * include/libc-symbols.h: Don't include libc-modules.h.
247 * include/libc-modules.h: Remove file.
248 * scripts/gen-libc-modules.awk: New script to generate
250 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
251 Depend on libc-modules.stmp.
253 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
255 * Makeconfig (in-module): Get value of libof set for the
257 (CPPFLAGS): Use $(in-module).
258 * Makerules: Don't suffix routine names for nonlib.
259 * include/libc-modules.h: New file.
260 * include/libc-symbols.h: Include libc-modules.h
261 (IS_IN): New macro to replace IS_IN_* macros.
262 * elf/Makefile: Set libof-* for each routine.
263 * elf/rtld-Rules: Likewise.
264 * extra-modules.mk: Likewise.
265 * iconv/Makefile: Likewise.
266 * iconvdata/Makefile: Likewise.
267 * locale/Makefile: Likewise.
268 * malloc/Makefile: Likewise.
269 * nss/Makefile: Likewise.
270 * sysdeps/gnu/Makefile: Likewise.
271 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
272 * sysdeps/unix/sysv/linux/Makefile: Likewise.
273 * sysdeps/s390/s390-64/Makefile: Likewise.
274 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
275 CPPFLAGS for nscd instead of nonlib.
277 2014-11-18 Roland McGrath <roland@hack.frob.com>
279 * nptl/createthread.c: New file.
281 * nptl/createthread.c: Moved ...
282 * sysdeps/unix/sysv/linux/createthread.c: ... here.
284 * nptl/createthread.c: Add proper top-line comment.
285 (do_clone): Folded into ...
286 (create_thread): ... here. Take new arguments STOPPED_START and
287 THREAD_RAN. Always set PD->stopped_start to something here. Don't
288 increment __nptl_threads, do event-reporting logic, do
289 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
290 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
291 resource cleanup if sched_setaffinity or sched_setscheduler fails,
293 * nptl/pthread_create.c: Forward-declare create_thread before
294 including createthread.c.
295 (start_thread): Use new macro START_THREAD_DEFN to replace defining
296 declaration, and new macro START_THREAD_SELF to replace argument.
297 Remove return statement.
298 (report_thread_creation): New function.
299 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
300 synchronization logic, and __nptl_nthreads increment here, around
301 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
302 PD->parent_cancelhandling here, before create_thread. When
303 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
304 __deallocate_stack, and ENOMEM translation here.
306 2014-11-18 Joseph Myers <joseph@codesourcery.com>
309 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
310 (mptwo): Rename to __mptwo.
311 (__inv): Use __mptwo instead of mptwo.
312 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
313 (mptwo): Rename to __mptwo.
314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
315 of mpone and __mptwo instead of mptwo.
316 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
319 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
320 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
321 of mpone and __mptwo instead of mptwo.
322 (__mpranred): Use __mpone instead of mpone.
323 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
325 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
326 (test-xfail-ISO99/math.h/linknamespace): Likewise.
327 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
328 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
329 (test-xfail-ISO11/math.h/linknamespace): Likewise.
330 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
331 (test-xfail-XPG3/math.h/linknamespace): Likewise.
332 (test-xfail-XPG4/math.h/linknamespace): Likewise.
333 (test-xfail-POSIX/math.h/linknamespace): Likewise.
334 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
335 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
336 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
337 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
338 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
339 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
340 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
341 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
342 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
343 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
345 2014-11-18 Tom de Vries <tom@codesoucery.com>
347 * manual/signal.texi (Primitives Interrupted by Signals): In section,
348 replace BSD Handler xref with BSD Signal Handling.
350 2014-11-17 Richard Henderson <rth@redhat.com>
352 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
353 (_FP_PACK_RAW_2): Remove.
354 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
355 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
356 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
357 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
358 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
359 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
360 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
361 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
362 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
363 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
364 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
365 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
366 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
367 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
368 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
369 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
371 2014-11-14 Roland McGrath <roland@hack.frob.com>
373 * signal/signal.h [__USE_MISC]
374 (struct sigvec): Remove type.
375 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
376 (sigvec): Remove declaration.
377 * sysdeps/posix/sigvec.c: Moved ...
378 * signal/sigvec.c: ... here, replacing old file.
379 (struct sigvec): New type, copied from old signal.h definition.
380 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
381 (__sigvec): Convert definition to prototype.
382 (sigvec): Replace weak_alias with compat_symbol.
383 * signal/Versions (libc: GLIBC_2.21): New version set.
384 * include/signal.h: Remove __sigvec declaration.
385 * sysdeps/unix/bsd/sigvec.c: Remove file.
386 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
387 * manual/signal.texi (BSD Handler): Remove subsection.
388 Move siginterrupt up to ...
389 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
390 (Blocking in BSD): Fold subsection into its parent.
391 * NEWS: Mention sigvec removal.
393 2014-11-14 Joseph Myers <joseph@codesourcery.com>
395 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
396 (DLA_FMS): Make definition conditional only on [__FMA4__].
397 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
400 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
401 Make definition conditional only on [PROF].
402 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
404 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
405 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
407 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
409 * include/signal.h (__sigpause): Move declaration above call to
411 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
413 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
414 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
416 2014-11-14 David S. Miller <davem@davemloft.net>
418 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
419 Define before including <string/memcpy.c> and <string/mempcpy.c>.
421 2014-11-14 Joseph Myers <joseph@codesourcery.com>
423 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
424 * configure: Regenerated.
425 * manual/install.texi (Tools for Compilation): Document a
426 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
427 compiler verified to work.
428 * INSTALL: Regenerated.
430 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
431 redeclare with asm name.
432 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
433 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
434 including <string.h>.
435 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
436 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
437 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
438 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
439 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
440 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
441 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
443 2014-11-13 Joseph Myers <joseph@codesourcery.com>
445 * stdlib/strtol.c (__strtol): Use prototype definition.
448 * stdlib/strtol.c (SYM__): New macro.
450 (__strtol): Likewise.
451 (strtol): Rename to __strtol and define as weak alias of
452 __strtol. Use libc_hidden_weak.
454 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
456 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
457 Use numbered labels in inline assembly.
459 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
461 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
462 Add setjmp LIBC_PROBE.
463 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
465 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
466 Add longjmp, longjmp_target LIBC_PROBE.
467 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
470 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
472 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
473 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
474 to get rid of unused variable warning.
476 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
478 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
479 Check for unwind_backtrace == NULL only in SHARED case.
480 (__backchain_backtrace): Compile only in SHARED case.
481 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
483 (__backchain_backtrace): Declare as static.
485 2014-11-12 Roland McGrath <roland@hack.frob.com>
487 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
488 (__libc_multiple_threads_ptr): Variable moved ...
489 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
491 2014-11-12 Joseph Myers <joseph@codesourcery.com>
493 * conform/GlibcConform.pm: New file.
494 * conform/conformtest.pl: Use GlibcConform module.
495 * conform/linknamespace.pl: New file.
496 * conform/list-header-symbols.pl: Likewise.
497 * conform/Makefile (linknamespace-symlists-base): New variable.
498 (linknamespace-symlists-tests): Likewise.
499 (linknamespace-header-base): Likewise.
500 (linknamespace-header-tests): Likewise.
501 (tests-special): Add new tests.
502 ($(linknamespace-symlists-tests)): New rule.
503 (linknamespace-libs): New variable.
504 ($(objpfx)symlist-stdlibs): New rule.
505 ($(linknamespace-header-tests)): Likewise.
506 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
507 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
508 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
509 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
510 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
511 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
512 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
513 (test-xfail-ISO/math.h/linknamespace): Likewise.
514 (test-xfail-ISO/signal.h/linknamespace): Likewise.
515 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
516 (test-xfail-ISO/time.h/linknamespace): Likewise.
517 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
518 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
519 (test-xfail-ISO99/math.h/linknamespace): Likewise.
520 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
521 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
522 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
523 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
524 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
525 (test-xfail-ISO11/math.h/linknamespace): Likewise.
526 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
527 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
528 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
529 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
530 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
531 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
532 (test-xfail-XPG3/math.h/linknamespace): Likewise.
533 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
534 (test-xfail-XPG3/search.h/linknamespace): Likewise.
535 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
536 (test-xfail-XPG3/time.h/linknamespace): Likewise.
537 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
538 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
539 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
540 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
541 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
542 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
543 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
544 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
545 (test-xfail-XPG4/math.h/linknamespace): Likewise.
546 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
547 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
548 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
549 (test-xfail-XPG4/search.h/linknamespace): Likewise.
550 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
551 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
552 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
553 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
554 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
555 (test-xfail-XPG4/time.h/linknamespace): Likewise.
556 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
557 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
558 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
559 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
560 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
561 (test-xfail-POSIX/math.h/linknamespace): Likewise.
562 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
563 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
564 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
565 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
566 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
567 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
568 (test-xfail-POSIX/time.h/linknamespace): Likewise.
569 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
570 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
571 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
572 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
573 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
574 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
575 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
576 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
577 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
578 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
579 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
580 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
581 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
582 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
583 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
584 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
585 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
586 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
587 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
588 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
589 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
590 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
591 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
592 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
593 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
594 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
595 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
596 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
597 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
598 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
599 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
600 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
601 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
602 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
603 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
604 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
605 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
606 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
607 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
608 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
609 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
610 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
611 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
612 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
613 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
614 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
615 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
616 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
617 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
618 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
619 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
620 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
621 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
622 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
623 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
624 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
625 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
626 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
627 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
628 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
629 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
630 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
631 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
632 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
633 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
634 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
635 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
636 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
637 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
638 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
639 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
640 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
641 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
642 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
643 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
644 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
645 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
646 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
647 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
648 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
649 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
650 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
651 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
652 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
653 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
654 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
655 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
656 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
657 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
658 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
659 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
660 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
661 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
662 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
663 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
664 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
665 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
666 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
669 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
673 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
674 (memmem): Rename to __memmem and define as weak alias of
675 __memmem. Use libc_hidden_weak.
676 (__memmem): Use libc_hidden_def.
677 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
678 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
682 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
683 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
684 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
685 and define as weak alias of __fgets_unlocked. Use
687 (__fgets_unlocked): Use libc_hidden_def.
688 * include/stdio.h (__fgets_unlocked): Declare. Use
690 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
691 __fgets_unlocked instead of fgets_unlocked.
692 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
693 (GET_NPROCS_CONF_PARSER): Likewise.
694 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
695 (GET_NPROCS_CONF_PARSER): Likewise.
698 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
699 weak alias of __wmemset. Use libc_hidden_weak.
700 (__wmemset): Use libc_hidden_def.
701 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
702 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
706 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
707 with asm name __mempcpy.
708 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
711 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
712 and define as weak alias of __rawmemchr.
713 (__rawmemchr): Do not define as strong alias of rawmemchr.
716 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
718 (qsort): Call __qsort_r instead of qsort_r.
719 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
720 (__qsort_r): Declare. Call libc_hidden_proto.
721 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
723 * nscd/gai.c (__qsort_r): Define to qsort_r.
724 * posix/tst-rfc3484.c (__qsort_r): Likewise.
725 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
726 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
729 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
730 define as weak alias of __malloc_info.
733 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
734 as weak alias of __rewinddir. Don't use libc_hidden_def.
735 (__rewinddir): Use libc_hidden_def.
736 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
737 as weak alias of __rewinddir. Don't use libc_hidden_def.
738 (__rewinddir): Use libc_hidden_def.
739 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
740 weak alias of __rewinddir. Don't use libc_hidden_def.
741 (__rewinddir): Use libc_hidden_def.
742 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
743 (__rewinddir): Use libc_hidden_proto.
744 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
746 (__getcwd): Use __rewinddir instead of rewinddir.
749 * libio/fileno.c (fileno): Rename to __fileno and define as weak
750 alias of __fileno. Use libc_hidden_weak.
751 (__fileno): Use libc_hidden_def.
752 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
753 * libio/ftello.c (ftello): Rename to __ftello and define as weak
755 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
757 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
758 (__fread_unlocked): Define as strong alias of _IO_fread. Use
760 (fread_unlocked): Don't use libc_hidden_ver.
761 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
762 and define as weak alias of __fread_unlocked. Don't use
764 (__fread_unlocked): Use libc_hidden_def.
765 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
766 (ftello): Don't use libc_hidden_proto.
767 (__ftello): Declare. Use libc_hidden_proto.
768 (fread_unlocked): Don't use libc_hidden_proto.
769 (__fread_unlocked): Declare. Use libc_hidden_proto.
770 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
771 and __ftello instead of fileno, fread_unlocked and ftello.
773 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
775 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
777 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
779 (_dl_start_user): Likewise.
780 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
782 2014-11-12 Carlos O'Donell <carlos@redhat.com>
783 Siddhesh Poyarekar <siddhesh@redhat.com>
785 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
786 Move argv and envp down instead of moving argc up.
787 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
789 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
792 * test-skeleton.c (main): Return successful if one of
793 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
794 * string/tst-strcoll-overflow.c: Define expected status.
796 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
799 * locale/iso-639.def: Define Bhili and Tulu language codes.
801 2014-11-11 Alan Hayward <alan.hayward@arm.com>
803 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
805 2014-11-10 Renlin Li <Renlin.Li@arm.com>
808 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
810 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
812 * configure.ac: Updated check of minimal required version to
814 * manual/install.texi (Tools for Compilation): Updated version
816 * configure: Regenerated.
819 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
821 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
824 2014-11-07 Joseph Myers <joseph@codesourcery.com>
826 * include/sys/wait.h (__libc_waitpid): Remove declaration.
827 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
828 (__waitpid): Don't define as alias. Use libc_hidden_def not
830 (waitpid): Define as alias of __waitpid.
831 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
833 (__waitpid): Don't define as alias. Use libc_hidden_def not
835 (waitpid): Define as alias of __waitpid.
836 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
837 __libc_waitpid alias.
838 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
841 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
842 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
843 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
845 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
847 (__waitpid): Don't define as alias. Use libc_hidden_def not
849 (waitpid): Define as alias of __waitpid.
851 2014-11-06 Carlos O'Donell <carlos@redhat.com>
853 * manual/llio.texi: Add comment that write safety has been
856 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
857 (localplt-build-dso): Add elf/ld.so.
858 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
859 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
862 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
867 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
868 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
869 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
870 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
871 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
872 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
873 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
874 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
875 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
876 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
877 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
879 2014-11-05 Joseph Myers <joseph@codesourcery.com>
882 * include/libc-symbols.h (INTUSE): Remove macro.
884 (INTVARDEF): Likewise.
885 (_INTVARDEF): Likewise.
887 (INTVARDEF2): Likewise.
888 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
889 rtld_hidden_def instead of INTVARDEF.
890 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
891 (_dl_starting_up_internal): Remove declaration.
892 (_dl_starting_up): Use rtld_hidden_proto.
893 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
895 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
896 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
898 * elf/dl-writev.h (_dl_writev): Likewise.
899 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
900 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
901 _dl_starting_up_internal.
903 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
905 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
908 2014-11-05 Will Newton <will.newton@linaro.org>
910 * benchtests/Makefile: (bench-malloc): Add malloc thread
911 scalability benchmark.
912 * benchtests/bench-malloc-threads.c: New file.
914 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
916 * sysdeps/aarch64/strchrnul.S: New file.
918 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
922 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
926 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
928 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
930 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
933 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
935 * catgets/test-gencat.c: Use test-skeleton.c.
936 * catgets/tst-catgets.c: Likewise.
937 * csu/tst-empty.c: Likewise.
938 * elf/tst-audit2.c: Likewise.
939 * elf/tst-global1.c: Likewise.
940 * elf/tst-pathopt.c: Likewise.
941 * elf/tst-piemod1.c: Likewise.
942 * elf/tst-tls10.c: Likewise.
943 * elf/tst-tls11.c: Likewise.
944 * elf/tst-tls12.c: Likewise.
945 * gnulib/tst-gcc.c: Likewise.
946 * iconvdata/tst-e2big.c: Likewise.
947 * iconvdata/tst-loading.c: Likewise.
948 * iconv/tst-iconv1.c: Likewise.
949 * iconv/tst-iconv2.c: Likewise.
950 * inet/test-inet6_opt.c: Likewise.
951 * inet/tst-gethnm.c: Likewise.
952 * inet/tst-network.c: Likewise.
953 * inet/tst-ntoa.c: Likewise.
954 * intl/tst-codeset.c: Likewise.
955 * intl/tst-gettext2.c: Likewise.
956 * intl/tst-gettext3.c: Likewise.
957 * intl/tst-ngettext.c: Likewise.
958 * intl/tst-translit.c: Likewise.
959 * io/test-stat.c: Likewise.
960 * libio/test-fmemopen.c: Likewise.
961 * libio/tst-freopen.c: Likewise.
962 * libio/tst-sscanf.c: Likewise.
963 * libio/tst-ungetwc1.c: Likewise.
964 * libio/tst-ungetwc2.c: Likewise.
965 * libio/tst-widetext.c: Likewise.
966 * localedata/tst-ctype.c: Likewise.
967 * localedata/tst-digits.c: Likewise.
968 * localedata/tst-leaks.c: Likewise.
969 * localedata/tst-mbswcs1.c: Likewise.
970 * localedata/tst-mbswcs2.c: Likewise.
971 * localedata/tst-mbswcs3.c: Likewise.
972 * localedata/tst-mbswcs4.c: Likewise.
973 * localedata/tst-mbswcs5.c: Likewise.
974 * localedata/tst-setlocale.c: Likewise.
975 * localedata/tst-trans.c: Likewise.
976 * localedata/tst-wctype.c: Likewise.
977 * localedata/tst-xlocale1.c: Likewise.
978 * login/tst-grantpt.c: Likewise.
979 * malloc/tst-calloc.c: Likewise.
980 * malloc/tst-malloc.c: Likewise.
981 * malloc/tst-mallocstate.c: Likewise.
982 * malloc/tst-mcheck.c: Likewise.
983 * malloc/tst-mtrace.c: Likewise.
984 * malloc/tst-obstack.c: Likewise.
985 * math/atest-exp2.c: Likewise.
986 * math/atest-exp.c: Likewise.
987 * math/atest-sincos.c: Likewise.
988 * math/test-matherr.c: Likewise.
989 * math/test-misc.c: Likewise.
990 * math/test-powl.c: Likewise.
991 * math/tst-definitions.c: Likewise.
992 * misc/tst-dirname.c: Likewise.
993 * misc/tst-efgcvt.c: Likewise.
994 * misc/tst-fdset.c: Likewise.
995 * misc/tst-hsearch.c: Likewise.
996 * misc/tst-mntent2.c: Likewise.
997 * nptl/tst-sem7.c: Likewise.
998 * nptl/tst-sem8.c: Likewise.
999 * nptl/tst-sem9.c: Likewise.
1000 * nss/test-netdb.c: Likewise.
1001 * posix/tst-fnmatch.c: Likewise.
1002 * posix/tst-getlogin.c: Likewise.
1003 * posix/tst-gnuglob.c: Likewise.
1004 * posix/tst-mmap.c: Likewise.
1005 * pwd/tst-getpw.c: Likewise.
1006 * resolv/tst-inet_ntop.c: Likewise.
1007 * rt/tst-timer.c: Likewise.
1008 * stdio-common/test-fseek.c: Likewise.
1009 * stdio-common/test-popen.c: Likewise.
1010 * stdio-common/test-vfprintf.c: Likewise.
1011 * stdio-common/tst-cookie.c: Likewise.
1012 * stdio-common/tst-fileno.c: Likewise.
1013 * stdio-common/tst-gets.c: Likewise.
1014 * stdio-common/tst-obprintf.c: Likewise.
1015 * stdio-common/tst-perror.c: Likewise.
1016 * stdio-common/tst-sprintf2.c: Likewise.
1017 * stdio-common/tst-sprintf3.c: Likewise.
1018 * stdio-common/tst-sprintf.c: Likewise.
1019 * stdio-common/tst-swprintf.c: Likewise.
1020 * stdio-common/tst-tmpnam.c: Likewise.
1021 * stdio-common/tst-unbputc.c: Likewise.
1022 * stdio-common/tst-wc-printf.c: Likewise.
1023 * stdlib/tst-environ.c: Likewise.
1024 * stdlib/tst-fmtmsg.c: Likewise.
1025 * stdlib/tst-limits.c: Likewise.
1026 * stdlib/tst-rand48-2.c: Likewise.
1027 * stdlib/tst-rand48.c: Likewise.
1028 * stdlib/tst-random2.c: Likewise.
1029 * stdlib/tst-random.c: Likewise.
1030 * stdlib/tst-strtol.c: Likewise.
1031 * stdlib/tst-strtoll.c: Likewise.
1032 * stdlib/tst-tls-atexit.c: Likewise.
1033 * stdlib/tst-xpg-basename.c: Likewise.
1034 * string/test-ffs.c: Likewise.
1035 * string/tst-bswap.c: Likewise.
1036 * string/tst-inlcall.c: Likewise.
1037 * string/tst-strtok.c: Likewise.
1038 * string/tst-strxfrm.c: Likewise.
1039 * sysdeps/x86_64/tst-audit10.c: Likewise.
1040 * sysdeps/x86_64/tst-audit3.c: Likewise.
1041 * sysdeps/x86_64/tst-audit4.c: Likewise.
1042 * sysdeps/x86_64/tst-audit5.c: Likewise.
1043 * time/tst-ftime_l.c: Likewise.
1044 * time/tst-getdate.c: Likewise.
1045 * time/tst-mktime3.c: Likewise.
1046 * time/tst-mktime.c: Likewise.
1047 * time/tst-posixtz.c: Likewise.
1048 * time/tst-strptime2.c: Likewise.
1049 * time/tst-strptime3.c: Likewise.
1050 * wcsmbs/tst-btowc.c: Likewise.
1051 * wcsmbs/tst-mbrtowc.c: Likewise.
1052 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1053 * wcsmbs/tst-wchar-h.c: Likewise.
1054 * wcsmbs/tst-wcpncpy.c: Likewise.
1055 * wcsmbs/tst-wcrtomb.c: Likewise.
1056 * wcsmbs/tst-wcsnlen.c: Likewise.
1057 * wcsmbs/tst-wcstof.c: Likewise.
1059 2014-11-04 Joseph Myers <joseph@codesourcery.com>
1062 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1064 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1066 (_dl_mcount): Use rtld_hidden_proto.
1067 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1069 * elf/rtld.c (_rtld_global_ro): Likewise.
1072 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1073 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1074 of _dl_init_internal.
1075 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1076 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1077 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1078 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1079 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1080 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1081 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1082 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1083 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1084 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1085 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1086 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1087 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1088 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1089 * sysdeps/tile/dl-start.S (_start): Likewise.
1090 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1091 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1094 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1095 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1096 (rtld_progname): Make macro definition unconditional.
1097 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1099 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1100 (dl_main): Likewise.
1101 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1102 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1103 instead of _dl_argv_internal.
1104 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1105 __GI__dl_argv instead of INTUSE(_dl_argv).
1106 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1107 __GI__dl_argv instead of _dl_argv_internal.
1109 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1110 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1112 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1113 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1115 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1116 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1118 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1119 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1121 2014-11-04 Andreas Schwab <schwab@suse.de>
1123 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1125 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1128 mtvsrd instruction in binary form.
1130 2014-11-03 Andreas Schwab <schwab@suse.de>
1133 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1134 for less than MB_LEN_MAX use a local buffer of that size.
1135 * libio/tst-fputws.c: New file.
1136 * libio/Makefile (tests): Add tst-fputws.
1138 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1140 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1141 the size of the fpu_fr.fpu_dregs[] array.
1143 2014-11-01 Joseph Myers <joseph@codesourcery.com>
1145 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1146 (__nanosleep): Do not define as alias.
1147 (nanosleep): Define as alias of __nanosleep.
1148 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1149 __libc_nanosleep name.
1151 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1153 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1154 install.texi in comment.
1156 2014-10-31 Torvald Riegel <triegel@redhat.com>
1158 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1159 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1160 ... add here and use lwsync or sync ...
1161 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1162 ... and add here using lwsync.
1164 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1166 * elf/dl-machine-reject-phdr.h: New file.
1167 * elf/dl-load.c: #include that.
1168 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1169 if that returned true.
1171 2014-10-31 Roland McGrath <roland@hack.frob.com>
1174 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1175 gen-as-const-headers chunk. Add a big scare comment after the last
1176 safe place to touch before-compile.
1178 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1180 * manual/install.texi (Tools for Compilation): Update autoconf
1181 version requirements.
1182 * INSTALL: Regenerated.
1184 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1185 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1186 (__libc_pselect): Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1194 2014-10-31 Torvald Riegel <triegel@redhat.com>
1196 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1197 correct barrier instruction.
1198 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1200 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1203 2014-10-30 Roland McGrath <roland@hack.frob.com>
1205 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1206 after defining inlines. Instead, just use parens to defeat macro
1207 expansion of __isctype in its declaration.
1209 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1211 * include/sys/uio.h (__libc_readv): Remove declaration.
1212 (__libc_writev): Likewise.
1213 * misc/readv.c (__libc_readv): Rename to __readv.
1214 (__readv): Do not define as alias.
1215 (readv): Define as alias of __readv.
1216 * misc/writev.c (__libc_writev): Rename to __writev.
1217 (__writev): Do not define as alias.
1218 (writev): Define as alias of __writev.
1219 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1220 (__readv): Do not define as alias.
1221 (readv): Define unconditionally as alias of __readv.
1222 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1223 (__writev): Do not define as alias.
1224 (writev): Define unconditionally as alias of __writev.
1225 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1227 (writev): Do not define __libc_writev name.
1229 2014-10-30 Roland McGrath <roland@hack.frob.com>
1231 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1232 (convert_charseq): New function, broken out of ...
1233 (use_from_charmap): ... here. Call it.
1234 (use_to_charmap): Use convert_charseq and free instead of duplicating
1235 its code with a variable-length stack struct.
1237 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1239 * include/fcntl.h (__libc_creat): Remove declaration.
1240 * io/creat.c (__libc_creat): Rename to creat.
1241 (creat): Do not define as alias.
1242 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1243 of creat instead of __libc_creat.
1244 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1246 (creat): Do not define as alias.
1247 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1249 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1254 2014-10-29 Carlos O'Donell <carlos@redhat.com>
1256 * manual/llio.texi: Add comments discussing why write() may be
1257 considered MT-unsafe on Linux.
1259 2014-10-28 Carlos O'Donell <carlos@redhat.com>
1261 * dl-load.c (local_strdup): Remove.
1262 (expand_dynamic_string_token): Use __strdup.
1263 (decompose_rpath): Likewise.
1264 (_dl_map_object): Likewise.
1266 2014-10-28 Joseph Myers <joseph@codesourcery.com>
1269 * sysdeps/generic/unwind-dw2-fde.c
1270 (__register_frame_info_bases_internal): Do not declare.
1271 (__register_frame_info_table_bases_internal): Likewise.
1272 (__deregister_frame_info_bases_internal): Likewise.
1273 (__register_frame_info_bases): Declare and use hidden_proto before
1274 definition. Use hidden_def instead of INTDEF.
1275 (__register_frame_info_table_bases): Likewise.
1276 (__deregister_frame_info_bases): Likewise.
1277 (__register_frame_info): Do not use INTUSE.
1278 (__register_frame): Likewise.
1279 (__register_frame_info_table): Likewise.
1280 (__register_frame_table): Likewise.
1281 (__deregister_frame_info): Likewise.
1282 (__deregister_frame): Likewise.
1284 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1286 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1287 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1289 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1291 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1294 2014-10-27 Joseph Myers <joseph@codesourcery.com>
1297 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1298 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1299 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1300 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1301 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1302 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1303 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1304 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1305 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1306 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1307 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1308 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1309 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1311 (setfsuid): Likewise.
1312 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1313 (setfsuid): Likewise.
1314 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1315 (setfsuid): Likewise.
1316 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1318 (setfsuid): Likewise.
1319 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1320 (setfsuid): Likewise.
1321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1323 (setfsuid): Likewise.
1325 2014-10-27 Andreas Schwab <schwab@suse.de>
1328 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1329 check for Slow_SSE4_2 feature bit.
1330 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1331 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1332 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1333 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1335 2014-10-24 Roland McGrath <roland@hack.frob.com>
1337 * configure.ac: Validate compiler version with a empirical test of
1338 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1340 * configure: Regenerated.
1342 * inet/htons.c (htons): Prototypify.
1343 * inet/htonl.c (htonl): Likewise.
1345 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1347 * string/strncat.c (strncat): Improve performance by using strlen.
1349 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1351 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1353 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1355 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1356 Call libc_fetestexcept_aarch64.
1358 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1360 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1361 Call libc_feholdexcept_aarch64.
1363 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1365 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1366 Call get_rounding_mode.
1368 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1370 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1373 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1375 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1378 2014-10-24 Joseph Myers <joseph@codesourcery.com>
1381 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1382 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1383 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1384 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1385 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1386 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1387 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1388 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1389 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1390 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1391 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1392 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1393 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1394 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1395 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1396 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1397 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1398 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1399 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1400 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1401 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1402 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1403 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1404 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1405 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1406 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1407 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1408 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1409 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1410 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1411 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1412 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1413 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1414 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1415 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1416 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1417 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1418 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1419 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1420 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1421 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1423 (geteuid): Likewise.
1426 (getresgid): Likewise.
1427 (getresuid): Likewise.
1428 (getgroups): Likewise.
1429 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1430 (geteuid): Likewise.
1433 (getresgid): Likewise.
1434 (getresuid): Likewise.
1435 (getgroups): Likewise.
1436 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1437 (geteuid): Likewise.
1440 (getresgid): Likewise.
1441 (getresuid): Likewise.
1442 (getgroups): Likewise.
1443 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1445 (geteuid): Likewise.
1448 (getresgid): Likewise.
1449 (getresuid): Likewise.
1450 (getgroups): Likewise.
1451 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1452 (geteuid): Likewise.
1455 (getresgid): Likewise.
1456 (getresuid): Likewise.
1457 (getgroups): Likewise.
1458 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1460 (geteuid): Likewise.
1463 (getgroups): Likewise.
1466 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1467 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1468 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1469 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1471 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1472 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1473 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1474 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1475 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1476 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1477 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1480 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1483 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1487 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1490 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1495 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1497 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1500 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1502 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1505 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1507 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1508 Remove unused include.
1510 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1512 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1513 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1514 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1515 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1517 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1518 Helge Deller <deller@gmx.de>
1521 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1522 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1523 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1525 2014-10-23 Joseph Myers <joseph@codesourcery.com>
1528 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1529 Remove macro definition.
1530 (__ashrdi3_v_glibc20): Likewise.
1531 (__lshrdi3_v_glibc20): Likewise.
1532 (__cmpdi2_v_glibc20): Likewise.
1533 (__ucmpdi2_v_glibc20): Likewise.
1534 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1535 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1536 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1537 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1538 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1539 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1541 2014-10-22 Roland McGrath <roland@hack.frob.com>
1543 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1544 old GNU extension [0] syntax.
1545 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1546 alloca rather than an array member with variable length.
1547 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1548 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1549 (parse_opt): ... here. Likewise use alloca there.
1550 Validate the -i argument before checking for rootness.
1551 (send_shutdown): New function, broken out of ...
1552 (parse_opt): ... here.
1554 2014-10-22 Roland McGrath <roland@hack.frob.com>
1556 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1557 macro to get at the _rt_local_ro field.
1558 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1559 ([PIC] case) or _dl_hwcap ([!PIC] case).
1560 * sysdeps/arm/setjmp.S: Likewise.
1562 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1563 * sysdeps/arm/configure.ac: New check to define it.
1564 * sysdeps/arm/configure: Regenerated.
1565 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1566 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1567 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1568 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1569 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1570 Use move/movt pair instead of a load.
1571 (LDST_GLOBAL): Macro removed.
1572 (LDR_GLOBAL): New macro replaces it.
1573 (LDR_HIDDEN): New macro.
1574 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1575 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1577 * setjmp/tst-setjmp-static.c: New file.
1578 * setjmp/Makefile (tests): Add it.
1579 (tests-static): New variable.
1581 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1584 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1586 2014-10-21 Joseph Myers <joseph@codesourcery.com>
1589 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1591 2014-10-21 Roland McGrath <roland@hack.frob.com>
1593 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1595 2014-10-20 Roland McGrath <roland@hack.frob.com>
1597 * io/fts.c (dirent_not_directory): New function.
1598 (fts_build): Call it.
1600 2014-10-20 Roland McGrath <roland@hack.frob.com>
1602 * nptl/version.c (__nptl_main): Use normal __write rather than
1604 (banner): Update copyright years.
1606 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1608 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1609 * nptl/pthread_cond_timedwait.c: Likewise.
1610 * nptl/pthread_mutex_timedlock.c: Likewise.
1611 * nptl/sem_timedwait.c: Likewise.
1613 * sysdeps/nptl/bits/libc-lock.h
1614 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1615 (__libc_lock_init_recursive): Return void, not 0.
1616 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1617 (__libc_rwlock_init): Likewise.
1618 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1620 2014-10-20 Torvald Riegel <triegel@redhat.com>
1623 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1624 (__pthread_once_slow): ... here.
1625 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1626 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1628 2014-10-20 Torvald Riegel <triegel@redhat.com>
1631 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1632 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1633 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1634 * nptl/pthread_once.c (__pthread_once): Likewise.
1637 2014-10-20 Joseph Myers <joseph@codesourcery.com>
1640 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1642 (writev): Use __libc_writev as strong name.
1643 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1644 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1646 2014-10-17 Roland McGrath <roland@hack.frob.com>
1648 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1650 * sysdeps/i386/nptl/tls.h
1651 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1652 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1654 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1655 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1656 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1657 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1658 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1659 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1661 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1662 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1664 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1666 (__pthread_mutex_init): ... here. Call it.
1667 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1668 Conditionalize PI cases on [__NR_futex].
1669 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1670 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1671 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1673 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1674 conditional on [SIGSETXID].
1675 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1676 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1677 is defined. Likewise for SIGSETXID.
1678 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1679 Conditionalize definitions on [SIGSETXID].
1680 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1681 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1682 unblocking on [SIGCANCEL].
1684 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1685 [__NR_set_robust_list].
1687 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1689 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1690 (do_compare): Likewise.
1692 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
1695 * string/strcoll_l.c: Don't include stdio.h.
1696 (coll_seq): Remove members idxarr and rulearr.
1697 (get_next_seq_cached): Remove function.
1698 (get_next_seq): Likewise.
1699 (get_next_seq_nocache): Rename to get_next_seq.
1700 (do_compare): Remove function.
1701 (do_compare_nocache): Rename to do_compare.
1702 (STRCOLL): Remove weight and rules cache.
1704 2014-10-16 Roland McGrath <roland@hack.frob.com>
1706 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1707 * sysdeps/arm/sfp-machine.h: ... to here.
1708 * sysdeps/arm/Implies: Remove arm/soft-fp.
1710 2014-10-14 Joseph Myers <joseph@codesourcery.com>
1712 * conform/data/sys/utsname.h-data (*_t): Allow.
1713 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1714 [POSIX] (WEXITED): Do not expect constant.
1715 [POSIX] (WSTOPPED): Likewise.
1716 [POSIX] (WNOHANG): Likewise.
1717 [POSIX] (WNOWAIT): Likewise.
1718 [POSIX] (siginfo_t): Do not expect type or elements.
1719 [POSIX] (pid_t): Do not expect type.
1720 [POSIX] (signal.h): Do not allow header.
1721 [POSIX] (sys/resource.h): Likewise.
1722 [POSIX] (si_*): Do not allow pattern.
1723 [POSIX] (W*): Likewise.
1724 [POSIX] (P_*): Likewise.
1725 [POSIX] (BUS_*): Likewise.
1726 [POSIX] (CLD_*): Likewise.
1727 [POSIX] (FPE_*): Likewise.
1728 [POSIX] (ILL_*): Likewise.
1729 [POSIX] (POLL_*): Likewise.
1730 [POSIX] (SEGV_*): Likewise.
1731 [POSIX] (SI_*): Likewise.
1732 [POSIX] (TRAP_*): Likewise.
1733 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1736 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1739 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1740 infinite loop when __recvmsg returns 0.
1742 2014-10-10 Joseph Myers <joseph@codesourcery.com>
1744 * CANCEL-FCT-WAIVE: Remove file.
1745 * CANCEL-FILE-WAIVE: Likewise.
1748 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1749 instead of INTVARDEF.
1750 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1751 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1752 rtld_hidden_data_def instead of INTVARDEF.
1753 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1754 * elf/dl-deps.c (expand_dst): Likewise.
1755 * elf/dl-load.c (_dl_dst_count): Likewise.
1756 (_dl_dst_substitute): Likewise.
1757 (decompose_rpath): Likewise.
1758 (_dl_init_paths): Likewise.
1759 (open_path): Likewise.
1760 (_dl_map_object): Likewise.
1761 * elf/rtld.c (dl_main): Likewise.
1762 (process_dl_audit): Likewise.
1763 (process_envvars): Likewise.
1764 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1766 (__libc_enable_secure): Use rtld_hidden_proto.
1768 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1771 (add_path): New function broken out of _dl_rtld_di_serinfo.
1772 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1774 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1776 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1777 parentheses around macro arguments.
1778 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1781 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1782 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1783 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1784 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1785 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1786 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1787 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1788 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1789 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1790 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1791 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1792 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1793 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1794 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1795 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1796 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1799 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1800 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1801 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1802 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1803 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1804 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1805 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1806 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1807 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1808 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1809 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1810 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1811 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1812 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1813 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1815 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1816 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1817 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1818 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1819 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1820 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1821 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1822 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1823 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1824 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1825 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1826 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1827 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1828 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1829 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1830 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1832 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1833 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1834 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1835 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1836 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1837 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1838 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1839 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1840 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1841 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1842 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1843 (_FP_FRAC_SRS_1): Likewise.
1844 (_FP_FRAC_CLZ_1): Likewise.
1845 (_FP_MUL_MEAT_1_imm): Likewise.
1846 (_FP_MUL_MEAT_1_wide): Likewise.
1847 (_FP_MUL_MEAT_1_hard): Likewise.
1848 (_FP_SQRT_MEAT_1): Likewise.
1849 (_FP_FRAC_ASSEMBLE_1): Likewise.
1850 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1851 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1852 (__FP_CLZ_2): Likewise.
1853 (_FP_MUL_MEAT_2_wide): Likewise.
1854 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1855 (_FP_MUL_MEAT_2_gmp): Likewise.
1856 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1857 (_FP_SQRT_MEAT_2): Likewise.
1858 (_FP_FRAC_ASSEMBLE_2): Likewise.
1859 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1860 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1861 (_FP_FRAC_CLZ_4): Likewise.
1862 (_FP_MUL_MEAT_4_wide): Likewise.
1863 (_FP_MUL_MEAT_4_gmp): Likewise.
1864 (_FP_SQRT_MEAT_4): Likewise.
1865 (_FP_FRAC_ASSEMBLE_4): Likewise.
1866 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1867 * soft-fp/op-common.h (_FP_CMP): Likewise.
1868 (_FP_CMP_EQ): Likewise.
1869 (_FP_CMP_UNORD): Likewise.
1870 (_FP_TO_INT): Likewise.
1871 (_FP_FROM_INT): Likewise.
1872 [!__FP_CLZ] (__FP_CLZ): Likewise.
1873 (_FP_DIV_HELP_imm): Likewise.
1874 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1876 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1877 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1878 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1879 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1880 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1881 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1882 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1883 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1884 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1885 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1886 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1887 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1888 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1889 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1890 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1891 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1892 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1893 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1894 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1895 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1896 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1897 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1898 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1899 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1900 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1901 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1902 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1903 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1904 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1905 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1906 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1907 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1908 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1909 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1910 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1911 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1912 (FP_UNPACK_RAW_SP): Likewise.
1913 (FP_PACK_RAW_S): Likewise.
1914 (FP_PACK_RAW_SP): Likewise.
1915 (FP_UNPACK_S): Likewise.
1916 (FP_UNPACK_SP): Likewise.
1917 (FP_UNPACK_SEMIRAW_S): Likewise.
1918 (FP_UNPACK_SEMIRAW_SP): Likewise.
1919 (FP_PACK_S): Likewise.
1920 (FP_PACK_SP): Likewise.
1921 (FP_PACK_SEMIRAW_S): Likewise.
1922 (FP_PACK_SEMIRAW_SP): Likewise.
1923 (_FP_SQRT_MEAT_S): Likewise.
1924 (FP_CMP_S): Likewise.
1925 (FP_CMP_EQ_S): Likewise.
1926 (FP_CMP_UNORD_S): Likewise.
1927 (FP_TO_INT_S): Likewise.
1928 (FP_FROM_INT_S): Likewise.
1930 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1932 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1933 (FP_EX_INVALID_IMZ): Likewise.
1934 (FP_EX_INVALID_IMZ_FMA): Likewise.
1935 (FP_EX_INVALID_ISI): Likewise.
1936 (FP_EX_INVALID_ZDZ): Likewise.
1937 (FP_EX_INVALID_IDI): Likewise.
1938 (FP_EX_INVALID_SQRT): Likewise.
1939 (FP_EX_INVALID_CVI): Likewise.
1940 (FP_EX_INVALID_VC): Likewise.
1941 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1942 "invalid" exceptions.
1943 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1944 (_FP_ADD_INTERNAL): Likewise.
1945 (_FP_MUL): Likewise.
1946 (_FP_FMA): Likewise.
1947 (_FP_DIV): Likewise.
1948 (_FP_CMP_CHECK_NAN): Likewise.
1949 (_FP_SQRT): Likewise.
1950 (_FP_TO_INT): Likewise.
1951 (FP_EXTEND): Likewise.
1953 2014-10-09 Allan McRae <allan@archlinux.org>
1955 * po/fr.po: Update French translation from translation project.
1957 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1960 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1962 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1963 (__cxa_atexit): Use libc_hidden_proto.
1964 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1967 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1969 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1970 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1971 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1972 [!_ISOMAC] (__iswctype_internal): Likewise.
1973 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1974 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1976 (fcntl): Remove __fcntl_internal alias.
1977 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1978 __connect_internal alias.
1979 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1982 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1983 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1985 (_FP_CHECK_FLUSH_ZERO): New macro.
1986 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1987 (_FP_CMP): Likewise.
1988 (_FP_CMP_EQ): Likewise.
1989 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1991 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1992 (FP_TRUNC): Likewise.
1994 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1995 treated as invalid conversion, not as normal exponent.
1997 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1998 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1999 (_FP_CMP_EQ): Likewise.
2000 (_FP_CMP_UNORD): Likewise.
2001 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2002 (FP_CMP_EQ_D): Likewise.
2003 (FP_CMP_UNORD_D): Likewise.
2004 * soft-fp/extended.h (FP_CMP_E): Likewise.
2005 (FP_CMP_EQ_E): Likewise.
2006 (FP_CMP_UNORD_E): Likewise.
2007 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2008 (FP_CMP_EQ_Q): Likewise.
2009 (FP_CMP_UNORD_Q): Likewise.
2010 * soft-fp/single.h (FP_CMP_S): Likewise.
2011 (FP_CMP_EQ_S): Likewise.
2012 (FP_CMP_UNORD_S): Likewise.
2013 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2014 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2015 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2016 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2017 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2018 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2019 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2020 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2021 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2022 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2023 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2024 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2025 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2027 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2029 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2030 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2032 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2034 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2035 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2036 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2037 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2039 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2041 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2042 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2044 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2046 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2047 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2048 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2049 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2052 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2053 a subnormal result, set the underflow exception if trapping on
2054 underflow is enabled.
2055 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2056 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2057 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2059 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2060 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2061 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2062 * soft-fp/extendxftf2.c (__extendxftf2): Use
2063 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2065 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2066 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2067 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2068 FP_HANDLE_EXCEPTIONS.
2069 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2070 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2071 FP_HANDLE_EXCEPTIONS.
2072 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2073 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2074 FP_HANDLE_EXCEPTIONS.
2075 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2076 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2077 FP_HANDLE_EXCEPTIONS.
2079 2014-10-08 Joseph Myers <joseph@codesourcery.com>
2082 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2083 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2085 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2086 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2088 (__adjtimex): Define using libc_hidden_ver.
2089 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2091 (ntp_gettime): Call __adjtimex directly.
2092 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2094 (ntp_gettimex): Call __adjtimex directly.
2095 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2096 __adjtimex_internal alias.
2098 2014-10-08 Roland McGrath <roland@hack.frob.com>
2101 * nscd/nscd.c (more_help): Rewrite list of tables collection
2102 using xstrdup and asprintf.
2104 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2106 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2107 Roland McGrath <roland@hack.frob.com>
2109 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2110 (do_lookup_unique): ... local function 'enter' here; update callers.
2112 2014-10-06 Joseph Myers <joseph@codesourcery.com>
2114 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2115 compat_symbol calls on [SHARED].
2116 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2117 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2119 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2120 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2121 (oldsetrlimit): Remove.
2122 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2124 (lchown): New syscall entry.
2125 (oldsetrlimit): Remove.
2126 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2127 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2128 (oldsetrlimit): Remove.
2129 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2132 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2133 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2134 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2135 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2136 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2137 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2139 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2144 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2147 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2148 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2149 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2150 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2152 (__old_sem_post): Likewise.
2154 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
2156 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2157 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2158 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2159 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2160 Use INLINE_VSYSCALL macro.
2161 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2162 __vdso_clock_gettime.
2163 * sysdeps/unix/sysv/linux/tile/init-first.c
2164 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2165 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2166 __vdso_clock_gettime.
2168 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2169 to set up frame more cleanly.
2171 * sysdeps/tile/memcmp.c: New file.
2173 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2175 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2176 * sysdeps/tile/tilegx/strcasestr.c: New file.
2177 * sysdeps/tile/tilegx/strnlen.c: New file.
2178 * sysdeps/tile/tilegx/strstr.c: New file.
2180 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2182 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
2184 * nptl/tst-setuid3.c: Write errors to stdout.
2186 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2189 (preload): New functions broken out of _dl_map_object_deps.
2190 (_dl_map_object_deps): Remove a nested function. Update call sites.
2192 2014-10-01 Joseph Myers <joseph@codesourcery.com>
2195 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2196 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2198 2014-10-01 Steve Ellcey <sellcey@mips.com>
2200 * sysdeps/mips/strcmp.S: New.
2202 2014-09-30 Joseph Myers <joseph@codesourcery.com>
2205 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2207 (mkdirat): Likewise.
2208 (readlinkat): Likewise.
2209 (renameat): Likewise.
2210 (symlinkat): Likewise.
2211 (unlinkat): Likewise.
2212 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2213 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2214 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2215 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2216 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2217 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2218 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2220 2014-09-30 Will Newton <will.newton@linaro.org>
2222 * math/math.h: Define long double math functions if
2223 _LIBC_TEST is defined.
2224 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2226 * localedata/Makefile: Move assignment to tests-special
2227 into an ifdef testing run-built-tests.
2228 * timezone/Makefile: Likewise.
2230 2014-09-29 Joseph Myers <joseph@codesourcery.com>
2232 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2233 with $(BASH) not $(SHELL).
2235 2014-09-29 Carlos O'Donell <carlos@redhat.com>
2236 Matthew LeGendre <legendre1@llnl.gov>
2239 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2242 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2244 * stdio-common/printf_fp.c
2245 (hack_digit): New function, broken out of ...
2246 (__printf_fp): ... local function here. Update call sites.
2247 hack_digit now takes an additional parameter that is a pointer
2248 to a struct of the referenced locals. Those locals moved inside
2249 the struct and references updated.
2251 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2253 * aclocal.m4: Require autoconf 2.69.
2254 * configure: Regenerated.
2255 * sysdeps/aarch64/configure: Likewise.
2256 * sysdeps/alpha/configure: Likewise.
2257 * sysdeps/arm/armv7/configure: Likewise.
2258 * sysdeps/arm/configure: Likewise.
2259 * sysdeps/ia64/configure: Likewise.
2260 * sysdeps/mach/configure: Likewise.
2261 * sysdeps/mips/configure: Likewise.
2262 * sysdeps/s390/configure: Likewise.
2263 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2266 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2268 * sysdeps/ia64/configure.ac: Likewise.
2270 2014-09-26 Joseph Myers <joseph@codesourcery.com>
2272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2273 specify symbol version for ld.so. Do not include entry for
2275 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2276 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2277 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2280 * Makeconfig [$(build-shared) = yes]
2281 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2283 [$(build-shared) = yes && $(soversions.mk-done) = t]
2284 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2285 [$(build-shared) = yes && $(soversions.mk-done) = t]
2286 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2288 [$(build-shared) = yes && $(soversions.mk-done) = t]
2289 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2291 [$(build-shared) = yes && $(soversions.mk-done) = t]
2292 (common-generated): Don't append gnu/lib-names.h and
2293 gnu/lib-names.stmp here.
2294 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2295 (lib-names-h-abi): New variable.
2296 [$(build-shared) = yes && $(soversions.mk-done) = t]
2297 (lib-names-stmp-abi): Likewise.
2298 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2299 abi-variants] (before-compile): Append
2300 $(common-objpfx)$(lib-names-h-abi).
2301 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2302 abi-variants] (common-generated): Append gnu/lib-names.h.
2303 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2304 abi-variants] (install-others-nosubdir): Depend on
2305 $(inst_includedir)/$(lib-names-h-abi).
2306 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2307 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2308 [$(build-shared) = yes && $(soversions.mk-done) = t]
2309 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2310 [$(build-shared) = yes && $(soversions.mk-done) = t]
2311 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2312 [$(build-shared) = yes && $(soversions.mk-done) = t]
2313 (common-generated): Append $(lib-names-h-abi) and
2314 $(lib-names-stmp-abi).
2315 * scripts/lib-names.awk: Do not handle multi being set.
2316 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2318 (abi-lp64_be-ld-soname): Likewise.
2319 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2321 (abi-hard-ld-soname): Likewise.
2322 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2323 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2325 (abi-o32_hard-ld-soname): Likewise.
2326 (abi-o32_soft_2008-ld-soname): Likewise.
2327 (abi-o32_hard_2008-ld-soname): Likewise.
2328 (abi-n32_soft-ld-soname): Likewise.
2329 (abi-n32_hard-ld-soname): Likewise.
2330 (abi-n32_soft_2008-ld-soname): Likewise.
2331 (abi-n32_hard_2008-ld-soname): Likewise.
2332 (abi-n64_soft-ld-soname): Likewise.
2333 (abi-n64_hard-ld-soname): Likewise.
2334 (abi-n64_soft_2008-ld-soname): Likewise.
2335 (abi-n64_hard_2008-ld-soname): Likewise.
2336 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2338 (abi-64-v2-ld-soname): Likewise.
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2341 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2343 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2345 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2347 (abi-64-ld-soname): Likewise.
2348 (abi-x32-ld-soname): Likewise.
2349 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2351 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2353 2014-09-23 Joseph Myers <joseph@codesourcery.com>
2356 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2357 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2358 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2359 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2360 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2361 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2362 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2363 syscall entry for GLIBC_2.2 symbol version.
2364 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2367 (setrlimit): Likewise.
2368 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2371 2014-09-23 Will Newton <will.newton@linaro.org>
2373 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2374 _LINUX_ARM_SYSDEP_H include guard too.
2375 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2378 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2380 * sysdeps/unix/sysv/linux/eventfd.c:
2381 Make first argument unsigned.
2382 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2383 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2385 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
2387 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2388 * socket/sys/socket.h: Likewise
2389 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2391 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2393 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2395 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
2397 * time/tst-ftime.c: New test.
2398 * time/Makefile (tests): Add tst-ftime.
2400 2014-09-17 Joseph Myers <joseph@codesourcery.com>
2402 * soft-fp/extended.h: Fix comment formatting.
2403 * soft-fp/op-1.h: Likewise.
2404 * soft-fp/op-2.h: Likewise.
2405 * soft-fp/op-4.h: Likewise.
2406 * soft-fp/op-8.h: Likewise.
2407 * soft-fp/op-common.h: Likewise.
2408 * soft-fp/soft-fp.h: Likewise.
2410 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2412 2014-09-16 Joseph Myers <joseph@codesourcery.com>
2415 * Makeconfig (soversions-default-setname): Remove variable.
2416 ($(common-objpfx)soversions.i): Don't pass default_setname to
2418 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2419 oldest_abi to abi-versions.awk.
2420 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2421 * config.make.in (oldest-abi): Remove variable.
2422 * configure.ac (--enable-oldest-abi): Remove configure option.
2423 * configure: Regenerated.
2424 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2426 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2427 * scripts/soversions.awk: Do not handle default_setname variable.
2428 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2430 * sysdeps/mach/hurd/configure: Regenerated.
2431 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2433 * sysdeps/unix/sysv/linux/configure: Regenerated.
2435 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2437 * elf/Makefile (CFLAGS-interp.c): Remove.
2438 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2440 * elf/interp.c: Include generated runtime-linker.h
2442 * Makerules (lib%.so): Don't include $(+interp) in
2444 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2445 * dlfcn/eval.c: Remove file.
2447 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2451 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2455 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2457 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2458 Jakub Jelinek <jakub@redhat.com>
2461 * libio/stdio.h: Check definition of __fortify_function
2462 instead of __extern_always_inline to include bits/stdio2.h.
2463 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2464 check if __extern_always_inline is defined.
2465 [__USE_MISC || __USE_XOPEN]: Likewise.
2466 [__USE_ISOC99] Likewise.
2467 * misc/sys/cdefs.h (__fortify_function): Define only if
2468 __extern_always_inline is defined.
2469 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2470 __extern_always_inline and __extern_inline only for g++-4.3
2471 and newer or a compatible gcc.
2473 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2476 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2477 last change to handle zero prefix length.
2479 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2481 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2484 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2487 2014-09-13 Allan McRae <allan@archlinux.org>
2489 * po/ru.po: Update Russian translation from translation project.
2491 2014-09-12 Roland McGrath <roland@hack.frob.com>
2493 * locale/programs/locale.c (show_locale_vars): Inline local function
2494 into its sole call site. Clean up some style nits.
2495 (print_item): New function, broken out of ...
2496 (show_info): ... local function here. Clean up style nits.
2498 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2500 (set_class_defaults): ... local function set_default here.
2501 Define set_default as a macro locally to pass constant parameters.
2502 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2503 rather than a shared local.
2505 * stdlib/rpmatch.c (try): New function, broken out of ...
2506 (rpmatch): ... local function here. Also, prototypify definition.
2508 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2510 * scripts/soversions.awk: Do not handle configuration names.
2511 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2512 vendor and os variables to soversions.awk.
2513 * configure.ac: Do not modify gnu-* host_os.
2514 * configure: Regenerated
2515 * shlib-versions: Remove first column with configuration names.
2516 * nptl/shlib-versions: Likewise.
2517 * nptl_db/shlib-versions: Likewise.
2518 * sysdeps/hppa/shlib-versions: Likewise.
2519 * sysdeps/m68k/shlib-versions: Likewise.
2520 * sysdeps/mach/hurd/shlib-versions: Likewise.
2521 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2522 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2523 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2524 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2525 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2526 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2527 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2528 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2531 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2532 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2533 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2534 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2535 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2536 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2537 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2538 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2541 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2544 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2546 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2548 * shlib-versions: Remove OS-specific entries. Moved to files in
2550 * sysdeps/mach/hurd/shlib-versions: New file.
2551 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2553 * nptl/shlib-versions: Remove architecture-specific entries.
2554 Moved to files in sysdeps.
2555 * shlib-versions: Likewise.
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2558 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2559 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2560 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2561 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2563 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2564 (UDP_NO_CHECK6_RX): Likewise.
2566 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2568 * sysdeps/posix/sysconf.c (__sysconf): Spell
2569 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2571 2014-08-12 Florian Weimer <fweimer@redhat.com>
2573 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2575 * iconv/Versions (__gconv_transliterate): Export for use from
2577 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2578 (struct __gconv_trans_data, __gconv_trans_fct,
2579 __gconv_trans_context_fct, __gconv_trans_query_fct,
2580 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2582 (struct __gconv_step_data): Remove __trans member.
2583 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2584 longer hidden. Remove unused trans_data argument.
2585 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2586 (__gconv_translit_find): Remove declaration.
2587 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2589 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2590 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2591 trans_data argument. Add hidden definition.
2592 (__gconv_translit_find): Remove.
2593 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2594 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2595 * iconv/skeleton.c: Remove transliteration initialization.
2596 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2597 __gconv_step_data initialization.
2598 * libio/iofwide.c (__libio_translit_): Remove.
2599 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2600 * wcsmbs/btowc.c (__btowc): Likewise.
2601 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2602 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2603 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2604 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2605 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2606 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2607 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2608 * wcsmbs/wctob.c (wctob): Likewise.
2610 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2613 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2614 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2616 * sysdeps/x86/Makefile: Adjust.
2618 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2619 Roland McGrath <roland@hack.frob.com>
2621 * locale/weight.h: Add include guard.
2622 (findidx): Make static rather than auto; take new parameters
2623 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2624 * locale/weightwc.h: Likewise.
2625 * posix/fnmatch_loop.c
2626 (FCT): Change type of EXTRA from int32_t to wint_t.
2627 Don't include either header inside the function.
2628 Call FINDIDX rather than findidx, and pass new arguments.
2629 #undef FINDIDX at the end of the file.
2630 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2631 FINDIDX before including fnmatch_loop.c for the non-wide version.
2632 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2633 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2634 for the wide version.
2635 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2636 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2637 Pass new arguments to findidx.
2638 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2639 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2640 Don't #include it inside the function. Pass new arguments to findidx.
2641 * posix/regex_internal.h
2642 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2643 (re_string_elem_size_at): Don't #include it inside the function.
2644 Pass new arguments to findidx.
2645 * string/strcoll_l.c: #include WEIGHT_H at top level.
2646 (get_next_seq): Don't #include it inside the function.
2647 Pass new arguments to findidx.
2648 (get_next_seq_nocache): Likewise.
2649 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2650 (STRXFRM): Don't #include it inside the function.
2651 Pass new arguments to findidx.
2653 2014-09-11 Florian Weimer <fweimer@redhat.com>
2656 * malloc/malloc.c (unlink): Turn asserts into a call to
2659 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
2662 * libio/wfileops (do_ftell_wide): Free OUT.
2664 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2666 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2668 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2671 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2672 group if the current group is empty.
2674 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2676 * benchtests/bench-memset.c (test_main): Add more test from size
2677 from 32 to 512 bytes.
2678 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2679 Add POWER8 memset object.
2680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2681 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2682 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2684 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2686 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2687 multiarch POWER8 memset optimization.
2688 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2689 POWER8 memset optimization.
2691 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2692 Remove bzero multiarch objects.
2693 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2694 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2695 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2696 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2698 [__bzero]: Redefine to specific name.
2699 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2700 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2701 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2703 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2704 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2706 2014-09-10 Florian Weimer <fweimer@redhat.com>
2708 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2709 warnings into errors.
2711 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2712 __cxa_thread_atexit_impl prototype.
2714 2014-09-09 Steve Ellcey <sellcey@mips.com>
2716 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2717 Fix capitalization of error message.
2719 2014-09-09 Steve Ellcey <sellcey@mips.com>
2721 * sysdeps/mips/preconfigure: Modify ABI tests.
2723 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2725 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2727 2014-09-07 Roland McGrath <roland@hack.frob.com>
2728 Carlos O'Donell <carlos@systemhalted.org>
2730 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2731 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2732 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2733 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2734 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2735 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2736 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2737 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2738 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2739 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2740 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2741 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2742 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2743 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2744 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2745 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2746 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2747 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2748 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2749 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2750 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2751 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2752 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2753 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2754 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2755 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2756 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2757 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2758 Deconditionalize the code that was previously under [RESET_PID].
2759 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2760 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2761 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2762 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2765 2014-09-08 Allan McRae <allan@archlinux.org>
2767 * version.h (RELEASE): Set to "development".
2768 (VERSION): Set to "2.20.90"
2770 2014-09-07 Allan McRae <allan@archlinux.org
2772 * version.h (RELEASE): Set to "stable".
2773 (VERSION): Set to "2.20"
2774 * include/features.h (__GLIBC_MINOR__): Set to 20.
2776 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2779 * po/ko.po: Update Korean translation from translation project.
2781 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2784 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2785 macro for handling signed relocations.
2787 2014-09-03 Florian Weimer <fweimer@redhat.com>
2790 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2791 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2793 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2794 * iconvdata/ibm935.c (BODY): Likewise.
2795 * iconvdata/ibm937.c (BODY): Likewise.
2796 * iconvdata/ibm939.c (BODY): Likewise.
2797 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2799 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2801 * iconvdata/run-iconv-test.sh: New test loop for checking for
2804 2014-09-02 Khem Raj <raj.khem@gmail.com>
2806 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2809 2014-09-01 Allan McRae <allan@archlinux.org>
2811 * po/eo.po: Update Esperanto translation from translation project.
2813 * po/ca.po: Update Catalan translation from translation project.
2815 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2817 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2820 2014-08-27 Mark Wielaard <mjw@redhat.com>
2823 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2824 to call set_thread_area instead of hand written asm.
2825 (__NR_set_thread_area): Removed define.
2826 (TLS_FLAG_WRITABLE): Likewise.
2827 (__ASSUME_SET_THREAD_AREA): Remove check.
2828 (TLS_EBX_ARG): Remove define.
2829 (TLS_LOAD_EBX): Likewise.
2831 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2833 Simplify atomicity of socket creation in bind.
2835 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2836 looking up the name after linking the file.
2838 2014-08-27 Allan McRae <allan@archlinux.org>
2840 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2842 2014-08-26 Florian Weimer <fweimer@redhat.com>
2845 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2846 trans_compare, open_translit, __gconv_translit_find):
2847 Remove module loading code.
2849 2014-08-26 Allan McRae <allan@archlinux.org>
2851 * po/vi.po: Update Vietnamese translation from translation project.
2853 * po/uk.po: Update Ukrainian translation from translation project.
2855 * po/fr.po: Update French translation from translation project.
2857 * po/ru.po: Update Russian translation from translation project.
2859 * po/pl.po: Update Polish translation from translation project.
2861 * po/cs.po: Update Czech translation from translation project.
2863 * po/de.po: Update German translation from translation project.
2865 * po/bg.po: Update Bulgarian translation from translation project.
2867 * po/sv.po: Update Sweedish translation from translation project.
2869 * po/nl.po: Update Dutch translation from translation project.
2871 * po/es.po: Update Spanish translation from translation project.
2873 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2875 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2877 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2878 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2879 (CPPFLAGS-iconvconfig): Likewise.
2880 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2882 * include/libc-symbols.h: Remove unnecessary check for
2884 * nptl/pthreadP.h: Likewise.
2885 * sysdeps/aarch64/setjmp.S: Likewise.
2886 * sysdeps/alpha/setjmp.S: Likewise.
2887 * sysdeps/arm/sysdep.h: Likewise.
2888 * sysdeps/i386/setjmp.S: Likewise.
2889 * sysdeps/m68k/setjmp.c: Likewise.
2890 * sysdeps/posix/getcwd.c: Likewise.
2891 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2892 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2893 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2894 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2895 * sysdeps/sh/sh3/setjmp.S: Likewise.
2896 * sysdeps/sh/sh4/setjmp.S: Likewise.
2897 * sysdeps/unix/alpha/sysdep.h: Likewise.
2898 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2899 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2900 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2901 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2906 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2909 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2911 * sysdeps/x86_64/setjmp.S: Likewise.
2913 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2918 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2919 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2921 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2923 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2926 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2927 and __x86_64__ when disabling x87 inline functions.
2929 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2932 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2933 asm statement with __cpuid_count.
2935 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2937 * configure.ac: Change __ehdr_start code to dereference the struct.
2938 Run readelf on the output to look for relocations.
2939 * configure: Regenerated.
2941 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2944 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2946 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2948 2014-08-12 Roland McGrath <roland@hack.frob.com>
2950 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2952 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2955 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2956 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2958 2014-08-12 Sean Anderson <seanga2@gmail.com>
2960 * malloc/malloc.c: Fix typo in comment.
2962 2014-08-09 Allan McRae <allan@archlinux.org>
2964 * Regenerate libc.po.
2966 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2968 * intl/tst-gettext2.sh: Check every lang file for creation.
2970 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2972 * sysdeps/aarch64/fpu/math_private.h
2973 (libc_feholdsetround_noex_aarch64_ctx): New function.
2975 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2977 * sysdeps/arm/armv6/strcpy.S (strcpy):
2978 Fix performance issue in misaligned cases.
2980 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2982 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2983 Move definition from termios.h.
2984 (struct termio): Likewise.
2985 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2986 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2987 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2988 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2990 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2991 Move definition to ioctl-types.h
2992 (struct termio): Likewise.
2993 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2994 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2995 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2996 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2999 2014-08-05 Richard Henderson <rth@redhat.com>
3001 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3003 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3005 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3006 Use __feraiseexcept.
3007 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3008 Protect libm symbols with IS_IN_libm.
3010 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3012 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3014 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3016 2014-08-04 Will Newton <will.newton@linaro.org>
3018 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3021 2014-08-04 Mike Frysinger <vapier@gentoo.org>
3023 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3024 variants for each function.
3026 2014-08-04 Roland McGrath <roland@hack.frob.com>
3028 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3030 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3031 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3033 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3034 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3035 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3036 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3037 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3038 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3039 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3040 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3041 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3042 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3043 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3045 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3046 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3047 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3048 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3049 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3050 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3051 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3053 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3054 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3055 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3056 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3057 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3058 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3059 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3060 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3061 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3062 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3063 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3064 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3065 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3067 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3068 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3069 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3070 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3071 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3072 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3073 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3074 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3075 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3076 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3077 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3078 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3079 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3080 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3081 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3082 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3083 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3084 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3085 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3087 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3088 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3090 2014-08-04 Roland McGrath <roland@hack.frob.com>
3092 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3093 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3094 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3095 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3096 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3097 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3099 2014-08-04 Roland McGrath <roland@hack.frob.com>
3101 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3102 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3103 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3104 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3106 2014-08-04 Roland McGrath <roland@hack.frob.com>
3108 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3109 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3110 (__libc_vfork): Define function under this name.
3111 (__vfork): Define as an alias.
3112 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3113 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3115 2014-08-04 Roland McGrath <roland@hack.frob.com>
3117 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3118 that was previously under [RESET_PID].
3119 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3121 2014-08-04 Andreas Schwab <schwab@suse.de>
3123 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3125 2014-08-03 Mike Frysinger <vapier@gentoo.org>
3127 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3130 2014-08-01 Roland McGrath <roland@hack.frob.com>
3132 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3134 2014-08-01 Richard Henderon <rth@redhat.com>
3136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3137 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3138 typo in exact zero test.
3139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3140 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3143 2014-08-01 Roland McGrath <roland@hack.frob.com>
3145 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3146 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3147 * sysdeps/arm/sysdep.h: ... here.
3148 [!__ASSEMBLER__]: Include <stdint.h>.
3150 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3152 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3153 (HAVE_WCTYPE_H): Likewise.
3154 (HAVE_ISWCTYPE): Likewise.
3155 (ENABLE_NLS): Likewise.
3156 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3157 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3159 * posix/regex_internal.c: Check if DEBUG is defined and is
3162 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3163 (HAVE_MBSRTOWCS): Likewise.
3164 * posix/fnmatch.c: Include string.h unconditionally.
3166 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3168 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3171 2014-07-31 Roland McGrath <roland@hack.frob.com>
3173 * sysdeps/generic/safe-fatal.h: New file.
3174 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3175 * nptl/forward.c: Include it.
3176 (__pthread_unwind): Use __safe_fatal as default action, rather
3177 than a bogus use of INTERNAL_SYSCALL that could never work.
3179 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3180 * configure.ac (libc_cv_builtin_trap): New test.
3181 * configure: Regenerated.
3182 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3183 (ABORT_INSTRUCTION): Define using __builtin_trap.
3185 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3186 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3187 * sysdeps/nptl/nptl-signals.h: New file.
3188 * nptl/pthreadP.h: Include <nptl-signals.h>.
3190 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3192 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3193 (ONE_DIRECTION): Define.
3194 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3195 (ONE_DIRECTION): Define.
3196 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3197 (ONE_DIRECTION): Define.
3199 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3201 * sysdeps/s390/Makefile: Delete file.
3202 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3203 * sysdeps/s390/__longjmp.c: Delete file.
3204 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3205 Remove fields __flags and __reserved.
3206 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3208 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3209 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3210 * sysdeps/s390/rtld-setjmp.S: Likewise.
3211 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3212 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3213 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3214 * sysdeps/s390/s390-32/setjmp.S: ... here.
3216 (__sigsetjmp): Remove setting __flags field.
3217 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3218 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3219 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3220 * sysdeps/s390/s390-64/setjmp.S: ... here.
3222 (__sigsetjmp): Remove setting __flags field.
3223 * sysdeps/s390/setjmp.S: Delete file.
3224 * sysdeps/s390/sigjmp.c: Likewise.
3225 * sysdeps/s390/v1-longjmp.c: Likewise.
3226 * sysdeps/s390/v1-setjmp.h: Likewise.
3227 * sysdeps/s390/v1-sigjmp.c: Likewise.
3228 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3229 Remove v1-longjmp_chk.
3230 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3231 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3232 Include debug/longjmp_chk.c and add versioning.
3233 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3234 Include nptl/pt-longjmp.c and add versioning.
3235 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3236 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3237 Include __longjmp.c.
3238 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3240 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3241 (__getcontext): Remove setting __flags field.
3243 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3244 Don't restore upper high grps.
3245 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3247 (__swapcontext): Remove setting uc_flags field.
3248 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3250 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3251 Include __longjmp.c.
3252 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3254 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3255 (__getcontext): Remove setting __flags field.
3257 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3258 (__swapcontext): Remove setting uc_flags field.
3259 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3260 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3261 Remove fields uc_high_gprs and __reserved.
3262 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3263 New file with reverted content.
3264 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3265 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3267 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3270 2014-07-31 Andreas Schwab <schwab@suse.de>
3272 * config.h.in (HAVE_IFUNC): Define to 0.
3273 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3276 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3279 memmove-avx-unaligned, memcpy-avx-unaligned and
3280 mempcpy-avx-unaligned.
3281 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3282 Add tests for AVX memcpy functions.
3283 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3284 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3286 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3287 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3289 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3292 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3293 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3294 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3296 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3299 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3302 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
3305 * manual/llio.texi: Add section about open file description locks.
3306 * manual/examples/ofdlocks.c: Example of open file description
3308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3309 F_OFD_SETLK, and F_OFD_SETLKW.
3311 2014-07-23 Allan McRae <allan@archlinux.org>
3313 * po/es.po: Update Spanish translation from translation project.
3315 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3317 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3319 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3322 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3323 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3324 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3326 2014-07-17 Joseph Myers <joseph@codesourcery.com>
3329 * math/fesetenv.c (__fesetenv)
3330 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3331 * math/feupdateenv.c (__feupdateenv)
3332 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3334 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3335 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3336 (__ASSUME_SOCKETCALL): Do not define.
3338 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3339 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3340 (__ASSUME_SOCKETCALL): Do not define.
3341 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3342 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3343 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3344 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3345 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3346 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3347 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3348 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3350 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3351 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3352 (__ASSUME_SOCKETCALL): Do not define.
3353 (__ASSUME_IPC64): Define unconditionally.
3354 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3355 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3356 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3357 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3358 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3359 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3360 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3363 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3364 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3365 (__ASSUME_SOCKETCALL): Do not define.
3366 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3367 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3368 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3369 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3370 (__ASSUME_REQUEUE_PI): Define unconditionally.
3371 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3372 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3373 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3374 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3375 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3376 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3378 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3379 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3380 (__ASSUME_SOCKETCALL): Do not define.
3381 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3382 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3383 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3384 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3385 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3386 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3388 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3389 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3390 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3391 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3392 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3393 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3394 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3395 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3396 (__ASSUME_GETCPU_SYSCALL): Likewise.
3398 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3399 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3400 cases for individual architectures.
3401 * sysdeps/gnu/configure: Regenerated.
3402 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3403 LIBC_SLIBDIR_RTLDDIR.
3404 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3405 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3406 LIBC_SLIBDIR_RTLDDIR.
3407 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3409 LIBC_SLIBDIR_RTLDDIR.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3412 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3413 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3415 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3416 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3418 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3419 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3420 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3421 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3423 * sysdeps/aarch64/shlib-versions: Move to ...
3424 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3425 * sysdeps/alpha/shlib-versions: Move to ...
3426 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3427 * sysdeps/arm/shlib-versions: Move to ...
3428 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3429 * sysdeps/hppa/shlib-versions: Move all contents except for
3430 libgcc_s entry to ...
3431 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3433 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3434 * sysdeps/ia64/shlib-versions: Move to ...
3435 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3437 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3438 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3439 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3440 * sysdeps/microblaze/shlib-versions: Move to ...
3441 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3442 * sysdeps/mips/shlib-versions: Move to ...
3443 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3445 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3446 * sysdeps/tile/shlib-versions: Move to ...
3447 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3448 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3450 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3451 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3453 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3455 2014-07-17 Will Newton <will.newton@linaro.org>
3457 * sysdeps/arm/bits/atomic.h
3458 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3459 (__arch_compare_and_exchange_bool_16_int): Likewise.
3460 (__arch_compare_and_exchange_bool_64_int): Likewise.
3462 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3463 into an #else block.
3465 2014-07-16 Roland McGrath <roland@hack.frob.com>
3467 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3468 just Linux configurations. Test empirically that the compiler sets
3469 __ARM_EABI__, rather than using the tuple to decide.
3470 * sysdeps/arm/preconfigure: Regenerated.
3471 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3472 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3473 contents appended ...
3474 * sysdeps/arm/configure.ac: ... here.
3475 * sysdeps/arm/configure: Regenerated.
3477 2014-07-15 Roland McGrath <roland@hack.frob.com>
3479 * nptl/pthread_kill.c: New file.
3480 * nptl/pthread_sigmask.c: New file.
3481 * nptl/pthread_sigqueue.c: New file.
3483 * sysdeps/nptl/lowlevellock.h: New file.
3484 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3485 * sysdeps/nptl/lowlevellock-futex.h: New file.
3487 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3488 Remove dead declarations.
3490 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3492 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3493 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3495 * sysdeps/x86_64/configure.ac: Likewise.
3496 * sysdeps/i386/configure: Regenerated.
3497 * sysdeps/x86_64/configure: Likewise.
3498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3499 memset-avx2 only if config-cflags-avx2 is yes.
3500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3501 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3503 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3504 only if HAVE_AVX2_SUPPORT is defined.
3505 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3507 2014-07-14 Alan Modra <amodra@gmail.com>
3510 * elf/elf.h (DT_PPC64_NUM): Correct value.
3511 * NEWS: Add to fixed bug list.
3513 2014-07-13 Jim Meyering <meyering@fb.com>
3516 regex: don't deref NULL upon heap allocation failure
3517 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3518 failure in one more place.
3519 To trigger the segfault, configure grep -with-included-regex,
3520 build it, and run these commands:
3521 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3523 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3525 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3527 2014-07-11 Richard Henderson <rth@redhat.com>
3529 * sysdeps/aarch64/libm-test-ulps: Update.
3531 2014-07-10 Florian Weimer <fweimer@redhat.com>
3534 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3535 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3536 (__nptl_setxid): Initialize error member. Call
3537 __nptl_setxid_error.
3538 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3539 * nptl/descr.h (struct xid_command): Add error member.
3540 * nptl/tst-setuid3.c: New file.
3541 * nptl/Makefile (tests): Add it.
3543 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3545 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3547 (__lll_trylock): Use __lll_base_trylock.
3548 (__lll_cond_trylock): Likewise.
3550 2014-07-10 Roland McGrath <roland@hack.frob.com>
3552 * nptl/pthread_create.c (start_thread): Use atomic_or and
3553 lll_futex_wake directly rather than lll_robust_dead.
3554 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3555 (lll_robust_dead): Macro removed.
3556 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3557 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3558 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3559 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3560 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3561 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3562 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3563 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3564 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3565 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3566 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3567 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3568 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3569 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3570 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3572 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3573 Use atomic_compare_and_exchange_val_acq directly rather than
3575 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3576 (__lll_robust_trylock, lll_robust_trylock): Removed.
3577 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3578 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3579 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3580 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3581 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3582 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3583 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3584 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3585 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3586 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3589 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3590 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3592 2014-07-02 Florian Weimer <fweimer@redhat.com>
3594 * manual/locale.texi (Locale Names): New section documenting
3595 locale name syntax. Adjust menu and node chaining accordingly.
3596 (Choosing Locale): Reference Locale Names, Locale Categories.
3597 Mention setting LC_ALL=C. Reflect that name syntax is now
3599 (Locale Categories): New section title. Reference Locale Names.
3600 LC_ALL is an environment variable, but not a category.
3601 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3602 description, now in Locale Name. Reference that section. Locale
3603 name syntax is now documented.
3605 2014-07-02 Florian Weimer <fweimer@redhat.com>
3608 * locale/findlocale.c (name_present, valid_locale_name): New
3610 (_nl_find_locale): Use the loc_name variable to store name
3611 candidates. Call name_present and valid_locale_name to check and
3612 validate locale names. Return an error if the locale is invalid.
3614 2014-07-02 Florian Weimer <fweimer@redhat.com>
3616 * locale/setlocale.c (setlocale): Use strdup for allocating
3617 composite name copy.
3619 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3621 Sync up with gnulib.
3622 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3623 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3624 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3625 and _GL_ARG_NONNULL.
3626 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3627 [!_LIBC]: Include code for Windows and Cygwin.
3628 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3629 Include prototype for int strerror_r.
3630 [!_LIBC] (is_open): New function.
3631 (flush_stdout): New function.
3632 (print_errno_message): Use it.
3634 (error_at_line): Likewise.
3635 (error_tail) Add function attribute macros. Use
3638 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3640 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3642 * io/ftw.c: Include sys/param.h unconditionally.
3644 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3647 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3649 (freecache): New function to free CACHE on exit.
3651 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3654 2014-07-09 David S. Miller <davem@davemloft.net>
3656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3658 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3659 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3660 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3661 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3662 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3663 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3664 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3665 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3666 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3667 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3668 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3669 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3670 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3672 2014-07-09 Andreas Schwab <schwab@suse.de>
3674 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3676 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3677 (do_test): Likewise.
3679 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3681 2014-07-09 Will Newton <will.newton@linaro.org>
3683 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3684 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3685 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3686 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3687 * sysdeps/hppa/start.S (_start): Likewise.
3689 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3691 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3693 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3696 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3698 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3699 after checking that it is non-NULL.
3701 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3703 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3705 * sysdeps/powerpc/memmove.c: Remove file.
3706 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3707 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3708 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3709 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3710 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3711 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3712 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3713 string memmove instead of removed powerpc one.
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3716 [weak_alias]: Fix compiler warning due trailing data.
3717 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3718 [weak_alias]: Likewise.
3719 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3720 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3723 (__libc_ifunc_impl_list): Add memmove functions.
3725 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3727 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3729 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3731 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3733 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3735 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3737 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3739 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3741 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3743 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3745 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3747 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3749 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3751 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3753 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3755 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3757 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3759 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3762 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3765 to avoid alignment traps in non-cacheable memory.
3766 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3770 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3771 file: multiarch power7 memmove.
3772 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3773 multiarch default memmove.
3774 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3775 multiarch memove for powerpc32/power4.
3777 * string/bcopy.c: Use full path to include memmove.c.
3778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3780 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3781 bcopy for powerpc64.
3782 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3783 bcopy for powerpc64.
3784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3785 and memmove implementations.
3786 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3787 optimized multiarch memmove for POWER7/powerpc64.
3788 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3789 default multiarch memmove for powerpc64.
3790 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3791 multiarch for powerpc64.
3792 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3793 for POWER7/powerpc64.
3794 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3795 memmove for POWER7/powerpc64.
3797 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3800 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3801 __ELF_NATIVE_CLASS equal to 64.
3803 2014-07-07 Roland McGrath <roland@hack.frob.com>
3805 * sysdeps/nptl/lowlevellock.h: File removed.
3807 * NEWS: NPTL is no longer an add-on!
3808 * nptl/internaltypes.h: Moved ...
3809 * sysdeps/nptl/internaltypes.h: ... here.
3810 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3811 * sysdeps/nptl/fork.c: Likewise.
3812 * sysdeps/nptl/gai_misc.h: Likewise.
3813 * sysdeps/nptl/librt-cancellation.c: Likewise.
3814 * sysdeps/nptl/jmp-unwind.c: Likewise.
3815 * sysdeps/nptl/setxid.h: Likewise.
3816 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3817 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3818 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3819 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3820 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3821 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3822 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3823 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3824 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3825 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3826 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3827 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3828 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3829 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3830 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3831 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3832 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3833 * nptl/Makeconfig: Moved ...
3834 * sysdeps/nptl/Makeconfig: ... here.
3835 * nptl/configure: File removed.
3836 * nptl/ANNOUNCE: File removed.
3837 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3838 * sysdeps/unix/sysv/linux/configure: Regenerated.
3840 * nptl/Makefile (routines): Add libc_pthread_init,
3841 libc_multiple_threads, register-atfork and unregister-atfork.
3842 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3843 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3844 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3845 pthread-pi-defines.sym, structsem.sym.
3846 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3847 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3848 [$(subdir) = nptl] (tests): Add tst-setgetname.
3849 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3850 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3851 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3852 [!LIBC_SIGACTION]: Remove aliases.
3853 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3854 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3855 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3856 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3857 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3858 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3859 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3860 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3861 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3862 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3863 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3864 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3865 __libc_allocate_rtsig_private.
3866 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3867 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3868 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3869 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3870 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3871 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3872 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3873 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3874 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3875 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3876 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3877 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3878 * nptl/internaltypes.h: ... here.
3879 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3880 * sysdeps/nptl/jmp-unwind.c: ... here.
3881 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3882 * nptl/libc-lowlevellock.c: ... here.
3883 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3884 * nptl/libc_multiple_threads.c: ... here.
3885 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3886 * nptl/libc_pthread_init.c: ... here.
3887 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3888 * nptl/lowlevelbarrier.sym: ... here.
3889 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3890 * nptl/lowlevelcond.sym: ... here.
3891 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3892 * nptl/lowlevellock.c: ... here.
3893 * nptl/lowlevellock.h: Moved ...
3894 * sysdeps/nptl/lowlevellock.h: ... here.
3895 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3896 * nptl/lowlevelrobustlock.c: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3898 * nptl/lowlevelrobustlock.sym: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3900 * nptl/lowlevelrwlock.sym: ... here.
3901 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3902 * nptl/pt-fork.c: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3904 * nptl/pthread-pi-defines.sym: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3906 * nptl/pthread_attr_getaffinity.c: ... here.
3907 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3908 * nptl/pthread_attr_setaffinity.c: ... here.
3909 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3910 * nptl/pthread_mutex_cond_lock.c: ... here.
3911 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3913 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3914 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3915 * nptl/pthread_once.c: ... here, replacing old file.
3916 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3917 * nptl/pthread_yield.c: ... here.
3918 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3919 * nptl/register-atfork.c: ... here.
3920 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3921 * nptl/sem_post.c: ... here.
3922 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3923 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3924 * nptl/sem_timedwait.c: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3926 * nptl/sem_trywait.c: ... here.
3927 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3928 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3929 * nptl/sem_wait.c: ... here.
3930 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3931 * nptl/structsem.sym: ... here.
3932 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3933 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3934 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3935 * nptl/unregister-atfork.c: ... here.
3936 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3937 * nptl/unwindbuf.sym: ... here.
3938 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3939 * sysdeps/nptl/fork.c: ... here.
3940 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3941 * sysdeps/nptl/fork.h: ... here.
3942 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3943 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3944 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3945 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3946 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3947 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3948 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3950 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3952 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3954 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3955 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3956 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3957 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3958 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3959 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3960 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3961 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3962 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3963 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3964 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3965 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3966 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3967 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3968 * sysdeps/unix/sysv/linux/raise.c: ... here.
3969 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3970 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3972 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3974 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3975 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3976 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3977 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3978 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3979 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3980 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3982 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3983 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3985 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3987 * sysdeps/generic/memcopy.h: Add comment for
3988 MEMCPY_OK_FOR_FWD_MEMMOVE.
3990 2014-07-04 Will Newton <will.newton@linaro.org>
3992 * string/memchr.c: Merge from gnulib.
3993 [_LIBC]: Remove conditionals.
3994 (__ptr_t): Remove define.
3995 (LONG_MAX_32_BITS): Likewise.
3996 (LONG_MAX): Likewise.
3997 (MEMCHR): Use ANSI prototype and optimize algorithm.
3999 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4001 2014-07-03 Roland McGrath <roland@hack.frob.com>
4003 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4004 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4006 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4007 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4008 in a bare environment with no <stdlib.h> installed.
4009 * sysdeps/nptl/configure: Regenerated.
4011 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4013 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4014 AC_EGREP_CPP for kernel header checks, so they only succeed if
4015 including <linux/version.h> actually works right.
4016 * sysdeps/unix/sysv/linux/configure: Regenerated.
4018 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4019 value so it's not diagnosed as unused.
4021 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4022 thing) with "ifeq ($(subdir),rt)".
4024 2014-07-03 Richard Henderson <rth@redhat.com>
4026 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4027 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4028 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4030 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4031 (math_force_eval): New.
4033 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4034 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4036 * sysdeps/alpha/fpu/s_round.c: Remove file.
4037 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4039 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4040 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4041 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4042 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4043 (_dl_start, print_statistics): Likewise.
4044 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4045 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4047 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4048 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4049 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4050 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4051 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4052 (HP_SMALL_TIMING_AVAIL): Define.
4053 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4054 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4055 (HP_SMALL_TIMING_AVAIL): Define.
4056 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4057 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4059 * sysdeps/aarch64/hp-timing.h: New file.
4061 * sysdeps/generic/hp-timing.h: Remove dead comment.
4062 * sysdeps/generic/hp-timing-common.h: New file.
4063 * sysdeps/alpha/hp-timing.h: Include it.
4064 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4065 * sysdeps/i386/i686/hp-timing.h: Likewise.
4066 * sysdeps/ia64/hp-timing.h: Likewise.
4067 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4068 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4069 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4070 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4071 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4072 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4075 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4076 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4077 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4078 * elf/rtld.c (_dl_start_final): Likewise.
4079 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4080 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4081 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4082 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4083 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4084 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4085 (HP_TIMING_DIFF_INIT): Remove.
4086 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4088 (HP_TIMING_DIFF_INIT): Remove.
4089 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4090 * sysdeps/i386/i686/hp-timing.c: Remove file.
4091 * sysdeps/x86_64/hp-timing.c: Remove file.
4092 * sysdeps/ia64/hp-timing.c: Remove file.
4093 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4094 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4095 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4096 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4098 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4099 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4100 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4101 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4103 (HP_TIMING_ACCUM): Remove.
4104 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4105 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4106 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4108 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4109 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4110 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4111 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4112 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4113 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4115 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4117 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4119 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4121 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4123 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4125 Sync up with gettext.
4126 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4127 [_MSC_VER]: Include malloc.h
4128 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4129 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4130 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4131 TEMP_FAILURE_RETRY. Cast return of alloca.
4132 [!_LIBC] Call gl_rwlock_init.
4133 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4135 2014-07-02 Roland McGrath <roland@hack.frob.com>
4137 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4138 before checking its value.
4140 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4142 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4144 * debug/memcpy_chk.c: Don't include pagecopy.h.
4145 * debug/mempcpy_chk.c: Likewise.
4146 * string/memcpy.c: Likewise.
4147 * string/memmove.c: Likewise.
4148 * sysdeps/powerpc/memmove.c: Likewise.
4149 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4150 definition of PAGE_COPY_FWD_MAYBE here...
4151 * sysdeps/generic/pagecopy.h: ... from here.
4152 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4154 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4155 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4157 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4161 (__libc_ifunc_impl_list): Likewise.
4162 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4163 multiarch strcat for PPC64.
4164 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4165 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4167 2014-07-02 Roland McGrath <roland@hack.frob.com>
4169 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4171 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4173 * intl/loadmsgcat.c: Remove declaration of
4174 get_sysdep_segment_value.
4175 (get_sysdep_segment_value): Use ISO C style.
4176 (_nl_load_domain): Use ISO C style. Get rid of redundant
4177 semicolon. Fix typo and formatting in comment.
4178 (_nl_unload_domain): Use ISO C style.
4180 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4182 2014-07-02 Will Newton <will.newton@linaro.org>
4184 * malloc/obstack.c: Merge from gnulib master.
4185 [HAVE_CONFIG_H]: Remove conditional code.
4186 [!_LIBC]: Include config.h.
4187 [!ELIDE_CODE]: Don't include inttypes.h, include
4188 stdint.h unconditionally.
4189 (print_and_abort): Mark as _Noreturn.
4190 (_obstack_allocated_p): Mark as __attribute_pure__.
4191 (obstack_free): Rename to __obstack_free.
4192 [!__attribute__]: Remove conditional code.
4193 * malloc/obstack.h: Merge from gnulib master.
4194 [__cplusplus]: Move conditional down.
4195 [!__attribute_pure__]: Define __attribute_pure__ here
4196 if it is not already defined.
4197 (_obstack_memory_used): Mark as __attribute_pure__.
4198 [!__obstack_free]: Define as obstack_free.
4199 [__GNUC__]: Remove check for ancient NeXT gcc.
4201 2014-07-02 Will Newton <will.newton@linaro.org>
4202 Paul Eggert <eggert@cs.ucla.edu>
4204 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4206 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4208 * resolv/gethnamaddr.c: Add comment warning that the file is
4211 2014-07-01 Carlos O'Donell <carlos@redhat.com>
4213 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4216 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4217 entry for aio_cancel and aio_cancel64.
4218 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4219 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4220 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4221 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4222 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4223 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4224 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4225 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4226 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4227 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4228 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4229 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4230 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4232 2014-07-01 Roland McGrath <roland@hack.frob.com>
4234 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4235 * nptl/pthread_mutex_lock.c: Likewise.
4236 * nptl/pthread_mutex_timedlock.c: Likewise.
4237 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4239 2014-07-01 Richard henderson <rth@redhat.com>
4241 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4242 (__isnan, __isnanl): Remove.
4243 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4245 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4247 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4249 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4251 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4253 * resolv/nss_dns/dns-host.c (getanswer_r)
4254 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4256 2014-07-01 Joseph Myers <joseph@codesourcery.com>
4258 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4259 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4261 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4262 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4264 2014-07-01 Roland McGrath <roland@hack.frob.com>
4266 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4267 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4269 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4270 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4272 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4273 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4275 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4276 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4278 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4279 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4280 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4281 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4283 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4284 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4285 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4286 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4289 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4291 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4292 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4293 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4294 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4295 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4296 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4298 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4304 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4306 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4307 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4308 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4309 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4310 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4312 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4313 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4314 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4315 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4316 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4317 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4318 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4319 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4321 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4323 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4324 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4325 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4328 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4332 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4334 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4335 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4337 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4339 * sysdeps/arm/libm-test-ulps: Regenerated.
4341 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4342 Roland McGrath <roland@hack.frob.com>
4344 * test-skeleton.c (signal_handler): Kill the whole process group
4345 before killing the child individually.
4346 (main): Report any failure on `setpgid'.
4348 2014-06-30 Roland McGrath <roland@hack.frob.com>
4350 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4351 from _TLS_H to _ARM_NPTL_TLS_H.
4352 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4353 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4355 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4358 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4359 (__expm1l): Return argument unchanged when small but not
4362 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4364 (_FP_UNPACK_RAW_1_P): Likewise.
4365 (_FP_PACK_RAW_1): Likewise.
4366 (_FP_PACK_RAW_1_P): Likewise.
4367 (_FP_MUL_MEAT_1_wide): Likewise.
4368 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4369 (_FP_MUL_MEAT_1_hard): Likewise.
4370 (_FP_DIV_MEAT_1_imm): Likewise.
4371 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4372 (_FP_DIV_MEAT_1_udiv): Likewise.
4373 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4374 (_FP_UNPACK_RAW_2): Likewise.
4375 (_FP_UNPACK_RAW_2_P): Likewise.
4376 (_FP_PACK_RAW_2): Likewise.
4377 (_FP_PACK_RAW_2_P): Likewise.
4378 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4379 (_FP_MUL_MEAT_2_wide): Likewise.
4380 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4381 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4382 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4383 (_FP_MUL_MEAT_2_gmp): Likewise.
4384 (_FP_DIV_MEAT_2_udiv): Likewise.
4385 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4386 (_FP_FRAC_SRL_4): Likewise.
4387 (_FP_FRAC_SRST_4): Likewise.
4388 (_FP_FRAC_SRS_4): Likewise.
4389 (_FP_UNPACK_RAW_4): Likewise.
4390 (_FP_UNPACK_RAW_4_P): Likewise.
4391 (_FP_PACK_RAW_4): Likewise.
4392 (_FP_PACK_RAW_4_P): Likewise.
4393 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4394 (_FP_MUL_MEAT_4_wide): Likewise.
4395 (_FP_MUL_MEAT_4_gmp): Likewise.
4396 (umul_ppppmnnn): Likewise.
4397 (_FP_DIV_MEAT_4_udiv): Likewise.
4398 (__FP_FRAC_ADD_4): Likewise.
4399 (__FP_FRAC_SUB_3): Likewise.
4400 (__FP_FRAC_SUB_4): Likewise.
4401 (__FP_FRAC_DEC_3): Likewise.
4402 (__FP_FRAC_DEC_4): Likewise.
4403 (__FP_FRAC_ADDI_4): Likewise.
4404 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4405 (_FP_FRAC_SRL_8): Likewise.
4406 (_FP_FRAC_SRS_8): Likewise.
4408 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4410 (FP_UNPACK_RAW_EP): Likewise.
4411 (FP_PACK_RAW_E): Likewise.
4412 (FP_PACK_RAW_EP): Likewise.
4413 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4414 (_FP_ISSIGNAN): Likewise.
4415 (_FP_ADD_INTERNAL): Likewise.
4416 (_FP_FMA): Likewise.
4417 (_FP_CMP): Likewise.
4418 (_FP_SQRT): Likewise.
4419 (_FP_TO_INT): Likewise.
4420 (_FP_FROM_INT): Likewise.
4421 (FP_EXTEND): Likewise.
4422 (_FP_DIV_MEAT_N_loop): Likewise.
4424 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4426 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4429 2014-06-29 Joseph Myers <joseph@codesourcery.com>
4432 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4433 result with correct sign in case of exponents that produce
4434 overflow except for X very close to 1.
4436 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4438 mktime: merge #if/#ifdef usage from glibc
4439 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4440 as that works with both Glibc's and Gnulib's style.
4441 See thread starting at Siddhesh Poyarekar's bug report at:
4442 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4444 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4446 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4447 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4448 * sysdeps/tile/tilegx/memmove.c: Remove file.
4450 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4452 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4453 abi-name definition.
4454 * scripts/soversions.awk: Do not handle or generate ABI lines.
4455 * shlib-versions: Remove ABI entries.
4456 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4457 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4459 2014-06-27 Roland McGrath <roland@hack.frob.com>
4461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4462 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4463 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4469 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4472 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4474 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4476 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4478 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4480 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4482 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4485 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4495 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4497 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4502 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4506 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4509 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4511 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4514 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4517 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4519 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4522 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4524 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4525 Identical file removed.
4526 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4528 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4530 Identical file removed.
4531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4532 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4535 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4537 Identical file removed.
4538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4539 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4541 Identical file removed.
4542 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4543 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4545 Identical file removed.
4546 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4547 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4548 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4549 Identical file removed.
4550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4552 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4553 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4554 Identical file removed.
4555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4557 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4559 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4561 Identical file removed.
4562 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4564 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4566 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4567 Identical file removed.
4568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4570 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4572 Identical file removed.
4573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4575 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4576 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4577 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4578 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4579 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4582 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4583 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4584 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4586 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4587 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4588 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4589 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4590 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4592 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4595 * nscd/nscd.c (monitor_child): Return exit status of child
4596 instead of return value from wait syscall.
4598 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4600 * configure.ac (libc_commonpagesize): Remove variable.
4601 (libc_relro_required): Likewise.
4602 (libc_cv_z_relro): Remove configure test.
4603 * configure: Regenerated.
4604 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4606 (libc_relro_required): Likewise.
4607 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4608 (libc_relro_required): Likewise.
4609 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4610 (libc_relro_required): Likewise.
4611 * sysdeps/arm/preconfigure: Regenerated.
4612 * sysdeps/ia64/preconfigure: Remove file.
4613 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4615 (libc_relro_required): Likewise.
4619 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4620 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4621 recompute overflowing results in original rounding mode.
4622 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4623 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4624 recompute overflowing results in original rounding mode.
4625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4626 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4627 recompute overflowing results in original rounding mode.
4628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4629 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4630 recompute overflowing results in original rounding mode.
4631 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4632 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4633 recompute overflowing results in original rounding mode.
4634 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4635 (libc_feholdsetround_ctx): New macro.
4636 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4637 * sysdeps/i386/fpu/libm-test-ulps: Update.
4638 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4640 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4642 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4643 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4644 corresponding .cpsetup call.
4646 2014-06-26 Roland McGrath <roland@hack.frob.com>
4648 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4649 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4650 * sysdeps/arm/Makefile [$(subdir) = csu]
4651 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4652 (static-only-routines): Add aeabi_read_tp here.
4653 (shared-only-routines): Add libc-aeabi_read_tp here.
4654 (CFLAGS-libc-start.c): Add -fexceptions here.
4655 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4656 (sysdep_routines, static-only-routines, shared-only-routines):
4657 Don't add to these here.
4658 (CFLAGS-libc-start.c): Likewise.
4660 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4661 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4662 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4663 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4664 * sysdeps/arm/Makefile [$(subdir) = rt]
4665 (librt-sysdep_routines, librt-shared-only-routines):
4666 Append rt-aeabi_unwind_cpp_pr1 here.
4667 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4668 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4669 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4670 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4671 Append nptl-aeabi_unwind_cpp_pr1 here.
4672 (tests): Filter out tst-cleanupx4 here.
4673 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4674 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4675 Don't do those here.
4677 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4679 * scripts/list-sources.sh: Do not handle ports specially.
4681 2014-06-26 Roland McGrath <roland@hack.frob.com>
4683 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4684 * sysdeps/arm/feupdateenv.c: Likewise.
4686 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4688 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4690 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4691 trailing whitespace removed.
4692 * scripts/config.guess: Update to version 2014-03-23.
4693 * scripts/config.sub: Update to version 2014-05-01
4694 * scripts/install-sh: Update to version 2013-12-25.23.
4695 * scripts/move-if-change: Update from gnulib.
4697 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4699 * debug/memmove_chk.c: Remove pagecopy.h include.
4701 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4703 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4704 identical to gnulib mktime.
4706 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4708 * configure.ac: Do not test for machine being rs6000. Do not test
4710 * configure: Regenerated.
4712 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4714 * configure: Regenerated.
4715 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4716 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4717 Remove configure test.
4718 * sysdeps/arm/configure: Regenerated.
4719 * sysdeps/nptl/configure.ac: Do not check
4720 libc_cv_asm_cfi_directives.
4721 * sysdeps/nptl/configure: Regenerated.
4722 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4723 * sysdeps/x86_64/nptl/configure: Remove generated file.
4724 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4726 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4728 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4730 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4731 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4732 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4735 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4736 instead of whether it is defined.
4737 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4738 * sysdeps/hppa/dl-machine.h: Likewise.
4739 * sysdeps/ia64/dl-machine.h: Likewise.
4740 * sysdeps/m68k/dl-machine.h: Likewise.
4741 * sysdeps/microblaze/dl-machine.h: Likewise.
4742 * sysdeps/mips/dl-machine.: Likewise.
4743 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4744 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4745 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4746 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4747 * sysdeps/sh/dl-machine.h: Likewise.
4748 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4749 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4750 * sysdeps/tile/dl-machine.h: Likewise.
4751 * sysdeps/x86_64/dl-machine.h: Likewise.
4753 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4755 (verify_persistent_db): Likewise.
4757 2014-06-26 Roland McGrath <roland@hack.frob.com>
4759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4760 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4762 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4765 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4768 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4770 Identical file removed.
4771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4772 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4774 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4776 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4778 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4780 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4783 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4785 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4787 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4790 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4792 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4794 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4796 Identical file removed.
4797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4798 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4800 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4803 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4806 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4808 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4810 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4812 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4814 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4817 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4820 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4822 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4825 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4827 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4829 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4831 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4832 * sysdeps/unix/sysv/linux/s390/Versions
4833 (libpthread: GLIBC_2.19): New version set.
4834 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4835 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4836 (librt: GLIBC_2.3.3): New version set.
4837 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4838 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4839 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4841 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4843 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4845 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4847 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4849 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4850 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4851 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4852 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4853 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4854 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4855 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4857 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4859 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4861 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4862 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4863 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4865 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4867 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4873 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4875 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4877 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4879 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4881 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4884 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4885 (__libc_vfork): Define the function under this name.
4886 [!NOT_IN_libc] (__vfork): Make this an alias.
4887 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4888 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4889 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4890 (__libc_vfork): Define the function under this name.
4891 [!NOT_IN_libc] (__vfork): Make this an alias.
4892 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4893 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4897 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4899 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4900 code that was previously under [RESET_PID].
4901 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4902 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4903 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4905 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4906 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4907 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4908 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4909 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4910 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4911 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4912 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4913 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4914 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4917 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4918 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4919 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4920 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4921 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4922 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4923 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4924 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4925 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4926 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4927 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4928 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4929 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4930 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4931 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4932 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4933 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4934 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4935 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4936 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4937 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4938 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4939 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4940 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4941 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4942 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4943 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4944 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4945 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4947 2014-06-25 Roland McGrath <roland@hack.frob.com>
4949 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4950 that was previously under [RESET_PID].
4951 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4953 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4955 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4956 not undefine and redefine.
4957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4958 [O_CLOEXEC]: Make code unconditional.
4959 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4960 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4961 <kernel-features.h>.
4962 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4963 conditional variable definition.
4964 (shm_open) [O_CLOEXEC]: Make code unconditional.
4965 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4968 * configure.ac (USE_REGPARMS): Don't define here.
4969 * configure: Regenerated.
4970 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4971 * sysdeps/i386/configure: Regenerated.
4973 * nptl/createthread.c: Don't include kernel-features.h.
4974 * nptl/pthread_cancel.c: Likewise.
4975 * nptl/pthread_condattr_setclock.c: Likewise.
4976 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4977 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4978 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4979 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4980 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4981 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4982 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4983 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4984 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4985 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4986 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4987 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4988 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4989 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4990 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4991 * nscd/gai.c: Likewise.
4992 * nss/nss_db/db-open.c: Likewise.
4993 * sysdeps/generic/ldsodefs.h: Likewise.
4994 * sysdeps/sh/nptl/tls.h: Likewise.
4995 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4996 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4997 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4998 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4999 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5000 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5001 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5002 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5003 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5004 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5005 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5006 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5007 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5008 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5009 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5010 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5011 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5012 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5013 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5014 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5015 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5016 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5017 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5018 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5019 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5020 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5021 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5022 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5023 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5024 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5025 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5026 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5027 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5028 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5029 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5030 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5031 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5032 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5033 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5034 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5035 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5036 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5037 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5038 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5039 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5040 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5041 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5042 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5043 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5044 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5045 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5046 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5047 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5048 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5049 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5050 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5051 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5052 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5075 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5076 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5077 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5078 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5079 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5080 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5081 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5082 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5083 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5084 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5085 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5086 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5087 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5088 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5089 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5090 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5091 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5092 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5093 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5094 * sysdeps/unix/sysv/linux/system.c: Likewise.
5095 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5096 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5097 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5098 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5099 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5100 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5101 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5103 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5104 * configure: Regenerated.
5105 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5107 * configure.ac (base_machine): Do not set specially for particular
5109 * configure: Regenerated.
5110 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5111 settings from configure.ac.
5112 * sysdeps/i386/preconfigure: New file.
5113 * sysdeps/s390/preconfigure: Likewise.
5114 * sysdeps/sh/preconfigure: Likewise.
5115 * sysdeps/sparc/preconfigure: Likewise.
5117 2014-06-25 Roland McGrath <roland@hack.frob.com>
5119 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5120 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5121 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5122 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5123 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5124 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5125 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5126 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5127 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5128 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5129 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5130 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5131 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5132 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5133 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5134 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5135 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5136 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5137 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5139 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5140 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5141 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5142 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5143 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5144 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5145 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5146 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5147 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5148 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5149 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5150 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5151 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5152 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5153 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5154 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5155 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5156 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5157 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5158 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5160 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5162 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5163 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5164 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5165 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5166 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5168 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5169 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5170 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5171 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5172 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5173 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5174 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5175 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5176 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5179 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5181 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5184 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5187 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5189 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5192 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5194 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5198 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5201 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5204 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5206 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5209 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5211 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5213 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5215 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5217 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5220 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5223 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5225 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5228 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5230 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5232 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5234 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5237 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5242 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5245 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5247 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5249 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5251 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5253 * timezone/checktab.awk: Update from tzcode 2014e.
5254 * timezone/private.h: Likewise.
5255 * timezone/tzfile.h: Likewise.
5256 * timezone/zdump.c: Likewise.
5257 * timezone/zic.c: Likewise.
5259 * sysdeps/unix/sysv/linux/kernel-features.h
5260 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5262 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5263 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5264 Remove conditional code.
5266 2014-06-25 Will Newton <will.newton@linaro.org>
5268 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5269 (_dl_arm_cap_flags): Add HWCAP2 values.
5270 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5271 (_DL_HWCAP_COUNT): Increase to 37.
5272 (_DL_HWCAP_LAST): New define.
5273 (_DL_HWCAP2_LAST): New define.
5274 (_dl_procinfo): Add support for printing
5276 (_dl_string_hwcap): Use _dl_hwcap_string.
5278 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5282 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5284 * README: Do not mention ports directory.
5286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5288 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5289 <kernel-features.h>.
5290 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5291 conditional variable definition.
5292 (__futimes): Update comment.
5293 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5294 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5297 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5298 arguments close to 0.
5299 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5301 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5303 * math/auto-libm-test-in: Add more tests of exp10.
5304 * math/auto-libm-test-out: Regenerated.
5305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5307 * sysdeps/unix/sysv/linux/kernel-features.h
5308 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5309 * sysdeps/unix/sysv/linux/readv.c: Do not include
5310 <kernel-features.h>.
5311 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5312 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5313 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5315 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5317 * sysdeps/unix/sysv/linux/writev.c: Do not include
5318 <kernel-features.h>.
5319 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5320 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5321 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5323 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5326 2014-06-25 Will Newton <will.newton@linaro.org>
5328 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5329 comment changes throughout the file. Remove checks
5330 for HAVE_*_H definitions that are not required.
5331 (__gen_tempname): Call abort if an unknown kind value is
5334 2014-06-25 Andreas Schwab <schwab@suse.de>
5337 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5338 scalbln, scalblnf, scalblnl in libc.
5340 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5343 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5344 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5345 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5347 2014-06-24 Roland McGrath <roland@hack.frob.com>
5349 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5350 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5351 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5352 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5354 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5355 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5357 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5358 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5359 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5360 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5361 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5362 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5363 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5364 * sysdeps/x86/bits/semaphore.h: ... here.
5365 * sysdeps/x86/nptl/elide.h: Moved ...
5366 * sysdeps/x86/elide.h: ... here.
5367 * sysdeps/x86_64/nptl/Implies: File removed.
5368 * sysdeps/i386/nptl/Implies: File removed.
5370 2014-06-24 Joseph Myers <joseph@codesourcery.com>
5373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5374 return the argument for normal arguments with exponent below -64.
5375 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5377 * math/auto-libm-test-in: Add another test of expm1.
5378 * math/auto-libm-test-out: Regenerated.
5381 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5382 calling __erfcl for arguments at least 16.
5383 * math/auto-libm-test-in: Add more tests of erf.
5384 * math/auto-libm-test-out: Regenerated.
5386 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5387 individual architectures.
5388 * sysdeps/unix/sysv/linux/configure: Regenerated.
5389 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5390 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5391 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5392 (ldd_rewrite_script): Define variable.
5393 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5398 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5399 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5400 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5401 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5402 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5403 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5404 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5405 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5407 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5410 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5411 Rename member __data.d to __data.__elision_data.
5413 2014-06-24 Wilco <wdijkstr@arm.com>
5415 * NEWS: Add 16918 to fixed bug list.
5417 2014-06-24 Wilco <wdijkstr@arm.com>
5419 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5421 2014-06-24 Wilco <wdijkstr@arm.com>
5423 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5424 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5425 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5426 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5427 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5428 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5429 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5432 2014-06-24 Wilco <wdijkstr@arm.com>
5434 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5436 2014-06-24 Wilco <wdijkstr@arm.com>
5438 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5439 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5440 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5441 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5443 2014-06-24 Wilco <wdijkstr@arm.com>
5446 * sysdeps/arm/feupdateenv.c (feupdateenv):
5447 Rewrite to reduce FPSCR accesses and fix return value.
5449 2014-06-24 Wilco <wdijkstr@arm.com>
5451 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5452 Optimize to avoid unnecessary FPSCR writes.
5453 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5454 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5455 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5456 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5458 2014-06-24 Wilco <wdijkstr@arm.com>
5460 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5461 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5462 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5463 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5464 Call libc_fetestexcept_vfp.
5465 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5466 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5467 __SOFTFP__ ifdef so that they can be built for softfp.
5469 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5471 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5472 argument type signed char.
5474 * Makerules (check-abi): Dump diff of symlist if the test
5477 2014-06-23 Roland McGrath <roland@hack.frob.com>
5479 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5482 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5483 Remove unused variable ST.
5485 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5489 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5490 small arguments before calling __expm1.
5491 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5492 small arguments before calling __expm1f.
5493 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5494 small arguments before calling __expm1l.
5495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5497 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5498 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5499 spurious underflow for some cosh tests.
5500 * math/auto-libm-test-out: Regenerated.
5501 * sysdeps/i386/fpu/libm-test-ulps: Update.
5504 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5505 (__ieee754_y1): Set errno if return value overflows.
5506 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5507 (__ieee754_y1f): Set errno if return value overflows.
5508 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5509 (__ieee754_y1l): Set errno if return value overflows.
5510 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5511 (__ieee754_y1l): Set errno if return value overflows.
5512 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5513 * math/auto-libm-test-out: Regenerated.
5515 * math/gen-auto-libm-tests.c: Document use of
5516 ignore-zero-inf-sign.
5517 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5518 (input_flags): Add ignore-zero-inf-sign.
5519 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5520 * math/gen-libm-test.pl (generate_testfile): Handle
5521 ignore-zero-inf-sign.
5522 * math/auto-libm-test-in: Mark some cpow tests with
5523 ignore-zero-inf-sign and some with xfail-rounding.
5524 * math/auto-libm-test-out: Regenerated.
5525 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5526 * sysdeps/i386/fpu/libm-test-ulps: Update.
5527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5530 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5531 overflowing or underflowing operations take place with sign of
5533 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5534 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5535 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5536 (__ieee754_pow): Recompute overflowing and underflowing results in
5537 original rounding mode.
5538 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5539 (__powl_helper): Allow negative argument X and scale negated value
5540 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5541 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5542 overflowing or underflowing operations take place with sign of
5544 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5546 * math/auto-libm-test-in: Add more tests of pow.
5547 * math/auto-libm-test-out: Regenerated.
5548 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5549 (pow_tonearest_test_data): Remove.
5550 (pow_test_tonearest): Likewise.
5551 (pow_towardzero_test_data): Likewise.
5552 (pow_test_towardzero): Likewise.
5553 (pow_downward_test_data): Likewise.
5554 (pow_test_downward): Likewise.
5555 (pow_upward_test_data): Likewise.
5556 (pow_test_upward): Likewise.
5557 (main): Don't call removed functions.
5558 * sysdeps/i386/fpu/libm-test-ulps: Update.
5559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561 2014-06-23 Roland McGrath <roland@hack.frob.com>
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5737 2014-06-23 Will Newton <will.newton@linaro.org>
5738 Wilco <wdijkstr@arm.com>
5740 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5741 implementation. Include get-rounding-mode.h.
5742 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5743 [!libc_feholdsetround_noex_ctx]: Define
5744 libc_feholdsetround_noex_ctx.
5745 [!libc_feholdsetround_noexf_ctx]: Define
5746 libc_feholdsetround_noexf_ctx.
5747 [!libc_feholdsetround_noexl_ctx]: Define
5748 libc_feholdsetround_noexl_ctx.
5749 (libc_feholdsetround_ctx): New function.
5750 (libc_feresetround_ctx): New function.
5751 (libc_feholdsetround_noex_ctx): New function.
5752 (libc_feresetround_noex_ctx): New function.
5754 2014-06-23 Roland McGrath <roland@hack.frob.com>
5756 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5757 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5758 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5759 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5760 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5761 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5763 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5764 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5765 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5766 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5767 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5768 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5770 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5775 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5777 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5783 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5784 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5785 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5786 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5787 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5789 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5792 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5795 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5797 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5798 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5800 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5804 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5805 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5806 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5808 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5811 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5814 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5816 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5820 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5822 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5823 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5824 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5827 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5829 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5831 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5834 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5836 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5838 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5840 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5841 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5842 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5843 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5844 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5845 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5846 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5847 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5848 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5849 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5850 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5851 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5852 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5853 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5854 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5855 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5857 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5859 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5861 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5863 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5864 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5865 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5866 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5867 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5869 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5871 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5872 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5873 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5874 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5875 (IPV6_PMTUDISC_INTERFACE): Likewise.
5876 (IPV6_PMTUDISC_OMIT): Likewise.
5878 2014-06-23 Andreas Schwab <schwab@suse.de>
5880 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5881 Remove unused errout label.
5883 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5885 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5886 macro: hardware supports Vector Crypto instructions.
5888 2014-06-23 Will Newton <will.newton@linaro.org>
5890 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5891 rather than __builtin_expect.
5893 * elf/dl-lookup.c (undefined_msg): Remove variable.
5894 (_dl_lookup_symbol_x): Replace undefined_msg with string
5897 * elf/dl-lookup.c (do_lookup_unique): New function.
5898 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5899 to a separate function.
5901 2014-06-23 Andreas Schwab <schwab@suse.de>
5904 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5905 before reading the next line.
5907 2014-06-23 Will Newton <will.newton@linaro.org>
5909 * test-skeleton.c (signal_handler): Use printf and %m
5910 rather than perror. Use printf rather than fprintf to
5911 stderr. Use puts rather than fputs to stderr.
5914 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5916 * nscd/nscd.c (thread_info_t): Remove typedef.
5917 (thread_info): Remove variable.
5919 2014-06-21 Allan McRae <allan@archlinux.org>
5921 * NEWS: Mention CVE-2014-4043.
5923 2014-06-20 Roland McGrath <roland@hack.frob.com>
5925 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5926 * nptl/smp.h: ... here.
5928 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5930 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5931 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5932 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5933 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5935 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5936 * nptl/stack-aliasing.h: New file.
5937 * sysdeps/i386/i686/stack-aliasing.h: New file.
5938 * sysdeps/i386/i686/nptl/Makefile: File removed.
5939 * sysdeps/x86_64/stack-aliasing.h: New file.
5940 * sysdeps/x86_64/nptl/Makefile
5941 (CFLAGS-pthread_create.c): Variable removed.
5943 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5944 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5946 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5947 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5950 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5953 (__ASSUME_SIGFRAME_V2): Remove macro.
5954 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5955 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5956 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5957 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5958 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5959 Declare as function. Remove conditional macro definitions.
5960 (__default_rt_sa_restorer): Likewise.
5961 (__default_sa_restorer_v1): Remove declaration.
5962 (__default_sa_restorer_v2): Likewise.
5963 (__default_rt_sa_restorer_v1): Likewise.
5964 (__default_rt_sa_restorer_v2): Likewise.
5965 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5966 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5967 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5969 2014-06-20 Roland McGrath <roland@hack.frob.com>
5971 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5972 (libpthread-routines): Add sysdep.
5973 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5974 * sysdeps/unix/sysv/linux/sparc/Versions
5975 (libpthread: GLIBC_2.3.3): New version set.
5976 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5977 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5978 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5979 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5980 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5981 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5983 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5985 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5987 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5989 * sysdeps/sparc/nptl/sem_init.c: ... here.
5990 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5991 * sysdeps/sparc/nptl/sem_post.c: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5993 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5994 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5995 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5997 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5998 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5999 (libpthread-routines): Add cpu_relax.
6000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6002 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6003 (librt: GLIBC_2.3.3): New version set.
6004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6005 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6006 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6007 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6010 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6013 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6015 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6017 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6019 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6021 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6024 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6040 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6044 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6047 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6055 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6058 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6060 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6062 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6064 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6066 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6067 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6068 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6069 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6070 * nscd/nscd.c: Likewise.
6071 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6072 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6073 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6074 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6076 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6077 <kernel-features.h>.
6078 (init_mq_netlink): Remove conditional have_sock_cloexec
6079 definitions. Remove code conditional on have_sock_cloexec < 0.
6080 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6081 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6082 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6083 <kernel-features.h>.
6084 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6085 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6087 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6090 Add tests for memset_chk and memset.
6092 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6095 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6098 * elf/tst-dl-iter-static.c: New file.
6099 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6101 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6104 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6106 * sysdeps/unix/sysv/linux/kernel-features.h
6107 (__ASSUME_F_GETOWN_EX): Remove macro.
6108 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6109 <kernel-features.h>.
6110 (miss_F_GETOWN_EX): Remove variable or macro.
6111 (do_fcntl): Do not check miss_F_GETOWN_EX.
6112 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6114 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6117 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6118 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6120 * sysdeps/unix/sysv/linux/kernel-features.h
6121 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6122 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6123 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6124 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6126 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6129 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6130 Fix calculation of the symbol's value.
6131 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6132 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6133 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6134 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6135 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6136 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6137 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6138 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6139 (modules-names): Add `tst-armtlsdescmod',
6140 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6141 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6142 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6143 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6144 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6145 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6146 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6147 ($(objpfx)tst-armtlsdescloc): New dependency.
6148 ($(objpfx)tst-armtlsdescextnow): Likewise.
6149 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6150 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6152 * sysdeps/arm/configure: Regenerate.
6154 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6156 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6157 (__atfct_seterrno_2): Likewise.
6158 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6159 <kernel-features.h>.
6160 (__ASSUME_ATFCTS): Do not undefine and redefine.
6161 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6162 (__have_atfcts): Remove conditional definition.
6163 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6164 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6165 unreachable if [__ASSUME_ATFCTS].
6166 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6167 not undefine and redefine.
6168 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6169 <kernel-features.h>.
6170 (faccessat) [__NR_faccessat]: Make code unconditional.
6171 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6172 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6173 <kernel-features.h>.
6174 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6175 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6176 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6177 <kernel-features.h>.
6178 (fchownat) [__NR_fchownat]: Make code unconditional.
6179 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6180 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6181 <kernel-features.h>.
6182 (futimesat) [__NR_futimesat]: Make code unconditional.
6183 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6184 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6185 <kernel-features.h>.
6186 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6187 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6188 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6189 <kernel-features.h>.
6190 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6191 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6192 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6193 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6194 <kernel-features.h>.
6195 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6196 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6197 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6198 <kernel-features.h>.
6199 (linkat) [__NR_linkat]: Make code unconditional.
6200 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6201 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6202 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6203 <kernel-features.h>.
6204 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6205 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6206 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6207 <kernel-features.h>.
6208 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6209 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6210 * sysdeps/unix/sysv/linux/openat.c: Do not include
6211 <kernel-features.h>.
6212 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6213 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6214 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6215 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6216 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6217 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6218 <kernel-features.h>.
6219 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6220 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6221 result of INLINE_SYSCALL directly, not via int variable.
6222 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6223 <kernel-features.h>.
6224 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6225 (renameat) [__NR_renameat]: Make code unconditional.
6226 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6227 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6228 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6229 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6231 (__ASSUME_ATFCTS): Do not undefine and redefine.
6232 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6233 <kernel-features.h>.
6234 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6235 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6236 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6237 <kernel-features.h>.
6238 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6239 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6240 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6241 (__ASSUME_ATFCTS): Do not undefine and redefine.
6242 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6243 <kernel-features.h>.
6244 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6245 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6246 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6247 <kernel-features.h>.
6248 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6249 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6251 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6253 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6255 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6258 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6259 constructed tree before returning error.
6260 * posix/bug-regexp36.c: Expand test case.
6262 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6265 * math/libm-test.inc (scalbln_test_date):
6266 Add errno expectations.
6267 * math/w_scalblnf.c: New File.
6268 Add wrapper which checks for setting errno to ERANGE.
6269 Add weak_alias for corresponding scalbln function.
6270 * math/w_scalbln.c: Likewise.
6271 * math/w_scalblnl.c: Likewise.
6272 * math/Makefile (libm-calls): Add w_scalbln.
6273 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6274 Remove weak_alias for corresponding scalbln function.
6275 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6276 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6279 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6280 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6281 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6282 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6283 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6284 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6285 Remove long_double_symbol for scalblnl function in libm, libc.
6286 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6287 Add wrapper which checks for setting errno to ERANGE.
6288 Add long_double_symbol for scalblnl function in libm, libc.
6289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6290 Remove long_double_symbol for scalblnl in libm.
6291 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6292 Add wrapper which checks for setting errno to ERANGE.
6293 Add long_double_symbol for scalblnl function in libm.
6294 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6295 Do not use wrapper because of own implementation.
6297 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6299 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6300 3 bytes for __pad1 for x32.
6301 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6303 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6304 H.J. Lu <hongjiu.lu@intel.com>
6306 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6307 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6310 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6312 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6315 * posix/regcomp.c (parse_expression): Deallocate partially
6316 constructed tree before returning error.
6317 * posix/Makefile.c (tests): Add bug-regex36.
6318 (generated): Add bug-regex36.mtrace.
6319 (tests-special): Add $(objpfx)bug-regex36-mem.out
6320 (bug-regex36-ENV): New variable.
6321 ($(objpfx)bug-regex36-mem.out): New rule.
6322 * posix/bug-regex36.c: New file.
6324 2014-06-19 Will Newton <will.newton@linaro.org>
6326 * malloc/malloc.c (systrim): If extra is zero then return
6329 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6331 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6333 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
6335 * sysdeps/aarch64/strchr.S: New file.
6337 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6340 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6341 from arguments -2 or below.
6342 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6343 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6345 2014-06-18 Andreas Schwab <schwab@suse.de>
6348 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6349 of a bracket expr not to run off the end of the string.
6350 * posix/Makefile (tests): Add tst-fnmatch3.
6351 * posix/tst-fnmatch3.c: New file.
6353 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6355 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6356 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6357 [$(cross-compiling) = no]: Likewise.
6358 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6359 [$(cross-compiling) = no]: Likewise.
6361 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6364 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6365 double, adjusted for any remainder from the high double.
6366 * math/libm-test.inc (nearbyint): Add tests.
6369 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6371 * nptl/sysdeps/powerpc/Makefile: Moved ...
6372 * sysdeps/powerpc/nptl/Makefile: ... here.
6373 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6374 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6375 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6376 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6377 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6378 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6379 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6380 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6381 * nptl/sysdeps/powerpc/tls.h: Moved ...
6382 * sysdeps/powerpc/nptl/tls.h: ... here.
6384 2014-06-16 Joseph Myers <joseph@codesourcery.com>
6387 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6388 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6389 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6390 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6391 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6392 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6393 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6394 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6395 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6397 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6399 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6401 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6403 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6406 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6409 2014-06-16 Florian Weimer <fweimer@redhat.com>
6412 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6413 non-executed part of the test.
6415 2014-06-16 Andreas Schwab <schwab@suse.de>
6417 * string/bits/string2.h (strdup, strndup): Update feature guard.
6419 2014-06-14 David S. Miller <davem@davemloft.net>
6421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6423 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6425 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6426 that was previously under [RESET_PID].
6427 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6429 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6430 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6431 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6432 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6433 (__libc_vfork): New strong alias.
6434 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6436 2014-06-14 Andi Kleen <ak@linux.intel.com>
6438 * sysdeps/generic/elide.h: New file.
6440 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6442 * Makefile (installed-headers): Adjust path of pthread.h header.
6444 2014-06-13 Roland McGrath <roland@hack.frob.com>
6446 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6447 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6448 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6449 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6451 * nptl/sysdeps/s390/Makefile: Moved ...
6452 * sysdeps/s390/nptl/Makefile: ... here.
6453 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6454 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6455 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6456 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6457 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6458 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6459 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6460 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6461 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6462 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6463 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6464 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6465 * nptl/sysdeps/s390/tls.h: Moved ...
6466 * sysdeps/s390/nptl/tls.h: ... here.
6468 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6469 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6471 2014-06-13 David S. Miller <davem@davemloft.net>
6473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6476 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6480 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6481 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6482 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6483 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6484 Remove RESET_PID cpp guards.
6485 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6486 Remove RESET_PID cpp guards.
6487 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6489 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6491 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6494 2014-06-13 Andi Kleen <ak@linux.intel.com>
6496 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6497 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6498 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6499 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6500 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6502 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6503 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6504 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6506 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6507 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6508 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6512 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6513 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6514 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6515 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6517 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6518 (pthread_rwlock_rdlock): Add elision.
6519 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6520 (pthread_rwlock_wrlock): Add elision.
6521 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6522 (pthread_rwlock_trywrlock): Add elision.
6523 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6524 (pthread_rwlock_tryrdlock): Add elision.
6525 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6526 (pthread_rwlock_tryrdlock): Add elision unlock.
6527 * nptl/sysdeps/pthread/pthread.h:
6528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6529 (PTHREAD_RWLOCK_INITIALIZER,
6530 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6531 Handle new elision field.
6532 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6533 * sysdeps/arm/nptl/bits/pthreadtypes.h
6534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6535 * sysdeps/sh/nptl/bits/pthreadtypes.h
6536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6537 * sysdeps/tile/nptl/bits/pthreadtypes.h
6538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6539 * sysdeps/a/nptl/bits/pthreadtypes.h
6540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6541 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6543 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6545 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6547 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6549 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6551 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6552 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6553 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6555 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6556 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6557 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6558 (elision_init): Set try_xbegin to zero when no RTM.
6559 * sysdeps/x86/nptl/bits/pthreadtypes.h
6560 (pthread_rwlock_t): Change __pad1 to __rwelision.
6561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6563 2014-06-13 Andi Kleen <ak@linux.intel.com>
6565 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6566 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6567 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6568 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6570 2014-06-13 Meador Inge <meadori@codesourcery.com>
6573 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6574 that the cached result has been set before returning it.
6576 2014-06-12 Roland McGrath <roland@hack.frob.com>
6578 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6579 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6580 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6581 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6582 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6583 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6585 * nptl/sysdeps/sparc/Makefile: Moved ...
6586 * sysdeps/sparc/nptl/Makefile: ... here.
6587 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6588 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6589 * nptl/sysdeps/sparc/tls.h: Moved ...
6590 * sysdeps/sparc/nptl/tls.h: ... here.
6591 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6592 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6593 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6594 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6595 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6596 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6597 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6598 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6599 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6600 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6601 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6602 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6603 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6604 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6605 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6606 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6607 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6608 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6610 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6611 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6613 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6614 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6616 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6617 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6620 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6622 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6623 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6625 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6626 (struct list_links): Type removed.
6627 (struct thread_node, struct timer_node): Replace struct list_links
6628 with struct list_head.
6629 (list_unlink_ip): Likewise.
6630 * sysdeps/pthread/timer_routines.c
6631 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6632 (list_append, list_insbefore): Likewise.
6633 (list_init): Function removed.
6634 (thread_init, init_module): Use INIT_LIST_HEAD instead.
6635 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6636 * sysdeps/pthread/Makefile: ... here, new file.
6638 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6639 * sysdeps/nptl/Implies: ... here.
6640 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6641 * nptl/sysdeps/pthread/list.h: Moved ...
6642 * include/list.h: ... here.
6643 * nptl/sysdeps/pthread/createthread.c: Moved ...
6644 * nptl/createthread.c: ... here.
6645 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6646 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6647 * nptl/pt-longjmp.c: ... here.
6648 * nptl/sysdeps/pthread/Makefile: Moved ...
6649 * sysdeps/nptl/Makefile: ... here.
6650 * nptl/sysdeps/pthread/Subdirs: Moved ...
6651 * sysdeps/nptl/Subdirs: ... here.
6652 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6653 * sysdeps/nptl/aio_misc.h: ... here.
6654 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6655 * sysdeps/nptl/bits/libc-lock.h: ... here.
6656 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6657 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6658 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6659 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6660 * nptl/sysdeps/pthread/configure: Moved ...
6661 * sysdeps/nptl/configure: ... here.
6662 * nptl/sysdeps/pthread/configure.ac: Moved ...
6663 * sysdeps/nptl/configure.ac: ... here.
6664 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6665 * sysdeps/nptl/gai_misc.h: ... here.
6666 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6667 * sysdeps/nptl/librt-cancellation.c: ... here.
6668 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6669 * sysdeps/nptl/malloc-machine.h: ... here.
6670 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6671 * sysdeps/nptl/pthread-functions.h: ... here.
6672 * nptl/sysdeps/pthread/pthread.h: Moved ...
6673 * sysdeps/nptl/pthread.h: ... here.
6674 * nptl/sysdeps/pthread/setxid.h: Moved ...
6675 * sysdeps/nptl/setxid.h: ... here.
6676 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6677 * sysdeps/nptl/sigfillset.c: ... here.
6678 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6679 * sysdeps/nptl/tcb-offsets.h: ... here.
6680 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6681 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6682 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6683 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6684 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6685 * sysdeps/pthread/allocalim.h: ... here.
6686 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6687 * sysdeps/pthread/bits/sigthread.h: ... here.
6688 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6689 * sysdeps/pthread/flockfile.c: ... here.
6690 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6691 * sysdeps/pthread/ftrylockfile.c: ... here.
6692 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6693 * sysdeps/pthread/funlockfile.c: ... here.
6694 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6695 * sysdeps/pthread/posix-timer.h: ... here.
6696 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6697 * sysdeps/pthread/timer_create.c: ... here.
6698 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6699 * sysdeps/pthread/timer_delete.c: ... here.
6700 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6701 * sysdeps/pthread/timer_getoverr.c: ... here.
6702 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6703 * sysdeps/pthread/timer_gettime.c: ... here.
6704 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6705 * sysdeps/pthread/timer_routines.c: ... here.
6706 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6707 * sysdeps/pthread/timer_settime.c: ... here.
6708 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6709 * sysdeps/pthread/tst-timer.c: ... here.
6710 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6711 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6713 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6714 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6716 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6717 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6718 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6719 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6720 Update #include target.
6721 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6722 * sysdeps/i386/i686/nptl/Makefile: ... here.
6723 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6724 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6725 Update #include target.
6726 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6727 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6728 * nptl/sysdeps/i386/Makefile: Moved ...
6729 * sysdeps/i386/nptl/Makefile: ... here.
6730 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6731 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6732 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6733 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6734 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6735 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6736 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6737 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6738 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6739 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6740 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6741 * nptl/sysdeps/i386/tls.h: Moved ...
6742 * sysdeps/i386/nptl/tls.h: ... here.
6744 * sysdeps/sh/Makefile [$(subdir) = csu]
6745 (gen-as-const-headers): Add tcb-offsets.sym.
6746 * nptl/sysdeps/sh/Makefile: File removed.
6747 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6748 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6749 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6750 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6751 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6752 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6753 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6754 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6755 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6756 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6757 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6758 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6759 * nptl/sysdeps/sh/tls.h: Moved ...
6760 * sysdeps/sh/nptl/tls.h: ... here.
6761 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6762 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6763 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6764 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6765 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6766 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6767 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6768 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6769 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6770 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6772 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6774 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6776 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6778 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6779 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6780 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6781 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6782 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6787 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6788 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6790 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6791 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6792 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6794 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6795 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6796 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6797 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6798 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6799 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6800 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6801 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6802 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6803 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6804 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6805 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6806 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6807 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6808 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6810 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6812 * posix/spawn_faction_addopen.c: Include string.h.
6814 2014-06-11 Roland McGrath <roland@hack.frob.com>
6816 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6817 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6818 * nptl/sysdeps/x86_64/Makefile: Moved ...
6819 * sysdeps/x86_64/nptl/Makefile: ... here.
6820 * nptl/sysdeps/x86_64/configure: Moved ...
6821 * sysdeps/x86_64/nptl/configure: ... here.
6822 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6823 * sysdeps/x86_64/nptl/configure.ac: ... here.
6824 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6825 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6826 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6827 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6828 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6829 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6830 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6831 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6832 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6833 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6834 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6835 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6836 * nptl/sysdeps/x86_64/tls.h: Moved ...
6837 * sysdeps/x86_64/nptl/tls.h: ... here.
6838 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6839 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6840 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6841 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6843 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6845 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6849 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6851 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6853 [POSIX] (off_t): Likewise.
6854 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6855 [POSIX] (S_ISBLK): Require macro.
6856 [POSIX] (S_ISCHR): Likewise.
6857 [POSIX] (S_ISDIR): Likewise.
6858 [POSIX] (S_ISFIFO): Likewise.
6859 [POSIX] (S_ISREG): Likewise.
6860 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6862 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6864 [POSIX] (time_t): Likewise.
6865 [POSIX] (timer_t): Likewise.
6867 2014-06-11 Florian Weimer <fweimer@redhat.com>
6870 * posix/spawn_int.h (struct __spawn_action): Make the path string
6871 non-const to support deallocation.
6872 * posix/spawn_faction_addopen.c
6873 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6874 * posix/spawn_faction_destroy.c
6875 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6876 path in all spawn_do_open actions.
6877 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6878 posix_spawn_file_actions_addopen.
6880 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6882 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6883 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6884 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6885 conditional code always true.
6886 (__libc_vfork): New alias.
6888 2014-06-11 Roland McGrath <roland@hack.frob.com>
6890 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6891 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6893 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6895 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6896 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6898 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6899 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6901 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6902 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6904 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6906 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6907 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6908 multiarch strcmp for PPC64.
6909 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6910 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6912 multiarch optimizations.
6913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6914 (__libc_ifunc_impl_list): Likewise.
6916 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6918 * benchtests/scripts/validate_benchout.py: New script.
6919 * benchtests/Makefile (bench-func): Call it.
6920 * benchtests/scripts/benchout.schema.json: New file.
6922 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6924 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6925 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6926 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6927 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6928 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6929 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6930 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6931 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6932 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6933 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6934 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6935 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6936 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6937 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6938 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6939 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7044 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7046 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7049 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7052 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7054 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7056 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7057 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7058 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7060 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7062 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7065 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7068 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7069 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7070 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7073 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7075 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7076 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7077 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7078 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7079 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7081 2014-06-10 Wilco <wdijkstr@arm.com>
7083 * math/test-fenv-return.c: New file.
7084 * math/Makefile: Add new test test-fenv-return.
7086 2014-06-10 Joseph Myers <joseph@codesourcery.com>
7089 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7091 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7092 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7093 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7094 0.0L for an argument of 1.0L.
7095 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7097 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7098 value when x - 1 is zero.
7099 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7100 * sysdeps/i386/fpu/libm-test-ulps: Update.
7101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7103 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7106 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7108 2014-06-09 Roland McGrath <roland@hack.frob.com>
7110 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7111 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7113 2014-06-09 Roland McGrath <roland@hack.frob.com>
7115 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7116 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7118 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7119 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7121 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7122 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7124 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7125 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7127 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7128 if not already defined.
7129 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7130 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7131 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7132 (TLS_INIT_TP): Use it.
7133 (TLS_DEFINE_INIT_TP): New macro.
7134 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7136 2014-06-09 Joseph Myers <joseph@codesourcery.com>
7138 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7140 [POSIX] (IXANY): Likewise.
7141 [POSIX] (OLCUC): Likewise.
7142 [POSIX || POSIX2008] (CBAUD): Do not allow.
7143 [POSIX || POSIX2008] (DEFECHO): Likewise.
7144 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7145 [POSIX || POSIX2008] (ECHOKE): Likewise.
7146 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7147 [POSIX || POSIX2008] (EXTA): Likewise.
7148 [POSIX || POSIX2008] (EXTB): Likewise.
7149 [POSIX || POSIX2008] (FLUSHO): Likewise.
7150 [POSIX || POSIX2008] (LOBLK): Likewise.
7151 [POSIX || POSIX2008] (PENDIN): Likewise.
7152 [POSIX || POSIX2008] (SWTCH): Likewise.
7153 [POSIX || POSIX2008] (VDISCARD): Likewise.
7154 [POSIX || POSIX2008] (VDSUSP): Likewise.
7155 [POSIX || POSIX2008] (VLNEXT): Likewise.
7156 [POSIX || POSIX2008] (VREPRINT): Likewise.
7157 [POSIX || POSIX2008] (VSTATUS): Likewise.
7158 [POSIX || POSIX2008] (VWERASE): Likewise.
7159 (B*): Change to B[0123456789]*.
7160 * conform/data/time.h-data [POSIX || UNIX98]
7161 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7162 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7163 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7164 [POSIX] (tm_*): Do not allow.
7166 2014-06-07 Joseph Myers <joseph@codesourcery.com>
7168 * Makefile (install): Don't set LANGUAGE.
7169 * Makefile.in (install): Likewise.
7170 * assert/Makefile (test-assert-ENV): Remove variable.
7171 (test-assert-perr-ENV): Likewise.
7172 * elf/Makefile (neededtest4-ENV): Likewise.
7173 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7174 [$(cross-compiling) = no]: Don't set LANGUAGE.
7175 * io/ftwtest-sh (LANG): Remove variable.
7176 * libio/Makefile (tst-widetext-ENV): Likewise.
7177 * manual/install.texi (Running make install): Don't refer to
7178 environment settings for make install.
7179 * INSTALL: Regenerated.
7180 * nptl/tst-tls6.sh: Don't set LANG.
7181 * posix/globtest.sh (LANG): Remove variable.
7182 * string/Makefile (tester-ENV): Likewise.
7183 (inl-tester-ENV): Likewise.
7184 (noinl-tester-ENV): Likewise.
7185 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7186 [$(cross-compiling) = no]: Don't set LANGUAGE.
7187 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7188 without explicit environment settings.
7190 2014-06-06 Roland McGrath <roland@hack.frob.com>
7192 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7193 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7194 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7195 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7197 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7199 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7200 other files in the crypt directory.
7201 * crypt/crypt.c: Remove duplicate includes.
7202 * crypt/crypt-entry.c: Likewise.
7203 * crypt/crypt_util.c: Likewise.
7205 2014-06-06 Joseph Myers <joseph@codesourcery.com>
7207 * Makeconfig (run-program-env): New variable.
7208 (run-program-prefix-before-env): Likewise.
7209 (run-program-prefix-after-env): Likewise.
7210 (run-program-prefix): Define in terms of new variables.
7211 (built-program-cmd-before-env): New variable.
7212 (built-program-cmd-after-env): Likewise.
7213 (built-program-cmd): Define in terms of new variables.
7214 (test-program-prefix-before-env): New variable.
7215 (test-program-prefix-after-env): Likewise.
7216 (test-program-prefix): Define in terms of new variables.
7217 (test-program-cmd-before-env): New variable.
7218 (test-program-cmd-after-env): Likewise.
7219 (test-program-cmd): Define in terms of new variables.
7220 * Rules (make-test-out): Use $(run-program-env).
7221 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7222 (help): Do not mention environment variables. Mention
7223 --timeoutfactor option.
7224 (timeoutfactor): New variable.
7225 (blacklist_exports): Remove function.
7226 (exports): Remove variable.
7227 (command): Do not include ${exports}.
7228 * manual/install.texi (Configuring and compiling): Do not mention
7229 test wrappers preserving environment variables. Mention that last
7230 assignment to a variable must take precedence.
7231 * INSTALL: Regenerated.
7232 * benchtests/Makefile (run-bench): Use $(run-program-env).
7233 * catgets/Makefile ($(objpfx)test1.cat): Use
7234 $(built-program-cmd-before-env), $(run-program-env) and
7235 $(built-program-cmd-after-env).
7236 ($(objpfx)test2.cat): Do not specify environment variables
7238 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7239 $(run-program-env) and $(built-program-cmd-after-env).
7240 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7241 $(run-program-env) and $(test-program-cmd-after-env).
7242 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7244 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7245 run_program_env and test_program_cmd_after_env arguments.
7246 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7247 * elf/tst-pathopt.sh: Use run_program_env argument.
7248 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7249 $(test-wrapper-env) and $(run-program-env).
7250 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7251 run_program_env arguments.
7252 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7253 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7254 $(test-program-prefix-before-env), $(run-program-env) and
7255 $(test-program-prefix-after-env).
7256 ($(objpfx)tst-gettext2.out): Likewise.
7257 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7258 run_program_env and test_program_prefix_after_env arguments.
7259 * intl/tst-gettext2.sh: Likewise.
7260 * intl/tst-gettext4.sh: Do not set environment variables
7262 * intl/tst-gettext6.sh: Likewise.
7263 * intl/tst-translit.sh: Likewise.
7264 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7265 $(test-program-prefix-before-env), $(run-program-env) and
7266 $(test-program-prefix-after-env).
7267 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7268 run_program_env and test_program_prefix_after_env arguments.
7269 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7270 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7271 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7272 explicitly with each use of ${test_wrapper_env}.
7273 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7274 $(test-program-prefix-before-env), $(run-program-env) and
7275 $(test-program-prefix-after-env).
7276 * posix/tst-getconf.sh: Do not set environment variables
7278 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7279 run_program_env and test_program_prefix_after_env arguments.
7280 * stdio-common/tst-printf.sh: Do not set environment variables
7282 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7283 $(test-program-prefix-before-env), $(run-program-env) and
7284 $(test-program-prefix-after-env).
7285 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7286 run_program_env and test_program_prefix_after_env arguments.
7287 Split $test calls into $test_pre and $test.
7288 * timezone/Makefile (build-testdata): Use
7289 $(built-program-cmd-before-env), $(run-program-env) and
7290 $(built-program-cmd-after-env).
7292 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7294 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7295 strlen for non SHARED builds.
7297 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7299 * nptl/allocatestack.c (check_list): Inlined function...
7300 (__reclaim_stacks): ... here.
7302 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7305 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7308 2014-06-05 Joseph Myers <joseph@codesourcery.com>
7310 * Rules (make-test-out): Include
7311 LOCPATH=$(common-objpfx)localedata in default environment.
7312 * debug/Makefile (tst-chk1-ENV): Remove variable.
7313 (tst-chk2-ENV): Likewise.
7314 (tst-chk3-ENV): Likewise.
7315 (tst-chk4-ENV): Likewise.
7316 (tst-chk5-ENV): Likewise.
7317 (tst-chk6-ENV): Likewise.
7318 (tst-lfschk1-ENV): Likewise.
7319 (tst-lfschk2-ENV): Likewise.
7320 (tst-lfschk3-ENV): Likewise.
7321 (tst-lfschk4-ENV): Likewise.
7322 (tst-lfschk5-ENV): Likewise.
7323 (tst-lfschk6-ENV): Likewise.
7324 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7325 (tst-iconv7-ENV): Likewise.
7326 * intl/Makefile (LOCPATH-ENV): Likewise.
7327 (tst-codeset-ENV): Likewise.
7328 (tst-gettext3-ENV): Likewise.
7329 (tst-gettext5-ENV): Likewise.
7330 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7331 (tst-fopenloc-ENV): Likewise.
7332 (tst-fgetws-ENV): Remove variable.
7333 (tst-ungetwc1-ENV): Likewise.
7334 (tst-ungetwc2-ENV): Likewise.
7335 (bug-ungetwc2-ENV): Likewise.
7336 (tst-swscanf-ENV): Likewise.
7337 (bug-ftell-ENV): Likewise.
7338 (tst-fgetwc-ENV): Likewise.
7339 (tst-fseek-ENV): Likewise.
7340 (tst-ftell-partial-wide-ENV): Likewise.
7341 (tst-ftell-active-handler-ENV): Likewise.
7342 (tst-ftell-append-ENV): Likewise.
7343 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7344 (tst-regexloc-ENV): Likewise.
7345 (bug-regex1-ENV): Likewise.
7346 (tst-regex-ENV): Likewise.
7347 (tst-regex2-ENV): Likewise.
7348 (bug-regex5-ENV): Likewise.
7349 (bug-regex6-ENV): Likewise.
7350 (bug-regex17-ENV): Likewise.
7351 (bug-regex18-ENV): Likewise.
7352 (bug-regex19-ENV): Likewise.
7353 (bug-regex20-ENV): Likewise.
7354 (bug-regex22-ENV): Likewise.
7355 (bug-regex23-ENV): Likewise.
7356 (bug-regex25-ENV): Likewise.
7357 (bug-regex26-ENV): Likewise.
7358 (bug-regex30-ENV): Likewise.
7359 (bug-regex32-ENV): Likewise.
7360 (bug-regex33-ENV): Likewise.
7361 (bug-regex34-ENV): Likewise.
7362 (bug-regex35-ENV): Likewise.
7363 (tst-rxspencer-ENV): Likewise.
7364 (tst-rxspencer-no-utf8-ENV): Likewise.
7365 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7366 (tst-sscanf-ENV): Likewise.
7367 (tst-swprintf-ENV): Likewise.
7368 (tst-swscanf-ENV): Likewise.
7369 (test-vfprintf-ENV): Likewise.
7370 (scanf13-ENV): Likewise.
7371 (bug14-ENV): Likewise.
7372 (tst-grouping-ENV): Likewise.
7373 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7374 (tst-strtod3-ENV): Likewise.
7375 (tst-strtod4-ENV): Likewise.
7376 (tst-strtod5-ENV): Likewise.
7377 (testmb2-ENV): Likewise./
7378 * string/Makefile (tst-strxfrm-ENV): Likewise.
7379 (tst-strxfrm2-ENV): Likewise.
7380 (bug-strcoll1-ENV): Likewise.
7381 (test-strcasecmp-ENV): Likewise.
7382 (test-strncasecmp-ENV): Likewise.
7383 * time/Makefile (tst-strptime-ENV): Likewise.
7384 (tst-ftime_l-ENV): Likewise.
7385 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7386 (tst-mbrtowc-ENV): Likewise.
7387 (tst-wcrtomb-ENV): Likewise.
7388 (tst-mbrtowc2-ENV): Likewise.
7389 (tst-c16c32-1-ENV): Likewise.
7390 (tst-mbsnrtowcs-ENV): Likewise.
7392 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7394 * manual/resource.texi (How to get information about the memory
7395 subsystem?): Fix typo.
7396 Reported by Peon de la Parra Ivan <peon@keba.com>
7398 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7401 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7402 (pthread_spin_lock): Branch out of spin loop to proper location.
7403 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7404 (pthread_spin_lock): Likewise.
7406 * nptl/tst-spin4.c: New test.
7407 * nptl/Makefile (tests): Add tst-spin4.
7409 2014-06-03 Andreas Schwab <schwab@suse.de>
7412 * resolv/res_send.c (send_dg): Reload file descriptor after
7415 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7417 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7419 2014-06-03 Richard Henderson <rth@redhat.com>
7421 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7422 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7423 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7424 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7425 in the SAVE_PID block.
7426 (__libc_vfork): New alias.
7427 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7429 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7430 child in registers, not on the stack. Remove RESET_PID conditionals.
7431 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7433 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7435 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7437 2014-06-03 Wilco <wdijkstr@arm.com>
7439 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7440 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7441 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7442 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7443 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7446 2014-06-03 Wilco <wdijkstr@arm.com>
7448 * sysdeps/aarch64/fpu/math_private.h
7449 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7450 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7451 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7452 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7455 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7457 * crypt/crypt-private.h: Include ufc-crypt.h.
7458 (__b64_from_24bit): Declare extern.
7459 * crypt/crypt_util.c(__b64_from_24bit): New function.
7460 (b64t): New static const variable.
7461 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7462 (b64t): Remove variable.
7463 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7464 * crypt/sha256-crypt.c: Include crypt-private.h.
7465 (b64t): Remove variable.
7466 (__sha256_crypt_r): Remove b64_from_24bit and replace
7467 with __b64_from_24bit.
7468 * crypt/sha512-crypt.c: Likewise.
7470 2014-06-02 Roland McGrath <roland@hack.frob.com>
7472 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7473 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7474 Label the code __libc_vfork rather than __vfork.
7475 [!NOT_IN_libc] (vfork): Define as weak alias.
7476 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7477 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7478 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7480 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7482 * malloc/malloc.c (malloc_info): Fix format specifier for
7485 2014-06-02 Wilco <wdijkstr@arm.com>
7487 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7490 2014-06-02 Wilco <wdijkstr@arm.com>
7493 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7494 Rewrite to reduce FPCR/FPSR accesses.
7496 2014-06-01 David S. Miller <davem@davemloft.net>
7498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7500 2014-05-31 David S. Miller <davem@davemloft.net>
7502 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7503 to occur in round to nearest mode when |x| >= 2.0
7505 2014-05-30 Richard Henderson <rth@twiddle.net>
7507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7508 (PSEUDO_RET_NOERRNO): Remove.
7509 (ret): Don't redefine.
7510 (ret_NOERRNO): Define in terms of ret.
7511 (ret_ERRVAL): Likewise.
7513 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7514 use of PSEUDO_RET; perform the error check directly.
7516 2014-05-30 Marko Myllynen <myllynen@redhat.com>
7518 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7521 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7523 * malloc/malloc (malloc_info): Fix formatting.
7525 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7526 Roland McGrath <roland@hack.frob.com>
7528 * malloc/malloc (malloc_info): Also print mmapped statistics.
7530 2014-05-30 Roland McGrath <roland@hack.frob.com>
7532 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7533 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7535 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
7537 * malloc/malloc.c (malloc_info): Inline mi_arena.
7539 2014-05-29 Richard Henderson <rth@twiddle.net>
7541 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7542 Remove comma before expanding ASM_ARGS_##nr.
7543 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7544 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7546 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7547 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7548 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7549 (ASM_ARGS_1): Add leading comma.
7551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7552 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7553 to __errno_location.
7554 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7555 Remove the expected plt for __errno_location.
7557 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7558 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7562 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7563 it and break it down.
7564 (DOCARGS_0, DOCARGS_1): Do nothing.
7565 (DOCARGS_2): Update to store into the new stack frame.
7566 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7567 (UNDOCARGS_1): Update to restore from the new stack frame.
7568 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7569 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7571 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7572 (SINGLE_THREAD_P): New parameter for result regno.
7573 (PSEUDO): Update to match; use cbz instead of beq.
7575 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7576 Use ENTRY to define the _nocancel entry point. Share the syscall
7577 and syscall error check paths with the cancel path.
7580 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7581 whitespace; tabs before and after asm mnemonics.
7583 2014-05-29 Eric Wong <normalperson@yhbt.net>
7586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7587 Call fstat64 or stat64 internally, depending on arguments passed.
7588 Replace stat buffer argument with file descriptor argument.
7589 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7590 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7591 Pass fd to __internal_statvfs instead of calling fstat64.
7592 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7593 Pass fd to __internal_statvfs64 instead of calling fstat64.
7594 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7595 Pass -1 to __internal_statvfs instead of calling stat64.
7596 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7597 Pass -1 to __internal_statvfs64 instead of calling stat64.
7599 2014-05-28 Roland McGrath <roland@hack.frob.com>
7601 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7602 that was previously under [RESET_PID].
7603 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7605 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7606 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7608 2014-05-27 Roland McGrath <roland@hack.frob.com>
7610 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7612 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7613 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7615 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
7617 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7619 2014-05-27 Andreas Schwab <schwab@suse.de>
7621 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7623 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7624 * elf/rtld.c (init_tls, dl_main): Likewise.
7625 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7626 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7627 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7628 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7629 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7630 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7631 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7632 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7633 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7634 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7635 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7636 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7637 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7638 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7639 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7640 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7641 * sysdeps/generic/tls.h: Update description.
7643 2014-05-27 Will Newton <will.newton@linaro.org>
7646 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7647 and restore r2 rather than just restoring.
7649 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7652 * libio/tst-ftell-append.c: New test case.
7653 * libio/Makefile (tests): Add test case.
7654 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7656 * libio/wfileops.c (do_ftell_wide): Likewise.
7658 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7662 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7666 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7667 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7669 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7671 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7678 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7679 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7680 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7681 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7682 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7684 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7685 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7687 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7689 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7691 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7692 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7693 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7695 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7696 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7697 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7698 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7721 conditional [RESET_PID].
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7730 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7731 (__libc_vfork): New strong alias.
7732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7739 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7740 (__libc_vfork): New strong alias.
7741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7743 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7746 2014-05-26 Carlos O'Donell <carlos@redhat.com>
7748 * malloc/malloc.c (mi_arena): New function.
7749 (malloc_info): Remove nested function mi_arena. Call non-nosted
7752 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7754 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7756 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7757 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7758 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7759 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7760 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7761 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7762 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7764 2014-05-26 Andreas Schwab <schwab@suse.de>
7767 * locale/programs/repertoire.c (repertoire_read): Add slash
7768 between I18NPATH element and file name.
7769 * locale/programs/locfile.c (locfile_read): Likewise.
7771 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7773 * nptl/pthread_mutexattr_settype.c
7774 (__pthread_mutexattr_settype):
7775 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7777 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7779 * nptl/tst-mutex5 (do_test):
7780 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7782 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7784 * benchtests/README: Document 'init' directive.
7785 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7787 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7788 (parse_file): Recognize 'init' directive.
7790 2014-05-26 Kyle McMartin <kyle@redhat.com>
7793 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7794 alignment of struct pthread.
7796 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7799 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7800 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7801 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7802 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7804 2014-05-25 Richard Henderson <rth@twiddle.net>
7806 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7807 (SINGLE_THREAD_P_PIC): Remove.
7808 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7809 (SINGLE_THREAD_P_PIC): Remove.
7811 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7812 branch to syscall error ...
7814 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7815 from __local_syscall_error to .Lsyscall_error.
7816 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7817 (SYSCALL_ERROR): Update label name.
7819 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7820 Do not use DOARGS/UNDOARGS.
7821 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7822 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7823 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7824 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7825 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7830 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7831 define if !NOT_IN_libc.
7832 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7833 define with non-default symbol versions.
7835 2014-05-23 Richard Henderson <rth@twiddle.net>
7837 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7838 (vfork, __vfork): Define via compat_symbol.
7840 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7841 [!HAVE_IFUNC] (vfork_compat): Remove.
7842 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7844 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7847 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7848 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7851 2014-05-23 Richard Henderson <rth@twiddle.net>
7853 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7854 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7855 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7856 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7858 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7859 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7860 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7861 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7862 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7863 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7864 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7865 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7866 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7867 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7868 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7869 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7870 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7871 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7872 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7873 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7879 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7881 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7882 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7883 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7884 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7885 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7886 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7887 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7891 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7892 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7893 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7894 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7895 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7896 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7897 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7898 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7899 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7900 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7901 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7902 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7903 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7904 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7905 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7906 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7907 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7908 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7909 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7910 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7911 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7912 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7913 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7915 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7916 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7917 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7918 before exiting on error.
7919 (__libc_vfork): New strong alias.
7920 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7921 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7923 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7924 that was previously under [RESET_PID].
7925 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7927 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7929 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7932 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7933 value when x - 1 is zero.
7934 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7935 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7936 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7937 0.0L for an argument of 1.0L.
7938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7940 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7941 value when x - 1 is zero.
7942 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7943 * sysdeps/i386/fpu/libm-test-ulps: Update.
7944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7946 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7948 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7949 alphasort and versionsort.
7951 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7953 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7955 [copysignf]: Likewise.
7957 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7959 * crypt/md5-crypt.c: Fix formatting.
7961 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7963 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7964 (b64_from_24bit): New function.
7966 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7969 libc_hidden_builtin_def to ifunc.
7970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7971 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7973 2014-05-21 Roland McGrath <roland@hack.frob.com>
7975 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7976 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7978 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7980 * nscd/Depend (linuxthreads): Remove.
7982 * resolv/Depend (linuxthreads): Remove.
7983 * rt/Depend (linuxthreads): Remove.
7985 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7986 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7987 $(common-objpfx)elf/.
7988 (link-libc-before-gnulib): Likewise.
7989 (elfobjdir): Remove variable.
7990 * Makefile (install): Use $(elf-objpfx) instead of
7991 $(common-objpfx)elf/.
7992 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7994 (link-libc-deps): Likewise.
7995 ($(common-objpfx)libc.so): Likewise.
7996 ($(common-objpfx)linkobj/libc.so): Likewise.
7997 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7998 instead of $(common-objpfx)elf/.
7999 (symbolic-link-list): Likewise.
8000 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8001 [$(cross-compiling) = no]: Likewise.
8002 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8004 (static-gnulib-arch): Likewise.
8005 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8006 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8007 $(common-objpfx)elf/.
8009 2014-05-21 Richard Henderson <rth@redhat.com>
8011 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8012 (SINGLE_THREAD_P): Use the correct width load. Fold
8013 into the ldr offset.
8015 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8016 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8018 2014-05-20 Joseph Myers <joseph@codesourcery.com>
8020 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8021 (libgcc_s_resume): Use __attribute_used__.
8022 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8025 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8027 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8028 optimization when used with float constants.
8030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8032 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8035 * locale/nl_langinfo_l.c: Make direct reference to every
8036 _nl_current_CATEGORY symbol.
8037 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8038 (tests-static): Add tst-langinfo-static.
8039 (tests-special): Add tst-langinfo-static.out.
8040 ($(objpfx)tst-langinfo.out): Redirect output.
8041 ($(objpfx)tst-langinfo-static.out): New.
8042 * localedata/tst-langinfo.sh: Send output to stdout.
8043 * localedata/tst-langinfo-static.c: New file.
8046 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8047 when the shift amount is modulo the limb size.
8049 2014-05-20 Richard Henderson <rth@redhat.com>
8052 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8053 Change type of sa_flags from unsigned int to int.
8056 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8058 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8060 2014-05-20 Will Newton <will.newton@linaro.org>
8062 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8063 Test the return value of the system call in the nocancel case.
8065 2014-05-20 Will Newton <will.newton@linaro.org>
8066 Yvan Roux <yvan.roux@linaro.org>
8068 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8069 #include of asm/ptrace.h.
8070 (PTRACE_GET_THREAD_AREA): Remove #undef.
8071 (PTRACE_GETHBPREGS): Likewise.
8072 (PTRACE_SETHBPREGS): Likewise.
8073 (struct user_regs_struct): New structure.
8074 (struct user_fpsimd_struct): New structure.
8075 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8076 #include of asm/ptrace.h and second #include of sys/user.h.
8077 (PTRACE_GET_THREAD_AREA): Remove #undef.
8078 (PTRACE_GETHBPREGS): Likewise.
8079 (PTRACE_SETHBPREGS): Likewise.
8080 (ELF_NGREG): Use new struct user_regs_struct.
8081 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8083 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8085 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8086 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8088 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8091 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8092 membar to avoid block loads/stores to overlap previous stores.
8094 2014-05-17 Richard Henderson <rth@redhat.com>
8096 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8097 Create the __##syscall_name##_nocancel entry point.
8098 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8099 Remove; let the sysdep-cancel.h code create it.
8101 2014-05-17 David S. Miller <davem@davemloft.net>
8103 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8104 Protect with __USE_GNU.
8105 (TIOCSET_TEMPT): Likewise.
8106 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8107 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8108 these are already provided in bits/ioctl-types.h
8110 2014-05-16 Roland McGrath <roland@hack.frob.com>
8112 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8113 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8115 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8116 Use wait4 regardless of [__NR_waitpid].
8118 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8121 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8122 (_FP_NANSIGN_Q): Set the quiet bit.
8124 2014-05-16 Joseph Myers <joseph@codesourcery.com>
8126 * benchtests/Makefile
8127 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8128 not $(common-objpfx)math/libm.so.
8129 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8130 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8131 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8132 $(common-objpfx)dlfcn/libdl.so.
8133 ($(objpfx)tst-audit8): Depend on $(libm), not
8134 $(common-objpfx)math/libm.so.
8135 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8136 not $(common-objpfx)dlfcn/libdl.so.
8138 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8139 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8140 [$(build-shared) = yes].
8141 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8142 $(common-objpfx)nptl/libpthread.so.
8143 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8144 $(common-objpfx)math/libm.so$(libm.so-version) or
8145 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8146 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8147 $(common-objpfx)dlfcn/libdl.so.
8148 * setjmp/Makefile (link-libm): Remove variable.
8149 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8150 * stdio-common/Makefile (link-libm): Remove variable.
8151 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8152 * stdlib/Makefile (link-libm): Remove variable.
8153 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8154 ($(objpfx)tst-strtod-round): Likewise.
8155 ($(objpfx)tst-tininess): Likewise.
8156 ($(objpfx)tst-strtod-underflow): Likewise.
8157 ($(objpfx)tst-strtod6): Likewise.
8158 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8159 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8160 $(common-objpfx)dlfcn/libdl.so.
8162 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8164 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8165 BSD terminal modes definitions.
8167 2014-05-16 Roland McGrath <roland@hack.frob.com>
8169 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8170 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8172 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8173 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8174 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8175 Don't do #include_next.
8176 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8177 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8178 Don't do #include_next.
8179 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8180 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8181 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8182 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8184 2014-05-16 Allan McRae <allan@archlinux.org>
8186 * po/sv.po: Update Swedish translation from translation project.
8188 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8191 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8194 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8195 errno if the TIOCGPTN ioctl fails with an error different than
8197 * login/tst-ptsname.c: New file.
8198 * login/Makefile (tests): Add tst-ptsname.
8201 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8204 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8208 herrno to return EAI_AGAIN.
8210 2014-05-14 Roland McGrath <roland@hack.frob.com>
8212 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8213 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8214 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8215 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8216 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8217 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8218 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8219 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8220 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8221 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8222 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8223 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8224 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8225 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8226 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8227 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8228 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8229 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8230 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8231 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8232 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8233 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8234 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8235 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8236 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8237 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8238 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8239 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8240 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8241 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8243 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8245 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8248 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8250 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8252 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8254 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8256 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8258 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8260 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8262 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8264 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8266 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8268 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8270 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8272 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8274 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8277 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8279 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8281 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8283 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8285 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8287 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8289 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8291 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8293 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8295 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8298 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8300 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8302 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8303 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8304 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8305 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8306 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8307 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8308 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8309 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8310 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8311 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8312 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8313 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8314 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8315 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8316 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8317 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8318 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8320 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8321 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8322 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8324 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8326 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8327 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8328 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8329 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8330 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8331 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8332 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8334 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8335 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8337 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8338 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8339 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8340 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8341 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8344 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8347 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8348 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8350 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8351 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8353 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8354 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8355 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8358 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8360 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8362 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8364 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8365 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8367 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8372 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8373 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8375 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8378 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8382 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8383 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8384 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8385 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8386 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8392 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8395 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8398 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8399 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8400 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8403 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8404 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8405 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8406 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8407 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8408 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8409 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8412 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8417 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8418 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8420 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8421 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8423 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8427 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8428 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8429 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8430 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8431 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8432 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8433 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8434 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8435 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8438 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8439 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8441 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8444 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8445 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8448 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8449 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8451 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8454 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8455 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8456 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8458 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8459 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8460 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8463 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8468 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8469 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8470 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8471 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8472 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8474 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8478 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8479 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8480 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8481 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8482 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8483 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8484 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8486 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8487 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8488 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8490 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8491 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8493 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8494 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8496 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8497 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8498 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8499 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8500 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8501 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8502 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8503 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8504 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8505 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8506 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8507 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8508 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8509 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8510 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8512 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8515 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8517 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8518 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8520 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8521 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8522 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8524 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8530 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8532 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8534 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8535 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8536 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8538 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8539 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8540 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8541 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8542 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8543 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8544 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8545 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8546 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8547 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8548 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8550 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8551 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8552 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8553 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8554 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8556 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8557 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8558 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8559 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8560 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8561 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8562 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8563 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8564 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8565 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8567 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8570 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8571 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8572 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8573 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8574 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8575 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8576 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8577 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8578 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8579 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8580 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8581 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8582 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8583 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8604 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8606 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8607 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8608 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8609 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8610 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8611 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8612 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8613 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8614 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8615 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8616 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8617 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8618 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
8620 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8621 that was previously under [RESET_PID].
8622 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8623 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8624 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8626 * sysdeps/i386/nptl/Implies: New file.
8627 * sysdeps/x86_64/nptl/Implies: New file.
8628 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8629 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8630 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8631 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8633 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8634 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8635 (__libc_vfork): New strong alias.
8636 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8637 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8639 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8640 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8641 (__libc_vfork): New strong alias.
8642 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8643 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8645 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8646 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8647 (__libc_vfork): New strong alias.
8648 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8649 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8650 * nptl/pt-vfork.c: New file.
8651 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8652 (libpthread: GLIBC_2.20): New version set (empty).
8654 2014-05-14 Will Newton <will.newton@linaro.org>
8656 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8659 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8662 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8663 arguments with exponent 65 or above.
8664 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8665 arguments 0x1p113L or above.
8666 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8667 to arguments 0x1p107L or above.
8668 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8669 positive arguments with exponent 65 or above.
8670 * math/auto-libm-test-in: Add more tests of log1p.
8671 * math/auto-libm-test-out: Regenerated.
8674 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8675 non-finite arguments is +0.
8676 * math/s_cacosf.c (__cacosf): Likewise.
8677 * math/s_cacosl.c (__cacosl): Likewise.
8678 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8679 * sysdeps/i386/fpu/libm-test-ulps: Update.
8680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8683 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8685 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8686 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8687 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8688 for explicit high bit of mantissa when testing for argument equal
8690 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8691 * sysdeps/i386/fpu/libm-test-ulps: Update.
8692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8696 (__erf): Scale by 16 instead of 8 in potentially underflowing
8697 case. Ensure exception if result actually underflows.
8698 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8699 (__erff): Scale by 16 instead of 8 in potentially underflowing
8700 case. Ensure exception if result actually underflows.
8701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8702 (efx8): Remove variable.
8703 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8704 case. Ensure exception if result actually underflows.
8705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8706 (efx8): Remove variable.
8707 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8708 case. Ensure exception if result actually underflows.
8709 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8710 (efx8): Remove variable.
8711 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8712 case. Ensure exception if result actually underflows.
8713 * math/auto-libm-test-in: Add more tests of erf.
8714 * math/auto-libm-test-out: Regenerated.
8716 2014-05-14 Andreas Schwab <schwab@suse.de>
8718 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8719 Remove code conditionalized on USE___THREAD.
8721 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8722 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8725 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8727 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8728 Define unconditionally.
8729 (__ASSUME_O_CLOEXEC): Likewise.
8730 (__ASSUME_SOCK_CLOEXEC): Likewise.
8731 (__ASSUME_IN_NONBLOCK): Likewise.
8732 (__ASSUME_PIPE2): Likewise.
8733 (__ASSUME_EVENTFD2): Likewise.
8734 (__ASSUME_SIGNALFD4): Likewise.
8735 (__ASSUME_DUP3): Likewise.
8736 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8737 (__ASSUME_DUP3): Do not define.
8738 (__ASSUME_EVENTFD2): Likewise.
8739 (__ASSUME_IN_NONBLOCK): Likewise.
8740 (__ASSUME_O_CLOEXEC): Likewise.
8741 (__ASSUME_PIPE2): Likewise.
8742 (__ASSUME_SIGNALFD4): Likewise.
8743 (__ASSUME_SOCK_CLOEXEC): Likewise.
8744 (__ASSUME_UTIMES): Undefine.
8745 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8746 (__ASSUME_UTIMES): Do not define.
8747 (__ASSUME_O_CLOEXEC): Likewise.
8748 (__ASSUME_SOCK_CLOEXEC): Likewise.
8749 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8750 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8752 (__ASSUME_PIPE2): Likewise.
8753 (__ASSUME_EVENTFD2): Likewise.
8754 (__ASSUME_SIGNALFD4): Likewise.
8755 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8756 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8758 (__ASSUME_EVENTFD2): Likewise.
8759 (__ASSUME_SIGNALFD4): Likewise.
8760 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8761 (__ASSUME_32BITUIDS): Likewise.
8762 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8763 (__ASSUME_IPC64): Likewise.
8764 (__ASSUME_ST_INO_64_BIT): Likewise.
8765 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8766 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8767 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8768 (__ASSUME_UTIMES): Do not define.
8769 (__ASSUME_PSELECT): Likewise.
8770 (__ASSUME_PPOLL): Likewise.
8771 (__ASSUME_O_CLOEXEC): Likewise.
8772 (__ASSUME_SOCK_CLOEXEC): Likewise.
8773 (__ASSUME_IN_NONBLOCK): Likewise.
8774 (__ASSUME_PIPE2): Likewise.
8775 (__ASSUME_EVENTFD2): Likewise.
8776 (__ASSUME_SIGNALFD4): Likewise.
8777 (__ASSUME_DUP3): Likewise.
8778 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8779 (__ASSUME_UTIMES): Likewise.
8780 (__ASSUME_O_CLOEXEC): Likewise.
8781 (__ASSUME_SOCK_CLOEXEC): Likewise.
8782 (__ASSUME_IN_NONBLOCK): Likewise.
8783 (__ASSUME_PIPE2): Likewise.
8784 (__ASSUME_EVENTFD2): Likewise.
8785 (__ASSUME_SIGNALFD4): Likewise.
8786 (__ASSUME_DUP3): Likewise.
8787 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8788 (__ASSUME_UTIMES): Likewise.
8789 (__ASSUME_O_CLOEXEC): Likewise.
8790 (__ASSUME_SOCK_CLOEXEC): Likewise.
8791 (__ASSUME_IN_NONBLOCK): Likewise.
8792 (__ASSUME_PIPE2): Likewise.
8793 (__ASSUME_EVENTFD2): Likewise.
8794 (__ASSUME_SIGNALFD4): Likewise.
8795 (__ASSUME_DUP3): Likewise.
8796 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8798 (__ASSUME_UTIMES): Likewise.
8799 (__ASSUME_EVENTFD2): Likewise.
8800 (__ASSUME_SIGNALFD4): Likewise.
8801 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8802 (__ASSUME_O_CLOEXEC): Likewise.
8803 (__ASSUME_SOCK_CLOEXEC): Likewise.
8804 (__ASSUME_IN_NONBLOCK): Likewise.
8805 (__ASSUME_PIPE2): Likewise.
8806 (__ASSUME_EVENTFD2): Likewise.
8807 (__ASSUME_SIGNALFD4): Likewise.
8808 (__ASSUME_DUP3): Likewise.
8809 (__ASSUME_UTIMES): Undefine.
8811 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8812 feclearexcept. Remove symbol versioning code.
8813 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8814 symbol versioning code.
8815 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8816 symbol versioning code.
8817 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8818 feupdateenv. Remove symbol versioning code.
8819 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8820 fegetexceptflag. Remove symbol versioning code.
8821 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8822 fesetexceptflag. Remove symbol versioning code.
8823 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8824 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8825 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8826 (__posix_fadvise64_l32): Remove prototype.
8827 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8830 2014-05-13 Roland McGrath <roland@hack.frob.com>
8832 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8833 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8834 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8835 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8837 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8839 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8840 current working directory
8842 2014-05-13 Roland McGrath <roland@hack.frob.com>
8844 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8845 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8846 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8847 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8848 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8849 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8850 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8857 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8858 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8859 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8860 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8861 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8862 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8863 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8864 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8865 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8866 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8867 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8868 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8869 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8870 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8871 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8872 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8873 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8874 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8875 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8876 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8877 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8878 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8879 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8880 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8881 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8882 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8883 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8884 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8885 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8887 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8888 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8890 * sysdeps/unix/sysv/linux/arm/Makefile
8891 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8892 Add rt-aeabi_unwind_cpp_pr1.
8893 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8894 Add nptl-aeabi_unwind_cpp_pr1.
8895 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8896 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8897 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8898 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8899 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8900 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8902 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8903 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8904 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8905 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8907 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8908 Deconditionalize the code that was previously under [RESET_PID].
8909 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8911 * sysdeps/generic/exit-thread.h: New file.
8912 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8913 * include/unistd.h (__exit_thread): Remove declaration.
8914 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8915 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8916 * csu/libc-start.c: Include <exit-thread.h>.
8917 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8918 * nptl/pthread_create.c: Include <exit-thread.h>.
8919 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8920 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8921 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8922 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8923 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8924 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8925 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8926 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8927 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8928 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8929 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8930 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8931 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8932 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8933 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8934 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8935 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8937 2014-05-13 Andreas Schwab <schwab@suse.de>
8939 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8941 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8943 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8944 (__ASSUME_UTIMES): Do not condition on kernel version.
8945 (__ASSUME_PSELECT): Define unconditionally.
8946 (__ASSUME_PPOLL): Likewise.
8947 (__ASSUME_ATFCTS): Likewise.
8948 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8949 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8950 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8951 (__ASSUME_UTIMENSAT): Define unconditionally.
8952 (__ASSUME_PRIVATE_FUTEX): Likewise.
8953 (__ASSUME_FALLOCATE): Likewise.
8954 (__ASSUME_O_CLOEXEC): Likewise.
8955 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8956 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8957 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8958 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8959 (__ASSUME_IN_NONBLOCK): Likewise.
8960 (__ASSUME_PIPE2): Likewise.
8961 (__ASSUME_EVENTFD2): Likewise.
8962 (__ASSUME_SIGNALFD4): Likewise.
8963 (__ASSUME_DUP3): Likewise.
8964 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8965 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8966 (__ASSUME_AT_RANDOM): Likewise.
8967 (__ASSUME_PREADV): Likewise.
8968 (__ASSUME_PWRITEV): Likewise.
8969 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8970 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8971 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8972 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8973 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8975 (__ASSUME_O_CLOEXEC): Define unconditionally.
8976 (__ASSUME_PSELECT): Do not undefine conditionally.
8977 (__ASSUME_PPOLL): Likewise.
8978 (__ASSUME_ATFCTS): Likewise.
8979 (__ASSUME_SET_ROBUST_LIST): Likewise.
8980 (__ASSUME_UTIMENSAT): Likewise.
8981 (__ASSUME_FDATASYNC): Define unconditionally.
8982 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8983 (__ASSUME_SIGFRAME_V2): Likewise.
8984 )__ASSUME_EVENTFD2): Likewise.
8985 (__ASSUME_SIGNALFD4): Likewise.
8986 (__ASSUME_PSELECT): Do not undefine conditionally.
8987 (__ASSUME_PPOLL): Likewise.
8988 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8989 (__ASSUME_PSELECT): Define unconditionally.
8990 (__ASSUME_PPOLL): Likewise.
8991 (__ASSUME_O_CLOEXEC): Likewise.
8992 (__ASSUME_SOCK_CLOEXEC): Likewise.
8993 (__ASSUME_IN_NONBLOCK): Likewise.
8994 (__ASSUME_PIPE2): Likewise.
8995 (__ASSUME_EVENTFD2): Likewise.
8996 (__ASSUME_SIGNALFD4): Likewise.
8997 (__ASSUME_DUP3): Likewise.
8998 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8999 (__ASSUME_O_CLOEXEC): Likewise.
9000 (__ASSUME_SOCK_CLOEXEC): Likewise.
9001 (__ASSUME_IN_NONBLOCK): Likewise.
9002 (__ASSUME_PIPE2): Likewise.
9003 (__ASSUME_EVENTFD2): Likewise.
9004 (__ASSUME_SIGNALFD4): Likewise.
9005 (__ASSUME_DUP3): Likewise.
9006 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9007 (__ASSUME_EVENTFD2): Likewise.
9008 (__ASSUME_SIGNALFD4): Likewise.
9009 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9011 2014-05-12 Andreas Schwab <schwab@suse.de>
9014 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9015 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9016 than maximum RPC packet size.
9017 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9018 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9019 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9020 (_nss_nis_getservbyport_r): Likewise.
9022 2014-05-12 Will Newton <will.newton@linaro.org>
9024 * malloc/Makefile (tests): Add tst-mallopt.
9025 * malloc/tst-mallopt.c: New file.
9027 2014-05-09 Roland McGrath <roland@hack.frob.com>
9029 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9030 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9032 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9034 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9035 (tst-tlsmod6.so): Likewise.
9037 2014-05-09 Roland McGrath <roland@hack.frob.com>
9039 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9041 2014-05-09 Joseph Myers <joseph@codesourcery.com>
9044 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9045 and <dl-procinfo.h>.
9046 (__fegetenv): Save SSE state in envp->__eip if supported.
9047 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9048 envp->__eip if supported.
9049 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9050 and <dl-procinfo.h>.
9051 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9052 __data_offset and __data_selector in environment to 0. Set SSE
9054 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9056 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9058 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9060 2014-05-09 Will Newton <will.newton@linaro.org>
9062 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9063 and libc_relro_required for ARM.
9064 * sysdeps/arm/preconfigure: Regenerate.
9066 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9067 Stefan Liebler <stli@linux.vnet.ibm.com>
9069 * config.make.in (enable-lock-elision): New Makefile variable.
9070 * configure.ac: Likewise.
9071 * configure: Regenerate.
9072 * sysdeps/s390/configure.ac:
9073 Add check for gcc transactions support.
9074 * sysdeps/s390/configure: Regenerate.
9075 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9076 Build elision files if enabled.
9077 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9078 Add lock elision support for s390.
9079 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9080 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9081 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9082 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9083 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9084 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9085 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9087 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9089 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9091 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9093 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9094 (__lll_timedlock_elision, __lll_lock_elision)
9095 (__lll_unlock_elision, __lll_trylock_elision)
9096 (lll_timedlock_elision, lll_lock_elision)
9097 (lll_unlock_elision, lll_trylock_elision): Add.
9098 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9099 (pthread_mutex_t): Add lock elision support for s390.
9101 2014-05-14 Wilco <wdijkstr@arm.com>
9103 * sysdeps/arm/fclrexcpt.c: Cleanup.
9104 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9105 * sysdeps/arm/feenablxcpt.c: Cleanup.
9106 * sysdeps/arm/fegetenv.c: Cleanup.
9107 * sysdeps/arm/fegetexcept.c: Cleanup.
9108 * sysdeps/arm/fegetround.c: Cleanup.
9109 * sysdeps/arm/feholdexcpt.c: Cleanup.
9110 * sysdeps/arm/fesetenv.c: Cleanup.
9111 * sysdeps/arm/fesetround.c: Cleanup.
9112 * sysdeps/arm/feupdateenv.c: Cleanup.
9113 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9114 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9115 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9116 * sysdeps/arm/ftestexcept.c: Cleanup.
9117 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9118 * sysdeps/arm/setfpucw.c: Cleanup.
9120 2014-05-09 Will Newton <will.newton@linaro.org>
9122 * sysdeps/arm/armv7/strcmp.S: New file.
9123 * NEWS: Mention addition of ARMv7 optimized strcmp.
9125 2014-05-08 Roland McGrath <roland@hack.frob.com>
9127 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9128 look for %.ac rather than %.in.
9130 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9131 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9132 * sysdeps/mach/hurd/configure: Regenerated.
9133 * sysdeps/unix/sysv/linux/configure: Regenerated.
9135 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9137 2014-05-07 Steve Ellcey <sellcey@mips.com>
9140 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9144 2014-05-07 Andreas Schwab <schwab@suse.de>
9146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9147 when skipping over non-matching result from nscd.
9149 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
9152 * nptl/sockperf.c (client): Check socket return value.
9155 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9156 nscd security class.
9158 2014-05-06 Roland McGrath <roland@hack.frob.com>
9160 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9161 * sysdeps/arm/unwind.h: ... here.
9163 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9166 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9169 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9171 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9172 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9173 multiarch strncpy for PPC64.
9174 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9175 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9177 multiarch optimizations.
9178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9179 (__libc_ifunc_impl_list): Likewise.
9180 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9181 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9182 multiarch stpncpy for PPC64.
9183 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9184 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9186 2014-05-06 Andreas Schwab <schwab@suse.de>
9189 * gmon/mcount.c (_MCOUNT_DECL): Use
9190 atomic_compare_and_exchange_bool_acq instead of
9191 catomic_compare_and_exchange_bool_acq.
9193 2014-05-05 Roland McGrath <roland@hack.frob.com>
9195 * elf/Makefile (others, install-bin): Remove pldd.
9196 (pldd-modules): Variable removed.
9197 ($(objpfx)pldd): Target removed.
9198 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9199 (others, install-bin): Append pldd here.
9200 ($(objpfx)pldd): New target.
9202 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9203 to 0, so the first #if test emitted later doesn't see it undefined.
9204 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9205 * sysdeps/gnu/errlist.c: Regenerated.
9207 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9209 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9210 [libc_hidden_builtin_def]: Define to empty value.
9211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9212 [libc_hidden_builtin_def]: Likewise.
9213 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9214 [libc_hidden_builtin_def]: Likewise.
9215 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9216 [libc_hidden_builtin_def]: Likewise.
9217 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9218 __redirect_memcpy and define ifunc as default hidden symbol.
9219 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9220 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9222 2014-05-04 Adam Conrad <adconrad@0c3.net>
9224 * locale/iso-4217.def: Reintroduce XDR currency.
9226 2014-05-04 Allan McRae <allan@archlinux.org>
9228 * po/eo.po: Update Esperanto translation from translation project.
9230 2014-05-02 Carlos O'Donell <carlos@redhat.com>
9232 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9233 and FEATURE_INDEX_MAX to 1.
9234 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9236 2014-05-01 Steve Ellcey <sellcey@mips.com>
9238 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9239 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9240 * iconvdata/big5.c (ONE_DIRECTION): Define.
9241 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9242 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9243 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9244 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9245 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9246 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9247 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9248 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9249 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9250 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9251 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9252 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9253 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9254 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9255 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9256 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9257 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9258 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9259 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9260 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9261 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9262 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9263 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9264 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9265 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9266 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9267 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9268 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9269 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9270 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9271 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9272 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9273 * iconvdata/johab.c (ONE_DIRECTION): Define.
9274 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9275 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9276 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9277 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9278 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9279 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9280 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9281 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9282 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9283 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9285 2014-05-01 Roland McGrath <roland@hack.frob.com>
9287 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9288 (_IO_JUMPS_OFFSET): Define to 0.
9290 * nptl/sysdeps/pthread/bits/libc-lock.h
9291 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9292 (__libc_lock_define_initialized_recursive): Always define using
9293 initializer. Modern compilers treat uninitialized (implicit zero) and
9294 explicit zero initializers the same (i.e. put the datum in bss).
9296 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9298 * nscd/nscd-client.h: Include <string.h>.
9300 2014-05-01 David S. Miller <davem@davemloft.net>
9303 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9304 multiple zero bytes exist at the end of a string.
9305 Reported by Aurelien Jarno <aurelien@aurel32.net>
9307 * string/test-strcmp.c (check): Add explicit test for situations where
9308 there are multiple zero bytes after the first.
9310 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9313 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9314 when compiling wprintf.
9315 * stdio-common/tstdiomisc.c (t3): New function.
9318 2014-05-01 Steve Ellcey <sellcey@mips.com>
9320 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9321 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9322 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9323 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9325 2014-05-01 Steve Ellcey <sellcey@mips.com>
9327 * stdlib/longlong.h: Updated from GCC.
9329 2014-05-01 Will Newton <will.newton@linaro.org>
9330 Bernard Ogden <bernie.ogden@linaro.org>
9332 * NEWS: Update fixed bug list.
9335 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9337 2014-04-30 David S. Miller <davem@davemloft.net>
9339 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9340 (libc_feholdexcept_setround_sparc_ctx): New function.
9341 (libc_fesetenv_sparc_ctx): Likewise.
9342 (libc_feupdateenv_sparc_ctx): Likewise.
9343 (libc_feholdsetround_sparc_ctx): Likewise.
9344 (libc_feholdexcept_setround_ctx): Define.
9345 (libc_feholdexcept_setroundf_ctx): Likewise.
9346 (libc_feholdexcept_setroundl_ctx): Likewise.
9347 (libc_fesetenv_ctx): Likewise.
9348 (libc_fesetenvf_ctx): Likewise.
9349 (libc_fesetenvl_ctx): Likewise.
9350 (libc_feupdateenv_ctx): Likewise.
9351 (libc_feupdateenvf_ctx): Likewise.
9352 (libc_feupdateenvl_ctx): Likewise.
9353 (libc_feresetround_ctx): Likewise.
9354 (libc_feresetroundf_ctx): Likewise.
9355 (libc_feresetroundl_ctx): Likewise.
9356 (libc_feholdsetround_ctx): Likewise.
9357 (libc_feholdsetroundf_ctx): Likewise.
9358 (libc_feholdsetroundl_ctx): Likewise.
9360 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9361 with __USE_GNU instead of XOPEN cpp guards.
9363 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9366 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9367 with XOPEN cpp guards.
9369 2014-04-30 Julian Brown <julian@codesourcery.com>
9372 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9375 2014-04-30 Joseph Myers <joseph@codesourcery.com>
9378 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9380 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9381 * sysdeps/unix/sysv/linux/configure: Regenerated.
9382 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9383 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9384 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9385 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9386 * README: Update reference to required Linux kernel version.
9387 * manual/install.texi (Linux): Update reference to required Linux
9388 kernel headers version.
9389 * INSTALL: Regenerated.
9391 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9393 [POSIX] (limits.h): Likewise.
9394 [POSIX] (math.h): Likewise.
9395 [POSIX] (sys/wait.h): Likewise.
9396 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9398 [POSIX] (stddef.h): Do not allow header inclusion.
9400 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9402 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9404 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9406 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9407 Return immediately after lll_futex_wake.
9409 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9412 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9414 (datahead_init_pos): Call datahead_init_common early.
9415 (datahead_init_neg): Likewise.
9417 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9418 datahead_init_neg): New functions.
9419 * nscd/aicache.c (addhstaiX): Use them.
9420 * nscd/grpcache.c (cache_addgr): Likewise.
9421 * nscd/hstcache.c (cache_addhst): Likewise.
9422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9423 * nscd/netgroupcache.c (do_notfound): Likewise.
9424 (addgetnetgrentX): Likewise.
9425 (addinnetgrX): Likewise.
9426 * nscd/pwdcache.c (cache_addpw): Likewise.
9427 * nscd/servicescache.c (cache_addserv): Likewise.
9429 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9430 Atsushi Onoe <atsushi@onoe.org>
9435 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9436 one response is valid.
9437 * resolv/res_send.c (send_dg): Check for validity of other
9438 response if the current response is a referral.
9440 2014-04-29 Steve Ellcey <sellcey@mips.com>
9442 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9444 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9447 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9448 Always divide by positive zero when computing -Inf result.
9449 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9450 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9452 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9454 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9455 FPSCR if value do not change.
9456 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9457 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9458 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9459 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9460 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9461 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9464 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9466 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9467 * sysdeps/unix/sysv/linux/hppa: Move directory from
9468 ports/systeps/unix/sysv/linux/hppa.
9469 * README: Update listing for hppa-*-linux-gnu.
9471 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
9474 * manual/stdio.texi (Hook functions): Fix types of stream hook
9477 * socket/sys/socket.h: Fix typo in comment.
9479 2014-04-28 Wilco <wdijkstr@arm.com>
9481 * sysdeps/arm/fenv_private.h: New file.
9482 * sysdeps/arm/math_private.h: New file.
9483 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9485 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9487 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9489 (La_x86_64_retval): Likewise.
9491 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9493 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9494 fpsr if value didn't change.
9495 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9496 to fpcr if value didn't change.
9497 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9498 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9499 fpsr or fpcr if value didn't change.
9500 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9501 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9502 fpcr if value didn't change.
9503 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9504 to fpsr if value didn't change.
9506 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9508 * nptl/tst-sem3.c: Use test-skeleton.c
9509 (main): Rename to do_test. Use return instead of
9511 * nptl/tst-sem4.c: Use test-skeleton.c
9512 (main): Rename to do_test.
9514 2014-04-22 David S. Miller <davem@davemloft.net>
9516 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9517 (struct sigaction): New struct member __glibc_reserved0, change
9518 type of sa_flags to int.
9520 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9522 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9523 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9525 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9527 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9528 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9530 2014-04-22 Will Newton <will.newton@linaro.org>
9531 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9533 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9534 (__longjmp): Add longjmp and longjmp_target SystemTap
9536 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9537 (__sigsetjmp): Add setjmp SystemTap probe.
9539 2014-04-17 Carlos O'Donell <carlos@redhat.com>
9541 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9544 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9546 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9548 * sysdeps/powerpc/fpu/fenv_private.h
9549 (libc_feholdexcept_setroundl_ctx): Define to
9550 libc_feholdexcept_setround_ppc_ctx.
9551 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9552 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9553 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9554 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9556 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9558 * sysdeps/aarch64/math-tests.h: New file.
9560 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9562 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9565 Check and set bit_AVX2_Usable.
9566 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9568 (bit_AVX2): Likewise.
9569 (index_AVX2_Usable): Likewise.
9570 (CPUID_AVX2): Likewise.
9571 (HAS_AVX2): Likewise.
9573 2014-04-17 Will Newton <will.newton@linaro.org>
9575 * manual/setjmp.texi (System V contexts): Add note that
9576 calling setcontext on a context created by a call to a
9577 signal handler is undefined. Update text to note that
9578 setcontext from a signal handler is possible but not
9582 * stdlib/tst-setcontext.c: Include signal.h.
9583 (main): Check that the signal stack before and
9584 after swapcontext is the same.
9586 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9587 Re-implement to restore registers in user code and avoid
9588 rt_sigreturn system call.
9590 2014-04-17 Wilco <wdijkstr@arm.com>
9592 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9593 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9594 * math/test-fenv.c: Skip exception trap tests on targets which only
9595 support non-stop mode.
9597 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9598 Wilco Dijkstra <wilco.dijkstra@arm.com>
9600 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9601 (libc_feholdsetround_aarch64_ctx)
9602 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9603 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9604 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9605 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9606 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9607 (libc_feresetround_noexl_ctx): Define.
9609 2014-04-16 Richard Henderson <rth@redhat.com>
9611 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9613 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9616 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9617 const from the non-libc, non-ldso copy.
9619 * sysdeps/alpha/libm-test-ulps: Regenerate.
9621 2014-04-16 Ian Bolton <ian.bolton@arm.com>
9622 Wilco Dijkstra <wilco.dijkstra@arm.com>
9624 * sysdeps/aarch64/fpu/math_private.h: New file.
9626 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9628 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9630 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9633 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9634 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9635 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9636 Intel MPX bound registers before _dl_profile_fixup.
9637 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9638 registers after _dl_profile_fixup. Save and restore bound
9639 registers bnd0/bnd1 when calling _dl_call_pltexit.
9640 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9641 (LR_BND_OFFSET): Likewise.
9642 (LRV_BND0_OFFSET): Likewise.
9643 (LRV_BND1_OFFSET): Likewise.
9645 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9647 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9649 * sysdeps/mach/hurd/i386/tls.h: ... here.
9650 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9651 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9654 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9656 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9658 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9660 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9662 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9665 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9666 * sysdeps/s390/configure: Regenerate.
9669 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9670 Set round-to-nearest internally to reduce error accumulation.
9672 2014-04-16 Alan Modra <amodra@gmail.com>
9676 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9677 * math/libm-test.inc (frexp_test_data): Add tests.
9678 * NEWS: Update fixed bug list.
9680 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9682 * benchtests/Makefile: Depend on libraries in build directory.
9683 (bench-math): Separate out math tests.
9684 (bench-pthread): Separate out pthread tests.
9685 (bench): Include math and pthread tests.
9687 2014-04-14 Carlos O'Donell <carlos@redhat.com>
9690 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9691 _dl_debug_initialize.
9693 * configure.ac: Remove SELinux header check.
9694 * configure: Regenerate.
9695 * nscd/selinux.c (perms): Array of const char* to permission names.
9696 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9697 default policy. Call string_to_security_class and string_to_av_perm to
9698 translate strings. Enforce default policy and call avs_has_perm with
9699 results of translated strings.
9701 2014-04-13 David S. Miller <davem@davemloft.net>
9703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9705 2014-04-12 Allan McRae <allan@archlinux.org>
9708 * manual/string.texi (Collation Functions): Fix qsort argument
9710 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9712 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9714 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9715 Make the test a no-op if there are no exceptions defined.
9717 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9719 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9720 enable-hardcoded-path-in-tests
9722 2014-04-11 Will Newton <will.newton@linaro.org>
9724 * benchtests/Makefile (extra-objs): Add json-lib.o.
9725 (bench-func): Tidy up JSON output.
9726 * benchtests/bench-skeleton.c: Include json-lib.h.
9727 (main): Use JSON library functions to do output of
9729 * benchtests/bench-timing-type.c (main): Output the
9730 timing type simply, leaving formatting to the user.
9731 * benchtests/json-lib.c: New file.
9732 * benchtests/json-lib.h: Likewise.
9734 2014-04-11 Torvald Riegel <triegel@redhat.com>
9737 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9738 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9739 memory barriers. Add comments.
9740 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9741 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9742 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9743 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9744 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9745 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9747 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9749 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9750 * sysdeps/s390/s390-64/configure.ac: ... this ...
9751 * sysdeps/s390/configure.ac: ... to here.
9752 * sysdeps/s390/s390-32/configure: Delete file.
9753 * sysdeps/s390/s390-64/configure: Delete file.
9754 * sysdeps/s390/configure: Regenerate.
9756 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9758 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9760 2014-04-11 Will Newton <will.newton@linaro.org>
9762 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9763 to zero if it is not defined elsewhere. (mtrim): Test
9764 the value of MALLOC_DEBUG with #if rather than #ifdef.
9766 2014-04-10 Torvald Riegel <triegel@redhat.com>
9768 * benchtests/pthread_once-inputs: New file.
9769 * benchtests/pthread_once-source.c: New file.
9770 * benchtests/README: Update documentation.
9772 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9773 H.J. Lu <hongjiu.lu@intel.com>
9776 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9777 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9778 * sysdeps/x86_64/configure: Regenerated.
9779 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9781 (REGISTER_SAVE_RAX): Likewise.
9782 (REGISTER_SAVE_RCX): Likewise.
9783 (REGISTER_SAVE_RDX): Likewise.
9784 (REGISTER_SAVE_RSI): Likewise.
9785 (REGISTER_SAVE_RDI): Likewise.
9786 (REGISTER_SAVE_R8): Likewise.
9787 (REGISTER_SAVE_R9): Likewise.
9788 (REGISTER_SAVE_BND0): Likewise.
9789 (REGISTER_SAVE_BND1): Likewise.
9790 (REGISTER_SAVE_BND2): Likewise.
9791 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9792 bound registers when calling _dl_fixup.
9794 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9796 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9797 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9799 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9800 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9801 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9802 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9803 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9804 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9805 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9807 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9810 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9811 pathconf(_PC_NAME_MAX).
9813 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9815 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9817 (__PTHREAD_SPINS): Move definition to ...
9818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9819 (__PTHREAD_SPINS): ... here.
9820 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9821 (__PTHREAD_SPIN): Likewise.
9822 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9823 (__PTHREAD_SPIN): Likewise.
9824 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9825 (__PTHREAD_SPIN): Likewise.
9826 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9827 (__PTHREAD_SPIN): Likewise.
9828 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9829 (__PTHREAD_SPIN): Likewise.
9830 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9831 (__PTHREAD_SPIN): Likewise.
9832 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9833 (__PTHREAD_SPIN): Likewise.
9834 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9835 (__PTHREAD_SPIN): Likewise.
9836 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9837 (__PTHREAD_SPIN): Likewise.
9838 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9839 (__PTHREAD_SPIN): Likewise.
9840 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9841 (__PTHREAD_SPIN): Likewise.
9842 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9843 (__PTHREAD_SPIN): Likewise.
9845 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9846 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9847 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9848 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9850 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9851 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9852 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9853 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9855 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9856 strlen symbol for non multi-arch builds.
9857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9858 missing hidden_def and weak_alias.
9860 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9862 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9864 2014-04-07 Will Newton <will.newton@linaro.org>
9866 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9867 and contents. [!_LIBC] Remove #ifndef and contents.
9868 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9869 * string/memccpy.c (__memccpy): Use ANSI prototype.
9870 * string/memfrob.c (memfrob): Likewise.
9871 * string/strcoll.c (STRCOLL): Likewise.
9872 * string/strlen.c (strlen): Likewise.
9873 * string/strtok.c (STRTOK): Likewise.
9874 * string/strcat.c: Remove unused #include of memcopy.h.
9875 (strcat): Use ANSI prototype.
9876 * string/strchr.c: Remove unused #include of memcopy.h.
9877 (strchr): Use ANSI prototype.
9878 * string/strcmp.c: Remove unused #include of memcopy.h.
9879 (strcmp): Use ANSI prototype.
9880 * string/strcpy.c: Remove unused #include of memcopy.h.
9881 (strcpy): Use ANSI prototype.
9883 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9885 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9886 * config.make.in (config-extra-cppflags): Set it from
9887 libc_extra_cppflags.
9888 * configure.ac (libc_extra_cflags): Make it accumulate over
9889 configure fragments.
9890 (libc_extra_cppflags): New flag.
9891 * configure. Regenerate.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9893 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9894 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9898 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9899 result for FE_DOWNWARD rounding mode.
9900 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9904 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9906 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9907 in function argument name.
9909 2014-04-03 David Svoboda <svoboda@cert.org>
9912 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9915 2014-04-03 Roland McGrath <roland@hack.frob.com>
9917 * elf/dl-unmap-segments.h: New file.
9918 * sysdeps/generic/ldsodefs.h
9919 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9920 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9921 * elf/dl-fptr.c: Likewise.
9922 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9923 * sysdeps/aarch64/tlsdesc.c: Likewise.
9924 * sysdeps/arm/tlsdesc.c: Likewise.
9925 * sysdeps/i386/tlsdesc.c: Likewise.
9926 * sysdeps/tile/dl-runtime.c: Likewise.
9927 * sysdeps/x86_64/tlsdesc.c: Likewise.
9928 * elf/dl-load.h: New file.
9929 * elf/dl-load.c: Include it.
9930 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9931 Macros moved to dl-load.h.
9932 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9933 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9934 Use _dl_unmap_segments in place of __munmap.
9935 Break out segment-mapping loop into ...
9936 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9938 2014-04-03 Will Newton <will.newton@linaro.org>
9940 * elf/dl-lookup.c (do_lookup_x): Remove comment
9941 referring to nested function and move variable
9942 declarations down to before first use.
9944 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9948 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9950 * math/s_catanf.c (__catanf): Likewise.
9951 * math/s_catanh.c (__catanh): Likewise.
9952 * math/s_catanhf.c (__catanhf): Likewise.
9953 * math/s_catanhl.c (__catanhl): Likewise.
9954 * math/s_catanl.c (__catanl): Likewise.
9955 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9956 by positive zero when computing -Inf result.
9957 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9958 (catanh_test): Likewise.
9959 * sysdeps/i386/fpu/libm-test-ulps: Update.
9960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9963 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9964 instead of using underflowing value in computing result.
9965 * math/s_clog10.c (__clog10): Likewise.
9966 * math/s_clog10f.c (__clog10f): Likewise.
9967 * math/s_clog10l.c (__clog10l): Likewise.
9968 * math/s_clogf.c (__clogf): Likewise.
9969 * math/s_clogl.c (__clogl): Likewise.
9970 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9971 (clog10_test): Likewise.
9972 * sysdeps/i386/fpu/libm-test-ulps: Update.
9973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9975 2014-04-02 Alan Modra <amodra@gmail.com>
9978 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9979 output when value is near a power of two. Use int64_t for lx and
9980 remove casts. Use decimal rather than hex exponent constants.
9981 Don't use long double multiplication when double will suffice.
9982 * math/libm-test.inc (nextafter_test_data): Add tests.
9983 * NEWS: Add 16739 and 16786 to bug list.
9985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9987 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9989 2014-04-01 Will Newton <will.newton@linaro.org>
9991 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9992 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9994 2014-04-01 Florian Weimer <fweimer@redhat.com>
9997 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9998 * nptl/tst-setuid2.c: New file.
9999 * nptl/Makefile (xtests): Add tst-setuid2.
10001 2014-04-01 Alan Modra <amodra@gmail.com>
10004 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10006 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10010 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10011 set errno as appropriate.
10012 * math/w_scalbf.c (__scalbf): Likewise.
10013 * math/w_scalbl.c (__scalbl): Likewise.
10014 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10015 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10016 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10017 Add more NaN tests.
10020 * math/w_atan2.c: Include <errno.h>.
10021 (__atan2): Set errno for result underflowing to zero.
10022 * math/w_atan2f.c: Include <errno.h>.
10023 (__atan2f): Set errno for result underflowing to zero.
10024 * math/w_atan2l.c: Include <errno.h>.
10025 (__atan2l): Set errno for result underflowing to zero.
10026 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10028 * math/auto-libm-test-out: Regenerated.
10030 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10032 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10033 Encode instruction correctly in little endian.
10034 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10038 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10040 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10043 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10046 * sysdeps/unix/sysv/linux/kernel-features.h
10047 [__sparc__ && !__arch64__ && !__sparc_v9__]
10048 (__ASSUME_SET_ROBUST_LIST): Do not define.
10049 [__sparc__ && !__arch64__ && !__sparc_v9__]
10050 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10051 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10053 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10054 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10055 (__ASSUME_REQUEUE_PI): Likewise.
10056 (__ASSUME_SET_ROBUST_LIST): Likewise.
10057 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10058 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10061 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10063 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10065 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10067 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10068 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10070 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10071 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10076 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10077 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10079 2014-03-31 Will Newton <will.newton@linaro.org>
10081 * benchtests/Makefile (bench): Add ffs and ffsll to list
10083 * benchtests/ffs-inputs: New file.
10084 * benchtests/ffsll-inputs: Likewise.
10086 2014-03-29 Joseph Myers <joseph@codesourcery.com>
10089 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10090 too large before casting to int.
10091 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10092 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10093 * math/libm-test.inc (scalb_test_data): Add more tests.
10095 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10097 * benchtests/Makefile (DETAILED_OPT): New make option.
10098 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10100 * benchtests/bench-skeleton.c: Include stdbool.h.
10101 (main): Store and print timings per input.
10102 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10103 member to each argument value.
10104 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10105 (_print_arg_data): Initialize per-input timing to 0.
10107 * benchtests/Makefile (timing-type): New binary.
10108 (bench-clean): Also remove bench-timing-type.
10109 (bench): New target for timing-type.
10110 (bench-func): Print output in JSON format.
10111 * benchtests/bench-skeleton.c (main): Print output in JSON
10113 * benchtests/bench-timing-type.c: New file.
10114 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10115 (TIMING_PRINT_STATS): Remove.
10116 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10119 * benchtests/bench-modf.c: Remove.
10120 * benchtests/modf-inputs: New inputs file.
10122 2014-03-28 Joseph Myers <joseph@codesourcery.com>
10125 * math/s_clog10.c (M_PI_LOG10E): New macro.
10126 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10127 imaginary parts are 0.
10128 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10129 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10130 imaginary parts are 0.
10131 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10132 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10133 imaginary parts are 0.
10134 * math/libm-test.inc (clog10_test_data): Update expected results
10135 for when real and imaginary parts are 0.
10137 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10139 * elf/dl-load.c: Finish conversion of __builtin_expect into
10140 __glibc_{un}likely.
10142 2014-03-27 Joseph Myers <joseph@codesourcery.com>
10145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10146 1+x for argument with exponent below -67.
10147 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10149 * math/auto-libm-test-in: Add more tests of exp.
10150 * math/auto-libm-test-out: Regenerated.
10152 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10155 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10156 (nscd_getnetgrent): Use it.
10159 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10162 2014-03-27 Andi Kleen <ak@linux.intel.com>
10164 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10165 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10166 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10167 (lll_robust_unlock): Remove out of line section. Use cfi
10169 (LLL_STUB_UNWIND_INFO*): Remove.
10170 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10171 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10172 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10173 (lll_robust_unlock): Remove out of line section. Use cfi
10175 (LLL_STUB_UNWIND_INFO*): Remove.
10177 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10180 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10183 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10185 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10187 2014-03-26 Joseph Myers <joseph@codesourcery.com>
10190 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10192 * math/test-fenv-preserve.c: New file.
10193 * math/Makefile (tests): Add test-fenv-preserve.
10195 2014-03-26 Will Newton <will.newton@linaro.org>
10197 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10199 2014-03-25 Roland McGrath <roland@hack.frob.com>
10201 * scripts/versionlist.awk: Partition the version sets and emit all
10202 GLIBC_* (sorted) before all others (sorted).
10204 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10206 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10207 GLIBC_2.2.5 version.
10209 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10211 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10214 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10219 2014-03-25 Andreas Schwab <schwab@suse.de>
10221 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10222 label to be used after in6ailist is initialized.
10224 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10226 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10227 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10229 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10233 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10235 (fp_formats): Update initializers.
10236 (init_fp_formats): Initialize new field.
10237 (output_for_one_input_case): Allow underflow for results up to
10239 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10240 * math/auto-libm-test-in: Don't mark some underflows from asin and
10242 * math/auto-libm-test-out: Regenerated.
10243 * sysdeps/i386/fpu/libm-test-ulps: Update.
10244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10246 2014-03-25 Andreas Schwab <schwab@suse.de>
10248 * libio/Makefile (tst-ftell-partial-wide-ENV)
10249 (tst-ftell-active-handler-ENV): Define.
10251 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10253 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10255 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10257 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10259 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10261 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10262 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10263 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10265 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10268 * elf/dl-load.c (open_verify): Add mode parameter.
10269 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10270 (open_path): Change from boolean 'secure' to complete flag 'mode'
10271 (_dl_map_object): Adjust.
10272 * elf/Makefile (tests): Add tst-dlopen-aout.
10273 * elf/tst-dlopen-aout.c: New test.
10275 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10278 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10279 (struct stat): Rename member pad0 to __glibc_reserved0.
10282 * sysdeps/s390/s390-32/bits/wordsize.h
10283 (__WORDSIZE32_SIZE_ULONG): New define.
10284 * sysdeps/s390/s390-64/bits/wordsize.h
10285 (__WORDSIZE32_SIZE_ULONG): Likewise.
10286 * sysdeps/generic/stdint.h (SIZE_MAX):
10287 Define as UL if __WORDSIZE32_SIZE_ULONG.
10290 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10291 (__glibc_reserved0): New variable.
10292 (sa_flags): Change type to int.
10294 * posix/Makefile (before-compile): Use += before-compile instead
10297 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10298 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10300 2014-03-20 Andreas Schwab <schwab@suse.de>
10303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10304 non-matching result from nscd.
10306 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10308 * scripts/bench.py: Moved to ...
10309 * benchtests/scripts/bench.py: ... here.
10310 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10312 2014-03-24 Andreas Schwab <schwab@suse.de>
10315 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10316 alloca_account and account alloca use for struct in6ailist.
10318 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10321 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10322 rounding mode to recompute results that overflow to infinity or
10324 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10326 * math/auto-libm-test-out: Regenerated.
10327 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10328 (ccosh_test): Likewise.
10329 (csin_test_data): Use plus_oflow.
10330 (csin_test): Use ALL_RM_TEST.
10331 (csinh_test_data): Use plus_oflow.
10332 (csinh_test): Use ALL_RM_TEST.
10333 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10336 2014-03-21 Joseph Myers <joseph@codesourcery.com>
10338 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10339 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10340 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10343 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10344 when x - 1 is zero.
10345 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10346 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10347 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10348 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10350 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10351 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10353 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10354 * sysdeps/i386/fpu/libm-test-ulps: Update.
10355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10357 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10359 * scripts/bench.pl: Remove file.
10360 * scripts/bench.py: New benchmark script.
10361 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10362 * benchtests/README: Mention python dependency.
10363 * scripts/pylintrc: New file.
10364 * scripts/pylint: New file.
10366 * bits/mathdef.h: Use #ifdef instead of #if.
10367 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10368 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10369 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10370 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10371 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10372 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10374 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10375 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10377 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10379 and strpbrk-ppc64 objects.
10380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10381 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10382 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10383 multiarch strpbrk for POWER7.
10384 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10385 multiarch strpbrk for PPC64.
10386 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10388 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10389 strpbrk for POWER7.
10391 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10393 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10394 (atan_test): Likewise.
10395 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10396 (atanh_test): Use ALL_RM_TEST.
10397 (atan2_test_data): Likewise.
10398 (cabs_test): Likewise.
10399 (cacosh_test): Likewise.
10400 (carg_test): Likewise.
10401 (casin_test): Likewise.
10402 (casinh_test): Likewise.
10403 (cbrt_test): Likewise.
10404 (csqrt_test): Likewise.
10405 (erf_test): Likewise.
10406 (erfc_test): Likewise.
10407 (pow10_test): Likewise.
10408 (exp2_test): Likewise.
10409 (hypot_test): Likewise.
10410 (j0_test): Likewise.
10411 (j1_test): Likewise.
10412 (lgamma_test): Likewise.
10413 (gamma_test): Likewise.
10414 (sincos_test): Likewise.
10415 (tanh_test): Likewise.
10416 (y0_test): Likewise.
10417 (y1_test): Likewise.
10418 * sysdeps/i386/fpu/libm-test-ulps: Update.
10419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10421 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10423 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10425 and strcspn-ppc64 objects.
10426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10427 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10428 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10429 multiarch strcspn for POWER7.
10430 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10431 multiarch strcspn for PPC64.
10432 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10434 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10435 strcspn for POWER7.
10437 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10439 * math/gen-libm-test.pl (generate_testfile): Expect only function
10440 name as argument to AUTO_TESTS_* and pass results for all rounding
10441 modes to parse_args.
10442 (parse_auto_input): Separate inputs of automatic tests from
10443 outputs before storing in %auto_tests.
10444 * math/libm-test.inc (acos_test_data): Update call to
10446 (acos_test): Use ALL_RM_TEST.
10447 (acos_tonearest_test_data): Remove.
10448 (acos_test_tonearest): Likewise.
10449 (acos_towardzero_test_data): Likewise.
10450 (acos_test_towardzero): Likewise.
10451 (acos_downward_test_data): Likewise.
10452 (acos_test_downward): Likewise.
10453 (acos_upward_test_data): Likewise.
10454 (acos_test_upward): Likewise.
10455 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10456 (asin_test_data): Likewise.
10457 (asin_test): Use ALL_RM_TEST.
10458 (asin_tonearest_test_data): Remove.
10459 (asin_test_tonearest): Likewise.
10460 (asin_towardzero_test_data): Likewise.
10461 (asin_test_towardzero): Likewise.
10462 (asin_downward_test_data): Likewise.
10463 (asin_test_downward): Likewise.
10464 (asin_upward_test_data): Likewise.
10465 (asin_test_upward): Likewise.
10466 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10467 (atan_test_data): Likewise.
10468 (atanh_test_data): Likewise.
10469 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10470 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10471 (carg_test_data): Likewise.
10472 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10473 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10474 (ccosh_test_data): Likewise.
10475 (cexp_test_data): Likewise.
10476 (clog_test_data): Likewise.
10477 (clog10_test_data): Likewise.
10478 (cos_test_data): Update call to AUTO_TESTS_f_f.
10479 (cos_test): Use ALL_RM_TEST.
10480 (cos_tonearest_test_data): Remove.
10481 (cos_test_tonearest): Likewise.
10482 (cos_towardzero_test_data): Likewise.
10483 (cos_test_towardzero): Likewise.
10484 (cos_downward_test_data): Likewise.
10485 (cos_test_downward): Likewise.
10486 (cos_upward_test_data): Likewise.
10487 (cos_test_upward): Likewise.
10488 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10489 (cosh_test): Use ALL_RM_TEST.
10490 (cosh_tonearest_test_data): Remove.
10491 (cosh_test_tonearest): Likewise.
10492 (cosh_towardzero_test_data): Likewise.
10493 (cosh_test_towardzero): Likewise.
10494 (cosh_downward_test_data): Likewise.
10495 (cosh_test_downward): Likewise.
10496 (cosh_upward_test_data): Likewise.
10497 (cosh_test_upward): Likewise.
10498 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10499 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10500 (ctan_test_data): Likewise.
10501 (ctan_test): Use ALL_RM_TEST.
10502 (ctan_tonearest_test_data): Remove.
10503 (ctan_test_tonearest): Likewise.
10504 (ctan_towardzero_test_data): Likewise.
10505 (ctan_test_towardzero): Likewise.
10506 (ctan_downward_test_data): Likewise.
10507 (ctan_test_downward): Likewise.
10508 (ctan_upward_test_data): Likewise.
10509 (ctan_test_upward): Likewise.
10510 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10511 (ctanh_test): Use ALL_RM_TEST.
10512 (ctanh_tonearest_test_data): Remove.
10513 (ctanh_test_tonearest): Likewise.
10514 (ctanh_towardzero_test_data): Likewise.
10515 (ctanh_test_towardzero): Likewise.
10516 (ctanh_downward_test_data): Likewise.
10517 (ctanh_test_downward): Likewise.
10518 (ctanh_upward_test_data): Likewise.
10519 (ctanh_test_upward): Likewise.
10520 (erf_test_data): Update call to AUTO_TESTS_f_f.
10521 (erfc_test_data): Likewise.
10522 (exp_test_data): Likewise.
10523 (exp_test): Use ALL_RM_TEST.
10524 (exp_tonearest_test_data): Remove.
10525 (exp_test_tonearest): Likewise.
10526 (exp_towardzero_test_data): Likewise.
10527 (exp_test_towardzero): Likewise.
10528 (exp_downward_test_data): Likewise.
10529 (exp_test_downward): Likewise.
10530 (exp_upward_test_data): Likewise.
10531 (exp_test_upward): Likewise.
10532 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10533 (exp10_test): Use ALL_RM_TEST.
10534 (exp10_tonearest_test_data): Remove.
10535 (exp10_test_tonearest): Likewise.
10536 (exp10_towardzero_test_data): Likewise.
10537 (exp10_test_towardzero): Likewise.
10538 (exp10_downward_test_data): Likewise.
10539 (exp10_test_downward): Likewise.
10540 (exp10_upward_test_data): Likewise.
10541 (exp10_test_upward): Likewise.
10542 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10543 (expm1_test_data): Likewise.
10544 (expm1_test): Use ALL_RM_TEST.
10545 (expm1_tonearest_test_data): Remove.
10546 (expm1_test_tonearest): Likewise.
10547 (expm1_towardzero_test_data): Likewise.
10548 (expm1_test_towardzero): Likewise.
10549 (expm1_downward_test_data): Likewise.
10550 (expm1_test_downward): Likewise.
10551 (expm1_upward_test_data): Likewise.
10552 (expm1_test_upward): Likewise.
10553 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10554 (fma_test): Use ALL_RM_TEST.
10555 (fma_towardzero_test_data): Remove.
10556 (fma_test_towardzero): Likewise.
10557 (fma_downward_test_data): Likewise.
10558 (fma_test_downward): Likewise.
10559 (fma_upward_test_data): Likewise.
10560 (fma_test_upward): Likewise.
10561 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10562 (j0_test_data): Update call to AUTO_TESTS_f_f.
10563 (j1_test_data): Likewise.
10564 (jn_test_data): Update call to AUTO_TESTS_if_f.
10565 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10566 (log_test_data): Update call to AUTO_TESTS_f_f.
10567 (log10_test_data): Likewise.
10568 (log1p_test_data): Likewise.
10569 (log2_test_data): Likewise.
10570 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10571 (pow_tonearest_test_data): Likewise.
10572 (sin_test_data): Update call to AUTO_TESTS_f_f.
10573 (sin_test): Use ALL_RM_TEST.
10574 (sin_tonearest_test_data): Remove.
10575 (sin_test_tonearest): Likewise.
10576 (sin_towardzero_test_data): Likewise.
10577 (sin_test_towardzero): Likewise.
10578 (sin_downward_test_data): Likewise.
10579 (sin_test_downward): Likewise.
10580 (sin_upward_test_data): Likewise.
10581 (sin_test_upward): Likewise.
10582 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10583 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10584 (sinh_test): Use ALL_RM_TEST.
10585 (sinh_tonearest_test_data): Remove.
10586 (sinh_test_tonearest): Likewise.
10587 (sinh_towardzero_test_data): Likewise.
10588 (sinh_test_towardzero): Likewise.
10589 (sinh_downward_test_data): Likewise.
10590 (sinh_test_downward): Likewise.
10591 (sinh_upward_test_data): Likewise.
10592 (sinh_test_upward): Likewise.
10593 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10594 (sqrt_test): Use ALL_RM_TEST.
10595 (sqrt_tonearest_test_data): Remove.
10596 (sqrt_test_tonearest): Likewise.
10597 (sqrt_towardzero_test_data): Likewise.
10598 (sqrt_test_towardzero): Likewise.
10599 (sqrt_downward_test_data): Likewise.
10600 (sqrt_test_downward): Likewise.
10601 (sqrt_upward_test_data): Likewise.
10602 (sqrt_test_upward): Likewise.
10603 (tan_test_data): Update call to AUTO_TESTS_f_f.
10604 (tan_test): Use ALL_RM_TEST.
10605 (tan_tonearest_test_data): Remove.
10606 (tan_test_tonearest): Likewise.
10607 (tan_towardzero_test_data): Likewise.
10608 (tan_test_towardzero): Likewise.
10609 (tan_downward_test_data): Likewise.
10610 (tan_test_downward): Likewise.
10611 (tan_upward_test_data): Likewise.
10612 (tan_test_upward): Likewise.
10613 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10614 (tgamma_test_data): Likewise.
10615 (y0_test_data): Likewise.
10616 (y1_test_data): Likewise.
10617 (yn_test_data): Update call to AUTO_TESTS_if_f.
10618 (main): Do not call removed functions.
10620 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10622 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10623 (ldexp_test_data): Remove.
10624 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10626 (scalb_test): Use ALL_RM_TEST.
10628 2014-03-19 Andreas Schwab <schwab@suse.de>
10630 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10632 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10635 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10636 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10637 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10638 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10639 (__ASSUME_PREADV): Undefine.
10640 (__ASSUME_PWRITEV): Likewise.
10642 2014-03-18 Roland McGrath <roland@hack.frob.com>
10644 * bits/mman-linux.h: Add comment about non-Linux use.
10645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10646 bits/mman-linux.h resting place.
10648 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10649 * bits/mman-linux.h: ... here.
10651 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10653 * conform/conformtest.pl: Add standard definition when calling C
10654 preprocessor on data files.
10655 (checknamespace): Remove unused variable.
10657 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10659 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10660 minus_oflow, plus_uflow and minus_uflow in expected results.
10661 * math/libm-test.inc (scalbn_test_data): Add more tests of
10662 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10664 (scalbn_test): Use ALL_RM_TEST.
10665 (scalbln_test_data): Add more tests of negative arguments. Use
10666 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10667 (scalbln_test): Use ALL_RM_TEST.
10669 2014-03-18 Roland McGrath <roland@hack.frob.com>
10671 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10673 2014-03-18 Will Newton <will.newton@linaro.org>
10675 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10676 inaccurate comment.
10678 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10680 * Makerules [!subdir] (check-abi): Exit with error status if a
10683 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10685 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10686 for rint. Include results for all rounding modes.
10687 (nearbyint_test): Use ALL_RM_TEST.
10688 (rint_test_data): Include all tests used for nearbyint.
10690 2014-03-17 Will Newton <will.newton@linaro.org>
10692 * nptl/sysdeps/pthread/pthread.h: Revert previous
10695 * sysdeps/generic/ldsodefs.h: Revert previous
10698 * libio/genops.c: Revert previous change.
10699 * libio/libioP.h: Likewise.
10700 * stdio-common/vfprintf.c: Likewise.
10702 * sysdeps/generic/math_private.h: Revert previous
10705 * sysdeps/generic/math_private.h: Check whether
10706 HAVE_RM_CTX is defined with #ifdef rather
10709 * argp/argp-fmtstream.h: Check whether
10710 __STRICT_ANSI__ is defined with #ifdef rather
10712 * argp/argp.h: Likewise.
10714 * libio/genops.c: Check whether
10715 _IO_JUMPS_OFFSET is defined with #ifdef rather
10717 * libio/libioP.h: Likewise.
10718 * stdio-common/vfprintf.c: Likewise.
10720 * sysdeps/generic/ldsodefs.h: Check whether
10721 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10724 * nptl/sysdeps/pthread/pthread.h: Check
10725 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10728 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10730 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10732 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10736 * libio/fileops.c (_IO_file_open): Seek to end of file but
10737 don't cache the offset.
10738 (get_file_offset): Remove function.
10739 (do_ftell): Use cached offset when available.
10740 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10741 don't cache the offset.
10742 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10744 (do_one_test): Call it.
10745 (do_ftell_test): Fix up expected old offset for a+ mode.
10746 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10749 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10750 up test status with function return status.
10751 (do_write_test): Likewise.
10752 (do_append_test): Likewise.
10754 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10755 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10758 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10760 * math/gen-libm-test.pl (parse_args): Handle results specified for
10761 each rounding mode separately.
10762 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10763 tests and results from lrint_tonearest_test_data,
10764 lrint_towardzero_test_data, lrint_downward_test_data and
10765 lrint_upward_test_data.
10766 (lrint_test): Use ALL_RM_TEST.
10767 (lrint_tonearest_test_data): Remove.
10768 (lrint_test_tonearest): Likewise.
10769 (lrint_towardzero_test_data): Likewise.
10770 (lrint_test_towardzero): Likewise.
10771 (lrint_downward_test_data): Likewise.
10772 (lrint_test_downward): Likewise.
10773 (lrint_upward_test_data): Likewise.
10774 (lrint_test_upward): Likewise.
10775 (llrint_test_data): Merge in per-rounding-mode tests and results
10776 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10777 llrint_downward_test_data and llrint_upward_test_data.
10778 (llrint_test): Use ALL_RM_TEST.
10779 (llrint_tonearest_test_data): Remove.
10780 (llrint_test_tonearest): Likewise.
10781 (llrint_towardzero_test_data): Likewise.
10782 (llrint_test_towardzero): Likewise.
10783 (llrint_downward_test_data): Likewise.
10784 (llrint_test_downward): Likewise.
10785 (llrint_upward_test_data): Likewise.
10786 (llrint_test_upward): Likewise.
10787 (rint_test_data): Merge in per-rounding-mode tests and results
10788 from rint_tonearest_test_data, rint_towardzero_test_data,
10789 rint_downward_test_data and rint_upward_test_data. Add
10790 per-rounding-mode results for tests not in those arrays.
10791 (rint_test): Use ALL_RM_TEST.
10792 (rint_tonearest_test_data): Remove.
10793 (rint_test_tonearest): Likewise.
10794 (rint_towardzero_test_data): Likewise.
10795 (rint_test_towardzero): Likewise.
10796 (rint_downward_test_data): Likewise.
10797 (rint_test_downward): Likewise.
10798 (rint_upward_test_data): Likewise.
10799 (rint_test_upward): Likewise.
10800 (main): Don't call removed functions.
10802 2014-03-14 Roland McGrath <roland@hack.frob.com>
10804 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10805 "Compiled on ..." crapola. It is anti-useful.
10807 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10809 * scripts/evaluate-test.sh: Handle fourth argument to determine
10810 whether test run should stop on failure.
10811 * Makeconfig (stop-on-test-failure): New variable.
10812 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10813 $(stop-on-test-failure).
10814 * Makefile (tests): Give a summary of results from testing and
10815 exit with failure status if they include an ERROR or FAIL.
10816 (xtests): Likewise.
10817 * manual/install.texi (Configuring and compiling): Mention
10818 stop-on-test-failure=y.
10819 * INSTALL: Regenerated.
10821 2014-03-14 Roland McGrath <roland@hack.frob.com>
10823 * scripts/versionlist.awk: New file.
10824 * Makerules [$(build-shared) = yes]
10825 (postclean-generated): Add Versions.def, not Versions.def.v and
10827 ($(common-objpfx)Versions.def.v.i): Target removed.
10828 ($(common-objpfx)Versions.def): New target.
10829 ($(common-objpfx)Versions.all): Depend on that rather that
10830 $(common-objpfx)Versions.def.v.
10831 * Versions.def: File removed.
10833 * Makeconfig (+gccwarn): Add -Wundef.
10834 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10835 a dl-sysdep.h breaking its contract.
10836 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10837 * include/stackinfo.h: New file.
10838 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10839 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10840 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10841 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10842 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10843 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10844 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10845 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10846 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10847 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10848 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10849 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10850 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10851 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10852 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10854 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10857 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10859 * math/libm-test.inc (round_test_data): Add more tests.
10862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10864 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10867 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10869 * math/libm-test.inc (ceil_test_data): Add more tests.
10871 * math/libm-test.inc (trunc_test_data): Add more tests related to
10874 2014-03-14 Roland McGrath <roland@hack.frob.com>
10876 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10877 with #if rather than #ifdef.
10878 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10880 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10882 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10883 first. Disable AVX-512 GCC support if assembler doesn't support
10885 * sysdeps/x86_64/configure: Regenerated.
10887 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10889 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10890 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10891 (__old_pthread_attr_setstack): Likewise.
10892 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10893 [!_STACK_GROWS_DOWN]: Likewise.
10895 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10897 * config.make.in (have-bash2): Delete.
10898 * configure.ac (libc_cv_have_bash2): Delete.
10899 * configure: Regenerate.
10900 * elf/Makefile (common-ldd-rewrite): Rename to ...
10901 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10902 (sh-ldd-rewrite): Delete.
10903 (bash-ldd-rewrite): Delete.
10904 (have-bash2): Delete checks.
10905 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10908 * config.make.in (have-ksh): Delete.
10910 * configure.ac (libc_cv_have_ksh): Delete.
10911 * configure: Regenerate.
10913 * elf/Makefile: Delete $(have-ksh) check.
10914 ($(objpfx)sotruss): Change KSH to BASH.
10915 * elf/sotruss.ksh: Rename to ...
10916 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10917 function style to match POSIX. Drop ksh vim mode setting.
10919 * manual/time.texi (Specifying the Time Zone with TZ): Change
10920 Tuesday to Thursday.
10922 * debug/tst-longjmp_chk2.c: Update header comment.
10923 (stackoverflow_handler): Add comment. Call assert on pass value.
10925 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10928 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10929 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10930 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10931 (La_x86_64_vector): Add zmm.
10932 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10933 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10934 ($(objpfx)tst-audit10): New target.
10935 ($(objpfx)tst-audit10.out): Likewise.
10936 (tst-audit10-ENV): New.
10937 (AVX512-CFLAGS): Likewise.
10938 (CFLAGS-tst-audit10.c): Likewise.
10939 (CFLAGS-tst-auditmod10a.c): Likewise.
10940 (CFLAGS-tst-auditmod10b.c): Likewise.
10941 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10942 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10943 * sysdeps/x86_64/configure: Regenerated.
10944 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10945 AVX-512 zmm register support.
10946 (_dl_x86_64_save_sse): Likewise.
10947 (_dl_x86_64_restore_sse): Likewise.
10948 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10949 size vector registers.
10950 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10951 (ZMM_SIZE): Likewise.
10952 * sysdeps/x86_64/tst-audit10.c: New file.
10953 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10954 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10956 2014-03-13 Roland McGrath <roland@hack.frob.com>
10958 * configure.ac (HAVE_EHDR_START): New check.
10959 * configure: Regenerated.
10960 * config.h.in (HAVE_EHDR_START): New #undef.
10961 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10962 assuming the lowest-addressed segment maps the start of the file.
10964 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10966 * INSTALL: Regenerated.
10968 2014-03-13 Will Newton <will.newton@linaro.org>
10970 * manual/setjmp.texi (System V contexts): Improve
10971 clarity and grammar of documentation.
10973 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10976 * elf/Makefile (tests): Add tst-pie2.
10977 (tests-pie): Add tst-pie2.
10978 * elf/tst-pie2.c: New file.
10979 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10981 * elf/rtld.c (map_doit): Load executable as lt_executable.
10982 (dl_main): Likewise.
10984 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10987 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10988 (__ASSUME_PSELECT): Undefine.
10990 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10994 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10996 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10997 selector for static builds.
10999 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11002 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11005 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11007 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11008 IFUNC selector for static builds.
11010 2014-03-11 Joseph Myers <joseph@codesourcery.com>
11012 * sysdeps/mips/math_private.h [__mips_hard_float]
11013 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11014 libc_feresetround_mips_ctx.
11015 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11016 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11017 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11020 * math/s_nextafter.c (__nextafter): Do not return value from
11021 overflowing computation.
11022 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11023 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11024 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11026 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11028 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11029 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11031 2014-03-11 Roland McGrath <roland@hack.frob.com>
11033 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11034 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11035 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11036 the new mov targetting sp.
11038 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11041 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11042 Define it for static builds as well.
11043 (NO_BZERO_IMPL): Likewise.
11045 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11047 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11048 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11049 multiarch strspn for PPC64.
11050 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11051 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11053 (__libc_ifunc_impl_list): Likewise.
11054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11055 multiarch optimizations
11056 * string/strspn.c (strspn): Using macro to redefine symbol name.
11058 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11059 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11061 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11062 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11063 multiarch strncat for PPC64.
11064 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11065 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11067 (__libc_ifunc_impl_list): Likewise.
11068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11069 multiarch optimizations
11071 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11074 * nscd/nscd.service: Make service type forking.
11076 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11078 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11079 sign in non default rounding modes.
11080 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11082 2014-03-08 Joseph Myers <joseph@codesourcery.com>
11084 * math/libm-test.inc (ALL_RM_TEST): New macro.
11085 (ceil_test): Use ALL_RM_TEST.
11086 (cimag_test): Likewise.
11087 (conj_test): Likewise.
11088 (copysign_test): Likewise.
11089 (cproj_test): Likewise.
11090 (creal_test): Likewise.
11091 (fabs_test): Likewise.
11092 (floor_test): Likewise.
11093 (fmax_test): Likewise.
11094 (fmin_test): Likewise.
11095 (fmod_test): Likewise.
11096 (fpclassify_test): Likewise.
11097 (frexp_test): Likewise.
11098 (ilogb_test): Likewise.
11099 (isfinite_test): Likewise.
11100 (finite_test): Likewise.
11101 (isgreater_test): Likewise.
11102 (isgreaterequal_test): Likewise.
11103 (isinf_test): Likewise.
11104 (isless_test): Likewise.
11105 (islessequal_test): Likewise.
11106 (islessgreater_test): Likewise.
11107 (isnan_test): Likewise.
11108 (isnormal_test): Likewise.
11109 (issignaling_test): Likewise.
11110 (isunordered_test): Likewise.
11111 (logb_test): Likewise.
11112 (logb_downward_test_data): Remove.
11113 (logb_test_downward): Likewise.
11114 (lround_test): Use ALL_RM_TEST.
11115 (llround_test): Likewise.
11116 (modf_test): Likewise.
11117 (nexttoward_test): Likewise.
11118 (remainder_test): Likewise.
11119 (drem_test): Likewise.
11120 (remainder_tonearest_test_data): Likewise.
11121 (remainder_test_tonearest): Likewise.
11122 (drem_test_tonearest): Likewise.
11123 (remainder_towardzero_test_data): Likewise.
11124 (remainder_test_towardzero): Likewise.
11125 (drem_test_towardzero): Likewise.
11126 (remainder_downward_test_data): Likewise.
11127 (remainder_test_downward): Likewise.
11128 (drem_test_downward): Likewise.
11129 (remainder_upward_test_data): Likewise.
11130 (remainder_test_upward): Likewise.
11131 (drem_test_upward): Likewise.
11132 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11133 (round_test): Use ALL_RM_TEST.
11134 (signbit_test): Likewise.
11135 (trunc_test): Likewise.
11136 (significand_test): Likewise.
11137 (main): Don't call removed functions.
11139 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11142 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11143 || __USE_XOPEN2K8].
11144 (ILL_ILLOPN): Likewise.
11145 (ILL_ILLADR): Likewise.
11146 (ILL_ILLTRP): Likewise.
11147 (ILL_PRVOPC): Likewise.
11148 (ILL_PRVREG): Likewise.
11149 (ILL_COPROC): Likewise.
11150 (ILL_BADSTK): Likewise.
11151 (FPE_INTDIV): Likewise.
11152 (FPE_INTOVF): Likewise.
11153 (FPE_FLTDIV): Likewise.
11154 (FPE_FLTOVF): Likewise.
11155 (FPE_FLTUND): Likewise.
11156 (FPE_FLTRES): Likewise.
11157 (FPE_FLTINV): Likewise.
11158 (FPE_FLTSUB): Likewise.
11159 (SEGV_MAPERR): Likewise.
11160 (SEGV_ACCERR): Likewise.
11161 (BUS_ADRALN): Likewise.
11162 (BUS_ADRERR): Likewise.
11163 (BUS_OBJERR): Likewise.
11164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11165 (TRAP_TRACE): Likewise.
11166 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11168 (CLD_KILLED): Likewise.
11169 (CLD_DUMPED): Likewise.
11170 (CLD_TRAPPED): Likewise.
11171 (CLD_STOPPED): Likewise.
11172 (CLD_CONTINUED): Likewise.
11173 (POLL_IN): Likewise.
11174 (POLL_OUT): Likewise.
11175 (POLL_MSG): Likewise.
11176 (POLL_ERR): Likewise.
11177 (POLL_PRI): Likewise.
11178 (POLL_HUP): Likewise.
11179 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11181 (ILL_ILLOPN): Likewise.
11182 (ILL_ILLADR): Likewise.
11183 (ILL_ILLTRP): Likewise.
11184 (ILL_PRVOPC): Likewise.
11185 (ILL_PRVREG): Likewise.
11186 (ILL_COPROC): Likewise.
11187 (ILL_BADSTK): Likewise.
11188 (FPE_INTDIV): Likewise.
11189 (FPE_INTOVF): Likewise.
11190 (FPE_FLTDIV): Likewise.
11191 (FPE_FLTOVF): Likewise.
11192 (FPE_FLTUND): Likewise.
11193 (FPE_FLTRES): Likewise.
11194 (FPE_FLTINV): Likewise.
11195 (FPE_FLTSUB): Likewise.
11196 (SEGV_MAPERR): Likewise.
11197 (SEGV_ACCERR): Likewise.
11198 (BUS_ADRALN): Likewise.
11199 (BUS_ADRERR): Likewise.
11200 (BUS_OBJERR): Likewise.
11201 (BUS_MCEERR_AR): Likewise.
11202 (BUS_MCEERR_AO): Likewise.
11203 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11204 (TRAP_TRACE): Likewise.
11205 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11207 (CLD_KILLED): Likewise.
11208 (CLD_DUMPED): Likewise.
11209 (CLD_TRAPPED): Likewise.
11210 (CLD_STOPPED): Likewise.
11211 (CLD_CONTINUED): Likewise.
11212 (POLL_IN): Likewise.
11213 (POLL_OUT): Likewise.
11214 (POLL_MSG): Likewise.
11215 (POLL_ERR): Likewise.
11216 (POLL_PRI): Likewise.
11217 (POLL_HUP): Likewise.
11218 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11219 (ILL_ILLOPN): Likewise.
11220 (ILL_ILLADR): Likewise.
11221 (ILL_ILLTRP): Likewise.
11222 (ILL_PRVOPC): Likewise.
11223 (ILL_PRVREG): Likewise.
11224 (ILL_COPROC): Likewise.
11225 (ILL_BADSTK): Likewise.
11226 (FPE_INTDIV): Likewise.
11227 (FPE_INTOVF): Likewise.
11228 (FPE_FLTDIV): Likewise.
11229 (FPE_FLTOVF): Likewise.
11230 (FPE_FLTUND): Likewise.
11231 (FPE_FLTRES): Likewise.
11232 (FPE_FLTINV): Likewise.
11233 (FPE_FLTSUB): Likewise.
11234 (SEGV_MAPERR): Likewise.
11235 (SEGV_ACCERR): Likewise.
11236 (BUS_ADRALN): Likewise.
11237 (BUS_ADRERR): Likewise.
11238 (BUS_OBJERR): Likewise.
11239 (BUS_MCEERR_AR): Likewise.
11240 (BUS_MCEERR_AO): Likewise.
11241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11242 (TRAP_TRACE): Likewise.
11243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11245 (CLD_KILLED): Likewise.
11246 (CLD_DUMPED): Likewise.
11247 (CLD_TRAPPED): Likewise.
11248 (CLD_STOPPED): Likewise.
11249 (CLD_CONTINUED): Likewise.
11250 (POLL_IN): Likewise.
11251 (POLL_OUT): Likewise.
11252 (POLL_MSG): Likewise.
11253 (POLL_ERR): Likewise.
11254 (POLL_PRI): Likewise.
11255 (POLL_HUP): Likewise.
11256 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11258 (ILL_ILLOPN): Likewise.
11259 (ILL_ILLADR): Likewise.
11260 (ILL_ILLTRP): Likewise.
11261 (ILL_PRVOPC): Likewise.
11262 (ILL_PRVREG): Likewise.
11263 (ILL_COPROC): Likewise.
11264 (ILL_BADSTK): Likewise.
11265 (ILL_BADIADDR): Likewise.
11266 (ILL_BREAK): Likewise.
11267 (FPE_INTDIV): Likewise.
11268 (FPE_INTOVF): Likewise.
11269 (FPE_FLTDIV): Likewise.
11270 (FPE_FLTOVF): Likewise.
11271 (FPE_FLTUND): Likewise.
11272 (FPE_FLTRES): Likewise.
11273 (FPE_FLTINV): Likewise.
11274 (FPE_FLTSUB): Likewise.
11275 (FPE_DECOVF): Likewise.
11276 (FPE_DECDIV): Likewise.
11277 (FPE_DECERR): Likewise.
11278 (FPE_INVASC): Likewise.
11279 (FPE_INVDEC): Likewise.
11280 (SEGV_MAPERR): Likewise.
11281 (SEGV_ACCERR): Likewise.
11282 (SEGV_PSTKOVF): Likewise.
11283 (BUS_ADRALN): Likewise.
11284 (BUS_ADRERR): Likewise.
11285 (BUS_OBJERR): Likewise.
11286 (BUS_MCEERR_AR): Likewise.
11287 (BUS_MCEERR_AO): Likewise.
11288 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11289 (TRAP_TRACE): Likewise.
11290 (TRAP_BRANCH): Likewise.
11291 (TRAP_HWBKPT): Likewise.
11292 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11294 (CLD_KILLED): Likewise.
11295 (CLD_DUMPED): Likewise.
11296 (CLD_TRAPPED): Likewise.
11297 (CLD_STOPPED): Likewise.
11298 (CLD_CONTINUED): Likewise.
11299 (POLL_IN): Likewise.
11300 (POLL_OUT): Likewise.
11301 (POLL_MSG): Likewise.
11302 (POLL_ERR): Likewise.
11303 (POLL_PRI): Likewise.
11304 (POLL_HUP): Likewise.
11305 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11306 (ILL_ILLOPN): Likewise.
11307 (ILL_ILLADR): Likewise.
11308 (ILL_ILLTRP): Likewise.
11309 (ILL_PRVOPC): Likewise.
11310 (ILL_PRVREG): Likewise.
11311 (ILL_COPROC): Likewise.
11312 (ILL_BADSTK): Likewise.
11313 (FPE_INTDIV): Likewise.
11314 (FPE_INTOVF): Likewise.
11315 (FPE_FLTDIV): Likewise.
11316 (FPE_FLTOVF): Likewise.
11317 (FPE_FLTUND): Likewise.
11318 (FPE_FLTRES): Likewise.
11319 (FPE_FLTINV): Likewise.
11320 (FPE_FLTSUB): Likewise.
11321 (SEGV_MAPERR): Likewise.
11322 (SEGV_ACCERR): Likewise.
11323 (BUS_ADRALN): Likewise.
11324 (BUS_ADRERR): Likewise.
11325 (BUS_OBJERR): Likewise.
11326 (BUS_MCEERR_AR): Likewise.
11327 (BUS_MCEERR_AO): Likewise.
11328 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11329 (TRAP_TRACE): Likewise.
11330 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11332 (CLD_KILLED): Likewise.
11333 (CLD_DUMPED): Likewise.
11334 (CLD_TRAPPED): Likewise.
11335 (CLD_STOPPED): Likewise.
11336 (CLD_CONTINUED): Likewise.
11337 (POLL_IN): Likewise.
11338 (POLL_OUT): Likewise.
11339 (POLL_MSG): Likewise.
11340 (POLL_ERR): Likewise.
11341 (POLL_PRI): Likewise.
11342 (POLL_HUP): Likewise.
11343 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11344 (ILL_ILLOPN): Likewise.
11345 (ILL_ILLADR): Likewise.
11346 (ILL_ILLTRP): Likewise.
11347 (ILL_PRVOPC): Likewise.
11348 (ILL_PRVREG): Likewise.
11349 (ILL_COPROC): Likewise.
11350 (ILL_BADSTK): Likewise.
11351 (FPE_INTDIV): Likewise.
11352 (FPE_INTOVF): Likewise.
11353 (FPE_FLTDIV): Likewise.
11354 (FPE_FLTOVF): Likewise.
11355 (FPE_FLTUND): Likewise.
11356 (FPE_FLTRES): Likewise.
11357 (FPE_FLTINV): Likewise.
11358 (FPE_FLTSUB): Likewise.
11359 (SEGV_MAPERR): Likewise.
11360 (SEGV_ACCERR): Likewise.
11361 (BUS_ADRALN): Likewise.
11362 (BUS_ADRERR): Likewise.
11363 (BUS_OBJERR): Likewise.
11364 (BUS_MCEERR_AR): Likewise.
11365 (BUS_MCEERR_AO): Likewise.
11366 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11367 (TRAP_TRACE): Likewise.
11368 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11370 (CLD_KILLED): Likewise.
11371 (CLD_DUMPED): Likewise.
11372 (CLD_TRAPPED): Likewise.
11373 (CLD_STOPPED): Likewise.
11374 (CLD_CONTINUED): Likewise.
11375 (POLL_IN): Likewise.
11376 (POLL_OUT): Likewise.
11377 (POLL_MSG): Likewise.
11378 (POLL_ERR): Likewise.
11379 (POLL_PRI): Likewise.
11380 (POLL_HUP): Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11382 (ILL_ILLOPN): Likewise.
11383 (ILL_ILLADR): Likewise.
11384 (ILL_ILLTRP): Likewise.
11385 (ILL_PRVOPC): Likewise.
11386 (ILL_PRVREG): Likewise.
11387 (ILL_COPROC): Likewise.
11388 (ILL_BADSTK): Likewise.
11389 (FPE_INTDIV): Likewise.
11390 (FPE_INTOVF): Likewise.
11391 (FPE_FLTDIV): Likewise.
11392 (FPE_FLTOVF): Likewise.
11393 (FPE_FLTUND): Likewise.
11394 (FPE_FLTRES): Likewise.
11395 (FPE_FLTINV): Likewise.
11396 (FPE_FLTSUB): Likewise.
11397 (SEGV_MAPERR): Likewise.
11398 (SEGV_ACCERR): Likewise.
11399 (BUS_ADRALN): Likewise.
11400 (BUS_ADRERR): Likewise.
11401 (BUS_OBJERR): Likewise.
11402 (BUS_MCEERR_AR): Likewise.
11403 (BUS_MCEERR_AO): Likewise.
11404 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11405 (TRAP_TRACE): Likewise.
11406 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11408 (CLD_KILLED): Likewise.
11409 (CLD_DUMPED): Likewise.
11410 (CLD_TRAPPED): Likewise.
11411 (CLD_STOPPED): Likewise.
11412 (CLD_CONTINUED): Likewise.
11413 (POLL_IN): Likewise.
11414 (POLL_OUT): Likewise.
11415 (POLL_MSG): Likewise.
11416 (POLL_ERR): Likewise.
11417 (POLL_PRI): Likewise.
11418 (POLL_HUP): Likewise.
11419 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11420 (ILL_ILLOPN): Likewise.
11421 (ILL_ILLADR): Likewise.
11422 (ILL_ILLTRP): Likewise.
11423 (ILL_PRVOPC): Likewise.
11424 (ILL_PRVREG): Likewise.
11425 (ILL_COPROC): Likewise.
11426 (ILL_BADSTK): Likewise.
11427 (ILL_DBLFLT): Likewise.
11428 (ILL_HARDWALL): Likewise.
11429 (FPE_INTDIV): Likewise.
11430 (FPE_INTOVF): Likewise.
11431 (FPE_FLTDIV): Likewise.
11432 (FPE_FLTOVF): Likewise.
11433 (FPE_FLTUND): Likewise.
11434 (FPE_FLTRES): Likewise.
11435 (FPE_FLTINV): Likewise.
11436 (FPE_FLTSUB): Likewise.
11437 (SEGV_MAPERR): Likewise.
11438 (SEGV_ACCERR): Likewise.
11439 (BUS_ADRALN): Likewise.
11440 (BUS_ADRERR): Likewise.
11441 (BUS_OBJERR): Likewise.
11442 (BUS_MCEERR_AR): Likewise.
11443 (BUS_MCEERR_AO): Likewise.
11444 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11445 (TRAP_TRACE): Likewise.
11446 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11448 (CLD_KILLED): Likewise.
11449 (CLD_DUMPED): Likewise.
11450 (CLD_TRAPPED): Likewise.
11451 (CLD_STOPPED): Likewise.
11452 (CLD_CONTINUED): Likewise.
11453 (POLL_IN): Likewise.
11454 (POLL_OUT): Likewise.
11455 (POLL_MSG): Likewise.
11456 (POLL_ERR): Likewise.
11457 (POLL_PRI): Likewise.
11458 (POLL_HUP): Likewise.
11459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11460 (ILL_ILLOPN): Likewise.
11461 (ILL_ILLADR): Likewise.
11462 (ILL_ILLTRP): Likewise.
11463 (ILL_PRVOPC): Likewise.
11464 (ILL_PRVREG): Likewise.
11465 (ILL_COPROC): Likewise.
11466 (ILL_BADSTK): Likewise.
11467 (FPE_INTDIV): Likewise.
11468 (FPE_INTOVF): Likewise.
11469 (FPE_FLTDIV): Likewise.
11470 (FPE_FLTOVF): Likewise.
11471 (FPE_FLTUND): Likewise.
11472 (FPE_FLTRES): Likewise.
11473 (FPE_FLTINV): Likewise.
11474 (FPE_FLTSUB): Likewise.
11475 (SEGV_MAPERR): Likewise.
11476 (SEGV_ACCERR): Likewise.
11477 (BUS_ADRALN): Likewise.
11478 (BUS_ADRERR): Likewise.
11479 (BUS_OBJERR): Likewise.
11480 (BUS_MCEERR_AR): Likewise.
11481 (BUS_MCEERR_AO): Likewise.
11482 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11483 (TRAP_TRACE): Likewise.
11484 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11486 (CLD_KILLED): Likewise.
11487 (CLD_DUMPED): Likewise.
11488 (CLD_TRAPPED): Likewise.
11489 (CLD_STOPPED): Likewise.
11490 (CLD_CONTINUED): Likewise.
11491 (POLL_IN): Likewise.
11492 (POLL_OUT): Likewise.
11493 (POLL_MSG): Likewise.
11494 (POLL_ERR): Likewise.
11495 (POLL_PRI): Likewise.
11496 (POLL_HUP): Likewise.
11497 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11498 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11501 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11502 before #include of <time.h>.
11503 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11504 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11505 (test-xfail-UNIX98/sched.h/conform): Likewise.
11507 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11509 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11510 error absence of trapping exception support.
11511 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11513 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11515 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11516 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11517 * timezone/Makefile (testdata): Move definition above include of
11519 (test-zones): New variable.
11520 (tests-special): Add zone files.
11521 (build-testdata): Use $(evaluate-test).
11523 * elf/Makefile (tests-special): Rename tests to end with .out.
11524 ($(objpfx)noload-mem): Likewise.
11525 ($(objpfx)tst-leaks1-mem): Likewise.
11526 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11527 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11528 $(objpfx)test-iconvconfig.out.
11529 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11530 set -e inside subshell and redirect output to file.
11531 * iconvdata/Makefile (generated): Rename tests to end with .out.
11533 (tests-special): Rename tests to end with .out.
11534 ($(objpfx)mtrace-tst-loading): Likewise.
11535 * intl/Makefile (generated): Likewise.
11536 (tests-special): Likewise.
11537 ($(objpfx)mtrace-tst-gettext): Likewise.
11538 * misc/Makefile (generated): Likewise.
11539 (tests-special): Likewise.
11540 ($(objpfx)tst-error1-mem): Likewise.
11541 * nptl/Makefile (tests-special): Likewise.
11542 ($(objpfx)tst-stack3-mem): Likewise.
11543 (generated): Likewise.
11544 * posix/Makefile (generated): Likewise.
11545 (tests-special): Likewise.
11546 (xtests-special): Likewise.
11547 ($(objpfx)tst-fnmatch-mem): Likewise.
11548 ($(objpfx)bug-regex2-mem): Likewise.
11549 ($(objpfx)bug-regex14-mem): Likewise.
11550 ($(objpfx)bug-regex21-mem): Likewise.
11551 ($(objpfx)bug-regex31-mem): Likewise.
11552 ($(objpfx)tst-vfork3-mem): Likewise.
11553 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11554 ($(objpfx)tst-pcre-mem): Likewise.
11555 ($(objpfx)tst-boost-mem): Likewise.
11556 ($(objpfx)bug-ga2-mem): Likewise.
11557 ($(objpfx)bug-glob2-mem): Likewise.
11558 * resolv/Makefile (generate): Likewise.
11559 (tests-special): Likewise.
11560 (xtests-special): Likewise.
11561 (generated): Likewise.
11562 ($(objpfx)mtrace-tst-leaks): Likewise.
11563 ($(objpfx)mtrace-tst-leaks2): Likewise.
11565 * scripts/merge-test-results.sh: New file.
11566 * Makefile (tests-special-notdir): New variable.
11567 (tests): Run merge-test-results.sh.
11568 (xtests): Likewise.
11569 * Rules (tests-special-notdir): New variable.
11570 (xtests-special-notdir): Likewise.
11571 (tests): Run merge-test-results.sh
11572 (xtests): Likewise.
11574 * Makeconfig (test-xfail-name): New variable.
11575 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11576 compute variable name for expected failures.
11577 * conform/Makefile (conformtest-headers-data): New variable.
11578 (conformtest-standards): Likewise.
11579 (conformtest-headers-ISO): Likewise.
11580 (conformtest-headers-ISO99): Likewise.
11581 (conformtest-headers-ISO11): Likewise.
11582 (conformtest-headers-POSIX): Likewise.
11583 (conformtest-headers-XPG3): Likewise.
11584 (conformtest-headers-XPG4): Likewise.
11585 (conformtest-headers-UNIX98): Likewise.
11586 (conformtest-headers-XOPEN2K): Likewise.
11587 (conformtest-headers-POSIX2008): Likewise.
11588 (conformtest-headers-XOPEN2K8): Likewise.
11589 (conformtest-header-list-base): Likewise.
11590 (conformtest-header-list-tests): Likewise.
11591 (conformtest-header-base): Likewise.
11592 (conformtest-header-tests): Likewise.
11593 (tests-special): Add $(conformtest-header-list-tests). If
11594 [$(fast-check) && !$(cross-compiling)], add
11595 $(conformtest-header-tests) instead of
11596 $(objpfx)run-conformtest.out.
11597 (generated): Add $(conformtest-header-list-base). If
11598 [$(fast-check) && !$(cross-compiling)], add
11599 $(conformtest-header-base). Remove previous setting.
11600 ($(conformtest-header-list-tests)): New target.
11601 (test-xfail-run-conformtest): Remove variable.
11602 ($(objpfx)run-conformtest.out): Remove target.
11603 (test-xfail-ISO11/complex.h/conform): New variable.
11604 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11605 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11606 (test-xfail-XPG3/varargs.h/conform): Likewise.
11607 (test-xfail-XPG4/varargs.h/conform): Likewise.
11608 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11609 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11610 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11611 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11612 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11613 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11614 (test-xfail-XPG3/ftw.h/conform): Likewise.
11615 (test-xfail-XPG3/grp.h/conform): Likewise.
11616 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11617 (test-xfail-XPG3/limits.h/conform): Likewise.
11618 (test-xfail-XPG3/pwd.h/conform): Likewise.
11619 (test-xfail-XPG3/search.h/conform): Likewise.
11620 (test-xfail-XPG3/signal.h/conform): Likewise.
11621 (test-xfail-XPG3/stdio.h/conform): Likewise.
11622 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11623 (test-xfail-XPG3/string.h/conform): Likewise.
11624 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11625 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11626 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11627 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11628 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11629 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11630 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11631 (test-xfail-XPG3/termios.h/conform): Likewise.
11632 (test-xfail-XPG3/time.h/conform): Likewise.
11633 (test-xfail-XPG3/unistd.h/conform): Likewise.
11634 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11635 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11636 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11637 (test-xfail-XPG4/netdb.h/conform): Likewise.
11638 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11639 (test-xfail-XPG4/signal.h/conform): Likewise.
11640 (test-xfail-XPG4/stdio.h/conform): Likewise.
11641 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11642 (test-xfail-XPG4/stropts.h/conform): Likewise.
11643 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11644 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11645 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11646 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11647 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11648 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11649 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11650 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11651 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11652 (test-xfail-XPG4/termios.h/conform): Likewise.
11653 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11654 (test-xfail-XPG4/unistd.h/conform): Likewise.
11655 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11656 (test-xfail-POSIX/sched.h/conform): Likewise.
11657 (test-xfail-POSIX/signal.h/conform): Likewise.
11658 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11659 (test-xfail-POSIX/tar.h/conform): Likewise.
11660 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11661 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11662 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11663 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11664 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11665 (test-xfail-UNIX98/sched.h/conform): Likewise.
11666 (test-xfail-UNIX98/signal.h/conform): Likewise.
11667 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11668 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11669 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11670 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11671 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11672 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11673 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11674 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11675 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11676 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11677 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11678 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11679 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11680 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11681 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11682 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11683 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11684 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11685 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11686 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11687 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11688 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11689 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11690 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11691 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11692 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11693 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11694 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11695 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11696 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11697 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11698 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11699 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11700 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11701 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11702 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11703 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11704 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11705 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11706 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11707 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11708 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11709 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11710 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11711 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11712 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11713 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11714 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11715 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11716 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11717 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11718 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11719 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11720 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11721 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11722 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11723 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11724 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11725 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11726 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11727 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11728 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11729 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11730 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11731 (conformtest-cc-flags): Likewise.
11732 ($(conformtest-header-tests): New target.
11733 * conform/check-header-lists.sh: New file.
11734 * conform/run-conformtest.sh: Remove.
11736 * conform/conformtest.pl: Allow ' and \ in values given for
11738 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11740 [POSIX] (sys/types.h): Likewise.
11741 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11743 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11745 * conform/data/signal.h-data (SIGIO): Remove expectation.
11746 [XPG3] (SIGBUS): Do not expect.
11747 [POSIX || XPG3] (SIGPOLL): Likewise.
11748 [POSIX || XPG3] (SIGPROF): Likewise.
11749 [POSIX || XPG3] (SIGSYS): Likewise.
11750 [XPG3] (SIGTRAP): Likewise.
11751 [POSIX || XPG3] (SIGURG): Likewise.
11752 [POSIX || XPG3] (SIGVTALRM): Likewise.
11753 [POSIX || XPG3] (SIGXCPU): Likewise.
11754 [POSIX || XPG3] (SIGXFSZ): Likewise.
11755 [POSIX] (SA_SIGINFO): Expect.
11756 [XPG3] (siginfo_t): Do not expect type or contents.
11757 [POSIX] (si_pid): Do not expect element.
11758 [POSIX] (si_uid): Likewise.
11759 [POSIX] (si_addr): Likewise.
11760 [POSIX] (si_status): Likewise.
11761 [POSIX] (si_band): Likewise.
11762 [XPG4] (si_value): Likewise.
11763 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11764 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11765 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11766 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11767 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11768 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11769 [POSIX || XPG3] (ILL_COPROC): Likewise.
11770 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11771 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11772 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11773 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11774 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11775 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11776 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11777 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11778 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11779 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11780 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11781 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11782 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11783 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11784 [POSIX || XPG3] (CLD_EXITED): Likewise.
11785 [POSIX || XPG3] (CLD_KILLED): Likewise.
11786 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11787 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11788 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11789 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11790 [POSIX || XPG3] (POLL_IN): Likewise.
11791 [POSIX || XPG3] (POLL_OUT): Likewise.
11792 [POSIX || XPG3] (POLL_MSG): Likewise.
11793 [POSIX || XPG3] (POLL_ERR): Likewise.
11794 [POSIX || XPG3] (POLL_PRI): Likewise.
11795 [POSIX || XPG3] (POLL_HUP): Likewise.
11796 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11797 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11798 (SIG*): Do not allow.
11799 [XPG3] (si_*): Likewise.
11800 [XPG3] (SI_*): Likewise.
11801 [XPG3 || XPG4] (sigev_*): Likewise.
11802 [XPG3 || XPG4] (SIGEV_*): Likewise.
11803 [XPG3 || XPG4] (sival_*): Likewise.
11804 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11805 [POSIX || XPG3] (BUS_*): Likewise.
11806 [POSIX || XPG3] (CLD_*): Likewise.
11807 [POSIX || XPG3] (FPE_*): Likewise.
11808 [POSIX || XPG3] (ILL_*): Likewise.
11809 [POSIX || XPG3] (POLL_*): Likewise.
11810 [POSIX || XPG3] (SEGV_*): Likewise.
11811 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11812 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11813 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11814 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11815 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11816 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11817 Specify type and value.
11818 (TVERSLEN): Likewise.
11819 (REGTYPE): Likewise.
11820 (AREGTYPE): Likewise.
11821 (LNKTYPE): Likewise.
11822 (SYMTYPE): Likewise.
11823 (CHRTYPE): Likewise.
11824 (BLKTYPE): Likewise.
11825 (DIRTYPE): Likewise.
11826 (FIFOTYPE): Likewise.
11827 (CONTTYPE): Likewise.
11831 (TUREAD): Likewise.
11832 (TUWRITE): Likewise.
11833 (TUEXEC): Likewise.
11834 (TGREAD): Likewise.
11835 (TGWRITE): Likewise.
11836 (TGEXEC): Likewise.
11837 (TOREAD): Likewise.
11838 (TOWRITE): Likewise.
11839 (TOEXEC): Likewise.
11840 [POSIX] (TSVTX): Expect constant.
11842 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11844 * Makefile (tests): Change dependencies to ....
11845 (tests-special): ... additions to this variable.
11846 (tests): Depend on $(tests-special).
11847 * Makerules (check-abi-list): New variable.
11848 (check-abi): Depend on $(check-abi-list).
11849 [$(subdir) = elf] (tests-special): Add
11850 $(objpfx)check-abi-libc.out.
11851 [$(build-shared) = yes && subdir] (tests-special): Add
11853 [$(build-shared) = yes && subdir] (tests): Do not depend on
11855 * Rules (tests): Depend on $(tests-special).
11856 (xtests): Depend on $(xtests-special).
11857 * catgets/Makefile (tests): Change dependencies to ....
11858 (tests-special): ... additions to this variable.
11859 * conform/Makefile (tests): Change dependencies to ....
11860 (tests-special): ... additions to this variable.
11861 * elf/Makefile (tests): Change dependencies to ....
11862 (tests-special): ... additions to this variable.
11863 * grp/Makefile (tests): Change dependencies to ....
11864 (tests-special): ... additions to this variable.
11865 * iconv/Makefile (xtests): Change dependencies to ....
11866 (xtests-special): ... additions to this variable.
11867 * iconvdata/Makefile (tests): Change dependencies to ....
11868 (tests-special): ... additions to this variable.
11869 * intl/Makefile (tests): Change dependencies to ....
11870 (tests-special): ... additions to this variable. Also add
11871 $(objpfx)tst-gettext.out.
11872 * io/Makefile (tests): Change dependencies to ....
11873 (tests-special): ... additions to this variable.
11874 * libio/Makefile (tests): Change dependencies to ....
11875 (tests-special): ... additions to this variable.
11876 * malloc/Makefile (tests): Change dependencies to ....
11877 (tests-special): ... additions to this variable.
11878 * misc/Makefile (tests): Change dependencies to ....
11879 (tests-special): ... additions to this variable.
11880 * nptl/Makefile (tests): Change dependencies to ....
11881 (tests-special): ... additions to this variable.
11882 * nptl_db/Makefile (tests): Change dependencies to ....
11883 (tests-special): ... additions to this variable.
11884 * posix/Makefile (tests): Change dependencies to ....
11885 (tests-special): ... additions to this variable.
11886 (xtests): Change dependencies to ....
11887 (xtests-special): ... additions to this variable.
11888 * resolv/Makefile (tests): Change dependencies to ....
11889 (tests-special): ... additions to this variable.
11890 (xtests): Change dependencies to ....
11891 (xtests-special): ... additions to this variable.
11892 * stdio-common/Makefile (tests): Change dependencies to ....
11893 (tests-special): ... additions to this variable.
11894 (do-tst-unbputc): Remove target.
11895 (do-tst-printf): Likewise.
11896 * stdlib/Makefile (tests): Change dependencies to ....
11897 (tests-special): ... additions to this variable.
11898 * string/Makefile (tests): Change dependencies to ....
11899 (tests-special): ... additions to this variable.
11900 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11901 (tests-special): ... additions to this variable.
11903 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11905 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11907 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11908 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11910 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11911 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11912 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11913 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11914 * conform/data/libgen.h-data [XPG3]: Likewise.
11915 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11916 * conform/data/ndbm.h-data [XPG3]: Likewise.
11917 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11918 * conform/data/netdb.h-data [XPG3]: Likewise.
11919 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11920 * conform/data/poll.h-data [XPG3]: Likewise.
11921 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11922 * conform/data/strings.h-data [XPG3]: Likewise.
11923 * conform/data/stropts.h-data [XPG3]: Likewise.
11924 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11925 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11926 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11928 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11929 * conform/data/sys/time.h-data [XPG3]: Likewise.
11930 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11931 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11932 * conform/data/sys/un.h-data [XPG3]: Likewise.
11933 * conform/data/syslog.h-data [XPG3]: Likewise.
11934 * conform/data/ucontext.h-data [XPG3]: Likewise.
11935 * conform/data/utmpx.h-data [XPG3]: Likewise.
11936 * conform/data/varargs.h-data [UNIX98]: Enable file.
11938 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11940 * math/libm-test.inc (struct test_f_f_data): Move expected results
11941 into structure for each rounding mode.
11942 (struct test_ff_f_data): Likewise.
11943 (struct test_ff_f_data_nexttoward): Likewise.
11944 (struct test_fi_f_data): Likewise.
11945 (struct test_fl_f_data): Likewise.
11946 (struct test_if_f_data): Likewise.
11947 (struct test_fff_f_data): Likewise.
11948 (struct test_c_f_data): Likewise.
11949 (struct test_f_f1_data): Likewise.
11950 (struct test_fF_f1_data): Likewise.
11951 (struct test_ffI_f1_data): Likewise.
11952 (struct test_c_c_data): Likewise.
11953 (struct test_cc_c_data): Likewise.
11954 (struct test_f_i_data): Likewise.
11955 (struct test_ff_i_data): Likewise.
11956 (struct test_f_l_data): Likewise.
11957 (struct test_f_L_data): Likewise.
11958 (struct test_fFF_11_data): Likewise.
11960 (RM_FE_DOWNWARD): Likewise.
11961 (RM_FE_TONEAREST): Likewise.
11962 (RM_FE_TOWARDZERO): Likewise.
11963 (RM_FE_UPWARD): Likewise.
11964 (RUN_TEST_LOOP_f_f): Update references to expected results.
11965 (RUN_TEST_LOOP_2_f): Likewise.
11966 (RUN_TEST_LOOP_fff_f): Likewise.
11967 (RUN_TEST_LOOP_c_f): Likewise.
11968 (RUN_TEST_LOOP_f_f1): Likewise.
11969 (RUN_TEST_LOOP_fF_f1): Likewise.
11970 (RUN_TEST_LOOP_fI_f1): Likewise.
11971 (RUN_TEST_LOOP_ffI_f1): Likewise.
11972 (RUN_TEST_LOOP_c_c): Likewise.
11973 (RUN_TEST_LOOP_cc_c): Likewise.
11974 (RUN_TEST_LOOP_f_i): Likewise.
11975 (RUN_TEST_LOOP_f_i_tg): Likewise.
11976 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11977 (RUN_TEST_LOOP_f_b): Likewise.
11978 (RUN_TEST_LOOP_f_b_tg): Likewise.
11979 (RUN_TEST_LOOP_f_l): Likewise.
11980 (RUN_TEST_LOOP_f_L): Likewise.
11981 (RUN_TEST_LOOP_fFF_11): Likewise.
11982 * math/gen-libm-test.pl (parse_args): Output four copies of
11983 expected results for each test.
11985 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11986 (__ASSUME_UTIMES): Remove.
11987 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11988 (__ASSUME_UTIMES): Likewise.
11990 * math/gen-auto-libm-tests.c: Update comment on output format.
11991 (output_for_one_input_case): Generate before-rounding and
11992 after-rounding information as conditions on output flags not
11993 floating-point format.
11994 * math/auto-libm-test-out: Regenerated.
11995 * math/gen-libm-test.pl (cond_value): New function.
11996 (or_cond_value): Use cond_value.
11997 (generate_testfile): Handle conditional exceptions.
11999 2014-03-05 Joseph Myers <joseph@codesourcery.com>
12001 * math/libm-test.inc (max_valid_error): New variable.
12002 (init_max_error): Take new argument specifying whether function
12003 results are exactly determined. Set max_valid_error and bound
12004 other variables for errors based on this argument.
12005 (set_max_error): Do not record results above max_valid_error.
12006 (check_float_internal): Only accept errors of up to 0.5ulps if
12007 also at most max_valid_error.
12008 (START): Take new argument EXACT and pass it to init_max_error.
12009 (acos_test): Update call to START.
12010 (acos_test_tonearest): Likewise.
12011 (acos_test_towardzero): Likewise.
12012 (acos_test_downward): Likewise.
12013 (acos_test_upward): Likewise.
12014 (acosh_test): Likewise.
12015 (asin_test): Likewise.
12016 (asin_test_tonearest): Likewise.
12017 (asin_test_towardzero): Likewise.
12018 (asin_test_downward): Likewise.
12019 (asin_test_upward): Likewise.
12020 (asinh_test): Likewise.
12021 (atan_test): Likewise.
12022 (atanh_test): Likewise.
12023 (atan2_test): Likewise.
12024 (cabs_test): Likewise.
12025 (cacos_test): Likewise.
12026 (cacosh_test): Likewise.
12027 (carg_test): Likewise.
12028 (casin_test): Likewise.
12029 (casinh_test): Likewise.
12030 (catan_test): Likewise.
12031 (catanh_test): Likewise.
12032 (cbrt_test): Likewise.
12033 (ccos_test): Likewise.
12034 (ccosh_test): Likewise.
12035 (ceil_test): Likewise.
12036 (cexp_test): Likewise.
12037 (cimag_test): Likewise.
12038 (clog_test): Likewise.
12039 (clog10_test): Likewise.
12040 (conj_test): Likewise.
12041 (copysign_test): Likewise.
12042 (cos_test): Likewise.
12043 (cos_test_tonearest): Likewise.
12044 (cos_test_towardzero): Likewise.
12045 (cos_test_downward): Likewise.
12046 (cos_test_upward): Likewise.
12047 (cosh_test): Likewise.
12048 (cosh_test_tonearest): Likewise.
12049 (cosh_test_towardzero): Likewise.
12050 (cosh_test_downward): Likewise.
12051 (cosh_test_upward): Likewise.
12052 (cpow_test): Likewise.
12053 (cproj_test): Likewise.
12054 (creal_test): Likewise.
12055 (csin_test): Likewise.
12056 (csinh_test): Likewise.
12057 (csqrt_test): Likewise.
12058 (ctan_test): Likewise.
12059 (ctan_test_tonearest): Likewise.
12060 (ctan_test_towardzero): Likewise.
12061 (ctan_test_downward): Likewise.
12062 (ctan_test_upward): Likewise.
12063 (ctanh_test): Likewise.
12064 (ctanh_test_tonearest): Likewise.
12065 (ctanh_test_towardzero): Likewise.
12066 (ctanh_test_downward): Likewise.
12067 (ctanh_test_upward): Likewise.
12068 (erf_test): Likewise.
12069 (erfc_test): Likewise.
12070 (exp_test): Likewise.
12071 (exp_test_tonearest): Likewise.
12072 (exp_test_towardzero): Likewise.
12073 (exp_test_downward): Likewise.
12074 (exp_test_upward): Likewise.
12075 (exp10_test): Likewise.
12076 (exp10_test_tonearest): Likewise.
12077 (exp10_test_towardzero): Likewise.
12078 (exp10_test_downward): Likewise.
12079 (exp10_test_upward): Likewise.
12080 (pow10_test): Likewise.
12081 (exp2_test): Likewise.
12082 (expm1_test): Likewise.
12083 (expm1_test_tonearest): Likewise.
12084 (expm1_test_towardzero): Likewise.
12085 (expm1_test_downward): Likewise.
12086 (expm1_test_upward): Likewise.
12087 (fabs_test): Likewise.
12088 (fdim_test): Likewise.
12089 (floor_test): Likewise.
12090 (fma_test): Likewise.
12091 (fma_test_towardzero): Likewise.
12092 (fma_test_downward): Likewise.
12093 (fma_test_upward): Likewise.
12094 (fmax_test): Likewise.
12095 (fmin_test): Likewise.
12096 (fmod_test): Likewise.
12097 (fpclassify_test): Likewise.
12098 (frexp_test): Likewise.
12099 (hypot_test): Likewise.
12100 (ilogb_test): Likewise.
12101 (isfinite_test): Likewise.
12102 (finite_test): Likewise.
12103 (isgreater_test): Likewise.
12104 (isgreaterequal_test): Likewise.
12105 (isinf_test): Likewise.
12106 (isless_test): Likewise.
12107 (islessequal_test): Likewise.
12108 (islessgreater_test): Likewise.
12109 (isnan_test): Likewise.
12110 (isnormal_test): Likewise.
12111 (issignaling_test): Likewise.
12112 (isunordered_test): Likewise.
12113 (j0_test): Likewise.
12114 (j1_test): Likewise.
12115 (jn_test): Likewise.
12116 (ldexp_test): Likewise.
12117 (lgamma_test): Likewise.
12118 (gamma_test): Likewise.
12119 (lrint_test): Likewise.
12120 (lrint_test_tonearest): Likewise.
12121 (lrint_test_towardzero): Likewise.
12122 (lrint_test_downward): Likewise.
12123 (lrint_test_upward): Likewise.
12124 (llrint_test): Likewise.
12125 (llrint_test_tonearest): Likewise.
12126 (llrint_test_towardzero): Likewise.
12127 (llrint_test_downward): Likewise.
12128 (llrint_test_upward): Likewise.
12129 (log_test): Likewise.
12130 (log10_test): Likewise.
12131 (log1p_test): Likewise.
12132 (log2_test): Likewise.
12133 (logb_test): Likewise.
12134 (logb_test_downward): Likewise.
12135 (lround_test): Likewise.
12136 (llround_test): Likewise.
12137 (modf_test): Likewise.
12138 (nearbyint_test): Likewise.
12139 (nextafter_test): Likewise.
12140 (nexttoward_test): Likewise.
12141 (pow_test): Likewise.
12142 (pow_test_tonearest): Likewise.
12143 (pow_test_towardzero): Likewise.
12144 (pow_test_downward): Likewise.
12145 (pow_test_upward): Likewise.
12146 (remainder_test): Likewise.
12147 (drem_test): Likewise.
12148 (remainder_test_tonearest): Likewise.
12149 (drem_test_tonearest): Likewise.
12150 (remainder_test_towardzero): Likewise.
12151 (drem_test_towardzero): Likewise.
12152 (remainder_test_downward): Likewise.
12153 (drem_test_downward): Likewise.
12154 (remainder_test_upward): Likewise.
12155 (drem_test_upward): Likewise.
12156 (remquo_test): Likewise.
12157 (rint_test): Likewise.
12158 (rint_test_tonearest): Likewise.
12159 (rint_test_towardzero): Likewise.
12160 (rint_test_downward): Likewise.
12161 (rint_test_upward): Likewise.
12162 (round_test): Likewise.
12163 (scalb_test): Likewise.
12164 (scalbn_test): Likewise.
12165 (scalbln_test): Likewise.
12166 (signbit_test): Likewise.
12167 (sin_test): Likewise.
12168 (sin_test_tonearest): Likewise.
12169 (sin_test_towardzero): Likewise.
12170 (sin_test_downward): Likewise.
12171 (sin_test_upward): Likewise.
12172 (sincos_test): Likewise.
12173 (sinh_test): Likewise.
12174 (sinh_test_tonearest): Likewise.
12175 (sinh_test_towardzero): Likewise.
12176 (sinh_test_downward): Likewise.
12177 (sinh_test_upward): Likewise.
12178 (sqrt_test): Likewise.
12179 (sqrt_test_tonearest): Likewise.
12180 (sqrt_test_towardzero): Likewise.
12181 (sqrt_test_downward): Likewise.
12182 (sqrt_test_upward): Likewise.
12183 (tan_test): Likewise.
12184 (tan_test_tonearest): Likewise.
12185 (tan_test_towardzero): Likewise.
12186 (tan_test_downward): Likewise.
12187 (tan_test_upward): Likewise.
12188 (tanh_test): Likewise.
12189 (tgamma_test): Likewise.
12190 (trunc_test): Likewise.
12191 (y0_test): Likewise.
12192 (y1_test): Likewise.
12193 (yn_test): Likewise.
12194 (significand_test): Likewise.
12196 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12197 individual tests in comment.
12198 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12199 (prev_max_error): New variable.
12200 (prev_real_max_error): Likewise.
12201 (prev_imag_max_error): Likewise.
12202 (compare_ulp_data): Don't refer to test names in comment.
12203 (find_test_ulps): Remove function.
12204 (find_function_ulps): Likewise.
12205 (find_complex_function_ulps): Likewise.
12206 (init_max_error): Take function name as argument. Look up ulps
12208 (print_ulps): Remove function.
12209 (print_max_error): Use prev_max_error instead of calling
12210 find_function_ulps.
12211 (print_complex_max_error): Use prev_real_max_error and
12212 prev_imag_max_error instead of calling find_complex_function_ulps.
12213 (check_float_internal): Take max_ulp parameter instead of calling
12214 find_test_ulps. Don't call print_ulps.
12215 (check_float): Update call to check_float_internal.
12216 (check_complex): Update calls to check_float_internal.
12217 (START): Pass argument to init_max_error.
12218 * math/gen-libm-test.pl (%results): Don't include "kind"
12220 (parse_ulps): Don't handle ulps of individual tests.
12221 (print_ulps_file): Likewise.
12222 (output_ulps): Likewise.
12223 * math/README.libm-test: Update.
12224 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12226 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12227 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12228 * sysdeps/arm/libm-test-ulps: Likewise.
12229 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12230 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12231 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12232 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12233 * sysdeps/microblaze/libm-test-ulps: Likewise.
12234 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12235 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12237 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12238 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12239 * sysdeps/sh/libm-test-ulps: Likewise.
12240 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12241 * sysdeps/tile/libm-test-ulps: Likewise.
12242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12244 2014-03-04 Joseph Myers <joseph@codesourcery.com>
12246 * math/libm-test.inc (print_complex_max_error): Check separately
12247 whether real and imaginary errors are within allowed range and
12248 pass 0 to print_complex_function_ulps instead of value within
12251 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12253 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12255 (get_handles_fopen): Likewise.
12256 (do_write_test): Likewise.
12258 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12260 * libio/fileops.c (do_ftell): Use cached offset when
12262 * libio/iofwide.c (do_ftell_wide): Likewise.
12263 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12265 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12268 * libio/libioP.h (get_file_offset): New function.
12269 * libio/fileops.c (get_file_offset): Likewise.
12270 (do_ftell): Likewise.
12271 (_IO_new_file_seekoff): Split out ftell logic.
12272 * libio/wfileops.c (do_ftell_wide): Likewise.
12273 (_IO_wfile_seekoff): Split out ftell logic.
12274 * libio/tst-ftell-active-handler.c: New test case.
12275 * libio/Makefile (tests): Add it.
12277 2014-03-03 Roland McGrath <roland@hack.frob.com>
12279 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12280 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12282 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12285 * nscd/connections.c (nscd_init): Call do_exit.
12286 (start_threads): Call do_exit and notify_parent.
12287 (begin_drop_privileges): Call do_exit.
12288 (finish_drop_privileges): Likewise.
12289 * nscd/selinux.c (preserve_capabilities): Likewise.
12290 (install_real_capabilities): Likewise.
12291 (nscd_selinux_enabled): Likewise.
12292 (avc_create_thread): Likewise.
12293 (avc_alloc_lock): Likewise.
12294 (nscd_avc_init): Likewise.
12295 * nscd/nscd.c (parent_fd): New static variable.
12296 (main): Create a pipe between parent and child processes.
12297 Skip closing parent_fd.
12298 (monitor_child): New function.
12299 (do_exit): Likewise.
12300 (notify_parent): Likewise.
12301 * nscd/nscd.h (notify_parent): Likewise.
12302 (do_exit): Likewise.
12304 2014-03-03 Carlos O'Donell <carlos@redhat.com>
12306 * malloc/malloc.c (__libc_calloc): Revert last change.
12308 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12312 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12314 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12318 (__libc_ifunc_impl_list): Likewise.
12319 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12320 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12321 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12322 * string/strrchr.c: Define STRRCHR.
12324 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
12326 * benchtest/bench-strtok.c (simple_strtok): Delete.
12327 (strtok_string): Use as benchmark.
12328 * string/strtok (STRTOK): New macro.
12330 2014-02-28 Carlos O'Donell <carlos@redhat.com>
12332 * manual/threads.texi: Add header and standard comments to all
12335 * elf/dl-lookup.c (check_match): New function.
12336 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12337 (do_lookup_x): Remove nested function check_match. Use non-nested
12338 function check_match.
12340 2014-02-28 Roland McGrath <roland@hack.frob.com>
12342 * csu/Makefile (generated, before-compile): Use += rather than =.
12343 * catgets/Makefile (generated, generated-dirs): Likewise.
12344 * debug/Makefile (generated): Likewise.
12345 * dlfcn/Makefile (generated): Likewise.
12346 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12347 * iconvdata/Makefile (before-compile, generated): Likewise.
12348 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12349 * libio/Makefile (generated): Likewise.
12350 * malloc/Makefile (generated): Likewise.
12351 * manual/Makefile (generated, generated-dirs): Likewise.
12352 * misc/Makefile (generated): Likewise.
12353 * posix/Makefile (generated): Likewise.
12354 * resolv/Makefile (generated): Likewise.
12355 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12356 * timezone/Makefile (generated, generated-dirs): Likewise.
12358 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12360 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12363 power8 implementation.
12364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12365 file: POWER8 llround ifunc implementation.
12366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12367 (__lllround): Add POWER8 implementation.
12368 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12369 POWER8 llround implementation.
12371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12372 power8 implementation.
12373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12374 file: POWER8 llrint ifunc implementation.
12375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12376 Add POWER8 implementation.
12377 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12378 POWER8 llrint implementation.
12380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12381 power8 implementation.
12382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12383 file: POWER8 finite ifunc implementation.
12384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12385 Add POWER8 implementation.
12386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12388 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12389 POWER8 finite implementation.
12390 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12393 power8 implementation.
12394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12395 file: POWER8 isinf ifunc implementation.
12396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12397 POWER8 implementation.
12398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12400 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12401 isinf implementation.
12402 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12404 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12405 (INIT_ARCH): Add hwcap2 initialization.
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12407 power8 implementation.
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12409 file: POWER8 isnan ifunc implementation.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12411 POWER8 implementation.
12412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12414 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12415 isnan implementation.
12416 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12418 2014-02-27 Joey Ye <joey.ye@arm.com>
12420 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12421 (_FP_NANFRAC_Q): Set to zero.
12423 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12426 * math/auto-libm-test-in: New test inputs.
12427 * math/auto-libm-test-out: Regenerate.
12428 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12431 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12433 2014-02-27 Joseph Myers <joseph@codesourcery.com>
12435 * scripts/evaluate-test.sh: Take new argument indicating whether
12436 failure is expected.
12437 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12438 indicating whether failure is expected.
12439 * conform/Makefile (test-xfail-run-conformtest): New variable.
12440 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12442 * posix/Makefile (test-xfail-annexc): New variable.
12443 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12445 2014-02-26 Joseph Myers <joseph@codesourcery.com>
12447 * argp/Makefile: Include Makeconfig immediately after defining
12449 * assert/Makefile: Likewise.
12450 * benchtests/Makefile: Likewise.
12451 * catgets/Makefile: Likewise.
12452 * conform/Makefile: Likewise.
12453 * crypt/Makefile: Likewise.
12454 * csu/Makefile: Likewise.
12455 (all): Remove target.
12456 * ctype/Makefile: Include Makeconfig immediately after defining
12458 * debug/Makefile: Likewise.
12459 * dirent/Makefile: Likewise.
12460 * dlfcn/Makefile: Likewise.
12461 * gmon/Makefile: Likewise.
12462 * gnulib/Makefile: Likewise.
12463 * grp/Makefile: Likewise.
12464 * gshadow/Makefile: Likewise.
12465 * hesiod/Makefile: Likewise.
12466 * hurd/Makefile: Likewise.
12467 (all): Remove target.
12468 * iconvdata/Makefile: Include Makeconfig immediately after
12470 * inet/Makefile: Likewise.
12471 * intl/Makefile: Likewise.
12472 * io/Makefile: Likewise.
12473 * libio/Makefile: Likewise.
12474 (all): Remove target.
12475 * locale/Makefile: Include Makeconfig immediately after defining
12477 * login/Makefile: Likewise.
12478 * mach/Makefile: Likewise.
12479 (all): Remove target.
12480 * malloc/Makefile: Include Makeconfig immediately after defining
12482 (all): Remove target.
12483 * manual/Makefile: Include Makeconfig immediately after defining
12485 * math/Makefile: Likewise.
12486 * misc/Makefile: Likewise.
12487 * nis/Makefile: Likewise.
12488 * nss/Makefile: Likewise.
12489 * po/Makefile: Likewise.
12490 (all): Remove target.
12491 * posix/Makefile: Include Makeconfig immediately after defining
12493 * pwd/Makefile: Likewise.
12494 * resolv/Makefile: Likewise.
12495 * resource/Makefile: Likewise.
12496 * rt/Makefile: Likewise.
12497 * setjmp/Makefile: Likewise.
12498 * shadow/Makefile: Likewise.
12499 * signal/Makefile: Likewise.
12500 * socket/Makefile: Likewise.
12501 * soft-fp/Makefile: Likewise.
12502 * stdio-common/Makefile: Likewise.
12503 * stdlib/Makefile: Likewise.
12504 * streams/Makefile: Likewise.
12505 * string/Makefile: Likewise.
12506 * sunrpc/Makefile: Likewise.
12507 (all): Remove target.
12508 * sysvipc/Makefile: Include Makeconfig immediately after defining
12510 * termios/Makefile: Likewise.
12511 * time/Makefile: Likewise.
12512 * timezone/Makefile: Likewise.
12513 (all): Remove target.
12514 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12516 * wctype/Makefile: Likewise.
12518 2014-02-26 Steve Ellcey <sellcey@mips.com>
12520 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12521 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12522 (libc_feholdexcept_setround_mips): Ditto.
12523 (libc_feholdsetround): New.
12524 (libc_feholdsetroundf): New.
12525 (libc_feholdsetroundl): New.
12526 (libc_feupdateenv_test_mips): New.
12527 (libc_feupdateenv_test): New.
12528 (libc_feupdateenv_testf): New.
12529 (libc_feupdateenv_testl): New.
12530 (libc_feresetround): New.
12531 (libc_feresetroundf): New.
12532 (libc_feresetroundl): New.
12533 (libc_fetestexcept_mips): New.
12534 (libc_fetestexcept): New.
12535 (libc_fetestexceptf): New.
12536 (libc_fetestexceptl): New.
12537 (HAVE_RM_CTX): New.
12538 (libc_feholdexcept_setround_mips_ctx): New.
12539 (libc_feholdexcept_setround_ctx): New.
12540 (libc_feholdexcept_setroundf_ctx): New.
12541 (libc_feholdexcept_setroundl_ctx): New.
12542 (libc_fesetenv_mips_ctx): New.
12543 (libc_fesetenv_ctx): New.
12544 (libc_fesetenv_ctxf): New.
12545 (libc_fesetenv_ctxl): New.
12546 (libc_feupdateenv_mips_ctx): New.
12547 (libc_feupdateenv_ctx): New.
12548 (libc_feupdateenvf_ctx): New.
12549 (libc_feupdateenvl_ctx): New.
12550 (libc_feholdsetround_mips_ctx): New.
12551 (libc_feholdsetround_ctx): New.
12552 (libc_feholdsetroundf_ctx): New.
12553 (libc_feholdsetroundl_ctx): New.
12554 (libc_feresetround_mips_ctx): New.
12555 (libc_feresetround_ctx): New.
12556 (libc_feresetroundf_ctx): New.
12557 (libc_feresetroundl_ctx): New.
12559 2014-02-26 Carlos O'Donell <carlos@redhat.com>
12561 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12563 * manual/ipc.texi: New file.
12564 * manual/Makefile (chapters): Add ipc.
12565 * manual/job.texi: Add "Inter-Process Communication" to next.
12566 * manual/process.texi: Add "Inter-Process Communication" to prev.
12568 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12572 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
12574 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12576 * manual/arith.texi: Fix spaces after sentences.
12577 * manual/charset.texi: Likewise.
12578 * manual/errno.texi: Likewise.
12579 * manual/install.texi: Likewise.
12580 * manual/llio.texi: Likewise.
12581 * manual/locale.texi: Likewise.
12582 * manual/maint.texi: Likewise.
12583 * manual/math.texi: Likewise.
12584 * manual/memory.texi: Likewise.
12585 * manual/message.texi: Likewise.
12586 * manual/probes.texi: Likewise.
12587 * manual/resource.texi: Likewise.
12588 * manual/signal.texi: Likewise.
12589 * manual/socket.texi: Likewise.
12590 * manual/stdio.texi: Likewise.
12591 * manual/string.texi: Likewise.
12592 * manual/time.texi: Likewise.
12593 * manual/users.texi: Likewise.
12595 2014-02-25 Carlos O'Donell <carlos@redhat.com>
12598 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12599 _DEFAULT_SOURCE is defined.
12601 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12602 Carlos O'Donell <carlos@redhat.com>
12605 * elf/dl-tls.c (_dl_count_modids): New function.
12606 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12607 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12608 audit library and increment generation counter.
12609 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12610 * elf/tst-audit9.c: New file.
12611 * elf/tst-auditmod9a.c: New file.
12612 * elf/tst-auditmod9b.c: New file.
12613 * elf/Makefile: Add rules to build and run tst-audit9.
12615 2014-02-25 Florian Weimer <fweimer@redhat.com>
12618 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12620 2014-02-25 Will Newton <will.newton@linaro.org>
12622 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12623 (__longjmp): Restore sp and lr before restoring callee
12624 saved registers. Add longjmp and longjmp_target
12625 SystemTap probe point.
12626 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12627 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12628 Define to zero to match jmpbuf layout.
12629 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12630 (__sigsetjmp): Save sp and lr before saving callee
12631 saved registers. Add setjmp SystemTap probe point.
12633 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12635 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12637 2014-02-24 Andreas Schwab <schwab@suse.de>
12640 * elf/pldd.c (wait_for_ptrace_stop): New function.
12641 (main): Call it after attaching.
12643 2014-02-22 Roland McGrath <roland@hack.frob.com>
12645 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12646 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12647 Versions files is now verboten.
12648 * hurd/Versions (libc: GLIBC_2.0):
12649 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12650 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12651 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12652 * mach/Versions: Likewise.
12654 * csu/Versions: Remove unused %include.
12655 * resolv/Versions: Likewise.
12657 2014-02-21 Joseph Myers <joseph@codesourcery.com>
12659 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12660 ($(objpfx)check-local-headers.out): Likewise.
12661 ($(objpfx)begin-end-check.out): Likewise.
12662 * Makerules (check-abi-%.out): Likewise.
12663 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12664 ($(objpfx)test2.cat): Likewise.
12665 ($(objpfx)de/libc.cat): Likewise.
12666 ($(objpfx)test-gencat.out): Likewise.
12667 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12668 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12669 ($(objpfx)noload-mem): Likewise.
12670 ($(objpfx)tst-pathopt.out): Likewise.
12671 ($(objpfx)tst-rtld-load-self.out): Likewise.
12672 ($(objpfx)tst-array1-cmp.out): Likewise.
12673 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12674 ($(objpfx)tst-array2-cmp.out): Likewise.
12675 ($(objpfx)tst-array3-cmp.out): Likewise.
12676 ($(objpfx)tst-array4-cmp.out): Likewise.
12677 ($(objpfx)tst-array5-cmp.out): Likewise.
12678 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12679 ($(objpfx)check-textrel.out): Likewise.
12680 ($(objpfx)check-execstack.out): Likewise.
12681 ($(objpfx)check-localplt.out): Likewise.
12682 ($(objpfx)order2-cmp.out): Likewise.
12683 ($(objpfx)tst-leaks1-mem): Likewise.
12684 ($(objpfx)tst-leaks1-static-mem): Likewise.
12685 ($(objpfx)tst-initorder-cmp.out): Likewise.
12686 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12687 ($(objpfx)tst-unused-dep.out): Likewise.
12688 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12689 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12690 * iconv/Makefile (test-iconvconfig): Likewise.
12691 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12692 ($(objpfx)iconv-test.out): Likewise.
12693 ($(objpfx)tst-tables.out): Likewise.
12694 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12695 ($(objpfx)tst-gettext.out): Likewise.
12696 ($(objpfx)tst-translit.out): Likewise.
12697 ($(objpfx)tst-gettext2.out): Likewise.
12698 ($(objpfx)tst-gettext4.out): Likewise.
12699 ($(objpfx)tst-gettext6.out): Likewise.
12700 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12701 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12702 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12703 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12704 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12705 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12706 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12707 ($(objpfx)wordexp-tst.out): Likewise.
12708 ($(objpfx)annexc.out): Likewise.
12709 ($(objpfx)tst-fnmatch-mem): Likewise.
12710 ($(objpfx)bug-regex2-mem): Likewise.
12711 ($(objpfx)bug-regex14-mem): Likewise.
12712 ($(objpfx)bug-regex21-mem): Likewise.
12713 ($(objpfx)bug-regex31-mem): Likewise.
12714 ($(objpfx)tst-vfork3-mem): Likewise.
12715 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12716 ($(objpfx)tst-pcre-mem): Likewise.
12717 ($(objpfx)tst-boost-mem): Likewise.
12718 ($(objpfx)tst-getconf.out): Likewise.
12719 ($(objpfx)bug-ga2-mem): Likewise.
12720 ($(objpfx)bug-glob2-mem): Likewise.
12721 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12722 ($(objpfx)mtrace-tst-leaks2): Likewise.
12723 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12724 ($(objpfx)tst-printf.out): Likewise.
12725 ($(objpfx)tst-setvbuf1.out): Likewise.
12726 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12727 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12728 ($(objpfx)tst-fmtmsg.out): Likewise.
12729 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12730 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12732 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12733 * bits/sigaction.h [__USE_MISC]: Likewise.
12734 * bits/waitstatus.h: Update #endif comments.
12735 * ctype/ctype.h: Likewise.
12736 * dirent/dirent.h: Likewise.
12737 [__USE_MISC]: Remove redundant conditionals.
12738 * grp/grp.h: Update #endif comments.
12739 [__USE_GNU]: Remove redundant conditionals.
12740 [__USE_MISC]: Likewise.
12741 * inet/netinet/in.h [__USE_GNU]: Likewise.
12742 * io/sys/stat.h [__USE_MISC]: Likewise.
12743 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12744 * libio/bits/stdio.h: Update #endif comments.
12745 [__USE_MISC]: Remove redundant conditionals.
12746 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12747 * libio/stdio.h: Update #endif comments.
12748 [__USE_MISC]: Remove redundant conditionals.
12749 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12750 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12751 * math/math.h: Update #else and #endif comments.
12752 [__USE_MISC]: Remove redundant conditionals.
12753 * misc/sys/uio.h: Update #endif comments.
12754 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12755 * posix/glob.h [__USE_MISC]: Likewise.
12756 * posix/sys/types.h: Update #endif comments.
12757 [__USE_MISC]: Remove redundant conditionals.
12758 * posix/sys/wait.h: Update #endif comments.
12759 [__USE_MISC]: Remove redundant conditionals.
12760 * posix/unistd.h: Update #endif comments.
12761 [__USE_MISC]: Remove redundant conditionals.
12762 * pwd/pwd.h [__USE_GNU]: Likewise.
12763 [__USE_MISC]: Likewise.
12764 * resolv/netdb.h [__USE_GNU]: Likewise.
12765 * signal/signal.h: Update #endif comments.
12766 [__USE_MISC]: Remove redundant conditionals.
12767 * stdlib/stdlib.h: Update #else and #endif comments.
12768 [__USE_MISC]: Remove redundant conditionals.
12769 [__USE_GNU]: Likewise.
12770 * string/bits/string2.h [__USE_MISC]: Likewise.
12771 * string/string.h: Update #endif comments.
12772 [__USE_MISC]: Remove redundant conditionals.
12773 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12775 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12776 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12777 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12779 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12783 [__USE_MISC]: Remove redundant conditionals.
12784 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12785 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12786 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12787 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12788 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12790 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12791 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12793 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12794 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12796 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12798 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12799 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12801 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12803 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12804 * sysdeps/x86/bits/string.h: Update #endif comments.
12805 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12807 * time/sys/time.h: Update #endif comments.
12808 * time/time.h: Likewise.
12809 [__USE_MISC]: Remove redundant conditionals.
12811 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12814 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12816 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12818 * Versions.def (librt): Add GLIBC_2.17.
12820 2014-02-21 Adam Conrad <adconrad@0c3.net>
12822 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12823 synonym for _SYS_AUXV_H to allow direct inclusion.
12824 * sysdeps/sparc/bits/hwcap.h: Likewise.
12825 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12826 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12827 * sysdeps/sparc/sysdep.h: Likewise.
12829 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12831 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12833 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12835 * benchtests/bench-strrchr.c: Print length instead of position.
12837 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12840 * sysdeps/unix/sysv/linux/kernel-features.h
12841 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12842 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12843 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12844 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12846 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12847 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12848 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12849 (__ASSUME_SENDMMSG): Define instead of using previous
12850 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12851 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12852 (__ASSUME_SENDMMSG_SYSCALL): Define.
12853 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12854 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12856 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12857 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12859 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12860 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12862 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12863 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12864 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12865 [__ASSUME_SENDMMSG]: Change conditionals to
12866 [__ASSUME_SENDMMSG_SOCKETCALL].
12867 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12868 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12870 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12871 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12873 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12874 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12875 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12876 [!__ASSUME_SENDMMSG]: Change conditional to
12877 [!__ASSUME_SENDMMSG_SOCKETCALL].
12878 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12879 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12883 * sysdeps/unix/sysv/linux/kernel-features.h
12884 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12885 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12886 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12887 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12888 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12889 [__i386__ || __sparc__]
12890 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12891 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12892 (__ASSUME_RECVMMSG): Define instead of using previous
12893 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12894 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12895 (__ASSUME_RECVMMSG_SYSCALL): Define.
12896 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12897 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12899 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12900 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12902 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12903 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12905 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12906 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12907 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12908 [__ASSUME_RECVMMSG]: Change condition to
12909 [__ASSUME_RECVMMSG_SOCKETCALL].
12910 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12911 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12913 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12914 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12917 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12918 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12919 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12920 [!__ASSUME_RECVMMSG]: Change condition to
12921 [!__ASSUME_RECVMMSG_SOCKETCALL].
12922 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12923 (__ASSUME_RECVMMSG_SYSCALL): Define.
12926 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12927 __powerpc__ || __s390__ || __sh__ || __sparc__]
12928 (__ASSUME_SOCKETCALL): Define.
12929 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12930 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12931 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12932 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12933 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12934 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12935 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12936 (__ASSUME_ACCEPT4): Define instead of using previous
12937 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12938 __powerpc__ || __sparc__ || __s390__)] condition.
12939 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12940 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12941 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12942 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12943 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12944 [!__ASSUME_ACCEPT4]: Change condition to
12945 [!__ASSUME_ACCEPT4_SOCKETCALL].
12946 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12947 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12948 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12949 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12950 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12951 __ASSUME_ACCEPT4_SYSCALL.
12952 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12953 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12954 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12955 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12956 __ASSUME_ACCEPT4_SYSCALL.
12957 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12958 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12959 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12960 [__ASSUME_ACCEPT4]: Change condition to
12961 [__ASSUME_ACCEPT4_SOCKETCALL].
12962 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12963 (__ASSUME_SOCKETCALL): Define.
12964 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12965 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12966 (__ASSUME_SOCKETCALL): Define.
12967 (__ASSUME_ACCEPT4): Remove.
12968 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12970 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12971 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12973 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12974 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12976 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12978 (HWCAP_ARM_LPAE): Likewise.
12979 (HWCAP_ARM_EVTSTRM): Likewise.
12980 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12981 Add vpfd32, lpae and evtstrm.
12982 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12985 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12987 * math/auto-libm-test-in: Add tests of clog10.
12988 * math/auto-libm-test-out: Regenerated.
12989 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12990 * sysdeps/i386/fpu/libm-test-ulps: Update.
12991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12993 2014-02-18 Andreas Schwab <schwab@suse.de>
12996 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12997 Store non-zero if the second buffer was newly allocated.
12998 (send_dg): Likewise.
12999 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13000 to send_vc and send_dg.
13001 (res_nsend): Pass NULL for ansp2_malloced.
13002 * resolv/res_query.c (__libc_res_nquery): Add parameter
13003 answerp2_malloced and pass it down to __libc_res_nsend.
13004 (res_nquery): Pass additional NULL to __libc_res_nquery.
13005 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13006 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13007 second answer buffer if answerp2_malloced was set.
13008 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13009 (__libc_res_nquerydomain): Add parameter
13010 answerp2_malloced and pass it down to __libc_res_nquery.
13011 (res_nquerydomain): Pass additional NULL to
13012 __libc_res_nquerydomain.
13013 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13014 additional NULL to __libc_res_nsend and __libc_res_nquery.
13015 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13016 additional NULL to __libc_res_nsearch.
13017 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13018 parameter of __libc_res_nsearch to check for separately allocated
13020 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13022 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13023 additional NULL to __libc_res_nquery.
13024 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13025 __libc_res_nsearch.
13026 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13027 * include/resolv.h: Update prototypes of __libc_res_nquery,
13028 __libc_res_nsearch, __libc_res_nsend.
13030 2014-02-18 Joseph Myers <joseph@codesourcery.com>
13032 * math/auto-libm-test-in: Add tests of fma.
13033 * math/auto-libm-test-out: Regenerated.
13034 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13035 (fma_towardzero_test_data): Likewise.
13036 (fma_downward_test_data): Likewise.
13037 (fma_upward_test_data): Likewise.
13038 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13040 (rounding_modes): Add values for new field.
13041 (func_calc_method): Add value mpfr_fff_f.
13042 (func_calc_desc): Add mpfr_fff_f union field.
13043 (test_function): Add field exact_args.
13044 (FUNC): Add macro argument EXACT_ARGS.
13045 (FUNC_mpfr_f_f): Update call to FUNC.
13046 (FUNC_mpfr_f_f): Likewise.
13047 (FUNC_mpfr_ff_f): Likewise.
13048 (FUNC_mpfr_if_f): Likewise.
13049 (FUNC_mpc_c_f): Likewise.
13050 (FUNC_mpc_c_c): Likewise.
13051 (test_functions): Add fma. Update calls to FUNC.
13052 (handle_input_arg): Add argument exact_args.
13053 (add_test): Update call to handle_input_arg.
13054 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13055 (output_for_one_input_case): Update call to calc_generic_results.
13056 Recalculate exact zero results in each rounding mode.
13058 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13059 non-negative before setting low bit.
13060 * math/auto-libm-test-in: Mark one asin test possibly having
13061 spurious underflow.
13062 * math/auto-libm-test-out: Regenerated.
13063 * sysdeps/i386/fpu/libm-test-ulps: Update.
13064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13066 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13068 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13069 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13070 ports/sysdeps/unix/sysv/linux/microblaze.
13071 * README: Add missing listing for microblaze*-*-linux-gnu.
13073 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
13075 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13078 2014-02-16 Mike Frysinger <vapier@gentoo.org>
13080 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13081 * sysdeps/unix/sysv/linux/ia64: Move directory from
13082 ports/sysdeps/unix/sysv/linux/ia64.
13083 * README: Update listing for ia64-*-linux-gnu.
13085 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13086 Joseph Myers <joseph@codesourcery.com>
13088 * Makeconfig (test-name): New variable.
13089 (evaluate-test): Likewise.
13090 * Makerules (do-test-clean): Remove .test-result files.
13091 (common-mostlyclean): Likewise.
13092 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13093 * scripts/evaluate-test.sh: New file.
13095 2014-02-14 Joseph Myers <joseph@codesourcery.com>
13097 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13098 separate $(objpfx)tst-fopenloc-cmp.out and
13099 $(objpfx)tst-fopenloc-mem.out targets.
13100 (tests): Update dependencies.
13101 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13102 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13103 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13104 (tst-rxspencer-no-utf8-ARGS): New variable.
13105 (tst-rxspencer-no-utf8-ENV): Likewise.
13106 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13107 instead of $(objpfx)tst-rxspencer-mem.
13108 ($(objpfx)tst-rxspencer-mem): Change target to
13109 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13110 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13111 * posix/tst-rxspencer-no-utf8.c: New file.
13113 * elf/Makefile ($(objpfx)order.out): Remove rule.
13114 [$(run-built-tests) = yes] (tests): Depend on
13115 $(objpfx)order-cmp.out.
13116 ($(objpfx)order-cmp.out): New rule.
13117 [$(run-built-tests) = yes] (tests): Depend on
13118 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13119 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13120 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13121 $(objpfx)tst-array5-static-cmp.out.
13122 ($(objpfx)tst-array1.out): Remove rule.
13123 ($(objpfx)tst-array1-cmp.out): New rule.
13124 ($(objpfx)tst-array1-static.out): Remove rule.
13125 ($(objpfx)tst-array1-static-cmp.out): New rule.
13126 ($(objpfx)tst-array2.out): Remove rule.
13127 ($(objpfx)tst-array2-cmp.out): New rule.
13128 ($(objpfx)tst-array3.out): Remove rule.
13129 ($(objpfx)tst-array3-cmp.out): New rule.
13130 ($(objpfx)tst-array4.out): Remove rule.
13131 ($(objpfx)tst-array4-cmp.out): New rule.
13132 ($(objpfx)tst-array5.out): Remove rule.
13133 ($(objpfx)tst-array5-cmp.out): New rule.
13134 ($(objpfx)tst-array5-static.out): Remove rule.
13135 ($(objpfx)tst-array5-static-cmp.out): New rule.
13136 [$(run-built-tests) = yes] (tests): Depend on
13137 $(objpfx)order2-cmp.out.
13138 ($(objpfx)order2.out): Remove rule.
13139 ($(objpfx)order2-cmp.out): New rule.
13140 ($(objpfx)tst-initorder.out): Remove rule.
13141 [$(run-built-tests) = yes] (tests): Depend on
13142 $(objpfx)tst-initorder-cmp.out.
13143 ($(objpfx)tst-initorder-cmp.out): New rule.
13144 ($(objpfx)tst-initorder2.out): Remove rule.
13145 [$(run-built-tests) = yes] (tests): Depend on
13146 $(objpfx)tst-initorder2-cmp.out.
13147 ($(objpfx)tst-initorder2-cmp.out): New rule.
13148 [$(run-built-tests) = yes] (tests): Depend on
13149 $(objpfx)tst-unused-dep-cmp.out.
13150 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13151 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13152 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13153 on $(objpfx)tst-setvbuf1-cmp.out.
13154 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13155 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13156 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13157 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13158 ($(objpfx)tst-svc.out): Remove rule.
13159 ($(objpfx)tst-svc-cmp.out): New rule.
13161 2014-02-13 Joseph Myers <joseph@codesourcery.com>
13163 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13164 * ctype/ctype.h [__USE_MISC]: Likewise.
13165 * dirent/dirent.h [__USE_MISC]: Likewise.
13166 * grp/grp.h [__USE_MISC]: Likewise.
13167 * io/fcntl.h [__USE_MISC]: Likewise.
13168 * io/sys/stat.h [__USE_MISC]: Likewise.
13169 * libio/stdio.h [__USE_MISC]: Likewise.
13170 * posix/unistd.h [__USE_MISC]: Likewise.
13171 * pwd/pwd.h [__USE_MISC]: Likewise.
13172 * stdlib.h [__USE_MISC]: Likewise.
13173 * string/bits/string2.h [__USE_MISC]: Likewise.
13174 * string/string.h [__USE_MISC]: Likewise.
13175 * time/time.h [__USE_MISC]: Likewise.
13177 2014-02-13 Andreas Schwab <schwab@suse.de>
13180 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13181 second answer buffer if it was separately allocated.
13183 2014-02-12 Joseph Myers <joseph@codesourcery.com>
13185 * sysdeps/mips/math-tests.h: Include <features.h>.
13186 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13187 (ROUNDING_TESTS_long_double): Do not define.
13188 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13189 (EXCEPTION_TESTS_long_double): Likewise.
13190 * sysdeps/mips/mips64/libm-test-ulps: Update.
13192 * include/features.h (__USE_BSD): Remove macro definitions.
13193 (__USE_SVID): Likewise.
13194 (_BSD_SOURCE): Likewise.
13195 (_SVID_SOURCE): Likewise.
13196 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13197 from definition of _DEFAULT_SOURCE.
13198 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13200 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13201 * bits/mman.h [__USE_BSD]: Likewise.
13202 * bits/termios.h [__USE_BSD]: Likewise.
13203 * bits/waitstatus.h [__USE_BSD]: Likewise.
13204 * ctype/ctype.h [__USE_SVID]: Likewise.
13205 * dirent/dirent.h [__USE_BSD]: Likewise.
13206 * grp/grp.h [__USE_SVID]: Likewise.
13207 [__USE_BSD]: Likewise.
13208 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13209 * io/fcntl.h [__USE_BSD]: Likewise.
13210 * io/ftw.h [__USE_BSD]: Likewise.
13211 * io/sys/stat.h [__USE_BSD]: Likewise.
13212 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13213 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13214 * libio/stdio.h [__USE_SVID]: Likewise.
13215 [__USE_BSD]: Likewise.
13216 * math/math.h [__USE_SVID]: Likewise.
13217 [__USE_BSD]: Likewise.
13218 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13219 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13220 * misc/search.h [__USE_SVID]: Likewise.
13221 * misc/sys/mman.h [__USE_BSD]: Likewise.
13222 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13223 * misc/sys/uio.h [__USE_BSD]: Likewise.
13224 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13225 * posix/glob.h [__USE_BSD]: Likewise.
13226 * posix/regex.h [__USE_BSD]: Likewise.
13227 * posix/sys/types.h [__USE_BSD]: Likewise.
13228 [__USE_SVID]: Likewise.
13229 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13230 * posix/sys/wait.h [__USE_BSD]: Likewise.
13231 [__USE_SVID]: Likewise.
13232 * posix/unistd.h [__USE_BSD]: Likewise.
13233 [__USE_SVID]: Likewise.
13234 * pwd/pwd.h [__USE_SVID]: Likewise.
13235 * resolv/netdb.h [__USE_BSD]: Likewise.
13236 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13237 * signal/signal.h [__USE_BSD]: Likewise.
13238 [__USE_SVID]: Likewise.
13239 * socket/sys/socket.h [__USE_BSD]: Likewise.
13240 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13241 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13242 [__USE_SVID]: Likewise.
13243 * string/bits/string2.h [__USE_BSD]: Likewise.
13244 [__USE_SVID]: Likewise.
13245 * string/bits/string3.h [__USE_BSD]: Likewise.
13246 * string/endian.h [__USE_BSD]: Likewise.
13247 * string/string.h [__USE_SVID]: Likewise.
13248 [__USE_BSD]: Likewise.
13249 * string/strings.h [__USE_BSD]: Likewise.
13250 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13251 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13252 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13253 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13254 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13255 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13257 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13259 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13260 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13262 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13263 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13265 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13267 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13268 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13271 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13273 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13274 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13275 * termios/termios.h [__USE_BSD]: Likewise.
13276 * time/sys/time.h [__USE_BSD]: Likewise.
13277 * time/time.h [__USE_BSD]: Likewise.
13278 [__USE_SVID]: Likewise.
13280 * Makefile (subdir_targets): Remove subdir_lint.out.
13282 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13283 (do-tst-printf): Likewise.
13284 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13285 $(objpfx)tst-printf.out.
13287 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13289 * Makerules (check-abi-%): Change target to
13290 $(objpfx)check-abi-%.out.
13291 (check-abi target): Update dependencies.
13292 (check-abi-pattern variable): Redirect output of diff to $@.
13293 (check-abi variable): Likewise.
13294 * elf/Makefile (check-abi): Update dependencies.
13296 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13298 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13299 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13301 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13302 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13303 value has largest subnormal exponent.
13304 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13305 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13306 * sysdeps/aarch64/soft-fp/sfp-machine.h
13307 (_FP_TININESS_AFTER_ROUNDING): New macro.
13308 * sysdeps/alpha/soft-fp/sfp-machine.h
13309 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13310 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13312 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13313 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13314 * sysdeps/mips/soft-fp/sfp-machine.h
13315 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13316 * sysdeps/powerpc/soft-fp/sfp-machine.h
13317 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13318 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13320 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13321 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13322 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13323 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13324 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13327 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
13330 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13333 2014-02-12 Richard Henderson <rth@redhat.com>
13335 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13336 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13337 * sysdeps/unix/sysv/linux/alpha: Move directory from
13338 ports/sysdeps/unix/sysv/linux/alpha.
13339 * README: Update listing for alpha-*-linux-gnu.
13341 2014-02-11 Joseph Myers <joseph@codesourcery.com>
13343 * include/features.h: Update comment documenting feature test
13345 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13347 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13348 (_SVID_SOURCE): Likewise.
13349 (_DEFAULT_SOURCE): Update description of default features.
13350 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13352 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13353 (S_ISVTX): Likewise.
13354 * manual/math.texi (Mathematical Constants): Likewise.
13355 * manual/signal.texi (Interrupted Primitives): Likewise.
13356 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13357 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13358 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13359 Don't refer to _SVID_SOURCE in warning text.
13361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13363 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13365 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13366 * sysdeps/mips/dl-lookup.c: Remove.
13367 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13369 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13372 * math/auto-libm-test-in: Add testcase for expl.
13373 * math/auto-libm-test-out: Regenerate.
13374 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13375 calculation of unsafe.
13376 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13378 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13380 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13381 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13382 ports/sysdeps/unix/sysv/linux/aarch64.
13383 * README: Update listing for aarch64*-*-linux-gnu.
13385 2014-02-11 Will Newton <will.newton@linaro.org>
13387 * manual/probes.texi (Mathematical Function Probes): Use
13388 "triggered" instead of "hit".
13390 * manual/probes.texi (Internal Probes): Add documentation
13391 of setjmp, longjmp and longjmp_target probes.
13393 * include/stap-probe.h: Add comment about probe argument
13396 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13397 definition. (tr_where, tr_freehook, tr_mallochook,
13398 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13400 2014-02-11 David S. Miller <davem@davemloft.net>
13402 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13403 processing int_tests.
13405 2014-02-10 Joseph Myers <joseph@codesourcery.com>
13407 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13408 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13409 * sysdeps/unix/sysv/linux/mips: Move directory from
13410 ports/sysdeps/unix/sysv/linux/mips.
13411 * README: Update listing for mips-*-linux-gnu and
13412 mips64-*-linux-gnu.
13414 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13416 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13417 * sysdeps/unix/sysv/linux/m68k: Move directory from
13418 ports/sysdeps/unix/sysv/linux/m68k.
13419 * README: Update listing for m68k-*-linux-gnu.
13421 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13423 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13424 * sysdeps/unix/sysv/linux/generic: Move directory from
13425 ports/sysdeps/unix/sysv/linux/generic.
13426 * sysdeps/unix/sysv/linux/tile: Move directory from
13427 ports/sysdeps/unix/sysv/linux/tile.
13428 * README: Update listing for tile*-*-linux-gnu.
13430 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
13432 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13434 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13435 * catgets/open_catalog.c (__open_catalog): Likewise.
13436 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13437 * debug/confstr_chk.c: Likewise.
13438 * debug/fread_chk.c (__fread_chk): Likewise.
13439 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13440 * debug/getgroups_chk.c: Likewise.
13441 * debug/mbsnrtowcs_chk.c: Likewise.
13442 * debug/mbsrtowcs_chk.c: Likewise.
13443 * debug/mbstowcs_chk.c: Likewise.
13444 * debug/memcpy_chk.c: Likewise.
13445 * debug/memmove_chk.c: Likewise.
13446 * debug/mempcpy_chk.c: Likewise.
13447 * debug/memset_chk.c: Likewise.
13448 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13449 * debug/strcat_chk.c (__strcat_chk): Likewise.
13450 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13451 * debug/strncat_chk.c (__strncat_chk): Likewise.
13452 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13453 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13454 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13455 * debug/wcpncpy_chk.c: Likewise.
13456 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13457 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13458 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13459 * debug/wcsncpy_chk.c: Likewise.
13460 * debug/wcsnrtombs_chk.c: Likewise.
13461 * debug/wcsrtombs_chk.c: Likewise.
13462 * debug/wcstombs_chk.c: Likewise.
13463 * debug/wmemcpy_chk.c: Likewise.
13464 * debug/wmemmove_chk.c: Likewise.
13465 * debug/wmempcpy_chk.c: Likewise.
13466 * debug/wmemset_chk.c: Likewise.
13467 * dirent/scandirat.c (SCANDIRAT): Likewise.
13468 * dlfcn/dladdr1.c (dladdr1): Likewise.
13469 * dlfcn/dladdr.c (dladdr): Likewise.
13470 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13471 * dlfcn/dlerror.c (__dlerror): Likewise.
13472 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13473 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13474 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13475 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13476 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13477 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13478 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13479 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13481 * elf/dl-conflict.c: Likewise.
13482 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13483 * elf/dl-dst.h: Likewise.
13484 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13485 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13486 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13487 * elf/dl-init.c (call_init, _dl_init): Likewise.
13488 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13489 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13490 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13492 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13494 * elf/dl-minimal.c (__libc_memalign): Likewise.
13495 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13496 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13497 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13498 * elf/dl-sym.c (do_sym): Likewise.
13499 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13500 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13501 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13502 * elf/dl-writev.h (_dl_writev): Likewise.
13503 * elf/ldconfig.c (search_dir): Likewise.
13504 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13505 (dl_main): Likewise.
13506 * elf/setup-vdso.h (setup_vdso): Likewise.
13507 * grp/compat-initgroups.c (compat_call): Likewise.
13508 * grp/fgetgrent.c (fgetgrent): Likewise.
13509 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13510 * grp/putgrent.c (putgrent): Likewise.
13511 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13513 * hurd/hurdinit.c: Likewise.
13514 * iconvdata/8bit-gap.c (struct): Likewise.
13515 * iconvdata/ansi_x3.110.c : Likewise.
13516 * iconvdata/big5.c : Likewise.
13517 * iconvdata/big5hkscs.c : Likewise.
13518 * iconvdata/cp1255.c: Likewise.
13519 * iconvdata/cp1258.c : Likewise.
13520 * iconvdata/cp932.c : Likewise.
13521 * iconvdata/euc-cn.c: Likewise.
13522 * iconvdata/euc-jisx0213.c : Likewise.
13523 * iconvdata/euc-jp.c: Likewise.
13524 * iconvdata/euc-jp-ms.c : Likewise.
13525 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13526 * iconvdata/gb18030.c : Likewise.
13527 * iconvdata/gbbig5.c (const): Likewise.
13528 * iconvdata/gbgbk.c: Likewise.
13529 * iconvdata/gbk.c : Likewise.
13530 * iconvdata/ibm1364.c : Likewise.
13531 * iconvdata/ibm930.c : Likewise.
13532 * iconvdata/ibm932.c: Likewise.
13533 * iconvdata/ibm933.c : Likewise.
13534 * iconvdata/ibm935.c : Likewise.
13535 * iconvdata/ibm937.c : Likewise.
13536 * iconvdata/ibm939.c : Likewise.
13537 * iconvdata/ibm943.c: Likewise.
13538 * iconvdata/iso_11548-1.c: Likewise.
13539 * iconvdata/iso-2022-cn.c : Likewise.
13540 * iconvdata/iso-2022-cn-ext.c : Likewise.
13541 * iconvdata/iso-2022-jp-3.c: Likewise.
13542 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13543 * iconvdata/iso-2022-kr.c : Likewise.
13544 * iconvdata/iso646.c (gconv_end): Likewise.
13545 * iconvdata/iso_6937-2.c : Likewise.
13546 * iconvdata/iso_6937.c : Likewise.
13547 * iconvdata/iso8859-1.c: Likewise.
13548 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13549 * iconvdata/shift_jisx0213.c : Likewise.
13550 * iconvdata/sjis.c : Likewise.
13551 * iconvdata/t.61.c : Likewise.
13552 * iconvdata/tcvn5712-1.c : Likewise.
13553 * iconvdata/tscii.c: Likewise.
13554 * iconvdata/uhc.c : Likewise.
13555 * iconvdata/unicode.c (gconv_end): Likewise.
13556 * iconvdata/utf-16.c (gconv_end): Likewise.
13557 * iconvdata/utf-32.c (gconv_end): Likewise.
13558 * iconvdata/utf-7.c (base64): Likewise.
13559 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13560 * iconv/gconv_close.c (__gconv_close): Likewise.
13561 * iconv/gconv_open.c (__gconv_open): Likewise.
13562 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13563 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13564 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13565 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13566 (ucs4le_internal_loop_single): Likewise.
13567 * iconv/iconv.c (iconv): Likewise.
13568 * iconv/iconv_close.c: Likewise.
13569 * iconv/loop.c (SINGLE): Likewise.
13570 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13571 * include/atomic.h: Likewise.
13572 * inet/inet6_option.c (option_alloc): Likewise.
13573 * intl/bindtextdom.c (set_binding_values): Likewise.
13574 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13575 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13576 * intl/localealias.c (read_alias_file): Likewise.
13577 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13578 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13579 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13580 * libio/fmemopen.c (fmemopen): Likewise.
13581 * libio/iofgets.c (_IO_fgets): Likewise.
13582 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13583 * libio/iofgetws.c (fgetws): Likewise.
13584 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13585 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13586 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13587 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13588 * locale/findlocale.c (_nl_find_locale): Likewise.
13589 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13590 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13592 * locale/setlocale.c (setlocale): Likewise.
13593 * login/programs/pt_chown.c (main): Likewise.
13594 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13595 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13596 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13597 (mmap, mmap64, mremap, munmap): Likewise.
13598 * math/e_exp2l.c: Likewise.
13599 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13600 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13601 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13602 * math/s_catan.c (__catan): Likewise.
13603 * math/s_catanf.c (__catanf): Likewise.
13604 * math/s_catanh.c (__catanh): Likewise.
13605 * math/s_catanhf.c (__catanhf): Likewise.
13606 * math/s_catanhl.c (__catanhl): Likewise.
13607 * math/s_catanl.c (__catanl): Likewise.
13608 * math/s_ccosh.c (__ccosh): Likewise.
13609 * math/s_ccoshf.c (__ccoshf): Likewise.
13610 * math/s_ccoshl.c (__ccoshl): Likewise.
13611 * math/s_cexp.c (__cexp): Likewise.
13612 * math/s_cexpf.c (__cexpf): Likewise.
13613 * math/s_cexpl.c (__cexpl): Likewise.
13614 * math/s_clog10.c (__clog10): Likewise.
13615 * math/s_clog10f.c (__clog10f): Likewise.
13616 * math/s_clog10l.c (__clog10l): Likewise.
13617 * math/s_clog.c (__clog): Likewise.
13618 * math/s_clogf.c (__clogf): Likewise.
13619 * math/s_clogl.c (__clogl): Likewise.
13620 * math/s_csin.c (__csin): Likewise.
13621 * math/s_csinf.c (__csinf): Likewise.
13622 * math/s_csinh.c (__csinh): Likewise.
13623 * math/s_csinhf.c (__csinhf): Likewise.
13624 * math/s_csinhl.c (__csinhl): Likewise.
13625 * math/s_csinl.c (__csinl): Likewise.
13626 * math/s_csqrt.c (__csqrt): Likewise.
13627 * math/s_csqrtf.c (__csqrtf): Likewise.
13628 * math/s_csqrtl.c (__csqrtl): Likewise.
13629 * math/s_ctan.c (__ctan): Likewise.
13630 * math/s_ctanf.c (__ctanf): Likewise.
13631 * math/s_ctanh.c (__ctanh): Likewise.
13632 * math/s_ctanhf.c (__ctanhf): Likewise.
13633 * math/s_ctanhl.c (__ctanhl): Likewise.
13634 * math/s_ctanl.c (__ctanl): Likewise.
13635 * math/w_pow.c: Likewise.
13636 * math/w_powf.c: Likewise.
13637 * math/w_powl.c: Likewise.
13638 * math/w_scalb.c (sysv_scalb): Likewise.
13639 * math/w_scalbf.c (sysv_scalbf): Likewise.
13640 * math/w_scalbl.c (sysv_scalbl): Likewise.
13641 * misc/error.c (error_tail): Likewise.
13642 * misc/pselect.c (__pselect): Likewise.
13643 * nis/nis_callback.c (__nis_create_callback): Likewise.
13644 * nis/nis_call.c (__nisfind_server): Likewise.
13645 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13646 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13647 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13648 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13649 * nis/nis_lookup.c (nis_lookup): Likewise.
13650 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13651 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13652 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13653 * nis/nis_xdr.c (xdr_endpoint): Likewise.
13654 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13655 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13656 * nis/nss_compat/compat-initgroups.c (add_group)
13657 (internal_getgrent_r): Likewise.
13658 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13659 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13660 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13661 (internal_getspnam_r): Likewise.
13662 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13663 (_nss_nis_getaliasbyname_r): Likewise.
13664 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13665 (_nss_nis_getntohost_r): Likewise.
13666 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13667 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13668 (_nss_nis_getgrgid_r): Likewise.
13669 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13670 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13671 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13672 (_nss_nis_gethostbyname4_r): Likewise.
13673 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13674 (initgroups_netid): Likewise.
13675 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13676 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13677 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13678 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13679 (_nss_nis_getprotobynumber_r): Likewise.
13680 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13681 (_nss_nis_getsecretkey): Likewise.
13682 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13683 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13684 (_nss_nis_getpwuid_r): Likewise.
13685 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13686 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13687 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13688 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13689 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13690 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13691 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13693 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13694 (_nss_nisplus_getntohost_r): Likewise.
13695 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13696 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13697 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13698 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13700 * nis/nss_nisplus/nisplus-initgroups.c
13701 (_nss_nisplus_initgroups_dyn): Likewise.
13702 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13703 (_nss_nisplus_getnetbyaddr_r): Likewise.
13704 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13705 (_nss_nisplus_getprotobynumber_r): Likewise.
13706 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13707 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13708 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13710 * nis/nss_nisplus/nisplus-service.c
13711 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13712 (_nss_nisplus_getservbyport_r): Likewise.
13713 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13714 (_nss_nisplus_getspnam_r): Likewise.
13715 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13717 * nscd/aicache.c (addhstaiX): Likewise.
13718 * nscd/cache.c (cache_search, prune_cache): Likewise.
13719 * nscd/connections.c (register_traced_file, send_ro_fd)
13720 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13721 (main_loop_epoll): Likewise.
13722 * nscd/grpcache.c (addgrbyX): Likewise.
13723 * nscd/hstcache.c (addhstbyX): Likewise.
13724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13725 * nscd/mem.c (gc, mempool_alloc): Likewise.
13726 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13727 (addinnetgrX): Likewise.
13728 * nscd/nscd-client.h (__nscd_acquire_maplock)
13729 (__nscd_drop_map_ref): Likewise.
13730 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13731 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13732 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13734 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13735 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13736 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13737 (__nscd_get_map_ref): Likewise.
13738 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13739 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13741 * nscd/pwdcache.c (addpwbyX): Likewise.
13742 * nscd/selinux.c (preserve_capabilities): Likewise.
13743 * nscd/servicescache.c (addservbyX): Likewise.
13744 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13745 * posix/fnmatch.c (fnmatch): Likewise.
13746 * posix/getopt.c (_getopt_internal_r): Likewise.
13747 * posix/glob.c (glob, glob_in_dir): Likewise.
13748 * posix/wordexp.c (exec_comm_child): Likewise.
13749 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13750 (getanswer_r, gaih_getanswer_slice): Likewise.
13751 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13752 * resolv/res_init.c: Likewise.
13753 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13754 * resolv/res_query.c (__libc_res_nquery): Likewise.
13755 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13757 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13758 * stdio-common/perror.c (perror): Likewise.
13759 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13760 * stdio-common/tmpnam.c (tmpnam): Likewise.
13761 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13762 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13763 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13765 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13766 * stdlib/putenv.c (putenv): Likewise.
13767 * stdlib/setenv.c (__add_to_environ): Likewise.
13768 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13769 * stdlib/strtol_l.c (INTERNAL): Likewise.
13770 * string/memmem.c (memmem): Likewise.
13771 * string/strerror.c (strerror): Likewise.
13772 * string/strnlen.c (__strnlen): Likewise.
13773 * string/test-memmem.c (simple_memmem): Likewise.
13774 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13775 * sunrpc/pm_getport.c (__get_socket): Likewise.
13776 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13777 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13778 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13779 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13781 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13782 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13783 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13784 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13785 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13786 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13788 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13790 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13791 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13792 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13793 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13794 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13796 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13797 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13798 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13799 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13800 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13801 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13803 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13805 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13807 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13808 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13809 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13810 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13811 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13812 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13813 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13817 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13819 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13822 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13824 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13826 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13828 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13830 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13832 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13834 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13835 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13836 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13837 * sysdeps/posix/sleep.c: Likewise.
13838 * sysdeps/posix/tempname.c: Likewise.
13839 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13840 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13842 * sysdeps/powerpc/powerpc32/dl-machine.h
13843 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13844 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13846 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13847 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13849 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13850 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13851 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13852 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13853 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13854 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13855 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13856 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13857 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13858 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13859 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13860 (elf_machine_lazy_rel): Likewise.
13861 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13863 (elf_machine_lazy_rel): Likewise.
13864 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13865 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13866 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13867 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13868 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13869 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13870 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13873 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13874 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13875 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13876 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13877 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13878 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13879 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13880 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13881 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13882 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13883 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13885 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13886 (__posix_fallocate64_l64): Likewise.
13887 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13888 (posix_fallocate): Likewise.
13889 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13892 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13893 (getifaddrs_internal): Likewise.
13894 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13895 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13896 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13897 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13898 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13899 (__posix_fallocate64_l64): Likewise.
13900 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13902 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13903 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13904 (__get_clockfreq): Likewise.
13905 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13906 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13907 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13908 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13910 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13911 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13912 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13914 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13915 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13916 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13917 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13918 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13919 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13920 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13922 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13923 (posix_fallocate): Likewise.
13924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13925 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13926 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13927 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13928 (elf_machine_rela, elf_machine_rela_relative)
13929 (elf_machine_lazy_rel): Likewise.
13930 * time/asctime.c (asctime_internal): Likewise.
13931 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13932 * time/tzset.c (__tzset_parse_tz): Likewise.
13933 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13934 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13935 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13936 * wcsmbs/wcsmbsload.h: Likewise.
13939 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13941 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13942 (arena_get2): Remove THREAD_STATS conditionals.
13943 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13944 (__malloc_stats, int): Likewise.
13946 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13948 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13949 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13951 * manual/setjmp.texi: Fix typos/grammar errors.
13953 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13954 Only return early when n is <= 0. Delete unused return statement.
13956 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13957 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13958 * debug/tst-longjmp_chk3.c: New file.
13960 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13961 (test_main): Replace code with set_fortify_handler call.
13962 * debug/test-strcpy_chk.c: Likewise.
13963 * debug/tst-chk1.c: Likewise.
13964 * debug/tst-longjmp_chk.c: Likewise.
13965 * test-skeleton.c: Include fcntl.h & paths.h
13966 (set_fortify_handler): Define.
13968 * debug/tst-longjmp_chk.c: Add header comment and include
13969 ../test-skeleton.c.
13970 (do_test): Mark static.
13971 (TEST_FUNCTION): Define.
13973 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13974 (IP_PMTUDISC_INTERFACE): Likewise.
13975 (IP_MULTICAST_IF): Likewise.
13976 (IP_MULTICAST_TTL): Likewise.
13977 (IP_MULTICAST_LOOP): Likewise.
13978 (IP_ADD_MEMBERSHIP): Likewise.
13979 (IP_DROP_MEMBERSHIP): Likewise.
13980 (IP_UNBLOCK_SOURCE): Likewise.
13981 (IP_BLOCK_SOURCE): Likewise.
13982 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13983 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13984 (IP_MSFILTER): Likewise.
13985 (MCAST_JOIN_GROUP): Likewise.
13986 (MCAST_BLOCK_SOURCE): Likewise.
13987 (MCAST_UNBLOCK_SOURCE): Likewise.
13988 (MCAST_LEAVE_GROUP): Likewise.
13989 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13990 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13991 (MCAST_MSFILTER): Likewise.
13992 (IP_MULTICAST_ALL): Likewise.
13993 (IP_UNICAST_IF): Likewise.
13995 * timezone/Makefile: Delete $(have-ksh) check.
13996 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13997 * timezone/tzselect.ksh: Add +x mode bits.
13999 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14000 (ANON_INODE_FS_MAGIC): Likewise.
14001 (BDEVFS_MAGIC): Likewise.
14002 (BINFMTFS_MAGIC): Likewise.
14003 (BTRFS_TEST_MAGIC): Likewise.
14004 (CRAMFS_MAGIC_WEND): Likewise.
14005 (DEBUGFS_MAGIC): Likewise.
14006 (ECRYPTFS_SUPER_MAGIC): Likewise.
14007 (EXT3_SUPER_MAGIC): Likewise.
14008 (EXT4_SUPER_MAGIC): Likewise.
14009 (FUTEXFS_SUPER_MAGIC): Likewise.
14010 (HOSTFS_SUPER_MAGIC): Likewise.
14011 (HUGETLBFS_MAGIC): Likewise.
14012 (MINIX3_SUPER_MAGIC): Likewise.
14013 (MTD_INODE_FS_MAGIC): Likewise.
14014 (NILFS_SUPER_MAGIC): Likewise.
14015 (OPENPROM_SUPER_MAGIC): Likewise.
14016 (PIPEFS_MAGIC): Likewise.
14017 (PSTOREFS_MAGIC): Likewise.
14018 (QNX6_SUPER_MAGIC): Likewise.
14019 (RAMFS_MAGIC): Likewise.
14020 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14021 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14022 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14023 (SECURITYFS_MAGIC): Likewise.
14024 (SELINUX_MAGIC): Likewise.
14025 (SMACK_MAGIC): Likewise.
14026 (SOCKFS_MAGIC): Likewise.
14027 (SQUASHFS_MAGIC): Likewise.
14028 (STACK_END_MAGIC): Likewise.
14029 (TMPFS_MAGIC): Likewise.
14030 (USBDEVICE_SUPER_MAGIC): Likewise.
14031 (V9FS_MAGIC): Likewise.
14032 (XENFS_SUPER_MAGIC): Likewise.
14033 (CRAMFS_MAGIC): Fix typo in comment.
14034 (EXT2_SUPER_MAGIC): Update comment.
14035 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14037 2014-02-08 Joseph Myers <joseph@codesourcery.com>
14039 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14040 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14041 * sysdeps/unix/sysv/linux/arm: Move directory from
14042 ports/sysdeps/unix/sysv/linux/arm.
14043 * README: Update listing for arm-*-linux-gnueabi.
14045 * README: Remove mention of am33.
14047 2014-02-07 Roland McGrath <roland@hack.frob.com>
14049 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14050 than the comma operator, to avoid "rhs of comma has no effect"
14052 (__sigfillset, __sigandset, __sigorset): Likewise.
14053 * include/signal.h (__sigemptyset): Likewise.
14054 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14056 2014-02-07 Allan McRae <allan@archlinux.org>
14058 * version.h (RELEASE): Set to "development".
14059 (VERSION): Set to "2.19.90"
14060 * NEWS: Add 2.20 section.
14062 2014-02-06 Carlos O'Donell <carlos@redhat.com>
14065 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14067 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14069 * manual/contrib.texi: Update entry for Carlos O'Donell,
14070 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14072 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
14074 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14076 * sysdeps/unix/sysv/linux/kernel-features.h
14077 [__LINUX_KERNEL_VERSION >= 0x020621]
14078 (__ASSUME_PROC_PID_TASK_COMM): Define.
14080 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14083 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14084 conversion when destination buffer does not have enough space.
14085 * libio/tst-ftell-partial-wide.c: New test case.
14086 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14088 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14089 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14090 Leonard and Allan McRae.
14092 2014-02-04 David S. Miller <davem@davemloft.net>
14094 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14097 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14126 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14129 * shlib-versions: Likewise.
14131 2014-02-04 Roland McGrath <roland@hack.frob.com>
14132 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14134 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14135 (abilist-pattern): New variable, set to %-le.abilist.
14137 * Makerules (abilist-pattern): New variable.
14138 (vpath): Use $(abilist-pattern) in place of %.abilist.
14139 (check-abi-% pattern rule): Likewise.
14140 (check-abi, update-abi): Likewise.
14142 2014-02-04 Eric Wong <normalperson@yhbt.net>
14144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14146 2014-02-03 Carlos O'Donell <carlos@redhat.com>
14148 * manual/startup.texi: Add next, previous, and top entries for
14149 the `Program Arguments' and `Environment Variables' nodes.
14151 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
14153 * manual/macros.texi: Add comments before MTASC-safety macros.
14155 * manual/users.texi: Document MTASC-safety properties.
14157 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14158 (pthread_getspecific, pthread_setspecific): Format with
14159 @deftypefun, and add @safety note.
14160 * manual/signal.texi: Move comments that analyze the above
14161 functions to their home place.
14163 2014-02-03 Allan McRae <allan@archlinux.org>
14165 * po/sl.po: Update Slovenian translation from translation project.
14167 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
14169 * manual/time.texi (timegm): Add missing blank after @c.
14170 Reported by Joseph Myers <joseph@codesourcery.com>.
14172 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
14174 * manual/check-safety.sh: New.
14175 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14177 * manual/terminal.texi: Document MTASC-safety properties.
14179 * manual/filesys.texi: Document MTASC-safety properties.
14181 * manual/errno.texi: Document MTASC-safety properties.
14183 * manual/intro.texi: Document safety identifiers and
14186 * manual/string.texi (wcstok): Fix prototype.
14187 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14189 * manual/time.texi: Document MTASC-safety properties.
14191 * manual/string.texi: Document MTASC-safety properties.
14193 * manual/threads.texi: Document MTASC-safety properties.
14195 * manual/stdio.texi: Document MTASC-safety properties.
14197 * manual/syslog.texi: Document MTASC-safety properties.
14199 * manual/sysinfo.texi: Document MTASC-safety properties.
14201 * manual/startup.texi: Document MTASC-safety properties.
14203 * manual/socket.texi: Document MTASC-safety properties.
14205 * manual/signal.texi: Document MTASC-safety properties.
14207 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14209 * manual/setjmp.texi: Document MTASC-safety properties.
14211 * manual/search.texi: Document MTASC-safety properties.
14213 * manual/resource.texi: Document MTASC-safety properties.
14215 * manual/process.texi: Document MTASC-safety properties.
14217 * manual/platform.texi: Document MTASC-safety properties.
14219 * manual/pipe.texi: Document MTASC-safety properties.
14221 * manual/pattern.texi: Document MTASC-safety properties.
14223 * manual/message.texi: Document MTASC-safety properties.
14226 * manual/memory.texi: Document MTASC-safety properties.
14228 * manual/math.texi: Document MTASC-safety properties.
14230 * manual/locale.texi: Document MTASC-safety properties.
14232 * manual/llio.texi: Document MTASC-safety properties.
14234 * manual/libdl.texi: New.
14236 * manual/lang.texi: Document MTASC-safety properties.
14238 * manual/job.texi: Document MTASC-safety properties.
14240 * manual/getopt.texi: Document MTASC-safety properties.
14242 * manual/ctype.texi: Document MTASC-safety properties.
14244 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14247 * csu/libc-tls.c (static_map): Remove variable.
14248 (__libc_setup_tls): Use main executable's link map for TLS data.
14249 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14250 casing for LM_ID_BASE and GL(dl_nns).
14251 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14252 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14253 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14254 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14255 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14257 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14260 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
14262 * manual/debug.texi: Document MTASC-safety properties.
14264 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14267 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14268 of __x86_64__ when disabling x87 inline functions.
14270 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
14272 * manual/charset.texi: Document MTASC-safety properties.
14274 * manual/crypt.texi: Document MTASC-safety properties.
14276 * manual/conf.texi: Document MTASC-safety properties.
14278 * manual/arith.texi: Document MTASC-safety properties.
14280 * manual/argp.texi: Document MTASC-safety properties.
14282 * manual/macros.texi: Introduce macros to document multi
14283 thread, asynchronous signal and asynchronous cancellation
14285 * manual/intro.texi: Introduce the properties themselves.
14287 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14289 * sysdeps/sh/sh4/Makefile: New file.
14291 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14293 * math/gen-libm-test.pl ($srcdir): New variable.
14294 ($auto_input): Use it.
14296 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14299 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14300 access beyond array bounds when parsing netgroups file.
14302 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14303 the old buffer before realloc.
14305 2014-01-27 Allan McRae <allan@archlinux.org>
14307 * po/fr.po: Update French translation from translation project.
14309 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14311 * sysdeps/sh/libm-test-ulps: Regenerate.
14313 2014-01-24 David S. Miller <davem@davemloft.net>
14315 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14317 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14319 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14320 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14322 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14325 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14326 string pointers after reallocation.
14328 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14330 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14331 __SH4A__ instead of __SH_FPU_ANY__.
14333 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14335 * sysdeps/sh/fpu_control.h: New file.
14336 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14337 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14338 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14339 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14340 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14341 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14342 * sysdeps/sh/sys/ucontext.h: Remove.
14343 * sysdeps/sh/sys: Remove directory.
14345 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14347 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14348 s390/sys/ucontext.h.
14349 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14350 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14352 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14355 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14357 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14361 Adjust the vDSO correctly for internal calls.
14362 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14364 2014-01-20 Allan McRae <allan@archlinux.org>
14366 * po/ca.po: Update Catalan translation from translation project.
14368 2014-01-16 Mike Frysinger <vapier@gentoo.org>
14370 * sysdeps/s390/sotruss-lib.c: New file.
14372 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14376 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14377 local calls issues by not having a PLT stub required for IFUNC calls.
14378 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14380 2014-01-16 Joseph Myers <joseph@codesourcery.com>
14382 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14383 * math/test-fpucw-static.c: Likewise.
14385 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14388 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14390 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14392 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14393 implementation for powerpc.
14395 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
14398 * sysdeps/posix/system.c (__libc_system): Do not enable
14399 asynchronous cancellation.
14401 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14404 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14405 handling only for numbers special also in the IEEE case.
14407 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14409 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14411 2014-01-11 Allan McRae <allan@archlinux.org>
14413 * po/bg.po: Update Bulgarian translation from translation project.
14415 * po/de.po: Update German translation from translation project.
14417 2014-01-10 Roland McGrath <roland@hack.frob.com>
14419 * sysdeps/generic/gcc-compat.h: New file.
14421 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14423 * benchtests/asin-inputs: Correct slow inputs.
14424 * benchtests/acos-inputs: Likewise.
14426 2014-01-10 Allan McRae <allan@archlinux.org>
14428 * po:sv.po: Update Swedish translation from translation project.
14430 * po/vi.po: Update Vietnamese translation from translation project.
14432 * po/eo.po: Update Esperanto translation from translation project.
14434 * po/cs.po: Update Czech translation from translation project.
14436 * po/nl.po: Update Dutch translation from translation project.
14438 * po/pl.po: Update Polish translation from translation project.
14440 * po/ru.po: Update Russian translation from translation project.
14442 * po/uk.po: Update Ukrainian translation from translation project.
14444 2014-01-08 Brooks Moses <bmoses@google.com>
14446 * elf/dl-load.c: Fix comment typo.
14448 2014-01-08 Carlos O'Donell <carlos@redhat.com>
14450 * po/header.pot: Rename to...
14451 * po/pot.header: ... this.
14452 * po/Makefile: Use pot.header.
14454 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14455 Maxim Kuvyrkov <maxim@kugelworks.com>
14458 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14459 SRC and DEST against LEN.
14461 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14464 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14466 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14468 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14472 2014-01-08 Joseph Myers <joseph@codesourcery.com>
14475 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14476 for large positive arguments.
14478 2014-01-07 Joseph Myers <joseph@codesourcery.com>
14480 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14482 * math/auto-libm-test-in: Mark various tests with
14483 xfail-rounding:ldbl-128ibm.
14484 * math/auto-libm-test-out: Regenerated.
14487 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14488 Increase overflow threshold.
14490 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
14493 * stdio-common/vfprintf.c: Check for integer overflow.
14495 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14497 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14498 the first argument and return value of __tls_get_addr_internal.
14500 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14502 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14503 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14505 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14507 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14508 * sysdeps/s390/rtld-global-offsets.sym: New file.
14509 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14511 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14512 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14513 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14515 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14516 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14522 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14523 halfs of GPRs for high_gprs contexts.
14524 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14525 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14527 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14531 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14532 for high GPRs (uc_high_gprs) and for future extensions
14534 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14535 for future extensions (__reserved).
14536 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14538 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14539 SC_HIGHGPRS offset definition.
14540 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14541 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14543 * Versions.def: Add GLIBC_2.19 for libpthread.
14544 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14545 siglongjmp for libpthread with GLIBC_2.19 symver.
14546 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14547 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14548 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14549 * sysdeps/s390/__longjmp.c: New file.
14550 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14551 * sysdeps/s390/longjmp.c: New file.
14552 * sysdeps/s390/setjmp.S: New file.
14553 * sysdeps/s390/sigjmp.S: New file.
14554 * sysdeps/s390/v1-longjmp.c: New file.
14555 * sysdeps/s390/v1-setjmp.h: New file.
14556 * sysdeps/s390/v1-sigjmp.c: New file.
14557 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14558 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14559 GLIBC_2.19 version.
14560 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14561 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14562 versioned symbols for ____longjmp_chk.
14563 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14573 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14574 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14575 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14576 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14577 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14578 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14579 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14580 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14581 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14582 * sysdeps/s390/rtld-__longjmp.c: New file.
14583 * sysdeps/s390/rtld-setjmp.S: New file.
14585 2014-01-06 Joseph Myers <joseph@codesourcery.com>
14588 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14589 Return -__logl (x) for small positive arguments without evaluating
14592 2014-01-06 Mike Frysinger <vapier@gentoo.org>
14594 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14596 (__ptrace_peeksiginfo_args): ... this.
14597 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14598 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14599 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14601 2014-01-06 Allan McRae <allan@archlinux.org>
14603 * inet/netinet/in.h: Fix typo in comment.
14605 2014-01-05 Andreas Jaeger <aj@suse.de>
14607 * sysdeps/i386/fpu/libm-test-ulps: Update.
14609 2014-01-05 Allan McRae <allan@archlinux.org>
14611 * po/libc.pot: Regenerated.
14613 * malloc/memusagestat.c: Fix gettext call formatting.
14615 2014-01-04 Sami Kerola <kerolasa@iki.fi>
14617 * nscd/nscd.c: Improve usage() output.
14619 2014-01-04 Mike Frysinger <vapier@gentoo.org>
14621 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14622 * sysdeps/unix/sysv/linux/configure: Regenerated.
14623 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14624 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14626 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14629 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14630 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14632 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14634 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14635 extra tokens at end of #undef directive.
14636 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14637 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14638 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14640 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14642 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14644 * math/auto-libm-test-in: Mark various tests with
14645 xfail-rounding:ldbl-128ibm.
14646 * math/auto-libm-test-out: Regenerated.
14648 2014-01-02 Joseph Myers <joseph@codesourcery.com>
14651 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14652 numbers with subnormal high part when calculating exponent.
14655 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14659 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14661 (__ieee754_acoshl): Use __log1pl not __log1p.
14663 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
14665 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14666 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14667 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14668 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14669 (reused_arena, arena_get2): Convert to GNU style.
14670 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14671 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14672 (memalign_check, __malloc_set_state): Likewise.
14673 * malloc/mallocbug.c (main): Likewise.
14674 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14675 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14676 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14677 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14678 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14679 (__posix_memalign, malloc_info): Likewise.
14680 * malloc/malloc.h: Likewise.
14681 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14682 (mallochook, memalignhook, reallochook, mabort): Likewise.
14683 * malloc/mcheck.h: Likewise.
14684 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14685 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14686 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14687 * malloc/morecore.c (__default_morecore): Likewise.
14688 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14689 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14690 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14691 (print_and_abort): Likewise.
14692 * malloc/obstack.h: Likewise.
14693 * malloc/set-freeres.c (__libc_freeres): Likewise.
14694 * malloc/tst-mallocstate.c (main): Likewise.
14695 * malloc/tst-mtrace.c (main): Likewise.
14696 * malloc/tst-realloc.c (do_test): Likewise.
14698 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14701 * nscd/netgroupcache.c (do_notfound): New function.
14702 (addgetnetgrentX): Use it.
14705 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14706 NSS_STATUS_NOTFOUND.
14708 2014-01-01 Joseph Myers <joseph@codesourcery.com>
14710 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14713 2014-01-01 Allan McRae <allan@archlinux.org>
14715 * scripts/update-copyrights: Update configure input file suffix.
14717 * NEWS: Update copyright year.
14718 * catgets/gencat.c: Likewise.
14719 * csu/version.c: Likewise.
14720 * debug/catchsegv.sh: Likewise.
14721 * debug/pcprofiledump.c: Likewise.
14722 * debug/xtrace.sh: Likewise.
14723 * elf/ldconfig.c: Likewise.
14724 * elf/ldd.bash.in: Likewise.
14725 * elf/pldd.c: Likewise.
14726 * elf/sotruss.ksh: Likewise.
14727 * elf/sprof.c: Likewise.
14728 * iconv/iconv_prog.c: Likewise.
14729 * iconv/iconvconfig.c: Likewise.
14730 * locale/programs/locale.c: Likewise.
14731 * locale/programs/localedef.c: Likewise.
14732 * login/programs/pt_chown.c: Likewise.
14733 * malloc/memusage.sh: Likewise.
14734 * malloc/memusagestat.c: Likewise.
14735 * malloc/mtrace.pl: Likewise.
14736 * manual/libc.texinfo: Likewise.
14737 * nscd/nscd.c: Likewise.
14738 * nss/getent.c: Likewise.
14739 * nss/makedb.c: Likewise.
14740 * posix/getconf.c: Likewise.
14741 * scripts/test-installation.pl: Likewise.
14743 * All files with FSF copyright notices: Update copyright dates
14744 using scripts/update-copyrights.
14745 * intl/plural.c: Regenerated.
14746 * locale/programs/charmap-kw.h: Likewise.
14747 * locale/programs/locfile-kw.h: Likewise.
14749 2013-12-31 Mike Frysinger <vapier@gentoo.org>
14751 * sysdeps/unix/sysv/linux/configure: Regenerated.
14752 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14753 the linux/fanotify.h header.
14754 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14755 HAVE_LINUX_FANOTIFY_H is defined.
14757 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14759 * benchtests/cos-inputs: New inputs.
14760 * benchtests/sin-inputs: Likewise.
14762 * benchtests/atan-inputs: New inputs. Fix name of multiple
14763 precision fallback inputs.
14765 * benchtests/atanh-inputs: New inputs.
14766 * benchtests/tanh-inputs: Likewise.
14768 * benchtests/acosh-inputs: New inputs.
14769 * benchtests/asinh-inputs: Likewise.
14771 * benchtests/cosh-inputs: New inputs.
14772 * benchtests/sinh-inputs: Likewise.
14774 * benchtests/acos-inputs: Add more inputs.
14775 * benchtests/asin-inputs: Likewise.
14777 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14780 * manual/arith.texi: Fix spelling.
14781 * manual/charset.texi: Likewise.
14782 * manual/errno.texi: Likewise.
14783 * manual/filesys.texi: Likewise.
14784 * manual/lang.texi: Likewise.
14785 * manual/llio.texi: Likewise.
14786 * manual/locale.texi: Likewise.
14787 * manual/message.texi: Likewise.
14788 * manual/resource.texi: Likewise.
14789 * manual/search.texi: Likewise.
14790 * manual/setjmp.texi: Likewise.
14791 * manual/stdio.texi: Likewise.
14792 * manual/string.texi: Likewise.
14793 * manual/sysinfo.texi: Likewise.
14794 * manual/time.texi: Likewise.
14796 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14798 * po/sl.po: New file.
14800 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14802 * .gitignore: Add core/.gdbinit/.gdb_history.
14804 2013-12-27 Allan McRae <allan@archlinux.org>
14807 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14808 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14810 2013-12-24 Brooks Moses <bmoses@google.com>
14812 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14813 all compilers that claim C++98 compliance, not just GCC.
14814 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14817 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14819 * NEWS: Restore accidentally deleted bug-fix entries.
14821 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14822 Ondřej Bílka <neleai@seznam.cz>
14825 * malloc/malloc.c (_int_free): Perform sanity check only if we
14828 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14831 * manual/stdio.texi (String Input Conversions): Clarify that character
14832 classes are not supported.
14834 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14838 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14841 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14842 Calculate results for small negative arguments directly rather
14843 than using reflection formula with special underflow handling.
14845 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14846 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14847 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14848 (fchflags): Likewise.
14849 (revoke): Likewise.
14850 (setlogin): Likewise.
14851 (sigaltstack): Likewise.
14853 (sigblock): Remove.
14854 (sigsetmask): Likewise.
14856 (waitpid): Likewise.
14857 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14858 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14860 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14861 * sysdeps/unix/bsd/Makefile: ... here.
14862 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14863 * sysdeps/unix/bsd/Versions: ... here.
14864 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14865 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14866 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14867 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14868 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14869 * sysdeps/unix/bsd/sigblock.c: ... here.
14870 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14871 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14872 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14873 * sysdeps/unix/bsd/sigvec.c: ... here.
14874 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14875 * sysdeps/unix/bsd/tcdrain.c: ... here.
14876 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14877 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14878 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14879 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14880 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14881 * sysdeps/unix/bsd/wait.c: ... here.
14882 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14883 * sysdeps/unix/bsd/wait3.c: ... here.
14884 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14885 * sysdeps/unix/bsd/waitpid.c: ... here.
14887 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14890 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14891 round-to-nearest for [!USE_AS_EXPM1L].
14892 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14893 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14894 more tests of exp and exp10. Expect some exp10 tests to miss
14895 exceptions or fail in directed rounding modes.
14896 * math/auto-libm-test-out: Regenerated.
14897 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14898 (exp10_test_tonearest): New function.
14899 (exp10_towardzero_test_data): New array.
14900 (exp10_test_towardzero): New function.
14901 (exp10_downward_test_data): New array.
14902 (exp10_test_downward): New function.
14903 (exp10_upward_test_data): New array.
14904 (exp10_test_upward): New function.
14905 (main): Call the new functions.
14906 * sysdeps/i386/fpu/libm-test-ulps: Update.
14907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14909 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14911 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14912 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14913 * math/auto-libm-test-out: Regenerated.
14914 * math/libm-test.inc (acosh_test_data): Add more tests.
14915 (atanh_test_data): Likewise.
14916 (ceil_test_data): Likewise.
14917 (copysign_test_data): Likewise.
14918 * sysdeps/i386/fpu/libm-test-ulps: Update.
14919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14921 * timezone/checktab.awk: Update from tzcode 2013i.
14922 * timezone/private.h: Likewise.
14923 * timezone/scheck.c: Likewise.
14924 * timezone/tzfile.h: Likewise.
14925 * timezone/tzselect.ksh: Likewise.
14926 * timezone/zdump.c: Likewise.
14927 * timezone/zic.c: Likewise.
14929 * math/auto-libm-test-in: Add tests of cpow.
14930 * math/auto-libm-test-out: Regenerated.
14931 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14932 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14934 (func_calc_desc): Add mpc_cc_c union field.
14935 (test_functions): Add cpow.
14936 (special_fill_2pi): New function.
14937 (special_real_inputs): Add 2pi.
14938 (calc_generic_results): Handle mpc_cc_c.
14939 * sysdeps/i386/fpu/libm-test-ulps: Update.
14940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14942 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14943 csqrt, ctan and ctanh.
14944 * math/auto-libm-test-out: Regenerated.
14945 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14946 (TEST_COND_x86): Likewise.
14947 (ccos_test_data): Use AUTO_TESTS_c_c.
14948 (ccosh_test_data): Likewise.
14949 (cexp_test_data): Likewise.
14950 (clog_test_data): Likewise.
14951 (csqrt_test_data): Likewise.
14952 (ctan_test_data): Likewise.
14953 (ctan_tonearest_test_data): Likewise.
14954 (ctan_towardzero_test_data): Likewise.
14955 (ctan_downward_test_data): Likewise.
14956 (ctan_upward_test_data): Likewise.
14957 (ctanh_test_data): Likewise.
14958 (ctanh_tonearest_test_data): Likewise.
14959 (ctanh_towardzero_test_data): Likewise.
14960 (ctanh_downward_test_data): Likewise.
14961 (ctanh_upward_test_data): Likewise.
14962 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14964 (func_calc_desc): Add mpc_c_c union field.
14965 (FUNC_mpc_c_c): New macro.
14966 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14967 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14969 (special_fill_min_subnorm_p120): New function.
14970 (special_real_inputs): Add min_subnorm_p120.
14971 (calc_generic_results): Handle mpc_c_c.
14972 * sysdeps/i386/fpu/libm-test-ulps: Update.
14973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14975 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14977 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14978 (do_sin_slow): New functions.
14979 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14980 (cslow2, csloww1, csloww2): Use the new functions.
14982 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14983 Use M to change sign of result instead of X. Assume X is
14985 (csloww1): Likewise.
14989 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14990 arguments A and DA.
14994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14996 (sloww1): Don't adjust sign of DX.
14997 (csloww1): Likewise.
14998 (sloww2): Use X directly and don't adjust sign of DX.
14999 (csloww2): Likewise.
15001 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15003 * math/auto-libm-test-in: Add tests of cabs and carg.
15004 * math/auto-libm-test-out: Regenerated.
15005 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15006 (carg_test_data): Likewise.
15007 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15009 (func_calc_desc): Add mpc_c_f union field.
15010 (test_functions): Add cabs and carg.
15011 (calc_generic_results): Handle mpc_c_f.
15013 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15014 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15015 as a macro and a compat symbol.
15016 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15017 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15018 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15019 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15020 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15021 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15023 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15025 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15027 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15029 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15031 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15033 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15034 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15037 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15041 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15043 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15044 trailing whitespace removed.
15045 * scripts/config.guess: Update to version 2013-11-29.
15046 * scripts/config.sub: Update to version 2013-10-01.
15048 * math/auto-libm-test-in: Add tests of sincos.
15049 * math/auto-libm-test-out: Regenerated.
15050 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15051 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15053 (func_calc_desc): Add mpfr_f_11 union field.
15054 (test_functions): Add sincos.
15055 (calc_generic_results): Handle mpfr_f_11.
15056 * sysdeps/i386/fpu/libm-test-ulps: Update.
15057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15059 2013-12-19 Andreas Schwab <schwab@suse.de>
15061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15063 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15064 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15065 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15067 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15069 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15070 * sysdeps/i386/fpu/libm-test-ulps: Update.
15071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15074 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15075 round-to-nearest mode when using frndint.
15076 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15077 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15078 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15080 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15082 * math/auto-libm-test-out: Regenerated.
15083 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15084 (TEST_COND_x86): Likewise.
15085 (expm1_tonearest_test_data): New array.
15086 (expm1_test_tonearest): New function.
15087 (expm1_towardzero_test_data): New array.
15088 (expm1_test_towardzero): New function.
15089 (expm1_downward_test_data): New array.
15090 (expm1_test_downward): New function.
15091 (expm1_upward_test_data): New array.
15092 (expm1_test_upward): New function.
15093 (main): Run the new test functions.
15094 * sysdeps/i386/fpu/libm-test-ulps: Update.
15095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15097 * include/features.h: Update comment documenting feature test
15098 macros. Mention _DEFAULT_SOURCE in comment.
15099 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15100 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15101 _BSD_SOURCE and _SVID_SOURCE.
15102 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15103 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15104 !_SVID_SOURCE]: Likewise.
15105 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15106 (__USE_POSIX_IMPLICITLY): Define.
15107 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15108 (_POSIX_SOURCE): Undefine and redefine.
15109 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15110 (_POSIX_C_SOURCE): Likewise.
15111 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15112 (Feature Test Macros): Update documentation of default features.
15114 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15116 * benchtests/Makefile: Add bench-strtok.
15117 * benchtests/bench-strtok.c: New file: strtok benchtest.
15119 2013-12-19 Allan McRae <allan@archlinux.org>
15121 * manual/install.texi: Suppress menu for plain text output.
15122 * INSTALL: Regenerated.
15124 2013-12-18 Brooks Moses <bmoses@google.com>
15127 * misc/getauxval.c: Include errno.h.
15128 (__getauxval): Set errno to ENOENT if the requested type is not
15130 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15131 don't declare with __attribute_const__.
15132 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15133 * manual/startup.texi: Document that getauxval sets errno.
15135 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15137 * math/auto-libm-test-in: Add tests of jn and yn.
15138 * math/auto-libm-test-out: Regenerated.
15139 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15140 (yn_test_data): Likewise.
15141 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15143 (func_calc_desc): Add mpfr_if_f union field.
15144 (FUNC_mpfr_if_f): New macro.
15145 (test_functions): Add jn and yn.
15146 (calc_generic_results): Assert type of second input for
15147 mpfr_ff_f. Handle mpfr_if_f.
15148 (output_for_one_input_case): Disable all checking for arguments
15149 fitting floating-point types in case of an integer argument.
15150 * sysdeps/i386/fpu/libm-test-ulps: Update.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15154 Don't expect fegetround reference in libm.so.
15156 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15158 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15159 $(config-cflags-nofma).
15161 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15163 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15164 * math/auto-libm-test-out: Regenerated.
15167 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15168 to determine exponent and adjust argument to have exponent of -1.
15169 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15171 * math/auto-libm-test-out: Regenerated.
15172 * sysdeps/i386/fpu/libm-test-ulps: Update.
15173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15175 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
15177 * manual/probes.texi: Remove cases when per-thread arenas are
15180 2013-12-18 Andreas Schwab <schwab@suse.de>
15182 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15183 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15184 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15185 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15186 * sysdeps/i386/i686/multiarch/Makefile: Update.
15187 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15189 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15191 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15192 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15194 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15197 Support TZ transition times < 00:00:00.
15198 This is needed for version-3 tz-format files; it supports time
15199 stamps past 2037 for America/Godthab (the only entry in the tz
15200 database for which this change is relevant).
15201 * manual/time.texi (TZ Variable): Document transition times
15202 from -167:59:59 through -00:00:01.
15203 * time/tzset.c (tz_rule): Time of day is now signed.
15204 (__tzset_parse_tz): Parse negative time of day.
15206 Document TZ transition times >= 25:00:00.
15207 * manual/time.texi (TZ Variable): Document transition times from
15208 25:00:00 through 167:59:59. These are already supported, and this
15209 support will help with version-3 tz-format files.
15211 * manual/time.texi (TZ Variable): Modernize North America example
15212 to reflect current (i.e., 2007-and-later) daylight saving rules.
15214 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15216 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15218 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15219 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15222 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15223 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15224 * sysdeps/unix/bsd/clock.c: Likewise.
15225 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15226 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15227 * sysdeps/unix/bsd/init-posix.c: Likewise.
15228 * sysdeps/unix/bsd/poll.c: Likewise.
15229 * sysdeps/unix/bsd/ptsname.c: Likewise.
15230 * sysdeps/unix/bsd/seekdir.c: Likewise.
15231 * sysdeps/unix/bsd/setegid.c: Likewise.
15232 * sysdeps/unix/bsd/seteuid.c: Likewise.
15233 * sysdeps/unix/bsd/setgid.c: Likewise.
15234 * sysdeps/unix/bsd/setrgid.c: Likewise.
15235 * sysdeps/unix/bsd/setruid.c: Likewise.
15236 * sysdeps/unix/bsd/setsid.c: Likewise.
15237 * sysdeps/unix/bsd/setuid.c: Likewise.
15238 * sysdeps/unix/bsd/sigaction.c: Likewise.
15239 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15240 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15241 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15242 * sysdeps/unix/bsd/telldir.c: Likewise.
15243 * sysdeps/unix/bsd/times.c: Likewise.
15244 * sysdeps/unix/bsd/usleep.c: Likewise.
15246 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15247 ($(objpfx)libbsd-compat.a): Remove rule.
15249 * include/features.h (__FAVOR_BSD): Do not define.
15250 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15251 features conflicting with POSIX.
15252 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15253 (_BSD_SOURCE): Remove description of not being a subset of other
15254 feature test macros.
15255 * manual/job.texi (getpgrp): Do not document BSD version.
15256 (getpgid): Do not document by reference to BSD getpgrp.
15257 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15258 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15259 * signal/signal.h [__FAVOR_BSD]: Likewise.
15260 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15261 instead of making contents conditional on [__FAVOR_BSD].
15262 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15264 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15268 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15271 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15272 values below 2**-450, not 2**-500.
15273 * math/auto-libm-test-in: Don't allow spurious underflow from
15275 * math/auto-libm-test-out: Regenerated.
15279 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15280 values of ha and hb and sort them after adjusting subnormal
15282 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15284 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15285 values of ea and eb and sort them after adjusting subnormal
15287 * math/auto-libm-test-in: Do not expect some hypot tests of
15288 subnormals to fail. Add more hypot tests.
15289 * math/auto-libm-test-out: Regenerated.
15291 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15294 * sysdeps/sh/s_fma.c: New file.
15295 * sysdeps/sh/s_fmaf.c: New file.
15296 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15298 * sysdeps/sh/Implies: Add sh/soft-fp.
15300 2013-12-16 Roland McGrath <roland@hack.frob.com>
15302 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15303 level of indirection to members `objname', `errstring', `malloced'.
15304 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15305 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15306 it as the __longjmp argument (just pass 1 instead).
15307 (_dl_catch_error): Initialize C with argument pointers and address of
15308 volatile local ERRCODE rather than copying values out of C at return.
15310 2013-12-16 Joseph Myers <joseph@codesourcery.com>
15312 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15313 * math/auto-libm-test-out: Regenerated.
15314 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15315 (hypot_test_data): Likewise.
15316 (pow_test_data): Likewise.
15317 (pow_tonearest_test_data): Likewise.
15318 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15320 (func_calc_desc): Add mpfr_ff_f union field.
15321 (FUNC_mpfr_ff_f): New macro.
15322 (test_functions): Add atan2, hypot and pow.
15323 (special_fill_min): New function.
15324 (special_fill_minus_min): Likewise.
15325 (special_fill_min_subnorm): Likewise.
15326 (special_fill_minus_min_subnorm): Likewise.
15327 (special_real_inputs): Add min, -min, min_subnorm and
15329 (calc_generic_results): Handle mpfr_ff_f.
15330 * sysdeps/i386/fpu/libm-test-ulps: Update.
15331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15333 2013-12-16 Will Newton <will.newton@linaro.org>
15335 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15336 (Aligned Memory Blocks): Add documentation for aligned_alloc
15337 and suggest it as an alternative to posix_memalign.
15338 (Hooks for Malloc): Document __memalign_hook is also called
15339 for aligned_alloc. (Summary of Malloc): Add summary for
15340 aligned alloc. Document __memalign_hook is also called
15343 2013-12-16 Will Newton <will.newton@linaro.org>
15345 * manual/memory.texi (Malloc Examples): Clarify default
15346 alignment documentation. Suggest posix_memalign rather
15347 than memalign or valloc.
15348 (Aligned Memory Blocks): Remove suggestion to use memalign
15349 or valloc. Remove obsolete comment about BSD.
15350 Document memalign errno values and mark the function obsolete.
15351 Document posix_memalign returned error codes. Mark valloc
15352 as obsolete. (Hooks for Malloc): __memalign_hook is also
15353 called for posix_memalign and valloc.
15354 (Summary of Malloc): Add posix_memalign to function summary.
15355 __memalign_hook is also called for posix_memalign and valloc.
15357 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15359 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15363 (sloww): Use mynumber union. Expand ternary operator into
15364 if-else statements.
15365 (cslow): use mynumber union.
15367 2013-12-16 Allan McRae <allan@archlinux.org>
15369 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15370 * configure: Regenerated.
15372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15375 * configure.ac: Added --enable-maintainer-mode. Check for
15376 autoconf when enabled.
15377 * configure: Regenerated.
15379 * nscd/nscd.service: New file.
15380 * nscd/nscd.tmpfiles: New file.
15382 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
15385 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15386 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15387 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15388 (strstr): Add __strstr_sse2_unaligned ifunc.
15389 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15390 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15391 (strcasestr): Remove __strcasestr_sse42 ifunc.
15392 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15393 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15396 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15398 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15399 * sysdeps/sh/bits/fenv.h: ... here.
15400 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15402 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15404 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15407 hypotf multiarch implementations.
15408 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15409 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15410 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15411 multiarch hypot for PPC64.
15412 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15413 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15414 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15415 multiarch hypotf for PPC64.
15417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15418 modff multiarch implementations.
15419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15422 multiarch modf for PPC64.
15423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15426 multiarch modff for PPC64.
15428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15429 and logl multiarch implementations.
15430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15433 multiarch logb for PPC64.
15434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15437 multiarch logb for PPC64.
15438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15441 multiarch logb for PPC64.
15443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15444 isinff multiarch implementation.
15445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15449 multiarch isinf for PPC64.
15450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15453 multiarch isinff for PPC64.
15455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15456 finitef multiarch implementation.
15457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15461 multiarch finite for PPC64.
15462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15465 multiarch finitef for PPC64.
15467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15468 lrint multiarch implementation.
15469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15473 multiarch llrint for PPC64.
15474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15475 multiarch lrint for PPC64.
15477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15478 copysignf multiarch implementation.
15479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15484 multiarch copysign for PPC64.
15485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15486 multiarch copysignf for PPC64.
15488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15489 multiarch implementation.
15490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15498 multiarch llround for PPC64.
15499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15500 multiarch trunc for PPC64.
15501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15502 multiarch truncf for PPC64.
15504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15505 multiarch implementation.
15506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15514 multiarch llround for PPC64.
15515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15516 multiarch round for PPC64.
15517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15518 multiarch roundf for PPC64.
15520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15521 multiarch implementation.
15522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15530 multiarch llround for PPC64.
15531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15532 multiarch floor for PPC64.
15533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15534 multiarch floorf for PPC64.
15536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15537 multiarch implementation.
15538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15546 multiarch llround for PPC64.
15547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15548 multiarch ceil for PPC64.
15549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15550 multiarch ceilf for PPC64.
15552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15553 multiarch implementation.
15554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15561 multiarch llround for PPC64.
15562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15563 multiarch lround for PPC64.
15565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15566 multiarch implementation.
15567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15574 multiarch isnan for PPC64.
15575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15576 multiarch isnanf for PPC64.
15578 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15579 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15580 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15581 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15582 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15585 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15586 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15588 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15591 multiarch implementations.
15592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15593 (__libc_ifunc_impl_list): Likewise.
15594 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15595 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15596 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15597 multiarch stpcpy for PPC64.
15599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15600 multiarch implementations.
15601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15602 (__libc_ifunc_impl_list): Likewise.
15603 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15604 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15605 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15606 multiarch strcpy for PPC64.
15608 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15609 redefine function name.
15610 (_wordcopy_fwd_dest_aligned): Likewise.
15611 (_wordcopy_bwd_aligned): Likewise.
15612 (_wordcopy_bwd_dest_aligned): Likewise.
15613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15614 multiarch implementations.
15615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15616 (__libc_ifunc_impl_list): Likewise.
15617 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15619 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15620 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15621 multiarch wcscpy for PPC64.
15623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15624 multiarch implementations.
15625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15626 (__libc_ifunc_impl_list): Likewise.
15627 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15628 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15629 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15630 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15631 multiarch wcscpy for PPC64.
15633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15634 multiarch implementations.
15635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15636 (__libc_ifunc_impl_list): Likewise.
15637 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15638 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15639 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15640 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15641 multiarch wcsrchr for PPC64.
15643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15644 multiarch implementations.
15645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15646 (__libc_ifunc_impl_list): Likewise.
15647 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15648 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15649 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15650 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15651 multiarch wcschr for PPC64.
15653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15654 multiarch implementations.
15655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15656 (__libc_ifunc_impl_list): Likewise.
15657 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15658 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15659 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15660 multiarch strchrnul for PPC64.
15662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15665 (__libc_ifunc_impl_list): Likewise.
15666 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15667 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15668 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15669 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15675 (__libc_ifunc_impl_list): Likewise.
15676 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15677 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15678 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15679 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15683 multiarch implementations.
15684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15685 (__libc_ifunc_impl_list): Likewise.
15686 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15687 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15688 strncasecmp for PPC64.
15689 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15690 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15691 multiarch strncasecmp_l for PPC64.
15693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15694 multiarch implementations.
15695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15696 (__libc_ifunc_impl_list): Likewise.
15697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15698 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15699 multiarch strcasecmp for PPC64.
15700 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15702 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15703 multiarch strcasecmp_l for PPC64.
15705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15708 (__libc_ifunc_impl_list): Likewise.
15709 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15710 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15711 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15717 (__libc_ifunc_impl_list): Likewise.
15718 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15719 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15720 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15726 (__libc_ifunc_impl_list): Likewise.
15727 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15728 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15729 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15730 rawmemrchr for PPC64.
15732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15735 (__libc_ifunc_impl_list): Likewise.
15736 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15737 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15738 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15744 (__libc_ifunc_impl_list): Likewise.
15745 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15746 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15747 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15753 (__libc_ifunc_impl_list): Likewise.
15754 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15755 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15756 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15759 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15760 avoid cretion of __bzero symbol.
15761 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15763 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15765 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15768 multiarch implementations.
15769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15770 (__libc_ifunc_impl_list): Likewise.
15771 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15772 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15773 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15774 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15776 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15777 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15778 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15779 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15780 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15782 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15784 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15788 (__libc_ifunc_impl_list): Likewise.
15789 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15790 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15791 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15792 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15796 multiarch for POWER/PPC64.
15797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15798 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15799 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15800 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15801 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15802 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15803 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15804 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15805 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15808 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15809 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15810 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15811 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15812 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15813 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15814 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15815 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15816 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15817 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15818 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15819 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15820 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15821 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15822 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15831 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15833 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15835 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15837 * benchtests/Makefile (bench): Add exp2 and log2.
15838 (LDLIBS-bench-exp2): Add -lm.
15839 (LDLIBS-bench-log2): Likewise.
15840 * benchtests/exp2-inputs: New inputs file.
15841 * benchtests/log2-inputs: New inputs file.
15842 * benchtests/log-inputs: Add new inputs.
15843 * benchtests/tan-inputs: Likewise.
15845 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15847 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15849 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15850 (csloww2): ... from here.
15852 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15853 instead of structures.
15854 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15855 (POLYNOMIAL): Likewise.
15856 (TAYLOR_SLOW): Likewise.
15862 (sloww1); Likewise.
15863 (sloww2): Likewise.
15864 (bsloww1): Likewise.
15865 (bsloww2): Likewise.
15866 (cslow2): Likewise.
15867 (csloww): Likewise.
15868 (csloww1): Likewise.
15869 (csloww2): Likewise.
15871 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15873 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15874 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15875 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15876 * malloc/hooks.c (realloc_check): Likewise.
15878 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15879 * malloc/arena.c: Remove PER_THREAD conditional.
15880 [!PER_THREAD]: Remove code.
15881 (ptmalloc_unlock_all2): Likewise.
15882 (ptmalloc_init): Likewise.
15883 (_int_new_arena): Likewise.
15884 (arena_get2): Likewise.
15885 * malloc/hooks.c (__malloc_get_state): Likewise.
15886 (__malloc_set_state): Likewise.
15887 * malloc/malloc.c: Likewise.
15888 (struct malloc_state): Likewise.
15889 (struct malloc_par): Likewise.
15890 (__libc_realloc): Likewise.
15891 (__libc_mallopt): Likewise.
15893 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15895 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15897 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15899 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15900 macro to a function. Check for zero perturb_byte.
15901 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15903 * malloc/malloc.c: (force_reg): Remove.
15904 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15905 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15906 force_reg by atomic_forced_read.
15907 * malloc/arena.c (ptmalloc_init): Likewise.
15908 * malloc/hooks.c (top_check): Likewise.
15910 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15914 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15918 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15920 * math/auto-libm-test-in: Add tests of lgamma.
15921 * math/auto-libm-test-out: Regenerated.
15922 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15923 (M_LOG_2_SQRT_PIl): Likewise.
15924 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15927 (func_calc_desc): Add mpfr_f_f1 union field.
15928 (ARGS1): New macro.
15936 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15937 (test_functions): Add lgamma.
15938 (calc_generic_results): Handle mpfr_f_f1.
15939 * sysdeps/i386/fpu/libm-test-ulps: Update.
15940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15942 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15944 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15945 __mpn_add_n for PowerPC64/POWER7.
15946 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15947 __mpn_sub_n for PowerPC64/POWER7.
15949 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15950 __mpn_addmul_1 for PowerPC64.
15951 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15952 __mpn_submul_1 for PowerPC64.
15953 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15955 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15958 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15961 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15963 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15965 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15967 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15968 add multiarch folders.
15969 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15970 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15971 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15972 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15973 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15974 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15975 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15976 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15977 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15978 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15979 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15988 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15994 multiarch __ieee754_hypot for PowerPC32.
15995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16000 multiarch __ieee754_hypotf for PowerPC32.
16002 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16003 long_double_symbol only if __logbl is defined.
16004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16005 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16006 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16007 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16009 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16010 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16011 path for implementation.
16012 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16015 logb, and logbl multiarch implementations for PowerPC32.
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16021 multiarch logb for PowerPC32.
16022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16027 multiarch logbf for PowerPC32.
16028 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16032 multiarch logbl implementation for PowerPC32.
16034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16035 and modff multiarch implementations.
16036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16041 multiarch modf for PowerPC32.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16047 multiarch modff for PowerPC32.
16049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16050 and lrintf multiarch implementations.
16051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16056 multiarch lrint for PowerPC32.
16057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16058 file: multiarch lrintf for PowerPC32.
16060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16061 and lroundf multiarch implementations.
16062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16069 multiarch lround for PowerPC32.
16070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16071 file: multiarch lroundf for PowerPC32.
16073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16074 copysign and copysignf multiarch implementations.
16075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16080 file: multiarch copysign for PowerPC32.
16081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16082 file: multiarch copysignf for PowerPC32.
16084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16085 and truncf multiarch implementations.
16086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16091 multiarch trunc for PowerPC32.
16092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16097 multiarch truncf for PowerPC32.
16099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16100 and roundf multiarch implementations.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16106 multiarch round for PowerPC32.
16107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16112 multiarch roundf for PowerPC32.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16115 and floorf multiarch implementations.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16121 multiarch floor for PowerPC32.
16122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16127 multiarch floorf for PowerPC32.
16129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16130 and ceilf multiarch implementations.
16131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16136 multiarch ceil for PowerPC32.
16137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16142 multiarch ceilf for PowerPC32.
16144 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16146 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16147 FINITEF is defined.
16148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16149 and finitef multiarch implementations.
16150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16155 multiarch finite for PowerPC32.
16156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16159 file: multiarch finitef for PowerPC32.
16161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16162 and isinff multiarch implementations.
16163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16168 multiarch isinf for PowerPC32.
16169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16172 multiarch isinff for PowerPC32.
16174 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16175 alias when __isnan is defined.
16176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16177 and isnanf multiarch implementations.
16178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16187 multiarch isnan for PowerPC32.
16188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16193 multiarch isnanf for PowerPC32.
16195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16196 and sqrtf multiarch implementations.
16197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16202 multiarch sqrt for PowerPC32.
16203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16208 multiarch sqrtf for PowerPC32.
16210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16211 and llroundf multiarch implementations.
16212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16219 file: multiarch llround for PowerPC32.
16220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16221 file: multiarch llroundf for PowerPC32.
16223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16224 multiarch PowerPC32 fpu implementations.
16225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16230 multiarch llrint for PowerPC32.
16231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16240 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16242 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16244 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16246 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16247 multiarch wordcopy for PPC32.
16248 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16250 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16251 (__libc_ifunc_impl_list): Likewise.
16252 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16253 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16254 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16255 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16256 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16257 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16259 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16267 multiarch wcscpy for PPC32.
16268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16271 (__libc_ifunc_impl_list): Likewise.
16272 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16273 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16274 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16275 sysdeps/powerpc/power6/wcscpy.c.
16277 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16285 multiarch wcsrchr for PPC32.
16286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16289 (__libc_ifunc_impl_list): Likewise.
16290 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16291 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16292 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16293 sysdeps/powerpc/power6/wcsrchr.c.
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16301 multiarch wcschr for PPc32.
16302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16305 (__libc_ifunc_impl_list): Likewise.
16306 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16307 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16308 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16309 sysdeps/powerpc/power6/wcschr.c.
16311 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16312 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16314 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16315 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16316 file: multiarch strchr for PPC32.
16317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16320 (__libc_ifunc_impl_list): Likewise.
16322 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16324 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16328 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16329 multiarch strchrnul for PPC32.
16330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16333 (__libc_ifunc_impl_list): Likewise.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16338 multiarch strncasecmp for PPC32.
16339 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16341 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16342 multiarch strncasecmp_l for PPC32.
16343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16344 strncasecmp multiarch objects.
16345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16346 (__libc_ifunc_impl_list): Likewise.
16348 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16350 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16351 multiarch strncasecmp for PPC32.
16352 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16354 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16355 multiarch strcasecmp_l for PPC32.
16356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16359 (__libc_ifunc_impl_list): Likewise.
16361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16366 multiarch strncmp for PPC32.
16367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16370 (__libc_ifunc_impl_list): Likewise.
16372 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16373 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16375 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16376 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16380 (__libc_ifunc_impl_list): Likewise.
16382 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16384 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16386 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16390 (__libc_ifunc_impl_list): Likewise.
16392 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16394 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16396 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16397 multiarch rawmemchr for PPC32.
16398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16401 (__libc_ifunc_impl_list): Likewise.
16403 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16405 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16407 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16408 file: memrchr multiarch for PPC32.
16409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16412 (__libc_ifunc_impl_list): Likewise.
16414 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16415 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16417 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16418 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16419 multiarch memchr for PPC32.
16420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16423 (__libc_ifunc_impl_list): Likewise.
16425 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16426 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16428 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16430 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16431 file: multiarch mempcpy for PPC32.
16432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16435 (__libc_ifunc_impl_list): Likewise.
16437 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16438 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16439 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16440 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16441 multiarch bzero for PPC32.
16442 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16444 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16446 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16447 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16448 file: multiarch memset for PPC32.
16449 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16451 memset multiarch objects.
16452 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16453 (__libc_ifunc_impl_list): Likewise.
16455 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16457 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16460 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16464 (__libc_ifunc_impl_list): Likewise.
16466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16467 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16468 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16472 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16474 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16475 multiarch memcpy for PPC32.
16476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16479 (__libc_ifunc_impl_list): Likewise.
16481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16482 support multiarch for POWER/PPC32.
16483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16485 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16487 Implies file to make multiarch folder appers before the fpu and
16488 default folder for power4 configuration.
16490 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16492 * scripts/bench.pl: Append volatile keyword to type.
16494 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16496 * sysdeps/sh/sotruss-lib.c: New file.
16497 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16499 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16503 2013-12-05 Joseph Myers <joseph@codesourcery.com>
16506 * math/w_tgamma.c: Include <errno.h>.
16507 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16508 * math/w_tgammaf.c: Include <errno.h>.
16509 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16510 * math/w_tgammal.c: Include <errno.h>.
16511 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16512 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16513 underflow. Add more tgamma tests.
16514 * math/auto-libm-test-out: Regenerated.
16515 * sysdeps/i386/fpu/libm-test-ulps: Update.
16516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16518 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16519 sin, sinh, tan, tanh, tgamma, y0 and y1.
16520 * math/auto-libm-test-out: Regenerated.
16521 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16522 (TEST_COND_x86): Likewise.
16523 (M_E2l): Remove macro.
16525 (M_2_SQRT_PIl): Likewise.
16526 (M_SQRT_PIl): Likewise.
16527 (M_1_DIV_El): Likewise.
16528 (log_test_data): Use AUTO_TESTS_f_f.
16529 (log10_test_data): Likewise.
16530 (log1p_test_data): Likewise.
16531 (log2_test_data): Likewise.
16532 (sin_test_data): Likewise.
16533 (sin_tonearest_test_data): Likewise.
16534 (sin_towardzero_test_data): Likewise.
16535 (sin_downward_test_data): Likewise.
16536 (sin_upward_test_data): Likewise.
16537 (sinh_test_data): Likewise.
16538 (sinh_tonearest_test_data): Likewise.
16539 (sinh_towardzero_test_data): Likewise.
16540 (sinh_downward_test_data): Likewise.
16541 (sinh_upward_test_data): Likewise.
16542 (tan_test_data): Likewise.
16543 (tan_tonearest_test_data): Likewise.
16544 (tan_towardzero_test_data): Likewise.
16545 (tan_downward_test_data): Likewise.
16546 (tan_upward_test_data): Likewise.
16547 (tanh_test_data): Likewise.
16548 (tgamma_test_data): Likewise.
16549 (y0_test_data): Likewise.
16550 (y1_test_data): Likewise.
16551 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16552 (special_real_inputs): Add pi/4.
16553 * sysdeps/i386/fpu/libm-test-ulps: Update.
16554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16556 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16558 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16559 "longjmp_target" static probes.
16560 (__longjmp): Rename to __longjmp_symbol.
16561 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16562 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16563 on which longjmp to generate.
16564 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16565 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16567 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16568 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16569 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16570 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16571 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16572 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16574 __longjmp_symbol based on which __longjmp to generate.
16575 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16577 (setjmp): Rename to setjmp_symbol.
16578 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16579 (_setjmp): Rename to _setjmp_symbol.
16580 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16581 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16582 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16583 which setjmp to generate.
16584 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16585 "longjmp_target" static probes.
16587 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16589 * benchtests/README: Add note about output arguments.
16590 * benchtests/bench-sincos.c: Remove file.
16591 * benchtests/sincos-inputs: New file.
16592 * scripts/bench.pl: Identify output arguments and define
16593 static variables for them.
16595 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16598 * Makefile (INSTALL): Add install-plain.texi as the primary
16600 * manual/install-plain.texi: New file.
16601 * manual/install.texi: Include node directive only for
16602 non-plaintext output.
16604 2013-12-04 Joseph Myers <joseph@codesourcery.com>
16606 * stdlib/longlong.h: Update from GCC.
16610 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16611 * math/w_j0f.c (y0f): Likewise.
16612 * math/w_j0l.c (__y0l): Likewise.
16613 * math/w_j1.c (y1): Likewise.
16614 * math/w_j1f.c (y1f): Likewise.
16615 * math/w_j1l.c (__y1l): Likewise
16616 * math/w_jn.c (yn): Likewise.
16617 * math/w_jnf.c (ynf): Likewise.
16618 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16619 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16620 value for Bessel function domain errors outside _SVID_ mode.
16621 Adjust sign of return value for yn (negative integer, 0).
16622 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16623 by zero in return for negative x and set sign appropriately for
16625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16626 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16627 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16628 expectations in error cases.
16629 (y1_test_data): Likewise.
16630 (yn_test_data): Likewise.
16631 * sysdeps/i386/fpu/libm-test-ulps: Update.
16632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16634 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16636 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16637 "64" to "64-v1". Add "64-v2".
16638 (abi-64-options): Rename to ...
16639 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16640 (abi-64-condition): Rename to ...
16641 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16642 (abi-64-ld-soname): Rename to ...
16643 (abi-64-v1-ld-soname): ... this.
16644 (abi-64-v2-options): Define.
16645 (abi-64-v2-condition): Likewise.
16646 (abi-64-v2-ld-soname): Likewise.
16647 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16648 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16653 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16654 Alan Modra <amodra@gmail.com>
16656 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16657 New versions for use with the ELFv2 ABI.
16658 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16659 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16661 (struct La_ppc64v2_retval): Likewise.
16662 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16663 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16664 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16665 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16666 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16667 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16668 Do not save or restore CR.
16669 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16670 (_dl_profile_resolve): Do no save or restore CR. Support extended
16671 return values for ELFv2 ABI. Fix location of FPR return registers.
16672 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16673 updated values for _CALL_ELF == 2.
16674 (La_regs, La_retval, int_retval): Likewise.
16676 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16678 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16679 (FRAME_MIN_SIZE_PARM): Likewise.
16680 (FRAME_BACKCHAIN): Likewise.
16681 (FRAME_CR_SAVE): Likewise.
16682 (FRAME_LR_SAVE): Likewise.
16683 (FRAME_TOC_SAVE): Likewise.
16684 (FRAME_PARM_SAVE): Likewise.
16685 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16686 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16687 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16688 (call_mcount_parm_offset): New macro.
16689 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16690 (PROF): Use symbolic stack frame offsets.
16691 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16693 Redefine in terms of FRAME_MIN_SIZE.
16694 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16695 (_dl_profile_resolve): Likewise. Update comment.
16696 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16697 symbols stack frame offsets.
16698 (__sigsetjmp): Likewise.
16699 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16700 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16701 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16702 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16705 (FRAME_BACKCHAIN): Remove.
16706 (FRAME_CR_SAVE): Likewise.
16707 (FRAME_LR_SAVE): Likewise.
16708 (FRAME_COMPILER_DW): Likewise.
16709 (FRAME_LINKER_DW): Likewise.
16710 (FRAME_TOC_SAVE): Likewise.
16711 (FRAME_PARM_SAVE): Likewise.
16712 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16713 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16714 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16716 (CHECK_SP): Use symbolic stack frame offsets.
16717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16718 zone" instead of caller's parameter save area for temp storage.
16719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16720 Likewise. Also, use symbolic stack frame offsets.
16721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16722 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16723 our own stack frame instead of the caller's.
16724 (__socket): Use symbolic stack frame offsets.
16726 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16727 Alan Modra <amodra@gmail.com>
16729 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16731 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16732 (PPC64_LOCAL_ENTRY_OFFSET): Define.
16733 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16735 (elf_machine_fixup_plt): Call it.
16736 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16738 (elf_machine_rela): Update call to elf_machine_plt_conflict.
16739 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16740 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16741 r2 before calling target.
16743 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16744 Alan Modra <amodra@gmail.com>
16746 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16747 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16748 versions of macros to support ELFv2 ABI.
16749 (LOCALENTRY): New macro.
16750 (ENTRY, EALIGN): Use it.
16751 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16752 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16753 fall through into ENTRY entry point.
16754 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16755 Only define if _CALL_ELF != 2.
16757 (elf_machine_matches_host): Verify ABI version matches.
16758 (RTLD_START): Use LOCALENTRY.
16759 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16760 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16761 (PLT_ENTRY_WORDS): New macro.
16762 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16763 (elf_machine_runtime_setup): Support ELFv2 ABI.
16764 (elf_machine_fixup_plt): Likewise.
16765 (elf_machine_plt_conflict): Likewise.
16766 (resolve_ifunc): Likewise.
16767 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16768 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16771 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16773 (makecontext): Support ELFv2 ABI.
16774 * elf/elf.h (EF_PPC64_ABI): Define.
16776 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16778 * sysdeps/powerpc/powerpc64/sysdep.h
16779 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16780 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16781 (ENTRY) [ASSEMBLER]: ... but instead here ...
16782 (EALIGN) [ASSEMBLER]: ... and here.
16783 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16784 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16785 (ENTRY_2) [!ASSEMBLER]: Use it.
16786 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16787 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16788 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16789 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16790 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16792 Use PPC64_LOAD_FUNCPTR.
16794 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16796 2013-12-04 Alan Modra <amodra@gmail.com>
16798 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16799 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16800 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16801 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16804 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16805 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16806 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16807 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16808 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16810 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16813 (__makecontext): Fix incorrect CFI when backtracing out of
16814 context created via makecontext.
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16816 (__setcontext): Fix incorrect CFI during switch to new context.
16817 (__novec_setcontext): Likewise.
16819 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16822 * time/strptime_l.c (__strptime_internal): Allow modifiers
16824 * time/tst-strptime.c (day_tests): Add testcase.
16826 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16828 * scripts/bench.pl: Skip over blank lines.
16830 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16833 * manual/time.texi (Calendar Time): Clarify what timezone functions
16836 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16840 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16842 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16844 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16845 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16846 * debug/memset_chk.c (__memset_chk): Likewise.
16847 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16848 * debug/strncpy_chk.c: Likewise.
16850 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16854 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16855 (__ieee754_exp): For possibly underflowing results, check size of
16856 result and force underflow exception if required.
16857 * math/auto-libm-test-in: Add more tests of exp.
16858 * math/auto-libm-test-out: Regenerated.
16859 * sysdeps/i386/fpu/libm-test-ulps: Update.
16860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16863 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16864 * math/w_exp2f.c (__exp2f): Likewise.
16865 * math/w_exp2l.c (__exp2l): Likewise.
16866 * math/auto-libm-test-in: Do not allow missing errno on exp2
16868 * math/auto-libm-test-out: Regenerated.
16870 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16873 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16874 handle filename validation.
16875 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16878 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16881 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16882 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16883 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16885 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16886 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16887 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16888 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16889 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16890 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16891 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16892 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16893 Add more erfc tests.
16894 * math/auto-libm-test-out: Regenerated.
16895 * sysdeps/i386/fpu/libm-test-ulps: Update.
16896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16898 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16899 exp2, expm1, j0 and j1.
16900 * math/auto-libm-test-out: Regenerated.
16901 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16902 (erfc_test_data): Likewise.
16903 (exp_test_data): Likewise.
16904 (exp_tonearest_test_data): Likewise.
16905 (exp_towardzero_test_data): Likewise.
16906 (exp_downward_test_data): Likewise.
16907 (exp_upward_test_data): Likewise.
16908 (exp10_test_data): Likewise.
16909 (exp2_test_data): Likewise.
16910 (expm1_test_data): Likewise.
16911 (j0_test_data): Likewise.
16912 (j1_test_data): Likewise.
16913 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16914 (input_flag_type): Add flag_xfail_rounding.
16915 (input_flags): Add xfail-rounding.
16916 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16917 (output_for_one_input_case): Handle flag_xfail_rounding.
16918 * sysdeps/i386/fpu/libm-test-ulps: Update.
16919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16921 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16924 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16927 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16930 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16931 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16932 (STAP_PROBE0): New macro.
16933 (STAP_PROBE1): Likewise.
16934 (STAP_PROBE2): Likewise.
16935 (STAP_PROBE3): Likewise.
16936 (STAP_PROBE4): Likewise.
16938 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16940 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16942 2013-12-02 Steve Ellcey <sellcey@mips.com>
16944 * benchtests/Makefile (bench): Add sqrt.
16945 (LDLIBS-bench-sqrt): New.
16946 * benchtests/sqrt-input: New.
16948 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16950 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16951 (GAIH_EAI): Likewise.
16952 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16953 (gaih_inet): Likewise.
16954 (getaddrinfo): Don't use GAIH_EAI.
16956 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16957 (struct gaih): Remove definition.
16959 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16961 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16962 Use HERRNOP directly.
16964 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16968 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16970 * math/gen-auto-libm-tests.c (test_functions): Add more
16971 single-argument functions.
16972 (special_fill_pi_2): New function.
16973 (special_fill_minus_pi_2): Likewise.
16974 (special_fill_pi_6): Likewise.
16975 (special_fill_minus_pi_6): Likewise.
16976 (special_fill_pi_3): Likewise.
16977 (special_fill_2pi_3): Likewise.
16978 (special_fill_e): Likewise.
16979 (special_fill_1_e): Likewise.
16980 (special_fill_e_minus_1): Likewise.
16981 (special_real_inputs): Add more special inputs.
16982 (output_for_one_input_case): Do not require ERANGE on underflow to
16983 zero if round-to-nearest result does not underflow to zero, unless
16984 exact results required.
16985 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16986 atan, atanh, cbrt, cos and cosh.
16987 * math/auto-libm-test-out: Regenerated.
16988 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16989 (acos_tonearest_test_data): Likewise.
16990 (acos_towardzero_test_data): Likewise.
16991 (acos_downward_test_data): Likewise.
16992 (acos_upward_test_data): Likewise.
16993 (acosh_test_data): Likewise.
16994 (asin_test_data): Likewise.
16995 (asin_tonearest_test_data): Likewise.
16996 (asin_towardzero_test_data): Likewise.
16997 (asin_upward_test_data): Likewise.
16998 (asinh_test_data): Likewise.
16999 (atan_test_data): Likewise.
17000 (atanh_test_data): Likewise.
17001 (cbrt_test_data): Likewise.
17002 (cos_test_data): Likewise.
17003 (cos_tonearest_test_data): Likewise.
17004 (cos_towardzero_test_data): Likewise.
17005 (cos_downward_test_data): Likewise.
17006 (cos_upward_test_data): Likewise.
17007 (cosh_test_data): Likewise.
17008 (cosh_tonearest_test_data): Likewise.
17009 (cosh_towardzero_test_data): Likewise.
17010 (cosh_downward_test_data): Likewise.
17011 (cosh_upward_test_data): Likewise.
17012 * sysdeps/i386/fpu/libm-test-ulps: Update.
17013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17015 2013-11-29 Joseph Myers <joseph@codesourcery.com>
17018 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17019 * math/w_exp10f.c (__exp10f): Likewise.
17020 * math/w_exp10l.c (__exp10l): Likewise.
17021 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17022 errno settings in existing tests.
17025 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17026 precision control set to double precision.
17027 * sysdeps/i386/fpu/w_sqrt.c: New file.
17028 * math/auto-libm-test-in: Add more tests.
17029 * math/auto-libm-test-out: Update.
17031 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17032 (sqrt_test_tonearest): New function.
17033 (sqrt_towardzero_test_data): New variable.
17034 (sqrt_test_towardzero): New function.
17035 (sqrt_downward_test_data): New variable.
17036 (sqrt_test_downward): New function.
17037 (sqrt_upward_test_data): New variable.
17038 (sqrt_test_upward): New function.
17039 (main): Call the new functions.
17041 * math/gen-auto-libm-tests.c: New file.
17042 * math/auto-libm-test-in: Likewise.
17043 * math/auto-libm-test-out: New generated file.
17044 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17046 (%beautify): Add generated representations of zero.
17047 (top level): Set $auto_input and call parse_auto_input.
17048 (beautify): Remove trailing "f" from hex float constants.
17049 (parse_args): Handle XFAIL_TEST.
17050 (convert_condition): New function.
17051 (or_value): Likewise.
17052 (or_cond_value): Likewise.
17053 (generate_testfile): Handle AUTO_TESTS_* lines.
17054 (parse_auto_input): New function.
17055 * math/libm-test.inc (XFAIL_TEST): New macro.
17056 (ERRNO_UNCHANGED): Update value.
17057 (ERRNO_EDOM): Likewise.
17058 (ERRNO_ERANGE): Likewise.
17059 (IGNORE_RESULT): Likewise.
17060 (TEST_COND_flt_32): New macro.
17061 (TEST_COND_dbl_64): Likewise.
17062 (TEST_COND_ldbl_96_intel): Likewise.
17063 (TEST_COND_ldbl_96_m68k): Likewise.
17064 (TEST_COND_ldbl_128): Likewise.
17065 (TEST_COND_ldbl_128ibm): Likewise.
17066 (TEST_COND_long32): Likewise.
17067 (TEST_COND_long64): Likewise.
17068 (TEST_COND_before_rounding): Likewise.
17069 (TEST_COND_after_rounding): Likewise.
17070 (enable_test): Handle XFAIL_TEST flag.
17071 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17072 with finite results.
17073 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17074 auto-libm-test-out.
17076 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17077 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17080 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17081 __tls_get_addr_internal instead of __tls_get_offset in order to
17082 avoid GOT pointer dependency. Make rtld export
17083 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17084 __tls_get_addr since we are a __tls_get_offset platform.
17085 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17086 GOT pointer being set up before.
17087 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17089 2013-11-28 Joseph Myers <joseph@codesourcery.com>
17091 * manual/math.texi (Errors in Math Functions): Document accuracy
17095 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17096 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17097 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17099 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17100 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17101 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17104 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17108 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17112 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17113 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17114 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17115 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17116 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17118 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17120 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17122 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17123 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17124 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17125 atomic-feupdateenv and flt-rounds.
17126 * sysdeps/powerpc/nofpu/Versions (libc): Add
17127 __atomic_feholdexcept, __atomic_feclearexcept,
17128 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17129 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17130 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17131 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17132 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17137 * manual/arith.texi (FP Exceptions): Document that exceptions may
17138 not be raised when matherr is used.
17139 (Math Error Reporting): Document overflow in directed rounding
17140 modes. Document that errno may not be set when finite values are
17141 returned on overflow. Document intent to set errno on underflow
17142 only for underflow to zero.
17145 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17146 round-to-nearest then adjust result for other rounding modes.
17147 * include/fenv.h (fegetround): Use libm_hidden_proto.
17148 * math/fegetround.c (fegetround): Use libm_hidden_def.
17149 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17150 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17151 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17152 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17154 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17155 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17156 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17157 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17159 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17162 * nss/Versions (libnss_files): Add
17163 _nss_files_gethostbyname3_r.
17164 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17166 (HOST_DB_LOOKUP): Remove macro.
17167 (_nss_files_gethostbyname_r): Implement function without the
17168 HOST_DB_LOOKUP macro.
17169 (_nss_files_gethostbyname2_r): Likewise.
17171 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
17173 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17175 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
17177 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17178 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17181 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17183 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17184 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17185 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17186 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17187 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17188 __fe_nomask_env_priv and attribute_hidden.
17189 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17190 (libc_feupdateenv_test_ppc): Likewise.
17191 (libc_feresetround_ppc): Likewise.
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17193 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17194 compat_symbol macro.
17195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17196 (__fe_nomask_env): Likewise.
17197 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17199 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17201 * string/Makefile: Remove ifunc tests.
17202 * string/test-string.h: Define TEST_IFUNC.
17203 * string/test-bcopy-ifunc.c: Remove.
17204 * string/test-bzero-ifunc.c: Likewise.
17205 * string/test-memccpy-ifunc.c: Likewise.
17206 * string/test-memchr-ifunc.c: Likewise.
17207 * string/test-memcmp-ifunc.c: Likewise.
17208 * string/test-memcpy-ifunc.c: Likewise.
17209 * string/test-memmem-ifunc.c: Likewise.
17210 * string/test-memmove-ifunc.c: Likewise.
17211 * string/test-mempcpy-ifunc.c: Likewise.
17212 * string/test-memrchr-ifunc.c: Likewise.
17213 * string/test-memset-ifunc.c: Likewise.
17214 * string/test-rawmemchr-ifunc.c: Likewise.
17215 * string/test-stpcpy-ifunc.c: Likewise.
17216 * string/test-stpncpy-ifunc.c: Likewise.
17217 * string/test-strcasecmp-ifunc.c: Likewise.
17218 * string/test-strcasestr-ifunc.c: Likewise.
17219 * string/test-strcat-ifunc.c: Likewise.
17220 * string/test-strchr-ifunc.c: Likewise.
17221 * string/test-strchrnul-ifunc.c: Likewise.
17222 * string/test-strcmp-ifunc.c: Likewise.
17223 * string/test-strcpy-ifunc.c: Likewise.
17224 * string/test-strcspn-ifunc.c: Likewise.
17225 * string/test-strlen-ifunc.c: Likewise.
17226 * string/test-strncasecmp-ifunc.c: Likewise.
17227 * string/test-strncat-ifunc.c: Likewise.
17228 * string/test-strncmp-ifunc.c: Likewise.
17229 * string/test-strncpy-ifunc.c: Likewise.
17230 * string/test-strnlen-ifunc.c: Likewise.
17231 * string/test-strpbrk-ifunc.c: Likewise.
17232 * string/test-strrchr-ifunc.c: Likewise.
17233 * string/test-strspn-ifunc.c: Likewise.
17234 * string/test-strstr-ifunc.c: Likewise.
17236 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17238 * benchtests/Makefile: Remove ifunc tests.
17239 * benchtests/bench-string.h: Define TEST_IFUNC.
17240 * benchtests/bench-bcopy-ifunc.c: Remove.
17241 * benchtests/bench-bzero-ifunc.c: Likewise.
17242 * benchtests/bench-memccpy-ifunc.c: Likewise.
17243 * benchtests/bench-memchr-ifunc.c: Likewise.
17244 * benchtests/bench-memcmp-ifunc.c: Likewise.
17245 * benchtests/bench-memcpy-ifunc.c: Likewise.
17246 * benchtests/bench-memmem-ifunc.c: Likewise.
17247 * benchtests/bench-memmove-ifunc.c: Likewise.
17248 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17249 * benchtests/bench-memrchr-ifunc.c: Likewise.
17250 * benchtests/bench-memset-ifunc.c: Likewise.
17251 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17252 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17253 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17254 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17255 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17256 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17257 * benchtests/bench-strcat-ifunc.c: Likewise.
17258 * benchtests/bench-strchr-ifunc.c: Likewise.
17259 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17260 * benchtests/bench-strcmp-ifunc.c: Likewise.
17261 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17262 * benchtests/bench-strcpy-ifunc.c: Likewise.
17263 * benchtests/bench-strcspn-ifunc.c: Likewise.
17264 * benchtests/bench-strlen-ifunc.c: Likewise.
17265 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17266 * benchtests/bench-strncat-ifunc.c: Likewise.
17267 * benchtests/bench-strncmp-ifunc.c: Likewise.
17268 * benchtests/bench-strncpy-ifunc.c: Likewise.
17269 * benchtests/bench-strnlen-ifunc.c: Likewise.
17270 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17271 * benchtests/bench-strrchr-ifunc.c: Likewise.
17272 * benchtests/bench-strsep-ifunc.c: Likewise.
17273 * benchtests/bench-strspn-ifunc.c: Likewise.
17274 * benchtests/bench-strstr-ifunc.c: Likewise.
17276 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17278 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17280 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17282 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17283 * rt/aio.h: Likewise.
17284 * sysdeps/gnu/bits/utmp.h: Likewise.
17285 * sysdeps/gnu/bits/utmpx.h: Likewise.
17286 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17287 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17288 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17289 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17290 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17291 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17292 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17293 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17294 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17295 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17296 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17297 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17298 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17300 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17301 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17302 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17303 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17304 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17305 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17306 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17307 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17308 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17309 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17310 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17312 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17313 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17314 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17315 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17316 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17318 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17320 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17321 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17322 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17323 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17324 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17325 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17326 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17327 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17329 2013-11-25 Carlos O'Donell <carlos@redhat.com>
17332 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17333 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17335 2013-11-25 Joseph Myers <joseph@codesourcery.com>
17337 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17338 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17341 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17344 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17345 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17346 (__fesetround): Remove define.
17347 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17348 rounding and exceptions handling.
17349 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17350 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17351 (__fe_nomask_env): Likewise.
17352 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17353 __fegetround instead of fegetround.
17354 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17355 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17357 2013-11-21 Roland McGrath <roland@hack.frob.com>
17359 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17362 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17364 2013-11-21 Meador Inge <meadori@codesourcery.com>
17367 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17368 (encrypt_r): Likewise.
17369 * malloc/obstack.h (obstack_free): Likewise.
17370 * posix/unistd.h (encrypt): Likewise.
17372 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17374 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17375 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17376 DL_CALL_DT_FINI() that call the functions directly.
17377 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17378 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17379 * elf/dl-fini.c: Likewise.
17381 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
17383 * malloc/hooks.c (memalign_check): Add alignment rounding.
17384 * malloc/malloc.c (_mid_memalign): New function.
17385 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17386 Implement by calling _mid_memalign.
17387 * manual/probes.texi (Memory Allocation Probes): Remove
17388 memory_valloc_retry and memory_pvalloc_retry.
17390 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17392 * locale/programs/locarchive.c (open_archive): Add const
17393 qualifier to ARCHIVEFNAME and copy default fname to
17397 * libio/tst-widetext.input: Rename Oriya to Odia.
17398 * locale/iso-639.def: Likewise.
17400 * manual/probes.texi (Mathematical Function Probes): Add
17401 documentation for sin, cos, asin and acos probes.
17402 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17403 (__sin32): Add slowasin probe.
17404 (__cos32): Add slowacos probe.
17405 (__mpsin): Add slowsin probe.
17406 (__mpcos): Add slowcos probe.
17408 2013-11-19 Joseph Myers <joseph@codesourcery.com>
17411 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17412 thread-local __sim_exceptions_thread and global
17413 __sim_exceptions_global.
17414 (__sim_disabled_exceptions): Change to thread-local
17415 __sim_disabled_exceptions_thread and global
17416 __sim_disabled_exceptions_global.
17417 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17418 and global __sim_round_mode_global.
17419 (__simulate_exceptions): Use thread-local floating-point state and
17420 set global state from it as needed.
17421 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17422 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17423 __sim_round_mode_thread.
17424 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17425 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17426 and global __sim_exceptions_global.
17427 (__sim_disabled_exceptions): Change to thread-local
17428 __sim_disabled_exceptions_thread and global
17429 __sim_disabled_exceptions_global.
17430 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17431 and global __sim_round_mode_global.
17432 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17433 (SIM_SET_GLOBAL): Likewise.
17434 * sysdeps/powerpc/soft-fp/sfp-machine.h
17435 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17436 __sim_round_mode_thread.
17437 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17438 __sim_disabled_exceptions_thread.
17439 (__sim_exceptions): Change to __sim_exceptions_thread.
17440 (__sim_disabled_exceptions): Change to
17441 __sim_disabled_exceptions_thread.
17442 (__sim_round_mode): Change to __sim_round_mode_thread.
17443 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17444 thread-local floating-point state and set global state from it as
17446 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17447 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17448 (__sim_disabled_exceptions): Remove extern declaration.
17449 (feenableexcept): Use thread-local floating-point state and set
17450 global state from it as needed.
17451 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17452 extern declaration.
17453 (__sim_disabled_exceptions): Likewise.
17454 (__sim_round_mode): Likewise.
17455 (__fegetenv): Use thread-local floating-point state.
17456 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17457 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17458 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17459 floating-point state and set global state from it as needed.
17460 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17461 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17462 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17464 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17465 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17467 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17468 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17469 Use __sim_round_mode_thread.
17470 * math/test-fenv-tls.c: New file.
17471 * math/Makefile (tests): Add test-fenv-tls.
17472 ($(objpfx)test-fenv-tls): Depend on
17473 $(common-objpfx)nptl/libpthread.so.
17475 2013-11-19 Andreas Schwab <schwab@suse.de>
17477 * locale/programs/locale.c (show_info): Decode wordarray elements.
17478 * locale/categories.def (LC_MONETARY): Add element for
17479 _NL_MONETARY_CRNCYSTR.
17480 * locale/C-monetary.c (conversion_rate): New variable.
17481 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17484 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17486 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17487 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17489 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17491 * elf/Makefile (tst-auxv): New test.
17492 * elf/tst-auxv.c: New
17493 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17495 2013-11-18 Joseph Myers <joseph@codesourcery.com>
17497 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17498 (hidden_proto): Caller changed.
17499 (hidden_tls_proto): New macro.
17500 (libc_hidden_tls_proto): Likewise.
17501 (rtld_hidden_tls_proto): Likewise.
17502 (libm_hidden_tls_proto): Likewise.
17503 (libresolv_hidden_tls_proto): Likewise.
17504 (librt_hidden_tls_proto): Likewise.
17505 (libdl_hidden_tls_proto): Likewise.
17506 (libnss_files_hidden_tls_proto): Likewise.
17507 (libnsl_hidden_tls_proto): Likewise.
17508 (libnss_nisplus_hidden_tls_proto): Likewise.
17509 (libutil_hidden_tls_proto): Likewise.
17511 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
17514 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17515 (decompose_rpath): Defer expansion to fillin_rpath.
17516 (_dl_init_paths): Pass linkmap to fillin_rpath.
17518 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17520 * benchtests/Makefile: Add strsep.
17521 * benchtests/bench-strsep.c: New file: strsep benchtest.
17522 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17524 2013-11-18 Andreas Schwab <schwab@suse.de>
17526 * locale/programs/locale.c (show_info) [case byte]: Check for
17527 '\377' instead of '\177'.
17528 * locale/C-monetary.c (not_available): Always use "\377".
17529 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17530 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17531 detect unavailable sign_posn locale elements.
17532 * locale/localeconv.c (__localeconv): For grouping and
17533 mon_grouping handle "\177" and "\377" like no grouping.
17534 (INT_ELEM): New macro. Use it to set all numeric members.
17535 * locale/programs/ld-monetary.c (monetary_read)
17536 <tok_mon_grouping>: Normalize single -1 to the empty string.
17537 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17540 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17543 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17544 when we match (nil).
17545 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17547 2013-11-16 Joseph Myers <joseph@codesourcery.com>
17549 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17550 (NO_TEST_INLINE): Update value.
17551 (ERRNO_UNCHANGED): Likewise.
17552 (ERRNO_EDOM): Likewise.
17553 (ERRNO_ERANGE): Likewise.
17554 (IGNORE_RESULT): Likewise.
17555 (check_float_internal): Check signs of NaN results if
17556 TEST_NAN_SIGN used.
17557 (check_complex): Pass TEST_NAN_SIGN flag through to second
17558 check_float_internal call.
17559 (copysign_test_data): Add tests with quiet NaNs as second
17560 argument. Use TEST_NAN_SIGN.
17561 (fabs_test_data): Add test of negative quiet NaN argument. Use
17563 (signbit_test_data): Add tests of quiet NaN argument.
17564 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17566 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17568 (parse_args): Handle function results specified as IGNORE.
17569 * math/libm-test.inc (IGNORE_RESULT): New macro.
17570 (check_float_internal): Do not check numerical result if flag
17572 (check_complex): Pass through IGNORE_RESULT to second
17573 check_float_internal call.
17574 (check_int): Do not check numerical result if flag IGNORE_RESULT
17576 (check_long): Likewise.
17577 (check_bool): Likewise.
17578 (check_longlong): Likewise.
17579 (lrint_test_data): Add tests of infinite and NaN arguments.
17580 (lrint_tonearest_test_data): Likewise.
17581 (lrint_towardzero_test_data): Likewise.
17582 (lrint_downward_test_data): Likewise.
17583 (lrint_upward_test_data): Likewise.
17584 (llrint_test_data): Likewise.
17585 (llrint_tonearest_test_data): Likewise.
17586 (llrint_towardzero_test_data): Likewise.
17587 (llrint_downward_test_data): Likewise.
17588 (llrint_upward_test_data): Likewise.
17589 (lround_test_data): Likewise.
17590 (llround_test_data): Likewise.
17592 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17593 (ERRNO_UNCHANGED): Update value.
17594 (ERRNO_EDOM): Likewise.
17595 (ERRNO_ERANGE): Likewise.
17596 (NO_TEST_INLINE_FLOAT): New macro.
17597 (NO_TEST_INLINE_DOUBLE): Likewise.
17598 (enable_test): New function.
17599 (RUN_TEST_f_f): Check enable_test before running test.
17600 (RUN_TEST_2_f): Likewise.
17601 (RUN_TEST_fff_f): Likewise.
17602 (RUN_TEST_c_f): Likewise.
17603 (RUN_TEST_f_f1): Likewise.
17604 (RUN_TEST_fF_f1): Likewise.
17605 (RUN_TEST_fI_f1): Likewise.
17606 (RUN_TEST_ffI_f1): Likewise.
17607 (RUN_TEST_c_c): Likewise.
17608 (RUN_TEST_cc_c): Likewise.
17609 (RUN_TEST_f_i): Likewise.
17610 (RUN_TEST_f_i_tg): Likewise.
17611 (RUN_TEST_ff_i_tg): Likewise.
17612 (RUN_TEST_f_b): Likewise.
17613 (RUN_TEST_f_b_tg): Likewise.
17614 (RUN_TEST_f_l): Likewise.
17615 (RUN_TEST_f_L): Likewise.
17616 (RUN_TEST_fFF_11): Likewise.
17617 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17619 (cosh_test_data): Likewise.
17620 (exp_test_data): Likewise.
17621 (expm1_test_data): Likewise.
17622 (hypot_test_data): Likewise.
17623 (pow_test_data): Likewise.
17624 (sinh_test_data): Likewise.
17625 (tanh_test_data): Likewise.
17626 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17629 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17630 tests with quiet NaN input and output.
17631 (acosh_test_data): Likewise.
17632 (asin_test_data): Likewise.
17633 (asinh_test_data): Likewise.
17634 (atan_test_data): Likewise.
17635 (atanh_test_data): Likewise.
17636 (atan2_test_data): Likewise.
17637 (cbrt_test_data): Likewise.
17638 (cos_test_data): Likewise.
17639 (cosh_test_data): Likewise.
17640 (erf_test_data): Likewise.
17641 (erfc_test_data): Likewise.
17642 (exp_test_data): Likewise.
17643 (exp10_test_data): Likewise.
17644 (exp2_test_data): Likewise.
17645 (expm1_test_data): Likewise.
17646 (hypot_test_data): Likewise.
17647 (j0_test_data): Likewise.
17648 (j1_test_data): Likewise.
17649 (jn_test_data): Likewise.
17650 (lgamma_test_data): Likewise.
17651 (log_test_data): Likewise.
17652 (log10_test_data): Likewise.
17653 (log1p_test_data): Likewise.
17654 (log2_test_data): Likewise.
17655 (pow_test_data): Likewise.
17656 (scalb_test_data): Likewise.
17657 (sin_test_data): Likewise.
17658 (sincos_test_data): Likewise.
17659 (sinh_test_data): Likewise.
17660 (tan_test_data): Likewise.
17661 (tanh_test_data): Likewise.
17662 (tgamma_test_data): Likewise.
17663 (y0_test_data): Likewise.
17664 (y1_test_data): Likewise.
17665 (yn_test_data): Likewise.
17668 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17669 argument being NaN and avoid computations with second argument in
17671 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17672 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17673 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17675 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17677 * locale/iso-639.def: Add Chitwani Tharu (the).
17679 2013-11-14 Andreas Schwab <schwab@suse.de>
17681 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17682 word instead of empty string.
17684 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17687 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17689 (__fe_nomask_env): Likewise.
17691 2013-11-13 Steve Ellcey <sellcey@mips.com>
17693 * benchtests/bench-timing.h: Include time.h.
17695 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17698 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17700 * sysdeps/unix/sysv/linux/configure: Regenerated.
17702 2013-11-13 Joseph Myers <joseph@codesourcery.com>
17705 * stdlib/strtod_l.c (round_and_return): Do not consider
17706 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17707 exponent one less than half the least subnormal exponent.
17708 * stdlib/test-strtod-round-data: Add more tests.
17709 * stdlib/tst-strtod-round.c (tests): Regenerated.
17711 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17714 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17715 (__fe_mask_env): Likewise.
17716 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17717 libm_hidden_proto and add function prototype.
17718 (__fe_mask_env): Add function prototype.
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17720 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17722 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17724 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17726 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17728 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17729 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17731 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17733 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17734 of htab_find_slot().
17736 2013-11-11 David S. Miller <davem@davemloft.net>
17739 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17740 symbol in the non-vis3 case in static builds.
17741 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17742 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17743 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17744 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17746 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17749 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17752 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17754 * benchtests/Makefile: Add bench-strtod.
17755 * benchtests/bench-strtod.c: New file: strtod benchtest
17757 2013-11-11 Andreas Schwab <schwab@suse.de>
17760 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17761 terminating NUL in key length.
17763 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17765 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17766 Add artificial ODP entry for vDSO symbol for PPC64.
17767 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17768 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17770 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17773 * nss/getent.c (services_keys): Recognize services starting with digit.
17775 2013-11-06 David S. Miller <davem@davemloft.net>
17778 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17779 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17781 2013-11-06 Will Newton <will.newton@linaro.org>
17783 * manual/memory.texi (Malloc Examples): Remove register
17784 keyword from examples.
17786 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17788 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17790 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17793 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17794 depending on [__GCC_IEC_559 > 0].
17795 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17796 depending on [__GCC_IEC_559_COMPLEX > 0].
17798 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17800 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17803 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17805 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17807 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17810 * malloc/malloc (malloc_info): Do not handle first bin as
17813 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17815 * locale/iso-639.def: Add Central Nahuatl (nhn).
17817 2013-11-01 Bruno Haible <bruno@clisp.org>
17820 * manual/math.texi (BSD Random): Specify range upper bound as
17823 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17825 * locale/iso-639.def: Add Meadow Mari (mhr).
17827 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17829 [BZ #14752], [BZ #15763]
17830 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17832 * rt/tst_shm.c: Add test for escaping directory.
17834 2013-10-31 Andreas Schwab <schwab@suse.de>
17837 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17838 followed by 'x' as part of digit sequence.
17839 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17841 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17844 * configure.ac: allow GNU Make 4.0 and greater.
17845 * configure: Regenerated.
17847 2013-10-30 Will Newton <will.newton@linaro.org>
17850 * malloc/hooks.c (memalign_check): Limit alignment to the
17851 maximum representable power of two.
17852 * malloc/malloc.c (__libc_memalign): Likewise.
17853 * malloc/tst-memalign.c (do_test): Add test for very
17854 large alignment values.
17855 * malloc/tst-posix_memalign.c (do_test): Likewise.
17857 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17860 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17861 (munmap_chunk): Likewise.
17862 (mremap_chunk): Likewise.
17864 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17867 * stdlib/div.c (div): Remove obsolete code.
17868 * stdlib/ldiv.c (ldiv): Likewise.
17869 * stdlib/lldiv.c (lldiv): Likewise.
17871 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17874 * nss/nss_files/files-XXX.c (get_contents_ret): New
17876 (get_contents): New function.
17877 (internal_getent): Use it. Expand size of LINEBUFLEN.
17879 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17881 * configure.in: Moved to ...
17882 * configure.ac: ... here. Change reference to configure.in
17884 * sysdeps/arm/preconfigure.ac: ... here.
17885 configure.in to configure.ac.
17886 * sysdeps/gnu/configure.in: Moved to ...
17887 * sysdeps/gnu/configure.ac: ... here.
17888 * sysdeps/i386/configure.in: Moved to ...
17889 * sysdeps/i386/configure.ac: ... here.
17890 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17891 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17892 * sysdeps/mach/configure.in: Moved to ...
17893 * sysdeps/mach/configure.ac: ... here.
17894 * sysdeps/mach/hurd/configure.in: Moved to ...
17895 * sysdeps/mach/hurd/configure.ac: ... here.
17896 * sysdeps/powerpc/configure.in: Moved to ...
17897 * sysdeps/powerpc/configure.ac: ... here.
17898 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17899 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17900 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17901 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17902 * sysdeps/s390/s390-32/configure.in: Moved to ...
17903 * sysdeps/s390/s390-32/configure.ac: ... here.
17904 * sysdeps/s390/s390-64/configure.in: Moved to ...
17905 * sysdeps/s390/s390-64/configure.ac: ... here.
17906 * sysdeps/sh/configure.in: Moved to ...
17907 * sysdeps/sh/configure.ac: ... here.
17908 * sysdeps/sparc/configure.in: Moved to ...
17909 * sysdeps/sparc/configure.ac: ... here.
17910 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17911 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17912 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17913 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17914 * sysdeps/x86_64/configure.in: Moved to ...
17915 * sysdeps/x86_64/configure.ac: ... here.
17916 * sysdeps/x86_64/preconfigure.in: Moved to ...
17917 * sysdeps/x86_64/preconfigure.ac: ... here.
17918 * aclocal.m4: Change reference to configure.in to configure.ac.
17919 * config.h.in: Likewise.
17920 * manual/install.texi: Likewise.
17921 * manual/maint.texi: Likewise.
17922 * Makefile: Likewise.
17923 * malloc/Makefile: Likewise.
17924 * nscd/Makefile: Likewise.
17925 * Makeconfig: Change reference to configure.in and
17926 preconfigure.in to configure.ac and preconfigure.ac
17928 * INSTALL: Regenerated.
17929 * configure: Likewise.
17930 * sysdeps/gnu/configure: Likewise.
17931 * sysdeps/i386/configure: Likewise.
17932 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17933 * sysdeps/mach/configure: Likewise.
17934 * sysdeps/mach/hurd/configure: Likewise.
17935 * sysdeps/powerpc/configure: Likewise.
17936 * sysdeps/powerpc/powerpc32/configure: Likewise.
17937 * sysdeps/powerpc/powerpc64/configure: Likewise.
17938 * sysdeps/s390/s390-32/configure: Likewise.
17939 * sysdeps/s390/s390-64/configure: Likewise.
17940 * sysdeps/sh/configure: Likewise.
17941 * sysdeps/sparc/configure: Likewise.
17942 * sysdeps/unix/sysv/linux/configure: Likewise.
17943 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17944 * sysdeps/x86_64/configure: Likewise.
17945 * sysdeps/x86_64/preconfigure: Likewise.
17947 2013-10-29 Andreas Schwab <schwab@suse.de>
17949 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17951 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17953 * benchtests/pow-inputs: Add new inputs.
17955 * benchtests/exp-inputs: Add new inputs.
17957 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17958 conditional check for return value.
17959 (__cos32): Likewise.
17961 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17963 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17964 to provide a boost for large inputs with word alignment.
17965 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17966 implementation based on optimized PPC64 strcpy.
17967 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17968 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17969 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17970 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17972 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17975 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17977 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17980 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17981 * time/tst-strptime.c (day_tests): Add testcase.
17983 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17986 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17988 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17991 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17992 MAP_FAILED on error.
17994 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17997 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17998 heap for large requests.
18000 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18003 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18004 result if the result has no associated interface.
18005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18006 interface for all 127.X.Y.Z addresses.
18008 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
18010 * locale/iso-639.def: Add Ligurian (lij)
18012 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
18015 * sunrpc/rpc_main.c: Document rpcgen -5.
18017 2013-10-19 Michael Stahl <mstahl@redhat.com>
18019 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18021 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18024 * posix/glob.c: Match only directories when trailing slash is present.
18025 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18026 (main): Add testcase.
18028 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18031 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18033 2013-10-18 Carlos O'Donell <carlos@redhat.com>
18035 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18036 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18037 AUTH_DES and cindex for FIPS 140-2.
18038 (DES Encryption): Add cindex FIPS 46-3.
18040 * locale/locarchive.h (struct locarhandle): Add fname.
18041 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18042 if an optional argument was specified to --list-archive,
18044 * locale/programs/locarchive.c (show_archive_content): Take new
18045 argument fname and pass it via ah.fname to open_archive.
18046 * locale/programs/localedef.h: Update decl.
18047 (open_archive): If AH->fname is non-null, open that file
18048 rather than the default file name, and don't ignore ENOENT.
18049 (create_archive): Set AH.fname to NULL.
18050 (delete_locales_from_archive): Likewise.
18051 (add_locales_to_archive): Likewise.
18052 * locale/programs/locfile.c (write_all_categories): Likewise.
18054 2013-10-18 Joseph Myers <joseph@codesourcery.com>
18055 Aldy Hernandez <aldyh@redhat.com>
18057 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18058 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18059 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18060 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18061 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18062 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18063 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18064 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18065 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18066 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18067 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18068 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18069 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18070 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18071 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18073 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18075 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18077 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18079 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18080 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18082 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18083 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18084 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18085 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18087 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18088 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18089 * sysdeps/powerpc/preconfigure: Likewise.
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18092 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18093 Replace contents of file by #include of <fenv_libc.h>.
18094 * sysdeps/powerpc/soft-fp/sfp-machine.h
18095 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18097 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18101 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18102 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18104 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18105 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18106 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18107 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18108 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18110 Allow copysignl PLT reference to be missing.
18112 2013-10-18 Richard Sandiford <richard@codesourcery.com>
18113 Joseph Myers <joseph@codesourcery.com
18116 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18118 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18120 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18122 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18123 * elf/tst-tls1.c: Likewise.
18124 * elf/tst-tls10.h: Likewise.
18125 * elf/tst-tls14.c: Likewise.
18126 * elf/tst-tls2.c: Likewise.
18127 * elf/tst-tls3.c: Likewise.
18128 * elf/tst-tls4.c: Likewise.
18129 * elf/tst-tls5.c: Likewise.
18130 * elf/tst-tls6.c: Likewise.
18131 * elf/tst-tls7.c: Likewise.
18132 * elf/tst-tls8.c: Likewise.
18133 * elf/tst-tls9.c: Likewise.
18134 * elf/tst-tlsmod1.c: Likewise.
18135 * elf/tst-tlsmod13.c: Likewise.
18136 * elf/tst-tlsmod13a.c: Likewise.
18137 * elf/tst-tlsmod14a.c: Likewise.
18138 * elf/tst-tlsmod16a.c: Likewise.
18139 * elf/tst-tlsmod16b.c: Likewise.
18140 * elf/tst-tlsmod2.c: Likewise.
18141 * elf/tst-tlsmod3.c: Likewise.
18142 * elf/tst-tlsmod4.c: Likewise.
18143 * elf/tst-tlsmod5.c: Likewise.
18144 * elf/tst-tlsmod6.c: Likewise.
18146 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
18149 * malloc/malloc.c: remove checks for statistics.
18151 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18154 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18155 * inet/tst-network.c: Add testcase.
18157 2013-10-17 Andreas Schwab <schwab@suse.de>
18160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18161 to determine canonical name.
18163 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18165 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18166 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18168 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18170 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18177 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18179 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18180 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18182 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18183 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18189 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18190 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18195 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18209 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18211 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18213 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18215 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18220 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18224 2013-10-17 Joseph Myers <joseph@codesourcery.com>
18227 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18228 make result into a quiet NaN.
18230 2013-10-16 Joseph Myers <joseph@codesourcery.com>
18232 * soft-fp/adddf3.c: Fix horizontal whitespace.
18233 * soft-fp/addsf3.c: Likewise.
18234 * soft-fp/addtf3.c: Likewise.
18235 * soft-fp/divdf3.c: Likewise.
18236 * soft-fp/divsf3.c: Likewise.
18237 * soft-fp/divtf3.c: Likewise.
18238 * soft-fp/double.h: Likewise.
18239 * soft-fp/eqdf2.c: Likewise.
18240 * soft-fp/eqsf2.c: Likewise.
18241 * soft-fp/eqtf2.c: Likewise.
18242 * soft-fp/extenddftf2.c: Likewise.
18243 * soft-fp/extended.h: Likewise.
18244 * soft-fp/extendsfdf2.c: Likewise.
18245 * soft-fp/extendsftf2.c: Likewise.
18246 * soft-fp/extendxftf2.c: Likewise.
18247 * soft-fp/fixdfdi.c: Likewise.
18248 * soft-fp/fixdfsi.c: Likewise.
18249 * soft-fp/fixdfti.c: Likewise.
18250 * soft-fp/fixsfdi.c: Likewise.
18251 * soft-fp/fixsfsi.c: Likewise.
18252 * soft-fp/fixsfti.c: Likewise.
18253 * soft-fp/fixtfdi.c: Likewise.
18254 * soft-fp/fixtfsi.c: Likewise.
18255 * soft-fp/fixtfti.c: Likewise.
18256 * soft-fp/fixunsdfdi.c: Likewise.
18257 * soft-fp/fixunsdfsi.c: Likewise.
18258 * soft-fp/fixunsdfti.c: Likewise.
18259 * soft-fp/fixunssfdi.c: Likewise.
18260 * soft-fp/fixunssfsi.c: Likewise.
18261 * soft-fp/fixunssfti.c: Likewise.
18262 * soft-fp/fixunstfdi.c: Likewise.
18263 * soft-fp/fixunstfsi.c: Likewise.
18264 * soft-fp/fixunstfti.c: Likewise.
18265 * soft-fp/floatdidf.c: Likewise.
18266 * soft-fp/floatdisf.c: Likewise.
18267 * soft-fp/floatditf.c: Likewise.
18268 * soft-fp/floatsidf.c: Likewise.
18269 * soft-fp/floatsisf.c: Likewise.
18270 * soft-fp/floatsitf.c: Likewise.
18271 * soft-fp/floattidf.c: Likewise.
18272 * soft-fp/floattisf.c: Likewise.
18273 * soft-fp/floattitf.c: Likewise.
18274 * soft-fp/floatundidf.c: Likewise.
18275 * soft-fp/floatundisf.c: Likewise.
18276 * soft-fp/floatunditf.c: Likewise.
18277 * soft-fp/floatunsidf.c: Likewise.
18278 * soft-fp/floatunsisf.c: Likewise.
18279 * soft-fp/floatunsitf.c: Likewise.
18280 * soft-fp/floatuntidf.c: Likewise.
18281 * soft-fp/floatuntisf.c: Likewise.
18282 * soft-fp/floatuntitf.c: Likewise.
18283 * soft-fp/fmadf4.c: Likewise.
18284 * soft-fp/fmasf4.c: Likewise.
18285 * soft-fp/fmatf4.c: Likewise.
18286 * soft-fp/gedf2.c: Likewise.
18287 * soft-fp/gesf2.c: Likewise.
18288 * soft-fp/getf2.c: Likewise.
18289 * soft-fp/ledf2.c: Likewise.
18290 * soft-fp/lesf2.c: Likewise.
18291 * soft-fp/letf2.c: Likewise.
18292 * soft-fp/muldf3.c: Likewise.
18293 * soft-fp/mulsf3.c: Likewise.
18294 * soft-fp/multf3.c: Likewise.
18295 * soft-fp/negdf2.c: Likewise.
18296 * soft-fp/negsf2.c: Likewise.
18297 * soft-fp/negtf2.c: Likewise.
18298 * soft-fp/op-1.h: Likewise.
18299 * soft-fp/op-2.h: Likewise.
18300 * soft-fp/op-4.h: Likewise.
18301 * soft-fp/op-8.h: Likewise.
18302 * soft-fp/op-common.h: Likewise.
18303 * soft-fp/quad.h: Likewise.
18304 * soft-fp/single.h: Likewise.
18305 * soft-fp/soft-fp.h: Likewise.
18306 * soft-fp/sqrtdf2.c: Likewise.
18307 * soft-fp/sqrtsf2.c: Likewise.
18308 * soft-fp/sqrttf2.c: Likewise.
18309 * soft-fp/subdf3.c: Likewise.
18310 * soft-fp/subsf3.c: Likewise.
18311 * soft-fp/subtf3.c: Likewise.
18312 * soft-fp/truncdfsf2.c: Likewise.
18313 * soft-fp/trunctfdf2.c: Likewise.
18314 * soft-fp/trunctfsf2.c: Likewise.
18315 * soft-fp/trunctfxf2.c: Likewise.
18316 * soft-fp/unorddf2.c: Likewise.
18317 * soft-fp/unordsf2.c: Likewise.
18318 * soft-fp/unordtf2.c: Likewise.
18320 2013-10-15 Joseph Myers <joseph@codesourcery.com>
18322 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18323 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18325 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
18327 * elf/dl-libc.c: Clear initfini list after freeing.
18329 2013-10-14 Joseph Myers <joseph@codesourcery.com>
18331 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18332 * soft-fp/addsf3.c: Likewise.
18333 * soft-fp/addtf3.c: Likewise.
18334 * soft-fp/divdf3.c: Likewise.
18335 * soft-fp/divsf3.c: Likewise.
18336 * soft-fp/divtf3.c: Likewise.
18337 * soft-fp/double.h: Likewise.
18338 * soft-fp/eqdf2.c: Likewise.
18339 * soft-fp/eqsf2.c: Likewise.
18340 * soft-fp/eqtf2.c: Likewise.
18341 * soft-fp/extenddftf2.c: Likewise.
18342 * soft-fp/extended.h: Likewise.
18343 * soft-fp/extendsfdf2.c: Likewise.
18344 * soft-fp/extendsftf2.c: Likewise.
18345 * soft-fp/extendxftf2.c: Likewise.
18346 * soft-fp/fixdfdi.c: Likewise.
18347 * soft-fp/fixdfsi.c: Likewise.
18348 * soft-fp/fixdfti.c: Likewise.
18349 * soft-fp/fixsfdi.c: Likewise.
18350 * soft-fp/fixsfsi.c: Likewise.
18351 * soft-fp/fixsfti.c: Likewise.
18352 * soft-fp/fixtfdi.c: Likewise.
18353 * soft-fp/fixtfsi.c: Likewise.
18354 * soft-fp/fixtfti.c: Likewise.
18355 * soft-fp/fixunsdfdi.c: Likewise.
18356 * soft-fp/fixunsdfsi.c: Likewise.
18357 * soft-fp/fixunsdfti.c: Likewise.
18358 * soft-fp/fixunssfdi.c: Likewise.
18359 * soft-fp/fixunssfsi.c: Likewise.
18360 * soft-fp/fixunssfti.c: Likewise.
18361 * soft-fp/fixunstfdi.c: Likewise.
18362 * soft-fp/fixunstfsi.c: Likewise.
18363 * soft-fp/fixunstfti.c: Likewise.
18364 * soft-fp/floatdidf.c: Likewise.
18365 * soft-fp/floatdisf.c: Likewise.
18366 * soft-fp/floatditf.c: Likewise.
18367 * soft-fp/floatsidf.c: Likewise.
18368 * soft-fp/floatsisf.c: Likewise.
18369 * soft-fp/floatsitf.c: Likewise.
18370 * soft-fp/floattidf.c: Likewise.
18371 * soft-fp/floattisf.c: Likewise.
18372 * soft-fp/floattitf.c: Likewise.
18373 * soft-fp/floatundidf.c: Likewise.
18374 * soft-fp/floatundisf.c: Likewise.
18375 * soft-fp/floatunsidf.c: Likewise.
18376 * soft-fp/floatunsisf.c: Likewise.
18377 * soft-fp/floatuntidf.c: Likewise.
18378 * soft-fp/floatuntisf.c: Likewise.
18379 * soft-fp/floatuntitf.c: Likewise.
18380 * soft-fp/fmadf4.c: Likewise.
18381 * soft-fp/fmasf4.c: Likewise.
18382 * soft-fp/fmatf4.c: Likewise.
18383 * soft-fp/gedf2.c: Likewise.
18384 * soft-fp/gesf2.c: Likewise.
18385 * soft-fp/getf2.c: Likewise.
18386 * soft-fp/ledf2.c: Likewise.
18387 * soft-fp/lesf2.c: Likewise.
18388 * soft-fp/letf2.c: Likewise.
18389 * soft-fp/muldf3.c: Likewise.
18390 * soft-fp/mulsf3.c: Likewise.
18391 * soft-fp/multf3.c: Likewise.
18392 * soft-fp/negdf2.c: Likewise.
18393 * soft-fp/negsf2.c: Likewise.
18394 * soft-fp/negtf2.c: Likewise.
18395 * soft-fp/op-1.h: Likewise.
18396 * soft-fp/op-2.h: Likewise.
18397 * soft-fp/op-4.h: Likewise.
18398 * soft-fp/op-8.h: Likewise.
18399 * soft-fp/op-common.h: Likewise.
18400 * soft-fp/quad.h: Likewise.
18401 * soft-fp/single.h: Likewise.
18402 * soft-fp/soft-fp.h: Likewise.
18403 * soft-fp/sqrtdf2.c: Likewise.
18404 * soft-fp/sqrtsf2.c: Likewise.
18405 * soft-fp/sqrttf2.c: Likewise.
18406 * soft-fp/subdf3.c: Likewise.
18407 * soft-fp/subsf3.c: Likewise.
18408 * soft-fp/subtf3.c: Likewise.
18409 * soft-fp/truncdfsf2.c: Likewise.
18410 * soft-fp/trunctfdf2.c: Likewise.
18411 * soft-fp/trunctfsf2.c: Likewise.
18412 * soft-fp/trunctfxf2.c: Likewise.
18413 * soft-fp/unorddf2.c: Likewise.
18414 * soft-fp/unordsf2.c: Likewise.
18415 * soft-fp/unordtf2.c: Likewise.
18417 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
18420 * misc/error.c (error_tail): Fix possible buffer overflow.
18422 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18425 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18428 2013-10-14 P. J. McDermott <pj@pehjota.net>
18431 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18432 testing pipefail option.
18434 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18436 * soft-fp/double.h: Indent preprocessor directives inside #if.
18437 * soft-fp/extended.h: Likewise.
18438 * soft-fp/op-2.h: Likewise.
18439 * soft-fp/op-4.h: Likewise.
18440 * soft-fp/op-common.h: Likewise.
18441 * soft-fp/quad.h: Likewise.
18442 * soft-fp/single.h: Likewise.
18443 * soft-fp/soft-fp.h: Likewise.
18445 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18447 * iconv/iconv_prog.c: Fix typos.
18448 * stdio-common/psiginfo-data.h: Likewise.
18450 2013-10-12 Reuben Thomas <rrt@sc3d.org>
18453 * locale/setlocale.c: Fix typo.
18455 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18458 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18459 signaling NaN arguments.
18460 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18461 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18464 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18465 unordered operands.
18466 * soft-fp/gesf2.c (__gesf2): Likewise.
18467 * soft-fp/getf2.c (__getf2): Likewise.
18468 * soft-fp/ledf2.c (__ledf2): Likewise.
18469 * soft-fp/lesf2.c (__lesf2): Likewise.
18470 * soft-fp/letf2.c (__letf2): Likewise.
18472 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18473 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18474 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18475 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18476 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18477 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18478 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18479 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18480 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18481 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18482 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18483 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18484 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18485 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18486 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18487 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18488 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18489 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18490 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18491 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18492 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18493 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18494 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18495 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18496 * soft-fp/floattidf.c (__floattidf): Likewise.
18497 * soft-fp/floattisf.c (__floattisf): Likewise.
18498 * soft-fp/floattitf.c (__floattitf): Likewise.
18499 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18500 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18501 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18502 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18503 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18504 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18505 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18506 * soft-fp/gesf2.c (__gesf2): Likewise.
18507 * soft-fp/getf2.c (__getf2): Likewise.
18508 * soft-fp/ledf2.c (__ledf2): Likewise.
18509 * soft-fp/lesf2.c (__lesf2): Likewise.
18510 * soft-fp/letf2.c (__letf2): Likewise.
18512 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18513 Undefine and redefine.
18514 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18515 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18516 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18517 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18518 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18519 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18520 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18521 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18522 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18523 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18524 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18525 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18526 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18527 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18528 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18531 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18532 without decrementing exponent if mantissa >= that for the
18533 denominator, not >.
18534 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18535 denominator, not >. Decrement exponent in < case instead of
18536 incrementing in >= case.
18537 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18538 without decrementing exponent if mantissa >= that for the
18539 denominator, not >.
18541 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18542 computing saturated result for unsigned overflow.
18544 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18545 Jeff Law <law@redhat.com>
18547 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18548 (atan2Mp): Add systemtap probe marker.
18549 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18550 (__ieee754_log): Add systemtap probe marker.
18551 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18552 (atanMp): Add systemtap probe marker.
18553 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18554 (tanMp): Add systemtap probe marker.
18555 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18556 (__slowexp): Add systemtap probe marker.
18557 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18558 (__slowpow): Add systemtap probe marker.
18559 * manual/probes.texi: Document probes.
18561 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
18564 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18566 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18568 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18569 written to buffer but not flushed.
18570 * libio/iofwrite_u.c: Likewise.
18571 * libio/iopadn.c: Return bytes returned even if EOF was
18573 * libio/iowpadn.c: Likewise.
18574 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18575 if _IO_padn does not write the whole buffer.
18576 [!COMPILE_WPRINTF] (PAD): Likewise.
18578 2013-10-10 David S. Miller <davem@davemloft.net>
18580 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18583 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18585 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18586 instead of FSF address.
18587 * soft-fp/fixdfti.c: Likewise.
18588 * soft-fp/fixsfti.c: Likewise.
18589 * soft-fp/fixtfti.c: Likewise.
18590 * soft-fp/fixunsdfti.c: Likewise.
18591 * soft-fp/fixunssfti.c: Likewise.
18592 * soft-fp/fixunstfti.c: Likewise.
18593 * soft-fp/floattidf.c: Likewise.
18594 * soft-fp/floattisf.c: Likewise.
18595 * soft-fp/floattitf.c: Likewise.
18596 * soft-fp/floatuntidf.c: Likewise.
18597 * soft-fp/floatuntisf.c: Likewise.
18598 * soft-fp/floatuntitf.c: Likewise.
18599 * soft-fp/trunctfxf2.c: Likewise.
18601 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18602 * soft-fp/fixdfti.c: Likewise.
18603 * soft-fp/fixsfti.c: Likewise.
18604 * soft-fp/fixtfti.c: Likewise.
18605 * soft-fp/fixunsdfti.c: Likewise.
18606 * soft-fp/fixunssfti.c: Likewise.
18607 * soft-fp/fixunstfti.c: Likewise.
18608 * soft-fp/floattidf.c: Likewise.
18609 * soft-fp/floattisf.c: Likewise.
18610 * soft-fp/floattitf.c: Likewise.
18611 * soft-fp/floatuntidf.c: Likewise.
18612 * soft-fp/floatuntisf.c: Likewise.
18613 * soft-fp/floatuntitf.c: Likewise.
18614 * soft-fp/trunctfxf2.c: Likewise.
18616 2013-10-10 David S. Miller <davem@davemloft.net>
18618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18620 2013-10-10 Joseph Myers <joseph@codsourcery.com>
18622 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18623 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18624 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18625 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18626 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18627 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18628 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18631 for NaNs before doing comparisons on argument.
18632 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18635 2013-10-10 Will Newton <will.newton@linaro.org>
18637 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18638 passed to _int_memalign does not overflow.
18640 2013-10-10 Torvald Riegel <triegel@redhat.com>
18642 * scripts/bench.pl: Add include-sources directive.
18643 * benchtests/README: Update documentation.
18645 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18647 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18648 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18649 instead of FP_INIT_ROUNDMODE.
18650 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18651 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18654 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18655 copy class of input value.
18656 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18657 not handle exceptions.
18658 * soft-fp/negsf2.c (__negsf2): Likewise.
18659 * soft-fp/negtf2.c (__negtf2): Likewise.
18660 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18662 2013-10-09 Joseph Myers <joseph@codesourcery.com>
18664 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18665 semicolon. From Linux kernel.
18667 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18669 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18671 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18674 * manual/socket.texi: Added statement about buffer
18675 for gethostbyname2_r.
18677 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
18679 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18680 Use .p2align directive instead, throughout.
18681 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18682 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18683 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18685 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18686 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18687 * sysdeps/x86_64/strchr.S: Likewise.
18688 * sysdeps/x86_64/strrchr.S: Likewise.
18690 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18692 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18694 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18696 * sysdeps/generic/math_private.h (__mpsin1): Remove
18698 (__mpcos1): Likewise.
18699 (__mpsin): New argument __range_reduce.
18700 (__mpcos): Likewise.
18701 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18702 (slow): Use __mpsin and __mpcos.
18706 (sloww1): Likewise.
18707 (sloww2): Likewise.
18708 (bsloww): Likewise.
18709 (bsloww1): Likewise.
18710 (bsloww2): Likewise.
18711 (cslow2): Likewise.
18712 (csloww): Likewise.
18713 (csloww1): Likewise.
18714 (csloww2): Likewise.
18715 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18716 range_reduce. Merge in __mpsin1.
18717 (__mpcos): Likewise.
18718 (__mpsin1): Remove.
18719 (__mpcos1): Likewise.
18721 2013-10-07 Joseph Myers <joseph@codesourcery.com>
18723 * locale/loadlocale.c (_nl_intern_locale_data): Use
18725 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18726 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18727 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18728 obstack data is appropriately aligned.
18729 (obstack_int32_grow_fast): Likewise.
18730 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18731 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18732 (add_locale_uint32_array): Likewise.
18734 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18736 * benchtests/Makefile: Remove ARGLIST and RET variables.
18737 ($(objpfx)bench-%.c): Pass only function name to the script.
18738 * benchtests/README: Update documentation.
18739 * benchtests/acos-inputs: Add new directives.
18740 * benchtests/acosh-inputs: Likewise.
18741 * benchtests/asin-inputs: Likewise.
18742 * benchtests/asinh-inputs: Likewise.
18743 * benchtests/atan-inputs: Likewise.
18744 * benchtests/atanh-inputs: Likewise.
18745 * benchtests/cos-inputs: Likewise.
18746 * benchtests/cosh-inputs: Likewise.
18747 * benchtests/exp-inputs: Likewise.
18748 * benchtests/log-inputs: Likewise.
18749 * benchtests/pow-inputs: Likewise.
18750 * benchtests/rint-inputs: Likewise.
18751 * benchtests/sin-inputs: Likewise.
18752 * benchtests/sinh-inputs: Likewise.
18753 * benchtests/tan-inputs: Likewise.
18754 * benchtests/tanh-inputs: Likewise.
18755 * scripts/bench.pl: Add support for new directives.
18757 2013-10-07 Alan Modra <amodra@gmail.com>
18759 * README: Fix careless merge.
18761 2013-10-05 Alan Modra <amodra@gmail.com>
18763 * NEWS: Mention powerpc64le support and bugs fixed.
18764 * README: Both big-endian and little-endian powerpc64 supported.
18766 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18768 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18769 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18770 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18771 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18773 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18775 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18778 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18780 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18781 Move -mhard-float appending from
18782 ports/sysdeps/powerpc/powerpc32/Makefile.
18783 [$(with-fp) = yes] (ASFLAGS): Likewise.
18784 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18785 * sysdeps/powerpc/nofpu: Move directory from
18786 ports/sysdeps/powerpc/nofpu.
18787 * sysdeps/powerpc/soft-fp: Move directory from
18788 ports/sysdeps/powerpc/soft-fp.
18789 * sysdeps/powerpc/powerpc32/405: Move directory from
18790 ports/sysdeps/powerpc/powerpc32/405.
18791 * sysdeps/powerpc/powerpc32/440: Move directory from
18792 ports/sysdeps/powerpc/powerpc32/440.
18793 * sysdeps/powerpc/powerpc32/464: Move directory from
18794 ports/sysdeps/powerpc/powerpc32/464.
18795 * sysdeps/powerpc/powerpc32/476: Move directory from
18796 ports/sysdeps/powerpc/powerpc32/476.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18800 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18802 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18804 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18806 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18807 * README: Update for powerpc-*-linux-gnu software floating point
18810 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18811 case to powerpc/powerpc32*.
18812 * sysdeps/unix/sysv/linux/configure: Regenerated.
18814 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18815 (_FPU_MASK_OM): Define as 0x04.
18816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18824 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18827 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18830 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18831 and setcontext_e500.
18833 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18835 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18837 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18839 * manual/threads.texi (Default Thread Attributes): Fix typo.
18841 2013-10-04 Will Newton <will.newton@linaro.org>
18843 * malloc/Makefile: Add tst-memalign.
18844 * malloc/tst-memalign.c: New file.
18846 * malloc/tst-posix_memalign.c: Add comments.
18847 (do_test): Add comments and call free on all potentially
18848 allocated pointers. Add space after cast.
18850 * malloc/tst-pvalloc.c: Add comments.
18851 (do_test): Add comments and call free on all potentially
18852 allocated pointers. Remove duplicate check for NULL pointer.
18853 Add space after cast.
18855 * malloc/tst-valloc.c: Add comments.
18856 (do_test): Add comments and call free on all potentially
18857 allocated pointers. Remove duplicate check for NULL pointer.
18858 Add space after cast.
18860 2013-10-04 Alan Modra <amodra@gmail.com>
18862 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18863 Use stdint types in rather than __attribute__((mode())).
18864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18866 2013-10-04 Alan Modra <amodra@gmail.com>
18868 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18869 Correct handling of unaligned relocs for little-endian.
18870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18872 2013-10-04 Alan Modra <amodra@gmail.com>
18874 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18875 * configure: Regenerate.
18876 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18877 * shlib-versions: Likewise.
18879 2013-10-04 Alan Modra <amodra@gmail.com>
18881 * string/tester.c (test_memrchr): Increment reported test cycle.
18883 2013-10-04 Alan Modra <amodra@gmail.com>
18885 * string/test-memcpy.c (do_one_test): When reporting errors, print
18886 string address and don't overrun end of string.
18888 2013-10-04 Alan Modra <amodra@gmail.com>
18890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18891 insrdi. Make better use of reg selection to speed exit slightly.
18892 Schedule entry path a little better. Remove useless "are we done"
18893 checks on entry to main loop. Handle wrapping around zero address.
18894 Correct main loop count. Handle single left-over word from main
18895 loop inline rather than by using loop_small. Remove extra word
18896 case in loop_small caused by wrong loop count. Add little-endian
18898 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18899 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18901 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18902 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18903 support. Avoid rlwimi.
18904 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18906 2013-10-04 Alan Modra <amodra@gmail.com>
18908 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18909 insrdi. Formatting.
18910 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18911 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18912 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18913 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18914 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18915 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18917 2013-10-04 Alan Modra <amodra@gmail.com>
18919 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18921 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18922 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18923 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18924 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18925 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18926 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18928 use of regs. Use power7 mtocrf. Tidy function tails.
18930 2013-10-04 Alan Modra <amodra@gmail.com>
18932 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18933 Formatting. Consistently use rXXX register defines or rN defines.
18934 Use early exit labels that avoid restoring unused non-volatile regs.
18935 Make cr field use more consistent with rWORDn compares. Rename
18936 regs used as shift registers for unaligned loop, using rN defines
18937 for short lifetime/multiple use regs.
18938 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18939 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18940 addi 1,1,64 to pop stack frame. Simplify return value code.
18941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18943 2013-10-04 Alan Modra <amodra@gmail.com>
18945 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18946 support. Correct typos, formatting. Optimize tail. Use insrdi
18947 rather than rlwimi.
18948 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18949 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18950 little-endian support. Correct typos.
18951 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18952 rather than rlwimi.
18953 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18954 in loop and entry code to keep "and." results.
18955 (strchr): Add little-endian support. Comment. Move cntlzd
18957 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18959 2013-10-04 Alan Modra <amodra@gmail.com>
18961 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18962 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18963 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18964 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18966 2013-10-04 Alan Modra <amodra@gmail.com>
18968 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18969 (rTMP): Define as r11.
18970 (strcmp): Add little-endian support. Optimise tail.
18971 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18972 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18973 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18974 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18979 2013-10-04 Alan Modra <amodra@gmail.com>
18981 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18982 little-endian support. Remove unnecessary "are we done" tests.
18983 Handle "s" wrapping around zero and extremely large "size".
18984 Correct main loop count. Handle single left-over word from main
18985 loop inline rather than by using small_loop. Correct comments.
18986 Delete "zero" tail, use "end_max" instead.
18987 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18989 2013-10-04 Alan Modra <amodra@gmail.com>
18991 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18992 support. Don't branch over align.
18993 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18994 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18995 support. Rearrange tmp reg use to suit. Comment.
18996 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18998 2013-10-04 Alan Modra <amodra@gmail.com>
19000 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19002 2013-10-04 Alan Modra <amodra@gmail.com>
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19005 conditional form of branch and link when obtaining pc.
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19008 2013-10-04 Alan Modra <amodra@gmail.com>
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19015 2013-10-04 Alan Modra <amodra@gmail.com>
19017 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19018 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19019 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19020 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19021 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19022 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19023 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19024 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19025 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19026 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19028 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19029 Alistair Popple <alistair@ozlabs.au.ibm.com>
19030 Alan Modra <amodra@gmail.com>
19033 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19034 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19035 _dl_hwcap access for little-endian.
19036 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19037 destroy vmx regs when saving unaligned.
19038 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19039 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19040 destroy vmx regs when saving unaligned.
19042 2013-10-04 Alan Modra <amodra@gmail.com>
19044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19045 Don't use a union to pack hi/low value.
19047 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19049 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19051 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19053 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19054 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19055 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19057 2013-10-04 Alan Modra <amodra@gmail.com>
19059 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19060 constants to usual value for .cst8 section, and remove redundant
19062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19063 constant for 0x1p52. Load little-endian words of double from
19064 correct stack offsets.
19066 2013-10-04 Alan Modra <amodra@gmail.com>
19068 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19069 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19070 words of double from correct stack offsets.
19071 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19072 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19073 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19074 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19075 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19076 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19077 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19078 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19079 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19080 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19081 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19082 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19083 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19084 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19085 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19086 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19087 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19089 2013-10-04 Alan Modra <amodra@gmail.com>
19091 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19092 64-bit int/double union.
19093 (_FPU_SETCW): Likewise.
19094 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19095 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19097 2013-10-04 Alan Modra <amodra@gmail.com>
19099 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19100 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19102 2013-10-04 Alan Modra <amodra@gmail.com>
19104 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19105 use vector int constants.
19106 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19108 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19110 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19111 array with long long.
19112 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19113 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19114 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19115 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19116 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19117 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19118 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19119 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19120 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19121 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19122 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19123 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19124 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19126 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19128 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19129 (__signbit): Likewise. Correct for little-endian.
19130 (__signbitl): Call __signbit.
19131 (lrint): Correct for little-endian.
19132 (lrintf): Call lrint.
19134 2013-10-04 Alan Modra <amodra@gmail.com>
19136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19137 union 32-bit int array member with 64-bit int array.
19138 (t515, tm256): Double rather than long double.
19139 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19141 2013-10-04 Alan Modra <amodra@gmail.com>
19143 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19145 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19147 version of math_ldbl.h.
19149 2013-10-04 Alan Modra <amodra@gmail.com>
19151 [BZ #15734], [BZ #15735]
19152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19153 all uses of ieee875 long double macros and unions. Simplify test
19154 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19155 ldbl_extract_mantissa value for ix,iy exponents. Properly
19156 normalize after ldbl_extract_mantissa, and don't add hidden bit
19157 already handled. Don't treat low word of ieee854 mantissa like
19158 low word of IBM long double and mask off bit when testing for
19160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19161 all uses of ieee875 long double macros and unions. Simplify tests
19162 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19163 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19164 two1022, instead use their values. Recognise that tests for large
19165 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19166 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19167 Rewrite all uses of ieee875 long double macros and unions. Simplify
19168 test for 0.0L and nan. Correct negation.
19169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19170 ieee875 long double macros and unions. Correct output for large
19171 magnitude x. Correct absolute value calculation.
19172 (__erfcl): Likewise.
19173 * math/libm-test.inc: Add tests for errors discovered in IBM long
19174 double versions of fmodl, remainderl, erfl and erfcl.
19176 2013-10-04 Alan Modra <amodra@gmail.com>
19178 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19179 all uses of ieee854 long double macros and unions. Simplify tests
19180 for long doubles that are fully specified by the high double.
19181 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19183 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19184 Remove dead code too.
19185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19186 (__ieee754_ynl): Likewise.
19187 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19188 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19190 Remove dead code too.
19191 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19193 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19194 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19196 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19198 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19199 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19201 Comment on variable precision.
19202 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19205 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19209 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19211 2013-10-04 Alan Modra <amodra@gmail.com>
19213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19215 all uses of ieee854 long double macros and unions.
19216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19223 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19226 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19229 Simplify sign and nan test too.
19230 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19231 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19232 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19233 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19235 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19236 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19239 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19245 2013-10-04 Alan Modra <amodra@gmail.com>
19247 * stdio-common/printf_size.c (__printf_size): Don't use
19248 union ieee854_long_double in fpnum union.
19249 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19250 signbit macro to retrieve sign from long double.
19251 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19252 retrieve sign from long double.
19253 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19254 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19255 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19256 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19257 * math/test-misc.c (main): Don't use union ieee854_long_double.
19259 2013-10-04 Alan Modra <amodra@gmail.com>
19262 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19263 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19264 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19265 calculation. Remove unnecessary test for denormal exponent.
19266 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19267 Correct handling of denormals. Avoid undefined shift behaviour.
19268 Correct normalisation of low mantissa when low double is denormal.
19269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19270 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19271 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19272 Correct normalisation of low mantissa. Test for overflow of high
19273 mantissa and normalise.
19274 (ldbl_nearbyint): Use more readable constant for two52.
19275 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19276 (__mpn_construct_long_double): Fix test for overflow of high
19277 mantissa and correct normalisation. Avoid undefined shift.
19279 2013-10-04 Alan Modra <amodra@gmail.com>
19281 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19282 (union ibm_extended_long_double): Define as an array of ieee754_double.
19283 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19284 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19285 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19286 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19287 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19288 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19295 2013-10-03 Joseph Myers <joseph@codesourcery.com>
19297 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19298 page size instead of calling getpagesize.
19300 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19301 (LOCFILE_ALIGN_MASK): Likewise.
19302 (LOCFILE_ALIGN_UP): Likewise.
19303 (LOCFILE_ALIGNED_P): Likewise.
19304 * locale/programs/ld-collate.c (collate_output): Use the new
19305 macros instead of __alignof__ (int32_t).
19306 * locale/weight.h (findidx): Likewise.
19308 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
19311 * manual/string.texi: Fix strncat and wcsncat.
19313 2013-10-03 Brooks Moses <bmoses@google.com>
19316 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19317 * Makerules: ...here, and adjust associated comments.
19319 2013-10-02 Will Newton <will.newton@linaro.org>
19321 * malloc/Makefile: Add tst-pvalloc.
19322 * malloc/tst-pvalloc.c: New file.
19324 2013-10-02 Will Newton <will.newton@linaro.org>
19326 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19327 improve test coverage.
19329 2013-10-02 Will Newton <will.newton@linaro.org>
19331 * malloc/Makefile: Add tst-posix_memalign.
19332 * malloc/tst-posix_memalign.c: New file.
19334 2013-10-01 Eric Blake <eblake@redhat.com>
19336 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19337 Use __THROWNL rather than __THROW on static functions.
19339 2013-09-30 Petr Machata <pmachata@redhat.com>
19341 * elf/elf.h (R_AARCH64_ABS16): New macro.
19342 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19343 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19344 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19345 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19346 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19347 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19348 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19349 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19350 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19351 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19352 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19353 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19354 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19355 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19356 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19357 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19358 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19359 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19360 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19361 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19362 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19363 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19364 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19365 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19366 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19367 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19368 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19369 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19370 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19371 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19372 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19373 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19374 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19375 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19376 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19377 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19378 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19379 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19380 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19381 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19382 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19383 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19384 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19385 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19386 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19387 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19388 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19389 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19390 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19391 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19392 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19393 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19394 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19395 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19396 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19397 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19398 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19399 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19400 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19401 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19402 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19403 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19404 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19405 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19406 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19407 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19408 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19409 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19410 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19411 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19412 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19413 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19414 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19415 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19416 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19417 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19418 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19419 (R_AARCH64_TLSDESC_LDR): Likewise.
19420 (R_AARCH64_TLSDESC_ADD): Likewise.
19421 (R_AARCH64_TLSDESC_CALL): Likewise.
19423 2013-09-30 Andreas Schwab <schwab@suse.de>
19426 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19427 the nss database lookup.
19428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19431 2013-09-28 Mike Frysinger <vapier@gentoo.org>
19433 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19435 2013-09-28 P. J. McDermott <pj@pehjota.net>
19437 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19438 ${Bash-specific parameter/pattern/string} parameter expansion.
19439 * sysdeps/unix/make-syscalls.sh: Likewise.
19441 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19443 * sysdeps/sh/stackguard-macros.h: New file.
19445 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
19447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19448 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19449 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19450 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19451 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19452 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19454 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19456 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19457 Fix thread ID register.
19459 2013-09-25 Joseph Myers <joseph@codesourcery.com>
19461 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19462 [POSIX || UNIX98]: Require rather than permitting all symbols from
19464 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19465 element of struct sched_param.
19466 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19467 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19468 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19469 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19472 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19474 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19475 argument calculation.
19477 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19479 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19481 [POSIX] (pthread_attr_t): Do not require type.
19482 [POSIX] (pthread_cond_t): Likewise.
19483 [POSIX] (pthread_condattr_t): Likewise.
19484 [POSIX] (pthread_key_t): Likewise.
19485 [POSIX] (pthread_mutex_t): Likewise.
19486 [POSIX] (pthread_mutexattr_t): Likewise.
19487 [POSIX] (pthread_once_t): Likewise.
19488 [POSIX] (pthread_t): Likewise.
19489 [POSIX-based standards] (pthread_atfork): Expect function.
19491 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19492 Richard Sandiford <richard@codesourcery.com>
19494 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19495 (swap_endianness_p): New extern variable.
19496 (set_big_endian): New inline function.
19497 (maybe_swap_uint32): Likewise.
19498 (maybe_swap_uint32_array): Likewise.
19499 (maybe_swap_uint32_obstack): Likewise.
19500 * locale/programs/locfile.c: Include <stdbool.h>.
19501 (swap_endianness_p): New variable.
19502 (add_locale_uint32): Call maybe_swap_uint32.
19503 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19504 (write_locale_data): Call maybe_swap_uint32_array.
19505 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19507 (obstack_int32_grow_fast): Likewise.
19508 (output_weightwc): Call maybe_swap_uint32_obstack.
19509 (collate_output): Likewise.
19510 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19511 (OPT_LITTLE_ENDIAN): Likewise.
19512 (options): Add --little-endian and --big-endian options.
19513 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19514 * locale/programs/locarchive.c: Include "locfile.h".
19518 (create_archive): Use the new macros to access fields of
19519 structures directly mapped from or written to locale archives.
19520 (oldlocrecentcmp): Likewise.
19521 (enlarge_archive): Likewise.
19522 (insert_name): Likewise.
19523 (add_alias): Likewise.
19524 (add_locale): Likewise.
19525 (delete_locales_from_archive): Likewise.
19526 (show_archive_content): Likewise.
19527 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19530 2013-09-24 Roland McGrath <roland@hack.frob.com>
19532 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19533 http://www.gnu.org/doc/freemanuals.texi.
19534 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19536 2013-09-24 Will Newton <will.newton@linaro.org>
19538 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19541 2013-09-23 Joseph Myers <joseph@codesourcery.com>
19543 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19546 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19548 * manual/threads.texi (POSIX Threads): Fix a typo.
19550 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19553 * string/tst-strcoll-overflow.c: New test case.
19554 * string/Makefile (xtests): Add tst-strcoll-overflow.
19555 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19556 cache if string sizes may cause integer overflow.
19559 * string/strcoll_l.c (coll_seq): New members rule, idx,
19560 save_idx and back_us.
19561 (get_next_seq_nocache): New function.
19562 (do_compare_nocache): New function.
19563 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19566 2013-09-23 Carlos O'Donell <carlos@redhat.com>
19569 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19570 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19571 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19574 * elf/Makefile (tests): Add tst-ptrguard1.
19575 (tests-static): Add tst-ptrguard1-static.
19576 (tst-ptrguard1-ARGS): Define.
19577 (tst-ptrguard1-static-ARGS): Define.
19578 * elf/tst-ptrguard1.c: New file.
19579 * elf/tst-ptrguard1-static.c: New file.
19580 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19581 * sysdeps/i386/stackguard-macros.h: Likewise.
19582 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19583 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19584 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19585 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19586 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19587 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19589 2013-09-23 Hector Marco <hecmargi@upv.es>
19590 Ismael Ripoll <iripoll@disca.upv.es>
19591 Carlos O'Donell <carlos@redhat.com>
19594 * sysdeps/generic/stackguard-macros.h: Define
19595 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19596 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19597 Define __pointer_chk_guard_local.
19598 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19599 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19601 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19604 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19606 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19608 * include/string.h (__ffs): Declare as hidden.
19609 * string/ffs.c (__ffs): Define as hidden.
19610 * sysdeps/i386/ffs.c (__ffs): Likewise.
19611 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19612 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19613 * sysdeps/s390/ffs.c (__ffs): Likewise.
19614 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19616 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
19618 * NEWS: Mention malloc probes.
19620 * malloc/arena.c (new_heap): New memory_heap_new probe.
19621 (grow_heap): New memory_heap_more probe.
19622 (shrink_heap): New memory_heap_less probe.
19623 (heap_trim): New memory_heap_free probe.
19624 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19625 (systrim): New memory_sbrk_less probe.
19626 * manual/probes.texi: Document them.
19628 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19629 * manual/probes.texi: Document it.
19631 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19632 (__libc_realloc): Add memory_realloc_retry probe.
19633 (__libc_memalign): Add memory_memalign_retry probe.
19634 (__libc_valloc): Add memory_valloc_retry probe.
19635 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19636 (__libc_calloc): Add memory_calloc_retry probe.
19637 * manual/probes.texi: Document them.
19639 * malloc/arena.c (get_free_list): Add probe
19640 memory_arena_reuse_free_list.
19641 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19642 and memory_arena_reuse.
19643 (arena_get2) [!PER_THREAD]: Likewise.
19644 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19645 memory_arena_reuse_realloc.
19646 * manual/probes.texi: Document them.
19648 * malloc/malloc.c (__libc_free): Add
19649 memory_mallopt_free_dyn_thresholds probe.
19650 (__libc_mallopt): Add multiple memory_mallopt probes.
19651 * manual/probes.texi: Document them.
19653 * malloc/malloc.c: Include stap-probe.h.
19654 (__libc_mallopt): Add memory_mallopt probe.
19655 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19656 * manual/probes.texi: New.
19657 * manual/Makefile (chapters): Add probes.
19658 * manual/threads.texi: Set next node.
19660 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
19662 [BZ #15963, #13985]
19663 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19664 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19665 Add `Chinese' to `nan' entry name.
19667 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19669 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19670 (POLYNOMIAL): Likewise.
19671 (TAYLOR_SINCOS): Likewise.
19672 (TAYLOR_SLOW): Likewise.
19673 (__sin): Use TAYLOR_SINCOS.
19675 (slow): Use TAYLOR_SLOW.
19677 (bsloww): Likewise.
19678 (csloww): Likewise.
19680 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19682 * stdlib/strtod_l.c: Fix buffer overrun.
19684 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19686 * benchtests/Makefile (bench): Add sincos.
19687 * benchtests/bench-sincos.c: New file.
19689 * math/libm-test.inc (cos_test_data): New test inputs.
19690 (sin_test_data): Likewise.
19692 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19698 (sloww1): Likewise.
19699 (sloww2): Likewise.
19700 (bsloww1): Likewise.
19701 (bsloww2): Likewise.
19702 (cslow2): Likewise.
19703 (csloww1): Likewise.
19704 (csloww2): Likewise.
19706 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19715 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19717 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19718 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19719 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19720 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19721 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19722 * elf/cache.c (print_entry): Handle the new cache flags.
19724 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19725 Aldy Hernandez <aldyh@redhat.com>
19727 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19728 Change condition to [_SOFT_FLOAT].
19729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19739 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19741 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19744 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19747 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19749 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19750 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19751 (__longjmp): Use LOAD_GP to load saved GPRs.
19752 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19753 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19754 (__sigsetjmp): Use SAVE_GP to save GPRs.
19756 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19757 Do not append -msoft-float.
19758 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19760 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19762 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19764 2013-09-17 Joseph Myers <joseph@codesourcery.com>
19767 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19768 (_FPU_GETCW): Use initial "__" on variable and field names but not
19769 on macro parameter name.
19770 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19771 parentheses around reference to macro parameter.
19773 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19775 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19777 (ctype_startup): Use uint32_t in cast and sizeof for
19780 2013-09-11 Jia Liu <proljc@gmail.com>
19782 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19784 [__FreeBSD__]: Likewise.
19786 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19789 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19790 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19791 (strchr): Remove __strchr_sse42 ifunc selection.
19792 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19793 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19795 2013-09-11 Will Newton <will.newton@linaro.org>
19797 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19798 parameter to RES. Remove hardcoded 1000 value.
19799 * benchtests/bench-skeleton.c (main): Pass RES parameter
19800 to TIMING_INIT and multiply result by 1000.
19802 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19806 2013-09-11 Andreas Schwab <schwab@suse.de>
19808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19810 (O_TMPFILE) [__USE_GNU]: Define.
19811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19814 2013-09-11 Will Newton <will.newton@linaro.org>
19817 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19820 2013-09-11 Will Newton <will.newton@linaro.org>
19823 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19826 2013-09-11 Will Newton <will.newton@linaro.org>
19829 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19832 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19834 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19835 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19836 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19837 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19838 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19840 2013-09-10 Allan McRae <allan@archlinux.org>
19843 * manual/arith.texi (Parsing of Floats): Clarify
19847 * manual/install.texi (Running make install): Mention
19849 * INSTALL: Regenerated.
19851 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19853 * csu/init-first.c (_init): Remove the !SHARED condition around
19854 FPU control word initialization.
19855 * elf/dl-support.c (_dl_fpu_control): New variable.
19856 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19857 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19858 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19859 * math/test-fpucw-static.c: New file.
19860 * math/test-fpucw-ieee.c: New file.
19861 * math/test-fpucw-ieee-static.c: New file.
19862 * math/Makefile (tests): Add `test-fpucw-ieee' and
19864 (tests-static): New variable.
19865 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19867 [($(build-shared),yes)]
19868 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19870 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19873 2013-09-09 Allan McRae <allan@archlinux.org>
19876 * manual/string.texi (Collation Functions): Fix typo in
19878 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19881 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19884 * libio/memstream.c (open_memstream): Fix memory leak.
19885 * libio/wmemstream.c (open_wmemstream): Likewise.
19888 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19890 2013-09-09 Will Newton <will.newton@linaro.org>
19892 * malloc/Makefile: Add tst-realloc to tests.
19893 * malloc/tst-realloc.c: New file.
19895 2013-09-09 Allan McRae <allan@archlinux.org>
19898 * COPYING: Update from GNU website to fix FSF address.
19899 * COPYING.LIB: Likewise.
19901 2013-09-06 David S. Miller <davem@davemloft.net>
19903 * po/zh_TW.po: Update Chinese (traditional) translation from
19904 translation project.
19906 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19907 Joseph Myers <joseph@codesourcery.com>
19909 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19911 (obstack_chunk_alloc): New macro.
19912 (obstack_chunk_free): Likewise.
19913 (record_offset): New function.
19914 (init_locale_data): Likewise.
19915 (align_locale_data): Likewise.
19916 (add_locale_empty): Likewise.
19917 (add_locale_raw_data): Likewise.
19918 (add_locale_raw_obstack): Likewise.
19919 (add_locale_string): Likewise.
19920 (add_locale_wstring): Likewise.
19921 (add_locale_uint32): Likewise.
19922 (add_locale_uint32_array): Likewise.
19923 (add_locale_char): Likewise.
19924 (start_locale_structure): Likewise.
19925 (end_locale_structure): Likewise.
19926 (start_locale_prelude): Likewise.
19927 (end_locale_prelude): Likewise.
19928 (write_locale_data): Take locale_file structure rather than an
19930 * locale/programs/locfile.h: Include "obstack.h".
19931 (struct locale_file): Change to store locale file contents instead
19933 (init_locale_data): New prototype.
19934 (align_locale_data): Likewise.
19935 (add_locale_empty): Likewise.
19936 (add_locale_raw_data): Likewise.
19937 (add_locale_raw_obstack): Likewise.
19938 (add_locale_string): Likewise.
19939 (add_locale_wstring): Likewise.
19940 (add_locale_uint32): Likewise.
19941 (add_locale_uint32_array): Likewise.
19942 (add_locale_char): Likewise.
19943 (start_locale_structure): Likewise.
19944 (end_locale_structure): Likewise.
19945 (start_locale_prelude): Likewise.
19946 (end_locale_prelude): Likewise.
19947 (write_locale_data): Update prototype.
19948 * locale/programs/3level.h (struct TABLE): Remove result field.
19949 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19950 Use new locale_file interface.
19951 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19952 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19953 * locale/programs/ld-address.c (address_output): Use new
19954 locale_file interface.
19955 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19957 (collate_finish): Don't call collseq_table_finalize.
19958 (collate_output): Use new locale_file interface.
19959 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19961 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19962 (TABLE): Move defines earlier in file.
19963 (ELEMENT): Likewise.
19964 (DEFAULT): Likewise.
19965 (wctrans_table_add): Move macro and inline function earlier in
19967 (struct wctype_table): Move type earlier in file.
19968 (add_locale_wctype_table): New static prototype.
19969 (struct locale_ctype_t): Use logical types instead of struct iovec
19970 pointers for members.
19971 (ctype_output): Use new locale_file interface.
19972 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19973 new locale_file interface.
19974 (allocate_arrays): Update for use of new locale_file interface.
19975 * locale/programs/ld-identification.c (identification_output): Use
19976 new locale_file interface.
19977 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19978 * locale/programs/ld-messages.c (messages_output): Likewise.
19979 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19980 * locale/programs/ld-name.c (name_output): Likewise.
19981 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19982 * locale/programs/ld-paper.c (paper_output): Likewise.
19983 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19984 * locale/programs/ld-time.c (time_output): Likewise.
19986 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19988 * benchtests/Makefile: Add memrchr benchmark.
19989 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19990 benchmark as memrchr.
19991 * benchtests/bench-memrchr-ifunc.c: New file.
19992 * benchtests/bench-memrchr.c: New file.
19994 2013-09-06 Will Newton <will.newton@linaro.org>
19996 * benchtests/Makefile (string-bench): Add memcpy.
19998 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19999 Cong Wang <amwang@redhat.com>
20002 * sysdeps/unix/sysv/linux/bits/in.h
20003 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20004 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20005 before __USE_KERNEL_IPV6_DEFS uses.
20006 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20008 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20009 sockaddr_in6, or ipv6_mreq.
20011 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20013 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20014 memory access for final bytes in some large inputs.
20015 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20017 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20019 * string/test-memrchr.c: New file.
20020 * string/test-memrchr-ifunc.c: New file.
20021 * string/Makefile: Add new memrchr testcase.
20023 2013-09-05 Mike Frysinger <vapier@gentoo.org>
20025 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20026 fanotify_init returns EPERM.
20028 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20030 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20032 (top level): Treat second token from macro or constant entries for
20033 allowed headers as allowed.
20034 * include/complex.h: Condition internal declarations on
20036 * include/fenv.h: Condition include of <stdbool.h> and internal
20037 declarations on [!_ISOMAC].
20039 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20042 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20044 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20046 * configure.in (--enable-versioning): Remove configure option.
20047 (libc_cv_asm_symver_directive): Remove configure test.
20048 (libc_cv_ld_version_script_option): Likewise.
20049 (VERSIONING): Remove variable and AC_SUBST.
20050 (DO_VERSIONING): Remove AC_DEFINE.
20051 * configure: Regenerated.
20052 * config.h.in (DO_VERSIONING): Remove macro.
20053 * Makerules [$(versioning) = yes]: Change conditionals to
20054 [$(build-shared) = yes].
20055 * config.make.in (versioning): Remove variable.
20056 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20057 [$(build-shared) = yes].
20058 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20059 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20060 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20061 [$(build-shared) = yes].
20062 * extra-lib.mk [$(versioning) = yes]: Likewise.
20063 * hurd/Makefile [$(versioning) = yes]: Likewise.
20064 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20066 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20068 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20069 [SHARED && !NO_HIDDEN].
20070 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20072 [SHARED && DO_VERSIONING]: Likewise..
20073 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20074 [$(build-shared) = yes].
20075 * manual/install.texi (--disable-versioning): Remove
20077 * INSTALL: Regenerated.
20078 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20080 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20081 [$(build-shared) = yes].
20082 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20083 * sysdeps/i386/i686/multiarch/strstr-c.c
20084 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20085 [SHARED && !NO_HIDDEN].
20086 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20087 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20088 * sysdeps/powerpc/powerpc32/dl-machine.c
20089 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20090 * sysdeps/powerpc/powerpc32/sysdep.h
20091 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20092 to [SHARED && PIC && !NO_HIDDEN].
20093 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20094 conditional to [SHARED].
20096 2013-09-04 Will Newton <will.newton@linaro.org>
20098 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20099 * benchtests/bench-string.h: Include bench-timing.h instead
20100 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20101 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20102 call to HP_TIMING_DIFF_INIT.
20103 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20104 instead of hp-timing.h macros.
20105 * benchtests/bench-memchr.c: Likewise.
20106 * benchtests/bench-memcmp.c: Likewise.
20107 * benchtests/bench-memcpy.c: Likewise.
20108 * benchtests/bench-memmem.c: Likewise.
20109 * benchtests/bench-memmove.c: Likewise.
20110 * benchtests/bench-memset.c: Likewise.
20111 * benchtests/bench-rawmemchr.c: Likewise.
20112 * benchtests/bench-strcasecmp.c: Likewise.
20113 * benchtests/bench-strcasestr.c: Likewise.
20114 * benchtests/bench-strcat.c: Likewise.
20115 * benchtests/bench-strchr.c: Likewise.
20116 * benchtests/bench-strcmp.c: Likewise.
20117 * benchtests/bench-strcpy.c: Likewise.
20118 * benchtests/bench-strcpy_chk.c: Likewise.
20119 * benchtests/bench-strlen.c: Likewise.
20120 * benchtests/bench-strncasecmp.c: Likewise.
20121 * benchtests/bench-strncat.c: Likewise.
20122 * benchtests/bench-strncmp.c: Likewise.
20123 * benchtests/bench-strncpy.c: Likewise.
20124 * benchtests/bench-strnlen.c: Likewise.
20125 * benchtests/bench-strpbrk.c: Likewise.
20126 * benchtests/bench-strrchr.c: Likewise.
20127 * benchtests/bench-strspn.c: Likewise.
20128 * benchtests/bench-strstr.c: Likewise.
20130 2013-09-04 Will Newton <will.newton@linaro.org>
20132 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20134 2013-09-03 Joseph Myers <joseph@codesourcery.com>
20137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20138 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20139 * math/libm-test.inc (lgamma_test_data): Add more tests.
20140 * sysdeps/i386/fpu/libm-test-ulps: Update.
20141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20143 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
20145 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20149 Add strcmp-sse2-unaligned
20150 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20152 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20154 * Versions.def (libc): Add GLIBC_2.19.
20156 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20158 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20159 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20161 2013-09-02 Joseph Myers <joseph@codesourcery.com>
20164 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20165 intermediate calculations in recurrence.
20166 (__ieee754_ynf): Likewise.
20167 * math/libm-test.inc (jn_test_data): Do not allow spurious
20168 underflow exception. Add more tests.
20169 (yn_test_data): Add more tests.
20170 * sysdeps/i386/fpu/libm-test-ulps: Update.
20171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20173 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
20175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20177 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20179 * csu/init-first.c: Fix then/than typos.
20180 * locale/programs/ld-collate.c: Likewise.
20181 * locale/programs/linereader.h: Likewise.
20182 * manual/charset.texi: Likewise.
20183 * manual/filesys.texi: Likewise.
20184 * manual/stdio.texi: Likewise.
20185 * manual/string.texi: Likewise.
20186 * stdlib/fmtmsg.c: Likewise.
20187 * sysdeps/i386/stpncpy.S: Likewise.
20188 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20189 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20190 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20191 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20193 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20195 * elf/dl-open.c: Fix typos.
20196 * iconvdata/gbbig5.c: Likewise.
20197 * iconvdata/iso-2022-jp.c: Likewise.
20198 * iconv/gconv_int.h: Likewise.
20199 * iconv/loop.c: Likewise.
20200 * nis/rpcsvc/nis.h: Likewise.
20201 * resolv/ns_name.c: Likewise.
20202 * stdio-common/vfscanf.c: Likewise.
20203 * streams/stropts.h: Likewise.
20204 * sunrpc/rpc_thread.c: Likewise.
20205 * sysdeps/i386/strpbrk.S: Likewise.
20206 * sysdeps/ieee754/k_standard.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20209 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20210 * sysdeps/mach/hurd/profil.c: Likewise.
20211 * sysdeps/s390/dl-procinfo.h: Likewise.
20212 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20213 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20214 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20215 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20218 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20220 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20223 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20225 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20226 aix specific files.
20227 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20228 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20229 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20230 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20231 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20232 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20233 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20234 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20236 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20237 Roland McGrath <roland@hack.frob.com>
20239 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20240 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20242 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20244 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20245 __executable_start symbol instead of _start.
20247 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20249 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20250 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20252 * sysdeps/gnu/ldsodefs.h: ... this new file.
20254 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20255 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20256 instead of ELFOSABI_LINUX.
20258 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20259 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20260 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20261 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20263 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20264 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20265 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20267 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20268 (ibm_extended_long_double): Add ieee_nan member.
20269 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20270 (do_test): New function.
20272 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20274 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20275 functions, renamed from truncdfsf_test, trunctfsf_test,
20277 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20279 (do_test): Run all these.
20281 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20283 * argp/argp-help.c: Fix typos.
20284 * argp/argp-parse.c: Likewise.
20285 * debug/backtracesyms.c: Likewise.
20286 * elf/elf.h: Likewise.
20287 * malloc/malloc.c: Likewise.
20288 * nis/nis_print.c: Likewise.
20289 * resolv/res_comp.c: Likewise.
20290 * stdlib/stdlib.h: Likewise.
20291 * sunrpc/clnt_tcp.c: Likewise.
20292 * sunrpc/clnt_udp.c: Likewise.
20293 * sunrpc/clnt_unix.c: Likewise.
20294 * sysdeps/unix/bsd/ptsname.c: Likewise.
20295 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20296 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20303 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20305 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20307 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20310 2013-08-27 Mike Frysinger <vapier@gentoo.org>
20313 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20314 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20315 ($(objpfx)bug-dl-leaf): New rule.
20316 ($(objpfx)bug-dl-leaf.so): Likewise.
20317 ($(objpfx)bug-dl-leaf.out): Likewise.
20318 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20319 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20320 * dlfcn/bug-dl-leaf.c: New test.
20321 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20322 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20323 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20324 (dlclose): Likewise.
20325 (dlmopen): Likewise.
20327 2013-08-27 Roland McGrath <roland@hack.frob.com>
20329 * include/netdb.h [!_ISOMAC]:
20330 Don't include <tls.h>.
20331 (h_errno, __libc_h_errno): Move declaration and macros out of
20334 * include/resolv.h [_RESOLV_H_]:
20335 Don't include <tls.h>.
20336 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20337 * resolv/res_libc.c: Don't include <tls.h>.
20338 (_res): Use __attribute__ ((nocommon)) in place of
20339 __attribute__ ((section (".bss"))).
20341 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20342 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20344 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20346 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20347 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20349 * resolv/res_mkquery.c: Include <sys/time.h>.
20351 * inet/ifreq.c: Moved to ...
20352 * sysdeps/unix/ifreq.c: ... here.
20353 * inet/ifreq.c: New file, true stub version.
20355 * socket/sa_len.c: New file.
20356 * socket/Makefile (aux): Add it.
20357 * sysdeps/unix/sysv/linux/Makefile
20358 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20359 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20360 and #include <socket/sa_len.c>.
20361 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20362 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20364 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20365 * bits/socket.h: ... here.
20367 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20368 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20369 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20371 2013-08-27 Andreas Schwab <schwab@suse.de>
20374 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20375 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20376 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20377 * string/test-strcasecmp.c (test_main): Run tests in several
20379 * string/test-strncasecmp.c (test_main): Likewise.
20381 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20382 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20383 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20385 (__strncasecmp_ssse3) [PIC]: Likewise.
20387 2013-08-26 Roland McGrath <roland@hack.frob.com>
20389 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20391 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20392 instead of explicitly declaring xdecrypt.
20393 * nis/nss_nis/nis-publickey.c: Likewise.
20395 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20398 * nscd/aicache.c: Include res_hconf.h.
20399 (addhstaiX): Initialize res_hconf.
20401 2013-08-26 Andreas Schwab <schwab@suse.de>
20403 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20404 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20406 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20408 * nscd/aicache.c (addhstaiX): Fix indentation.
20410 2013-08-25 Mike Frysinger <vapier@gentoo.org>
20412 * configure.ac: Quote $build_pt_chown test.
20413 * configure: Regenerated.
20415 2013-08-23 Joseph Myers <joseph@codesourcery.com>
20418 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20419 * math/s_cexpf.c (__cexpf): Likewise.
20420 * math/s_cexpl.c (__cexpl): Likewise.
20421 * math/libm-test.inc (cexp_test_data): Correct expected return
20422 value for NaN + i0. Add another test.
20424 2013-08-22 David S. Miller <davem@davemloft.net>
20426 * po/ca.po: Update Catalan translation from translation project.
20427 * po/uk.po: Add Ukrainian translations from translation project.
20429 2013-08-21 Joseph Myers <joseph@codesourcery.com>
20432 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20433 is infinite, not alongside NaN test.
20434 * math/s_fdimf.c (__fdimf): Likewise.
20435 * math/s_fdiml.c (__fdiml): Likewise.
20436 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20437 errno is unchanged.
20439 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
20441 * argp/argp-help.c: Fix typos.
20442 * crypt/speeds.c: Likewise.
20443 * csu/check_fds.c: Likewise.
20444 * elf/dl-load.c: Likewise.
20445 * elf/dl-open.c: Likewise.
20446 * elf/reldep3.c: Likewise.
20447 * elf/reldep.c: Likewise.
20448 * elf/sprof.c: Likewise.
20449 * iconv/iconv_charmap.c: Likewise.
20450 * iconv/skeleton.c: Likewise.
20451 * iconv/strtab.c: Likewise.
20452 * io/lockf64.c: Likewise.
20453 * libio/libioP.h: Likewise.
20454 * resolv/gai_notify.c: Likewise.
20455 * resolv/ns_name.c: Likewise.
20456 * resolv/ns_samedomain.c: Likewise.
20457 * resolv/res_send.c: Likewise.
20458 * stdlib/random.c: Likewise.
20459 * sunrpc/rpc/xdr.h: Likewise.
20460 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20461 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20462 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20463 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20464 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20465 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20466 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20467 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20468 * sysdeps/mach/hurd/check_fds.c: Likewise.
20469 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20470 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20471 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20473 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20474 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20475 * sysdeps/pthread/aio_notify.c: Likewise.
20476 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20477 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20478 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20479 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20480 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20482 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20484 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20485 version if bit_Slow_SSE4_2 is set.
20486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20489 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20492 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20493 trampoline stack frame information.
20494 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20495 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20496 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20497 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20498 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20499 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20500 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20501 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20503 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20504 interrupting a syscall and set with option SA_SIGINFO.
20506 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20509 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20510 argument is infinite.
20511 * math/s_cprojf.c (__cprojf): Likewise.
20512 * math/s_cprojl.c (__cprojl): Likewise.
20513 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20514 * math/libm-test.inc (cproj_test_data): Add more tests.
20516 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20518 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20519 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20520 size. Use __ffs to determine corresponding shift.
20522 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20523 Roland McGrath <roland@hack.frob.com>
20525 * Makefile (INSTALL): Remove trailing blank lines from output of
20528 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20530 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20531 Align 32 bit compat elf_greg to 8 bytes.
20533 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20535 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20537 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20539 * string/strcoll_l.c (coll_seq): New structure.
20540 (get_next_seq_cached): New function.
20541 (get_next_seq): New function.
20542 (do_compare): New function.
20543 (STRCOLL): Use GNU style definition. Simplify implementation
20544 by using get_next_seq, get_next_seq_cached and do_compare.
20546 2013-08-16 Florian Weimer <fweimer@redhat.com>
20550 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20552 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20554 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20555 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20556 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20558 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20559 GETDENTS_64BIT_ALIGNED.
20560 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20561 * manual/filesys.texi (Reading/Closing Directory): Document
20562 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20564 * manual/conf.texi (Limits for Files): Add portability note to
20565 NAME_MAX, PATH_MAX.
20566 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20568 2013-08-13 Andreas Schwab <schwab@suse.de>
20571 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20573 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20574 LDBL_MAX_EXP >= 16384]: Add tests for it.
20576 2013-08-12 David S. Miller <davem@davemloft.net>
20578 * version.h (RELEASE): Set to "development".
20579 (VERSION): Set to "2.18.90".
20580 * NEWS: Add 2.19 section.
20582 2013-08-03 David S. Miller <davem@davemloft.net>
20584 * po/ko.po: Update Korean translation from translation project.
20586 2013-08-01 David S. Miller <davem@davemloft.net>
20588 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20589 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20592 2013-07-30 David S. Miller <davem@davemloft.net>
20594 * po/fr.po: Update French translation from translation project.
20596 2013-07-28 David S. Miller <davem@davemloft.net>
20598 * po/cs.po: Update Czech translation from translation project.
20600 * po/sv.po: Update Swedish translation from translation project.
20602 2013-07-27 David S. Miller <davem@davemloft.net>
20604 * po/eo.po: Update Esperanto translation from translation project.
20606 * po/vi.po: Update Vietnamese translation from translation project.
20608 * po/de.po: Update German translation from translation project.
20610 2013-07-26 David S. Miller <davem@davemloft.net>
20612 * po/bg.po: Update Bulgarian translation from translation project.
20614 * po/nl.po: Update Dutch translation from translation project.
20615 * po/pl.po: Update Polish translation from translation project.
20616 * po/ru.po: Update Russian translation from translation project.
20618 2013-07-24 David S. Miller <davem@davemloft.net>
20620 * po/libc.pot: Update.
20622 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20624 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20625 variable page size.
20626 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20627 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20628 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20630 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20632 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20634 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20635 Andreas Schwab <schwab@suse.de>
20636 Roland McGrath <roland@hack.frob.com>
20637 Joseph Myers <joseph@codesourcery.com>
20638 Carlos O'Donell <carlos@redhat.com>
20641 * config.h.in: Define HAVE_PT_CHOWN.
20642 * config.make.in (build-pt-chown): New variable.
20643 * configure.in (--enable-pt_chown): New configure option.
20644 * configure: Regenerate.
20645 * login/Makefile: Include Makeconfig. Build pt_chown only if
20646 build-pt-chown is enabled.
20647 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20648 pt_chown to fix pty ownership.
20649 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20651 * manual/install.texi (Configuring and compiling): Mention
20652 --enable-pt_chown. Add @findex for grantpt.
20653 * INSTALL: Regenerate.
20655 2013-07-20 David S. Miller <davem@davemloft.net>
20657 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20658 difference between 32-bit and 64-bit.
20660 2013-07-15 Carlos O'Donell <carlos@redhat.com>
20663 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20664 Avoid system header dependency with -ffreestanding.
20665 ($(objpfx)bits/syscall%d): Likewise.
20667 2013-07-13 David S. Miller <davem@davemloft.net>
20669 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20670 underflows from atanl/atan2l due to bug 15319.
20671 (casinh_test_data): Likewise.
20673 2013-07-07 David S. Miller <davem@davemloft.net>
20675 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20677 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20679 * sysdeps/i386/fpu/libm-test-ulps: Update.
20680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20682 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20684 * configure.in (--enable-lock-elision): Fix message text.
20685 * INSTALL: Regenerate.
20686 * configure: Regenerate.
20688 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20692 2013-07-03 Andreas Jaeger <aj@suse.de>
20694 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20696 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20697 (ptrace_peeksiginfo_args): Add.
20698 (__ptrace_peeksiginfo_flags): Add.
20699 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20700 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20701 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20703 2013-07-03 Allan McRae <allan@archlinux.org>
20705 * sysdeps/i386/fpu/libm-test-ulps: Update.
20707 2013-07-02 David S. Miller <davem@davemloft.net>
20709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20711 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20715 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20717 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20720 2013-07-02 Andi Kleen <ak@linux.intel.com>
20722 * config.h.in (ENABLE_LOCK_ELISION): Add.
20723 * configure.in (--enable-lock-elision): Add option.
20724 * manual/install.texi: Document --enable lock elision.
20725 * configure: Regenerate
20726 * INSTALL: Regenerate.
20728 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20730 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20731 SSE4.2 strcasecmp for libc.a.
20732 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20734 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20737 * soft-fp/op-common.h (_FP_FMA): New macro.
20738 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20739 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20740 (_FP_MUL_MEAT_1_imm): ... here.
20741 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20742 (_FP_MUL_MEAT_1_wide): ... here.
20743 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20744 (_FP_MUL_MEAT_1_hard): ... here.
20745 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20746 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20747 (_FP_MUL_MEAT_2_wide): ... here.
20748 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20749 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20750 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20751 (_FP_MUL_MEAT_2_gmp): ... here.
20752 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20753 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20754 (_FP_MUL_MEAT_4_wide): ... here.
20755 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20756 (_FP_MUL_MEAT_4_gmp): ... here.
20757 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20758 (_FP_WFRACBITS_DW_S): Likewise.
20759 (_FP_WFRACXBITS_DW_S): Likewise.
20760 (_FP_HIGHBIT_DW_S): Likewise.
20761 (FP_FMA_S): Likewise.
20762 (_FP_FRAC_HIGH_DW_S): Likewise.
20763 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20764 (_FP_WFRACBITS_DW_D): Likewise.
20765 (_FP_WFRACXBITS_DW_D): Likewise.
20766 (_FP_HIGHBIT_DW_D): Likewise.
20767 (FP_FMA_D): Likewise.
20768 (_FP_FRAC_HIGH_DW_D): Likewise.
20769 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20770 (_FP_WFRACBITS_DW_E): Likewise.
20771 (_FP_WFRACXBITS_DW_E): Likewise.
20772 (_FP_HIGHBIT_DW_E): Likewise.
20773 (FP_FMA_E): Likewise.
20774 (_FP_FRAC_HIGH_DW_E): Likewise.
20775 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20776 (_FP_WFRACBITS_DW_Q): Likewise.
20777 (_FP_WFRACXBITS_DW_Q): Likewise.
20778 (_FP_HIGHBIT_DW_Q): Likewise.
20779 (FP_FMA_Q): Likewise.
20780 (_FP_FRAC_HIGH_DW_Q): Likewise.
20781 * soft-fp/fmasf4.c: New file.
20782 * soft-fp/fmadf4.c: Likewise.
20783 * soft-fp/fmatf4.c: Likewise.
20785 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20788 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20792 (index_Slow_SSE4_2): Likewise.
20793 (index_Prefer_PMINUB_for_stringop): Likewise.
20794 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20795 bit_Slow_SSE4_2 is set.
20796 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20797 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20799 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20801 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20802 rtld_global._dl_hwcap2.
20803 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20805 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20806 POWER8 feature descriptions defined in _dl_hwcap2.
20807 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20808 string handling for POWER8 feature bits.
20809 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20810 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20811 _dl_powerpc_cap_flags.
20812 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20813 * sysdeps/powerpc/rtld-global-offsets.sym
20814 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20815 _dl_hwcap2 in the rtld_global_ro structure.
20817 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20819 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20820 hardware capabilities in support of AT_HWCAP2.
20821 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20822 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20824 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20825 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20826 explicitly the unknown a_type display mechanism is used.
20827 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20828 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20830 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20831 to macro prototype for AT_HWCAP2 support.
20832 * sysdeps/i386/dl-procinfo.h: Likewise.
20833 * sysdeps/s390/dl-procinfo.h: Likewise.
20834 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20835 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20836 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20837 return -1 for unknown a_type display fallback.
20838 * sysdeps/sparc/dl-procinfo.h: Likewise.
20839 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20840 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20842 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20844 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20845 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20847 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20850 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20851 mprotect making __stack_prot writable.
20853 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20854 Joseph Myers <joseph@codesourcery.com>
20856 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20857 as being properly aligned.
20859 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20861 * dlfcn/modstatic5.c: New file.
20862 * dlfcn/tststatic5.c: New file.
20863 * dlfcn/Makefile (tests): Add tststatic5.
20864 (tests-static): Likewise.
20865 (modules-names): Add modstatic5.
20866 (tststatic5-ENV): New variable.
20867 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20870 * elf/dl-support.c (_dl_main_map): New variable.
20871 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20872 (_dl_nns, _dl_load_adds): Set to 1.
20873 (_dl_initial_searchlist): Refer to _dl_main_map.
20874 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20875 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20876 call to _dl_get_origin.
20877 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20879 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20880 * dlfcn/modstatic3.c: New file.
20881 * dlfcn/tststatic3.c: New file.
20882 * dlfcn/tststatic4.c: New file.
20883 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20884 (tests-static): Likewise.
20885 (modules-names): Add modstatic3.
20886 (tststatic3-ENV, tststatic4-ENV): New variables.
20887 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20888 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20890 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20892 * configure.in (CC): Require GCC version 4.4 or later.
20893 * configure: Regenerated.
20894 * manual/install.texi (Tools for Compilation): Update GCC version
20896 * INSTALL: Regenerated.
20898 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20901 * string/test-memcmp.c (check2): New.
20902 (main): Call check2.
20904 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20906 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20909 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20911 (dl_open_worker) [!SHARED]: ... here.
20913 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20915 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20917 2013-06-25 Richard Henderson <rth@redhat.com>
20919 * locale/programs/locarchive.c: Include <libc-internal.h>
20921 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20923 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20924 trailing whitespace removed.
20926 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20929 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20930 * locale/programs/locarchive.c: Include libc-mmap.h.
20931 (prepare_address_space): Take two new outputs (the mmap base and len).
20932 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20934 (create_archive): Declare new mmap base and len values for
20935 prepare_address_space, and store the result in ah.
20936 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20937 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20938 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20939 Declare new mmap base and len values for
20940 prepare_address_space, and store the result in new_ah.
20941 (open_archive): Declare new mmap base and len values for
20942 prepare_address_space, and store the result in ah.
20943 (close_archive): If ah->mmap_base is not NULL, use that and
20944 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20945 * sysdeps/generic/libc-mmap.h: New file.
20947 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20949 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20950 (ALIGN_UP): Likewise.
20951 (PTR_ALIGN_DOWN): Likewise.
20952 (PTR_ALIGN_UP): Likewise.
20954 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20956 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20957 entry mapped to PPC_PLATFORM_POWER8.
20958 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20960 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20961 (_dl_string_platform): Add case for exporting platform position for
20963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20964 search path to sysdeps/powerpc/powerpc32/power8 directory.
20965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20966 search path to sysdeps/powerpc/powerpc64/power8 directory.
20967 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20968 power7 directories.
20969 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20970 power7 directories.
20972 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20974 * INSTALL: Regenerate.
20976 * nscd/connections.c (nscd_init): Fix comment.
20978 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20980 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20983 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20984 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20986 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20988 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20990 (DL_DST_REQ_STATIC): Remove macro.
20992 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20995 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20996 with a shift of 0 bits.
20998 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21000 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21003 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21006 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21008 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21010 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21011 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21012 accepts -fno-tree-loop-distribute-patterns.
21013 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21014 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21016 * string/memset.c (memset): Likewise.
21017 * string/test-memmove.c (simple_memmove): Disable loop transformation
21019 * string/test-memset.c (simple_memset): Likewise.
21020 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21021 * benchtests/bench-memset.c (simple_memset): Likewise.
21022 * configure: Regenerated.
21024 2013-06-20 Joseph Myers <joseph@codesourcery.com>
21026 * math/test-misc.c (main): Ignore fesetround failure when failures
21027 of subsequent rounding tests would be ignored.
21030 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21031 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21032 * math/fegetenv.c (__fegetenv): Return 0.
21033 * math/fegetexcept.c (fegetexcept): Return 0.
21034 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21036 * math/feholdexcpt.c (feholdexcept): Return 0.
21037 * math/fesetenv.c (__fesetenv): Return 0.
21038 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21039 argument FE_TONEAREST.
21040 * math/feupdateenv.c (__feupdateenv): Return 0.
21041 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21043 2013-06-18 Roland McGrath <roland@hack.frob.com>
21045 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21046 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21047 ($(objpfx)rtld-%.os rules): Use them.
21049 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21051 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21054 2013-06-17 Roland McGrath <roland@hack.frob.com>
21056 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21057 length of target pattern, then descending length of dependency pattern.
21058 * configure.in (AWK): Require gawk 3.1.2 or newer.
21059 * manual/install.texi (Tools for Compilation): Say that we do.
21060 * configure: Regenerated.
21062 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21063 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21064 * scripts/sysd-rules.awk: ... this new script.
21065 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21066 than a glob-style pattern.
21068 2013-06-17 Joseph Myers <joseph@codesourcery.com>
21070 * math/test-misc.c (main): Do not treat incorrectly rounded
21071 conversions as failure unless ROUNDING_TESTS passes.
21073 2013-06-15 Joseph Myers <joseph@codesourcery.com>
21076 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21077 restore exception state around main square root computation, then
21078 check for inexactness explicitly.
21080 * math/libm-test.inc (fma_test_data): Add another test.
21082 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21084 * manual/threads.texi (Non-POSIX Extensions): New document
21085 node. Document pthread_getattr_default_np and
21086 pthread_setattr_default_np.
21088 * Versions.def (libpthread): Add GLIBC_2.18.
21089 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21098 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21109 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21112 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21114 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21115 H.J. Lu <hjl.tools@gmail.com>
21118 * sysdeps/x86_64/rtld-memset.c: Remove file.
21119 * sysdeps/x86_64/rtld-memset.S: New file.
21121 2013-06-14 Joseph Myers <joseph@codesourcery.com>
21123 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21124 (test_in_one_mode): Take arguments for whether the rounding mode
21125 is supported for each floating-point type.
21126 (do_test): Pass new arguments to test_in_one_mode using
21129 2013-06-13 Roland McGrath <roland@hack.frob.com>
21131 * posix/tst-waitid.c (do_test): Distinguish different instances of
21132 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21133 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21134 before entering the kernel for waitpid.
21136 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21138 * NEWS: Fix note on clock function precision. Text by Roland
21141 2013-06-13 Roland McGrath <roland@hack.frob.com>
21143 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21144 it into place only when and if the sanity check passes.
21146 2013-06-13 Joseph Myers <joseph@codesourcery.com>
21148 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21149 output for whether conversion result is exact. Take argument
21150 indicating whether type is IBM long double.
21151 (round_for_all): Change need_exact field to ibm_ld.
21152 * stdlib/tst-strtod-round.c (struct exactness): New type.
21153 (struct test): Change bool ld_ok field to struct exactness exact.
21154 (TEST): Update all definitions for change to field.
21155 (tests): Regenerate array contents.
21156 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21157 field value. Check for IBM long double here.
21158 (do_test): Update calls to test_in_one_mode.
21160 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21163 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21164 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21166 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21169 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21170 generated by the compiler on loop optimizations.
21171 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21172 general definitions.
21174 2013-06-12 Joseph Myers <joseph@codesourcery.com>
21176 * math/bug-nextafter.c: Include <math-tests.h>.
21177 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21179 * math/bug-nexttoward.c: Include <math-tests.h>.
21180 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21182 * math/test-misc.c: Include <math-tests.h>.
21183 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21186 2013-06-12 Andreas Jaeger <aj@suse.de>
21188 * po/ia.po: Update Interlingua translation from translation
21191 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21193 * include/fenv.h: Include stdbool.h.
21194 (struct rm_ctx): New structure.
21195 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21197 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21198 (SET_RESTORE_ROUNDF): Likewise.
21199 (SET_RESTORE_ROUNDL): Likewise.
21200 (SET_RESTORE_ROUND_NOEX): Likewise.
21201 (SET_RESTORE_ROUND_NOEXF): Likewise.
21202 (SET_RESTORE_ROUND_NOEXL): Likewise.
21203 (SET_RESTORE_ROUND_53BIT): Likewise.
21204 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21205 (libc_feresetround_noexf_ctx): Likewise.
21206 (libc_feresetround_noexl_ctx): Likewise.
21207 (libc_feholdsetround_53bit_ctx): Likewise.
21208 (libc_feresetround_53bit_ctx): Likewise.
21209 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21210 (libc_feholdexcept_setround_sse_ctx): New function.
21211 (libc_fesetenv_sse_ctx): Likewise.
21212 (libc_feupdateenv_sse_ctx): Likewise.
21213 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21214 (libc_feholdexcept_setround_387_ctx): Likewise.
21215 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21216 (libc_feholdsetround_387_prec_ctx): Likewise.
21217 (libc_feholdsetround_387_ctx): Likewise.
21218 (libc_feholdsetround_387_53bit_ctx): Likewise.
21219 (libc_feholdsetround_sse_ctx): Likewise.
21220 (libc_feresetround_sse_ctx): Likewise.
21221 (libc_feresetround_387_ctx): Likewise.
21222 (libc_feupdateenv_387_ctx): Likewise.
21223 (libc_feholdexcept_setroundf_ctx): Define macro.
21224 (libc_fesetenvf_ctx): Likewise.
21225 (libc_feupdateenvf_ctx): Likewise.
21226 (libc_feholdsetroundf_ctx): Likewise.
21227 (libc_feresetroundf_ctx): Likewise.
21228 (libc_feholdexcept_setround_ctx): Likewise.
21229 (libc_fesetenv_ctx): Likewise.
21230 (libc_feupdateenv_ctx): Likewise.
21231 (libc_feholdsetround_ctx): Likewise.
21232 (libc_feresetround_ctx): Likewise.
21233 (libc_feholdexcept_setroundl_ctx): Likewise.
21234 (libc_feupdateenvl_ctx): Likewise.
21235 (libc_feholdsetroundl_ctx): Likewise.
21236 (libc_feresetroundl_ctx): Likewise.
21237 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21238 (libc_feresetround_53bit_ctx): Likewise.
21240 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21242 * locale/iso-639.def: Convert to UTF-8.
21244 2013-06-11 Joseph Myers <joseph@codesourcery.com>
21246 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21247 (EXCEPTION_TESTS_double): Likewise.
21248 (EXCEPTION_TESTS_long_double): Likewise.
21249 (EXCEPTION_TESTS): Likewise.
21250 * math/libm-test.inc (test_exceptions): Only test exceptions if
21251 EXCEPTION_TESTS (FLOAT).
21253 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21255 * benchtests/Makefile (string-bench): Add strcpy_chk and
21257 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21258 * benchtests/bench-stpcpy_chk.c: New file.
21259 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21260 * benchtests/bench-strcpy_chk.c: New file.
21261 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21263 (do_test): Likewise.
21265 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21267 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21268 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21269 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21270 with tabs where appropriate.
21271 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21273 [PPC_PLATFORM_PPC440]: Likewise.
21274 [PPC_PLATFORM_PPC464]: Likewise.
21275 [PPC_PLATFORM_PPC476]: Likewise.
21276 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21277 ppc464, and ppc476 platform strings merging from ports/
21280 2013-06-11 Andreas Schwab <schwab@suse.de>
21283 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21284 (from_ucs4_idx): Regenerate.
21285 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21286 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21287 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21288 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21289 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21290 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21291 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21292 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21293 from FROM_LOOP and TO_LOOP specific macros.
21294 (BODY): Handle combining characters.
21295 * iconvdata/BIG5HKSCS.irreversible: Update.
21296 * iconvdata/BIG5HKSCS.precomposed: New file.
21297 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21299 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21301 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21303 * include/sys/time.h: Fix indentation and add copyright header.
21305 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21306 (do_test): Likewise.
21307 * string/test-memchr.c (do_one_test): Likewise.
21308 (do_test): Likewise.
21309 * string/test-memcmp.c (do_one_test): Likewise.
21310 (do_test): Likewise.
21311 * string/test-memcpy.c (do_one_test): Likewise.
21312 (do_test): Likewise.
21313 * string/test-memmem.c (do_one_test): Likewise.
21314 (do_test): Likewise.
21315 (do_random_tests): Likewise.
21316 * string/test-memmove.c (do_one_test): Likewise.
21317 (do_test): Likewise.
21318 * string/test-memset.c (do_one_test): Likewise.
21319 (do_test): Likewise.
21320 * string/test-rawmemchr.c (do_one_test): Likewise.
21321 (do_test): Likewise.
21322 * string/test-strcasecmp.c (do_one_test): Likewise.
21323 (do_test): Likewise.
21324 * string/test-strcasestr.c (do_one_test): Likewise.
21325 (do_test): Likewise.
21326 * string/test-strcat.c (do_one_test): Likewise.
21327 (do_test): Likewise.
21328 * string/test-strchr.c (do_one_test): Likewise.
21329 (do_test): Likewise.
21330 * string/test-strcmp.c (do_one_test): Likewise.
21331 (do_test): Likewise.
21332 * string/test-strcpy.c (do_one_test): Likewise.
21333 (do_test): Likewise.
21334 * string/test-string.h: Likewise.
21335 (test_init): Likewise.
21336 * string/test-strlen.c (do_one_test): Likewise.
21337 (do_test): Likewise.
21338 * string/test-strncasecmp.c (do_one_test): Likewise.
21339 (do_test): Likewise.
21340 * string/test-strncat.c (do_one_test): Likewise.
21341 (do_test): Likewise.
21342 * string/test-strncmp.c (do_one_test): Likewise.
21343 (do_test_limit): Likewise.
21344 (do_test): Likewise.
21345 * string/test-strncpy.c (do_one_test): Likewise.
21346 (do_test): Likewise.
21347 * string/test-strnlen.c (do_one_test): Likewise.
21348 (do_test): Likewise.
21349 * string/test-strpbrk.c (do_one_test): Likewise.
21350 (do_test): Likewise.
21351 * string/test-strrchr.c (do_one_test): Likewise.
21352 (do_test): Likewise.
21353 * string/test-strspn.c (do_one_test): Likewise.
21354 (do_test): Likewise.
21355 * string/test-strstr.c (do_one_test): Likewise.
21356 (do_test): Likewise.
21358 * benchtests/Makefile (string-bench): Add string benchmarks.
21359 * benchtests/bench-bcopy-ifunc.c: New file.
21360 * benchtests/bench-bcopy.c: New file.
21361 * benchtests/bench-bzero-ifunc.c: New file.
21362 * benchtests/bench-bzero.c: New file.
21363 * benchtests/bench-memccpy-ifunc.c: New file.
21364 * benchtests/bench-memccpy.c: New file.
21365 * benchtests/bench-memchr-ifunc.c: New file.
21366 * benchtests/bench-memchr.c: New file.
21367 * benchtests/bench-memcmp-ifunc.c: New file.
21368 * benchtests/bench-memcmp.c: New file.
21369 * benchtests/bench-memmem-ifunc.c: New file.
21370 * benchtests/bench-memmem.c: New file.
21371 * benchtests/bench-memmove-ifunc.c: New file.
21372 * benchtests/bench-memmove.c: New file.
21373 * benchtests/bench-mempcpy-ifunc.c: New file.
21374 * benchtests/bench-mempcpy.c: New file.
21375 * benchtests/bench-memset-ifunc.c: New file.
21376 * benchtests/bench-memset.c: New file.
21377 * benchtests/bench-rawmemchr-ifunc.c: New file.
21378 * benchtests/bench-rawmemchr.c: New file.
21379 * benchtests/bench-stpcpy-ifunc.c: New file.
21380 * benchtests/bench-stpcpy.c: New file.
21381 * benchtests/bench-stpncpy-ifunc.c: New file.
21382 * benchtests/bench-stpncpy.c: New file.
21383 * benchtests/bench-strcasecmp-ifunc.c: New file.
21384 * benchtests/bench-strcasecmp.c: New file.
21385 * benchtests/bench-strcasestr-ifunc.c: New file.
21386 * benchtests/bench-strcasestr.c: New file.
21387 * benchtests/bench-strcat-ifunc.c: New file.
21388 * benchtests/bench-strcat.c: New file.
21389 * benchtests/bench-strchr-ifunc.c: New file.
21390 * benchtests/bench-strchr.c: New file.
21391 * benchtests/bench-strchrnul-ifunc.c: New file.
21392 * benchtests/bench-strchrnul.c: New file.
21393 * benchtests/bench-strcmp-ifunc.c: New file.
21394 * benchtests/bench-strcmp.c: New file.
21395 * benchtests/bench-strcpy-ifunc.c: New file.
21396 * benchtests/bench-strcpy.c: New file.
21397 * benchtests/bench-strcspn-ifunc.c: New file.
21398 * benchtests/bench-strcspn.c: New file.
21399 * benchtests/bench-strlen-ifunc.c: New file.
21400 * benchtests/bench-strlen.c: New file.
21401 * benchtests/bench-strncasecmp-ifunc.c: New file.
21402 * benchtests/bench-strncasecmp.c: New file.
21403 * benchtests/bench-strncat-ifunc.c: New file.
21404 * benchtests/bench-strncat.c: New file.
21405 * benchtests/bench-strncmp-ifunc.c: New file.
21406 * benchtests/bench-strncmp.c: New file.
21407 * benchtests/bench-strncpy-ifunc.c: New file.
21408 * benchtests/bench-strncpy.c: New file.
21409 * benchtests/bench-strnlen-ifunc.c: New file.
21410 * benchtests/bench-strnlen.c: New file.
21411 * benchtests/bench-strpbrk-ifunc.c: New file.
21412 * benchtests/bench-strpbrk.c: New file.
21413 * benchtests/bench-strrchr-ifunc.c: New file.
21414 * benchtests/bench-strrchr.c: New file.
21415 * benchtests/bench-strspn-ifunc.c: New file.
21416 * benchtests/bench-strspn.c: New file.
21417 * benchtests/bench-strstr-ifunc.c: New file.
21418 * benchtests/bench-strstr.c: New file.
21420 * benchtests/Makefile: Disable parallel execution of targets.
21421 (string-bench): Add memcpy.
21422 (benchset): New variable to store a list of benchmark sets.
21423 (bench-func): Renamed from bench.
21424 (bench-set): New target.
21425 (bench): Depend on bench-func and bench-set.
21426 * benchtests/README: Add section on benchmark sets.
21427 * benchtests/bench-memcpy-ifunc.c: New file.
21428 * benchtests/bench-memcpy.c: New file.
21429 * benchtests/bench-string.h: New file.
21431 2013-06-11 Andreas Schwab <schwab@suse.de>
21434 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21435 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21436 values in the triple.
21437 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21438 terminator in the group key.
21440 2013-06-11 Andreas Jaeger <aj@suse.de>
21442 * po/zh_TW.po: Update Chinese (traditional) translation from
21443 translation project.
21445 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21447 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21448 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21449 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21450 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21451 (clock_getcpuclockid): Likewise.
21452 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21453 Add weak_alias and libc_hidden_def.
21454 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21455 * rt/clock_gettime.c (clock_gettime): Rename to
21456 __clock_gettime. Add weak_alias and libc_hidden_def.
21457 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21458 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21459 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21460 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21461 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21463 * rt/clock_settime.c (clock_settime): Rename to
21464 __clock_settime. Add weak_alias and libc_hidden_def.
21465 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21467 2013-06-10 Joseph Myers <joseph@codesourcery.com>
21469 * mach/err_boot.sub: Remove trailing whitespace.
21470 * mach/err_ipc.sub: Likewise.
21471 * mach/err_mach.sub: Likewise.
21473 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21474 (ROUNDING_TESTS_double): Likewise.
21475 (ROUNDING_TESTS_long_double): Likewise.
21476 (ROUNDING_TESTS): Likewise.
21477 * math/libm-test.inc: Include <math-tests.h>.
21478 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21479 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21480 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21481 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21483 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21485 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21488 2013-06-08 Joseph Myers <joseph@codesourcery.com>
21490 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21491 otherwise empty TRANS lines.
21492 * sysdeps/gnu/errlist.c: Regenerated.
21494 * catgets/gencat.c (error_print): Use (void) in function
21496 * crypt/crypt_util.c (__init_des): Likewise.
21497 * crypt/speeds.c (Stop): Likewise.
21499 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21500 * inet/ruserpass.c (token): Likewise.
21501 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21502 * intl/localealias.c (extend_alias_table): Likewise.
21503 * intl/plural-exp.c (init_germanic_plural): Likewise.
21504 * libio/fcloseall.c (__fcloseall): Likewise.
21505 * libio/genops.c (_IO_flush_all): Likewise.
21506 (_IO_flush_all_linebuffered): Likewise.
21507 (_IO_cleanup): Likewise.
21508 (_IO_iter_begin): Likewise.
21509 (_IO_iter_end): Likewise.
21510 (_IO_list_lock): Likewise.
21511 (_IO_list_unlock): Likewise.
21512 (_IO_list_resetlock): Likewise.
21513 * libio/getchar.c (getchar): Likewise.
21514 * libio/getchar_u.c (getchar_unlocked): Likewise.
21515 * libio/getwchar.c (getwchar): Likewise.
21516 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21517 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21518 * login/getpt.c (__getpt): Likewise.
21519 * login/tst-utmp.c (main): Likewise.
21520 * malloc/hooks.c (__malloc_check_init): Likewise.
21521 * malloc/malloc.c (__malloc_stats): Likewise.
21522 * malloc/mtrace.c (tr_break): Likewise.
21523 (mtrace): Likewise.
21524 (muntrace): Likewise.
21525 * misc/fstab.c (endfsent): Likewise.
21526 * misc/getclktck.c (__getclktck): Likewise.
21527 * misc/getdtsz.c (__getdtablesize): Likewise.
21528 * misc/gethostid.c (gethostid): Likewise.
21529 * misc/getpagesize.c (__getpagesize): Likewise.
21530 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21531 (__get_nprocs): Likewise.
21532 (__get_phys_pages): Likewise.
21533 (__get_avphys_pages): Likewise.
21534 * misc/getttyent.c (getttyent): Likewise.
21535 (setttyent): Likewise.
21536 (endttyent): Likewise.
21537 * misc/getusershell.c (getusershell): Likewise.
21538 (endusershell): Likewise.
21539 (setusershell): Likewise.
21540 (initshells): Likewise.
21541 * misc/hsearch.c (__hdestroy): Likewise.
21542 * misc/sync.c (sync): Likewise.
21543 * misc/syslog.c (closelog_internal): Likewise.
21544 (closelog): Likewise.
21545 * misc/ttyslot.c (ttyslot): Likewise.
21546 * misc/vhangup.c (vhangup): Likewise.
21547 * posix/fork.c (__fork): Likewise.
21548 * posix/getegid.c (__getegid): Likewise.
21549 * posix/geteuid.c (__geteuid): Likewise.
21550 * posix/getgid.c (__getgid): Likewise.
21551 * posix/getpid.c (__getpid): Likewise.
21552 * posix/getppid.c (__getppid): Likewise.
21553 * posix/getuid.c (__getuid): Likewise.
21554 * posix/pause.c (pause): Likewise.
21555 * posix/setpgrp.c (setpgrp): Likewise.
21556 * posix/setsid.c (__setsid): Likewise.
21557 * posix/test-vfork.c (noop): Likewise.
21558 * resolv/gethnamaddr.c (_endhtent): Likewise.
21559 (_gethtent): Likewise.
21560 (ht_endhostent): Likewise.
21561 (gethostent): Likewise.
21562 (dns_service): Likewise.
21563 * stdlib/drand48.c (drand48): Likewise.
21564 * stdlib/lrand48.c (lrand48): Likewise.
21565 * stdlib/mrand48.c (mrand48): Likewise.
21566 * stdlib/rand.c (rand): Likewise.
21567 * stdlib/random.c (__random): Likewise.
21568 * stdlib/setenv.c (clearenv): Likewise.
21569 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21570 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21571 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21572 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21573 (__get_nprocs): Likewise.
21574 (__get_phys_pages): Likewise.
21575 (__get_avphys_pages): Likewise.
21576 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21577 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21578 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21579 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21580 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21581 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21582 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21583 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21584 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21585 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21586 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21587 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21588 * sysdeps/posix/clock.c (clock): Likewise.
21589 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21590 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21591 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21592 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21593 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21595 (__get_nprocs_conf): Likewise.
21596 (__get_phys_pages): Likewise.
21597 (__get_avphys_pages): Likewise.
21598 * time/clock.c (clock): Likewise.
21599 * time/tzset.c (__tzname_max): Likewise.
21601 2013-06-07 Joseph Myers <joseph@codesourcery.com>
21603 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21604 (__bswap_32): Do not use "register".
21605 * crypt/crypt.c (_ufc_doit_r): Likewise.
21606 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21607 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21608 * gmon/gmon.c (__monstartup): Likewise.
21609 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21610 * hurd/hurdmalloc.c (more_memory): Likewise.
21611 (malloc): Likewise.
21613 (realloc): Likewise.
21614 (malloc_fork_prepare): Likewise.
21615 (malloc_fork_parent): Likewise.
21616 (malloc_fork_child): Likewise.
21617 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21618 (_svcauth_des): Likewise.
21619 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21620 * inet/inet_net.c (inet_network): Likewise.
21621 * inet/inet_netof.c (inet_netof): Likewise.
21622 * inet/rcmd.c (__validuser2_sa): Likewise.
21623 * io/fts.c (fts_open): Likewise.
21624 (fts_load): Likewise.
21625 (fts_close): Likewise.
21626 (fts_read): Likewise.
21627 (fts_children): Likewise.
21628 (fts_build): Likewise.
21629 (fts_stat): Likewise.
21630 (fts_sort): Likewise.
21631 (fts_alloc): Likewise.
21632 (fts_lfree): Likewise.
21633 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21634 (_IO_file_xsgetn): Likewise.
21635 (_IO_file_xsgetn_mmap): Likewise.
21636 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21637 (_IO_cookie_write): Likewise.
21638 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21639 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21640 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21641 * malloc/obstack.c (_obstack_begin): Likewise.
21642 (_obstack_begin_1): Likewise.
21643 (_obstack_newchunk): Likewise.
21644 (_obstack_allocated_p): Likewise.
21645 (obstack_free): Likewise.
21646 (_obstack_memory_used): Likewise.
21647 * misc/getttyent.c (getttynam): Likewise.
21648 (getttyent): Likewise.
21651 * misc/getusershell.c (initshells): Likewise.
21652 * misc/syslog.c (__vsyslog_chk): Likewise.
21653 * misc/ttyslot.c (ttyslot): Likewise.
21654 * nis/nis_hash.c (__nis_hash): Likewise.
21655 * posix/fnmatch_loop.c (FCT): Likewise.
21656 * posix/getconf.c (print_all): Likewise.
21658 * posix/getopt.c (exchange): Likewise.
21659 * posix/glob.c (globfree): Likewise.
21660 (prefix_array): Likewise.
21661 (__glob_pattern_type): Likewise.
21662 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21663 (NS_GET32): Likewise.
21664 (NS_PUT16): Likewise.
21665 (NS_PUT32): Likewise.
21666 * resolv/gethnamaddr.c (getanswer): Likewise.
21667 (gethostbyname2): Likewise.
21668 (gethostbyaddr): Likewise.
21669 (_gethtent): Likewise.
21670 (_gethtbyname2): Likewise.
21671 (_gethtbyaddr): Likewise.
21672 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21673 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21674 * resolv/res_init.c (__res_vinit): Likewise.
21675 (net_mask): Likewise.
21676 * resolv/res_mkquery.c (outchar): Likewise.
21678 * stdio-common/printf_fp.c (outchar): Likewise.
21680 * stdio-common/printf_fphex.c (outchar): Likewise.
21682 * stdio-common/printf_size.c (outchar): Likewise.
21684 * stdio-common/test_rdwr.c (main): Likewise.
21685 * stdio-common/tfformat.c (matches): Likewise.
21686 * stdio-common/vfprintf.c (outchar): Likewise.
21687 (printf_unknown): Likewise.
21688 (buffered_vfprintf): Likewise.
21689 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21690 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21691 (ReadFile): Likewise.
21692 * stdlib/qsort.c (SWAP): Likewise.
21693 (_quicksort): Likewise.
21694 * stdlib/setenv.c (__add_to_environ): Likewise.
21695 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21696 * stdlib/strtol_l.c (__strtol_l): Likewise.
21697 * stdlib/tst-strtod.c (main): Likewise.
21698 * stdlib/tst-strtol.c (main): Likewise.
21699 * stdlib/tst-strtoll.c (main): Likewise.
21700 * string/bits/string2.h (__strcmp_cc): Likewise.
21701 (__strcmp_cg): Likewise.
21702 (__strcspn_c1): Likewise.
21703 (__strcspn_c2): Likewise.
21704 (__strcspn_c3): Likewise.
21705 (__strspn_c1): Likewise.
21706 (__strspn_c2): Likewise.
21707 (__strspn_c3): Likewise.
21708 (__strsep_1c): Likewise.
21709 (__strsep_2c): Likewise.
21710 (__strsep_3c): Likewise.
21711 * string/memccpy.c (__memccpy): Likewise.
21712 * string/stpcpy.c (__stpcpy): Likewise.
21713 * string/strcmp.c (strcmp): Likewise.
21714 * string/strrchr.c (strrchr): Likewise.
21715 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21717 * sysdeps/mach/hurd/getcwd.c
21718 (_hurd_canonicalize_directory_name_internal): Likewise.
21719 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21720 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21721 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21722 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21723 Likewise, in both definitions.
21724 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21726 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21727 64] (__bswap_64): Likewise.
21728 * time/test_time.c (main): Likewise.
21729 * time/tzfile.c (__tzfile_read): Likewise.
21730 (__tzfile_compute): Likewise.
21731 * time/tzset.c (__tzset_parse_tz): Likewise.
21732 (tzset_internal): Likewise.
21733 (compute_change): Likewise.
21734 * wcsmbs/wcscat.c (__wcscat): Likewise.
21735 * wcsmbs/wcschr.c (wcschr): Likewise.
21736 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21737 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21738 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21739 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21740 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21741 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21742 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21743 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21744 * wcsmbs/wmemset.c (wmemset): Likewise.
21746 2013-06-06 Joseph Myers <joseph@codesourcery.com>
21748 * scripts/config.guess: Update to version 2013-05-16.
21749 * scripts/config.sub: Update to version 2013-04-24.
21750 * scripts/install-sh: Update to version 2011-11-20.07.
21751 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21752 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21754 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
21756 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21757 * elf/sln.c: Likewise.
21758 * hurd/hurd/ioctl.h: Likewise.
21759 * hurd/hurdmalloc.c: Likewise.
21760 * hurd/xattr.c: Likewise.
21761 * include/shlib-compat.h: Likewise.
21762 * inet/ruserpass.c: Likewise.
21763 * libio/iofgets_u.c: Likewise.
21764 * libio/iofgetws_u.c: Likewise.
21765 * locale/programs/ld-identification.c: Likewise.
21766 * locale/programs/ld-time.c: Likewise.
21767 * mach/msg-destroy.c: Likewise.
21768 * nss/nss_files/files-netgrp.c: Likewise.
21769 * resolv/res_data.c: Likewise.
21770 * soft-fp/op-1.h: Likewise.
21771 * soft-fp/op-2.h: Likewise.
21772 * soft-fp/op-4.h: Likewise.
21773 * soft-fp/op-common.h: Likewise.
21774 * stdio-common/printf_fphex.c: Likewise.
21775 * stdlib/strtod_l.c: Likewise.
21776 * sunrpc/rpc/clnt.h: Likewise.
21777 * sysdeps/generic/framestate.c: Likewise.
21778 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21779 * sysdeps/i386/bsd-setjmp.S: Likewise.
21780 * sysdeps/i386/__longjmp.S: Likewise.
21781 * sysdeps/i386/setjmp.S: Likewise.
21782 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21783 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21784 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21800 * sysdeps/ieee754/support.c: Likewise.
21801 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21802 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21803 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21804 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21805 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21806 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21807 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21808 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21809 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21810 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21811 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21812 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21813 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21814 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21815 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21816 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21817 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21820 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21822 * posix/transbug.c: Remove executable mode.
21824 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21826 * crypt/speeds.c: Remove trailing whitespace.
21827 * dlfcn/default.c: Likewise.
21828 * elf/ifuncdep2.c: Likewise.
21829 * elf/ifuncmain1.c: Likewise.
21830 * elf/ifuncmain1vis.c: Likewise.
21831 * elf/testobj.h: Likewise.
21832 * elf/tst-stackguard1.c: Likewise.
21833 * gmon/sys/gmon.h: Likewise.
21834 * hurd/hurdmsg.c: Likewise.
21835 * hurd/new-fd.c: Likewise.
21836 * hurd/ports-get.c: Likewise.
21837 * iconvdata/ibm1008_420.c: Likewise.
21838 * inet/tst-getni1.c: Likewise.
21839 * inet/tst-getni2.c: Likewise.
21840 * libio/ioungetc.c: Likewise.
21841 * libio/wfiledoalloc.c: Likewise.
21842 * manual/libm-err-tab.pl: Likewise.
21843 * math/w_dremf.c: Likewise.
21844 * misc/ftruncate.c: Likewise.
21845 * posix/bug-glob2.c: Likewise.
21846 * posix/tst-pcre.c: Likewise.
21847 * posix/wait4.c: Likewise.
21848 * resolv/README: Likewise.
21849 * resolv/res_debug.h: Likewise.
21850 * resolv/tst-inet_ntop.c: Likewise.
21851 * setjmp/bug269-setjmp.c: Likewise.
21852 * soft-fp/extended.h: Likewise.
21853 * soft-fp/op-1.h: Likewise.
21854 * soft-fp/op-2.h: Likewise.
21855 * soft-fp/op-4.h: Likewise.
21856 * soft-fp/op-8.h: Likewise.
21857 * soft-fp/testit.c: Likewise.
21858 * stdio-common/bug16.c: Likewise.
21859 * stdlib/random.c: Likewise.
21860 * sunrpc/rpcsvc/rquota.x: Likewise.
21861 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21862 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21863 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21864 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21865 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21866 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21867 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21868 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21869 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21870 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21871 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21872 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21873 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21874 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21875 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21876 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21877 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21878 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21879 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21880 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21881 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21882 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21883 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21884 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21885 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21886 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21887 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21888 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21889 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21890 * sysdeps/ieee754/s_lib_version.c: Likewise.
21891 * sysdeps/mach/hurd/check_fds.c: Likewise.
21892 * sysdeps/mach/hurd/getsockname.c: Likewise.
21893 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21894 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21895 * sysdeps/powerpc/bits/link.h: Likewise.
21896 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21897 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21898 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21899 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21900 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21901 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21902 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21903 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21904 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21905 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21906 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21907 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21908 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21909 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21910 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21911 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21914 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21915 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21916 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21917 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21918 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21919 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21920 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21921 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21922 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21923 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21924 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21926 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21927 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21928 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21929 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21930 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21931 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21932 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21933 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21934 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21935 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21936 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21937 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21938 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21939 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21940 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21941 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21942 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21943 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21944 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21945 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21948 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21949 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21950 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21951 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21952 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21953 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21954 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21955 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21956 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21957 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21958 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21959 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21960 * sysdeps/powerpc/sysdep.h: Likewise.
21961 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21962 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21963 * sysdeps/sh/dl-trampoline.S: Likewise.
21964 * sysdeps/sh/memset.S: Likewise.
21965 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21966 * sysdeps/sh/strlen.S: Likewise.
21967 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21968 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21969 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21970 * sysdeps/sparc/sparc32/rem.S: Likewise.
21971 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21972 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21973 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21974 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21975 * sysdeps/sparc/sparc32/urem.S: Likewise.
21976 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21977 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21978 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21979 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21980 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21981 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21982 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21983 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21984 * sysdeps/unix/bsd/times.c: Likewise.
21985 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21986 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21990 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21991 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21992 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21993 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21994 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21995 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21996 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21997 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21998 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21999 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22000 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22001 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22002 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22003 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22004 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22005 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22006 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22007 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22008 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22009 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22010 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22011 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22012 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22013 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22014 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22015 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22016 * sysdeps/x86_64/strcspn.S: Likewise.
22018 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22020 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22021 generated file. Regenerate properly from gen-translit.pl.
22022 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22023 locale/C-translit.h.
22025 2013-06-05 Andreas Schwab <schwab@suse.de>
22028 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22029 week as 6 instead of -1.
22030 * time/tst-strptime.c (day_tests): Add test case.
22032 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22034 * sysdeps/generic/math_private.h
22035 (libc_feholdexcept_setround_53bit): Replace with
22036 libc_feholdsetround_53bit.
22037 (libc_feupdateenv_53bit): Replace with
22038 libc_feresetround_53bit.
22039 (SET_RESTORE_ROUND_53BIT): Adjust.
22041 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22043 * string/test-strchrnul.c: Add copyright header.
22045 * posix/tst-getaddrinfo4.c: Increase test timeout.
22047 2013-06-03 Carlos O'Donell <carlos@redhat.com>
22050 * math/libm-test.inc (MAX_EXP): Remove
22052 (ulp): Use MIN_EXP - MANT_DIG.
22053 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22055 2013-05-31 Carlos O'Donell <carlos@redhat.com>
22057 * po/be.po: Revert last change.
22058 * po/zh_CN.po: Likewise.
22059 * po/header.pot: Likewise.
22061 2013-05-31 Joseph Myers <joseph@codesourcery.com>
22063 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22064 link-libc-deps to empty as target-specific variable.
22065 * Makerules (link-libc-args): New variable.
22066 (libc-for-link): Likewise.
22067 (link-libc-deps): Likewise.
22068 (lib%.so): Depend on $(link-libc-deps). Link with
22070 (build-module): Link with $(link-libc-args).
22071 (build-module-asneeded): Likewise.
22072 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22074 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22075 target-specific variable.
22076 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22077 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22078 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22080 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22082 ($(objpfx)libpcprofile.so): Likewise.
22083 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22085 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22086 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22087 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22089 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22090 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22091 * login/Makefile ($(objpfx)libutil.so): Likewise.
22092 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22093 * math/Makefile ($(objpfx)libm.so): Likewise.
22094 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22095 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22096 variable instead of depending directly on libc.
22097 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22098 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22100 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22102 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22103 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22104 ($(objpfx)libanl.so): Likewise.
22105 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22107 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22109 * sysdeps/i386/fpu/Makefile: Remove file.
22110 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22111 ($(objpfx)libm.so): Remove dependency on ld.so.
22113 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
22116 * nis/yp_xdr.c (XDRMAXNAME): Define.
22117 (XDRMAXRECORD): Define.
22118 (xdr_domainname): Use XDRMAXNAME.
22119 (xdr_mapname): Likewise.
22120 (xdr_peername): Likewise.
22121 (xdr_keydat): Use XDRMAXRECORD.
22122 (xdr_valdat): Likewise.
22124 2013-05-30 Jeff Law <law@redhat.com>
22127 * manual/errno.texi (ESTALE): Update to account for more than
22128 just NFS file systems.
22129 * sysdeps/gnu/errlist.c: Regenerated.
22131 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22134 * elf/Makefile (tests): Add tst-null-argv.
22135 (modules-names): Add tst-null-argv-lib.
22136 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22137 (tst-null-argv-ENV): Set environment for tst-null-argv.
22138 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22139 (RTLD_PROGNAME): New macro.
22140 * elf/tst-null-argv.c: New test case.
22141 * elf/tst-null-argv-lib.c: Library for test case.
22142 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22143 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22144 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22145 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22146 * elf/dl-init.c (call_init): Likewise.
22147 (_dl_init): Likewise.
22148 * elf/dl-load.c (print_search_path): Likewise.
22149 (_dl_map_object): Likewise.
22150 * elf/dl-lookup.c (do_lookup_x): Likewise.
22151 (add_dependency): Likewise.
22152 (_dl_lookup_symbol_x): Likewise.
22153 (_dl_debug_bindings): Likewise.
22154 * elf/dl-open.c (_dl_show_scope): Likewise.
22155 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22156 * elf/dl-version.c (match_symbol): Likewise.
22157 (_dl_check_map_versions): Likewise.
22158 * elf/rtld.c (dl_main): Likewise.
22159 (print_unresolved): Use RTLD_PROGNAME.
22160 (print_missing_version): Likewise.
22161 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22162 (elf_machine_rela): Likewise.
22163 * sysdeps/powerpc/powerpc32/dl-machine.c
22164 (__process_machine_rela): Likewise.
22165 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22167 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22169 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22171 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22172 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22174 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22178 2013-05-28 Carlos O'Donell <carlos@redhat.com>
22180 * po/be.po: Add descriptive title.
22181 * po/zh_CN.po: Likewise.
22182 * po/header.pot: Likewise.
22184 2013-05-28 Mike Frysinger <vapier@gentoo.org>
22186 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22188 (enlarge_archive): Likewise.
22190 2013-05-28 Ben North <ben@redfrontdoor.org>
22192 * manual/arith.texi (frexp): It is the magnitude of the return
22193 value which lies in [0.5, 1), not the return value itself.
22195 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22199 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22201 * stdio-common/bug26.c (main): Correct fscanf template.
22203 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22204 declare _dl_skip_args.
22206 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22209 * manual/platform.texi: Add missing @end deftypefun.
22211 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22214 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22215 bit of mantissa of 2^16382.
22216 * math/libm-test.inc (hypot_test_data): Add more tests.
22218 * math/libm-test.inc: Add drem and pow10 to list of tested
22220 (pow10_test): New function.
22221 (drem_test): Likewise.
22222 (drem_test_tonearest): Likewise.
22223 (drem_test_towardzero): Likewise.
22224 (drem_test_downward): Likewise.
22225 (drem_test_upward): Likewise.
22226 (main): Call the new functions.
22228 * math/libm-test.inc (finite_test_data): Remove.
22229 (finite_test): Run tests from isfinite_test_data.
22230 (gamma_test_data): Remove.
22231 (gamma_test): Run tests from lgamma_test_data.
22232 * sysdeps/i386/fpu/libm-test-ulps: Update.
22233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22235 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22237 * manual/platform.texi: Add PowerPC PPR function set documentation.
22238 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22241 2013-05-24 Carlos O'Donell <carlos@redhat.com>
22243 * math/libm-test.inc (MAX_EXP): Define.
22245 (ulp): New function.
22246 (check_float_internal): Use ULPDIFF.
22247 (cpow_test): Disable failing test.
22248 (check_ulp): Test ulp() implemetnation.
22249 (main): Call check_ulp before starting tests.
22251 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22253 * math/gen-libm-test.pl (generate_testfile): Do not handle
22254 START_DATA and END_DATA.
22255 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22257 (acos_tonearest_test_data): Likewise.
22258 (acos_towardzero_test_data): Likewise.
22259 (acos_downward_test_data): Likewise.
22260 (acos_upward_test_data): Likewise.
22261 (acosh_test_data): Likewise.
22262 (asin_test_data): Likewise.
22263 (asin_tonearest_test_data): Likewise.
22264 (asin_towardzero_test_data): Likewise.
22265 (asin_downward_test_data): Likewise.
22266 (asin_upward_test_data): Likewise.
22267 (asinh_test_data): Likewise.
22268 (atan_test_data): Likewise.
22269 (atanh_test_data): Likewise.
22270 (atan2_test_data): Likewise.
22271 (cabs_test_data): Likewise.
22272 (cacos_test_data): Likewise.
22273 (cacosh_test_data): Likewise.
22274 (carg_test_data): Likewise.
22275 (casin_test_data): Likewise.
22276 (casinh_test_data): Likewise.
22277 (catan_test_data): Likewise.
22278 (catanh_test_data): Likewise.
22279 (cbrt_test_data): Likewise.
22280 (ccos_test_data): Likewise.
22281 (ccosh_test_data): Likewise.
22282 (ceil_test_data): Likewise.
22283 (cexp_test_data): Likewise.
22284 (cimag_test_data): Likewise.
22285 (clog_test_data): Likewise.
22286 (clog10_test_data): Likewise.
22287 (conj_test_data): Likewise.
22288 (copysign_test_data): Likewise.
22289 (cos_test_data): Likewise.
22290 (cos_tonearest_test_data): Likewise.
22291 (cos_towardzero_test_data): Likewise.
22292 (cos_downward_test_data): Likewise.
22293 (cos_upward_test_data): Likewise.
22294 (cosh_test_data): Likewise.
22295 (cosh_tonearest_test_data): Likewise.
22296 (cosh_towardzero_test_data): Likewise.
22297 (cosh_downward_test_data): Likewise.
22298 (cosh_upward_test_data): Likewise.
22299 (cpow_test_data): Likewise.
22300 (cproj_test_data): Likewise.
22301 (creal_test_data): Likewise.
22302 (csin_test_data): Likewise.
22303 (csinh_test_data): Likewise.
22304 (csqrt_test_data): Likewise.
22305 (ctan_test_data): Likewise.
22306 (ctan_tonearest_test_data): Likewise.
22307 (ctan_towardzero_test_data): Likewise.
22308 (ctan_downward_test_data): Likewise.
22309 (ctan_upward_test_data): Likewise.
22310 (ctanh_test_data): Likewise.
22311 (ctanh_tonearest_test_data): Likewise.
22312 (ctanh_towardzero_test_data): Likewise.
22313 (ctanh_downward_test_data): Likewise.
22314 (ctanh_upward_test_data): Likewise.
22315 (erf_test_data): Likewise.
22316 (erfc_test_data): Likewise.
22317 (exp_test_data): Likewise.
22318 (exp_tonearest_test_data): Likewise.
22319 (exp_towardzero_test_data): Likewise.
22320 (exp_downward_test_data): Likewise.
22321 (exp_upward_test_data): Likewise.
22322 (exp10_test_data): Likewise.
22323 (exp2_test_data): Likewise.
22324 (expm1_test_data): Likewise.
22325 (fabs_test_data): Likewise.
22326 (fdim_test_data): Likewise.
22327 (finite_test_data): Likewise.
22328 (floor_test_data): Likewise.
22329 (fma_test_data): Likewise.
22330 (fma_towardzero_test_data): Likewise.
22331 (fma_downward_test_data): Likewise.
22332 (fma_upward_test_data): Likewise.
22333 (fmax_test_data): Likewise.
22334 (fmin_test_data): Likewise.
22335 (fmod_test_data): Likewise.
22336 (fpclassify_test_data): Likewise.
22337 (frexp_test_data): Likewise.
22338 (gamma_test_data): Likewise.
22339 (hypot_test_data): Likewise.
22340 (ilogb_test_data): Likewise.
22341 (isfinite_test_data): Likewise.
22342 (isgreater_test_data): Likewise.
22343 (isgreaterequal_test_data): Likewise.
22344 (isinf_test_data): Likewise.
22345 (isless_test_data): Likewise.
22346 (islessequal_test_data): Likewise.
22347 (islessgreater_test_data): Likewise.
22348 (isnan_test_data): Likewise.
22349 (isnormal_test_data): Likewise.
22350 (issignaling_test_data): Likewise.
22351 (isunordered_test_data): Likewise.
22352 (j0_test_data): Likewise.
22353 (j1_test_data): Likewise.
22354 (jn_test_data): Likewise.
22355 (ldexp_test_data): Likewise.
22356 (lgamma_test_data): Likewise.
22357 (lrint_test_data): Likewise.
22358 (lrint_tonearest_test_data): Likewise.
22359 (lrint_towardzero_test_data): Likewise.
22360 (lrint_downward_test_data): Likewise.
22361 (lrint_upward_test_data): Likewise.
22362 (llrint_test_data): Likewise.
22363 (llrint_tonearest_test_data): Likewise.
22364 (llrint_towardzero_test_data): Likewise.
22365 (llrint_downward_test_data): Likewise.
22366 (llrint_upward_test_data): Likewise.
22367 (log_test_data): Likewise.
22368 (log10_test_data): Likewise.
22369 (log1p_test_data): Likewise.
22370 (log2_test_data): Likewise.
22371 (logb_test_data): Likewise.
22372 (logb_downward_test_data): Likewise.
22373 (lround_test_data): Likewise.
22374 (llround_test_data): Likewise.
22375 (modf_test_data): Likewise.
22376 (nearbyint_test_data): Likewise.
22377 (nextafter_test_data): Likewise.
22378 (nexttoward_test_data): Likewise.
22379 (pow_test_data): Likewise.
22380 (pow_tonearest_test_data): Likewise.
22381 (pow_towardzero_test_data): Likewise.
22382 (pow_downward_test_data): Likewise.
22383 (pow_upward_test_data): Likewise.
22384 (remainder_test_data): Likewise.
22385 (remainder_tonearest_test_data): Likewise.
22386 (remainder_towardzero_test_data): Likewise.
22387 (remainder_downward_test_data): Likewise.
22388 (remainder_upward_test_data): Likewise.
22389 (remquo_test_data): Likewise.
22390 (rint_test_data): Likewise.
22391 (rint_tonearest_test_data): Likewise.
22392 (rint_towardzero_test_data): Likewise.
22393 (rint_downward_test_data): Likewise.
22394 (rint_upward_test_data): Likewise.
22395 (round_test_data): Likewise.
22396 (scalb_test_data): Likewise.
22397 (scalbn_test_data): Likewise.
22398 (scalbln_test_data): Likewise.
22399 (signbit_test_data): Likewise.
22400 (sin_test_data): Likewise.
22401 (sin_tonearest_test_data): Likewise.
22402 (sin_towardzero_test_data): Likewise.
22403 (sin_downward_test_data): Likewise.
22404 (sin_upward_test_data): Likewise.
22405 (sincos_test_data): Likewise.
22406 (sinh_test_data): Likewise.
22407 (sinh_tonearest_test_data): Likewise.
22408 (sinh_towardzero_test_data): Likewise.
22409 (sinh_downward_test_data): Likewise.
22410 (sinh_upward_test_data): Likewise.
22411 (sqrt_test_data): Likewise.
22412 (tan_test_data): Likewise.
22413 (tan_tonearest_test_data): Likewise.
22414 (tan_towardzero_test_data): Likewise.
22415 (tan_downward_test_data): Likewise.
22416 (tan_upward_test_data): Likewise.
22417 (tanh_test_data): Likewise.
22418 (tgamma_test_data): Likewise.
22419 (trunc_test_data): Likewise.
22420 (y0_test_data): Likewise.
22421 (y1_test_data): Likewise.
22422 (yn_test_data): Likewise.
22423 (significand_test_data): Likewise.
22425 * math/gen-libm-test.pl (@functions): Remove variable.
22426 (generate_testfile): Don't handle START and END lines.
22427 * math/libm-test.inc (START): New macro.
22429 (END_COMPLEX): Likewise.
22430 (acos_test): Use END macro without arguments.
22431 (acos_test_tonearest): Likewise.
22432 (acos_test_towardzero): Likewise.
22433 (acos_test_downward): Likewise.
22434 (acos_test_upward): Likewise.
22435 (acosh_test): Likewise.
22436 (asin_test): Likewise.
22437 (asin_test_tonearest): Likewise.
22438 (asin_test_towardzero): Likewise.
22439 (asin_test_downward): Likewise.
22440 (asin_test_upward): Likewise.
22441 (asinh_test): Likewise.
22442 (atan_test): Likewise.
22443 (atanh_test): Likewise.
22444 (atan2_test): Likewise.
22445 (cabs_test): Likewise.
22446 (cacos_test): Use END_COMPLEX macro without arguments.
22447 (cacosh_test): Likewise.
22448 (carg_test): Use END macro without arguments.
22449 (casin_test): Use END_COMPLEX macro without arguments.
22450 (casinh_test): Likewise.
22451 (catan_test): Likewise.
22452 (catanh_test): Likewise.
22453 (cbrt_test): Use END macro without arguments.
22454 (ccos_test): Use END_COMPLEX macro without arguments.
22455 (ccosh_test): Likewise.
22456 (ceil_test): Use END macro without arguments.
22457 (cexp_test): Use END_COMPLEX macro without arguments.
22458 (cimag_test): Use END macro without arguments.
22459 (clog_test): Use END_COMPLEX macro without arguments.
22460 (clog10_test): Likewise.
22461 (conj_test): Likewise.
22462 (copysign_test): Use END macro without arguments.
22463 (cos_test): Likewise.
22464 (cos_test_tonearest): Likewise.
22465 (cos_test_towardzero): Likewise.
22466 (cos_test_downward): Likewise.
22467 (cos_test_upward): Likewise.
22468 (cosh_test): Likewise.
22469 (cosh_test_tonearest): Likewise.
22470 (cosh_test_towardzero): Likewise.
22471 (cosh_test_downward): Likewise.
22472 (cosh_test_upward): Likewise.
22473 (cpow_test): Use END_COMPLEX macro without arguments.
22474 (cproj_test): Likewise.
22475 (creal_test): Use END macro without arguments.
22476 (csin_test): Use END_COMPLEX macro without arguments.
22477 (csinh_test): Likewise.
22478 (csqrt_test): Likewise.
22479 (ctan_test): Likewise.
22480 (ctan_test_tonearest): Likewise.
22481 (ctan_test_towardzero): Likewise.
22482 (ctan_test_downward): Likewise.
22483 (ctan_test_upward): Likewise.
22484 (ctanh_test): Likewise.
22485 (ctanh_test_tonearest): Likewise.
22486 (ctanh_test_towardzero): Likewise.
22487 (ctanh_test_downward): Likewise.
22488 (ctanh_test_upward): Likewise.
22489 (erf_test): Use END macro without arguments.
22490 (erfc_test): Likewise.
22491 (exp_test): Likewise.
22492 (exp_test_tonearest): Likewise.
22493 (exp_test_towardzero): Likewise.
22494 (exp_test_downward): Likewise.
22495 (exp_test_upward): Likewise.
22496 (exp10_test): Likewise.
22497 (exp2_test): Likewise.
22498 (expm1_test): Likewise.
22499 (fabs_test): Likewise.
22500 (fdim_test): Likewise.
22501 (finite_test): Likewise.
22502 (floor_test): Likewise.
22503 (fma_test): Likewise.
22504 (fma_test_towardzero): Likewise.
22505 (fma_test_downward): Likewise.
22506 (fma_test_upward): Likewise.
22507 (fmax_test): Likewise.
22508 (fmin_test): Likewise.
22509 (fmod_test): Likewise.
22510 (fpclassify_test): Likewise.
22511 (frexp_test): Likewise.
22512 (gamma_test): Likewise.
22513 (hypot_test): Likewise.
22514 (ilogb_test): Likewise.
22515 (isfinite_test): Likewise.
22516 (isgreater_test): Likewise.
22517 (isgreaterequal_test): Likewise.
22518 (isinf_test): Likewise.
22519 (isless_test): Likewise.
22520 (islessequal_test): Likewise.
22521 (islessgreater_test): Likewise.
22522 (isnan_test): Likewise.
22523 (isnormal_test): Likewise.
22524 (issignaling_test): Likewise.
22525 (isunordered_test): Likewise.
22526 (j0_test): Likewise.
22527 (j1_test): Likewise.
22528 (jn_test): Likewise.
22529 (ldexp_test): Likewise.
22530 (lgamma_test): Likewise.
22531 (lrint_test): Likewise.
22532 (lrint_test_tonearest): Likewise.
22533 (lrint_test_towardzero): Likewise.
22534 (lrint_test_downward): Likewise.
22535 (lrint_test_upward): Likewise.
22536 (llrint_test): Likewise.
22537 (llrint_test_tonearest): Likewise.
22538 (llrint_test_towardzero): Likewise.
22539 (llrint_test_downward): Likewise.
22540 (llrint_test_upward): Likewise.
22541 (log_test): Likewise.
22542 (log10_test): Likewise.
22543 (log1p_test): Likewise.
22544 (log2_test): Likewise.
22545 (logb_test): Likewise.
22546 (logb_test_downward): Likewise.
22547 (lround_test): Likewise.
22548 (llround_test): Likewise.
22549 (modf_test): Likewise.
22550 (nearbyint_test): Likewise.
22551 (nextafter_test): Likewise.
22552 (nexttoward_test): Likewise.
22553 (pow_test): Likewise.
22554 (pow_test_tonearest): Likewise.
22555 (pow_test_towardzero): Likewise.
22556 (pow_test_downward): Likewise.
22557 (pow_test_upward): Likewise.
22558 (remainder_test): Likewise.
22559 (remainder_test_tonearest): Likewise.
22560 (remainder_test_towardzero): Likewise.
22561 (remainder_test_downward): Likewise.
22562 (remainder_test_upward): Likewise.
22563 (remquo_test): Likewise.
22564 (rint_test): Likewise.
22565 (rint_test_tonearest): Likewise.
22566 (rint_test_towardzero): Likewise.
22567 (rint_test_downward): Likewise.
22568 (rint_test_upward): Likewise.
22569 (round_test): Likewise.
22570 (scalb_test): Likewise.
22571 (scalbn_test): Likewise.
22572 (scalbln_test): Likewise.
22573 (signbit_test): Likewise.
22574 (sin_test): Likewise.
22575 (sin_test_tonearest): Likewise.
22576 (sin_test_towardzero): Likewise.
22577 (sin_test_downward): Likewise.
22578 (sin_test_upward): Likewise.
22579 (sincos_test): Likewise.
22580 (sinh_test): Likewise.
22581 (sinh_test_tonearest): Likewise.
22582 (sinh_test_towardzero): Likewise.
22583 (sinh_test_downward): Likewise.
22584 (sinh_test_upward): Likewise.
22585 (sqrt_test): Likewise.
22586 (tan_test): Likewise.
22587 (tan_test_tonearest): Likewise.
22588 (tan_test_towardzero): Likewise.
22589 (tan_test_downward): Likewise.
22590 (tan_test_upward): Likewise.
22591 (tanh_test): Likewise.
22592 (tgamma_test): Likewise.
22593 (trunc_test): Likewise.
22594 (y0_test): Likewise.
22595 (y1_test): Likewise.
22596 (yn_test): Likewise.
22597 (significand_test): Likewise.
22599 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
22602 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22604 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22607 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22608 __ppc_mdoio and __ppc_mdoom.
22609 * manual/platform.texi: Document new functions __ppc_yield,
22610 __ppc_mdoio and __ppc_mdoom.
22612 2013-05-22 Carlos O'Donell <carlos@redhat.com>
22614 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22615 (main): Mention "tls" pseudo-hwcap is legacy.
22616 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22618 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22620 * math/gen-libm-test.pl (parse_args): Output only string of
22621 arguments as text for test name, not full call or descriptions of
22622 tests for extra outputs.
22623 (generate_testfile): Do not pass function name to parse_args.
22624 Generate this_func variable from START.
22625 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22627 (struct test_ff_f_data): Likewise.
22628 (test_ff_f_data_nexttoward): Likewise.
22629 (struct test_fi_f_data): Likewise.
22630 (struct test_fl_f_data): Likewise.
22631 (struct test_if_f_data): Likewise.
22632 (struct test_fff_f_data): Likewise.
22633 (struct test_c_f_data): Likewise.
22634 (struct test_f_f1_data): Likewise. Remove field extra_name.
22635 (struct test_fF_f1_data): Likewise.
22636 (struct test_ffI_f1_data): Likewise.
22637 (struct test_c_c_data): Rename test_name field to arg_str.
22638 (struct test_cc_c_data): Likewise.
22639 (struct test_f_i_data): Likewise.
22640 (struct test_ff_i_data): Likewise.
22641 (struct test_f_l_data): Likewise.
22642 (struct test_f_L_data): Likewise.
22643 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22645 (COMMON_TEST_SETUP): New macro.
22646 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22647 (COMMON_TEST_CLEANUP): Likewise.
22648 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22649 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22651 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22652 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22654 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22655 (RUN_TEST_fff_f): Take argument string. Call new setup and
22657 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22658 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22660 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22661 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22663 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22664 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22666 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22667 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22669 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22670 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22672 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22673 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22675 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22676 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22678 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22679 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22681 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22682 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22684 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22685 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22687 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22688 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22690 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22691 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22693 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22694 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22696 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22697 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22699 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22700 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22702 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22704 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22706 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22707 to _sifields.sigfault.
22708 (si_addr_lsb): Define new macro.
22709 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22711 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22713 2013-05-03 Carlos O'Donell <carlos at redhat.com>
22716 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22718 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22720 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22721 loading the domain.
22723 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22725 * math/gen-libm-test.pl (parse_args): Do not include expected
22726 result in test name.
22727 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22728 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22729 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22730 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22731 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22734 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22736 * benchtests/Makefile: Sort function entries.
22738 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22739 tanh, asinh, acosh, atanh.
22740 * benchtests/acos-inputs: New file.
22741 * benchtests/acosh-inputs: New file.
22742 * benchtests/asin-inputs: New file.
22743 * benchtests/asinh-inputs: New file.
22744 * benchtests/atanh-inputs: New file.
22745 * benchtests/cosh-inputs: New file.
22746 * benchtests/log-inputs: New file.
22747 * benchtests/sinh-inputs: New file.
22748 * benchtests/tanh-inputs: New file.
22750 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22753 * posix/tst-getaddrinfo4.c: New test.
22754 * posix/Makefile (tests): Add it.
22756 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22759 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22760 when no services were used.
22761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22762 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22764 2013-05-21 Andreas Schwab <schwab@suse.de>
22767 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22768 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22770 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22771 redundant variable declarations and reallocation of buffer when
22772 parsing as IPv6 address. Always set NSS status when called from
22773 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22774 buffer too small. Correct computation of needed size.
22775 * nss/Makefile (tests): Add test-digits-dots.
22776 * nss/test-digits-dots.c: New test.
22778 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22780 * benchtests/Makefile: Remove instructions for adding
22782 * benchtests/README: New file to explain how to execute and
22783 enhance the benchmark tests.
22785 2013-05-21 Andreas Schwab <schwab@suse.de>
22788 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22789 * setjmp/tst-sigsetjmp.c: New test.
22791 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22793 * sysdeps/x86_64/memset.S (memset): New implementation.
22794 (__bzero): Likewise.
22795 (__memset_tail): New function.
22797 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22799 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22800 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22801 __memcpy_sse2_unaligned ifunc selection.
22802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22803 Add memcpy-sse2-unaligned.S.
22804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22805 Add: __memcpy_sse2_unaligned.
22807 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22810 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22811 math_force_eval before restoring floating-point envrionment.
22812 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22813 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22815 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22817 (__nearbyintl): Use math_force_eval before restoring
22818 floating-point environment.
22819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22821 * math/gen-libm-test.pl (special_functions): Remove.
22822 (parse_args): Don't handle TEST_extra. Handle functions with no
22824 * math/libm-test.inc (struct test_sincos_data): Replace with
22825 struct test_fFF_11_data.
22826 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22827 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22828 (sincos_test_data): Change element type to struct
22829 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22830 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22831 RUN_TEST_LOOP_sincos.
22832 * math/README.libm-test: Don't mention special handling of
22833 individual functions.
22834 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22835 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22836 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22837 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22838 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22841 * math/gen-libm-test.pl (get_variable): Remove function.
22842 (parse_args): Don't show pointer parameters to call in test
22843 names. Use "extra output N" in test names for extra outputs
22844 rather than naming variables.
22846 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22849 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22850 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22851 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22853 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22855 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22858 * math/gen-libm-test.pl (@tests): Remove variable.
22859 ($count): Likewise.
22860 (new_test): Remove function.
22861 (show_exceptions): New function.
22862 (special_functions): Use show_exceptions instead of new_test.
22863 (parse_args): Likewise.
22864 (generate_testfile): Pass only function name in generated call to
22865 print_max_error or print_complex_max_error.
22866 (get_ulps): Do not handle complex tests specially.
22867 (output_test): Rename to ...
22868 (get_all_ulps_for_test): ... this. Return a string rather than
22869 printing to a file. Require ulps to be present.
22870 (output_ulps): Generate arrays rather than #defines.
22871 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22872 (struct ulp_data): New type.
22873 (BUILD_COMPLEX_ULP): Remove macro.
22874 (compare_ulp_data): New function.
22875 (find_ulps): Likewise.
22876 (find_test_ulps): Likewise.
22877 (find_function_ulps): Likewise.
22878 (find_complex_function_ulps): Likewise.
22879 (print_max_error): Determine allowed ulps using
22880 find_function_ulps.
22881 (print_complex_max_error): Determine allowed ulps using
22882 find_complex_function_ulps.
22883 (check_float_internal): Determine max ulps using find_test_ulps.
22884 (check_float): Do not take max_ulp parameter. Update call to
22885 check_float_internal.
22886 (check_complex): Likewise.
22887 (check_int): Do not take max_ulp parameter.
22888 (check_long): Likewise.
22889 (check_bool): Likewise.
22890 (check_longlong): Likewise.
22891 (struct test_f_f_data): Remove max_ulp field.
22892 (struct test_ff_f_data): Likewise.
22893 (struct test_ff_f_data_nexttoward): Likewise.
22894 (struct test_fi_f_data): Likewise.
22895 (struct test_fl_f_data): Likewise.
22896 (struct test_if_f_data): Likewise.
22897 (struct test_fff_f_data): Likewise.
22898 (struct test_c_f_data): Likewise.
22899 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22900 (struct test_fF_f1_data): Likewise.
22901 (struct test_ffI_f1_data): Likewise.
22902 (struct test_c_c_data): Remove max_ulp field.
22903 (struct test_cc_c_data): Likewise.
22904 (struct test_f_i_data): Likewise.
22905 (struct test_ff_i_data): Likewise.
22906 (struct test_f_l_data): Likewise.
22907 (struct test_f_L_data): Likewise.
22908 (struct test_sincos_data): Likewise.
22909 (RUN_TEST_f_f): Do not handle ulps.
22910 (RUN_TEST_LOOP_f_f): Likewise.
22911 (RUN_TEST_2_f): Likewise.
22912 (RUN_TEST_LOOP_2_f): Likewise.
22913 (RUN_TEST_fff_f): Likewise.
22914 (RUN_TEST_LOOP_fff_f): Likewise.
22915 (RUN_TEST_c_f): Likewise.
22916 (RUN_TEST_LOOP_c_f): Likewise.
22917 (RUN_TEST_f_f1): Likewise.
22918 (RUN_TEST_LOOP_f_f1): Likewise.
22919 (RUN_TEST_fF_f1): Likewise.
22920 (RUN_TEST_LOOP_fF_f1): Likewise.
22921 (RUN_TEST_fI_f1): Likewise.
22922 (RUN_TEST_LOOP_fI_f1): Likewise.
22923 (RUN_TEST_ffI_f1): Likewise.
22924 (RUN_TEST_LOOP_ffI_f1): Likewise.
22925 (RUN_TEST_c_c): Likewise.
22926 (RUN_TEST_LOOP_c_c): Likewise.
22927 (RUN_TEST_cc_c): Likewise.
22928 (RUN_TEST_LOOP_cc_c): Likewise.
22929 (RUN_TEST_f_i): Likewise.
22930 (RUN_TEST_LOOP_f_i): Likewise.
22931 (RUN_TEST_f_i_tg): Likewise.
22932 (RUN_TEST_LOOP_f_i_tg): Likewise.
22933 (RUN_TEST_ff_i_tg): Likewise.
22934 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22935 (RUN_TEST_f_b): Likewise.
22936 (RUN_TEST_LOOP_f_b): Likewise.
22937 (RUN_TEST_f_b_tg): Likewise.
22938 (RUN_TEST_LOOP_f_b_tg): Likewise.
22939 (RUN_TEST_f_l): Likewise.
22940 (RUN_TEST_LOOP_f_l): Likewise.
22941 (RUN_TEST_f_L): Likewise.
22942 (RUN_TEST_LOOP_f_L): Likewise.
22943 (RUN_TEST_sincos): Likewise.
22944 (RUN_TEST_LOOP_sincos): Likewise.
22946 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22950 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22951 main case of finite arguments, set rounding mode to FE_TONEAREST
22952 and discard exceptions.
22953 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22955 (remainder_tonearest_test_data): New variable.
22956 (remainder_test_tonearest): New function.
22957 (remainder_towardzero_test_data): New variable.
22958 (remainder_test_towardzero): New function.
22959 (remainder_downward_test_data): New variable.
22960 (remainder_test_downward): New function.
22961 (remainder_upward_test_data): New variable.
22962 (remainder_test_upward): New function.
22963 (main): Call the new test functions.
22965 * math/libm-test.inc (struct test_f_f1_data): Remove field
22967 (struct test_fF_f1_data): Likewise.
22968 (struct test_ffI_f1_data): Likewise.
22969 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22970 based on value of EXTRA_EXPECTED.
22971 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22972 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22973 EXTRA_VAR based on value of EXTRA_EXPECTED.
22974 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22975 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22976 EXTRA_VAR based on value of EXTRA_EXPECTED.
22977 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22978 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22979 EXTRA_VAR based on value of EXTRA_EXPECTED.
22980 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22981 * math/gen-libm-test.pl (parse_args): Don't output initializers
22982 for extra output values.
22984 * math/libm-test.inc (check_int): Expect result to be exactly
22985 equal to expected value and do not handle ulps.
22986 (check_long): Likewise.
22987 (check_longlong): Likewise.
22989 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22991 (cimag_test_data): Likewise.
22992 (conj_test_data): Likewise.
22993 (copysign_test_data): Likewise.
22994 (cproj_test_data): Likewise.
22995 (creal_test_data): Likewise.
22996 (fabs_test_data): Likewise.
22997 (fdim_test_data): Likewise.
22998 (finite_test_data): Likewise.
22999 (floor_test_data): Likewise.
23000 (fmax_test_data): Likewise.
23001 (fmin_test_data): Likewise.
23002 (fmod_test_data): Likewise.
23003 (fpclassify_test_data): Likewise.
23004 (frexp_test_data): Likewise.
23005 (ilogb_test_data): Likewise.
23006 (isfinite_test_data): Likewise.
23007 (isgreater_test_data): Likewise.
23008 (isgreaterequal_test_data): Likewise.
23009 (isinf_test_data): Likewise.
23010 (isless_test_data): Likewise.
23011 (islessequal_test_data): Likewise.
23012 (islessgreater_test_data): Likewise.
23013 (isnan_test_data): Likewise.
23014 (isnormal_test_data): Likewise.
23015 (issignaling_test_data): Likewise.
23016 (isunordered_test_data): Likewise.
23017 (ldexp_test_data): Likewise.
23018 (lrint_test_data): Likewise.
23019 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23020 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23021 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23022 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23023 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23024 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23026 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23027 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23028 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23029 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23031 (lrint_downward_test_data): Test for "inexact" exceptions.
23032 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23033 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23034 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23036 (lrint_upward_test_data): Test for "inexact" exceptions.
23037 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23039 (llrint_test_data): Test for "inexact" exceptions.
23040 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23041 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23042 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23043 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23044 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23045 (llrint_downward_test_data): Test for "inexact" exceptions.
23046 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23047 (llrint_upward_test_data): Test for "inexact" exceptions.
23048 (logb_test_data): Likewise.
23049 (logb_downward_test_data): Likewise.
23050 (nextafter_test_data): Likewise.
23051 (nexttoward_test_data): Likewise.
23052 (remainder_test_data): Likewise.
23053 (remquo_test_data): Likewise.
23054 (scalbn_test_data): Likewise.
23055 (scalbln_test_data): Likewise.
23056 (signbit_test_data): Likewise.
23057 (sqrt_test_data): Likewise.
23058 (significand_test_data): Likewise.
23060 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23063 * benchtests/bench-modf.c (struct args): Mark arg0 as
23065 * scripts/bench.pl: Mark members of struct args as volatile.
23067 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23070 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23071 negative infinity on POWER6 or lower.
23072 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23074 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23077 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23078 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23079 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23080 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23081 (_FP_SETQNAN): New macro.
23082 (_FP_SETQNAN_SEMIRAW): Likewise.
23083 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23084 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23085 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23086 (FP_EXTEND): Use _FP_FRAC_SNANP.
23087 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23088 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23090 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23092 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23095 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23097 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23098 with DIVIDE_BY_ZERO_EXCEPTION.
23099 (gamma_test_data): Likewise.
23100 (lgamma_test_data): Likewise.
23101 (log_test_data): Likewise.
23102 (log10_test_data): Likewise.
23103 (log2_test_data): Likewise.
23104 (tgamma_test_data): Likewise.
23106 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23107 (acos_test_tonearest): Likewise.
23108 (acos_test_towardzero): Likewise.
23109 (acos_test_downward): Likewise.
23110 (acos_test_upward): Likewise.
23111 (acosh_test): Likewise.
23112 (asin_test): Likewise.
23113 (asin_test_tonearest): Likewise.
23114 (asin_test_towardzero): Likewise.
23115 (asin_test_downward): Likewise.
23116 (asin_test_upward): Likewise.
23117 (asinh_test): Likewise.
23118 (atan_test): Likewise.
23119 (atanh_test): Likewise.
23120 (atan2_test): Likewise.
23121 (cabs_test): Likewise.
23122 (cacos_test): Likewise.
23123 (cacosh_test): Likewise.
23124 (casin_test): Likewise.
23125 (casinh_test): Likewise.
23126 (catan_test): Likewise.
23127 (catanh_test): Likewise.
23128 (cbrt_test): Likewise.
23129 (ccos_test): Likewise.
23130 (ccosh_test): Likewise.
23131 (cexp_test): Likewise.
23132 (clog_test): Likewise.
23133 (clog10_test): Likewise.
23134 (cos_test): Likewise.
23135 (cos_test_tonearest): Likewise.
23136 (cos_test_towardzero): Likewise.
23137 (cos_test_downward): Likewise.
23138 (cos_test_upward): Likewise.
23139 (cosh_test): Likewise.
23140 (cosh_test_tonearest): Likewise.
23141 (cosh_test_towardzero): Likewise.
23142 (cosh_test_downward): Likewise.
23143 (cosh_test_upward): Likewise.
23144 (cpow_test): Likewise.
23145 (csin_test): Likewise.
23146 (csinh_test): Likewise.
23147 (csqrt_test): Likewise.
23148 (ctan_test): Likewise.
23149 (ctan_test_tonearest): Likewise.
23150 (ctan_test_towardzero): Likewise.
23151 (ctan_test_downward): Likewise.
23152 (ctan_test_upward): Likewise.
23153 (ctanh_test): Likewise.
23154 (ctanh_test_tonearest): Likewise.
23155 (ctanh_test_towardzero): Likewise.
23156 (ctanh_test_downward): Likewise.
23157 (ctanh_test_upward): Likewise.
23158 (erf_test): Likewise.
23159 (erfc_test): Likewise.
23160 (exp_test): Likewise.
23161 (exp_test_tonearest): Likewise.
23162 (exp_test_towardzero): Likewise.
23163 (exp_test_downward): Likewise.
23164 (exp_test_upward): Likewise.
23165 (exp10_test): Likewise.
23166 (exp2_test): Likewise.
23167 (expm1_test): Likewise.
23168 (fmod_test): Likewise.
23169 (gamma_test): Likewise.
23170 (hypot_test): Likewise.
23171 (j0_test): Likewise.
23172 (j1_test): Likewise.
23173 (jn_test): Likewise.
23174 (lgamma_test): Likewise.
23175 (log_test): Likewise.
23176 (log10_test): Likewise.
23177 (log1p_test): Likewise.
23178 (log2_test): Likewise.
23179 (logb_test_downward): Likewise.
23180 (pow_test): Likewise.
23181 (pow_test_tonearest): Likewise.
23182 (pow_test_towardzero): Likewise.
23183 (pow_test_downward): Likewise.
23184 (pow_test_upward): Likewise.
23185 (remainder_test): Likewise.
23186 (remquo_test): Likewise.
23187 (sin_test): Likewise.
23188 (sin_test_tonearest): Likewise.
23189 (sin_test_towardzero): Likewise.
23190 (sin_test_downward): Likewise.
23191 (sin_test_upward): Likewise.
23192 (sincos_test): Likewise.
23193 (sinh_test): Likewise.
23194 (sinh_test_tonearest): Likewise.
23195 (sinh_test_towardzero): Likewise.
23196 (sinh_test_downward): Likewise.
23197 (sinh_test_upward): Likewise.
23198 (sqrt_test): Likewise.
23199 (tan_test): Likewise.
23200 (tan_test_tonearest): Likewise.
23201 (tan_test_towardzero): Likewise.
23202 (tan_test_downward): Likewise.
23203 (tan_test_upward): Likewise.
23204 (tanh_test): Likewise.
23205 (tgamma_test): Likewise.
23206 (y0_test): Likewise.
23207 (y1_test): Likewise.
23208 (yn_test): Likewise.
23210 * math/gen-libm-test.pl (adjust_arg): Remove function.
23211 (special_function): Remove argument $in_func. Only handle
23212 generating output for tables of tests, not inside functions.
23213 (parse_args): Likewise.
23214 (generate_testfile): Remove variable $in_func. Update call to
23216 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23217 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23218 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23219 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23220 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23221 (MAX_VALUE_INIT): Rename macro to max_value.
23222 (MIN_VALUE_INIT): Rename macro to min_value.
23223 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23224 (plus_zero): Remove variable.
23225 (minus_zero): Likewise.
23226 (plus_infty): Likewise.
23227 (minus_infty): Likewise.
23228 (qnan_value): Likewise.
23229 (max_value): Likewise.
23230 (min_value): Likewise.
23231 (min_subnorm_value): Likewise.
23233 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23235 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23236 uint64_t or uint32_t usage.
23237 * crypt/sha256-block.c: Likewise.
23238 * crypt/sha256-crypt.c: Likewise.
23239 * crypt/sha256.c: Likewise.
23240 * crypt/sha512-block.c: Likewise.
23241 * crypt/sha512-crypt.c: Likewise.
23242 * crypt/sha512.c: Likewise.
23243 * debug/backtrace-tst.c: Likewise.
23244 * debug/pcprofiledump.c: Likewise.
23245 * elf/cache.c: Likewise.
23246 * elf/dl-cache.c: Likewise.
23247 * elf/dl-misc.c: Likewise.
23248 * elf/dl-profile.c: Likewise.
23249 * elf/dl-support.c: Likewise.
23250 * elf/ldconfig.c: Likewise.
23251 * elf/sprof.c: Likewise.
23252 * iconv/dummy-repertoire.c: Likewise.
23253 * iconv/iconv_charmap.c: Likewise.
23254 * iconv/skeleton.c: Likewise.
23255 * iconvdata/8bit-generic.c: Likewise.
23256 * iconvdata/cp737.h: Likewise.
23257 * iconvdata/cp775.h: Likewise.
23258 * iconvdata/ibm1008.h: Likewise.
23259 * iconvdata/ibm1025.h: Likewise.
23260 * iconvdata/ibm1046.h: Likewise.
23261 * iconvdata/ibm1097.h: Likewise.
23262 * iconvdata/ibm1112.h: Likewise.
23263 * iconvdata/ibm1122.h: Likewise.
23264 * iconvdata/ibm1123.h: Likewise.
23265 * iconvdata/ibm1124.h: Likewise.
23266 * iconvdata/ibm1129.h: Likewise.
23267 * iconvdata/ibm1130.h: Likewise.
23268 * iconvdata/ibm1132.h: Likewise.
23269 * iconvdata/ibm1133.h: Likewise.
23270 * iconvdata/ibm1137.h: Likewise.
23271 * iconvdata/ibm1140.h: Likewise.
23272 * iconvdata/ibm1141.h: Likewise.
23273 * iconvdata/ibm1142.h: Likewise.
23274 * iconvdata/ibm1143.h: Likewise.
23275 * iconvdata/ibm1144.h: Likewise.
23276 * iconvdata/ibm1145.h: Likewise.
23277 * iconvdata/ibm1146.h: Likewise.
23278 * iconvdata/ibm1147.h: Likewise.
23279 * iconvdata/ibm1148.h: Likewise.
23280 * iconvdata/ibm1149.h: Likewise.
23281 * iconvdata/ibm1153.h: Likewise.
23282 * iconvdata/ibm1154.h: Likewise.
23283 * iconvdata/ibm1155.h: Likewise.
23284 * iconvdata/ibm1156.h: Likewise.
23285 * iconvdata/ibm1157.h: Likewise.
23286 * iconvdata/ibm1158.h: Likewise.
23287 * iconvdata/ibm1160.h: Likewise.
23288 * iconvdata/ibm1161.h: Likewise.
23289 * iconvdata/ibm1162.h: Likewise.
23290 * iconvdata/ibm1163.h: Likewise.
23291 * iconvdata/ibm1164.h: Likewise.
23292 * iconvdata/ibm1166.h: Likewise.
23293 * iconvdata/ibm1167.h: Likewise.
23294 * iconvdata/ibm12712.h: Likewise.
23295 * iconvdata/ibm1390.h: Likewise.
23296 * iconvdata/ibm1399.h: Likewise.
23297 * iconvdata/ibm16804.h: Likewise.
23298 * iconvdata/ibm4517.h: Likewise.
23299 * iconvdata/ibm4899.h: Likewise.
23300 * iconvdata/ibm4909.h: Likewise.
23301 * iconvdata/ibm4971.h: Likewise.
23302 * iconvdata/ibm5347.h: Likewise.
23303 * iconvdata/ibm803.h: Likewise.
23304 * iconvdata/ibm856.h: Likewise.
23305 * iconvdata/ibm901.h: Likewise.
23306 * iconvdata/ibm902.h: Likewise.
23307 * iconvdata/ibm9030.h: Likewise.
23308 * iconvdata/ibm9066.h: Likewise.
23309 * iconvdata/ibm921.h: Likewise.
23310 * iconvdata/ibm922.h: Likewise.
23311 * iconvdata/ibm9448.h: Likewise.
23312 * iconvdata/isiri-3342.h: Likewise.
23313 * iconvdata/jis0201.h: Likewise.
23314 * include/link.h: Likewise.
23315 * include/netdb.h: Likewise.
23316 * inet/check_native.c: Likewise.
23317 * inet/check_pf.c: Likewise.
23318 * inet/getipv4sourcefilter.c: Likewise.
23319 * inet/getnameinfo.c: Likewise.
23320 * inet/getsourcefilter.c: Likewise.
23321 * inet/htonl.c: Likewise.
23322 * inet/setipv4sourcefilter.c: Likewise.
23323 * inet/setsourcefilter.c: Likewise.
23324 * inet/test-inet6_opt.c: Likewise.
23325 * inet/tst-network.c: Likewise.
23326 * locale/C-collate.c: Likewise.
23327 * locale/C-ctype.c: Likewise.
23328 * locale/C-time.c: Likewise.
23329 * locale/C-translit.h: Likewise.
23330 * locale/loadarchive.c: Likewise.
23331 * locale/programs/3level.h: Likewise.
23332 * locale/programs/charmap.c: Likewise.
23333 * locale/programs/charmap.h: Likewise.
23334 * locale/programs/ld-address.c: Likewise.
23335 * locale/programs/ld-collate.c: Likewise.
23336 * locale/programs/ld-ctype.c: Likewise.
23337 * locale/programs/ld-identification.c: Likewise.
23338 * locale/programs/ld-measurement.c: Likewise.
23339 * locale/programs/ld-messages.c: Likewise.
23340 * locale/programs/ld-monetary.c: Likewise.
23341 * locale/programs/ld-name.c: Likewise.
23342 * locale/programs/ld-numeric.c: Likewise.
23343 * locale/programs/ld-paper.c: Likewise.
23344 * locale/programs/ld-telephone.c: Likewise.
23345 * locale/programs/ld-time.c: Likewise.
23346 * locale/programs/linereader.c: Likewise.
23347 * locale/programs/locale.c: Likewise.
23348 * locale/programs/locarchive.c: Likewise.
23349 * locale/programs/locfile.h: Likewise.
23350 * locale/programs/repertoire.c: Likewise.
23351 * locale/programs/simple-hash.c: Likewise.
23352 * locale/programs/simple-hash.h: Likewise.
23353 * malloc/memusage.c: Likewise.
23354 * malloc/memusagestat.c: Likewise.
23355 * nis/nis_defaults.c: Likewise.
23356 * nis/nis_hash.c: Likewise.
23357 * nis/nis_print.c: Likewise.
23358 * nis/nis_xdr.c: Likewise.
23359 * nscd/connections.c: Likewise.
23360 * nscd/hstcache.c: Likewise.
23361 * nscd/nscd_gethst_r.c: Likewise.
23362 * nscd/nscd_getserv_r.c: Likewise.
23363 * nscd/nscd_helper.c: Likewise.
23364 * nscd/servicescache.c: Likewise.
23365 * nss/makedb.c: Likewise.
23366 * nss/nss_db/db-XXX.c: Likewise.
23367 * nss/nss_db/db-initgroups.c: Likewise.
23368 * nss/nss_db/db-netgrp.c: Likewise.
23369 * nss/nss_files/files-network.c: Likewise.
23370 * nss/nss_files/files-parse.c: Likewise.
23371 * posix/bug-regex5.c: Likewise.
23372 * posix/fnmatch_loop.c: Likewise.
23373 * posix/regcomp.c: Likewise.
23374 * posix/regexec.c: Likewise.
23375 * posix/tst-rfc3484-2.c: Likewise.
23376 * posix/tst-rfc3484-3.c: Likewise.
23377 * posix/tst-rfc3484.c: Likewise.
23378 * resolv/nss_dns/dns-canon.c: Likewise.
23379 * resolv/nss_dns/dns-network.c: Likewise.
23380 * resolv/res_init.c: Likewise.
23381 * resolv/res_mkquery.c: Likewise.
23382 * resolv/tst-aton.c: Likewise.
23383 * stdlib/cxa_atexit.c: Likewise.
23384 * stdlib/cxa_finalize.c: Likewise.
23385 * stdlib/gen-fpioconst.c: Likewise.
23386 * stdlib/strtol_l.c: Likewise.
23387 * string/tst-endian.c: Likewise.
23388 * sunrpc/auth_des.c: Likewise.
23389 * sunrpc/clnt_udp.c: Likewise.
23390 * sunrpc/rtime.c: Likewise.
23391 * sunrpc/svcauth_des.c: Likewise.
23392 * sunrpc/xdr.c: Likewise.
23393 * sunrpc/xdr_intXX_t.c: Likewise.
23394 * sunrpc/xdr_rec.c: Likewise.
23395 * sysdeps/generic/ldconfig.h: Likewise.
23396 * sysdeps/generic/ldsodefs.h: Likewise.
23397 * sysdeps/generic/memusage.h: Likewise.
23398 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23401 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23408 * sysdeps/posix/getaddrinfo.c: Likewise.
23409 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23410 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23411 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23412 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23413 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23414 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23415 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23416 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23417 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23418 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23419 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23420 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23421 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23422 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23423 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23424 * sysdeps/x86_64/dl-tls.h: Likewise.
23425 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23426 * time/alt_digit.c: Likewise.
23427 * time/era.c: Likewise.
23428 * wcsmbs/tst-c16c32-1.c: Likewise.
23430 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23432 * math/libm-test.inc (struct test_sincos_data): New type.
23433 (RUN_TEST_LOOP_sincos): New macro.
23434 (sincos_test_data): New variable.
23435 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23437 2013-05-16 Richard Henderson <rth@redhat.com>
23439 * math/atest-exp2.c (LIMB64): New macro.
23440 (CONSTSZ): New macro.
23441 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23443 (print_mpn_fp): ... to function scope.
23444 (read_mpn_hex): Remove.
23445 (get_log2): Remove.
23446 (exp2_mpn): Use mp_log2.
23447 (main): Use mp_exp1.
23449 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23451 * math/libm-test.inc: Remove comment about not testing "inexact"
23453 (INEXACT_EXCEPTION): New macro.
23454 (NO_INEXACT_EXCEPTION): Likewise.
23455 (INVALID_EXCEPTION_OK): Update value.
23456 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23457 (OVERFLOW_EXCEPTION_OK): Likewise.
23458 (UNDERFLOW_EXCEPTION_OK): Likewise.
23459 (IGNORE_ZERO_INF_SIGN): Likewise.
23460 (ERRNO_UNCHANGED): Likewise.
23461 (ERRNO_EDOM): Likewise.
23462 (ERRNO_ERANGE): Likewise.
23463 (test_exceptions): Handle testing "inexact" exceptions.
23464 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23465 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23466 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23467 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23469 (rint_towardzero_test_data): Likewise.
23470 (rint_downward_test_data): Likewise.
23471 (rint_upward_test_data): Likewise.
23473 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23474 with OVERFLOW_EXCEPTION.
23475 (exp10_test_data): Likewise.
23476 (exp2_test_data): Likewise.
23477 (expm1_test_data): Likewise.
23478 (lgamma_test_data): Likewise.
23479 (pow_test_data): Likewise.
23480 (tgamma_test_data): Likewise.
23481 (yn_test_data): Remove duplicate test of overflow.
23483 * math/libm-test.inc (struct test_cc_c_data): New type.
23484 (RUN_TEST_LOOP_cc_c): New macro.
23485 (cpow_test_data): New variable.
23486 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23488 * math/libm-test.inc (struct test_f_L_data): New type.
23489 (RUN_TEST_LOOP_f_L): New macro.
23490 (llrint_test_data): New variable.
23491 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23492 (llrint_tonearest_test_data): New variable.
23493 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23494 (llrint_towardzero_test_data): New variable.
23495 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23496 (llrint_downward_test_data): New variable.
23497 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23498 (llrint_upward_test_data): New variable.
23499 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23500 (llround_test_data): New variable.
23501 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23503 2013-05-13 Peter Collingbourne <pcc@google.com>
23505 * math/atest-exp2.c (get_log2): Remove const attribute.
23507 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23509 * math/libm-test.inc (struct test_f_l_data): New type.
23510 (RUN_TEST_LOOP_f_l): New macro.
23511 (lrint_test_data): New variable.
23512 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23513 (lrint_tonearest_test_data): New variable.
23514 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23515 (lrint_towardzero_test_data): New variable.
23516 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23517 (lrint_downward_test_data): New variable.
23518 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23519 (lrint_upward_test_data): New variable.
23520 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23521 (lround_test_data): New variable.
23522 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23524 2013-05-15 Peter Collingbourne <pcc@google.com>
23526 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23527 (EXTRACT_WORDS64) Use where appropriate.
23528 (INSERT_WORDS64) Likewise.
23530 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23531 constraints with x constraints.
23532 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23534 * malloc/obstack.c (_obstack_compat): Add initializer.
23536 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23538 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23539 si_trapno and add si_addr_lsb to _sifields.sigfault.
23540 (si_trapno): Remove macro.
23541 (si_addr_lsb): Define new macro.
23542 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23544 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23546 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23547 instead of TEST_f_l.
23548 (llrint_test_tonearest): Likewise.
23549 (llrint_test_towardzero): Likewise.
23550 (llrint_test_downward): Likewise.
23551 (llrint_test_upward): Likewise.
23552 (llround_test): Likewise.
23554 * math/libm-test.inc (struct test_f_i_data): Add comment.
23555 (RUN_TEST_LOOP_f_b): New macro.
23556 (RUN_TEST_LOOP_f_b_tg): Likewise.
23557 (finite_test_data): New variable.
23558 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23559 (isfinite_test_data): New variable.
23560 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23561 (isinf_test_data): New variable.
23562 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23563 (isnan_test_data): New variable.
23564 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23565 (isnormal_test_data): New variable.
23566 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23567 (issignaling_test_data): New variable.
23568 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23569 (signbit_test_data): New variable.
23570 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23572 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23573 with INVALID_EXCEPTION.
23574 (acosh_test_data): Likewise.
23575 (asin_test_data): Likewise.
23576 (atanh_test_data): Likewise.
23577 (fmod_test_data): Likewise.
23578 (log_test_data): Likewise.
23579 (log10_test_data): Likewise.
23580 (log2_test_data): Likewise.
23581 (pow_test_data): Likewise.
23582 (sqrt_test_data): Likewise.
23583 (y0_test_data): Likewise.
23584 (y1_test_data): Likewise.
23585 (yn_test_data): Likewise.
23587 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23590 * math/libm-test.inc (struct test_ff_i_data): New type.
23591 (RUN_TEST_LOOP_ff_i_tg): New macro.
23592 (isgreater_test_data): New variable.
23593 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23594 (isgreaterequal_test_data): New variable.
23595 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23596 (isless_test_data): New variable.
23597 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23598 (islessequal_test_data): New variable.
23599 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23600 (islessgreater_test_data): New variable.
23601 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23602 (isunordered_test_data): New variable.
23603 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23605 2013-05-14 David S. Miller <davem@davemloft.net>
23607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23609 2013-05-14 Joseph Myers <joseph@codesourcery.com>
23611 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23613 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23615 (struct test_f_i_data): Change type of max_ulp to int.
23617 * math/libm-test.inc (test_ffI_f1_data): New type.
23618 (RUN_TEST_LOOP_ffI_f1): New macro.
23619 (remquo_test_data): New variable.
23620 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23622 * setjmp/tst-setjmp-fp.c: New file.
23623 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23624 (link-libm): New variable.
23625 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23627 * math/libm-test.inc (struct test_f_i_data): New type.
23628 (RUN_TEST_LOOP_f_i): New macro.
23629 (RUN_TEST_LOOP_f_i_tg): Likewise.
23630 (fpclassify_test_data): New variable.
23631 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23632 (ilogb_test_data): New variable.
23633 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23635 * math/libm-test.inc (scalbln_test): Correct function name in END
23638 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23639 (RUN_TEST_LOOP_fI_f1): New macro.
23640 (frexp_test_data): New variable.
23641 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23643 * math/libm-test.inc (struct test_fF_f1_data): New type.
23644 (RUN_TEST_LOOP_fF_f1): New macro.
23645 (modf_test_data): New variable.
23646 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23648 * math/libm-test.inc (struct test_f_f1_data): New type.
23649 (RUN_TEST_LOOP_f_f1): New macro.
23650 (gamma_test_data): New variable.
23651 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23652 (lgamma_test_data): New variable.
23653 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23655 2013-05-13 Carlos O'Donell <carlos@redhat.com>
23657 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23658 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23659 (main): Comment "tls" pseudo-hwcap.
23661 2013-05-13 Joseph Myers <joseph@codesourcery.com>
23663 * math/libm-test.inc (struct test_fl_f_data): New type.
23664 (RUN_TEST_LOOP_fl_f): New variable.
23665 (scalbln_test_data): New variable.
23666 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23668 * math/libm-test.inc (struct test_fi_f_data): New type.
23669 (RUN_TEST_LOOP_fi_f): New macro.
23670 (ldexp_test_data): New variable.
23671 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23672 (scalbn_test_data): New variable.
23673 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23675 * math/libm-test.inc (struct test_c_f_data): New type.
23676 (RUN_TEST_LOOP_c_f): New macro.
23677 (cabs_test_data): New variable.
23678 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23679 (carg_test_data): New variable.
23680 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23681 (cimag_test_data): New variable.
23682 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23683 (creal_test_data): New variable.
23684 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23686 * math/libm-test.inc (struct test_if_f_data): New type.
23687 (RUN_TEST_LOOP_if_f): New macro.
23688 (jn_test_data): New variable.
23689 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23690 (yn_test_data): New variable.
23691 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23693 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23695 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23697 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23698 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23700 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23702 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23703 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23704 (bench-deps): Add bench-timing.h.
23705 * benchtests-bench-skeleton.c: Include bench-timing.h.
23706 (main): Use TIMING_* macros instead of clock_gettime.
23707 * benchtests/bench-timing.h: New file.
23710 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23711 Renamed from _LIB_VERSION.
23712 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23714 2013-05-12 Joseph Myers <joseph@codesourcery.com>
23716 * math/libm-test.inc (struct test_fff_f_data): New type.
23717 (RUN_TEST_LOOP_fff_f): New macro.
23718 (fma_test_data): New variable.
23719 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23720 (fma_towardzero_test_data): New variable.
23721 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23722 (fma_downward_test_data): New variable.
23723 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23724 (fma_upward_test_data): New variable.
23725 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23727 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23728 (struct test_c_c_data): New type.
23729 (RUN_TEST_LOOP_c_c): New macro.
23730 (cacos_test_data): New variable.
23731 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23732 (cacosh_test_data): New variable.
23733 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23734 (casin_test_data): New variable.
23735 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23736 (casinh_test_data): New variable.
23737 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23738 (catan_test_data): New variable.
23739 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23740 (catanh_test_data): New variable.
23741 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23742 (ccos_test_data): New variable.
23743 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23744 (ccosh_test_data): New variable.
23745 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23746 (cexp_test_data): New variable.
23747 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23748 (clog_test_data): New variable.
23749 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23750 (clog10_test_data): New variable.
23751 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23752 (conj_test_data): New variable.
23753 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23754 (cproj_test_data): New variable.
23755 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23756 (csin_test_data): New variable.
23757 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23758 (csinh_test_data): New variable.
23759 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23760 (csqrt_test_data): New variable.
23761 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23762 (ctan_test_data): New variable.
23763 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23764 (ctan_tonearest_test_data): New variable.
23765 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23766 (ctan_towardzero_test_data): New variable.
23767 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23768 (ctan_downward_test_data): New variable.
23769 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23770 (ctan_upward_test_data): New variable.
23771 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23772 (ctanh_test_data): New variable.
23773 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23774 (ctanh_tonearest_test_data): New variable.
23775 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23776 (ctanh_towardzero_test_data): New variable.
23777 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23778 (ctanh_downward_test_data): New variable.
23779 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23780 (ctanh_upward_test_data): New variable.
23781 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23782 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23785 * math/libm-test.inc (struct test_ff_f_data): New type.
23786 (struct test_ff_f_data_nexttoward): Likewise.
23787 (RUN_TEST_LOOP_2_f): New macro.
23788 (RUN_TEST_LOOP_ff_f): Likewise.
23789 (atan2_test_data): New variable.
23790 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23791 (copysign_test_data): New variable.
23792 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23793 (fdim_test_data): New variable.
23794 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23795 (fmax_test_data): New variable.
23796 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23797 (fmin_test_data): New variable.
23798 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23799 (fmod_test_data): New variable.
23800 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23801 (hypot_test_data): New variable.
23802 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23803 (nextafter_test_data): New variable.
23804 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23805 (nexttoward_test_data): New variable.
23806 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23807 (pow_test_data): New variable.
23808 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23809 (pow_tonearest_test_data): New variable.
23810 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23811 (pow_towardzero_test_data): New variable.
23812 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23813 (pow_downward_test_data): New variable.
23814 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23815 (pow_upward_test_data): New variable.
23816 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23817 (remainder_test_data): New variable.
23818 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23819 (scalb_test_data): New variable.
23820 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23821 * sysdeps/i386/fpu/libm-test-ulps: Update.
23823 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23825 * math/libm-test.inc (fma_test): Use max_value instead of local
23827 (nextafter_test): Likewise.
23829 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23830 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23831 (acos_downward_test_data): New variable.
23832 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23833 (acos_upward_test_data): New variable.
23834 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23835 (acosh_test_data): New variable.
23836 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23837 (asin_test_data): New variable.
23838 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23839 (asin_tonearest_test_data): New variable.
23840 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23841 (asin_towardzero_test_data): New variable.
23842 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23843 (asin_downward_test_data): New variable.
23844 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23845 (asin_upward_test_data): New variable.
23846 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23847 (asinh_test_data): New variable.
23848 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23849 (atan_test_data): New variable.
23850 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23851 (atanh_test_data): New variable.
23852 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23853 (cbrt_test_data): New variable.
23854 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23855 (ceil_test_data): New variable.
23856 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23857 (cos_test_data): New variable.
23858 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23859 (cos_tonearest_test_data): New variable.
23860 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23861 (cos_towardzero_test_data): New variable.
23862 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23863 (cos_downward_test_data): New variable.
23864 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23865 (cos_upward_test_data): New variable.
23866 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23867 (cosh_test_data): New variable.
23868 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23869 (cosh_tonearest_test_data): New variable.
23870 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23871 (cosh_towardzero_test_data): New variable.
23872 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23873 (cosh_downward_test_data): New variable.
23874 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23875 (cosh_upward_test_data): New variable.
23876 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23877 (erf_test_data): New variable.
23878 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23879 (erfc_test_data): New variable.
23880 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23881 (exp_test_data): New variable.
23882 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23883 (exp_tonearest_test_data): New variable.
23884 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23885 (exp_towardzero_test_data): New variable.
23886 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23887 (exp_downward_test_data): New variable.
23888 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23889 (exp_upward_test_data): New variable.
23890 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23891 (exp10_test_data): New variable.
23892 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23893 (exp2_test_data): New variable.
23894 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23895 (expm1_test_data): New variable.
23896 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23897 (fabs_test_data): New variable.
23898 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23899 (floor_test_data): New variable.
23900 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23901 (j0_test_data): New variable.
23902 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23903 (j1_test_data): New variable.
23904 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23905 (log_test_data): New variable.
23906 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23907 (log10_test_data): New variable.
23908 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23909 (log1p_test_data): New variable.
23910 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23911 (log2_test_data): New variable.
23912 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23913 (logb_test_data): New variable.
23914 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23915 (logb_downward_test_data): New variable.
23916 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23917 (nearbyint_test_data): New variable.
23918 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23919 (rint_test_data): New variable.
23920 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23921 (rint_tonearest_test_data): New variable.
23922 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23923 (rint_towardzero_test_data): New variable.
23924 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23925 (rint_downward_test_data): New variable.
23926 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23927 (rint_upward_test_data): New variable.
23928 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23929 (round_test_data): New variable.
23930 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23931 (sin_test_data): New variable.
23932 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23933 (sin_tonearest_test_data): New variable.
23934 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23935 (sin_towardzero_test_data): New variable.
23936 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23937 (sin_downward_test_data): New variable.
23938 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23939 (sin_upward_test_data): New variable.
23940 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23941 (sinh_test_data): New variable.
23942 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23943 (sinh_tonearest_test_data): New variable.
23944 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23945 (sinh_towardzero_test_data): New variable.
23946 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23947 (sinh_downward_test_data): New variable.
23948 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23949 (sinh_upward_test_data): New variable.
23950 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23951 (sqrt_test_data): New variable.
23952 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23953 (tan_test_data): New variable.
23954 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23955 (tan_tonearest_test_data): New variable.
23956 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23957 (tan_towardzero_test_data): New variable.
23958 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23959 (tan_downward_test_data): New variable.
23960 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23961 (tan_upward_test_data): New variable.
23962 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23963 (tanh_test_data): New variable.
23964 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23965 (tgamma_test_data): New variable.
23966 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23967 (trunc_test_data): New variable.
23968 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23969 (y0_test_data): New variable.
23970 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23971 (y1_test_data): New variable.
23972 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23973 (significand_test_data): New variable.
23974 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23976 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23979 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23981 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23983 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23985 2013-05-10 Andreas Jaeger <aj@suse.de>
23988 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23989 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23991 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23993 * math/gen-libm-test.pl (adjust_arg): New function.
23994 (special_functions): Handle generating output in both functions
23996 (parse_args): Likewise.
23997 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23998 $in_func argument to parse_args.
23999 * math/libm-test.inc (struct test_f_f_data): New type.
24000 (IF_ROUND_INIT_): New macro.
24001 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24002 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24003 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24004 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24005 (ROUND_RESTORE_): Likewise.
24006 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24007 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24008 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24009 (ROUND_RESTORE_FE_UPWARD): Likewise.
24010 (RUN_TEST_LOOP_f_f): New macro.
24011 (acos_test_data): New variable.
24012 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24013 (acos_tonearest_test_data): New variable.
24014 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24016 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24018 * benchtests/bench-skeleton.c (startup): Fix coding style.
24020 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24023 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24024 negative infinity argument.
24025 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24026 negative infinity argument.
24027 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24028 negative infinity argument.
24029 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24032 2013-05-10 Florian Weimer <fweimer@redhat.com>
24034 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24035 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24036 * iconv/iconv_prog.c (main): Likewise.
24037 * locale/programs/charmap-dir.c (charmap_readdir)
24038 (fopen_uncompressed): Likewise.
24039 * locale/programs/locfile.c (siblings_uncached)
24040 (write_locale_data): Use lstat64 instead of lstat.
24041 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24044 2013-05-10 Andreas Jaeger <aj@suse.de>
24047 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24049 Include <locale.h>.
24051 2013-05-09 Carlos O'Donell <carlos@redhat.com>
24053 * elf/dl-close.c (_dl_close_worker): Add comments.
24055 2013-05-09 Joseph Myers <joseph@codesourcery.com>
24058 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24060 (__ieee754_rem_pio2l): Update comments.
24063 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24065 (__ieee754_rem_pio2l): Update comments.
24067 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24068 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24070 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24073 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24074 (M_PI_34_LOG10El): Likewise.
24075 (M_PI2_LOG10El): Likewise.
24076 (M_PI4_LOG10El): Likewise.
24077 (M_PI_LOG10El): Likewise.
24079 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24083 2013-05-08 Joseph Myers <joseph@codesourcery.com>
24085 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24086 (MINUS_ZERO_INIT): Likewise.
24087 (PLUS_INFTY_INIT): Likewise.
24088 (MINUS_INFTY_INIT): Likewise.
24089 (QNAN_VALUE_INIT): Likewise.
24090 (MAX_VALUE_INIT): Likewise.
24091 (MIN_VALUE_INIT): Likewise.
24092 (MIN_SUBNORM_VALUE_INIT): Likewise.
24093 (plus_zero): Initialize with PLUS_ZERO_INIT.
24094 (minus_zero): Initialize with MINUS_ZERO_INIT.
24095 (plus_infty): Initialize with PLUS_INFTY_INIT.
24096 (minus_infty): Initialize with MINUS_INFTY_INIT.
24097 (qnan_value): Initialize with QNAN_VALUE_INIT.
24098 (max_value): Initialize with MAX_VALUE_INIT.
24099 (min_value): Initialize with MIN_VALUE_INIT.
24100 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24102 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24103 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24104 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24105 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24107 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24108 (RUN_TEST_2_f): Likewise.
24109 (RUN_TEST_ff_f): Likewise.
24110 (RUN_TEST_fi_f): Likewise.
24111 (RUN_TEST_fl_f): Likewise.
24112 (RUN_TEST_fff_f): Likewise.
24113 (RUN_TEST_c_f): Likewise.
24114 (RUN_TEST_f_f1): Likewise.
24115 (RUN_TEST_fF_f1): Likewise.
24116 (RUN_TEST_fI_f1): Likewise.
24117 (RUN_TEST_ffI_f1): Likewise.
24118 (RUN_TEST_c_c): Likewise.
24119 (RUN_TEST_cc_c): Likewise.
24120 (RUN_TEST_f_i): Likewise.
24121 (RUN_TEST_f_i_tg): Likewise.
24122 (RUN_TEST_ff_i_tg): Likewise.
24123 (RUN_TEST_f_b): Likewise.
24124 (RUN_TEST_f_b_tg): Likewise.
24125 (RUN_TEST_f_l): Likewise.
24126 (RUN_TEST_f_L): Likewise.
24127 (RUN_TEST_sincos): Likewise.
24128 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24129 whether to show exceptions. Do not include ");\n" in return
24131 (special_functions): Output call to RUN_TEST_sincos instead of
24132 check_float calls. Update calls to new_test.
24133 (parse_args): Output call to single RUN_TEST_* macro instead of
24134 check_* calls and other assignments. Update calls to new_test.
24140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24141 input to result for tgamma overflow.
24142 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24143 (gamma_coeff): New variable.
24144 (NCOEFF): New macro.
24145 (gamma_positive): New function.
24146 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24147 underflow here. Use gamma_positive instead of exp (lgamma) for
24149 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24150 (gamma_coeff): New variable.
24151 (NCOEFF): New macro.
24152 (gammaf_positive): New function.
24153 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24154 underflow here. Use gamma_positive instead of exp (lgamma) for
24156 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24157 (gamma_coeff): New variable.
24158 (NCOEFF): New macro.
24159 (gammal_positive): New function.
24160 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24161 underflow here. Use gamma_positive instead of exp (lgamma) for
24163 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24164 (gamma_coeff): New variable.
24165 (NCOEFF): New macro.
24166 (gammal_positive): New function.
24167 (__ieee754_gammal_r): Handle positive infinity, overflow and
24168 underflow here. Handle NaN the same as positive infinity. Remove
24169 check x < 0xffffffff for negative integers. Use gamma_positive
24170 instead of exp (lgamma) for other arguments.
24171 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24172 (gamma_coeff): New variable.
24173 (NCOEFF): New macro.
24174 (gammal_positive): New function.
24175 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24176 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24177 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24179 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24180 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24181 * sysdeps/generic/math_private.h (__gamma_productf): New
24183 (__gamma_product): Likewise.
24184 (__gamma_productl): Likewise.
24185 * math/Makefile (libm-calls): Add gamma_product.
24186 * math/libm-test.inc (tgamma_test): Add more tests.
24187 * sysdeps/i386/fpu/libm-test-ulps: Update.
24188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24190 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
24192 * benchtests/bench-skeleton.c (main): Preheat CPU.
24194 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24196 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24198 2013-05-07 Roland McGrath <roland@hack.frob.com>
24200 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24201 and _dl_skip_args_internal.
24203 2013-05-07 Carlos O'Donell <carlos@redhat.com>
24205 * manual/message.texi (Message Translation): Talk about users.
24206 Message to key mapping impacts design.
24208 2013-05-06 Roland McGrath <roland@hack.frob.com>
24210 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24212 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24214 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24215 * sysdeps/wordsize-64/glob64.c: ... here.
24217 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24218 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24221 * debug/getlogin_r_chk.c: Moved to ...
24222 * login/getlogin_r_chk.c: ... here.
24223 * debug/Makefile (routines): Move getlogin_r_chk to ...
24224 * login/Makefile (routines): ... here.
24225 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24226 * login/Versions (libc: GLIBC_2.4): ... here.
24228 * io/poll.c (__poll): Renamed from poll.
24229 Add libc_hidden_def.
24230 (poll): Define as weak alias.
24232 * debug/ptsname_r_chk.c: Moved to ...
24233 * login/ptsname_r_chk.c: ... here.
24234 * debug/Makefile (routines): Move ptsname_r_chk to ...
24235 * login/Makefile (routines): ... here.
24236 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24237 * login/Versions (libc: GLIBC_2.4): ... here.
24239 * posix/getlogin.c: Moved to ...
24240 * login/getlogin.c: ... here.
24241 * posix/getlogin_r.c: Moved to ...
24242 * login/getlogin_r.c: ... here.
24243 * posix/getlogin_r.c: Moved to ...
24244 * login/getlogin_r.c: ... here.
24245 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24246 * login/Makefile (routines): ... here.
24247 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24248 * login/Versions (libc: GLIBC_2.0): ... here.
24250 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24251 (setrlimit): Define as weak alias.
24253 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24254 Call __ names for open, ftruncate, and close.
24255 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24256 (truncate): Define as weak alias.
24258 2013-05-06 Joseph Myers <joseph@codesourcery.com>
24260 * math/gen-libm-test.pl (parse_args): Initialize x before each
24261 test of frexp, modf and remquo.
24263 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24264 test signgam value.
24266 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24270 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24272 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24274 2013-05-06 Roland McGrath <roland@hack.frob.com>
24276 * elf/dl-writev.h: New file.
24277 * elf/dl-misc.c: Include it.
24278 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24279 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24281 2013-05-04 Joseph Myers <joseph@codesourcery.com>
24283 * math/libm-test.inc (noXFails): Remove variable.
24284 (noXPasses): Likewise.
24285 (BUILD_COMPLEX_INT): Remove macro.
24286 (print_screen): Remove xfail argument.
24287 (print_screen_max_error): Likewise.
24288 (update_stats): Likewise.
24289 (print_max_error): Likewise. Update calls to other affected
24291 (print_complex_max_error): Likewise.
24292 (test_single_exception): Update calls to print_screen.
24293 (test_single_errno): Likewise.
24294 (check_float_internal): Remove xfail argument. Update calls to
24295 other affected functions.
24296 (check_float): Likewise.
24297 (check_complex): Likewise.
24298 (check_int): Likewise.
24299 (check_long): Likewise.
24300 (check_bool): Likewise.
24301 (check_longlong): Likewise.
24302 (main): Don't print noXFails and noXPasses.
24303 * math/gen-libm-test.pl (top level): Don't mention expected
24304 failure handling in comment.
24305 (new_test): Don't handle expected failures.
24306 (parse_args): Don't mention expected failure handling in comment.
24307 (generate_testfile): Don't handle expected failures.
24308 (parse_ulps): Likewise.
24309 (print_ulps_file): Likewise.
24310 (get_failure): Remove function.
24311 (output_test): Don't handle expected failures.
24312 * make/README.libm-test: Don't mention expected failure handling.
24314 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24315 (minus_zero): Likewise.
24316 (plus_infty): Likewise.
24317 (minus_infty): Likewise.
24318 (qnan_value): Likewise.
24319 (max_value): Likewise.
24320 (min_value): Likewise.
24321 (min_subnorm_value): Likewise.
24322 (initialize): Do not initialize those variables dynamically.
24324 2013-05-03 Roland McGrath <roland@hack.frob.com>
24326 * io/open.c (__open_2): Moved to ...
24327 * io/open_2.c: ... this new file.
24328 * io/open64.c (__open64_2): Moved to ...
24329 * io/open64_2.c: ... this new file.
24330 * io/openat.c (__openat_2): Moved to ...
24331 * io/openat_2.c: ... this new file.
24332 * io/openat64.c (__openat64_2): Moved to ...
24333 * io/openat64_2.c: ... this new file.
24334 * io/Makefile (routines): Add them.
24335 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24336 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24337 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24338 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24339 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24340 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24341 (__openat64): Add hidden_ver.
24342 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24343 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24345 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24346 Separately conditionalize setting of GLRO(dl_sysinfo) so
24347 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24348 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24350 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24352 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24353 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24355 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24356 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24357 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24358 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24359 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24361 2013-05-03 Joseph Myers <joseph@codesourcery.com>
24363 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24364 test signgam value.
24366 * math/libm-test.inc (hypot_test): Do not use
24367 IGNORE_ZERO_INF_SIGN.
24369 2013-05-03 Andreas Jaeger <aj@suse.de>
24371 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24373 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24374 (PF_MAX): Adjust for VSOCK change.
24376 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24380 2013-05-02 Carlos O'Donell <carlos@redhat.com>
24383 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24384 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24385 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24387 2013-05-02 David S. Miller <davem@davemloft.net>
24389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24391 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
24393 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24395 2013-05-01 Roland McGrath <roland@hack.frob.com>
24397 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24399 2013-05-01 Richard Smith <richard@metafoo.co.uk>
24402 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24403 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24404 Use __attribute__ ((__gnu_inline__)).
24405 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24406 Don't use __attribute__ ((__gnu_inline__)).
24408 2013-05-01 Joseph Myers <joseph@codesourcery.com>
24411 * math/s_catan.c (__catan): Handle small real or imaginary part of
24412 input specially to avoid spurious underflow.
24413 * math/s_catanf.c (__catanf): Likewise.
24414 * math/s_catanh.c (__catanh): Likewise.
24415 * math/s_catanhf.c (__catanhf): Likewise.
24416 * math/s_catanhl.c (__catanhl): Likewise.
24417 * math/s_catanl.c (__catanl): Likewise.
24418 * math/libm-test.inc (catan_test): Add more tests.
24419 (catanh_test): Likewise.
24420 * sysdeps/i386/fpu/libm-test-ulps: Update.
24421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24423 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24427 2013-04-30 Joseph Myers <joseph@codesourcery.com>
24430 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24431 accurately for denominator in atan2.
24432 * math/s_catanf.c (__catanf): Likewise.
24433 * math/s_catanh.c (__catanh): Likewise.
24434 * math/s_catanhf.c (__catanhf): Likewise.
24435 * math/s_catanhl.c (__catanhl): Likewise.
24436 * math/s_catanl.c (__catanl): Likewise.
24437 * math/libm-test.inc (catan_test): Add more tests.
24438 (catanh_test): Likewise.
24439 * sysdeps/i386/fpu/libm-test-ulps: Update.
24440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24442 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24444 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24446 * benchtests/Makefile (bench): Remove slow benchmarks.
24447 * benchtests/atan-inputs: Add slow benchmark inputs.
24448 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24449 (BENCH_FUNC): Accept variant offset.
24451 * benchtests/bench-skeleton.c (main): Run benchmark for each
24453 * benchtests/cos-inputs: Add slow benchmark inputs.
24454 * benchtests/exp-inputs: Likewise.
24455 * benchtests/pow-inputs: Likewise.
24456 * benchtests/sin-inputs: Likewise.
24457 * benchtests/slowatan-inputs: Remove.
24458 * benchtests/slowatan.c: Remove.
24459 * benchtests/slowcos-inputs: Remove.
24460 * benchtests/slowcos.c: Remove.
24461 * benchtests/slowexp-inputs: Remove.
24462 * benchtests/slowexp.c: Remove.
24463 * benchtests/slowpow-inputs: Remove.
24464 * benchtests/slowpow.c: Remove.
24465 * benchtests/slowsin-inputs: Remove.
24466 * benchtests/slowsin.c: Remove.
24467 * benchtests/slowtan-inputs: Remove.
24468 * benchtests/slowtan.c: Remove.
24469 * benchtests/tan-inputs: Add slow benchmark inputs.
24470 * scripts/bench.pl: Parse comments and directives.
24472 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24474 ($(objpfx)bench-%.c): Remove *-ITER.
24475 * benchtests/bench-modf.c: Remove definition of ITER.
24476 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24477 (main): Loop for DURATION seconds instead of fixed number of
24479 * scripts/bench.pl: Don't expect iterations in parameters.
24481 2013-04-29 Roland McGrath <roland@hack.frob.com>
24483 * io/fchdir.c (__fchdir): Renamed from fchdir.
24484 (fchdir): Define as weak alias.
24486 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24488 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24489 (ERRNO_EDOM): Likewise.
24490 (ERRNO_ERANGE): Likewise.
24491 (noErrnoTests): New variable.
24492 (init_max_error): Set errno to 0.
24493 (test_single_errno): New function.
24494 (test_errno): Likewise.
24495 (check_float_internal): Call test_errno. Set errno to 0.
24496 (check_complex): Refer to errno tests in comment.
24497 (check_int): Call test_errno. Set errno to 0.
24498 (check_long): Likewise.
24499 (check_bool): Likewise.
24500 (check_longlong): Likewise.
24501 (cos_test): Use ERRNO_* flags for errno tests instead of
24503 (expm1_test): Likewise.
24504 (fmod_test): Likewise.
24505 (ilogb_test): Likewise.
24506 (lgamma_test): Likewise.
24507 (pow_test): Likewise.
24508 (remainder_test): Likewise.
24509 (sin_test): Likewise.
24510 (tan_test): Likewise.
24511 (yn_test): Likewise.
24512 (initialize): Set errno to 0.
24513 (main): Print number of errno tests.
24514 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24516 2013-04-29 Andreas Jaeger <aj@suse.de>
24519 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24523 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24524 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24528 * stdlib/random.c (__initstate): Return NULL if
24532 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24533 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24536 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24540 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24542 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24543 of individual tests.
24544 (casin_test): Likewise.
24545 (casinh_test): Likewise.
24547 2013-04-27 Joseph Myers <joseph@codesourcery.com>
24550 * math/s_catan.c (__catan): Handle arguments with large real or
24551 imaginary part separately without squaring.
24552 * math/s_catanf.c (__catanf): Likewise.
24553 * math/s_catanh.c (__catanh): Likewise.
24554 * math/s_catanhf.c (__catanhf): Likewise.
24555 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24557 (__catanhl): Handle arguments with large real or imaginary part
24558 separately without squaring.
24559 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24561 (__catanl): Handle arguments with large real or imaginary part
24562 separately without squaring.
24563 * math/libm-test.inc (catan_test): Add more tests.
24564 (catanh_test): Likewise.
24565 * sysdeps/i386/fpu/libm-test-ulps: Update.
24566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24568 2013-04-27 Andreas Jaeger <aj@suse.de>
24571 * stdlib/stdlib.h: Update guards for qecvt.
24572 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24575 2013-04-27 Allan McRae <allan@archlinux.org>
24577 * sysdeps/i386/fpu/libm-test-ulps: Update.
24579 2013-04-26 Joseph Myers <joseph@codesourcery.com>
24582 * math/s_catan.c: Include <float.h>.
24583 (__catan): Ensure underflow exception occurs for underflowed
24585 * math/s_catanf.c: Include <float.h>.
24586 (__catanf): Ensure underflow exception occurs for underflowed
24588 * math/s_catanh.c: Include <float.h>.
24589 (__catanh): Ensure underflow exception occurs for underflowed
24591 * math/s_catanhf.c: Include <float.h>.
24592 (__catanhf): Ensure underflow exception occurs for underflowed
24594 * math/s_catanhl.c: Include <float.h>.
24595 (__catanhl): Ensure underflow exception occurs for underflowed
24597 * math/s_catanl.c: Include <float.h>.
24598 (__catanl): Ensure underflow exception occurs for underflowed
24600 * math/libm-test.inc (catan_test): Add more tests.
24601 (catanh_test): Likewise.
24604 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24605 underflowed result.
24606 * math/s_ccoshf.c (__ccoshf): Likewise.
24607 * math/s_ccoshl.c (__ccoshl): Likewise.
24608 * math/s_csin.c (__csin): Likewise.
24609 * math/s_csinf.c (__csinf): Likewise.
24610 * math/s_csinh.c (__csinh): Likewise.
24611 * math/s_csinhf.c (__csinhf): Likewise.
24612 * math/s_csinhl.c (__csinhl): Likewise.
24613 * math/s_csinl.c (__csinl): Likewise.
24614 * math/libm-test.inc (ccos_test): Add more tests.
24615 (ccosh_test): Likewise.
24616 (csin_test): Likewise.
24617 (csinh_test): Likewise.
24619 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24621 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24622 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24623 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24624 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24625 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24626 powerpc/power5+/fpu folders.
24627 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24630 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24634 2013-04-25 Joseph Myers <joseph@codesourcery.com>
24636 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24637 additions to variable.
24638 [$(config-machine) = x86_64] (modules-names): Likewise.
24639 ($(objpfx)tst-audit3): Remove dependency.
24640 ($(objpfx)tst-audit3.out): Likewise.
24641 ($(objpfx)tst-audit4): Likewise.
24642 ($(objpfx)tst-audit4.out): Likewise.
24643 ($(objpfx)tst-audit5): Likewise.
24644 ($(objpfx)tst-audit5.out): Likewise.
24645 ($(objpfx)tst-audit6): Likewise.
24646 ($(objpfx)tst-audit6.out): Likewise.
24647 ($(objpfx)tst-audit7): Likewise.
24648 ($(objpfx)tst-audit7.out): Likewise.
24649 (tst-audit3-ENV): Remove variable.
24650 (tst-audit4-ENV): Likewise.
24651 (tst-audit5-ENV): Likewise.
24652 (tst-audit6-ENV): Likewise.
24653 (tst-audit7-ENV): Likewise.
24654 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24655 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24656 addition to variable.
24657 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24658 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24659 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24660 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24661 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24662 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24663 tst-audit3, tst-audit4 and tst-audit5.
24664 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24665 tst-audit6 and tst-audit7.
24666 [$(subdir) = elf] (modules-names): Add audit modules for those
24668 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24669 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24670 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24671 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24672 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24673 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24674 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24675 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24676 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24677 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24678 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24679 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24680 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24681 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24682 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24683 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24685 [$(subdir) = elf && $(config-cflags-avx) = yes]
24686 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24687 [$(subdir) = elf && $(config-cflags-avx) = yes]
24688 (CFLAGS-tst-auditmod4a.c): Likewise.
24689 [$(subdir) = elf && $(config-cflags-avx) = yes]
24690 (CFLAGS-tst-auditmod4b.c): Likewise.
24691 [$(subdir) = elf && $(config-cflags-avx) = yes]
24692 (CFLAGS-tst-auditmod6b.c): Likewise.
24693 [$(subdir) = elf && $(config-cflags-avx) = yes]
24694 (CFLAGS-tst-auditmod6c.c): Likewise.
24695 [$(subdir) = elf && $(config-cflags-avx) = yes]
24696 (CFLAGS-tst-auditmod7b.c): Likewise.
24697 * elf/tst-audit3.c: Move to ...
24698 * sysdeps/x86_64/tst-audit3.c: ... here.
24699 * elf/tst-audit4.c: Move to ...
24700 * sysdeps/x86_64/tst-audit4.c: ... here.
24701 * elf/tst-audit5.c: Move to ...
24702 * sysdeps/x86_64/tst-audit5.c: ... here.
24703 * elf/tst-audit6.c: Move to ...
24704 * sysdeps/x86_64/tst-audit6.c: ... here.
24705 * elf/tst-audit7.c: Move to ...
24706 * sysdeps/x86_64/tst-audit7.c: ... here.
24707 * elf/tst-auditmod3a.c: Move to ...
24708 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24709 * elf/tst-auditmod3b.c: Move to ...
24710 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24711 * elf/tst-auditmod4a.c: Move to ...
24712 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24713 * elf/tst-auditmod4b.c: Move to ...
24714 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24715 * elf/tst-auditmod5a.c: Move to ...
24716 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24717 * elf/tst-auditmod5b.c: Move to ...
24718 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24719 * elf/tst-auditmod6a.c: Move to ...
24720 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24721 * elf/tst-auditmod6b.c: Move to ...
24722 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24723 * elf/tst-auditmod6c.c: Move to ...
24724 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24725 * elf/tst-auditmod7a.c: Move to ...
24726 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24727 * elf/tst-auditmod7b.c: Move to ...
24728 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24730 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24733 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24734 define unconditionally.
24735 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24736 define unconditionally.
24737 (INT8_C, INT16_C, etc.): Likewise.
24739 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24741 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24742 __ehdr_start with hidden visibility.
24744 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24746 2013-04-24 Carlos O'Donell <carlos@redhat.com>
24748 * math/libm-test.inc (cos_test): Use accurate hex constants.
24749 (sincost_test): Likewise.
24751 2013-04-24 Joseph Myers <joseph@codesourcery.com>
24753 * math/libm-test.inc (catan_test): Add more tests.
24754 (catanh_test): Likewise.
24756 * math/s_catanf.c (__catanf): Use suffixed floating-point
24758 * math/s_catanhf.c (__catanhf): Likewise.
24759 * math/s_catanhl.c (__catanhl): Likewise.
24760 * math/s_catanl.c (__catanl): Likewise.
24763 * math/s_catan.c (__catan): Calculate imaginary part of result
24764 with log1p not log unless computing log of number close to 0.
24765 * math/s_catanf.c (__catanf): Likewise.
24766 * math/s_catanl.c (__catanl): Likewise.
24767 * math/s_catanh.c (__catanh): Calculate real part of result with
24768 log1p not log unless computing log of number close to 0.
24769 * math/s_catanhf.c (__catanhf): Likewise.
24770 * math/s_catanhl.c (__catanhl): Likewise.
24771 * math/libm-test.inc (catan_test): Add more tests.
24772 (catanh_test): Likewise.
24773 * sysdeps/i386/fpu/libm-test-ulps: Update.
24774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24776 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24778 * benchtests/Makefile: Mention files in which fast and slow
24779 paths of math functions are implemented.
24781 2013-04-23 Roland McGrath <roland@hack.frob.com>
24783 * sysdeps/posix/timespec_get.c: New file.
24785 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24787 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24789 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24791 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24792 powerpc/power5/fpu folders.
24793 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24794 * benchtests/Makefile: Add modf testcase.
24795 * benchtests/bench-modf.c: New file: Benchmark test for mo
24797 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24800 * time/Makefile (tests): Add tst-strptime-whitespace.
24801 * time/strptime_l.c (get_number): Use ISSPACE.
24802 (__strptime_internal): Likewise.
24803 * time/tst-strptime-whitespace.c: New test case.
24805 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24807 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24809 (_nss_files_init): Set it here.
24811 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24813 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24814 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24817 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24819 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24821 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24823 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24826 2013-04-21 David S. Miller <davem@davemloft.net>
24828 * po/ru.po: Update Russion translation from translation project.
24830 2013-04-17 Adam Conrad <adconrad@0c3.net>
24832 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24835 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24837 * configure.in: Remove i386 configure warning. Remove i386 case.
24838 * configure: Regenerate.
24839 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24840 Add example to error message.
24841 * sysdeps/i386/configure: Regenerate.
24843 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24845 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24847 * benchtests/cos-inputs: New file.
24848 * benchtests/slowcos-inputs: New file.
24849 * benchtests/slowcos.c: New file.
24850 * benchtests/slowtan-inputs: New file.
24851 * benchtests/slowtan.c: New file.
24852 * benchtests/tan-inputs: New file.
24854 2013-04-16 Roland McGrath <roland@hack.frob.com>
24856 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24859 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24861 * benchtests/Makefile: Include cppflags-iterator.mk to add
24862 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24864 * Makefile.in (bench-clean): New target.
24865 * benchtests/Makefile (bench-clean): Likewise.
24867 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24869 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24871 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24873 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24875 2013-04-15 Andreas Schwab <schwab@suse.de>
24877 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24878 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24879 * nscd/pwdcache.c (cache_addpw): Likewise.
24880 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24883 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24885 * benchtests/Makefile (bench): Write all output to
24886 bench-out.tmp together.
24888 2013-04-15 Andreas Schwab <schwab@suse.de>
24890 * nscd/nscd.c (main): Don't fork again after closing files.
24892 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24894 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24896 * benchtests/Rules (bench-deps): Collect dependencies into a
24897 single variable. Add Makefile to dependencies.
24898 ($(objpfx)bench-%.c): Depend on bench-deps.
24900 2013-04-12 Roland McGrath <roland@hack.frob.com>
24901 Xavier Roche <roche+kml2@exalead.com>
24904 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24905 just that it's a file descriptor.
24906 * manual/llio.texi (Synchronizing AIO Operations): Update description
24907 for EBADF error from aio_fsync.
24909 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24911 * Rules (bench): Move target definition...
24912 * benchtests/Makefile: ... here.
24914 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24916 * math/libm-test.inc (cos_test): Fix PI/2 test.
24917 (sincos_test): Likewise.
24918 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24919 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24921 2013-04-11 Andreas Schwab <schwab@suse.de>
24924 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24925 accept exponent character only when digits were seen.
24926 * stdio-common/Makefile (tests): Add bug26.
24927 * stdio-common/bug26.c: New file.
24930 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24933 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24935 * Makeconfig (rtld-prefix): Define built linker prefix.
24936 * Rules (run-bench): Use it.
24937 * math/Makefile (run-regen-ulps): Likewise.
24939 * Rules (bench): Remove eval.
24941 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24942 Roland McGrath <roland@hack.frob.com>
24943 Ondrej Bilka <neleai@seznam.cz>
24946 * time/getdate.c: Include ctype.h and alloca.h.
24947 (__getdate_r): Trim leading and trailing spaces of input.
24948 * time/tst-getdate.c (tests): Add tests with leading and
24951 2013-04-08 Roland McGrath <roland@hack.frob.com>
24954 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24955 when computing value.
24957 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24959 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24960 Use testrun.sh to run libm tests.
24963 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24965 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24968 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24970 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24972 * Makefile.in (regen-ulps): New target.
24973 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24974 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24975 [ifneq (no,$(PERL)] (regen-ulps): New target.
24976 [ifeq (no,$(PERL)] (regen-ulps): New target.
24977 * math/libm-test.inc (ulps_file_name): Define.
24978 (output_dir): New variable.
24979 (options): Add "output-dir" option.
24980 (parse_opt): Handle 'o' case.
24981 (main): If output_dir is non-NULL use it as a prefix
24983 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24985 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24987 [BZ #10060, #10062]
24988 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24989 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24990 fail configure if __sync_val_compare_and_swap is not inlined.
24991 * sysdeps/i386/configure: Regenerate.
24992 * configure.in: Build for i686 when configured for i386.
24993 * configure: Regenerate.
24994 * README: Remove i386 reference.
24996 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24998 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24999 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25001 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25003 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25004 (lmsnanval): New variables.
25005 (F): Add conversion tests.
25006 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25007 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25009 * stdio-common/tstdiomisc.c (F): Properly collect individual
25012 [BZ #14686, #15336]
25013 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25014 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25015 Instead, use input NaN values or generate a qNaN by arithmetic
25016 operation. Also fix bugs to comply with the standard.
25017 * math/libm-test.inc (remainder_test): Add more tests.
25019 [BZ #15335, #15342]
25020 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25021 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25022 input NaN values or generate a qNaN by arithmetic operation.
25024 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25027 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25030 2013-04-03 Joseph Myers <joseph@codesourcery.com>
25033 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25034 underflowed result.
25035 * math/s_cexpf.c (__cexpf): Likewise.
25036 * math/s_cexpl.c (__cexpl): Likewise.
25037 * math/libm-test.inc (cexp_test): Add more tests.
25039 2013-04-03 Andreas Schwab <schwab@suse.de>
25042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25043 order arrays from heap if bigger than alloca cutoff.
25045 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25047 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25048 (SNAN_TESTS_double): Refer to GCC PR56831.
25049 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25052 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25054 * Rules (bench): Move bench.out after the run is complete.
25056 * Rules (bench): Echo currently running benchmark.
25058 * benchtests/Makefile (bench): Add atan and slowatan.
25059 * benchtests/atan-inputs: New file.
25060 * benchtests/slowatan-inputs: New file.
25061 * benchtests/slowatan.c: New file.
25063 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25064 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25068 * sysdeps/unix/sysv/linux/kernel-features.h
25069 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25070 __ASSUME_XFS_RESTRICTED_CHOWN.
25071 * sysdeps/unix/sysv/linux/pathconf.c
25072 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25073 Save and restore errno.
25075 2013-04-02 Joseph Myers <joseph@codesourcery.com>
25078 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25079 arguments using __kernel_casinh.
25080 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25081 arguments using __kernel_casinhf.
25082 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25083 arguments using __kernel_casinhl.
25084 * math/libm-test.inc (cacosh_test): Add more tests.
25085 * sysdeps/i386/fpu/libm-test-ulps: Update.
25086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25088 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25090 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25093 * bench/Makefile (bench): Add sin and slowsin.
25094 * benchtests/sin-inputs: New file.
25095 * benchtests/slowsin-inputs: New file.
25096 * benchtests/slowsin.c: New file.
25098 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25099 (bench): Add slowexp and slowpow.
25100 (exp-ITER): Increase iterations.
25101 (pow-ITER): Likewise.
25102 * benchtests/exp-inputs: Change input.
25103 * benchtests/pow-inputs: Likewise.
25104 * benchtests/slowexp-inputs: New file.
25105 * benchtests/slowexp.c: New file.
25106 * benchtests/slowpow-inputs: New file.
25107 * benchtests/slowpow.c: New file.
25109 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25111 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25113 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25114 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25115 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25116 * benchtests/Makefile: Add rint benchtest.
25117 * benchtests/rint-inputs: Input for rint benchtest.
25119 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25121 * Versions.def (libm): Add GLIBC_2.18.
25122 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25123 hidden libm prototypes.
25124 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25125 * math/Makefile (libm-calls): Add s_issignaling.
25126 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25127 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25128 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25130 * math/math.h [__USE_GNU] (issignaling): New macro.
25131 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25132 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25133 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25134 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25135 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25136 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25137 * manual/arith.texi (issignaling): New section.
25138 * manual/libm-err-tab.pl (@all_functions): Update comment.
25139 * math/gen-libm-test.pl (parse_args): Apply special handling for
25141 * math/libm-test.inc (print_float, issignaling_test): New
25143 (check_float_internal): Add issignaling checks.
25144 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25145 default definition.
25146 * sysdeps/powerpc/math-tests.h: New file.
25147 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25149 * math/test-snan.c (TEST_FUNC): Likewise.
25151 2013-03-30 David S. Miller <davem@davemloft.net>
25153 * po/de.po: Update from translation team.
25155 2013-03-30 Joseph Myers <joseph@codesourcery.com>
25158 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25159 imaginary part less than 1.0 and real part less than 0.5
25161 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25162 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25163 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25164 (cacos_test): Add more tests.
25165 (casin_test): Likewise.
25166 (casinh_test): Likewise.
25167 * sysdeps/i386/fpu/libm-test-ulps: Update.
25168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25170 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25172 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25173 ONE with its value.
25175 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25176 (__pow_mp): Replace ONE and MONE with their values.
25177 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25179 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25180 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25181 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25182 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25184 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25186 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25187 (__pow_mp): Replace ZERO and MZERO with their values.
25188 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25189 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25192 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25193 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25196 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25198 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25200 2013-03-28 Roland McGrath <roland@hack.frob.com>
25202 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25203 Declare with __attribute__ ((weak)).
25204 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25205 Call __call_tls_dtors only if it's not NULL.
25207 2013-03-28 Roland McGrath <roland@hack.frob.com>
25209 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25210 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25211 magic __ehdr_start linker symbol if it's defined.
25212 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25213 them up here if it was already done.
25215 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25216 (_dl_aux_init): Use const in cast when setting it.
25217 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25218 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25219 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25221 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25223 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25224 * csu/libc-tls.c: Nor here.
25225 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25227 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25228 (__libc_message): Never call vsyslog.
25230 2013-03-28 Alan Modra <amodra@gmail.com>
25232 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25234 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25237 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25244 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25247 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25248 Don't add gid passed as argument.
25250 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25252 2013-03-27 Joseph Myers <joseph@codesourcery.com>
25255 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25256 imaginary part between 1.0 and 1.5 and real part less than 0.5
25258 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25259 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25260 * math/libm-test.inc (cacos_test): Add more tests.
25261 (casin_test): Likewise.
25262 (casinh_test): Likewise.
25263 * sysdeps/i386/fpu/libm-test-ulps: Update.
25264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25266 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25268 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25271 (denorm): Likewise.
25272 (__dbl_mp): Likewise.
25273 (add_magnitudes): Likewise.
25274 (sub_magnitudes): Likewise.
25282 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25284 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25285 (__dubcos): Likewise.
25286 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25287 (__ieee754_acos): Likewise.
25288 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25289 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25290 (__exp1): Likewise.
25291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25294 (my_log2): Likewise.
25295 (checkint): Likewise.
25296 * sysdeps/ieee754/dbl-64/e_remainder.c
25297 (__ieee754_remainder): Likewise.
25298 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25300 (bsloww): Likewise.
25301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25303 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25304 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25305 MANTISSA_STORE_T to store computations on mantissa. Use
25306 macros for rounding and division.
25307 (denorm): Likewise.
25308 (__dbl_mp): Likewise.
25309 (add_magnitudes): Likewise.
25310 (sub_magnitudes): Likewise.
25313 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25314 powers of two in terms of TWOPOW macro.
25315 (mp_no): Make type of mantissa as MANTISSA_T.
25316 [!RADIXI]: Define RADIXI.
25317 [!TWO52]: Define TWO52.
25318 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25320 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25322 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25323 llroundl symbol when building for PPC32.
25325 2013-03-24 Mark H Weaver <mhw@netris.org>
25327 * manual/arith.texi (Normalization Functions): Fix prototypes for
25328 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25330 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25334 high value to check if expl overflow.
25335 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25336 to check for underflow and overflow.
25337 * math/libm-test.inc: Add exp test.
25339 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25342 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25345 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25347 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25350 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25352 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25353 wrap blocks consisting of several statements.
25355 * sysdeps/generic/math-tests.h: New file.
25356 * sysdeps/i386/fpu/math-tests.h: Likewise.
25357 * math/test-snan.c: Include it.
25358 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25360 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25363 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25364 (__ieee754_j0l): Do not improve calculations using cos of twice
25365 input for inputs above LDBL_MAX / 2.0L.
25366 (__ieee754_y0l): Likewise.
25367 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25368 (__ieee754_j1l): Do not improve calculations using cos of twice
25369 input for inputs above LDBL_MAX / 2.0L.
25370 (__ieee754_y1l): Likewise.
25371 * math/libm-test.inc (j0_test): Add another test.
25372 (j1_test): Likewise.
25373 (y0_test): Likewise.
25374 (y1_test): Likewise.
25375 * sysdeps/i386/fpu/libm-test-ulps: Update.
25377 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25379 * Rules ($(objpfx)bench-%.c): Include code from a C source
25382 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25385 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25386 imaginary part 1.0 and real part less than 0.5 specially.
25387 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25388 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25389 * math/libm-test.inc (cacos_test): Add more tests.
25390 (casin_test): Likewise.
25391 (casinh_test): Likewise.
25392 * sysdeps/i386/fpu/libm-test-ulps: Update.
25393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25395 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25397 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25398 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25400 2013-03-20 Joseph Myers <joseph@codesourcery.com>
25402 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25403 * config.make.in (config-cflags-sse4): Remove variable.
25404 (config-cflags-avx): Likewise.
25405 (config-cflags-sse2avx): Likewise.
25406 (config-cflags-novzeroupper): Likewise.
25407 (config-asflags-i686): Likewise.
25408 (have-mfma4): Likewise.
25409 (have-as-vis3): Likewise.
25411 * configure.in (MIG): Do not AC_SUBST.
25412 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25413 (libc_cv_cc_sse4): Do not AC_SUBST.
25414 (libc_cv_cc_avx): Likewise.
25415 (libc_cv_cc_sse2avx): Likewise.
25416 (libc_cv_cc_novzeroupper): Likewise.
25417 (libc_cv_cc_fma4): Likewise.
25418 (libc_cv_as_i686): Likewise.
25419 (libc_cv_sparc_as_vis3): Likewise.
25420 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25422 (config-asflags-i686): Likewise.
25423 (config-cflags-avx): Likewise.
25424 (config-cflags-sse2avx): Likewise.
25425 (have-mfma4): Likewise.
25426 (config-cflags-novzeroupper): Likewise.
25427 * sysdeps/mach/configure.in (MIG): Likewise.
25428 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25429 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25431 (config-cflags-avx): Likewise.
25432 (config-cflags-sse2avx): Likewise.
25433 (have-mfma4): Likewise.
25434 (config-cflags-novzeroupper): Likewise.
25435 * configure: Regenerated.
25436 * sysdeps/i386/configure: Likewise.
25437 * sysdeps/mach/configure: Likewise.
25438 * sysdeps/sparc/configure: Likewise.
25439 * sysdeps/x86_64/configure: Likewise.
25441 2013-03-20 Roland McGrath <roland@hack.frob.com>
25444 * locale/programs/localedef.c (options): Put N_ translation marker
25445 on argument names, not just descriptions.
25447 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25449 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25451 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
25454 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25456 2013-03-19 Roland McGrath <roland@hack.frob.com>
25458 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25459 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25460 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25461 [!BEFORE_ABORT] (before_abort): New function.
25462 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25463 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25464 (writev_for_fatal): New function.
25465 (WRITEV_FOR_FATAL): New macro; call that.
25466 (backtrace_and_maps): New function.
25467 (BEFORE_ABORT): New macro; call that.
25468 (struct str_list): Type removed.
25469 (__libc_message, __libc_fatal): Functions removed.
25470 Include <sysdeps/posix/libc_fatal.c> instead.
25472 2013-03-19 Joseph Myers <joseph@codesourcery.com>
25474 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25476 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25479 2013-03-19 Andreas Schwab <schwab@suse.de>
25481 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25482 * sysdeps/gnu/configure: Regenerate.
25484 * configure.in: Substitute libc_cv_rtlddir.
25485 * configure: Regenerate.
25486 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25487 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25488 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25489 * elf/Makefile (install-others, CFLAGS-interp.c)
25490 (ldso_install, common-ldd-rewrite): Likewise.
25491 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25492 $(inst_slibdir)/$(rtld-installed-name).
25493 * scripts/rellns-sh: Add -p option.
25494 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25497 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25499 * manual/nptl.texi: Renamed to ...
25500 * manual/threads.texi: ... this.
25501 * manual/Makefile (chapters): Update.
25503 2013-03-18 Roland McGrath <roland@hack.frob.com>
25506 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25507 on argument names, not just descriptions.
25508 * malloc/memusagestat.c (options): Likewise.
25509 * nss/getent.c (options): Likewise.
25511 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
25514 * iconv/iconv_prog.c (options): Put N_ translation marker
25515 on argument names, not just descriptions.
25516 * iconv/iconvconfig.c (options): Likewise.
25518 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
25520 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25521 implementation which is faster on all x86_64 architectures.
25522 Tested on AMD, Intel Nehalem, SNB, IVB.
25523 * sysdeps/x86_64/strnlen.S: Likewise.
25525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25526 Remove all multiarch strlen and strnlen versions.
25527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25528 Remove strlen and strnlen related parts.
25530 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25531 Inline strlen part.
25532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25534 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25535 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25536 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25537 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25538 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25539 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25541 2013-03-17 Carlos O'Donell <carlos@redhat.com>
25543 * manual/memory.texi (Malloc Tunable Parameters):
25544 Sort parameters alphabetically. Add comments for missing entries.
25546 2013-03-17 David S. Miller <davem@davemloft.net>
25548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25550 2013-03-16 Joseph Myers <joseph@codesourcery.com>
25553 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25554 for arguments at most half maximum finite value.
25555 * math/libm-test.inc (j0_test): Add more tests.
25556 (j1_test): Likewise.
25557 (y0_test): Likewise.
25558 (y1_test): Likewise.
25559 * sysdeps/i386/fpu/libm-test-ulps: Update.
25560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25563 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25564 1 / x and functions P and Q for arguments above 0x1p256L.
25565 (__ieee754_y0l): Likewise.
25566 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25567 (__ieee754_y1l): Likewise.
25568 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25569 (j1_test): Likewise.
25570 (y0_test): Likewise.
25571 (y1_test): Likewise.
25573 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25575 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25578 2013-03-15 Roland McGrath <roland@hack.frob.com>
25580 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25581 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25582 zero since it's initialized to EXEC_PAGESIZE.
25584 * sysdeps/unix/sysv/linux/ldsodefs.h
25585 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25586 * sysdeps/generic/ldsodefs.h: ... here.
25588 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25590 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25592 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25594 * math/test-snan.c: Renamed from
25595 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25596 * math/Makefile (tests): Add test-snan.
25597 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25600 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25601 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25603 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25604 __builtin_nan family of functions.
25605 * math/libm-test.inc (initialize): Initialize qnan_value with
25606 __builtin_nan family of functions.
25607 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25609 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25611 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25612 storage class. Initialize qNaN_var and sNaN_var with
25613 __builtin_nan and __builtin_nans families of functions,
25616 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25617 (sqrt_test): Remove duplicate test with qNaN input.
25618 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25619 (round_test, signbit_test, significand_test): Note missing +/-Inf
25620 as well as qNaN tests.
25622 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25623 qNaN_var. Fix a few strings, too.
25624 * math/libm-test.inc (nan_value): Rename to qnan_value.
25625 * math/gen-libm-test.pl (%beautify): Adjust to that.
25626 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25627 * math/test-misc.c (main): Likewise.
25628 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25629 to __qnan_bytes, and __qnan_union, respectively.
25630 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25632 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25633 and lqnanval, respectively.
25634 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25635 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25636 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25637 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25639 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25640 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25643 * math/test-misc.c (main): Fix copy'n'pastos.
25644 * misc/tst-efgcvt.c (special): Likewise.
25646 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25647 Remove declarations.
25649 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25651 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25652 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25653 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25654 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25656 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25658 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25659 macro to return vdso values correctly in IFUNC implementations.
25660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25661 Optimization by using IFUNC.
25663 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25664 Richard Henderson <rth@redhat.com>
25665 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25667 * Makefile.in (bench): New target.
25668 * NEWS: Mention the benchmark framework.
25669 * Rules (bench): Likewise.
25670 (binaries-bench): Generate binaries for functions to
25672 * benchtests/Makefile: New makefile for benchmark tests.
25673 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25675 * benchtests/exp-inputs: New input file for EXP function.
25676 * benchtests/pow-inputs: New input file for POW function.
25677 * scripts/bench.pl: New script to generate source files for
25678 benchmark programs.
25680 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25682 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25684 computations on mantissa. Use macros for rounding and
25686 (denorm): Likewise.
25687 (__dbl_mp): Likewise.
25688 (add_magnitudes): Likewise.
25689 (sub_magnitudes): Likewise.
25692 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25693 powers of two in terms of TWOPOW macro.
25694 (mp_no): Make type of mantissa as MANTISSA_T.
25695 [!RADIXI]: Define RADIXI.
25696 [!TWO52]: Define TWO52.
25697 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25699 * manual/nptl.texi (cindex): Modify threads to pthreads.
25701 2013-03-15 Joseph Myers <joseph@codesourcery.com>
25703 * sysdeps/x86_64/preconfigure: Regenerated.
25705 2013-03-14 Joseph Myers <joseph@codesourcery.com>
25708 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25710 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25711 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25713 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25714 * math/libm-test.inc (j0_test): Do not allow one spurious
25715 underflow exception.
25716 (y1_test): Likewise.
25718 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25720 * manual/Makefile (chapters): Add nptl.
25721 * manual/debug.texi (Debugging Support): Add link to Threads
25723 * manual/nptl.texi: New file.
25725 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25727 2013-03-14 Petr Baudis <pasky@ucw.cz>
25729 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25730 for non-NULL pointer before the memory validity test. Pointed
25731 out by Holger Brunck <holger.brunck@keymile.com>.
25733 2013-03-13 Andreas Schwab <schwab@suse.de>
25735 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25738 2013-03-13 Joseph Myers <joseph@codesourcery.com>
25740 * timezone/zic.c: Update from tzcode 2013b.
25742 2013-03-12 Carlos O'Donell <carlos@redhat.com>
25744 * manual/install.texi (Configuring and compiling):
25745 Mention i686 and i586.
25746 * INSTALL: Regenerate.
25748 2013-03-12 Roland McGrath <roland@hack.frob.com>
25750 * sysdeps/init_array/elf-init.c: New file.
25752 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25753 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25755 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25756 __gmon_start__ as global, but as static with a .preinit_array pointer.
25757 * sysdeps/init_array/gmon-start.c: New file. Use that.
25758 * sysdeps/init_array/crti.S: New file, empty except for comments.
25759 * sysdeps/init_array/crtn.S: Likewise.
25761 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
25763 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25766 Remove Prefer_SSE_for_memop.
25767 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25768 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25769 HAS_PREFER_SSE_FOR_MEMOP.
25770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25773 Remove bzero, memset ifunc support.
25774 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25775 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25776 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25777 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25779 2013-03-11 Andreas Schwab <schwab@suse.de>
25782 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25785 (GLIBC_2.16): Remove pthread_atfork.
25787 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25789 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25790 (ptestcases.h): Likewise.
25792 2013-03-08 Roland McGrath <roland@hack.frob.com>
25794 * Makeconfig ($(common-objpfx)config.status): Depend on
25795 sysdeps/*/preconfigure{,.in} too.
25797 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25799 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25800 (__free_hook): Use void * instead of __malloc_ptr_t.
25801 (__malloc_hook): Likewise.
25802 (__realloc_hook): Likewise.
25803 (__memalign_hook): Likewise.
25804 (__after_morecore_hook): Likewise.
25805 * malloc/arena.c (save_malloc_hook): Likewise.
25806 (save_free_hook): Likewise.
25807 * malloc/hooks.c (malloc_hook_ini): Likewise.
25808 (realloc_hook_ini): Likewise.
25809 (memalign_hook_ini): Likewise.
25810 * malloc/malloc.c (malloc_hook_ini): Likewise.
25811 (realloc_hook_ini): Likewise.
25812 (memalign_hook_ini): Likewise.
25813 (__free_hook): Likewise.
25814 (__malloc_hook): Likewise.
25815 (__realloc_hook): Likewise.
25816 (__memalign_hook): Likewise.
25817 (__libc_malloc): Likewise.
25818 (__libc_free): Likewise.
25819 (__libc_realloc): Likewise.
25820 (__libc_memalign): Likewise.
25821 (__libc_valloc): Likewise.
25822 (__libc_pvalloc): Likewise.
25823 (__libc_calloc): Likewise.
25824 (__posix_memalign): Likewise.
25825 * malloc/morecore.c (__sbrk): Likewise.
25826 (__default_morecore): Likewise.
25828 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25830 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25831 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25832 __malloc_ptrdiff_t.
25834 * malloc/malloc.h (__malloc_size_t): Remove macro.
25835 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25837 (old_memalign_hook): Likewise.
25838 (old_realloc_hook): Likewise.
25839 (struct hdr): Likewise.
25841 (mallochook): Likewise.
25842 (memalignhook): Likewise.
25843 (reallochook): Likewise.
25844 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25845 (tr_old_realloc_hook): Likewise.
25846 (tr_old_memalign_hook): Likewise.
25847 (tr_mallochook): Likewise.
25848 (tr_reallochook): Likewise.
25849 (tr_memalignhook): Likewise.
25851 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25854 default_ldbl_pack and using as default implementation.
25855 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25857 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25858 redundant definition.
25859 (ldbl_insert_mantissa): Likewise.
25860 (ldbl_canonicalize): Likewise.
25861 (ldbl_nearbyint): Likewise.
25862 (ldbl_pack): Rename to ldbl_pack_ppc.
25863 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25864 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25865 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25867 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25870 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25871 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25872 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25874 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25875 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25876 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25878 2013-03-07 Andreas Jaeger <aj@suse.de>
25880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25883 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25885 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25886 Include mpa.h and declare __MPEXP.
25887 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25888 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25889 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25890 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25891 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25892 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25893 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25895 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25896 (__slowpow): Use long double EXPL and LOGL functions to
25898 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25899 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25900 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25902 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25903 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25906 intermediate variable to calculate exponent.
25908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25912 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25913 [!NO__SQR]: Define __sqr.
25914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25915 and NO__SQR. Remove all code except __mul and __sqr. Include
25916 sysdeps/ieee754/dbl-64/mpa.c.
25917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25920 * posix/Makefile (tests): Add tst-pathconf.
25921 * posix/tst-pathconf.c: New test case.
25922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25924 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25926 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25928 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25930 2013-03-06 Andreas Jaeger <aj@suse.de>
25932 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25933 definition via __MAP_ANONYMOUS.
25935 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25936 it's not part of Linux headers.
25938 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25939 (MAP_HUGE_MASK): Define.
25941 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25944 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25946 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25947 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25949 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25950 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25952 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25954 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25955 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25956 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25957 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25958 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25959 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25961 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25964 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25965 Handle f2fs and efivarfs.
25967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25970 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25971 (EFIVARFS_MAGIC): Add.
25972 (F2FS_LINK_MAX): Add.
25974 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25976 * stdio-common/vfprintf.c: Replace __builtin_expect with
25979 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25982 * sysdeps/generic/bp-sym.h: Remove file.
25983 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25984 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25985 <bp-sym.h> and <bp-asm.h>.
25986 (__longjmp): Don't use BP_SYM.
25987 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25989 (memcpy): Don't use BP_SYM.
25990 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25991 <bp-sym.h> and <bp-asm.h>.
25992 (memcpy): Don't use BP_SYM.
25993 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25995 (memcpy): Don't use BP_SYM.
25996 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25998 (memset): Don't use BP_SYM.
25999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26001 (__bzero): Don't use BP_SYM.
26002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26004 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26005 <bp-sym.h> and <bp-asm.h>.
26006 (memcmp): Don't use BP_SYM. Remove comment about bounded
26008 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26009 <bp-sym.h> and <bp-asm.h>.
26010 (memcpy): Don't use BP_SYM.
26011 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26012 <bp-sym.h> and <bp-asm.h>.
26013 (memset): Don't use BP_SYM.
26014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26016 (__bzero): Don't use BP_SYM.
26017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26019 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26020 <bp-sym.h> and <bp-asm.h>.
26021 (strncmp): Don't use BP_SYM. Remove comment about bounded
26023 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26024 <bp-sym.h> and <bp-asm.h>.
26025 (memcpy): Don't use BP_SYM.
26026 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26027 <bp-sym.h> and <bp-asm.h>.
26028 (memset): Don't use BP_SYM.
26029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26031 (__bzero): Don't use BP_SYM.
26032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26035 <bp-sym.h> and <bp-asm.h>.
26036 (__memchr): Don't use BP_SYM.
26037 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26038 <bp-sym.h> and <bp-asm.h>.
26039 (memcmp): Don't use BP_SYM. Remove comment about bounded
26041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26042 <bp-sym.h> and <bp-asm.h>.
26043 (memcpy): Don't use BP_SYM.
26044 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26045 <bp-sym.h> and <bp-asm.h>.
26046 (__mempcpy): Don't use BP_SYM.
26047 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26048 <bp-sym.h> and <bp-asm.h>.
26049 (__memrchr): Don't use BP_SYM.
26050 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26051 <bp-sym.h> and <bp-asm.h>.
26052 (memset): Don't use BP_SYM.
26053 (__bzero): Likewise.
26054 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26055 <bp-sym.h> and <bp-asm.h>.
26056 (__rawmemchr): Don't use BP_SYM.
26057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26058 <bp-sym.h> and <bp-asm.h>.
26059 (__STRCMP): Don't use BP_SYM.
26060 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26061 <bp-sym.h> and <bp-asm.h>.
26062 (strchr): Don't use BP_SYM.
26063 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26064 <bp-sym.h> and <bp-asm.h>.
26065 (__strchrnul): Don't use BP_SYM.
26066 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26067 <bp-sym.h> and <bp-asm.h>.
26068 (strlen): Don't use BP_SYM.
26069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26070 <bp-sym.h> and <bp-asm.h>.
26071 (strncmp): Don't use BP_SYM. Remove comment about bounded
26073 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26074 <bp-sym.h> and <bp-asm.h>.
26075 (__strnlen): Don't use BP_SYM.
26076 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26077 <bp-sym.h> and <bp-asm.h>.
26078 (__GI__setjmp): Don't use BP_SYM.
26079 (_setjmp): Likewise.
26080 (__sigsetjmp): Likewise.
26081 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26082 (L(start_addresses)): Don't use BP_SYM.
26083 (_start): Likewise.
26084 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26086 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26087 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26088 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26089 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26090 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26092 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26093 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26094 about bounded pointers.
26095 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26096 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26097 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26099 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26100 about bounded pointers. Remove GKM FIXME comments.
26101 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26102 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26104 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26105 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26106 Remove GKM FIXME comments.
26107 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26108 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26109 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26111 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26112 about bounded pointers. Remove GKM FIXME comment.
26113 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26115 (strncmp): Don't use BP_SYM. Remove comment about bounded
26117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26118 <bp-sym.h> and <bp-asm.h>.
26119 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26121 <bp-sym.h> and <bp-asm.h>.
26122 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26125 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26127 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26130 2013-03-05 David S. Miller <davem@davemloft.net>
26132 * po/es.po: Update from translation team.
26134 2013-03-05 Andreas Jaeger <aj@suse.de>
26136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26137 <bits/mman-linux.h>.
26138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26140 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26141 <bits/mman-linux.h> to end of file.
26142 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26144 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26145 <bits/mman-linux.h> to end of file.
26146 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26149 <bits/mman-linux.h> to end of file.
26151 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26152 (MCL_CURRENT, MCL_FUTURE): Define here.
26154 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26157 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26161 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26163 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26164 fourth parameter needed for rt_sigprocmask syscall.
26165 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26166 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26167 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26168 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26169 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26170 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26172 2013-03-04 Joseph Myers <joseph@codesourcery.com>
26175 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26176 comment about bounded pointers.
26177 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26178 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26180 2013-03-04 Andreas Jaeger <aj@suse.de>
26182 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26183 common definitions.
26185 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26186 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26187 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26189 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26192 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26195 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26196 __ieee754_sqrl instead of __sqrl.
26198 2013-03-01 Joseph Myers <joseph@codesourcery.com>
26200 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26201 * sysdeps/powerpc/fpu_control.h: ... here.
26202 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26203 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26204 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26205 * sysdeps/powerpc/bits/mathinline.h: ... here.
26207 2013-03-01 Roland McGrath <roland@hack.frob.com>
26209 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26210 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26211 to just [NEED_DL_SYSINFO_DSO].
26212 * elf/dl-support.c: Likewise.
26213 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26214 * elf/rtld.c (dl_main): Likewise.
26215 * elf/setup-vdso.h (setup_vdso): Likewise.
26216 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26217 * sysdeps/unix/sysv/linux/dl-sysdep.c
26218 (_dl_discover_osversion): Likewise.
26220 2013-03-01 Carlos O'Donell <carlos@redhat.com>
26222 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26223 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26225 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26227 * NEWS: Mention libm performance improvements and non-x86 PI
26230 * csu/libc-start.c (__pthread_initialize_minimal): Change
26231 function arguments.
26232 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26234 2013-02-28 Joseph Myers <joseph@codesourcery.com>
26237 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26238 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26239 <bp-sym.h> and <bp-asm.h>.
26240 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26243 (memcpy): Don't use BP_SYM.
26244 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26246 (__mpn_add_n): Don't use BP_SYM.
26247 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26248 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26250 (__mpn_addmul_1): Don't use BP_SYM.
26251 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26252 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26254 (_setjmp): Don't use BP_SYM.
26255 (__novmx_setjmp): Likewise.
26256 (__GI__setjmp): Likewise.
26257 (__vmx_setjmp): Likewise.
26258 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26260 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26261 (__bzero): Don't use BP_SYM.
26262 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26263 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26264 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26265 <bp-sym.h> and <bp-asm.h>.
26266 (memcpy): Don't use BP_SYM.
26267 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26268 <bp-sym.h> and <bp-asm.h>.
26269 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26270 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26271 <bp-sym.h> and <bp-asm.h>.
26272 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26273 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26275 (__mpn_lshift): Don't use BP_SYM.
26276 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26277 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26279 (memset): Don't use BP_SYM.
26280 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26281 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26282 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26284 (__mpn_mul_1): Don't use BP_SYM.
26285 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26287 <bp-sym.h> and <bp-asm.h>.
26288 (memcmp): Don't use BP_SYM.
26289 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26290 <bp-sym.h> and <bp-asm.h>.
26291 (memcpy): Don't use BP_SYM.
26292 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26293 <bp-sym.h> and <bp-asm.h>.
26294 (memset): Don't use BP_SYM.
26295 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26296 <bp-sym.h> and <bp-asm.h>.
26297 (strncmp): Don't use BP_SYM.
26298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26299 <bp-sym.h> and <bp-asm.h>.
26300 (memcpy): Don't use BP_SYM.
26301 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26302 <bp-sym.h> and <bp-asm.h>.
26303 (memset): Don't use BP_SYM.
26304 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26305 <bp-sym.h> and <bp-asm.h>.
26306 (__memchr): Don't use BP_SYM.
26307 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26308 <bp-sym.h> and <bp-asm.h>.
26309 (memcmp): Don't use BP_SYM.
26310 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26311 <bp-sym.h> and <bp-asm.h>.
26312 (memcpy): Don't use BP_SYM.
26313 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26314 <bp-sym.h> and <bp-asm.h>.
26315 (__mempcpy): Don't use BP_SYM.
26316 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26317 <bp-sym.h> and <bp-asm.h>.
26318 (__memrchr): Don't use BP_SYM.
26319 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26320 <bp-sym.h> and <bp-asm.h>.
26321 (memset): Don't use BP_SYM.
26322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26323 <bp-sym.h> and <bp-asm.h>.
26324 (__rawmemchr): Don't use BP_SYM.
26325 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26326 <bp-sym.h> and <bp-asm.h>.
26327 (__STRCMP): Don't use BP_SYM.
26328 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26329 <bp-sym.h> and <bp-asm.h>.
26330 (strchr): Don't use BP_SYM.
26331 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26332 <bp-sym.h> and <bp-asm.h>.
26333 (__strchrnul): Don't use BP_SYM.
26334 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26335 <bp-sym.h> and <bp-asm.h>.
26336 (strlen): Don't use BP_SYM.
26337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26338 <bp-sym.h> and <bp-asm.h>.
26339 (strncmp): Don't use BP_SYM.
26340 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26341 <bp-sym.h> and <bp-asm.h>.
26342 (__strnlen): Don't use BP_SYM.
26343 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26345 (__mpn_rshift): Don't use BP_SYM.
26346 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26347 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26348 <bp-sym.h> and <bp-asm.h>.
26349 (__sigsetjmp): Don't use BP_SYM.
26350 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26351 (L(start_addresses)): Don't use BP_SYM.
26352 (_start): Likewise.
26353 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26355 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26356 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26357 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26358 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26360 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26361 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26362 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26363 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26365 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26367 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26368 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26370 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26372 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26373 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26374 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26376 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26378 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26380 (strncmp): Don't use BP_SYM,
26381 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26383 (__mpn_sub_n): Don't use BP_SYM.
26384 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26385 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26387 (__mpn_submul_1): Don't use BP_SYM.
26388 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26390 <bp-sym.h> and <bp-asm.h>.
26391 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26393 <bp-sym.h> and <bp-asm.h>.
26394 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26397 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26400 Use ZK to minimize writes to Z.
26401 (sub_magnitudes): Simplify code a bit.
26402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26403 Use ZK to minimize writes to Z.
26404 (sub_magnitudes): Simplify code a bit.
26406 2013-02-27 Roland McGrath <roland@hack.frob.com>
26408 * csu/gmon-start.c: Add special exception to license text.
26410 2013-02-27 Richard Henderson <rth@redhat.com>
26412 * scripts/config.guess: Update from config.git.
26413 * scripts/config.sub: Likewise.
26415 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26417 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26419 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26421 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26423 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26425 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26427 2013-02-26 Roland McGrath <roland@hack.frob.com>
26429 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26430 [$(build-shared = yes].
26432 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26434 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26435 (__mul): Reduce iterations for calculating mantissa.
26437 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26439 (__mpranred): Likewise.
26442 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26443 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26445 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26447 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26448 Define __attribute__.
26450 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26452 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26454 * posix/regex_internal.h (__attribute): Remove.
26455 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26456 (re_string_context_at): Likewise.
26457 (bitset_not): Use __attribute__ and mark function as possibly
26459 (bitset_merge): Likewise.
26460 (bitset_mask): Likewise.
26461 (re_string_char_size_at): Likewise.
26462 (re_string_wchar_at): Likewise.
26463 (re_string_elem_size_at): Likewise.
26465 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26467 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26471 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26475 (denorm): Likewise.
26476 (__dbl_mp): Likewise.
26477 (add_magnitudes): Likewise.
26478 (sub_magnitudes): Likewise.
26482 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26485 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26488 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26492 up changes with default code.
26493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26496 2013-02-24 Allan McRae <allan@archlinux.org>
26498 * manual/socket.texi (The Internet Namespace): Order menu items
26499 to match that in the file.
26501 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26502 node listing of the info page menu.
26504 2013-02-21 Joseph Myers <joseph@codesourcery.com>
26507 * sysdeps/i386/bp-asm.h: Remove file.
26508 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26509 (PARMS): Do not use macros from bp-asm.h.
26513 (__mpn_add_n): Do not use BP_SYM
26514 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26516 (PARMS): Do not use macros from bp-asm.h.
26519 (__mpn_addmul_1): Do not use BP_SYM
26520 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26522 (PARMS): Do not use macros from bp-asm.h.
26523 (SIGMSK): Likewise.
26524 (_setjmp): Likewise. Do not use BP_SYM.
26525 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26527 (PARMS): Do not use macros from bp-asm.h.
26528 (SIGMSK): Likewise.
26529 (setjmp): Likewise. Do not use BP_SYM.
26530 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26532 (PARMS): Do not use macros from bp-asm.h.
26533 (__frexp): Do not use BP_SYM.
26535 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26537 (PARMS): Do not use macros from bp-asm.h.
26538 (__frexpf): Do not use BP_SYM.
26539 (frexpf): Likewise.
26540 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26542 (PARMS): Do not use macros from bp-asm.h.
26543 (__frexpl): Do not use BP_SYM.
26544 (frexpl): Likewise.
26545 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26547 (PARMS): Do not use macros from bp-asm.h.
26548 (__remquo): Do not use BP_SYM.
26549 (remquo): Likewise.
26550 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26552 (PARMS): Do not use macros from bp-asm.h.
26553 (__remquof): Do not use BP_SYM.
26554 (remquof): Likewise.
26555 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26557 (PARMS): Do not use macros from bp-asm.h.
26558 (__remquol): Do not use BP_SYM.
26559 (remquol): Likewise.
26560 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26562 (PARMS): Do not use macros from bp-asm.h.
26565 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26566 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26568 (PARMS): Do not use macros from bp-asm.h.
26569 (strlen): Do not use BP_SYM.
26570 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26572 (PARMS): Do not use macros from bp-asm.h.
26576 (__mpn_add_n): Do not use BP_SYM.
26577 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26579 (PARMS): Do not use macros from bp-asm.h.
26582 (__mpn_addmul_1): Do not use BP_SYM.
26583 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26586 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26588 (PARMS): Do not use macros from bp-asm.h.
26591 (__mpn_lshift): Do not use BP_SYM.
26592 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26594 (PARMS): Do not use macros from bp-asm.h.
26598 (memcpy): Likewise. Do not use BP_SYM.
26599 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26600 libc_hidden_def and weak_alias.
26601 (mempcpy): Do not use BP_SYM in weak_alias.
26602 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26604 (PARMS): Do not use macros from bp-asm.h.
26607 [!BZERO_P] (CHR): Likewise.
26608 (memset): Likewise. Do not use BP_SYM.
26609 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26611 (PARMS): Do not use macros from bp-asm.h.
26614 (__mpn_mul_1): Do not use BP_SYM.
26615 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26617 (PARMS): Do not use macros from bp-asm.h.
26620 (__mpn_rshift): Do not use BP_SYM.
26621 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26623 (PARMS): Do not use macros from bp-asm.h.
26626 (strchr): Likewise. Do not use BP_SYM.
26627 (index): Do not use BP_SYM in weak_alias.
26628 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26630 (PARMS): Do not use macros from bp-asm.h.
26633 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26634 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26636 (PARMS): Do not use macros from bp-asm.h.
26637 (strlen): Do not use BP_SYM.
26638 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26640 (PARMS): Do not use macros from bp-asm.h.
26644 (__mpn_sub_n): Do not use BP_SYM.
26645 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26647 (PARMS): Do not use macros from bp-asm.h.
26650 (__mpn_submul_1): Do not use BP_SYM.
26651 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26653 (PARMS): Do not use macros from bp-asm.h.
26657 (__mpn_add_n): Do not use BP_SYM.
26658 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26661 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26663 (PARMS): Do not use macros from bp-asm.h.
26666 (memcmp): Do not use BP_SYM.
26667 (bcmp): Do not use BP_SYM in weak_alias.
26668 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26670 (PARMS): Do not use macros from bp-asm.h.
26674 (memcpy): Likewise. Do not use BP_SYM.
26675 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26677 (PARMS): Do not use macros from bp-asm.h.
26681 (memmove): Likewise. Do not use BP_SYM.
26682 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26684 (PARMS): Do not use macros from bp-asm.h.
26688 (__mempcpy): Likewise. Do not use BP_SYM.
26689 (mempcpy): Do not use BP_SYM in weak_alias.
26690 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26692 (PARMS): Do not use macros from bp-asm.h.
26695 [!BZERO_P] (CHR): Likewise.
26696 (memset): Likewise. Do not use BP_SYM.
26697 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26699 (PARMS): Do not use macros from bp-asm.h.
26701 (strcmp): Do not use BP_SYM.
26702 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26704 (PARMS): Do not use macros from bp-asm.h.
26707 [USE_AS_STRTOK_R] (SAVE): Likewise.
26708 (FUNCTION): Likewise. Do not use BP_SYM.
26709 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26711 (strtok_r): Likewise.
26712 (__GI___strtok_r): Likewise.
26713 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26714 (PARMS): Do not use macros from bp-asm.h.
26717 (__mpn_lshift): Do not use BP_SYM.
26718 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26719 (PARMS): Do not use macros from bp-asm.h.
26722 (__memchr): Do not use BP_SYM.
26723 (memchr): Do not use BP_SYM in weak_alias.
26724 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26725 (PARMS): Do not use macros from bp-asm.h.
26728 (memcmp): Do not use BP_SYM.
26729 (bcmp): Do not use BP_SYM in weak_alias.
26730 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26731 (PARMS): Do not use macros from bp-asm.h.
26734 (__mpn_mul_1): Do not use BP_SYM.
26735 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26737 (PARMS): Do not use macros from bp-asm.h.
26740 (__rawmemchr): Do not use BP_SYM.
26741 (rawmemchr): Do not use BP_SYM in weak_alias.
26742 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26743 (PARMS): Do not use macros from bp-asm.h.
26746 (__mpn_rshift): Do not use BP_SYM.
26747 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26748 (PARMS): Do not use macros from bp-asm.h.
26749 (SIGMSK): Likewise.
26750 (__sigsetjmp): Likewise. Do not use BP_SYM.
26751 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26752 (_start): Do not use BP_SYM.
26753 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26754 (PARMS): Do not use macros from bp-asm.h.
26757 (__stpcpy): Likewise. Do not use BP_SYM.
26758 (stpcpy): Do not use BP_SYM in weak_alias.
26759 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26761 (PARMS): Do not use macros from bp-asm.h.
26765 (__stpncpy): Likewise. Do not use BP_SYM.
26766 (stpncpy): Do not use BP_SYM in weak_alias.
26767 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26768 (PARMS): Do not use macros from bp-asm.h.
26771 (strchr): Likewise. Do not use BP_SYM.
26772 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26774 (PARMS): Do not use macros from bp-asm.h.
26777 (__strchrnul): Likewise. Do not use BP_SYM.
26778 (strchrnul): Do not use BP_SYM in weak_alias.
26779 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26781 (PARMS): Do not use macros from bp-asm.h.
26783 (strcspn): Do not use BP_SYM.
26784 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26786 (PARMS): Do not use macros from bp-asm.h.
26789 (strpbrk): Likewise. Do not use BP_SYM.
26790 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26792 (PARMS): Do not use macros from bp-asm.h.
26795 (strrchr): Likewise. Do not use BP_SYM.
26796 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26797 (PARMS): Do not use macros from bp-asm.h.
26799 (strspn): Do not use BP_SYM.
26800 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26801 (PARMS): Do not use macros from bp-asm.h.
26805 (FUNCTION): Likewise. Do not use BP_SYM.
26806 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26808 (strtok_r): Likewise.
26809 (__GI___strtok_r): Likewise.
26810 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26811 (PARMS): Do not use macros from bp-asm.h.
26815 (__mpn_sub_n): Do not use BP_SYM.
26816 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26818 (PARMS): Do not use macros from bp-asm.h.
26821 (__mpn_submul_1): Do not use BP_SYM.
26822 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26824 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26826 (PARMS): Do not use macros from bp-asm.h.
26831 (__clone): Do not use BP_SYM.
26832 (clone): Do not use BP_SYM in weak_alias.
26833 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26835 (PARMS): Do not use macros from bp-asm.h.
26837 (__mmap64): Do not use BP_SYM.
26838 (mmap64): Do not use BP_SYM in weak_alias.
26839 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26840 <bp-sym.h> and <bp-asm.h>.
26841 (PARMS): Do not use macros from bp-asm.h.
26842 (__posix_fadvise64_l64): Do not use BP_SYM.
26843 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26844 (PARMS): Do not use macros from bp-asm.h.
26846 (semtimedop): Do not use BP_SYM.
26847 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26850 2013-02-21 Allan McRae <allan@archlinux.org>
26852 * manual/message.texi (Charset conversion in gettext):
26853 Move @end statement to beginning of line.
26855 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26863 (denorm): Likewise.
26864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26867 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26869 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26870 tail-call to the resolved function if pltexit isn't needed.
26872 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26875 or Y being zero as being unlikely.
26876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26879 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26881 * manual/nss.texi (System Databases and Name Service Switch):
26882 Remove frobnicate @pxref.
26884 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26886 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26887 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26889 2013-02-20 Petr Machata <pmachata@redhat.com>
26891 * elf/elf.h (R_ARM_TARGET1): New macro.
26892 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26893 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26894 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26895 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26896 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26897 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26898 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26899 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26900 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26901 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26902 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26903 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26904 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26905 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26906 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26907 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26908 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26909 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26910 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26911 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26912 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26913 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26914 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26915 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26916 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26917 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26918 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26919 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26920 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26921 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26922 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26923 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26924 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26925 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26926 (R_ARM_THM_GOT_BREL12): Likewise.
26927 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26928 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26929 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26930 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26931 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26932 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26933 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26934 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26935 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26937 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26939 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26940 __attribute_used__ to __attribute__ ((unused)).
26942 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26944 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26947 comment formatting.
26948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26950 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26953 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26955 (ENTER): Remove both macro definitions.
26957 (CHECK_BOUNDS_LOW): Likewise.
26958 (CHECK_BOUNDS_HIGH): Likewise.
26959 (CHECK_BOUNDS_BOTH): Likewise.
26960 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26961 (RETURN_BOUNDED_POINTER): Likewise.
26962 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26963 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26964 (POP_ERRNO_LOCATION_RETURN): Likewise.
26965 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26967 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26969 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26970 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26971 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26972 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26973 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26974 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26975 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26976 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26977 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26978 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26979 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26980 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26982 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26985 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26987 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26988 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26989 * sysdeps/i386/i586/memset.S (memset): Likewise.
26990 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26991 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26992 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26994 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26995 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26996 Change uses of L(2) to L(out).
26997 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26998 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26999 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27000 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27001 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27003 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27004 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27006 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27007 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27008 (RETURN): Do not use macro LEAVE.
27009 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27010 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27011 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27012 * sysdeps/i386/i686/memset.S (memset): Likewise.
27013 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27014 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27015 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27016 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27018 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27019 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27020 L(1_2) and L(1_3) into L(1).
27021 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27022 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27023 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27024 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27025 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27026 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27027 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27028 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27029 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27031 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27032 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27033 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27034 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27035 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27036 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27037 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27038 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27039 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27040 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27041 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27042 * sysdeps/i386/strspn.S (strspn): Likewise.
27043 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27045 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27046 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27047 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27048 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27049 L(1_3) into L(1_1).
27050 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27051 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27052 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27054 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27056 2013-02-19 Jakub Jelinek <jakub@redhat.com>
27058 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27061 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27063 * math/atest-exp.c (exp_mpn): Remove ROUND.
27064 * math/atest-exp2.c (exp_mpn): Likewise.
27065 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27067 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27068 * stdlib/tst-tls-atexit-lib.c: Likewise.
27069 * stdlib/tst-tls-atexit.c: Likewise.
27071 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27073 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27074 and __attribute_alloc_size__.
27076 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27078 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27079 __attribute_alloc_size__.
27080 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27081 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27083 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27085 * include/programs/xmalloc.h: New file.
27086 * catgets/gencat.c: Include it.
27087 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27088 * elf/pldd.c: Likewise.
27089 * iconv/iconv_charmap.c: Likewise.
27090 * iconv/iconvconfig.c: Likewise.
27091 * iconv/strtab.c: Likewise.
27092 * locale/programs/locale.c: Likewise.
27093 * locale/programs/localedef.h: Likewise.
27094 * locale/programs/simple-hash.c: Likewise.
27095 * nscd/nscd.h: Likewise.
27096 * nss/makedb.c: Likewise.
27097 * sysdeps/generic/ldconfig.h: Likewise.
27099 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27101 * Versions.def: Add GLIBC_2.18.
27102 * include/link.h (struct link_map): New member l_tls_dtor_count.
27103 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27104 (__call_tls_dtors): Likewise.
27105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27106 __cxa_thread_atexit_impl.
27107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27123 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27124 (tests): Add test case tst-tls-atexit.
27125 (modules-names): Add shared library for tst-tls-atexit.
27126 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27127 (GLIBC_PRIVATE): Add __call_tls_dtors.
27128 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27130 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27131 * stdlib/tst-tls-atexit.c: New test case.
27132 * stdlib/tst-tls-atexit-lib.c: New test case.
27134 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27136 * elf/Versions (ld): Add _dl_find_dso_for_object.
27137 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27138 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27139 (dl_open_worker): Use _dl_find_dso_for_object.
27140 * elf/dl-sym.c (do_sym): Likewise.
27141 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27143 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27145 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27146 Syntactic changes only.
27147 (_dl_runtime_profile): Do a tail-call to the resolved function.
27149 2013-02-17 Joseph Myers <joseph@codesourcery.com>
27152 * sysdeps/x86_64/bp-asm.h: Remove file.
27153 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27154 <bp-sym.h> and <bp-asm.h>.
27155 (__clone): Do not use BP_SYM.
27156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27157 <bp-sym.h> and <bp-asm.h>.
27158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27159 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27161 (_setjmp): Do not use BP_SYM.
27162 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27164 (setjmp): Do not use BP_SYM.
27165 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27167 (mempcpy): Do not use BP_SYM in weak_alias.
27168 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27170 (strchr): Do not use BP_SYM.
27171 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27173 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27174 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27175 (_start): Do not use BP_SYM.
27176 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27178 (strcat): Do not use BP_SYM.
27179 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27181 (STRCMP): Do not use BP_SYM.
27182 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27184 (STRCPY): Do not use BP_SYM.
27185 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27187 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27189 (FUNCTION): Do not use BP_SYM.
27190 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27192 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27194 2013-02-17 Andreas Jaeger <aj@suse.de>
27196 * time/Versions: Sort entries.
27197 * string/Versions: Likewise.
27198 * resolv/Versions: Likewise.
27199 * posix/Versions: Likewise.
27200 * iconv/Versions: Likewise.
27201 * elf/Versions: Likewise.
27202 * wcsmbs/Versions: Likewise.
27204 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27206 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27207 loop termination condition.
27209 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27210 variable to calculate EZ.
27213 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27214 the lower precision input.
27216 2013-02-15 Joseph Myers <joseph@codesourcery.com>
27219 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27220 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27221 (run-via-rtld-prefix): Do not handle %-bp tests.
27222 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27223 (all-object-suffixes): Remove .ob.
27224 (bppfx): Remove variable.
27225 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27226 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27227 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27228 [$(build-bounded) = yes] (libtype.ob): Likewise.
27229 * Makerules (elide-routines.ob): Remove variable.
27230 (do-tests-clean): Do not handle *-bp.out.
27231 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27232 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27233 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27234 (tests): Do not include $(tests-bp.out).
27235 (xtests): Do not include $(xtests-bp.out).
27236 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27237 [$(build-bounded) = yes] ($(addprefix
27238 $(objpfx),$(binaries-bounded))): Remove rule.
27239 ($(objpfx)%-bp.out): Remove rule.
27240 * config.make.in (build-bounded): Remove variable.
27241 * crypt/Makefile [$(build-bounded) = yes]
27242 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27243 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27244 append to variable.
27245 [$(build-bounded) = yes] (install-lib): Likewise.
27246 [$(build-bounded) = yes] (generated): Likewise.
27247 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27249 * intl/Makefile [$(build-bounded) = yes]
27250 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27251 * math/Makefile [$(build-bounded) = yes]
27252 ($(tests:%=$(objpfx)%-bp): Likewise.
27253 * misc/Makefile [$(build-bounded) = yes]
27254 ($(objpfx)tst-tsearch-bp): Likewise.
27255 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27256 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27258 * string/Makefile (o-objects.ob): Remove variable.
27259 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27260 (CFLAGS-.ob): Remove variable.
27261 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27262 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27263 both definitions of variable.
27264 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27265 (ASFLAGS-.ob): Remove variable.
27267 2013-02-14 Joseph Myers <joseph@codesourcery.com>
27270 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27271 Remove __BOUNDED_POINTERS__ from condition.
27272 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27273 * string/bits/string2.h [!__NO_STRING_INLINES &&
27274 !__BOUNDED_POINTERS__]: Likewise.
27275 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27277 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27278 Remove conditional code.
27279 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27280 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27281 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27285 * csu/libc-start.c: Do not include <bp-sym.h>.
27286 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27287 * elf/dl-open.c: Do not include <bp-sym.h>.
27288 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27289 * math/fegetenv.c: Do not include <bp-sym.h>.
27290 (fegetenv): Do not use BP_SYM in versioned symbols.
27291 * nptl/sysdeps/pthread/bits/libc-lockP.h
27292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27295 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27297 (__pthread_mutex_destroy): Likewise.
27298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27299 (__pthread_mutex_lock): Likewise.
27300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27301 (__pthread_mutex_trylock): Likewise.
27302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27303 (__pthread_mutex_unlock): Likewise.
27304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27305 (__pthread_mutexattr_init): Likewise.
27306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27307 (__pthread_mutexattr_destroy): Likewise.
27308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27309 (__pthread_mutexattr_settype): Likewise.
27310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27311 (__pthread_rwlock_init): Likewise.
27312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27313 (__pthread_rwlock_destroy): Likewise.
27314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27315 (__pthread_rwlock_rdlock): Likewise.
27316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27317 (__pthread_rwlock_tryrdlock): Likewise.
27318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27319 (__pthread_rwlock_wrlock): Likewise.
27320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27321 (__pthread_rwlock_trywrlock): Likewise.
27322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27323 (__pthread_rwlock_unlock): Likewise.
27324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27325 (__pthread_key_create): Likewise.
27326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27327 (__pthread_setspecific): Likewise.
27328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27329 (__pthread_getspecific): Likewise.
27330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27333 (_pthread_cleanup_push_defer): Likewise.
27334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27335 (_pthread_cleanup_pop_restore): Likewise.
27336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27337 (pthread_setcancelstate): Likewise.
27338 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27340 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27341 (memchr): Do not use BP_SYM in weak_alias.
27342 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27343 (fegetenv): Do not use BP_SYM in versioned symbols.
27344 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27345 (fesetenv): Do not use BP_SYM in versioned symbols.
27346 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27347 (feupdateenv): Do not use BP_SYM in versioned symbols.
27348 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27349 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27350 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27351 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27352 (open64): Do not use BP_SYM in weak_alias.
27353 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27354 (fegetenv): Do not use BP_SYM in versioned symbols.
27355 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27356 (fesetenv): Do not use BP_SYM in versioned symbols.
27357 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27358 (feupdateenv): Do not use BP_SYM in versioned symbols.
27359 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27360 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27361 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27362 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27363 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27365 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27367 (__libc_start_main): Do not use BP_SYM.
27369 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27372 redundant return line.
27374 (denorm): Likewise.
27375 (dbl_mp): Likewise.
27376 (sub_magnitudes): Likewise.
27382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27384 (denorm): Likewise.
27385 (dbl_mp): Likewise.
27386 (sub_magnitudes): Likewise.
27393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27396 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27399 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27400 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27402 of __mul for squares.
27403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27407 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27408 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27410 2013-02-13 Joseph Myers <joseph@codesourcery.com>
27413 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27415 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27416 prototype or function definition. Rename ubp_* variables and
27417 parameters. Remove argv definitions conditional on
27418 [__BOUNDED_POINTERS__].
27419 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27420 * elf/dl-runtime.c (_dl_fixup): Likewise.
27421 * include/set-hooks.h (RUN_HOOK): Likewise.
27422 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27424 * string/strcpy.c (strcpy): Do not use __unbounded.
27425 * sysdeps/generic/frame.h (struct layout): Likewise.
27426 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27427 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27428 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27429 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27430 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27431 (__backtrace): Likewise.
27432 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27434 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27436 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27438 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27439 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27440 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27441 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27442 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27443 Do not use __unbounded.
27444 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27445 Rename __unboundedrlimits parameter to rlimits in prototype.
27446 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27447 Do not use __unbounded.
27448 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27449 not use __ptrvalue.
27450 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27451 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27452 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27453 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27454 __ptrvalue or __unbounded.
27455 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27456 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27458 (__new_msgctl): Do not use __ptrvalue.
27459 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27461 (__libc_msgrcv): Do not use __ptrvalue.
27462 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27463 startup_info): Do not use __unbounded.
27464 (__libc_start_main): Likewise. Rename ubp_* variables and
27465 parameters. Remove argv definitions conditional on
27466 [__BOUNDED_POINTERS__].
27467 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27469 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27471 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27473 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27475 (__new_shmctl): Do not use __ptrvalue.
27476 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27477 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27479 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27481 (__libc_sigaction): Likewise.
27482 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27485 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27487 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
27489 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27491 * string/mempcpy.c: Implement by calling memcpy.
27493 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27497 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27500 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27501 values in the mantissa.
27503 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27504 minimize writes to Z.
27505 (sub_magnitudes): Simplify code a bit.
27507 2013-02-12 Roland McGrath <roland@hack.frob.com>
27509 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27510 from the message. The linker prefixes all warnings with that already.
27512 2013-02-12 Andreas Schwab <schwab@suse.de>
27515 * posix/regexec.c (extend_buffers): Add parameter min_len.
27516 (check_matching): Pass minimum needed length.
27517 (clean_state_log_if_needed): Likewise.
27518 (get_subexp): Likewise.
27519 * posix/Makefile (tests): Add bug-regex34.
27520 (bug-regex34-ENV): Define.
27521 * posix/bug-regex34.c: New file.
27524 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27525 elements compare against the byte sequence of it, not its name.
27526 * posix/Makefile (tests): Add bug-regex35.
27527 (bug-regex35-ENV): Define.
27528 * posix/bug-regex35.c: New file.
27530 2013-02-11 Tom de Vries <tom@codesourcery.com>
27532 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27534 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27535 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27536 (CHECK_EOL): Add undef.
27538 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
27540 * bits/stdlib-bsearch.h: New file.
27541 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27542 * stdlib/stdlib.h: Likewise.
27544 2013-02-11 Roland McGrath <roland@hack.frob.com>
27546 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27547 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27549 * manual/search.texi (Array Search Function): Add missing const in
27551 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27552 declaration to use rlim_t.
27553 (Basic Scheduling Functions): Remove erroneous const from
27554 sched_getparam prototype. Remove erroneous * from
27555 sched_get_priority_max and sched_get_priority_min prototypes.
27556 (Resource Usage): Fix summary @comment on vtimes to refer to
27557 sys/vtimes.h rather than vtimes.h.
27558 Add missing *s in vtimes prototype.
27559 (Limits on Resources): Fix ulimit prototype to return long int.
27560 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27561 prototypes to use long int rather than double.
27562 (BSD Random): Fix initstate and setstate to use char *, not void *.
27563 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27564 prototype to make second argument 'struct aiocb64 *const[]'.
27565 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27566 (Status of AIO Operations): Remove erroneous const in aio_return and
27567 aio_return64 prototypes.
27568 (Synchronizing I/O): Fix sync prototype to return void.
27569 * manual/startup.texi (Suboptions): Remove an erroneous const in
27570 getsubopt prototype.
27571 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27572 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27573 use size_t rather than int.
27574 (Scanning All Users): Likewise for getpwent_r.
27575 (Setting Groups): Add missing const to setgroups prototype.
27576 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27577 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27578 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27579 'const void *' rather than 'const char *'.
27580 (Host Address Functions): Likewise for inet_ntop.
27581 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27582 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27583 ssize_t for return value.
27584 (Sending Data): Likewise for send, sendto, sendmsg.
27585 (Socket Option Functions): Add a missing const in setsockopt prototype.
27586 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27587 use wchar_t for the argument.
27588 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27589 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27591 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27592 double/float/long double for second argument.
27593 Fix return types of significand, significandf, significandl.
27594 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27595 argument in fchmod prototype.
27596 (File Owner): Use uid_t and gid_t in fchown prototype.
27597 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27598 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27599 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27600 use 'const struct dirent **' as argument types to CMP function pointer
27602 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27603 (File Times): Fix summary magic @comment for struct utimbuf and utime
27604 to refer to utime.h, not time.h.
27605 * manual/string.texi (Argz Functions): Add missing const in
27606 argz_extract and argz_next prototypes.
27607 (Finding Tokens in a String): Likewise for basename.
27608 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27609 (Copying and Concatenation): Fix typo in wmemmove prototype.
27610 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27611 (Signal Stack): Remove erroneous const in sigstack prototype.
27612 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27614 (Simple Calendar Time): Likewise for stime.
27615 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27617 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27618 say sys/sysctl.h instead.
27619 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27620 and vsyslog prototypes.
27622 2013-02-11 Tom de Vries <tom@codesourcery.com>
27624 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27627 2013-02-11 Roland McGrath <roland@hack.frob.com>
27629 * misc/sys/mman.h: Fix typo in mremap comment.
27631 2013-02-08 Roland McGrath <roland@hack.frob.com>
27633 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27634 the '\0' terminator.
27636 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27639 * debug/segfault.c: Don't include <bp-checks.h>.
27640 * sysdeps/generic/bp-checks.h: Remove file.
27641 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27642 (__GETDENTS): Don't use CHECK_N.
27643 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27644 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27645 (__getgroups): Don't use CHECK_N.
27646 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27647 (setgroups): Don't use CHECK_N.
27648 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27649 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27650 (__libc_msgrcv): Don't use CHECK_N.
27651 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27652 (__libc_msgsnd): Don't use CHECK_N.
27653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27655 (__libc_pread): Don't use CHECK_N.
27656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27657 include <bp-checks.h>.
27658 (__libc_pread64): Don't use CHECK_N.
27659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27660 include <bp-checks.h>.
27661 (__libc_pwrite): Don't use CHECK_N.
27662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27663 include <bp-checks.h>.
27664 (__libc_pwrite64): Don't use CHECK_N.
27665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27667 (__libc_pread): Don't use CHECK_N.
27668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27669 include <bp-checks.h>.
27670 (__libc_pread64): Don't use CHECK_N.
27671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27672 include <bp-checks.h>.
27673 (__libc_pwrite): Don't use CHECK_N.
27674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27675 include <bp-checks.h>.
27676 (__libc_pwrite64): Don't use CHECK_N.
27677 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27678 (do_pread): Don't use CHECK_N.
27679 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27680 (do_pread64): Don't use CHECK_N.
27681 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27682 (do_pwrite): Don't use CHECK_N.
27683 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27684 (do_pwrite64): Don't use CHECK_N.
27685 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27686 (__libc_readv): Don't use CHECK_N.
27687 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27688 (semop): Don't use CHECK_N.
27689 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27691 (semtimedop): Don't use CHECK_N.
27692 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27693 (__libc_pread): Don't use CHECK_N.
27694 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27696 (__libc_pread64): Don't use CHECK_N.
27697 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27699 (__libc_pwrite): Don't use CHECK_N.
27700 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27702 (__libc_pwrite64): Don't use CHECK_N.
27703 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27705 (__libc_msgrcv): Don't use CHECK_N.
27706 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27707 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27708 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27709 (__libc_writev): Don't use CHECK_N.
27711 2013-02-08 Roland McGrath <roland@hack.frob.com>
27713 * string/strcpy.c: Removed unused variable.
27715 * Makeconfig (+sysdep-includes): Define with := rather than =.
27716 Use an existing include/ subdir of each sysdeps dir before it.
27718 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27720 * nscd/connection.c (register_traced_file): Comment function.
27721 [HAVE_INOTIFY] (union __inev): Define.
27722 [HAVE_INOTIFY] (inotify_check_files): New function.
27723 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27724 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27726 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27728 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27730 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27731 loaded if not already and that a failure is permanent.
27733 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27736 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27737 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27739 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27742 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27743 (CHECK_1_NULL_OK): Likewise.
27744 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27745 (__fxstat): Do not use CHECK_1.
27746 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27748 (___fxstat64): Do not use CHECK_1.
27749 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27751 (__fxstatat): Do not use CHECK_1.
27752 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27754 (__fxstatat64): Do not use CHECK_1.
27755 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27757 (__fxstat): Do not use CHECK_1.
27758 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27760 (__fxstatat): Do not use CHECK_1.
27761 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27763 (__getresgid): Do not use CHECK_1.
27764 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27766 (__getresuid): Do not use CHECK_1.
27767 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27769 (__lxstat): Do not use CHECK_1.
27770 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27772 (__old_msgctl): Do not use CHECK_1.
27773 (__new_msgctl): Likewise.
27774 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27776 (__new_setrlimit): Do not use CHECK_1.
27777 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27779 (__old_shmctl): Do not use CHECK_1.
27780 (__new_shmctl): Likewise.
27781 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27783 (__xstat): Do not use CHECK_1.
27784 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27785 (__lxstat): Do not use CHECK_1.
27786 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27788 (___lxstat64): Do not use CHECK_1.
27789 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27790 (__old_msgctl): Do not use CHECK_1.
27791 (__new_msgctl): Likewise.
27792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27794 (__gettimeofday): Do not use CHECK_1.
27795 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27796 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27797 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27799 (__gettimeofday): Do not use CHECK_1.
27800 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27801 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27802 (__new_shmctl): Do not use CHECK_1.
27803 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27805 (do_sigtimedwait): Do not use CHECK_1.
27806 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27808 (do_sigwaitinfo): Do not use CHECK_1.
27809 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27811 (msgctl): Do not use CHECK_1.
27812 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27814 (shmctl): Do not use CHECK_1.
27815 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27816 (ustat): Do not use CHECK_1.
27817 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27819 (__fxstat): Do not use CHECK_1.
27820 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27822 (__fxstatat): Do not use CHECK_1.
27823 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27825 (__lxstat): Do not use CHECK_1.
27826 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27828 (__xstat): Do not use CHECK_1.
27829 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27830 (__xstat): Do not use CHECK_1.
27831 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27832 (___xstat64): Do not use CHECK_1.
27835 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27837 (CHECK_BOUNDS_HIGH): Likewise.
27838 * string/strcpy.c: Do not include <bp-checks.h>.
27839 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27841 2013-02-07 Roland McGrath <roland@hack.frob.com>
27843 * nscd/nscd-client.h (__nscd_drop_map_ref):
27844 Add __attribute__ ((unused)).
27845 * nis/nss-nisplus.h (niserr2nss): Likewise.
27847 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27848 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27850 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27851 Remove inline keyword.
27852 * include/rounding-mode.h (round_away): Likewise.
27853 * libio/wfileops.c (adjust_wide_data): Likewise.
27854 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27855 (__m128i_strloadu_tolower): Likewise.
27856 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27857 (__m128i_strloadu_tolower): Likewise.
27858 * time/mktime.c (ydhms_diff): Likewise.
27859 * locale/elem-hash.h (elem_hash): Likewise.
27860 * locale/setlocale.c (setdata): Likewise.
27861 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27862 (re_string_wchar_at): Likewise.
27863 (bitset_not, bitset_merge, bitset_mask): Likewise.
27864 [!(__GNUC__ > 3)] (inline): Remove macro.
27865 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27866 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27867 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27868 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27869 * string/memcmp.c (memcmp_bytes): Likewise.
27870 * locale/programs/locarchive.c (compute_hashval): Likewise.
27871 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27872 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27873 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27874 * nss/getent.c (print_rpc, print_protocols): Likewise.
27875 (print_passwd, print_group, print_aliases): Likewise.
27876 * nis/nss-nisplus.h (niserr2nss): Likewise.
27877 * nscd/connections.c (restart_p): Likewise.
27878 Change return type to bool.
27880 2013-02-05 Roland McGrath <roland@hack.frob.com>
27882 * Makeconfig (all-Depend-files): Add existing
27883 $(sorted-subdirs:=/Depend) files.
27884 (all-subdirs): Remove nss.
27885 * sysdeps/unix/inet/Subdirs: Add it here instead.
27886 * hesiod/Depend: New file.
27888 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27889 instead of calling alloca.
27891 * io/lseek.c (__lseek): Rename to __libc_lseek.
27892 Define __lseek as an alias.
27894 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27896 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27898 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27899 else clause and remove check for non-standard endianness.
27901 2013-02-04 David S. Miller <davem@davemloft.net>
27903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27905 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27908 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27909 (__ubp_memchr): Remove prototype.
27910 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27911 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27912 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27913 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27914 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27916 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27917 (__ubp_memchr): Likewise.
27918 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27919 (__ubp_memchr): Likewise.
27920 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27921 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27922 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27923 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27925 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27926 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27927 (__getcwd): Do not use CHECK_STRING.
27928 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27930 (__real_chown): Do not use CHECK_STRING.
27931 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27933 (fchownat): Do not use CHECK_STRING.
27934 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27936 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27938 (__lchown): Do not use CHECK_STRING.
27939 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27940 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27941 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27942 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27944 include <bp-checks.h>.
27945 (truncate64): Do not use CHECK_STRING.
27946 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27948 (__real_chown): Do not use CHECK_STRING.
27949 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27951 (__lchown): Do not use CHECK_STRING.
27952 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27954 (__chown): Do not use CHECK_STRING.
27955 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27957 (truncate64): Do not use CHECK_STRING.
27958 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27960 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27961 (__xmknod): Do not use CHECK_STRING.
27962 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27964 (__xmknodat): Do not use CHECK_STRING.
27965 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27966 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27968 2013-02-04 Andreas Schwab <schwab@suse.de>
27971 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27972 * include/netdb.h: Likewise for h_errno.
27973 * elf/tst-stackguard1.c: Include <tls.h>.
27975 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27977 * elf/link.h (struct link_map): Extend the l_addr comment.
27978 * include/link.h (struct link_map): Likewise.
27980 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27983 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27984 (BOUNDED_1): Remove macro.
27985 * debug/backtrace.c: Don't include <bp-checks.h>.
27986 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27987 (__backtrace): Likewise.
27988 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27990 (__backtrace): Don't use BOUNDED_1.
27991 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27993 (__backtrace): Don't use BOUNDED_1.
27994 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27995 (__backtrace): Don't use BOUNDED_1.
27996 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27997 (shmat): Don't use BOUNDED_N.
27999 2013-01-31 Joseph Myers <joseph@codesourcery.com>
28002 * sysdeps/generic/bp-start.h: Remove file.
28003 * csu/libc-start.c: Don't include <bp-start.h>.
28004 (LIBC_START_MAIN): Set up __environ directly instead of using
28005 INIT_ARGV_and_ENVIRON.
28006 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28010 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28012 (CHECK_FCNTL): Likewise.
28013 (CHECK_N_PAGES): Likewise.
28016 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28018 (CHECK_SIGSET_NULL_OK): Likewise.
28019 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28021 (sigpending): Don't use CHECK_SIGSET.
28022 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28025 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28027 (do_sigsuspend): Don't use CHECK_SIGSET.
28028 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28030 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28031 (do_sigwait): Don't use CHECK_SIGSET.
28032 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28034 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28035 include <bp-checks.h>.
28036 (sigpending): Don't use CHECK_SIGSET.
28037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28038 include <bp-checks.h>.
28039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28040 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28042 (sigpending): Don't use CHECK_SIGSET.
28043 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28045 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28048 * sysdeps/generic/bp-semctl.h: Remove file.
28049 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28050 <bp-checks.h> and <bp-semctl.h>.
28051 (__old_semctl): Don't use CHECK_SEMCTL.
28052 (__new_semctl): Likewise.
28053 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28055 (__old_semctl): Don't use CHECK_SEMCTL.
28056 (__new_semctl): Likewise.
28057 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28058 <bp-checks.h> and <bp-semctl.h>.
28059 (__old_semctl): Don't use CHECK_SEMCTL.
28060 (__new_semctl): Likewise.
28061 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28062 <bp-checks.h> and <bp-semctl.h>.
28063 (semctl): Don't use CHECK_SEMCTL.
28066 * Makerules (elide-bp-thunks): Remove variable.
28067 (elide-routines.oS): Don't use $(elide-bp-thunks).
28068 (elide-routines.os): Likewise.
28069 (elide-routines.o): Likewise.
28070 (elide-routines.op): Likewise.
28071 (elide-routines.og): Likewise.
28072 (objects): Don't use $(bp-thunks).
28073 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28075 (common-generated): Do not add s-proto-bp.d.
28076 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28079 Do not generate makefile rules for bounded-pointer thunks.
28080 * sysdeps/generic/bp-thunks.h: Remove file.
28081 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28082 * sysdeps/unix/s-proto-bp.S: Likewise.
28085 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28086 parts of result separately when argument is not close to line from
28087 -i to i and one part of argument is small.
28088 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28089 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28090 * math/libm-test.inc (cacos_test): Add more tests.
28091 (casin_test): Likewise.
28092 (casinh_test): Likewise.
28093 * sysdeps/i386/fpu/libm-test-ulps: Update.
28094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28096 2013-01-31 David S. Miller <davem@davemloft.net>
28098 * po/de.po: Update from translation team.
28100 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28102 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28104 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28106 * configure.in (_AC_PROG_CC_C89): New definition.
28107 * configure: Regenerate.
28109 * configure.in (AC_PROG_CPP): New definition.
28110 * configure: Regenerate.
28112 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28114 * debug/tst-backtrace.h: New file.
28115 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28116 (ret): Remove variable.
28118 (FAIL): Remove macro.
28119 (NO_INLINE): Likewise.
28120 (fn1): Use match function instead of strstr.
28121 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28122 (ret): Remove variable.
28124 (FAIL): Remove macro.
28125 (NO_INLINE): Likewise.
28126 (fn): Use match function instead of strstr.
28127 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28128 (ret): Remove variable.
28130 (FAIL): Remove macro.
28131 (NO_INLINE): Likewise.
28132 (handle_signal): Use match function instead of strstr.
28133 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28134 (ret): Remove variable.
28136 (FAIL): Remove macro.
28137 (NO_INLINE): Likewise.
28138 (handle_signal): Use match function instead of strstr.
28140 2013-01-23 Roland McGrath <roland@hack.frob.com>
28142 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28144 2013-01-23 David S. Miller <davem@davemloft.net>
28146 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28147 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28148 argument of CAS if possible.
28149 * sysdeps/sparc/sparc64/bits/atomic.h
28150 (__arch_compare_and_exchange_val_32_acq): Likewise.
28151 (__arch_compare_and_exchange_val_64_acq): Likewise.
28153 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28155 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28156 * sysdeps/posix/ulimit.c: ... this.
28157 Include <limits.h>.
28158 * sysdeps/unix/bsd/ulimit.c: Remove file.
28160 2013-01-23 Adam Conrad <adconrad@0c3.net>
28162 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28163 (LDFLAGS-tst-array5): Likewise.
28165 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28168 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28169 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28170 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28171 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28173 2013-01-21 David S. Miller <davem@davemloft.net>
28175 * sysdeps/sparc/backtrace.c: New file.
28176 * sysdeps/sparc/sparc32/backtrace.h: New file.
28177 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28178 * sysdeps/sparc/sparc64/backtrace.h: New file.
28179 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28180 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28183 2013-01-21 Andreas Schwab <schwab@suse.de>
28186 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28189 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28195 2013-01-18 Joseph Myers <joseph@codesourcery.com>
28196 Mark Mitchell <mark@codesourcery.com>
28197 Tom de Vries <tom@codesourcery.com>
28198 Paul Pluzhnikov <ppluzhnikov@google.com>
28200 * debug/tst-backtrace2.c: New file.
28201 * debug/tst-backtrace3.c: Likewise.
28202 * debug/tst-backtrace4.c: Likewise.
28203 * debug/tst-backtrace5.c: Likewise.
28204 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28205 (CFLAGS-tst-backtrace3.c): Likewise.
28206 (CFLAGS-tst-backtrace4.c): Likewise.
28207 (CFLAGS-tst-backtrace5.c): Likewise.
28208 (LDFLAGS-tst-backtrace2): Likewise.
28209 (LDFLAGS-tst-backtrace3): Likewise.
28210 (LDFLAGS-tst-backtrace4): Likewise.
28211 (LDFLAGS-tst-backtrace5): Likewise.
28212 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28213 tst-backtrace4 and tst-backtrace5.
28215 2013-01-18 Anton Blanchard <anton@samba.org>
28216 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28218 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28219 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28221 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28223 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28224 "+r" and remove output regs list as redundant. Add explicit inline
28225 asm to specify register of return val to work around compiler codegen
28226 bug. Remove (int) cast on return value. Add return type parameter to
28227 use in macro so that this macro does not truncate return value for
28229 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28230 pass to INTERNAL_VSYSCALL_NCS.
28231 (INLINE_VSYSCALL): Add 'long int' as return type to
28232 INTERNAL_VSYSCALL_NCS macro invocation.
28233 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28234 INTERNAL_VSYSCALL_NCS macro invocation.
28235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28237 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28240 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28241 Fix application of SIMD FP exception mask.
28243 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28244 mp_no from a power of two.
28245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28246 __mpexp_twomm1. Use __pow_mp.
28248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28251 2013-01-17 David S. Miller <davem@davemloft.net>
28253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28255 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28258 * include/complex.h: Condition contents on [!_COMPLEX_H].
28259 (__kernel_casinhf): New prototype.
28260 (__kernel_casinh): Likewise.
28261 (__kernel_casinhl): Likewise.
28262 * math/Makefile (libm_calls): Add k_casinh.
28263 * math/k_casinh.c: New file.
28264 * math/k_casinhf.c: Likewise.
28265 * math/k_casinhl.c: Likewise.
28266 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28267 finite nonzero arguments.
28268 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28269 finite nonzero arguments.
28270 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28271 finite nonzero arguments.
28272 * math/s_casinh.c: Do not include <float.h>.
28273 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28274 * math/s_casinhf.c: Do not include <float.h>.
28275 (__casinhf): Move code for finite nonzero arguments to
28277 * math/s_casinhl.c: Do not include <float.h>.
28278 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28280 (__casinhl): Move code for finite nonzero arguments to
28282 * math/libm-test.inc (cacos_test): Add more tests.
28283 * sysdeps/i386/fpu/libm-test-ulps: Update.
28284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28286 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28288 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28289 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28290 [!HAVE_MREMAP]: Remove [defined linux] case.
28291 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28293 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28295 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28297 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
28299 * elf/elf.h (R_386_SIZE32): New relocation.
28300 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28302 (elf_machine_rela): Likewise.
28303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28304 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28306 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28308 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28309 (FP_FAST_FMA): Do not define.
28310 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28311 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28312 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28313 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28314 !_SOFT_FLOAT]: Likewise.
28315 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28316 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28318 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28319 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28320 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28321 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28322 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28323 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28326 2013-01-16 Andreas Schwab <schwab@suse.de>
28329 * include/stdlib.h (__mktemp): Add declaration.
28330 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28331 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28333 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28335 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28337 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28338 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28339 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28341 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28342 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28344 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28346 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28347 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28348 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28350 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28351 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28353 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28355 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28357 2013-01-15 David S. Miller <davem@davemloft.net>
28359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28360 trunc{,f} to libm-sysdep_routes.
28361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28371 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28372 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28373 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28374 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28375 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28376 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28379 nearbyint{,f} to libm-sysdep_routes.
28380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28391 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28393 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28394 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28396 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28397 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28398 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28400 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28401 libc_feholdexcept and libc_fesetenv.
28403 2013-01-15 Mike Frysinger <vapier@gentoo.org>
28405 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28407 2013-01-14 David S. Miller <davem@davemloft.net>
28409 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28410 (SPARC_ASM_VIS2_IFUNC): Likewise.
28411 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28413 use of 'siam' instruction.
28414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28447 routines to libm-sysdep_routines.
28448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28451 fdim/fdimf to libm-sysdep_routines.
28452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28460 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28461 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28462 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28463 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28465 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28467 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28468 to optimize copies.
28470 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28475 local variable MPTWO.
28476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28479 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28481 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28484 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28486 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28488 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28490 * manual/pattern.texi (glob_t): Document gl_flags.
28491 (glob64_t): Likewise.
28493 2013-01-11 David S. Miller <davem@davemloft.net>
28495 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28496 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28497 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
28498 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28499 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28500 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28501 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28502 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28503 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28504 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28505 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28506 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28507 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28509 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28510 sparc V9 rather than using V8 code.
28511 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28512 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28514 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28516 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28519 2013-01-11 Roland McGrath <roland@hack.frob.com>
28521 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28522 not in the main loop.
28523 * configure: Regenerated.
28525 2013-01-11 Joseph Myers <joseph@codesourcery.com>
28527 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28528 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28530 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28531 [!__GLIBC_HAVE_LONG_LONG] case.
28532 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28533 condition to just #else.
28534 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28535 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28536 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28537 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28539 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28540 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28541 #elif condition to just #else.
28542 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28543 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28544 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28545 #elif condition to just #else.
28547 2013-01-11 Steve Ellcey <sellcey@mips.com>
28549 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28550 (EF_MIPS_ARCH_64): Fix value.
28551 (EF_MIPS_ARCH_32R2): New.
28552 (EF_MIPS_ARCH_64R2): New.
28554 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28556 * Makeconfig (+link-pie-before-libc): New.
28557 (+link-pie-after-libc): Likewise.
28558 (+link-pie-tests): Likewise.
28559 (+link-pie): Rewritten.
28560 (link-before-libc): Remove $(config-LDFLAGS).
28561 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28562 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28563 (config-LDFLAGS): Renamed to ...
28564 (rtld-LDFLAGS): This.
28565 (rtld-tests-LDFLAGS): New macro.
28566 (link-libc-rpath-link): Likewise.
28567 (link-libc-tests-rpath-link): Likewise.
28568 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28569 (link-libc): Prepand $(link-libc-rpath-link).
28570 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28571 (test-program-prefix): New macro.
28572 (test-via-rtld-prefix): Likewise.
28573 (test-program-cmd): Likewise.
28574 (host-test-program-cmd): Likewise.
28575 * Makefile ($(common-objpfx)testrun.sh): Replace
28576 $(run-program-prefix) with $(test-program-prefix).
28577 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28579 ($(common-objpfx)shlib.lds): Likewise.
28580 (build-module-helper): Likewise.
28581 ($(common-objpfx)format.lds): Likewise.
28582 * Rules (binaries-pie-tests): New.
28583 (binaries-pie-notests): Likewise.
28584 (binaries-pie): Rewritten.
28585 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28586 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28587 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28588 (make-test-out): Replace $(host-built-program-cmd) with
28589 $(host-test-program-cmd).
28590 * config.make.in (build-hardcoded-path-in-tests): New variable.
28591 * configure.in (--enable-hardcoded-path-in-tests): New configure
28593 (hardcoded_path_in_tests): New AC_SUBST.
28594 * configure: Regenerated.
28595 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28596 $(built-program-cmd) with $(test-program-cmd).
28597 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28598 (test_program_cmd): This.
28599 * elf/Makefile ($(objpfx)order.out): Run test with
28600 $(test-program-prefix).
28601 ($(objpfx)order2.out): Likewise.
28602 ($(objpfx)tst-initorder.out): Likewise.
28603 ($(objpfx)tst-initorder2.out): Likewise.
28604 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28605 $(test-program-cmd).
28606 ($(objpfx)tst-array1-static.out): Likewise.
28607 ($(objpfx)tst-array2.out): Likewise.
28608 ($(objpfx)tst-array3.out): Likewise.
28609 ($(objpfx)tst-array4.out): Likewise.
28610 ($(objpfx)tst-array5.out): Likewise.
28611 ($(objpfx)tst-array5-static.out): Likewise.
28612 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28613 $(test-program-cmd).
28614 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28615 $(run-program-prefix) with $(test-program-prefix).
28616 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28617 (test_program_prefix): This.
28618 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28619 $(run-program-prefix) with $(test-program-prefix).
28620 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28621 (test_program_prefix): This.
28622 * iconvdata/tst-tables.sh: Likewise.
28623 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28624 $(run-program-prefix) with $(test-program-prefix).
28625 ($(objpfx)tst-translit.out): Likewise.
28626 ($(objpfx)tst-gettext2.out): Likewise.
28627 ($(objpfx)tst-gettext4.out): Likewise.
28628 ($(objpfx)tst-gettext6.out): Likewise.
28629 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28630 (test_program_prefix): This.
28631 * intl/tst-gettext2.sh: Likewise.
28632 * intl/tst-gettext4.sh Likewise.
28633 * intl/tst-gettext6.sh: Likewise.
28634 * intl/tst-translit.sh: Likewise.
28635 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28636 with $(test-program-cmd).
28637 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28638 $(run-program-prefix) with $(test-program-prefix).
28639 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28640 (test_program_prefix): This.
28641 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28642 $(run-program-prefix) with $(test-program-prefix).
28643 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28644 (test_program_prefix): This.
28645 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28646 * posix/Makefile ($(objpfx)globtest.out): Replace
28647 $(run-via-rtld-prefix) and $(test-wrapper) with
28648 $(test-program-prefix) and $(test-via-rtld-prefix).
28649 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28650 $(test-program-prefix).
28651 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28652 $(host-test-program-cmd).
28653 (tst-spawn-ARGS): Likewise.
28654 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28655 $(test-program-prefix).
28656 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28657 (test_via_rtld_prefix): This.
28658 (test_wrapper): Renamed to ...
28659 (test_program_prefix): This.
28660 (run_program_prefix): Replaced by test_program_prefix.
28661 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28662 (test_program_prefix): This.
28663 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28664 with $(host-test-program-cmd).
28665 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28666 $(run-program-prefix) with $(test-program-prefix).
28667 ($(objpfx)tst-printf.out): Likewise.
28668 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28669 $(test-program-cmd).
28670 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28671 (test_program_prefix): This.
28672 * stdio-common/tst-unbputc.sh: Likewise.
28673 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28674 $(run-program-prefix) with $(test-program-prefix).
28675 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28676 (test_program_prefix): This.
28677 * string/Makefile ($(objpfx)tst-svc.out): Replace
28678 $(built-program-cmd) with $(test-program-cmd).
28680 2013-01-11 Andreas Jaeger <aj@suse.de>
28683 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28684 value. Sync with Linux 3.7.
28686 2013-01-10 David S. Miller <davem@davemloft.net>
28688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28689 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28690 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28692 2013-01-10 Roland McGrath <roland@hack.frob.com>
28694 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28696 * configure: Regenerated.
28698 2013-01-10 David S. Miller <davem@davemloft.net>
28700 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28701 sparc V9 rather than using V8 code.
28702 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28703 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28705 2013-01-10 Roland McGrath <roland@hack.frob.com>
28707 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28708 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28709 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28710 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28711 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28712 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28713 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28714 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28715 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28716 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28717 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28718 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28719 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28720 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28721 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28722 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28723 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28724 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28725 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28726 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28727 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28728 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28729 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28730 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28731 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28732 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28733 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28735 2013-01-10 David S. Miller <davem@davemloft.net>
28737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28739 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28741 * posix/Makefile (tests-static): New variable.
28742 (tests): Add $(tests-static).
28743 (tst-exec-static-ARGS): New variable.
28744 (tst-spawn-static-ARGS): Likewise.
28745 * posix/tst-exec-static.c: New file.
28746 * posix/tst-spawn-static.c: Likewise.
28747 * posix/tst-exec.c: Support run directly.
28748 * posix/tst-spawn.c: Likewise.
28750 2013-01-10 Joseph Myers <joseph@codesourcery.com>
28752 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28754 * math/bits/mathcalls.h (llrint): Likewise.
28755 (llround): Likewise.
28756 * stdlib/stdlib.h (struct drand48_data): Likewise.
28757 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28758 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28759 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28761 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28763 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28764 (elf_greg_t): Likewise.
28765 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28766 (__jmp_buf): Likewise.
28767 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28769 (llrint): Likewise, for all definitions.
28770 (llrintl): Likewise.
28772 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28773 Remove [__GNUC__] condition.
28774 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28775 condition to just [__USE_ISOC99].
28776 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28778 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28781 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28782 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28784 (_POSIX_V6_ILP32_OFF32): Likewise.
28785 (_XBS5_ILP32_OFF32): Likewise.
28786 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28787 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28789 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28791 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28794 doubles __mpexp_twomm1. Adjust usage.
28795 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28798 2013-01-10 Andreas Schwab <schwab@suse.de>
28801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28802 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28804 2013-01-09 David S. Miller <davem@davemloft.net>
28807 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28808 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28809 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28810 (TCP_FASTOPEN): Define.
28811 (tcp_repair_opt): New structure.
28812 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28814 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28815 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28816 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28817 (tcp_cookie_transactions): New structure.
28819 2013-01-09 Anton Blanchard <anton@samba.org>
28821 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28822 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28823 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28824 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28826 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28828 * include/features.h (__USE_ANSI): Remove.
28830 2013-01-09 Roland McGrath <roland@hack.frob.com>
28832 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28834 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28836 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28838 * sysdeps/s390/fpu/libm-test-ulps: Update.
28840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28842 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28846 (denorm): Likewise.
28847 (__mp_dbl): Likewise.
28848 (__dbl_mp): Likewise.
28849 (add_magnitudes): Likewise.
28850 (sub_magnitudes): Likewise.
28856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28860 (denorm): Likewise.
28861 (__mp_dbl): Likewise.
28862 (__dbl_mp): Likewise.
28863 (add_magnitudes): Likewise.
28864 (sub_magnitudes): Likewise.
28870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28874 (denorm): Likewise.
28875 (__mp_dbl): Likewise.
28876 (__dbl_mp): Likewise.
28877 (add_magnitudes): Likewise.
28878 (sub_magnitudes): Likewise.
28885 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28887 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28888 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28889 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28890 2 && __USE_EXTERN_INLINES]: Likewise.
28892 2013-01-08 Andreas Jaeger <aj@suse.de>
28895 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28897 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28898 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28900 2013-01-07 Anton Blanchard <anton@samba.org>
28902 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28903 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28904 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28905 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28906 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28907 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28908 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28909 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28911 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28912 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28913 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28916 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28918 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28919 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28920 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28921 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28923 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28925 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28926 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28927 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28928 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28929 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28931 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28932 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28934 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28935 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28936 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28938 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28939 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28940 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28942 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28944 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28946 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28948 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28949 (__MALLOC_PMT): Likewise.
28950 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28951 [__GNUC__], only on [_LIBC].
28952 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28953 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28954 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28955 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28956 forward declaration.
28957 (realloc_hook_ini): Likewise.
28958 (memalign_hook_ini): Likewise.
28959 (__libc_memalign): Do not use __MALLOC_PMT in variable
28961 (__libc_valloc): Likewise.
28962 (__libc_pvalloc): Likewise.
28963 (__libc_calloc): Likewise.
28964 (__posix_memalign): Likewise.
28967 * math/s_casinh.c: Include <float.h>.
28968 (__casinh): Do not do computation with squaring and square root
28969 for large arguments.
28970 * math/s_casinhf.c: Include <float.h>.
28971 (__casinhf): Do not do computation with squaring and square root
28972 for large arguments.
28973 * math/s_casinhl.c: Include <float.h>.
28974 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28975 (__casinhl): Do not do computation with squaring and square root
28976 for large arguments.
28977 * math/libm-test.inc (casin_test): Add more tests.
28978 (casinh_test): Likewise.
28979 * sysdeps/i386/fpu/libm-test-ulps: Update.
28980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28982 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28984 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28985 (__x86_64_raw_data_cache_size): Likewise.
28986 (__x86_64_data_cache_size_half): Likewise.
28987 (__x86_64_raw_data_cache_size_half): Likewise.
28988 (__x86_64_shared_cache_size): Likewise.
28989 (__x86_64_raw_shared_cache_size): Likewise.
28990 (__x86_64_shared_cache_size_half): Likewise.
28991 (__x86_64_raw_shared_cache_size_half): Likewise.
28992 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28994 (__x86_data_cache_size): This.
28995 (__x86_64_raw_data_cache_size): Renamed to ...
28996 (__x86_raw_data_cache_size): This.
28997 (__x86_64_data_cache_size_half): Renamed to ...
28998 (__x86_data_cache_size_half): This.
28999 (__x86_64_raw_data_cache_size_half): Renamed to ...
29000 (__x86_raw_data_cache_size_half): This.
29001 (__x86_64_shared_cache_size): Renamed to ...
29002 (__x86_shared_cache_size): This.
29003 (__x86_64_raw_shared_cache_size): Renamed to ...
29004 (__x86_raw_shared_cache_size): This.
29005 (__x86_64_shared_cache_size_half): Renamed to ...
29006 (__x86_shared_cache_size_half): This.
29007 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29008 (__x86_raw_shared_cache_size_half): This.
29009 * sysdeps/x86_64/memcpy.S: Updated.
29010 * sysdeps/x86_64/memset.S: Likewise.
29011 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29015 2013-01-04 David S. Miller <davem@davemloft.net>
29017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29019 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29021 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29022 1 to avoid redefinition warning.
29023 (__USE_GNU): Don't define.
29024 (init_signaling_nan): Protoize.
29026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29028 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29030 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29032 (__cpymn): Likewise.
29033 (norm): Remove commented code.
29034 (denorm): Likewise.
29035 (__mp_dbl): Likewise.
29037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29038 (__cpymn): Likewise.
29039 (norm): Remove commented code.
29040 (denorm): Likewise.
29041 (__mp_dbl): Likewise.
29044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29045 mp_no value for 1.0 and 2.0.
29046 (norm): Use RADIXI instead of radixi.d.
29047 (denorm): Likewise.
29048 (__mul): Use 0.0 instead of zero.d.
29049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29050 mp_no value for 1.0 and 2.0.
29051 (norm): Use RADIXI instead of radixi.d.
29052 (denorm): Likewise.
29053 (__mul): Use 0.0 instead of zero.d.
29055 2013-01-04 Joseph Myers <joseph@codesourcery.com>
29058 * math/s_casinh.c (__casinh): Reduce finite argument to first
29059 quadrant then set signs of results at the end.
29060 * math/s_casinhf.c (__casinhf): Likewise.
29061 * math/s_casinhl.c (__casinhl): Likewise.
29062 * math/libm-test.inc (casin_test): Add more tests.
29063 (casinh_test): Likewise.
29064 * sysdeps/i386/fpu/libm-test-ulps: Update.
29065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29067 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29069 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29071 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29073 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29075 (denorm): Likewise.
29076 (__mp_dbl): Likewise.
29079 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29080 and adjust the header comment.
29082 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29083 variable name from declaration.
29085 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29088 Initialize COMMON_CPUID_INDEX_7 element.
29089 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29090 (CPUID_RTM): Likewise.
29091 (HAS_RTM): Likewise.
29092 (COMMON_CPUID_INDEX_7): New enum.
29094 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29097 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29098 size is zero, record memory as freed.
29100 2013-01-03 Andreas Jaeger <aj@suse.de>
29102 * po/ia.po: Add new Interlingua translation.
29104 2012-01-03 Allan McRae <allan@archlinux.org>
29106 * locale/programs/localedef.c: Fix description of '--posix' flag.
29108 2013-01-02 Joseph Myers <joseph@codesourcery.com>
29110 * NEWS: Update dates in second copyright notice.
29111 * README: Update copyright dates in example.
29112 * manual/libc.texinfo: Update copyright dates.
29113 * scripts/test-installation.pl: Update copyright date in --version
29116 * hurd/ctty-input.c: Fix copyright notice formatting.
29117 * hurd/ctty-output.c: Likewise.
29118 * hurd/dtable.c: Likewise.
29119 * hurd/hurd-raise.c: Likewise.
29120 * hurd/hurdprio.c: Likewise.
29121 * hurd/msgportdemux.c: Likewise.
29122 * misc/sys/file.h: Likewise.
29123 * misc/sys/ioctl.h: Likewise.
29124 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29125 * sysdeps/mach/hurd/chdir.c: Likewise.
29126 * sysdeps/mach/hurd/fchdir.c: Likewise.
29127 * sysdeps/mach/hurd/rename.c: Likewise.
29128 * sysdeps/mach/hurd/rmdir.c: Likewise.
29129 * sysdeps/mach/hurd/seekdir.c: Likewise.
29130 * sysdeps/mach/hurd/setsid.c: Likewise.
29131 * sysdeps/posix/wait3.c: Likewise.
29133 * All files with FSF copyright notices: Update copyright dates
29134 using scripts/update-copyrights.
29135 * intl/plural.c: Regenerated.
29136 * locale/programs/charmap-kw.h: Likewise.
29137 * locale/programs/locfile-kw.h: Likewise.
29139 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29141 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29144 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29145 calculation loop and add branch prediction.
29147 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29148 check access beyond bounds of m1np.
29150 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29152 (__inv): Remove local variable MPTWO to use the global
29154 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29155 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29157 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29158 MP3HALFS static const.
29160 2013-01-01 David S. Miller <davem@davemloft.net>
29162 * po/ca.po: Update from translation team.
29164 2013-01-01 Joseph Myers <joseph@codesourcery.com>
29166 * scripts/update-copyrights: New file.
29167 * Makeconfig: Reformat copyright notice.
29168 * ctype/ctype.h: Likewise.
29169 * debug/swprintf_chk.c: Likewise.
29170 * elf/dl-cache.c: Likewise.
29171 * elf/dl-debug.c: Likewise.
29172 * elf/dl-object.c: Likewise.
29173 * grp/initgroups.c: Likewise.
29174 * hurd/Makefile: Likewise.
29175 * hurd/hurd/signal.h: Likewise.
29176 * hurd/hurdfault.c: Likewise.
29177 * hurd/hurdioctl.c: Likewise.
29178 * hurd/hurdlookup.c: Likewise.
29179 * hurd/intr-msg.c: Likewise.
29180 * iconv/gconv_open.c: Likewise.
29181 * libio/swprintf.c: Likewise.
29182 * locale/lc-ctype.c: Likewise.
29183 * locale/nl_langinfo.c: Likewise.
29184 * mach/Machrules: Likewise.
29185 * mach/Makefile: Likewise.
29186 * malloc/obstack.h: Likewise.
29187 * manual/Makefile: Likewise.
29188 * manual/tsort.awk: Likewise.
29189 * misc/bits/stab.def: Likewise.
29190 * nis/nis_print_group_entry.c: Likewise.
29191 * nis/nis_table.c: Likewise.
29192 * nis/nss_compat/compat-pwd.c: Likewise.
29193 * nis/nss_compat/compat-spwd.c: Likewise.
29194 * po/Makefile: Likewise.
29195 * posix/fnmatch.c: Likewise.
29196 * posix/regex.h: Likewise.
29197 * resolv/Makefile: Likewise.
29198 * resolv/nss_dns/dns-network.c: Likewise.
29199 * resolv/res_hconf.c: Likewise.
29200 * scripts/gen-sorted.awk: Likewise.
29201 * soft-fp/soft-fp.h: Likewise.
29202 * stdio-common/printf.h: Likewise.
29203 * stdlib/monetary.h: Likewise.
29204 * stdlib/random.c: Likewise.
29205 * stdlib/random_r.c: Likewise.
29206 * sysdeps/generic/Makefile: Likewise.
29207 * sysdeps/gnu/Makefile: Likewise.
29208 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29209 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29215 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29218 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29222 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29224 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29228 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29229 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29230 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29236 * sysdeps/mach/hurd/errnos.awk: Likewise.
29237 * sysdeps/mach/hurd/fork.c: Likewise.
29238 * sysdeps/mach/hurd/getcwd.c: Likewise.
29239 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29240 * sysdeps/mach/hurd/mmap.c: Likewise.
29241 * sysdeps/mach/hurd/utimes.c: Likewise.
29242 * sysdeps/mach/hurd/xmknod.c: Likewise.
29243 * sysdeps/posix/profil.c: Likewise.
29244 * sysdeps/posix/readdir_r.c: Likewise.
29245 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29246 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29247 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29248 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29252 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29254 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29255 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29256 * sysdeps/pthread/lio_listio.c: Likewise.
29257 * sysdeps/sparc/dl-procinfo.h: Likewise.
29258 * sysdeps/unix/i386/sysdep.S: Likewise.
29259 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29260 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29261 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29262 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29264 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29265 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29266 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29267 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29268 * sysdeps/wordsize-32/divdi3.c: Likewise.
29269 * time/sys/time.h: Likewise.
29270 * wcsmbs/Makefile: Likewise.
29272 2013-01-01 David S. Miller <davem@davemloft.net>
29274 * po/fr.po: Update from translation team.
29276 * catgets/gencat.c: Update copyright year.
29277 * csu/version.c: Likewise.
29278 * debug/catchsegv.sh: Likewise.
29279 * debug/pcprofiledump.c: Likewise.
29280 * debug/xtrace.sh: Likewise.
29281 * elf/ldconfig.c: Likewise.
29282 * elf/ldd.bash.in: Likewise.
29283 * elf/pldd.c: Likewise.
29284 * elf/sotruss.ksh: Likewise.
29285 * elf/sprof.c: Likewise.
29286 * iconv/iconv_prog.c: Likewise.
29287 * iconv/iconvconfig.c: Likewise.
29288 * locale/programs/locale.c: Likewise.
29289 * locale/programs/localedef.c: Likewise.
29290 * login/programs/pt_chown.c: Likewise.
29291 * malloc/memusage.sh: Likewise.
29292 * malloc/memusagestat.c: Likewise.
29293 * malloc/mtrace.pl: Likewise.
29294 * nscd/nscd.c: Likewise.
29295 * nss/getent.c: Likewise.
29296 * nss/makedb.c: Likewise.
29297 * posix/getconf.c: Likewise.
29299 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29301 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29304 2012-12-30 Mike Frysinger <vapier@gentoo.org>
29306 * math/bits/mathcalls.h (modf): Use __nonnull.
29308 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29310 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29311 (split): Use macro CN instead of the bare value.
29312 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29314 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29315 instead of the bare value.
29316 (power1): Likewise.
29318 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29320 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29322 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29324 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29326 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29327 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29328 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29329 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29331 2012-12-28 Andreas Jaeger <aj@suse.de>
29333 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29334 values are from Linux 3.7.
29336 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29337 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29339 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29341 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29344 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29346 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29347 variables with preprocessor constants.
29348 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29349 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29350 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29352 2012-12-27 Bruno Haible <bruno@clisp.org>
29355 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29358 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29361 and use variable directly.
29362 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29364 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29366 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29371 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29372 include directive. Remove local variable MPONE.
29373 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29374 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29375 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29377 2012-12-25 David S. Miller <davem@davemloft.net>
29379 * version.h (RELEASE): Set to "development".
29380 (VERSION): Set to "2.17.90".
29381 * NEWS: Add 2.18 section.
29383 2012-12-21 David S. Miller <davem@davemloft.net>
29385 * po/hr.po: Update from translation team.
29387 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29389 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29391 2012-12-19 Steve Ellcey <sellcey@mips.com>
29393 * NEWS: Mention new memcpy for MIPS.
29395 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29397 * manual/contrib.texi (Contributors): Spelling correction.
29399 2012-12-15 David S. Miller <davem@davemloft.net>
29401 * po/ru.po: Update from translation team.
29403 2012-12-13 David S. Miller <davem@davemloft.net>
29405 * NEWS: Mention IFUNC testsuite enhancements.
29407 * po/pl.po: Update from translation team.
29408 * po/bg.po: Likewise.
29410 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29411 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29413 2012-12-11 David S. Miller <davem@davemloft.net>
29415 * po/sv.po: Update from translation team.
29417 * po/vi.po: Update from translation team.
29419 * po/cs.po: Update from translation team.
29421 * po/de.po: Update from translation team.
29422 * po/eo.po: Likewise.
29423 * po/nl.po: Likewise.
29425 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29428 * manual/argp.texi (Argp Helper Functions): Move node to follow
29429 Argp Parsing State.
29432 * manual/conf.texi (Limits on File System Capacity): Mention if
29433 terminating null is included in the max size.
29435 2012-12-10 Andreas Jaeger <aj@suse.de>
29437 * po/cs.po: Update from translation team.
29439 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29441 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29442 void pointer and cast to uintptr_t.
29443 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29445 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29446 * sysdeps/s390/s390-64/memset.S: Likewise.
29448 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
29451 * menual/message.texi (Message Translation): Fix typos.
29452 (Helper programs for gettext): Likewise.
29454 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29457 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29460 2012-12-07 David S. Miller <davem@davemloft.net>
29462 * po/libc.pot: Update.
29464 2012-12-07 Richard Henderson <rth@redhat.com>
29467 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29468 normal/normal case to before the switch.
29469 (_FP_DIV): Likewise.
29471 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29472 Mike Frysinger <vapier@gentoo.org>
29474 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29475 check for __NR_fadvise64_64.
29477 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29479 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29480 0, not just to plain "0" as a statement.
29481 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29484 2012-12-06 Joseph Myers <joseph@codesourcery.com>
29486 * NEWS: Use sourceware.org in Bugzilla URL.
29488 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29491 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29493 * stdio-common/tst-put-error.c (do_test): Add newline to the
29494 padded test to ensure flush.
29496 2012-12-05 Jeff Law <law@redhat.com>
29498 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29500 2012-12-05 Joseph Myers <joseph@codesourcery.com>
29502 * README: Don't refer to ports add-on as distributed separately.
29503 Mention AArch64 in list of systems supported in the ports add-on.
29505 * LICENSES: Add more non-FSF copyright and license notices.
29507 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29510 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29512 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29513 10000 as width of padded output.
29515 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29517 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29520 variable LX with __attribute__ ((unused)).
29521 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29523 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29525 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29526 with __attribute__ ((unused)).
29528 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
29530 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29532 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29534 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29535 (CFLAGS-nldbl-acos.c): New variable.
29536 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29537 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29538 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29539 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29540 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29541 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29542 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29543 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29544 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29545 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29546 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29547 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29548 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29549 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29550 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29551 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29552 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29553 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29554 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29555 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29556 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29557 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29558 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29559 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29560 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29561 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29562 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29563 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29564 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29565 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29566 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29567 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29568 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29569 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29570 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29571 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29572 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29573 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29574 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29575 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29576 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29577 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29578 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29579 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29580 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29581 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29582 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29583 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29584 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29585 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29586 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29587 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29588 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29589 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29590 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29591 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29592 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29593 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29594 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29595 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29596 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29597 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29598 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29599 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29600 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29601 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29602 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29603 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29604 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29605 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29606 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29607 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29608 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29609 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29610 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29611 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29612 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29613 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29614 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29615 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29616 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29617 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29618 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29619 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29620 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29621 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29622 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29623 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29624 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29625 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29626 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29627 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29628 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29629 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29630 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29631 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29632 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29635 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29638 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29639 whole low double instead of just low 47 bits when splitting values
29642 2012-12-03 Allan McRae <allan@archlinux.org>
29644 * manual/stdio.texi (Predefined Printf Handlers): Remove
29645 @hsep and @vsep usage.
29647 2012-12-03 Mike Frysinger <vapier@gentoo.org>
29649 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29650 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29652 2012-12-03 Jeff Law <law@redhat.com>
29654 * time/sys/time.h (settimeofday): Do not mark TV argument
29657 2012-12-01 Mike Frysinger <vapier@gentoo.org>
29659 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29660 when currently writing and seek to current position when not.
29661 * libio/Makefile (tests): Remove bug-fclose1.
29662 * libio/bug-fclose1.c: Delete.
29664 2012-12-01 Joseph Myers <joseph@codesourcery.com>
29666 * manual/arith.texi (feenableexcept): Fix typo.
29667 (fedisableexcept): Likewise.
29669 2012-11-30 Roland McGrath <roland@hack.frob.com>
29671 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29672 second, differently-typed declaration, rather than a cast.
29674 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29676 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29677 * include/rpc/svc.h: ... here.
29679 2012-11-30 Aurelien Jarno <aurel32@debian.org>
29682 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29683 depending n and resplen2 to catch cases where answer
29686 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29688 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29689 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29691 2012-11-29 Mike Frysinger <vapier@gentoo.org>
29693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29695 2012-11-29 Roland McGrath <roland@hack.frob.com>
29697 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29699 2012-11-28 Jeff Law <law@redhat.com>
29702 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29703 dataset_temporary. Track alloca usage into alloca_used.
29704 If dataset is large allocate and release it via malloc/free.
29706 2012-06-04 Florian Weimer <fweimer@redhat.com>
29709 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29711 2012-11-28 David S. Miller <davem@davemloft.net>
29713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29715 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29718 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29719 of pi/2 rounded to nearest to 64 bits.
29720 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29721 nearest to 64 bits.
29722 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29725 2012-11-28 Jeff Law <law@redhat.com>
29726 Martin Osvald <mosvald@redhat.com>
29729 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29730 * sunrpc/svc.c: Include time.h.
29731 (__svc_accept_failed): New function.
29732 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29733 any reason other than EINTR, call __svc_accept_failed.
29734 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29735 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29737 2012-11-28 Andreas Schwab <schwab@suse.de>
29739 * scripts/abilist.awk: Also handle indirect functions in .opd
29742 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29745 * sysdeps/x86/fpu/powl_helper.c: New file.
29746 * sysdeps/x86/fpu/Makefile: Likewise.
29747 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29749 (__ieee754_powl): Use __powl_helper for finite arguments except
29750 integer exponents below 8.
29751 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29753 (__ieee754_powl): Use __powl_helper for finite arguments except
29754 integer exponents below 8.
29755 * math/libm-test.inc (pow_test): Add more tests and enable some
29756 previously disabled tests.
29757 * sysdeps/i386/fpu/libm-test-ulps: Update.
29758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29760 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29761 Carlos O'Donell <carlos_odonell@mentor.com>
29763 * nss/makedb.c (is_prime): Assert that input is odd and greater
29764 than 4. Note that fact in a comment too.
29765 (next_prime): Add 4 to input.
29767 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29770 * libio/Makefile (tests): Add test case tst-fwrite-error.
29771 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29772 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29773 * libio/tst-fwrite-error.c: New test case.
29775 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29777 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29778 before casting to void *.
29779 * include/libc-internal.h (__pointer_type): New macro.
29780 (__integer_if_pointer_type_sub): Likewise.
29781 (__integer_if_pointer_type): Likewise.
29782 (cast_to_integer): Likewise.
29783 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29784 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29785 before casting to atomic64_t.
29786 (atomic_exchange_acq): Likewise.
29787 (__arch_exchange_and_add_body): Likewise.
29788 (__arch_add_body): Likewise.
29789 (atomic_add_negative): Likewise.
29790 (atomic_add_zero): Likewise.
29792 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29794 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29795 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29796 (add_fdes): Likewise.
29797 (linear_search_fdes): Likewise.
29798 (binary_search_unencoded_fdes): Likewise.
29800 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29802 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29804 2012-11-24 Adam Conrad <adconrad@0c3.net>
29806 * configure.in: Autodetect C++ header directories.
29807 * configure: Regenerated.
29809 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29811 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29813 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29817 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29819 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29820 LDBL_MANT_DIG == 106]: Disable some tests.
29821 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29823 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29827 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29828 input for small inputs. Return +/- pi/2 for large inputs.
29829 * math/libm-test.inc (atan_test): Add more tests.
29831 * sysdeps/generic/unwind-dw2-fde-glibc.c
29832 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29833 __attribute__ ((unused)).
29836 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29837 x * y if x and y are nonzero and z is zero.
29840 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29841 nonzero exponents with absolute value below 0x1p-117 to +/-
29845 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29846 up arguments below 2**-450, not just those below 2**-500.
29847 * math/libm-test.inc (hypot_test): Add another test.
29850 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29851 Return a+b for ratio over 2**120, not 2**60.
29852 * math/libm-test.inc (hypot_test): Add another test.
29854 * math/libm-test.inc (clog_test): Use
29855 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29856 (clog10_test): Likewise.
29859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29861 2012-11-22 Andreas Schwab <schwab@suse.de>
29863 * sysdeps/i386/fpu/libm-test-ulps: Update.
29865 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29867 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29868 printf output with newline.
29870 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29873 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29874 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29875 -z nodlopen, -z initfirst and -z execstack support.
29876 * configure: Regenerated.
29878 * elf/elf.h (DF_1_NODIRECT): New macro.
29879 (DF_1_IGNMULDEF): Likewise.
29880 (DF_1_NOKSYMS): Likewise.
29881 (DF_1_NOHDR): Likewise.
29882 (DF_1_EDITED): Likewise.
29883 (DF_1_NORELOC): Likewise.
29884 (DF_1_SYMINTPOSE): Likewise.
29885 (DF_1_GLOBAUDIT): Likewise.
29886 (DF_1_SINGLETON): Likewise.
29887 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29888 DT_1_SUPPORTED_MASK bits.
29889 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29891 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29893 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29895 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29897 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29900 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29901 (sendmmsg): Move declarations...
29902 * socket/sys/socket.h: ... here.
29903 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29904 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29906 * socket/recvmmsg.c: ... this new file.
29907 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29908 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29909 definition of __sendmmsg hidden.
29910 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29911 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29912 Move ENOSYS stub into and include it from...
29913 * socket/sendmmsg.c: ... this new file.
29914 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29915 (sysdep_routines): Move recvmmsg and sendmmsg...
29916 * socket/Makefile (routines): ... here.
29917 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29918 (GLIBC_PRIVATE): Add __sendmmsg.
29919 * include/sys/socket.h (__sendmmsg): Add declarations.
29920 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29923 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29926 variable I1 with __attribute__ ((unused)).
29927 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29929 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29931 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29932 DUMMY variables with __attribute__ ((unused)).
29934 * bits/byteswap.h: Include <bits/types.h>.
29935 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29937 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29939 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29940 string_t. Do not manually set errno.
29941 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29942 length with __strnlen. Make sure to both set errno and return it on
29945 2012-11-19 David S. Miller <davem@davemloft.net>
29947 With help from Joseph Myers.
29948 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29949 very large arguments properly.
29950 * math/libm-test.inc (atan_test): New tests.
29951 (atan2_test): New tests.
29952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29955 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29958 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29961 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29962 [POSIX] (EADDRNOTAVAIL): Likewise.
29963 [POSIX] (EAFNOSUPPORT): Likewise.
29964 [POSIX] (EALREADY): Likewise.
29965 [POSIX] (ECONNABORTED): Likewise.
29966 [POSIX] (ECONNREFUSED): Likewise.
29967 [POSIX] (ECONNRESET): Likewise.
29968 [POSIX] (EDESTADDRREQ): Likewise.
29969 [POSIX] (EDQUOT): Likewise.
29970 [POSIX] (EHOSTUNREACH): Likewise.
29971 [POSIX] (EIDRM): Likewise.
29972 [POSIX] (EISCONN): Likewise.
29973 [POSIX] (ELOOP): Likewise.
29974 [POSIX] (EMULTIHOP): Likewise.
29975 [POSIX] (ENETDOWN): Likewise.
29976 [POSIX] (ENETUNREACH): Likewise.
29977 [POSIX] (ENOBUFS): Likewise.
29978 [POSIX] (ENODATA): Likewise.
29979 [POSIX] (ENOLINK): Likewise.
29980 [POSIX] (ENOMSG): Likewise.
29981 [POSIX] (ENOPROTOOPT): Likewise.
29982 [POSIX] (ENOSR): Likewise.
29983 [POSIX] (ENOSTR): Likewise.
29984 [POSIX] (ENOTCONN): Likewise.
29985 [POSIX] (ENOTSOCK): Likewise.
29986 [POSIX] (EOPNOTSUPP): Likewise.
29987 [POSIX] (EOVERFLOW): Likewise.
29988 [POSIX] (EPROTO): Likewise.
29989 [POSIX] (EPROTONOSUPPORT): Likewise.
29990 [POSIX] (EPROTOTYPE): Likewise.
29991 [POSIX] (ESTALE): Likewise.
29992 [POSIX] (ETIME): Likewise.
29993 [POSIX] (ETXTBSY): Likewise.
29994 [POSIX] (EWOULDBLOCK): Likewise.
29995 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29996 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29997 [POSIX] (SEEK_CUR): Likewise.
29998 [POSIX] (SEEK_END): Likewise.
29999 [POSIX || UNIX98] (mode_t): Do not require.
30000 [POSIX] (off_t): Likewise.
30001 [POSIX] (pid_t): Likewise.
30002 [POSIX] (sys/stat.h): Do not allow header.
30003 [POSIX] (unistd.h): Likewise.
30004 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30005 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30006 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30007 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30009 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30010 sigevent): Specify elements.
30011 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30013 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30014 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30016 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30017 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30018 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30019 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30020 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30021 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30022 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30023 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30024 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30025 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30026 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30027 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30028 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30029 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30031 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30033 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30035 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30037 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30038 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30039 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30040 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30041 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30042 Specify lower bound on value.
30043 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30044 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30045 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30046 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30047 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30048 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30049 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30050 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30052 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30054 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30055 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30056 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30058 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30059 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30060 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30061 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30062 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30063 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30064 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30065 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30066 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30067 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30068 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30069 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30071 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30073 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30074 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30075 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30076 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30077 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30078 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30080 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30081 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30082 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30083 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30084 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30085 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30086 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30088 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30089 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30090 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30091 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30092 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30093 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30094 specify as optional.
30095 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30096 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30098 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30099 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30100 [XPG3] (NL_LANGMAX): Likewise.
30101 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30102 [POSIX || XPG3] (NL_NMAX): Likewise.
30103 [POSIX || XPG3] (NL_SETMAX): Likewise.
30104 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30105 [XPG3] (NZERO): Likewise.
30106 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30107 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30108 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30109 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30110 (REG_ERANGE): Expect.
30111 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30113 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30114 Use (void) in prototype.
30115 [POSIX] (*_t): Allow.
30116 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30117 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30118 (WRDE_BADVAL): Expect.
30120 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30122 [XPG3 || XPG4] (O_RSYNC): Likewise.
30123 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30125 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30126 [XPG3 || XPG4] (sigqueue): Likewise.
30127 [XPG3 || XPG4] (sigtimedwait): Likewise.
30128 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30129 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30130 [XPG3 || XPG4] (vsnprintf): Likewise.
30131 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30133 [XPG3 || XPG4] (blksize_t): Likewise.
30134 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30136 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30137 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30138 [XPG3 || XPG4] (struct itimerspec): Likewise.
30139 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30140 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30141 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30142 [XPG3 || XPG4] (clockid_t): Likewise.
30143 [XPG3 || XPG4] (timer_t): Likewise.
30144 [XPG3 || XPG4] (clock_getres): Likewise.
30145 [XPG3 || XPG4] (clock_gettime): Likewise.
30146 [XPG3 || XPG4] (clock_settime): Likewise.
30147 [XPG3 || XPG4] (nanosleep): Likewise.
30148 [XPG3 || XPG4] (timer_create): Likewise.
30149 [XPG3 || XPG4] (timer_delete): Likewise.
30150 [XPG3 || XPG4] (timer_gettime): Likewise.
30151 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30152 [XPG3 || XPG4] (timer_settime): Likewise.
30153 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30154 [XPG3 || XPG4] (getlogin_r): Likewise.
30155 [XPG3 || XPG4] (pread): Likewise.
30156 [XPG3 || XPG4] (pthread_atfork): Likewise.
30157 [XPG3 || XPG4] (pwrite): Likewise.
30160 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30163 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30165 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30166 finalizing MALLSTREAM.
30168 * sysdeps/mach/hurd/syncfs.c: New file.
30170 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30174 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30175 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30176 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30177 (_nss_dns_gethostbyname4_r): Likewise.
30178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30179 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30181 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30184 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30186 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30188 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30189 * elf/cache.c (print_entry): Print ",AArch64" for
30192 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30193 * elf/cache.c (print_entry): Print ",hard-float" for
30196 2012-11-18 David S. Miller <davem@davemloft.net>
30198 With help from Joseph Myers.
30199 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30201 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30203 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30204 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30206 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30207 * math/libm-test.inc (y0_test): New tests.
30208 (y1_test): New tests.
30209 * sysdeps/i386/fpu/libm-test-ulps: Update.
30210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30213 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30215 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30217 * configure: Regenerated.
30219 2012-11-17 David S. Miller <davem@davemloft.net>
30222 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30223 nonzero exponents with absolute value below 0x1p-128 to +/-
30226 2012-11-17 Joseph Myers <joseph@codesourcery.com>
30228 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30230 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30232 * posix/getconf-speclist.c: New file.
30233 * posix/posix-envs.def: Likewise.
30234 * posix/confstr.c (START_ENV_GROUP): New macro.
30235 (END_ENV_GROUP): Likewise.
30236 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30237 (KNOWN_PRESENT_ENV_STRING): Likewise.
30238 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30239 (UNKNOWN_ENVIRONMENT): Likewise.
30240 (confstr): Include posix-envs.def instead of handling
30241 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30242 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30243 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30244 (END_ENV_GROUP): Likewise.
30245 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30246 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30247 (UNKNOWN_ENVIRONMENT): Likewise.
30248 (__sysconf): Include posix-envs.def instead of handling associated
30249 cases directly here.
30250 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30251 preprocessing getconf-speclist.c rather than running getconf or
30252 generating empty file.
30254 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30256 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30258 2012-11-16 Andrej Lajovic <natrij@gmail.com>
30261 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30263 2012-11-16 David S. Miller <davem@davemloft.net>
30265 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30266 smaller than LDBL_EPSILON/2.0L, just return xm1.
30268 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30270 * elf/tst-array1.c (init): Set constructor priority to 1000.
30271 (fini): Set destructor priority to 1000.
30272 * elf/tst-array2dep.c: Likewise.
30274 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30277 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30278 (_IO_new_file_xsputn): Also return EOF if none of the input
30279 data was written when overflow failed.
30280 * libio/iopadn.c (_IO_padn): Likewise.
30281 * libio/iowpadn.c (_IO_wpadn): Likewise.
30282 * stdio-common/tst-put-error.c: Add copyright notice.
30283 (do_test): Add case for printing padded string.
30284 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30285 _IO_padn returned error.
30286 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30287 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30290 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30292 * libio/libioP.h: Add comment note that the references to C++
30293 bits are now obsolete.
30295 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30297 * math/libm-test.inc (check_complex): Use asprintf.
30299 2012-11-14 Joseph Myers <joseph@codesourcery.com>
30301 * debug/pcprofiledump.c (print_version): Update copyright year.
30302 * malloc/memusagestat.c (print_version): Likewise.
30304 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30307 * elf/Makefile (tests): Add tst-audit8.
30308 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30309 ($(objpfx)tst-audit8.out): New target.
30310 (tst-audit8-ENV): New variable.
30311 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30312 audit if l_reloc_result is NULL.
30313 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30314 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30315 * elf/tst-audit8.c: New file.
30317 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30319 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30320 * misc/Makefile (CFLAGS-select.c): Define.
30321 * posix/Makefile (CFLAGS-pause.c): Define.
30323 2012-11-13 David S. Miller <davem@davemloft.net>
30325 * crypt/Makefile: Move test targets after toplevel Rules
30326 inclusion. Grab any necessary sysdep routines when linking.
30327 * crypt/md5.c (md5_process_block): Remove define, we will always
30328 name it __md5_process_block.
30329 (md5_finish_ctx): Update md5_process_block call.
30330 (md5_stream): Likewise.
30331 (md5_process_bytes): Likewise.
30332 (md5_process_block): Rename to __md5_process_block and move to ...
30333 * crypt/md5-block.c: ... here.
30334 * crypt/sha256.c (sha256_process_block): Move to ...
30335 * crypt/sha256-block.c: ... here.
30336 * crypt/sha512.c (sha512_process_block): Move to ...
30337 * crypt/sha512-block.c: ... here.
30338 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30340 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30341 * sysdeps/sparc/sparc64/multiarch/Makefile
30342 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30344 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30345 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30347 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30348 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30349 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30350 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30351 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30352 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30353 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30354 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30355 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30357 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30358 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30360 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30362 2012-11-13 Joseph Myers <joseph@codesourcery.com>
30364 * timezone/tzselect.ksh: Update from tzcode git revision
30365 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30366 * timezone/zdump.c: Likewise.
30367 * timezone/zic.c: Likewise.
30368 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30369 in TZVERSION setting, not $(PKGVERSION).
30370 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30371 REPORT_BUGS_TO settings.
30374 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30377 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30379 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30380 detection to immediately after _FP_ROUND().
30381 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30384 2012-11-11 David S. Miller <davem@davemloft.net>
30386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30388 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30389 __close rather than their public counterparts.
30391 2012-11-10 Joseph Myers <joseph@codesourcery.com>
30393 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30395 [UNIX98] (sem_timedwait): Do not expect.
30396 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30397 [XPG4 || UNIX98] (sockatmark): Do not expect.
30398 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30399 (clock_getcpuclockid): Do not expect.
30400 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30401 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30403 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30404 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30405 [UNIX98] (vwscanf): Likewise.
30406 [UNIX98] (vswscanf): Likewise.
30408 2012-11-09 Joseph Myers <joseph@codesourcery.com>
30410 * timezone/version.h: Remove file.
30411 * timezone/README: Do not refer to version.h.
30412 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30413 $(objpfx)version.h.
30414 ($(objpfx)zdump.o): Likewise.
30415 ($(objpfx)version.h): New target.
30417 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30419 * timezone/README: Don't mention modification to tzselect.ksh.
30420 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30421 work on unmodified tzselect.ksh. Substitute version numbers in
30424 * Makefile (format-me): Remove.
30425 (INSTALL): Adjust indentation. Use commands directly instead of
30426 using $(format-me).
30428 * aclocal.m4 (ACX_PKGVERSION): New macro.
30429 (ACX_BUGURL): Likewise.
30430 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30431 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30432 (REPORT_BUGS_TO): Likewise.
30433 * configure: Regenerated.
30434 * config.h.in (PKGVERSION): New macro.
30435 (REPORT_BUGS_TO): Likewise.
30436 * config.make.in (PKGVERSION): New variable.
30437 (PKGVERSION_TEXI): Likewise.
30438 (REPORT_BUGS_TO): Likewise.
30439 (REPORT_BUGS_TEXI): Likewise.
30440 * Makefile (format-me): Use -I$(common-objpfx)manual.
30441 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30442 ($(common-objpfx)manual/%): New target.
30443 (manual/%): Remove target.
30444 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30445 (print_version): Use PKGVERSION.
30446 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30447 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30448 and REPORT_BUGS_TO.
30449 ($(objpfx)xtrace): Likewise.
30450 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30451 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30452 (print_version): Use PKGVERSION.
30453 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30454 (do_version): Use PKGVERSION.
30455 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30457 (common-ldd-rewrite): Likewise.
30458 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30459 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30460 (print_version): Use PKGVERSION.
30461 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30462 * elf/pldd.c (argp_program_bug_address): Remove variable.
30463 (more_help): New function.
30464 (argp): Use more_help.
30465 (print_version): Use PKGVERSION.
30466 * elf/sln.c (main): Use PKGVERSION.
30467 (usage): Use REPORT_BUGS_TO.
30468 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30469 (top level): Use PKGVERSION.
30470 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30471 (print_version): Use PKGVERSION.
30472 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30473 (print_version): Use PKGVERSION.
30474 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30475 (print_version): Use PKGVERSION.
30476 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30477 (print_version): Use PKGVERSION.
30478 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30479 (print_version): Use PKGVERSION.
30480 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30481 (print_version): Use PKGVERSION.
30482 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30484 ($(objpfx)memusage): Likewise.
30485 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30486 (do_version): Use PKGVERSION.
30487 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30488 (print_version): Use PKGVERSION.
30489 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30490 ($PKGVERSION): New variable.
30491 ($REPORT_BUGS_TO): Likewise.
30492 (usage): Use $REPORT_BUGS_TO.
30493 (top level): Use $PKGVERSION.
30494 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30495 ($(objpfx)pkgvers.texi): New rule.
30496 ($(objpfx)stamp-pkgvers): Likewise.
30497 * manual/install.texi: Include pkgvers.texi.
30498 (--with-pkgversion): Document new configure option.
30499 (--with-bugurl): Likewise.
30500 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30501 than necessarily for this particular distribution. Use
30502 REPORT_BUGS_TO for where to report bugs.
30503 * INSTALL: Regenerated.
30504 * manual/libc.texinfo: Include pkgvers.texi.
30505 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30506 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30507 (print_version): Use PKGVERSION.
30508 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30509 (print_version): Use PKGVERSION.
30510 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30511 (print_version): Use PKGVERSION.
30512 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30513 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30515 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30516 (print_version): Use PKGVERSION.
30517 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30518 (print_version): Use PKGVERSION.
30519 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30522 * timezone/checktab.awk: Update from tzcode 2012i.
30523 * timezone/ialloc.c: Likewise.
30524 * timezone/private.h: Likewise.
30525 * timezone/scheck.c: Likewise.
30526 * timezone/tzfile.h: Likewise.
30527 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30528 (TZVERSION): Hardcode tzcode version number.
30529 * timezone/zdump.c: Update from tzcode 2012i.
30530 * timezone/zic.c: Likewise.
30531 * timezone/version.h: New file.
30532 * timezone/README: Describe version.h. Update upstream location.
30535 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30536 (mktemp): Enable declaration.
30537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30546 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30550 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30554 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30555 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30556 for copies of such integer values.
30557 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30558 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30560 2012-11-09 Andreas Jaeger <aj@suse.de>
30562 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30563 definitions and declarations that are provided by
30564 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30566 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30568 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30569 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30570 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30573 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30575 * elf/elf.h: Update comment before AArch64 relocations.
30577 2012-11-07 David S. Miller <davem@davemloft.net>
30579 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30580 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30581 (__start_context): Declare.
30582 (__makecontext_ret): Delete.
30583 (__makecontext): Hook up __start_context instead of
30585 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30586 (sysdep_routines): Add __start_context when in stdlib.
30588 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30590 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30591 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30592 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30594 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30595 (READELF): New variable. Use it instead of hardcoded "readelf".
30597 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30599 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30600 * sysdeps/x86/Makefile: Here.
30601 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30602 * sysdeps/x86/tst-xmmymm.sh: This.
30604 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30606 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30608 [UNIX98] (pthread_barrier_t): Do not expect.
30609 [UNIX98] (pthread_barrierattr_t): Likewise.
30610 [UNIX98] (pthread_spinlock_t): Likewise.
30611 [UNIX98] (pthread_barrier_destroy): Likewise.
30612 [UNIX98] (pthread_barrier_init): Likewise.
30613 [UNIX98] (pthread_barrier_wait): Likewise.
30614 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30615 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30616 [UNIX98] (pthread_barrierattr_init): Likewise.
30617 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30618 [UNIX98] (pthread_getcpuclockid): Likewise.
30619 [UNIX98] (pthread_mutex_timedlock): Likewise.
30620 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30621 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30622 [UNIX98] (pthread_sigmask): Likewise.
30623 [UNIX98] (pthread_spin_destroy): Likewise.
30624 [UNIX98] (pthread_spin_init): Likewise.
30625 [UNIX98] (pthread_spin_lock): Likewise.
30626 [UNIX98] (pthread_spin_trylock): Likewise.
30627 [UNIX98] (pthread_spin_unlock): Likewise.
30628 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30630 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30632 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30633 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30634 [XPG3 || XPG4] (pthread_key_t): Likewise.
30635 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30636 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30637 [XPG3 || XPG4] (pthread_once_t): Likewise.
30638 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30639 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30641 [XPG3 || XPG4] (pthread_t): Likewise.
30643 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30645 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30647 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30648 Change function return type to int.
30650 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30651 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30652 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30653 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30654 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30655 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30656 [!POSIX] (posix_madvise): Likewise.
30657 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30659 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30660 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30661 (mode_t): Likewise.
30662 (posix_mem_offset): Likewise.
30663 (posix_typed_mem_get_info): Likewise.
30664 (posix_typed_mem_open): Likewise.
30666 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30667 Change condition to [XOPEN2K8].
30669 * conform/conformtest.pl: Preprocess allow-header data with -x c
30670 instead of from stdin.
30671 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30672 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30673 [C99-based standards] (cerfc): Likewise.
30674 [C99-based standards] (cexp2): Likewise.
30675 [C99-based standards] (cexpm1): Likewise.
30676 [C99-based standards] (clog10): Likewise.
30677 [C99-based standards] (clog1p): Likewise.
30678 [C99-based standards] (clog2): Likewise.
30679 [C99-based standards] (clgamma): Likewise.
30680 [C99-based standards] (ctgamma): Likewise.
30681 [C99-based standards] (cerff): Likewise.
30682 [C99-based standards] (cerfcf): Likewise.
30683 [C99-based standards] (cexp2f): Likewise.
30684 [C99-based standards] (cexpm1f): Likewise.
30685 [C99-based standards] (clog10f): Likewise.
30686 [C99-based standards] (clog1pf): Likewise.
30687 [C99-based standards] (clog2f): Likewise.
30688 [C99-based standards] (clgammaf): Likewise.
30689 [C99-based standards] (ctgammaf): Likewise.
30690 [C99-based standards] (cerfl): Likewise.
30691 [C99-based standards] (cerfcl): Likewise.
30692 [C99-based standards] (cexp2l): Likewise.
30693 [C99-based standards] (cexpm1l): Likewise.
30694 [C99-based standards] (clog10l): Likewise.
30695 [C99-based standards] (clog1pl): Likewise.
30696 [C99-based standards] (clog2l): Likewise.
30697 [C99-based standards] (clgammal): Likewise.
30698 [C99-based standards] (ctgammal): Likewise.
30699 * conform/data/inttypes.h-data [C99-based standards]: Include
30700 stdint.h-data. Remove all expectations for stdint.h contents.
30701 [C99-based standards] (PRI*): Do not allow.
30702 [C99-based standards] (SCN*): Likewise.
30703 [C99-based standards] (*_t): Likewise.
30704 [C99-based-standards] (PRId8): Expect macro.
30705 [C99-based-standards] (PRIi8): Likewise.
30706 [C99-based-standards] (PRIo8): Likewise.
30707 [C99-based-standards] (PRIu8): Likewise.
30708 [C99-based-standards] (PRIx8): Likewise.
30709 [C99-based-standards] (PRIX8): Likewise.
30710 [C99-based-standards] (SCNd8): Likewise.
30711 [C99-based-standards] (SCNi8): Likewise.
30712 [C99-based-standards] (SCNo8): Likewise.
30713 [C99-based-standards] (SCNu8): Likewise.
30714 [C99-based-standards] (SCNx8): Likewise.
30715 [C99-based-standards] (PRIdLEAST8): Likewise.
30716 [C99-based-standards] (PRIiLEAST8): Likewise.
30717 [C99-based-standards] (PRIoLEAST8): Likewise.
30718 [C99-based-standards] (PRIuLEAST8): Likewise.
30719 [C99-based-standards] (PRIxLEAST8): Likewise.
30720 [C99-based-standards] (PRIXLEAST8): Likewise.
30721 [C99-based-standards] (SCNdLEAST8): Likewise.
30722 [C99-based-standards] (SCNiLEAST8): Likewise.
30723 [C99-based-standards] (SCNoLEAST8): Likewise.
30724 [C99-based-standards] (SCNuLEAST8): Likewise.
30725 [C99-based-standards] (SCNxLEAST8): Likewise.
30726 [C99-based-standards] (PRIdFAST8): Likewise.
30727 [C99-based-standards] (PRIiFAST8): Likewise.
30728 [C99-based-standards] (PRIoFAST8): Likewise.
30729 [C99-based-standards] (PRIuFAST8): Likewise.
30730 [C99-based-standards] (PRIxFAST8): Likewise.
30731 [C99-based-standards] (PRIXFAST8): Likewise.
30732 [C99-based-standards] (SCNdFAST8): Likewise.
30733 [C99-based-standards] (SCNiFAST8): Likewise.
30734 [C99-based-standards] (SCNoFAST8): Likewise.
30735 [C99-based-standards] (SCNuFAST8): Likewise.
30736 [C99-based-standards] (SCNxFAST8): Likewise.
30737 [C99-based-standards] (PRId16): Likewise.
30738 [C99-based-standards] (PRIi16): Likewise.
30739 [C99-based-standards] (PRIo16): Likewise.
30740 [C99-based-standards] (PRIu16): Likewise.
30741 [C99-based-standards] (PRIx16): Likewise.
30742 [C99-based-standards] (PRIX16): Likewise.
30743 [C99-based-standards] (SCNd16): Likewise.
30744 [C99-based-standards] (SCNi16): Likewise.
30745 [C99-based-standards] (SCNo16): Likewise.
30746 [C99-based-standards] (SCNu16): Likewise.
30747 [C99-based-standards] (SCNx16): Likewise.
30748 [C99-based-standards] (PRIdLEAST16): Likewise.
30749 [C99-based-standards] (PRIiLEAST16): Likewise.
30750 [C99-based-standards] (PRIoLEAST16): Likewise.
30751 [C99-based-standards] (PRIuLEAST16): Likewise.
30752 [C99-based-standards] (PRIxLEAST16): Likewise.
30753 [C99-based-standards] (PRIXLEAST16): Likewise.
30754 [C99-based-standards] (SCNdLEAST16): Likewise.
30755 [C99-based-standards] (SCNiLEAST16): Likewise.
30756 [C99-based-standards] (SCNoLEAST16): Likewise.
30757 [C99-based-standards] (SCNuLEAST16): Likewise.
30758 [C99-based-standards] (SCNxLEAST16): Likewise.
30759 [C99-based-standards] (PRIdFAST16): Likewise.
30760 [C99-based-standards] (PRIiFAST16): Likewise.
30761 [C99-based-standards] (PRIoFAST16): Likewise.
30762 [C99-based-standards] (PRIuFAST16): Likewise.
30763 [C99-based-standards] (PRIxFAST16): Likewise.
30764 [C99-based-standards] (PRIXFAST16): Likewise.
30765 [C99-based-standards] (SCNdFAST16): Likewise.
30766 [C99-based-standards] (SCNiFAST16): Likewise.
30767 [C99-based-standards] (SCNoFAST16): Likewise.
30768 [C99-based-standards] (SCNuFAST16): Likewise.
30769 [C99-based-standards] (SCNxFAST16): Likewise.
30770 [C99-based-standards] (PRId32): Likewise.
30771 [C99-based-standards] (PRIi32): Likewise.
30772 [C99-based-standards] (PRIo32): Likewise.
30773 [C99-based-standards] (PRIu32): Likewise.
30774 [C99-based-standards] (PRIx32): Likewise.
30775 [C99-based-standards] (PRIX32): Likewise.
30776 [C99-based-standards] (SCNd32): Likewise.
30777 [C99-based-standards] (SCNi32): Likewise.
30778 [C99-based-standards] (SCNo32): Likewise.
30779 [C99-based-standards] (SCNu32): Likewise.
30780 [C99-based-standards] (SCNx32): Likewise.
30781 [C99-based-standards] (PRIdLEAST32): Likewise.
30782 [C99-based-standards] (PRIiLEAST32): Likewise.
30783 [C99-based-standards] (PRIoLEAST32): Likewise.
30784 [C99-based-standards] (PRIuLEAST32): Likewise.
30785 [C99-based-standards] (PRIxLEAST32): Likewise.
30786 [C99-based-standards] (PRIXLEAST32): Likewise.
30787 [C99-based-standards] (SCNdLEAST32): Likewise.
30788 [C99-based-standards] (SCNiLEAST32): Likewise.
30789 [C99-based-standards] (SCNoLEAST32): Likewise.
30790 [C99-based-standards] (SCNuLEAST32): Likewise.
30791 [C99-based-standards] (SCNxLEAST32): Likewise.
30792 [C99-based-standards] (PRIdFAST32): Likewise.
30793 [C99-based-standards] (PRIiFAST32): Likewise.
30794 [C99-based-standards] (PRIoFAST32): Likewise.
30795 [C99-based-standards] (PRIuFAST32): Likewise.
30796 [C99-based-standards] (PRIxFAST32): Likewise.
30797 [C99-based-standards] (PRIXFAST32): Likewise.
30798 [C99-based-standards] (SCNdFAST32): Likewise.
30799 [C99-based-standards] (SCNiFAST32): Likewise.
30800 [C99-based-standards] (SCNoFAST32): Likewise.
30801 [C99-based-standards] (SCNuFAST32): Likewise.
30802 [C99-based-standards] (SCNxFAST32): Likewise.
30803 [C99-based-standards] (PRId64): Likewise.
30804 [C99-based-standards] (PRIi64): Likewise.
30805 [C99-based-standards] (PRIo64): Likewise.
30806 [C99-based-standards] (PRIu64): Likewise.
30807 [C99-based-standards] (PRIx64): Likewise.
30808 [C99-based-standards] (PRIX64): Likewise.
30809 [C99-based-standards] (SCNd64): Likewise.
30810 [C99-based-standards] (SCNi64): Likewise.
30811 [C99-based-standards] (SCNo64): Likewise.
30812 [C99-based-standards] (SCNu64): Likewise.
30813 [C99-based-standards] (SCNx64): Likewise.
30814 [C99-based-standards] (PRIdLEAST64): Likewise.
30815 [C99-based-standards] (PRIiLEAST64): Likewise.
30816 [C99-based-standards] (PRIoLEAST64): Likewise.
30817 [C99-based-standards] (PRIuLEAST64): Likewise.
30818 [C99-based-standards] (PRIxLEAST64): Likewise.
30819 [C99-based-standards] (PRIXLEAST64): Likewise.
30820 [C99-based-standards] (SCNdLEAST64): Likewise.
30821 [C99-based-standards] (SCNiLEAST64): Likewise.
30822 [C99-based-standards] (SCNoLEAST64): Likewise.
30823 [C99-based-standards] (SCNuLEAST64): Likewise.
30824 [C99-based-standards] (SCNxLEAST64): Likewise.
30825 [C99-based-standards] (PRIdFAST64): Likewise.
30826 [C99-based-standards] (PRIiFAST64): Likewise.
30827 [C99-based-standards] (PRIoFAST64): Likewise.
30828 [C99-based-standards] (PRIuFAST64): Likewise.
30829 [C99-based-standards] (PRIxFAST64): Likewise.
30830 [C99-based-standards] (PRIXFAST64): Likewise.
30831 [C99-based-standards] (SCNdFAST64): Likewise.
30832 [C99-based-standards] (SCNiFAST64): Likewise.
30833 [C99-based-standards] (SCNoFAST64): Likewise.
30834 [C99-based-standards] (SCNuFAST64): Likewise.
30835 [C99-based-standards] (SCNxFAST64): Likewise.
30836 [C99-based-standards] (PRIdMAX): Likewise.
30837 [C99-based-standards] (PRIiMAX): Likewise.
30838 [C99-based-standards] (PRIoMAX): Likewise.
30839 [C99-based-standards] (PRIuMAX): Likewise.
30840 [C99-based-standards] (PRIxMAX): Likewise.
30841 [C99-based-standards] (PRIXMAX): Likewise.
30842 [C99-based-standards] (SCNdMAX): Likewise.
30843 [C99-based-standards] (SCNiMAX): Likewise.
30844 [C99-based-standards] (SCNoMAX): Likewise.
30845 [C99-based-standards] (SCNuMAX): Likewise.
30846 [C99-based-standards] (SCNxMAX): Likewise.
30847 [C99-based-standards] (PRIdPTR): Likewise.
30848 [C99-based-standards] (PRIiPTR): Likewise.
30849 [C99-based-standards] (PRIoPTR): Likewise.
30850 [C99-based-standards] (PRIuPTR): Likewise.
30851 [C99-based-standards] (PRIxPTR): Likewise.
30852 [C99-based-standards] (PRIXPTR): Likewise.
30853 [C99-based-standards] (SCNdPTR): Likewise.
30854 [C99-based-standards] (SCNiPTR): Likewise.
30855 [C99-based-standards] (SCNoPTR): Likewise.
30856 [C99-based-standards] (SCNuPTR): Likewise.
30857 [C99-based-standards] (SCNxPTR): Likewise.
30858 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30860 * conform/data/stdint.h-data: Update comments to clarify
30862 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30864 [C99-based standards] (INT8_MAX): Likewise.
30865 [C99-based standards] (INT16_MIN): Likewise.
30866 [C99-based standards] (INT16_MAX): Likewise.
30867 [C99-based standards] (INT32_MIN): Likewise.
30868 [C99-based standards] (INT32_MAX): Likewise.
30869 [C99-based standards] (INT64_MIN): Likewise.
30870 [C99-based standards] (INT64_MAX): Likewise.
30871 [C99-based standards] (UINT8_MAX): Likewise.
30872 [C99-based standards] (UINT16_MAX): Likewise.
30873 [C99-based standards] (UINT32_MAX): Likewise.
30874 [C99-based standards] (UINT64_MAX): Likewise.
30875 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30876 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30877 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30878 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30879 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30880 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30881 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30882 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30883 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30884 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30885 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30886 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30887 [C99-based standards] (INT_FAST8_MIN): Likewise.
30888 [C99-based standards] (INT_FAST8_MAX): Likewise.
30889 [C99-based standards] (INT_FAST16_MIN): Likewise.
30890 [C99-based standards] (INT_FAST16_MAX): Likewise.
30891 [C99-based standards] (INT_FAST32_MIN): Likewise.
30892 [C99-based standards] (INT_FAST32_MAX): Likewise.
30893 [C99-based standards] (INT_FAST64_MIN): Likewise.
30894 [C99-based standards] (INT_FAST64_MAX): Likewise.
30895 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30896 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30897 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30898 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30899 [C99-based standards] (INTPTR_MIN): Likewise.
30900 [C99-based standards] (INTPTR_MAX): Likewise.
30901 [C99-based standards] (UINTPTR_MAX): Likewise.
30902 [C99-based standards] (INTMAX_MIN): Likewise.
30903 [C99-based standards] (INTMAX_MAX): Likewise.
30904 [C99-based standards] (UINTMAX_MAX): Likewise.
30905 [C99-based standards] (PTRDIFF_MIN): Likewise.
30906 [C99-based standards] (PTRDIFF_MAX): Likewise.
30907 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30908 [C99-based standards] (SIZE_MAX): Likewise.
30909 [C99-based standards] (WCHAR_MAX): Likewise.
30910 [C99-based standards] (WINT_MAX): Likewise.
30911 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30912 constraint on value.
30913 [C99-based standards] (WCHAR_MIN): Likewise.
30914 [C99-based standards] (WINT_MIN): Likewise.
30915 [C99-based standards] (*_t): Allow.
30916 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30917 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30918 Include math.h-data and complex.h-data. Remove all expectations
30919 of math.h and complex.h contents.
30920 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30922 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30923 (struct tm): Expect tag.
30924 [C99-based-standards] (wcstof): Expect function.
30925 [C99-based-standards] (wcstold): Likewise.
30926 [C99-based-standards] (wcstoll): Likewise.
30927 [C99-based-standards] (wcstoull): Likewise.
30928 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30929 macro-int-constant. Specify type.
30930 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30931 constraint on value.
30932 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30934 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30936 [ISO C standards]: Do not allow headers.
30937 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30938 wcs[abcdefghijklmnopqrstuvwxyz]*.
30939 [ISO C standards] (*_t): Do not allow.
30940 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30942 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30943 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30945 [ISO C standards]: Do not allow headers.
30946 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30947 is[abcdefghijklmnopqrstuvwxyz]*.
30948 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30949 to[abcdefghijklmnopqrstuvwxyz]*.
30950 [ISO C standards] (*_t): Do not allow.
30951 * conform/data/stdalign.h-data: New file.
30952 * conform/data/stdbool.h-data: Likewise.
30953 * conform/data/stdnoreturn.h-data: Likewise.
30955 2012-11-07 Roland McGrath <roland@hack.frob.com>
30958 * manual/filesys.texi (Directory Entries): Typo fix.
30959 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30961 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30963 * elf/elf.h (EM_AARCH64): New macro.
30964 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30965 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30966 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30967 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30968 (R_AARCH64_TLSDESC): Likewise.
30969 (NT_ARM_TLS): Likewise.
30970 (NT_ARM_HW_BREAK): Likewise.
30971 (NT_ARM_HW_WATCH): Likewise.
30973 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30976 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30977 (__ieee754_powl): Saturate nonzero exponents with absolute value
30978 below 0x1p-79 to +/- 0x1p-79.
30979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30980 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30981 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30982 nonzero exponents with absolute value below 0x1p-32 to +/-
30984 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30985 (__ieee754_powl): Saturate nonzero exponents with absolute value
30986 below 0x1p-79 to +/- 0x1p-79.
30987 * math/libm-test.inc (pow_test): Add more tests.
30989 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30991 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30992 _dl_s390_cap_flags with kernel. Increase string length.
30993 (_dl_s390_platforms): Add z196 and zEC12.
30995 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30997 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30998 Change XOPEN21K to XOPEN2K.
31000 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31002 * string/memmove.c: Use memcpy when possible.
31004 2012-11-06 Andreas Jaeger <aj@suse.de>
31006 * po/eo.po: Update from translation team.
31008 2012-11-06 Joseph Myers <joseph@codesourcery.com>
31011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31012 exponent and small x and y exponents, scale x or y up. Increase
31013 by 2 the exponent used in scaling up.
31014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31016 * math/libm-test.inc (fma_test): Add more tests.
31017 (fma_test_towardzero): Likewise.
31018 (fma_test_downward): Likewise.
31019 (fma_test_upward): Likewise.
31021 2012-11-05 Joseph Myers <joseph@codesourcery.com>
31024 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31028 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31029 namespace for names of struct fields.
31030 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31032 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31033 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31035 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31038 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31040 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31042 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31046 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31049 2012-11-04 Joseph Myers <joseph@codesourcery.com>
31052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31053 definitely overflow as x * y not x * y + z.
31054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31056 * math/libm-test.inc (fma_test): Add more tests.
31057 (fma_test_towardzero): Likewise.
31058 (fma_test_downward): Likewise.
31059 (fma_test_upward): Likewise.
31061 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31065 * include/stub-tag.h: Remove file.
31066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31068 * manual/maint.texi (Porting): Don't reference it.
31069 * Makerules ($(objpfx)stubs): Likewise.
31070 * dirent/closedir.c: Don't include <stub-tag.h>.
31071 * dirent/dirfd.c: Likewise.
31072 * dirent/fdopendir.c: Likewise.
31073 * dirent/getdents.c: Likewise.
31074 * dirent/getdents64.c: Likewise.
31075 * dirent/opendir.c: Likewise.
31076 * dirent/readdir.c: Likewise.
31077 * dirent/readdir64.c: Likewise.
31078 * dirent/readdir64_r.c: Likewise.
31079 * dirent/readdir_r.c: Likewise.
31080 * dirent/rewinddir.c: Likewise.
31081 * dirent/seekdir.c: Likewise.
31082 * dirent/telldir.c: Likewise.
31083 * gmon/profil.c: Likewise.
31084 * grp/setgroups.c: Likewise.
31085 * inet/if_index.c: Likewise.
31086 * io/access.c: Likewise.
31087 * io/chdir.c: Likewise.
31088 * io/chmod.c: Likewise.
31089 * io/chown.c: Likewise.
31090 * io/close.c: Likewise.
31091 * io/dup.c: Likewise.
31092 * io/dup2.c: Likewise.
31093 * io/dup3.c: Likewise.
31094 * io/euidaccess.c: Likewise.
31095 * io/faccessat.c: Likewise.
31096 * io/fchdir.c: Likewise.
31097 * io/fchmod.c: Likewise.
31098 * io/fchmodat.c: Likewise.
31099 * io/fchown.c: Likewise.
31100 * io/fchownat.c: Likewise.
31101 * io/fcntl.c: Likewise.
31102 * io/flock.c: Likewise.
31103 * io/fstatfs.c: Likewise.
31104 * io/fstatfs64.c: Likewise.
31105 * io/fstatvfs.c: Likewise.
31106 * io/fstatvfs64.c: Likewise.
31107 * io/futimens.c: Likewise.
31108 * io/fxstat.c: Likewise.
31109 * io/fxstat64.c: Likewise.
31110 * io/fxstatat.c: Likewise.
31111 * io/fxstatat64.c: Likewise.
31112 * io/getcwd.c: Likewise.
31113 * io/isatty.c: Likewise.
31114 * io/lchmod.c: Likewise.
31115 * io/lchown.c: Likewise.
31116 * io/link.c: Likewise.
31117 * io/linkat.c: Likewise.
31118 * io/lseek.c: Likewise.
31119 * io/lseek64.c: Likewise.
31120 * io/lxstat64.c: Likewise.
31121 * io/mkdir.c: Likewise.
31122 * io/mkdirat.c: Likewise.
31123 * io/mkfifo.c: Likewise.
31124 * io/mkfifoat.c: Likewise.
31125 * io/open.c: Likewise.
31126 * io/open64.c: Likewise.
31127 * io/openat.c: Likewise.
31128 * io/openat64.c: Likewise.
31129 * io/pipe.c: Likewise.
31130 * io/pipe2.c: Likewise.
31131 * io/poll.c: Likewise.
31132 * io/posix_fadvise.c: Likewise.
31133 * io/posix_fadvise64.c: Likewise.
31134 * io/posix_fallocate.c: Likewise.
31135 * io/posix_fallocate64.c: Likewise.
31136 * io/read.c: Likewise.
31137 * io/readlink.c: Likewise.
31138 * io/readlinkat.c: Likewise.
31139 * io/rmdir.c: Likewise.
31140 * io/sendfile.c: Likewise.
31141 * io/sendfile64.c: Likewise.
31142 * io/statfs.c: Likewise.
31143 * io/statfs64.c: Likewise.
31144 * io/statvfs.c: Likewise.
31145 * io/statvfs64.c: Likewise.
31146 * io/symlink.c: Likewise.
31147 * io/symlinkat.c: Likewise.
31148 * io/ttyname.c: Likewise.
31149 * io/ttyname_r.c: Likewise.
31150 * io/umask.c: Likewise.
31151 * io/unlink.c: Likewise.
31152 * io/unlinkat.c: Likewise.
31153 * io/utime.c: Likewise.
31154 * io/utimensat.c: Likewise.
31155 * io/write.c: Likewise.
31156 * io/xmknod.c: Likewise.
31157 * io/xmknodat.c: Likewise.
31158 * io/xstat.c: Likewise.
31159 * io/xstat64.c: Likewise.
31160 * login/getpt.c: Likewise.
31161 * login/grantpt.c: Likewise.
31162 * login/unlockpt.c: Likewise.
31163 * math/e_acoshl.c: Likewise.
31164 * math/e_acosl.c: Likewise.
31165 * math/e_asinl.c: Likewise.
31166 * math/e_atan2l.c: Likewise.
31167 * math/e_atanhl.c: Likewise.
31168 * math/e_coshl.c: Likewise.
31169 * math/e_expl.c: Likewise.
31170 * math/e_fmodl.c: Likewise.
31171 * math/e_gammal_r.c: Likewise.
31172 * math/e_hypotl.c: Likewise.
31173 * math/e_j0l.c: Likewise.
31174 * math/e_j1l.c: Likewise.
31175 * math/e_jnl.c: Likewise.
31176 * math/e_lgammal_r.c: Likewise.
31177 * math/e_log10l.c: Likewise.
31178 * math/e_log2l.c: Likewise.
31179 * math/e_logl.c: Likewise.
31180 * math/e_powl.c: Likewise.
31181 * math/e_rem_pio2l.c: Likewise.
31182 * math/e_sinhl.c: Likewise.
31183 * math/e_sqrtl.c: Likewise.
31184 * math/fclrexcpt.c: Likewise.
31185 * math/fedisblxcpt.c: Likewise.
31186 * math/feenablxcpt.c: Likewise.
31187 * math/fegetenv.c: Likewise.
31188 * math/fegetexcept.c: Likewise.
31189 * math/fegetround.c: Likewise.
31190 * math/feholdexcpt.c: Likewise.
31191 * math/fesetenv.c: Likewise.
31192 * math/fesetround.c: Likewise.
31193 * math/feupdateenv.c: Likewise.
31194 * math/fgetexcptflg.c: Likewise.
31195 * math/fraiseexcpt.c: Likewise.
31196 * math/fsetexcptflg.c: Likewise.
31197 * math/ftestexcept.c: Likewise.
31198 * math/k_cosl.c: Likewise.
31199 * math/k_rem_pio2l.c: Likewise.
31200 * math/k_sinl.c: Likewise.
31201 * math/k_tanl.c: Likewise.
31202 * math/s_asinhl.c: Likewise.
31203 * math/s_atanl.c: Likewise.
31204 * math/s_cbrtl.c: Likewise.
31205 * math/s_erfl.c: Likewise.
31206 * math/s_expm1l.c: Likewise.
31207 * math/s_log1pl.c: Likewise.
31208 * math/s_tanhl.c: Likewise.
31209 * misc/acct.c: Likewise.
31210 * misc/brk.c: Likewise.
31211 * misc/chflags.c: Likewise.
31212 * misc/chroot.c: Likewise.
31213 * misc/fchflags.c: Likewise.
31214 * misc/fgetxattr.c: Likewise.
31215 * misc/flistxattr.c: Likewise.
31216 * misc/fremovexattr.c: Likewise.
31217 * misc/fsetxattr.c: Likewise.
31218 * misc/fsync.c: Likewise.
31219 * misc/ftruncate.c: Likewise.
31220 * misc/futimes.c: Likewise.
31221 * misc/futimesat.c: Likewise.
31222 * misc/getdomain.c: Likewise.
31223 * misc/getdtsz.c: Likewise.
31224 * misc/gethostid.c: Likewise.
31225 * misc/gethostname.c: Likewise.
31226 * misc/getloadavg.c: Likewise.
31227 * misc/getpagesize.c: Likewise.
31228 * misc/getsysstats.c: Likewise.
31229 * misc/getxattr.c: Likewise.
31230 * misc/gtty.c: Likewise.
31231 * misc/ioctl.c: Likewise.
31232 * misc/lgetxattr.c: Likewise.
31233 * misc/listxattr.c: Likewise.
31234 * misc/llistxattr.c: Likewise.
31235 * misc/lremovexattr.c: Likewise.
31236 * misc/lsetxattr.c: Likewise.
31237 * misc/lutimes.c: Likewise.
31238 * misc/madvise.c: Likewise.
31239 * misc/mincore.c: Likewise.
31240 * misc/mlock.c: Likewise.
31241 * misc/mlockall.c: Likewise.
31242 * misc/mmap.c: Likewise.
31243 * misc/mprotect.c: Likewise.
31244 * misc/msync.c: Likewise.
31245 * misc/munlock.c: Likewise.
31246 * misc/munlockall.c: Likewise.
31247 * misc/munmap.c: Likewise.
31248 * misc/preadv.c: Likewise.
31249 * misc/preadv64.c: Likewise.
31250 * misc/ptrace.c: Likewise.
31251 * misc/pwritev.c: Likewise.
31252 * misc/pwritev64.c: Likewise.
31253 * misc/readv.c: Likewise.
31254 * misc/reboot.c: Likewise.
31255 * misc/remap_file_pages.c: Likewise.
31256 * misc/removexattr.c: Likewise.
31257 * misc/revoke.c: Likewise.
31258 * misc/select.c: Likewise.
31259 * misc/setdomain.c: Likewise.
31260 * misc/setegid.c: Likewise.
31261 * misc/seteuid.c: Likewise.
31262 * misc/sethostid.c: Likewise.
31263 * misc/sethostname.c: Likewise.
31264 * misc/setregid.c: Likewise.
31265 * misc/setreuid.c: Likewise.
31266 * misc/setxattr.c: Likewise.
31267 * misc/sstk.c: Likewise.
31268 * misc/stty.c: Likewise.
31269 * misc/swapoff.c: Likewise.
31270 * misc/swapon.c: Likewise.
31271 * misc/sync.c: Likewise.
31272 * misc/syncfs.c: Likewise.
31273 * misc/syscall.c: Likewise.
31274 * misc/truncate.c: Likewise.
31275 * misc/ualarm.c: Likewise.
31276 * misc/usleep.c: Likewise.
31277 * misc/ustat.c: Likewise.
31278 * misc/utimes.c: Likewise.
31279 * misc/vhangup.c: Likewise.
31280 * misc/writev.c: Likewise.
31281 * posix/_exit.c: Likewise.
31282 * posix/alarm.c: Likewise.
31283 * posix/execve.c: Likewise.
31284 * posix/fexecve.c: Likewise.
31285 * posix/fork.c: Likewise.
31286 * posix/fpathconf.c: Likewise.
31287 * posix/getaddrinfo.c: Likewise.
31288 * posix/getegid.c: Likewise.
31289 * posix/geteuid.c: Likewise.
31290 * posix/getgid.c: Likewise.
31291 * posix/getgroups.c: Likewise.
31292 * posix/getlogin.c: Likewise.
31293 * posix/getlogin_r.c: Likewise.
31294 * posix/getpgid.c: Likewise.
31295 * posix/getpid.c: Likewise.
31296 * posix/getppid.c: Likewise.
31297 * posix/getresgid.c: Likewise.
31298 * posix/getresuid.c: Likewise.
31299 * posix/getsid.c: Likewise.
31300 * posix/getuid.c: Likewise.
31301 * posix/glob64.c: Likewise.
31302 * posix/nanosleep.c: Likewise.
31303 * posix/pathconf.c: Likewise.
31304 * posix/pause.c: Likewise.
31305 * posix/posix_madvise.c: Likewise.
31306 * posix/pread.c: Likewise.
31307 * posix/pread64.c: Likewise.
31308 * posix/pwrite.c: Likewise.
31309 * posix/pwrite64.c: Likewise.
31310 * posix/sched_getaffinity.c: Likewise.
31311 * posix/sched_getp.c: Likewise.
31312 * posix/sched_gets.c: Likewise.
31313 * posix/sched_primax.c: Likewise.
31314 * posix/sched_primin.c: Likewise.
31315 * posix/sched_rr_gi.c: Likewise.
31316 * posix/sched_setaffinity.c: Likewise.
31317 * posix/sched_setp.c: Likewise.
31318 * posix/sched_sets.c: Likewise.
31319 * posix/sched_yield.c: Likewise.
31320 * posix/setgid.c: Likewise.
31321 * posix/setlogin.c: Likewise.
31322 * posix/setpgid.c: Likewise.
31323 * posix/setresgid.c: Likewise.
31324 * posix/setresuid.c: Likewise.
31325 * posix/setsid.c: Likewise.
31326 * posix/setuid.c: Likewise.
31327 * posix/sleep.c: Likewise.
31328 * posix/spawni.c: Likewise.
31329 * posix/sysconf.c: Likewise.
31330 * posix/times.c: Likewise.
31331 * posix/wait.c: Likewise.
31332 * posix/wait3.c: Likewise.
31333 * posix/wait4.c: Likewise.
31334 * posix/waitpid.c: Likewise.
31335 * resolv/gai_sigqueue.c: Likewise.
31336 * resource/getpriority.c: Likewise.
31337 * resource/getrlimit.c: Likewise.
31338 * resource/getrusage.c: Likewise.
31339 * resource/nice.c: Likewise.
31340 * resource/setpriority.c: Likewise.
31341 * resource/setrlimit.c: Likewise.
31342 * resource/ulimit.c: Likewise.
31343 * rt/aio_cancel.c: Likewise.
31344 * rt/aio_fsync.c: Likewise.
31345 * rt/aio_read.c: Likewise.
31346 * rt/aio_sigqueue.c: Likewise.
31347 * rt/aio_suspend.c: Likewise.
31348 * rt/aio_write.c: Likewise.
31349 * rt/clock_getres.c: Likewise.
31350 * rt/clock_gettime.c: Likewise.
31351 * rt/clock_nanosleep.c: Likewise.
31352 * rt/clock_settime.c: Likewise.
31353 * rt/lio_listio.c: Likewise.
31354 * rt/mq_close.c: Likewise.
31355 * rt/mq_getattr.c: Likewise.
31356 * rt/mq_notify.c: Likewise.
31357 * rt/mq_open.c: Likewise.
31358 * rt/mq_receive.c: Likewise.
31359 * rt/mq_send.c: Likewise.
31360 * rt/mq_setattr.c: Likewise.
31361 * rt/mq_timedreceive.c: Likewise.
31362 * rt/mq_timedsend.c: Likewise.
31363 * rt/mq_unlink.c: Likewise.
31364 * rt/shm_open.c: Likewise.
31365 * rt/shm_unlink.c: Likewise.
31366 * rt/timer_create.c: Likewise.
31367 * rt/timer_delete.c: Likewise.
31368 * rt/timer_getoverr.c: Likewise.
31369 * rt/timer_gettime.c: Likewise.
31370 * rt/timer_settime.c: Likewise.
31371 * setjmp/__longjmp.c: Likewise.
31372 * setjmp/setjmp.c: Likewise.
31373 * signal/kill.c: Likewise.
31374 * signal/killpg.c: Likewise.
31375 * signal/raise.c: Likewise.
31376 * signal/sigaction.c: Likewise.
31377 * signal/sigaltstack.c: Likewise.
31378 * signal/sigblock.c: Likewise.
31379 * signal/sigignore.c: Likewise.
31380 * signal/sigintr.c: Likewise.
31381 * signal/signal.c: Likewise.
31382 * signal/sigpause.c: Likewise.
31383 * signal/sigpending.c: Likewise.
31384 * signal/sigqueue.c: Likewise.
31385 * signal/sigreturn.c: Likewise.
31386 * signal/sigset.c: Likewise.
31387 * signal/sigsetmask.c: Likewise.
31388 * signal/sigstack.c: Likewise.
31389 * signal/sigsuspend.c: Likewise.
31390 * signal/sigtimedwait.c: Likewise.
31391 * signal/sigvec.c: Likewise.
31392 * signal/sigwait.c: Likewise.
31393 * signal/sigwaitinfo.c: Likewise.
31394 * signal/sysv_signal.c: Likewise.
31395 * socket/accept.c: Likewise.
31396 * socket/accept4.c: Likewise.
31397 * socket/bind.c: Likewise.
31398 * socket/connect.c: Likewise.
31399 * socket/getpeername.c: Likewise.
31400 * socket/getsockname.c: Likewise.
31401 * socket/getsockopt.c: Likewise.
31402 * socket/isfdtype.c: Likewise.
31403 * socket/listen.c: Likewise.
31404 * socket/recv.c: Likewise.
31405 * socket/recvfrom.c: Likewise.
31406 * socket/recvmsg.c: Likewise.
31407 * socket/send.c: Likewise.
31408 * socket/sendmsg.c: Likewise.
31409 * socket/sendto.c: Likewise.
31410 * socket/setsockopt.c: Likewise.
31411 * socket/shutdown.c: Likewise.
31412 * socket/sockatmark.c: Likewise.
31413 * socket/socket.c: Likewise.
31414 * socket/socketpair.c: Likewise.
31415 * stdio-common/ctermid.c: Likewise.
31416 * stdio-common/cuserid.c: Likewise.
31417 * stdio-common/remove.c: Likewise.
31418 * stdio-common/rename.c: Likewise.
31419 * stdio-common/renameat.c: Likewise.
31420 * stdio-common/tempname.c: Likewise.
31421 * stdlib/getcontext.c: Likewise.
31422 * stdlib/makecontext.c: Likewise.
31423 * stdlib/setcontext.c: Likewise.
31424 * stdlib/swapcontext.c: Likewise.
31425 * stdlib/system.c: Likewise.
31426 * streams/fattach.c: Likewise.
31427 * streams/fdetach.c: Likewise.
31428 * streams/getmsg.c: Likewise.
31429 * streams/getpmsg.c: Likewise.
31430 * streams/putmsg.c: Likewise.
31431 * streams/putpmsg.c: Likewise.
31432 * sysdeps/unix/bsd/getpt.c: Likewise.
31433 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31434 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31435 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31438 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31439 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31440 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31441 * sysvipc/msgctl.c: Likewise.
31442 * sysvipc/msgget.c: Likewise.
31443 * sysvipc/msgrcv.c: Likewise.
31444 * sysvipc/msgsnd.c: Likewise.
31445 * sysvipc/semctl.c: Likewise.
31446 * sysvipc/semget.c: Likewise.
31447 * sysvipc/semop.c: Likewise.
31448 * sysvipc/semtimedop.c: Likewise.
31449 * sysvipc/shmat.c: Likewise.
31450 * sysvipc/shmctl.c: Likewise.
31451 * sysvipc/shmdt.c: Likewise.
31452 * sysvipc/shmget.c: Likewise.
31453 * termios/tcdrain.c: Likewise.
31454 * termios/tcflow.c: Likewise.
31455 * termios/tcflush.c: Likewise.
31456 * termios/tcgetattr.c: Likewise.
31457 * termios/tcgetpgrp.c: Likewise.
31458 * termios/tcsendbrk.c: Likewise.
31459 * termios/tcsetattr.c: Likewise.
31460 * termios/tcsetpgrp.c: Likewise.
31461 * time/adjtime.c: Likewise.
31462 * time/clock.c: Likewise.
31463 * time/getitimer.c: Likewise.
31464 * time/gettimeofday.c: Likewise.
31465 * time/setitimer.c: Likewise.
31466 * time/settimeofday.c: Likewise.
31467 * time/stime.c: Likewise.
31468 * time/time.c: Likewise.
31470 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
31472 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31475 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31477 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31479 2012-11-03 Joseph Myers <joseph@codesourcery.com>
31482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31483 FE_TONEAREST before applying Dekker multiplication and Knuth
31484 addition. Clear inexact exceptions and check for exact zero
31485 results afterwards.
31486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31487 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31489 * math/libm-test.inc (fma_test): Add more tests.
31490 (fma_test_towardzero): Likewise.
31491 (fma_test_downward): Likewise.
31492 (fma_test_upward): Likewise.
31493 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31495 (libc_fesetround): New macro.
31496 (libc_fesetroundf): Likewise.
31497 (libc_fesetroundl): Likewise.
31498 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31500 (libc_fesetround_387): Likewise.
31501 (libc_fesetroundf): New macro.
31502 (libc_fesetround): Likewise.
31503 (libc_fesetroundl): Likewise.
31504 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31506 (libc_fesetroundf): New macro.
31507 (libc_fesetround): Likewise.
31508 (libc_fesetroundl): Likewise.
31509 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31510 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31511 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31513 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31514 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31516 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31517 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31519 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31523 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31524 integer constant usable in #if and use that to give value to enum
31526 (FE_DIVBYZERO): Likewise.
31527 (FE_UNDERFLOW): Likewise.
31528 (FE_OVERFLOW): Likewise.
31529 (FE_INVALID): Likewise.
31530 (FE_INVALID_SNAN): Likewise.
31531 (FE_INVALID_ISI): Likewise.
31532 (FE_INVALID_IDI): Likewise.
31533 (FE_INVALID_ZDZ): Likewise.
31534 (FE_INVALID_IMZ): Likewise.
31535 (FE_INVALID_COMPARE): Likewise.
31536 (FE_INVALID_SOFTWARE): Likewise.
31537 (FE_INVALID_SQRT): Likewise.
31538 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31539 (FE_TONEAREST): Likewise.
31540 (FE_TOWARDZERO): Likewise.
31541 (FE_UPWARD): Likewise.
31542 (FE_DOWNWARD): Likewise.
31543 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31544 (FE_DIVBYZERO): Likewise.
31545 (FE_OVERFLOW): Likewise.
31546 (FE_UNDERFLOW): Likewise.
31547 (FE_INEXACT): Likewise.
31548 (FE_TONEAREST): Likewise.
31549 (FE_DOWNWARD): Likewise.
31550 (FE_UPWARD): Likewise.
31551 (FE_TOWARDZERO): Likewise.
31552 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31553 (FE_UNDERFLOW): Likewise.
31554 (FE_OVERFLOW): Likewise.
31555 (FE_DIVBYZERO): Likewise.
31556 (FE_INVALID): Likewise.
31557 (FE_TONEAREST): Likewise.
31558 (FE_TOWARDZERO): Likewise.
31559 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31560 (FE_OVERFLOW): Likewise.
31561 (FE_UNDERFLOW): Likewise.
31562 (FE_DIVBYZERO): Likewise.
31563 (FE_INEXACT): Likewise.
31564 (FE_TONEAREST): Likewise.
31565 (FE_TOWARDZERO): Likewise.
31566 (FE_UPWARD): Likewise.
31567 (FE_DOWNWARD): Likewise.
31568 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31569 (FE_DIVBYZERO): Likewise.
31570 (FE_OVERFLOW): Likewise.
31571 (FE_UNDERFLOW): Likewise.
31572 (FE_INEXACT): Likewise.
31573 (FE_TONEAREST): Likewise.
31574 (FE_DOWNWARD): Likewise.
31575 (FE_UPWARD): Likewise.
31576 (FE_TOWARDZERO): Likewise.
31578 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31580 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31582 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31584 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31585 commands. Quote $PWD.
31586 (blacklist_exports): Don't use remove_newlines. Replace "declare
31588 (remove_newlines): Remove.
31590 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31592 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31593 * stdlib/stdlib.h (atof): Moved to ...
31594 * include/bits/stdlib-float.h: Here. New file.
31595 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31596 * stdlib/bits/stdlib-float.h: New file.
31597 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31599 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31602 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31604 * conform/conformtest.pl (@headers): Add fenv.h.
31605 * conform/data/fenv.h-data: New file.
31606 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31607 include of <math/fenv.h>.
31609 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31610 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31611 && !UNIX98]. Enables tests for XOPEN2K8.
31612 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31613 POSIX2008]: Likewise.
31615 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31616 (struct rusage): Do not expect type or its members.
31619 * math/math.h (FP_NAN): Define macro to integer constant usable in
31620 #if and use that to give value to enum constant.
31621 (FP_INFINITE): Likewise.
31622 (FP_ZERO): Likewise.
31623 (FP_SUBNORMAL): Likewise.
31624 (FP_NORMAL): Likewise.
31626 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31628 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31629 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31632 2012-11-02 Roland McGrath <roland@hack.frob.com>
31634 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31635 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31636 autoconf-time if not.
31637 * configure.in: Remove AC_PREREQ.
31639 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31641 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31642 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31643 of the internal implementation.
31645 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31647 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31648 except include of <misc/sys/syslog.h>.
31650 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31653 function returns with a NULL context exit with zero.
31655 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31657 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31659 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31661 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31662 (run_program_cmd): This.
31663 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31664 (tst_langinfo): New variable. Use it.
31666 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31668 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31669 floating point opcodes.
31671 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31673 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31676 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31678 * sysdeps/mach/hurd/powerpc: Remove directory.
31679 * sysdeps/mach/powerpc: Likewise.
31681 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31683 * scripts/check-local-headers.sh: Ignore c++ headers.
31685 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31687 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31688 __libc_cleanup_region_start argument.
31690 2012-11-01 Joseph Myers <joseph@codesourcery.com>
31694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31695 x * y using scaling, not as x * y + z.
31696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31698 * math/libm-test.inc (fma_test): Add more tests.
31699 (fma_test_towardzero): Likewise.
31700 (fma_test_downward): Likewise.
31701 (fma_test_upward): Likewise.
31703 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31705 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31707 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31709 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31712 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31714 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31716 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31723 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31726 Fix the order of the list for glibc 2.17.
31727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31730 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31734 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31737 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31738 for low part of x being zero before using __atanl (y).
31739 * math/libm-test.inc (atan2_test): Add another test.
31741 * manual/install.texi (Configuring and compiling): Document
31742 general use of test-wrapper and test-wrapper-env.
31743 * INSTALL: Regenerated.
31745 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31746 (__fma): Do not extract and scale down low bits on after-rounding
31747 systems when result rounded to normal precision would have normal
31749 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31750 (__fmal): Do not extract and scale down low bits on after-rounding
31751 systems when result rounded to normal precision would have normal
31753 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31754 (__fmal): Do not extract and scale down low bits on after-rounding
31755 systems when result rounded to normal precision would have normal
31757 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31759 (fma_test): Add more tests.
31760 (fma_test_towardzero): Likewise.
31761 (fma_test_downward): Likewise.
31762 (fma_test_upward): Likewise.
31764 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31766 * sysdeps/i386/tininess.h: Renamed to ...
31767 * sysdeps/x86/tininess.h: This.
31768 * sysdeps/x86_64/tininess.h: Removed.
31770 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31772 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31773 input. Use $(build-program-cmd).
31774 ($(objpfx)tst-array1-static.out): Likewise.
31775 ($(objpfx)tst-array2.out): Likewise.
31776 ($(objpfx)tst-array3.out): Likewise.
31777 ($(objpfx)tst-array4.out): Likewise.
31778 ($(objpfx)tst-array5.out): Likewise.
31779 ($(objpfx)tst-array5-static.out): Likewise.
31781 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31783 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31786 * nss/nsswitch.h (nss_interface_function): Provide new
31787 macro for use with NSS functions.
31788 * grp/initgroups.c: Use new macro.
31789 * nss/getXXbyYY.c: Likewise.
31790 * nss/getXXbyYY_r.c: Likewise.
31791 * nss/getXXent.c: Likewise.
31792 * nss/getXXent_r.c: Likewise.
31793 * sysdeps/posix/getaddrinfo.c: Likewise.
31795 2012-10-30 Andreas Jaeger <aj@suse.de>
31797 * po/ru.po: Update Russion translation from translation project.
31799 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31804 result and shift together with sticky bit instead of replicating
31805 round-to-nearest rounding.
31806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31808 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31809 missing underflow exceptions.
31810 (fma_test_towardzero): Add more tests.
31811 (fma_test_downward): Likewise.
31812 (fma_test_upward): Likewise.
31815 * sysdeps/generic/tininess.h: New file.
31816 * sysdeps/i386/tininess.h: Likewise.
31817 * sysdeps/sh/tininess.h: Likewise.
31818 * sysdeps/x86_64/tininess.h: Likewise.
31819 * stdlib/tst-strtod-underflow.c: Likewise.
31820 * stdlib/tst-tininess.c: Likewise.
31821 * stdlib/strtod_l.c: Include <tininess.h>.
31822 (round_and_return): Do not set errno for exact underflow cases.
31823 Force an underflow exception when setting errno for underflow.
31824 Determine underflow based on rounding to normal precision if
31825 TININESS_AFTER_ROUNDING.
31826 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31827 ERANGE for exact underflow cases.
31828 * stdlib/Makefile (tests): Add tst-tininess and
31829 tst-strtod-underflow.
31830 ($(objpfx)tst-tininess): Use $(link-libm).
31831 ($(objpfx)tst-strtod-underflow): Likewise.
31833 2012-10-30 Andreas Jaeger <aj@suse.de>
31836 * elf/Makefile (tests): Remove conditional for have-initfini-array
31837 since this is now always required and the variable does not exist
31839 (tests-static): Likewise.
31840 (modules-names): Likewise.
31842 * po/eo.po: Add Esperanto translation from translation project.
31844 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31845 merged with constructor/destructor.
31846 (init_array): Likewise.
31847 * elf/tst-array2dep.c (fini_array): Likewise.
31848 (init_array): Likewise.
31850 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31852 * manual/message.texi: Delete @cartouche tags.
31854 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31856 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31858 * sysdeps/mach/hurd/fsync.c: Likewise.
31860 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31861 [_POSIX_REALTIME_SIGNALS]: Change condition to
31862 [_POSIX_REALTIME_SIGNALS > 0].
31864 2012-10-27 Andreas Jaeger <aj@suse.de>
31866 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31867 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31869 [__WORDSIZE != 64]: Likewise.
31871 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31873 * iconvdata/tst-table.sh: Remove ${SHELL}.
31874 * iconvdata/tst-tables.sh: Likewise.
31876 2012-10-25 David S. Miller <davem@davemloft.net>
31878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31879 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31884 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31885 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31886 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31889 2012-10-25 Roland McGrath <roland@hack.frob.com>
31891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31892 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31895 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31896 Jim Blandy <jimb@codesourcery.com>
31898 * scripts/cross-test-ssh.sh: New file.
31899 * manual/install.texi (Configuring and compiling): Document use of
31901 * INSTALL: Regenerated.
31903 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31905 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31908 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31910 * Makeconfig (run-program-prefix): Fix comment.
31912 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31913 Jim Blandy <jimb@codesourcery.com>
31915 * Makeconfig (test-wrapper): New variable,
31916 (test-wrapper-env): Likewise.
31917 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31918 (run-built-tests): Define to yes.
31919 (run-program-prefix): Use $(test-wrapper).
31920 (built-program-cmd): Likewise.
31921 * Rules (make-test-out): Use $(test-wrapper-env) and
31922 $(host-built-program-cmd).
31923 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31924 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31926 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31927 $(test-wrapper-env) to tst-rtld-load-self.sh.
31928 ($(objpfx)order2.out): Use $(test-wrapper).
31929 ($(objpfx)tst-initorder.out): Likewise.
31930 ($(objpfx)tst-initorder2.out): Likewise.
31931 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31932 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31933 (test_wrapper_env): New variable. Use it to run ld.so.
31934 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31935 Use it to run ld.so.
31936 (test_wrapper_env): Likewise.
31937 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31938 $(test-wrapper) to run-iconv-test.sh.
31939 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31940 (ICONV): Use $test_wrapper.
31941 * posix/Makefile ($(objpfx)globtest.out): Pass
31942 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31943 globtest.sh, not $(run-program-prefix).
31944 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31945 (test_wrapper): Likewise.
31946 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31947 set together with run_via_rtld_prefix.
31948 (run_program_prefix): Define in terms of test_wrapper and
31949 run_via_rtld_prefix.
31951 2012-10-24 Roland McGrath <roland@hack.frob.com>
31953 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31954 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31958 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31959 Declare __clock_getres, __clock_gettime, __clock_settime,
31960 __clock_nanosleep, and __clock_getcpuclockid.
31961 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31962 Remove librt_hidden_def (clock_gettime).
31963 * sysdeps/unix/clock_gettime.c: Likewise.
31964 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31965 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31966 * rt/clock_getres.c: Define __clock_getres as an alias.
31967 * sysdeps/posix/clock_getres.c: Likewise.
31968 * rt/clock_settime.c: Define __clock_settime as an alias.
31969 * sysdeps/unix/clock_settime.c: Likewise.
31970 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31971 * sysdeps/unix/clock_nanosleep.c: Likewise.
31972 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31973 * rt/clock-compat.c: New file.
31974 * rt/Makefile (librt-routines): Add clock-compat and move
31975 $(clock-routines) to ...
31976 (routines): ... here, new variable.
31977 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31978 Don't add get_clockfreq here.
31979 * rt/Versions (libc: GLIBC_2.17): New version set.
31980 Add clock_* symbols here.
31981 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31983 (GLIBC_2.17): Add clock_* symbols.
31984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31986 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31995 * NEWS: Mention the move.
31997 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31998 Use __open, __read, __close rather than their public counterparts.
31999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32000 (__get_clockfreq_via_cpuinfo): Likewise.
32001 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32002 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32004 * config.h.in (HAVE_IFUNC): New #undef.
32005 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32007 * configure: Regenerated.
32009 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32011 * configure.in: Move READELF check to start of file.
32012 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32013 libc_cv_asm_gnu_indirect_function in the process.
32014 * configure: Regenerated.
32016 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32018 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32019 send the output to /dev/null.
32020 (libc_cv_cc_with_libunwind): Likewise.
32021 (libc_cv_as_noexecstack): Likewise.
32022 * configure: Regenerate.
32024 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32026 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32028 * posix/globtest.sh (TMPDIR): Do not set.
32029 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32030 (testout): Likewise.
32032 2012-10-24 Andreas Jaeger <aj@suse.de>
32034 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32035 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32036 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32037 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32038 posix_fadvise64, posix_fallocate64.
32040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32041 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32042 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32044 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32046 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32049 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32050 <bits/fcntl-linux.h>.
32051 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32054 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32055 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32056 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32057 [__WORDSIZE != 64]: Likewise.
32059 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32061 * Makeconfig (run-built-tests): New variable.
32062 * Rules [$(cross-compiling) = yes]: Change condition to
32063 [$(run-built-tests) = no].
32064 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32065 to [$(run-built-tests) = yes].
32066 * elf/Makefile [$(cross-compiling) = no]: Likewise
32067 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32068 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32069 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32070 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32071 * io/Makefile [$(cross-compiling) = no]: Likewise.
32072 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32073 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32074 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32075 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32076 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32077 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32078 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32079 * string/Makefile [$(cross-compiling) = no]: Likewise.
32081 * posix/Makefile ($(objpfx)globtest.out): Pass
32082 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32083 $(rtld-installed-name).
32084 * posix/globtest.sh (elf_objpfx): Remove variable.
32085 (rtld_installed_name): Likewise.
32086 (library_path): Likewise.
32087 (run_program_prefix): New variable. Use for running globtest
32090 2012-10-23 Jim Blandy <jimb@codesourcery.com>
32091 Joseph Myers <joseph@codesourcery.com>
32093 * Makeconfig (host-built-program-cmd): New variable.
32094 * elf/Makefile (tst-stackguard1-ARGS): Use
32095 $(host-built-program-cmd).
32096 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32097 (tst-spawn-ARGS): Likewise.
32098 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32100 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32101 Jim Blandy <jimb@codesourcery.com>
32103 * Makeconfig (run-via-rtld-prefix): New variable.
32104 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32105 (built-program-cmd): Likewise.
32107 2012-10-22 Andreas Jaeger <aj@suse.de>
32109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32110 __O_RSYNC if it exists, otherwise to O_SYNC.
32112 2012-10-22 Jim Blandy <jimb@codesourcery.com>
32113 Joseph Myers <joseph@codesourcery.com>
32115 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32117 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32119 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32122 2012-10-22 Andreas Jaeger <aj@suse.de>
32124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32129 bits/fcntl-linux.h.
32131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32132 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32134 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32139 2012-10-21 Jim Blandy <jimb@codesourcery.com>
32140 Joseph Myers <joseph@codesourcery.com>
32142 * config.make.in (NM): New variable.
32144 2012-10-21 Andreas Jaeger <aj@suse.de>
32146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32147 definitions and declarations that are provided by
32148 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32150 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32153 * elf/Makefile (tests-static): Add tst-leaks1-static.
32154 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32155 ($(objpfx)tst-leaks1-static): New rule.
32156 ($(objpfx)tst-leaks1-static-mem): Likewise.
32157 (tst-leaks1-static-ENV): New macro.
32158 * elf/dl-open.c (dl_open_worker): Check the main application
32159 only if SHARED is defined.
32160 * elf/tst-leaks1-static.c: New file.
32162 2012-10-20 Andreas Jaeger <aj@suse.de>
32164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32165 generic values for Linux.
32166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32167 and declarations that are provided by <bits/fcntl-linux.h> and
32168 include <bits/fcntl-linux.h>.
32169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32172 2012-10-20 Roland McGrath <roland@hack.frob.com>
32174 * io/fcntl.h: Move include of <bits/types.h> to the top and
32175 include it unconditionally.
32177 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32179 * wcsmbs/Makefile (tests-ifunc): New variable.
32180 (tests): Add $(tests-ifunc).
32181 * wcsmbs/test-wcschr-ifunc.c: New file.
32182 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32183 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32184 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32185 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32186 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32188 * string/Makefile (tests-ifunc): New variable.
32189 (tests): Add $(tests-ifunc).
32190 * string/test-memccpy.c (TEST_NAME): New macro.
32191 * string/test-memchr.c (TEST_NAME): Likewise.
32192 * string/test-memcmp.c (TEST_NAME): Likewise.
32193 * string/test-memcpy.c (TEST_NAME): Likewise.
32194 * string/test-memmem.c (TEST_NAME): Likewise.
32195 * string/test-memmove.c (TEST_NAME): Likewise.
32196 * string/test-memset.c (TEST_NAME): Likewise.
32197 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32198 * string/test-stpcpy.c (TEST_NAME): Likewise.
32199 * string/test-stpncpy.c (TEST_NAME): Likewise.
32200 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32201 * string/test-strcasestr.c (TEST_NAME): Likewise.
32202 * string/test-strcat.c (TEST_NAME): Likewise.
32203 * string/test-strchr.c (TEST_NAME): Likewise.
32204 * string/test-strcmp.c(TEST_NAME): Likewise.
32205 * string/test-strcpy.c (TEST_NAME): Likewise.
32206 * string/test-strcspn.c (TEST_NAME): Likewise.
32207 * string/test-strlen.c (TEST_NAME): Likewise.
32208 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32209 * string/test-strncmp.c (TEST_NAME): Likewise.
32210 * string/test-strncpy.c (TEST_NAME): Likewise.
32211 * string/test-strnlen.c (TEST_NAME): Likewise.
32212 * string/test-strpbrk.c (TEST_NAME): Likewise.
32213 * string/test-strrchr.c (TEST_NAME): Likewise.
32214 * string/test-strspn.c (TEST_NAME): Likewise.
32215 * string/test-strstr.c (TEST_NAME): Likewise.
32216 * string/test-bcopy-ifunc.c: New file.
32217 * string/test-bzero-ifunc.c: Likewise.
32218 * string/test-memccpy-ifunc.c: Likewise.
32219 * string/test-memchr-ifunc.c: Likewise.
32220 * string/test-memcmp-ifunc.c: Likewise.
32221 * string/test-memcpy-ifunc.c: Likewise.
32222 * string/test-memmem-ifunc.c: Likewise.
32223 * string/test-memmove-ifunc.c: Likewise.
32224 * string/test-mempcpy-ifunc.c: Likewise.
32225 * string/test-memset-ifunc.c: Likewise.
32226 * string/test-rawmemchr-ifunc.c: Likewise.
32227 * string/test-stpcpy-ifunc.c: Likewise.
32228 * string/test-stpncpy-ifunc.c: Likewise.
32229 * string/test-strcasecmp-ifunc.c: Likewise.
32230 * string/test-strcasestr-ifunc.c: Likewise.
32231 * string/test-strcat-ifunc.c: Likewise.
32232 * string/test-strchr-ifunc.c: Likewise.
32233 * string/test-strchrnul-ifunc.c: Likewise.
32234 * string/test-strcmp-ifunc.c: Likewise.
32235 * string/test-strcpy-ifunc.c: Likewise.
32236 * string/test-strcspn-ifunc.c: Likewise.
32237 * string/test-strlen-ifunc.c: Likewise.
32238 * string/test-strncasecmp-ifunc.c: Likewise.
32239 * string/test-strncat-ifunc.c: Likewise.
32240 * string/test-strncmp-ifunc.c: Likewise.
32241 * string/test-strncpy-ifunc.c: Likewise.
32242 * string/test-strnlen-ifunc.c: Likewise.
32243 * string/test-strpbrk-ifunc.c: Likewise.
32244 * string/test-strrchr-ifunc.c: Likewise.
32245 * string/test-strspn-ifunc.c: Likewise.
32246 * string/test-strstr-ifunc.c: Likewise.
32248 * debug/Makefile (tests-ifunc): New variable.
32249 (tests): Add $(tests-ifunc).
32250 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32251 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32252 * debug/test-stpcpy_chk-ifunc.c: New file.
32253 * debug/test-strcpy_chk-ifunc.c: Likewise.
32255 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32258 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32259 header is not read in.
32261 2012-10-19 Joseph Myers <joseph@codesourcery.com>
32263 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32264 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32265 directly. Pass built executable to script as
32266 $(built-program-cmd).
32267 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32268 $testprogram without using LD_LIBRARY_PATH and $ldso.
32270 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32271 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32272 $(rtld-installed-name).
32273 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32274 (rtld_installed_name): Likewise.
32275 (library_path): Likewise.
32276 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32277 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32278 $(run-program-prefix) to tst-tables.sh.
32279 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32280 it to run tst-table-from and tst-table-to.
32281 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32282 Pass it to tst-table.sh.
32283 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32284 $(run-program-prefix) to tst-gettext.sh.
32285 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32287 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32289 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32290 to run tst-gettext.
32291 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32292 to run tst-gettext2.
32293 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32294 to run tst-translit.
32295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32296 $(run-program-prefix) to tst-mtrace.sh.
32297 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32299 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32300 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32301 $(rtld-installed-name).
32302 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32303 (rtld_installed_name): Likewise.
32304 (run_program_prefix): New variable. Use it to run wordexp-test.
32306 * Makeconfig (ARCH): Remove all definitions.
32307 (machine): Likewise.
32308 [ARCH]: Remove conditional code.
32309 [!objdir]: Give error.
32310 [!objdir] (objpfx): Remove.
32311 [!objdir] (common-objpfx): Likewise.
32312 [!objdir] (common-objdir): Likewise.
32313 * configure.in (config_makefile): Remove. Hardcode Makefile in
32314 AC_CONFIG_FILES call.
32315 * configure: Regenerated.
32318 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32320 (testout): Likewise.
32322 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32323 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32324 $(rtld-installed-name).
32325 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32326 (rtld_installed_name): Likwise.
32327 (runit): Remove function.
32328 (run_getconf): New variable, Use it for running getconf binary.
32330 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32333 * string/test-memmem.c (check_result): New function.
32334 (do_one_test): Use it.
32335 (check1): New function.
32336 (test_main): Use it.
32338 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32340 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32342 2012-10-18 Joseph Myers <joseph@codesourcery.com>
32344 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32345 (_G_LSEEK64): Likewise.
32346 (_G_MMAP64): Likewise.
32347 (_G_FSTAT64): Likewise.
32348 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32349 (_G_LSEEK64): Likewise.
32350 (_G_MMAP64): Likewise.
32351 (_G_FSTAT64): Likewise.
32352 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32353 unconditional. Call __mmap64 directly.
32354 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32355 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32356 __lseek64 directly.
32357 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32358 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32360 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32361 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32362 __lseek64 directly.
32363 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32364 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32365 __lseek64 directly.
32366 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32367 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32368 __lseek64 directly.
32369 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32370 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32371 __fxstat64 directly.
32372 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32373 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32375 (freopen64) [!_G_OPEN64]: Remove conditional code.
32376 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32378 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32379 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32381 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32382 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32384 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32385 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32387 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32388 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32390 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32391 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32393 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32394 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32396 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32398 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32401 * manual/memory.texi (Malloc Tunable Parameters): Add note
32402 about free list pointers overwriting some perturb bytes.
32403 Wording suggested by Roland McGrath.
32405 2012-10-17 Joseph Myers <joseph@codesourcery.com>
32407 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32408 (lgamma_test): Likewise.
32409 (tgamma_test): Likewise.
32411 2012-10-16 Florian Weimer <fweimer@redhat.com>
32414 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32415 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32417 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32419 * NEWS: Mention BZ #14716.
32420 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32421 when removing AVAILABLE1_USES_J macro.
32423 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32425 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32426 (__bswap_64): __uint64_t for unsigned 64-bit int.
32428 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32430 * include/string.h (memmem): Declare libc hidden alias.
32431 * string/memmem.c (memmem): Define libc hidden alias.
32432 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32433 __read, __close instead of open, read, close.
32435 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32438 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32440 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32441 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32442 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32444 (__rawmemchr_sse2): Likewise.
32445 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32446 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32447 (__strchr_sse2): Likewise.
32448 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32449 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32450 (__strcasecmp_sse2): Likewise.
32451 (__strncasecmp_sse2): Likewise.
32452 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32453 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32454 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32455 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32456 (__strrchr_sse2): Likewise.
32457 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32459 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32460 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32461 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32462 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32463 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32464 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32465 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32466 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32467 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32468 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32469 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32470 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32471 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32472 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32473 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32474 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32475 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32476 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32477 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32478 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32479 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32480 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32481 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32482 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32483 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32485 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32486 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32487 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32488 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32490 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32492 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32493 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32494 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32495 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32497 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32499 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32500 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32501 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32502 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32504 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32506 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32507 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32508 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32509 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32510 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32511 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32512 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32513 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32514 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32515 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32516 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32517 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32518 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32519 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32520 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32521 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32522 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32523 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32524 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32525 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32526 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32527 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32528 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32530 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32536 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32538 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32540 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32541 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32542 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32543 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32544 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32546 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32547 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32548 * include/ifunc-impl-list.h: New file.
32549 * misc/ifunc-impl-list.c: Likewise.
32550 * misc/Makefile (routines): Add ifunc-impl-list.
32551 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32552 * string/test-string.h: Include <ifunc-impl-list.h>.
32553 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32554 TEST_NAME]: New variables.
32555 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32557 (test_init): Call __libc_ifunc_impl_list to initialize
32558 func_list if TEST_IFUNC and TEST_NAME are defined.
32560 * string/Makefile (strop-tests): Add bcopy and bzero.
32561 * string/test-bcopy.c: New file.
32562 * string/test-bzero.c: Likewise.
32563 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32565 * string/test-memset.c: Support bzero test if TEST_BZERO is
32567 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32569 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32571 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32574 2012-10-10 Joseph Myers <joseph@codesourcery.com>
32576 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32577 * configure: Regenerated.
32579 * Makeconfig (+link-static-before-libc): Don't include
32580 $(link-static-libc).
32582 * libio/libio.h (_IO_pos_t): Remove.
32584 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32586 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32589 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32591 * crypt/crypt-entry.c: Include fips-private.h.
32592 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32593 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32594 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32595 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32597 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32599 * crypt/crypt-private.h: Include stdbool.h.
32600 (_ufc_setup_salt_r): Return bool.
32601 * crypt/crypt-entry.c: Include errno.h.
32602 (__crypt_r): Return NULL with EINVAL for bad salt.
32603 * crypt/crypt_util.c (bad_for_salt): New.
32604 (_ufc_setup_salt_r): Check that salt is long enough and within
32605 the specified alphabet.
32606 * crypt/badsalttest.c: New file.
32607 * crypt/Makefile (tests): Add it.
32608 ($(objpfx)badsalttest): New.
32610 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32612 * NEWS: Add entry for BZ #14602.
32614 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32616 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32618 * math/libm-test.inc: Update comment listing what functions and
32620 (isgreater_test): New function.
32621 (isgreaterequal_test): Likewise.
32622 (isless_test): Likewise.
32623 (islessequal_test): Likewise.
32624 (islessgreater_test): Likewise.
32625 (isunordered_test): Likewise.
32626 (main): Call the new functions.
32628 2012-10-09 Roland McGrath <roland@hack.frob.com>
32630 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32631 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32632 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32633 * sysdeps/i386/configure: Regenerated.
32634 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32635 * sysdeps/mach/configure: Regenerated.
32636 * sysdeps/mach/hurd/configure: Regenerated.
32637 * sysdeps/powerpc/configure: Regenerated.
32638 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32639 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32640 * sysdeps/s390/s390-32/configure: Regenerated.
32641 * sysdeps/s390/s390-64/configure: Regenerated.
32642 * sysdeps/sh/configure: Regenerated.
32643 * sysdeps/sparc/configure: Regenerated.
32644 * sysdeps/unix/sysv/linux/configure: Regenerated.
32645 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32646 * sysdeps/x86_64/configure: Regenerated.
32648 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32649 defined. Don't check if MAP is NULL.
32651 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32653 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32654 (_G_stat64): Likewise.
32655 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32656 (_G_stat64): Likewise.
32657 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32658 instead of struct _G_stat64.
32659 * libio/fileops.c (mmap_remap_check): Likewise.
32660 (decide_maybe_mmap): Likewise.
32661 (_IO_new_file_seekoff): Likewise.
32662 (_IO_file_stat): Likewise.
32663 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32665 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32666 instead of struct _G_stat64.
32667 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32669 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32672 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32674 (CHECK_EOL): New macro.
32675 (two_way_short_needle): Check beginning of haystack for EOL. Use
32677 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32678 Replace with CHECK_EOL.
32679 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32680 Replace with CHECK_EOL.
32682 2012-10-08 Joseph Myers <joseph@codesourcery.com>
32684 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32686 * math/libm-test.inc: Update comment listing what functions and
32688 (finite_test): New function.
32689 (isinf_test): Likewise.
32690 (isnan_test): Likewise.
32691 (fpclassify_test): Test subnormal input.
32692 (isfinite_test): Likewise.
32693 (isnormal_test): Likewise.
32694 (main): Call the new functions.
32696 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32699 * Makerules (%.dynsym): Force C locale when running
32700 $(OBJDUMP) --dynamic-syms.
32702 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32704 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32707 2012-10-06 David S. Miller <davem@davemloft.net>
32709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32710 upper 32-bits of the length value in %o2 since we use branch-on-register
32711 tests which consider the entire 64-bit register.
32713 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32715 * string/test-strstr.c (check2): Add a test for page boundary.
32717 2012-10-05 David S. Miller <davem@davemloft.net>
32719 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32720 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32722 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32724 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32725 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32726 and bzero when HWCAP_SPARC_CRYPTO is present.
32728 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32731 * string/test-strstr.c (check2): New function.
32732 (test_main): Call check2.
32734 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32736 * string/bug-strcasestr1.c (do_test): Moved to ...
32737 * string/test-strcasestr.c (check1): Here. New function.
32738 (do_one_test): Break out result checking code into ...
32739 (check_result): This. New function.
32740 (do_one_test): Call check_result.
32741 (test_main): Call check1.
32742 * string/bug-strchr1.c (do_test): Moved to ...
32743 * string/test-strchr.c (check1): Here. New function.
32744 (do_one_test): Break out result checking code into ...
32745 (check_result): This. New function.
32746 (do_one_test): Call check_result.
32747 (test_main): Call check1.
32748 * string/bug-strstr1.c (main): Moved to ...
32749 * string/test-strstr.c (check1): Here. New function.
32750 (do_one_test): Break out result checking code into ...
32751 (check_result): This. New function.
32752 (do_one_test): Call check_result.
32753 (test_main): Call check1.
32754 * string/bug-strcasestr1.c: Removed.
32755 * string/bug-strchr1.c: Likewise.
32756 * string/bug-strstr1.c: Likewise.
32758 * elf/Makefile (dl-routines): Add hwcaps.
32759 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32760 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32761 (_dl_important_hwcaps): Moved to ...
32762 * elf/dl-hwcaps.c: Here. New file.
32763 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32766 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32767 if IS_IN_rtld isn't defined.
32769 * elf/dl-support.c (_dl_sysinfo_map): New.
32770 Include "get-dynamic-info.h" and "setup-vdso.h".
32771 (_dl_non_dynamic_init): Call setup_vdso.
32772 * elf/dynamic-link.h: Don't include <assert.h>.
32773 (elf_get_dynamic_info): Moved to ...
32774 * elf/get-dynamic-info.h: Here. New file.
32775 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32776 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32777 * elf/setup-vdso.h: Here. New file.
32778 * elf/rtld.c: Include "setup-vdso.h".
32779 (dl_main): Call setup_vdso.
32781 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32783 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32784 creal in comment listing functions tested. List finite, isinf,
32785 isnan, isless, islessequal, isgreater, isgreaterequal,
32786 islessgreater, isunordered, lgamma_r and pow10 as functions and
32787 macros not tested. Mention which functions not tested are aliases
32788 for other functions. Fix typo. Note that signs of NaNs are not
32791 * scripts/config.guess: Update from config.git.
32792 * scripts/config.sub: Likewise.
32794 2012-10-04 Roland McGrath <roland@hack.frob.com>
32796 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32797 * misc/madvise.c (madvise): Renamed to __madvise.
32798 Make madvise a weak alias.
32799 * include/sys/mman.h: Declare __madvise.
32800 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32801 * sysdeps/unix/syscalls.list
32802 (madvise): Make __madvise the strong name, and madvise a weak alias.
32803 * sysdeps/unix/sysv/linux/syscalls.list
32804 (madvise, mmap): Remove redundant entries.
32805 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32806 * malloc/malloc.c (mtrim): Likewise.
32807 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32809 2012-10-03 Roland McGrath <roland@hack.frob.com>
32811 * sysdeps/mach/hurd/dl-cache.c: File removed.
32812 * config.h.in (USE_LDCONFIG): New #undef.
32813 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32814 * configure: Regenerated.
32815 * elf/Makefile (dl-routines): Add dl-cache only under
32816 [$(use-ldconfig) = yes].
32817 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32818 cache on [USE_LDCONFIG].
32819 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32821 * elf/rtld.c (dl_main): Likewise.
32823 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32825 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32826 _SC_LEVEL4_CACHE_LINESIZE.
32828 2012-10-03 Roland McGrath <roland@hack.frob.com>
32830 * sysdeps/unix/bsd/confstr.h: File removed.
32832 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32834 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32837 2012-10-02 Roland McGrath <roland@hack.frob.com>
32839 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32840 Make 'mapoff' field ElfW(Off) rather than off_t.
32842 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32844 * nscd/Makefile: Remove nscd-cflags and all its users.
32845 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32846 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32849 * malloc.c (malloc_printerr): Clarify error message.
32851 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32855 Set bit_FMA_Usable if FMA is supported.
32856 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32858 (bit_FMA4_Usable): Updated.
32859 (index_FMA_Usable): New macro.
32860 (CPUID_FMA): Likewise
32861 (HAS_FMA): Defined with bit_FMA_Usable.
32863 2012-10-01 Roland McGrath <roland@hack.frob.com>
32865 * bits/types.h (__swblk_t): Type removed.
32866 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32867 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32869 (__SWBLK_T_TYPE): Likewise.
32870 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32871 (__SWBLK_T_TYPE): Likewise.
32872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32873 (__SWBLK_T_TYPE): Likewise.
32874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32875 (__SWBLK_T_TYPE): Likewise.
32877 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32878 Honza Horak <hhorak@redhat.com>
32880 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32881 (xdr_mapname): Use YPMAXMAP as maxsize.
32882 (xdr_peername): Use YPMAXPEER as maxsize.
32883 (xdr_keydat): Use YPAXRECORD as maxsize.
32884 (xdr_valdat): Use YPMAXRECORD as maxsize.
32886 2012-10-01 Roland McGrath <roland@hack.frob.com>
32888 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32890 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32891 * csu/init-first.c: ... here.
32892 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32893 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32894 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32895 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32896 * sysdeps/i386/init-first.c: File removed.
32897 * sysdeps/sh/init-first.c: File removed.
32899 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32903 if x * y might underflow to zero and z is zero.
32904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32905 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32906 * math/libm-test.inc (min_subnorm_value): New variable.
32907 (fma_test): Add more tests.
32908 (fma_test_towardzero): Likewise.
32909 (fma_test_downward): Likewise
32910 (fma_test_upward): Likewise.
32911 (initialize): Set min_subnorm_value.
32913 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32918 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32919 mode for addition resulting in exact zero.
32920 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32923 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32925 * math/libm-test.inc (fma_test): Add more tests.
32926 (fma_test_towardzero): New function.
32927 (fma_test_downward): Likewise.
32928 (fma_test_upward): Likewise.
32929 (main): Call the new functions.
32931 2012-09-28 David S. Miller <davem@davemloft.net>
32933 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32935 2012-09-28 Roland McGrath <roland@hack.frob.com>
32937 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32938 instead of SIGALRM.
32940 * sysdeps/gnu/_G_config.h: Moved to ...
32941 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32942 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32943 * sysdeps/generic/_G_config.h: ... here.
32945 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32947 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32949 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32950 Conditionalize target on [libnss_test1.so-version].
32952 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32954 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32955 (elfobjdir): Move out of conditionals.
32957 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32958 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32959 (__nss_lookup_function): Conditionalize label remove_from_tree on
32960 [!DO_STATIC_NSS || SHARED], matching its only use.
32962 2012-09-28 David S. Miller <davem@davemloft.net>
32964 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32965 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32967 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32969 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32971 when HWCAP_SPARC_CRYPTO is present.
32973 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32975 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32977 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32980 * stdio-common/vfprintf.c (process_string_arg): Revert
32983 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32985 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32987 * stdio-common/tst-sprintf.c: Include <locale.h>
32988 (main): Test sprintf's handling of incomplete multibyte
32991 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32993 * elf/dl-runtime.c (VERSYMIDX): Removed.
32994 * elf/dl-version.c (VERSYMIDX): Likewise.
32995 * elf/do-rel.h (VERSYMIDX): Likewise.
32996 (VALIDX): Likewise.
32997 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32998 * elf/rtld.c (VALIDX): Likewise.
32999 (ADDRIDX): Likewise.
33000 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33001 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33002 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33003 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33004 (VALIDX): Likewise.
33005 (ADDRIDX): Likewise.
33007 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33009 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33011 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33014 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33016 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33017 addresses are in the same scope as 192.0.2/24.
33018 * posix/gai.conf: Document new scope table defaults.
33020 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33023 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33024 for ftell. Compute offsets from write pointers instead.
33025 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33027 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33030 * libio/Makefile (tests): New test case tst-fseek.
33031 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33032 combination works in wide mode.
33033 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33034 state when the external buffer state changes.
33036 2012-09-27 David S. Miller <davem@davemloft.net>
33039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33040 pass reloc->r_addend in as the 'high' argument to
33041 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33045 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33047 * rt/tst-aio2.c: Include <pthread.h>.
33048 * rt/tst-aio3.c: Likewise.
33050 2012-09-27 Steve Ellcey <sellcey@mips.com>
33052 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33054 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33056 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33057 contents on [SHARED].
33059 2012-09-26 Marek Polacek <polacek@redhat.com>
33063 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33064 for C++ and GCC <4.3 as well as for non GCC compilers.
33066 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33070 2012-09-25 Roland McGrath <roland@hack.frob.com>
33072 * Makefile.in (all, install): Declare with .PHONY.
33073 Reported by Michael Hope <michael.hope@linaro.org>.
33075 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33077 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33078 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33080 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33082 (sydep_routines): Add the new and the internal functions.
33083 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33084 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33086 (GLIBC_2.17): Add the new function.
33087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33088 (GLIBC_2.17): Likewise.
33089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33090 (GLIBC_2.17): Likewise.
33091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33092 (GLIBC_2.17): Likewise.
33093 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33095 2012-09-25 Alan Modra <amodra@gmail.com>
33097 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33098 Add release barrier before setting once_control to say
33099 initialisation is done. Add hints on lwarx. Use macro in
33101 (clear_once_control): Add release barrier.
33103 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33106 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33108 * math/s_clog10.c (__clog10): Likewise.
33109 * math/s_clog10f.c (__clog10f): Likewise.
33110 * math/s_clog10l.c (__clog10l): Likewise.
33111 * math/s_clogf.c (__clogf): Likewise.
33112 * math/s_clogl.c (__clogl): Likewise.
33113 * math/Makefile (libm-calls): Add x2y2m1.
33114 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33115 (__x2y2m1): Likewise.
33116 (__x2y2m1l): Likewise.
33117 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33118 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33121 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33122 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33123 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33124 * sysdeps/i386/fpu/libm-test-ulps: Update.
33125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33128 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33129 int as type of variable DEPTH.
33130 (glob): Use size_t instead of int as type of variables NEWCOUNT
33133 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33135 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33136 Add s_sincosf-sse2.
33137 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33138 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33139 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33140 macros for using routine as __sincosf_ia32.
33141 Use macro for function declaration and weak_alias.
33142 * sysdeps/i386/fpu/libm-test-ulps: Update.
33144 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33147 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33148 subnormal argument.
33149 * math/s_cexpf.c (__cexpf): Likewise.
33150 * math/s_csinf.c (__csinf): Likewise.
33151 * math/s_csinhf.c (__csinhf): Likewise.
33152 * math/s_ctanf.c (__ctanf): Likewise.
33153 * math/s_ctanhf.c (__ctanhf): Likewise.
33154 * math/s_ccosh.c (__ccoshf): Likewise.
33155 * math/s_cexp.c (__cexpl): Likewise.
33156 * math/s_csin.c (__csin): Likewise.
33157 * math/s_csinh.c (__csinh): Likewise.
33158 * math/s_ctan.c (__ctan): Likewise.
33159 * math/s_ctanh.c (ctanh): Likewise.
33160 * math/s_ccoshl.c (__ccoshl): Likewise.
33161 * math/s_cexpl.c (__cexpl): Likewise.
33162 * math/s_csinl.c (__csinl): Likewise.
33163 * math/s_csinhl.c (__csinhl): Likewise.
33164 * math/s_ctanl.c (__ctanl): Likewise.
33165 * math/s_ctanhl.c (__ctanhl): Likewise.
33167 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33169 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33170 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33171 (_IO_off_t): Define to __off_t, not _G_off_t.
33172 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33173 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33174 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33175 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33176 type of __dummy and __dummy2 fields.
33177 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33178 (_G_ssize_t): Likewise.
33179 (_G_off_t): Likewise.
33180 (_G_pid_t): Likewise.
33181 (_G_uid_t): Likewise.
33182 (_G_wchar_t): Likewise.
33183 (_G_wint_t): Likewise.
33184 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33185 (_G_ssize_t): Likewise.
33186 (_G_off_t): Likewise.
33187 (_G_pid_t): Likewise.
33188 (_G_uid_t): Likewise.
33189 (_G_wchar_t): Likewise.
33190 (_G_wint_t): Likewise.
33191 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33192 (_G_ssize_t): Likewise.
33193 (_G_off_t): Likewise.
33194 (_G_pid_t): Likewise.
33195 (_G_uid_t): Likewise.
33196 (_G_wchar_t): Likewise.
33197 (_G_wint_t): Likewise.
33199 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33201 * malloc/arena.c: Include malloc-sysdep.h.
33202 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33203 is sufficient to shrink the heap or an unmap is needed.
33204 * sysdeps/generic/malloc-sysdep.h: New file. Define
33205 new function check_may_shrink_heap.
33206 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33207 new function check_may_shrink_heap.
33209 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33211 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33214 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33216 * catgets/test-gencat.sh: Add "set -e".
33217 * elf/tst-pathopt.sh: Likewise.
33218 * grp/tst_fgetgrent.sh: Likewise.
33219 * iconvdata/run-iconv-test.sh: Likewise.
33220 * intl/tst-gettext.sh: Likewise.
33221 * intl/tst-gettext2.sh: Likewise.
33222 * intl/tst-gettext4.sh: Likewise.
33223 * intl/tst-gettext6.sh: Likewise.
33224 * intl/tst-translit.sh: Likewise.
33225 * io/ftwtest-sh: Likewise.
33226 * libio/test-freopen.sh: Likewise.
33227 * malloc/tst-mtrace.sh: Likewise.
33228 * posix/globtest.sh: Likewise.
33229 * posix/tst-getconf.sh: Likewise.
33230 * posix/wordexp-tst.sh: Likewise.
33231 * stdio-common/tst-printf.sh: Likewise.
33232 * stdio-common/tst-unbputc.sh: Likewise.
33233 * stdlib/tst-fmtmsg.sh: Likewise.
33234 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33235 * catgets/Makefile: Do not specify -e option when running
33236 testsuite shell scripts.
33237 * elf/Makefile: Likewise.
33238 * grp/Makefile: Likewise.
33239 * iconvdata/Makefile: Likewise.
33240 * intl/Makefile: Likewise.
33241 * io/Makefile: Likewise.
33242 * libio/Makefile: Likewise.
33243 * malloc/Makefile: Likewise.
33244 * posix/Makefile: Likewise.
33245 * stdio-common/Makefile: Likewise.
33246 * stdlib/Makefile: Likewise.
33247 * sysdeps/x86_64/Makefile: Likewise.
33249 * io/ftwtest-sh: Add copyright header.
33250 * posix/globtest.sh: Likewise.
33251 * posix/tst-getconf.sh: Likewise.
33252 * posix/wordexp-tst.sh: Likewise.
33253 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33255 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33258 * Makeconfig (+link): Defined as $(+link-static) if
33259 $(build-shared) isn't yes.
33260 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33262 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33264 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33267 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33268 new chunk size with MALLOC_ALIGN_MASK.
33270 2012-09-24 Joseph Myers <joseph@codesourcery.com>
33273 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33275 (__printf_fphex): Determine rounding using get_rounding_mode and
33277 * stdio-common/tst-printf-round.c (struct hex_test): New
33279 (hex_tests): New variable.
33280 (test_hex_in_one_mode): New function.
33281 (do_test): Also run tests for hex float output.
33283 2012-09-21 Joseph Myers <joseph@codesourcery.com>
33285 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33286 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33287 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33288 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33289 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33290 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33291 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33292 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33294 2012-09-20 Joseph Myers <joseph@codesourcery.com>
33296 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33297 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33298 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33299 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33301 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33304 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33306 * elf/tst-rtld-load-self.sh: New test.
33307 * elf/Makefile: Run it.
33309 2012-09-18 Joseph Myers <joseph@codesourcery.com>
33311 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33312 (tst-writev-ENV): Remove.
33313 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33315 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33317 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33319 2012-09-17 Joseph Myers <joseph@codesourcery.com>
33321 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33323 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33325 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33326 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33330 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33333 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33334 * config.make.in (have-cpp-asm-debuginfo): Removed.
33335 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33336 * configure: Regenerated.
33338 2012-09-14 Joseph Myers <joseph@codesourcery.com>
33341 * stdio-common/printf_fp.c: Include <stdbool.h> and
33343 (___printf_fp): Determine rounding using get_rounding_mode and
33345 * stdio-common/tst-printf-round.c: New file.
33346 * stdio-common/Makefile (tests): Add tst-printf-round.
33347 (link-libm): New variable.
33348 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33350 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33353 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33354 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33356 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33359 2012-09-13 Joseph Myers <joseph@codesourcery.com>
33361 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33362 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33363 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33364 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33366 2012-09-12 Joseph Myers <joseph@codesourcery.com>
33369 * include/rounding-mode.h: New file.
33370 * sysdeps/generic/get-rounding-mode.h: Likewise.
33371 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33372 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33373 (MAX_VALUE): New macro.
33374 (MIN_VALUE): Likewise.
33375 (overflow_value): New function.
33376 (underflow_value): Likewise.
33377 (round_and_return): Use overflow_value and underflow_value to
33378 determine return values in overflow and underflow cases. Use
33379 round_away to determine rounding depending on rounding mode.
33380 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33381 determine return values in overflow and underflow cases.
33382 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33383 (struct test_results): New structure.
33384 (struct test): Use struct test_results to store expected results
33385 for all rounding modes.
33386 (TEST): Include expected results for all rounding modes.
33387 (test_in_one_mode): New function.
33388 (do_test): Use test_in_one_mode to compute and check results.
33389 Check results for all rounding modes.
33390 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33393 2012-12-09 Allan McRae <allan@archlinux.org>
33395 * sysdeps/i386/fpu/libm-test-ulps: Update
33397 2012-09-11 Joseph Myers <joseph@codesourcery.com>
33399 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33400 (_G_int32_t): Likewise.
33401 (_G_uint16_t): Likewise.
33402 (_G_uint32_t): Likewise.
33403 (_G_HAVE_BOOL): Likewise.
33404 (_G_HAVE_ATEXIT): Likewise.
33405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33406 (_G_HAVE_IO_FILE_OPEN): Likewise.
33407 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33408 (_G_int32_t): Likewise.
33409 (_G_uint16_t): Likewise.
33410 (_G_uint32_t): Likewise.
33411 (_G_HAVE_BOOL): Likewise.
33412 (_G_HAVE_ATEXIT): Likewise.
33413 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33414 (_G_HAVE_IO_FILE_OPEN): Likewise.
33415 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33416 (_G_int32_t): Likewise.
33417 (_G_uint16_t): Likewise.
33418 (_G_uint32_t): Likewise.
33419 (_G_HAVE_BOOL): Likewise.
33420 (_G_HAVE_ATEXIT): Likewise.
33421 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33422 (_G_HAVE_IO_FILE_OPEN): Likewise.
33424 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33426 * csu/libc-tls.c: Update copyright years.
33428 2012-09-10 Joseph Myers <joseph@codesourcery.com>
33430 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33431 [!_G_USING_THUNKS]: Remove conditional code.
33432 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33433 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33435 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33436 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33437 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33438 (_G_VTABLE_LABEL_PREFIX): Likewise.
33439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33440 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33441 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33442 (_G_VTABLE_LABEL_PREFIX): Likewise.
33443 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33444 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33445 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33446 (_G_VTABLE_LABEL_PREFIX): Likewise.
33447 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33449 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33451 * libio/Makefile: Include ../Makeconfig before tests.
33452 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33453 only if $(build-shared) is yes.
33455 * iconv/gconv_db.c: Update copyright years.
33457 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33459 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33460 unwind info if defined PIC. Fix special cases description.
33461 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33463 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33465 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33467 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33469 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33471 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33474 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33475 (LDLIBS-tst-chk4): This.
33476 (LDFLAGS-tst-chk5): Renamed to ...
33477 (LDLIBS-tst-chk5): This.
33478 (LDFLAGS-tst-chk6): Renamed to ...
33479 (LDLIBS-tst-chk6): This.
33480 (LDFLAGS-tst-lfschk4): Renamed to ...
33481 (LDLIBS-tst-lfschk4): This.
33482 (LDFLAGS-tst-lfschk5): Renamed to ...
33483 (LDLIBS-tst-lfschk5): This.
33484 (LDFLAGS-tst-lfschk6): Renamed to ...
33485 (LDLIBS-tst-lfschk6): This.
33487 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33488 on $(common-objpfx)soversions.mk.
33490 2012-09-07 Joseph Myers <joseph@codesourcery.com>
33493 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33496 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33498 * malloc/arena.c (arena_get_retry): New function that gets
33499 another arena for the caller to try its request on.
33500 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33501 current arena cannot fulfill the request.
33502 (__libc_memalign): Likewise.
33503 (__libc_memalign): Likewise.
33504 (__libc_pvalloc): Likewise.
33505 (__libc_calloc): Likewise.
33507 2012-09-05 John Tobey <john.tobey@gmail.com>
33510 * manual/arith.texi (Operations on Complex): Fix description
33511 of carg branch cut.
33513 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33516 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33520 * manual/memory.texi (Memory): Make order of menu items match
33523 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33525 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33526 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33527 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33529 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33531 * csu/libc-tls.c (static_dtv): Renamed to ...
33532 (_dl_static_dtv): This. Make it global.
33533 (_dl_initial_dtv): Removed.
33534 (__libc_setup_tls): Updated.
33535 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33536 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33539 2012-09-06 Petr Machata <pmachata@redhat.com>
33541 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33542 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33543 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33544 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33546 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33549 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33550 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33553 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33556 * Makeconfig (link-static-before-libc): Replace $(+prector)
33558 (link-static-after-libc): Replace $(+postctor) with
33560 (link-bounded): Replace $(+prector)/$(+postctor) with
33561 $(+prectorT)/$(+postctorT).
33562 (+prectorT): New macro.
33563 (+postctorT): Likewise.
33565 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33567 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33568 (round_str): Handle values above the maximum for IBM long double
33570 * stdlib/tst-strtod-round.c (tests): Regenerated.
33572 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33574 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33576 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33577 zarch_nohighgprs around the zarch optimized routines.
33578 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33579 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33583 2012-09-05 David S. Miller <davem@davemloft.net>
33585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33587 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33588 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33589 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33590 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33593 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33595 * malloc/arena.c: Fold copyright years.
33596 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33598 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33600 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33602 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33604 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33606 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33608 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33609 change internal state upon failure.
33611 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33613 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33614 * malloc/memusage.c (mmap): Likewise.
33615 (mmap64, mremap): Likewise. Adjust name in comment.
33617 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33619 * libio/fileops.c: Fix typos in comments.
33620 * libio/oldfileops.c: Likewise.
33621 * libio/wfileops.c: Likewise.
33623 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33626 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33627 (tst-malloc-usable-ENV): Set environment for test case.
33628 * malloc/hooks.c (malloc_check_get_size): New function to get
33630 * malloc/malloc.c (musable): Use malloc_check_get_size.
33631 * malloc/tst-malloc-usable.c: New test case.
33633 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33635 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33637 2012-09-05 Allan McRae <allan@archlinux.org>
33640 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33641 determine header location.
33642 * configure: Regenerated.
33644 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33646 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33648 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33649 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33651 (test): Regenerate.
33653 2012-09-04 David S. Miller <davem@davemloft.net>
33655 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33656 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33657 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33659 2012-09-04 Florian Weimer <fweimer@redhat.com>
33661 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33664 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33666 2012-09-04 Joseph Myers <joseph@codesourcery.com>
33669 * libio/iogetdelim.c: Include <limits.h>.
33670 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33671 + len + 1 would overflow.
33673 2012-09-03 Andreas Jaeger <aj@suse.de>
33675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33676 * sysdeps/i386/fpu/libm-test-ulps: Update.
33678 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33680 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33681 Add s_sinf-sse2, s_conf-sse2.
33683 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33684 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33685 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33686 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33688 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33689 for using routine as __sinf_ia32.
33690 Use macro for function declaration and weak_alias.
33691 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33692 for using routine as __cosf_ia32.
33693 Use macro for function declaration and weak_alias.
33695 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33696 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33698 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33699 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33702 * math/libm-test.inc (cos_test): Add more test cases.
33703 (sin_test): Likewise.
33704 (sincos_test): Likewise.
33706 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33708 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33709 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33711 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33713 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33716 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33717 first element of the GOT.
33718 (elf_machine_load_address): Return the difference between
33719 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33721 2012-09-01 Allan McRae <allan@archlinux.org>
33724 * configure.in (AWK): Require gawk version 3.0 or later.
33725 * configure: Regenerated.
33727 2012-09-01 Joseph Myers <joseph@codesourcery.com>
33729 * sysdeps/unix/sysv/linux/kernel-features.h
33730 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33731 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33732 [__NR_clock_getres]: Make code unconditional.
33733 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33734 (clock_getcpuclockid): Remove code left unreachable by removal of
33736 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33737 code unconditional.
33738 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33739 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33740 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33741 Make code unconditional.
33742 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33743 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33744 * sysdeps/unix/sysv/linux/clock_settime.c
33745 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33747 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33748 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33750 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33753 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33754 scripts/test-installation.pl.
33756 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33757 and $ld_so_version if it is set.
33759 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33762 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33763 failure if reading from procfs failed.
33764 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33766 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33768 * sysdeps/unix/sysv/linux/kernel-features.h
33769 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33770 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33771 Remove conditional code.
33772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33773 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33774 Remove conditional code.
33775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33776 * sysdeps/unix/sysv/linux/i386/fxstat.c
33777 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33779 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33780 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33782 * sysdeps/unix/sysv/linux/i386/lxstat.c
33783 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33785 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33786 Remove conditional code.
33787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33788 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33789 Remove conditional code.
33790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33791 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33792 <kernel-features.h>.
33793 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33795 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33796 Remove conditional code.
33797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33798 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33799 Remove conditional.
33801 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33804 * NEWS: Add fixed bug number.
33806 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33809 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33810 underflowing exponent in case of negative sign.
33811 * stdlib/tst-strtod-round-data: Add more tests.
33812 * stdlib/tst-strtod-round.c (tests): Regenerated.
33815 * stdlib/strtod_l.c (NDIG): Remove.
33816 (HEXNDIG): Likewise.
33817 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33818 smallest representable value.
33819 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33820 lie within an exact representation of 1/2 ulp of the result.
33821 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33823 (TENS_P9_IDX): Define unconditionally.
33824 (TENS_P9_SIZE): Likewise.
33825 (TENS_P10_IDX): Likewise.
33826 (TENS_P10_SIZE): Likewise.
33827 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33828 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33829 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33830 entries for 10^2^13 and 10^2^14.
33831 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33832 (TENS_P13_IDX): Define.
33833 (TENS_P13_SIZE): Likewise.
33834 (TENS_P14_IDX): Likewise.
33835 (TENS_P14_SIZE): Likewise.
33836 (_fpioconst_pow10): Change array size to
33837 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33839 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33840 1024]: Add entries for 10^2^13 and 10^2^14.
33841 [LAST_POW10 > _LAST_POW10]: Remove #error.
33842 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33843 (_fpioconst_pow10): Change array size to
33844 FPIOCONST_POW10_ARRAY_SIZE.
33845 * stdlib/gen-fpioconst.c: New file.
33846 * stdlib/gen-tst-strtod-round.c: Likewise.
33847 * stdlib/tst-strtod-round-data: Likewise.
33848 * stdlib/tst-strtod-round.c: Likewise.
33849 * stdlib/Makefile (tests): Add tst-strtod-round.
33852 * stdlib/strtod_l.c: Include <stdint.h>.
33853 (NDEBUG): Do not define.
33854 (round_and_return): Change EXPONENT parameter to type intmax_t.
33855 Rearrange calculations to avoid internal overflow possibilities.
33856 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33857 Rearrange calculations to avoid internal overflow possibilities.
33858 Assert that number fits inside MPNSIZE limbs.
33859 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33860 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33861 calculations and add assertions to avoid internal overflow
33862 possibilities. Add casts to avoid signed/unsigned operations.
33863 * stdlib/tst-strtod-overflow.c: New file.
33864 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33866 2012-08-25 Marek Polacek <polacek@redhat.com>
33868 * time/time.h: Fix some typos in comments.
33870 2012-08-23 Roland McGrath <roland@hack.frob.com>
33872 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33873 * posix/tst-rfc3484-2.c: Likewise.
33874 * posix/tst-rfc3484-3.c: Likewise.
33876 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33878 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33879 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33881 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33883 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33884 #include of fxstatat64.c.
33886 2012-08-22 Roland McGrath <roland@hack.frob.com>
33888 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33889 * shadow/getspent_r.c: Likewise.
33890 * shadow/getspnam.c: Likewise.
33891 * shadow/getspnam_r.c: Likewise.
33892 * gshadow/getsgent.c: Likewise.
33893 * gshadow/getsgent_r.c: Likewise.
33894 * gshadow/getsgnam.c: Likewise.
33895 * gshadow/getsgnam_r.c: Likewise.
33896 * inet/getnetbyad.c: Likewise.
33897 * inet/getnetbyad_r.c: Likewise.
33898 * inet/getnetbynm.c: Likewise.
33899 * inet/getnetbynm_r.c: Likewise.
33900 * inet/getnetent.c: Likewise.
33901 * inet/getnetent_r.c: Likewise.
33902 * inet/getproto.c: Likewise.
33903 * inet/getproto_r.c: Likewise.
33904 * inet/getprtent.c: Likewise.
33905 * inet/getprtent_r.c: Likewise.
33906 * inet/getprtname.c: Likewise.
33907 * inet/getprtname_r.c: Likewise.
33908 * inet/getrpcbyname.c: Likewise.
33909 * inet/getrpcbyname_r.c: Likewise.
33910 * inet/getrpcbynumber.c: Likewise.
33911 * inet/getrpcbynumber_r.c: Likewise.
33912 * inet/getrpcent.c: Likewise.
33913 * inet/getrpcent_r.c: Likewise.
33914 * inet/getaliasent.c: Likewise.
33915 * inet/getaliasent_r.c: Likewise.
33916 * inet/getaliasname.c: Likewise.
33917 * inet/getaliasname_r.c: Likewise.
33918 * nscd/getgrgid_r.c: Likewise.
33919 * nscd/getgrnam_r.c: Likewise.
33920 * nscd/gethstbyad_r.c: Likewise.
33921 * nscd/gethstbynm3_r.c: Likewise.
33922 * nscd/getpwnam_r.c: Likewise.
33923 * nscd/getpwuid_r.c: Likewise.
33924 * nscd/getsrvbynm_r.c: Likewise.
33925 * nscd/getsrvbypt_r.c: Likewise.
33926 * nscd/gai.c: Likewise.
33928 * configure.in (build_nscd): New substituted variable, set
33929 by --disable-build-nscd and defaults to $use_nscd.
33930 * configure: Regenerated.
33931 * config.make.in (build-nscd): New substituted variable.
33932 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33933 Change conditional to require [$(build-nscd) = yes] as well.
33934 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33937 * configure.in (use_nscd): New substituted variable, set by
33938 --disable-nscd. If enabled, define USE_NSCD.
33939 * configure: Regenerated.
33940 * config.h.in: Add USE_NSCD.
33941 * config.make.in (use-nscd): New substituted variable.
33942 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33943 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33944 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33945 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33946 (CFLAGS-getgrnam_r.c): Likewise.
33947 (CFLAGS-initgroups.c): Likewise.
33948 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33949 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33951 * inet/getnetgrent_r.c
33952 (nscd_setnetgrent): New function, broken out of ...
33953 (setnetgrent): ... here. Call it.
33954 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33955 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33956 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33957 * nscd/Makefile (routines, aux): Move definitions after include of
33958 Makeconfig. Conditionalize on [$(use-nscd) != no].
33959 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33960 Conditionalize on [USE_NSCD].
33961 (is_nscd, nscd_init_cb): Likewise.
33962 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33963 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33964 * nss/nss_db/db-init.c: Likewise.
33965 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33967 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33968 (make_request): Use it.
33969 (cache_valid_p): New function.
33970 (__check_pf): Use it.
33971 * NEWS: Add item for --disable-nscd.
33973 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33975 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33976 to support sed >= 4.2.1-20-ga9bf076.
33977 * configure: Regenerated.
33979 2012-08-22 Roland McGrath <roland@hack.frob.com>
33981 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33982 Conditionalize whole body on [IREL].
33984 2012-08-22 Jeff Law <law@redhat.com>
33987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33988 if the family is PF_UNSPEC.
33990 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33992 * Makerules (lib-version): Rename from V.
33993 (install-lib-nosubdir): Change V to lib-version.
33995 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33998 * powerpc32/power6/wcschr.c: New file.
33999 * powerpc32/power6/wcscpy.c: New file.
34000 * powerpc32/power6/wcsrchr.c: New file.
34001 * powerpc64/power6/wcschr.c: New file.
34002 * powerpc64/power6/wcscpy.c: New file.
34003 * powerpc64/power6/wcsrchr.c: New file.
34005 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34007 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34008 (two_way_short_needle): Use it.
34009 * string/strstr.c (AVAILABLE1_USES_J): Define.
34010 * string/strcasestr.c: Likewise.
34012 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34014 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34017 * NEWS: Add an entry.
34018 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34019 define their defaults.
34020 (two_way_short_needle): Detect end-of-string on-the-fly.
34021 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34022 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34023 * string/bug-strcasestr1.c: New test.
34024 * string/Makefile: Run it.
34026 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34029 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34030 the first character.
34032 2012-08-21 Roland McGrath <roland@hack.frob.com>
34034 * csu/elf-init.c (__libc_csu_irel): Function removed.
34035 * csu/libc-start.c (apply_irel): New function.
34036 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34038 2012-08-21 Joseph Myers <joseph@codesourcery.com>
34040 * sysdeps/unix/sysv/linux/kernel-features.h
34041 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34042 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34043 <kernel-features.h>.
34044 [__NR_fadvise64_64]: Make code unconditional.
34045 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34046 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34047 !__NR_fadvise64_64)]: Likewise.
34048 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34049 !__NR_fadvise64_64))]: Likewise.
34050 [__NR_fadvise64]: Make code unconditional.
34051 [!__NR_fadvise64]: Remove conditional code.
34052 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34053 <kernel-features.h>.
34054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34059 not include <kernel-features.h>.
34060 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34062 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34064 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34065 include <kernel-features.h>.
34066 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34068 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34071 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34074 slight instruction rearrangements per scrollpipe analysis.
34075 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34077 2012-08-20 Roland McGrath <roland@hack.frob.com>
34079 * manual/syslog.texi (syslog; vsyslog, closelog):
34080 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34081 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34083 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34084 DSOCAPS to match condition on defining it.
34086 2012-08-20 Joseph Myers <joseph@codesourcery.com>
34088 * sysdeps/unix/sysv/linux/kernel-features.h
34089 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34091 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34092 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34094 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34095 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34097 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34098 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34100 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34101 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34103 * sysdeps/unix/sysv/linux/kernel-features.h
34104 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34105 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34107 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34108 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34109 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34110 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34111 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34112 Make code unconditional.
34113 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34114 (__mmap64) [!__NR_mmap2]: Likewise.
34115 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34116 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34117 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34118 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34119 [__NR_mmap2]: Make code unconditional.
34120 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34121 (__mmap64) [!__NR_mmap2]: Likewise.
34123 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34125 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34127 2012-08-18 Andreas Jaeger <aj@suse.de>
34129 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34131 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34133 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34134 * include/unistd.h (__have_sock_cloexec): Likewise.
34135 (__have_pipe2): Likewise.
34136 (__have_dup3): Likewise.
34138 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34141 * include/unistd.h (__have_pipe2): Change define into an extern int.
34142 (__have_dup3): Likewise.
34143 * socket/have_sock_cloexec.c: Include fcntl.h.
34144 (__have_pipe2): New variable.
34145 (__have_dup3): Likewise.
34147 2012-08-17 Mike Frysinger <vapier@gentoo.org>
34149 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34151 2012-08-17 Marek Polacek <polacek@redhat.com>
34153 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34154 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34156 2012-08-17 Roland McGrath <roland@hack.frob.com>
34158 * configure.in: Add AC_SUBST for sysheaders.
34159 * configure: Regenerated.
34160 * config.make.in (sysheaders): New substituted variable.
34162 * sysdeps/unix/mkfifo.c: Moved ...
34163 * sysdeps/posix/mkfifo.c: ... here.
34164 * sysdeps/unix/mkfifoat.c: Moved ...
34165 * sysdeps/posix/mkfifoat.c: ... here.
34167 * sysdeps/unix/utime.c: Moved ...
34168 * sysdeps/posix/utime.c: ... here.
34170 * sysdeps/unix/time.c: Moved ...
34171 * sysdeps/posix/time.c: ... here.
34172 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34173 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34175 * sysdeps/unix/nice.c: Moved ...
34176 * sysdeps/posix/nice.c: ... here.
34178 * sysdeps/unix/alarm.c: Moved ...
34179 * sysdeps/posix/alarm.c: ... here.
34181 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34183 2012-08-17 Jeff Law <law@redhat.com>
34185 * intl/Makefile (codeset_mo): New variable.
34186 ($(codeset_mo)): New target.
34187 (tst-codeset.out): Depend on that. Remove explicit rule.
34188 (tst-gettext3.out, tst-gettext5.out): Likewise.
34189 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34190 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34191 * intl/tst-codeset.sh: Remove.
34192 * intl/tst-gettext3.sh: Likewise.
34193 * intl/tst-gettext5.sh: Likewise.
34195 2012-08-17 Roland McGrath <roland@hack.frob.com>
34197 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34198 * sysdeps/unix/syscalls.list: ... here.
34200 * sysdeps/posix/getaddrinfo.c
34201 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34202 (gaiconf_init, gaiconf_reload): Use them.
34203 [!_STATBUF_ST_NSEC]
34204 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34205 Define using time_t rather than struct timespec.
34207 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34208 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34210 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34212 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34213 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34216 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34217 __libc_cleanup_push argument.
34219 * bits/param.h: New file.
34220 * misc/sys/param.h: New file.
34221 * include/sys/param.h: New file.
34222 * misc/Makefile (headers): Add bits/param.h.
34223 * sysdeps/generic/sys/param.h: File removed.
34224 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34225 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34226 * sysdeps/mach/hurd/bits/param.h: New file.
34227 * sysdeps/mach/hurd/sys/param.h: File removed.
34229 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34232 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34234 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34235 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34238 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34239 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34240 rather than -D_IO_MTSAFE_IO conditionally.
34241 * stdio-common/Makefile (CPPFLAGS): Likewise.
34242 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34243 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34244 Use $(libio-mtsafe).
34245 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34246 of -D_IO_MTSAFE_IO.
34247 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34248 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34249 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34250 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34251 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34252 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34253 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34254 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34255 (CFLAGS-fread_u_chk.c): Likewise.
34256 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34257 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34258 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34259 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34260 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34261 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34262 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34263 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34264 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34266 * libio/Makefile: Test [$(libc-reentrant) = yes]
34267 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34270 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34271 * sysdeps/pthread/configure: File removed.
34272 * sysdeps/pthread/Makeconfig: New file.
34273 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34274 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34276 2012-08-16 Gary Benson <gbenson@redhat.com>
34278 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34279 unmapping the first object in a namespace.
34281 2012-08-16 Roland McGrath <roland@hack.frob.com>
34283 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34284 (__internal_setnetgrent): ... this. Add internal_function to
34285 definition. Add libc_hidden_def.
34286 (setnetgrent): Update caller.
34287 (internal_endnetgrent): Renamed to ...
34288 (__internal_endnetgrent): ... this. Add internal_function to
34289 definition. Add libc_hidden_def.
34290 (endnetgrent): Update caller.
34291 (internal_getnetgrent_r): Renamed to ...
34292 (__internal_getnetgrent_r): ... this. Add internal_function to
34293 definition. Add libc_hidden_def.
34294 (__getnetgrent_r): Update caller.
34295 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34297 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34299 * stdlib/longlong.h: Update from GCC.
34301 2012-08-16 Roland McGrath <roland@hack.frob.com>
34303 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34304 on _QL, which is set by umul_ppmm but never used.
34305 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34306 variables, which are set by GMP macros but never used.
34307 * stdio-common/_itowa.c (_itowa): Likewise.
34308 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34309 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34311 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34313 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34314 struct La_sh_regs is not constant.
34315 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34316 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34317 and struct La_sparc64_regs are not constant.
34319 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34321 * sysdeps/unix/sysv/linux/kernel-features.h
34322 (__ASSUME_POSIX_TIMERS): Remove.
34323 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34325 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34326 Make code unconditional.
34327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34328 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34329 Make code unconditional.
34330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34331 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34332 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34333 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34334 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34335 Make code unconditional.
34336 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34337 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34338 (__libc_missing_posix_timers): Remove.
34340 2012-08-15 Roland McGrath <roland@hack.frob.com>
34342 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34343 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34345 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34347 * elf/dl-sym.c: Include <stdlib.h>.
34349 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34350 constants, which avoids warnings in 32-bit builds.
34352 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34353 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34355 * misc/lseek.c: File moved to ...
34356 * io/lseek.c: ... here.
34358 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34360 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34361 shifting LEN more than 31 bits at once.
34363 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34366 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34367 segmentation fault for a case of two empty input strings.
34368 * string/test-strncasecmp.c (check1): Renamed to...
34369 (bz12205): ...this.
34370 (bz14195): Add new testcase for two empty input strings and N > 0.
34371 (test_main): Call new testcase, adapt for renamed function.
34373 2012-08-15 Andreas Jaeger <aj@suse.de>
34376 * crypt/md5test2.c: New test, based on test supplied by Serge
34377 Belyshev <belyshev@depni.sinp.msu.ru>.
34378 * crypt/Makefile (xtests): Add md5test-giant..
34379 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34381 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34384 * crypt/md5.c (md5_process_block): Don't assume the buffer
34385 length is less than 2**32.
34386 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34387 length is less than 2**64.
34389 2012-08-15 Roland McGrath <roland@hack.frob.com>
34391 * string/str-two-way.h: Include <sys/param.h>.
34392 (MAX): Macro removed.
34394 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34395 Move #define and #undef of memmove to just before and after
34396 including <string.h>.
34398 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34399 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34400 and after including <string.h>. Move declarations of
34401 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34402 to before #include "string/memmove.c".
34404 * include/dirent.h: Declare __getdirentries.
34406 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34407 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34409 2012-08-14 Mike Frysinger <vapier@gentoo.org>
34411 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34412 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34413 * sysdeps/i386/configure: Regenerated.
34414 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34415 STABS_CURRENT_FILE, and STABS_FUN.
34416 (END): Remove call to STABS_FUN_END.
34417 (STABS_CURRENT_FILE1): Delete.
34418 (STABS_CURRENT_FILE): Likewise.
34419 (STABS_FUN): Likewise.
34420 (STABS_FUN_END): Likewise.
34421 (STABS_FUN2): Likewise.
34422 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34423 * sysdeps/x86_64/configure: Regenerated.
34425 2012-08-14 Roland McGrath <roland@hack.frob.com>
34427 * elf/dl-open.c: Include <atomic.h>.
34428 * elf/dl-lookup.c: Likewise.
34430 2012-08-14 Joseph Myers <joseph@codesourcery.com>
34432 * sysdeps/unix/sysv/linux/kernel-features.h
34433 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34434 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34436 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34438 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34439 condition on __ASSUME_CLONE_THREAD_FLAGS.
34441 2012-08-14 Andreas Jaeger <aj@suse.de>
34443 * sysdeps/i386/fpu/libm-test-ulps: Update.
34445 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34447 * include/atomic.h (atomic_exchange_and_add): Split into ...
34448 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34451 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34455 2012-08-13 Jeff Law <law@redhat.com>
34457 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34458 null byte in the output string.
34460 2012-08-10 Joseph Myers <joseph@codesourcery.com>
34462 * sysdeps/unix/sysv/linux/kernel-features.h
34463 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34464 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34465 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34466 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34467 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34468 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34469 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34471 2012-08-09 Jeff Law <law@redhat.com>
34474 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34475 When avoid_arena is set, don't retry in the that arena. Pick the
34476 next one, whatever it might be.
34477 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34478 (arena_lock): Pass in new parameter to arena_get2.
34479 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34481 (__libc_malloc): Unify retrying after main arena failure with
34482 __libc_memalign version.
34483 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34485 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34488 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34489 to __redirect_strstr.
34490 (__strstr_sse42): Use typeof __redirect_strstr.
34491 (__strstr_ia32): Likewise.
34492 (__libc_strstr): New prototype.
34493 (strstr): Renamed to ...
34494 (__libc_strstr): This.
34495 (strstr): New strong alias of __libc_strstr.
34496 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34497 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34500 (__libc_time): New prototype.
34501 (time_ifunc): Replace time with __libc_time.
34502 (time): New strong alias and hidden definition of __libc_time.
34503 (__GI_time): Remove strong alias.
34504 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34505 Include <stddef.h>.
34506 (memmove): Redefined to __redirect_memmove.
34507 (__memmove_sse2): Use typeof __redirect_memmove.
34508 (__memmove_ssse3): Likewise.
34509 (__memmove_ssse3_back): Likewise.
34510 (__libc_memmove): New prototype.
34511 (memmove): Renamed to ...
34512 (__libc_memmove): This.
34513 (memmove): New strong alias of __libc_memmove.
34515 2012-08-08 Mark Salter <msalter@redhat.com>
34518 (R_MN10300_TLS_GD): Define.
34519 (R_MN10300_TLS_LD): Likewise.
34520 (R_MN10300_TLS_LDO): Likewise.
34521 (R_MN10300_TLS_GOTIE): Likewise.
34522 (R_MN10300_TLS_IE): Likewise.
34523 (R_MN10300_TLS_LE): Likewise.
34524 (R_MN10300_TLS_DTPMOD): Likewise.
34525 (R_MN10300_TLS_DTPOFF): Likewise.
34526 (R_MN10300_TLS_TPOFF): Likewise.
34527 (R_MN10300_SYM_DIFF): Likewise.
34528 (R_MN10300_ALIGN): Likewise.
34529 (R_MN10300_NUM): Update.
34531 2012-08-08 Joseph Myers <joseph@codesourcery.com>
34533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34536 2012-08-08 Roland McGrath <roland@hack.frob.com>
34538 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34540 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34541 sysdeps/unix -> sysdeps/posix move.
34542 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34544 2012-08-07 Allan McRae <allan@archlinux.org>
34547 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34548 (SUNOS_CPP): Likewise.
34549 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34551 (open_input): Call CPP using execvp.
34553 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34555 * sysdeps/unix/sysv/linux/kernel-features.h
34556 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34557 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34558 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34559 (__ASSUME_WAITID_SYSCALL): Likewise.
34560 * sysdeps/unix/sysv/linux/dl-execstack.c
34561 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34562 code unconditional.
34563 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34565 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34566 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34567 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34569 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34571 [__ASSUME_WAITID_SYSCALL]: Likewise.
34572 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34574 2012-08-07 Roland McGrath <roland@hack.frob.com>
34576 * sysdeps/unix/closedir.c: Renamed to ...
34577 * sysdeps/posix/closedir.c: ... here.
34578 * sysdeps/unix/dirfd.c: Renamed to ...
34579 * sysdeps/posix/dirfd.c: ... here.
34580 * sysdeps/unix/dirstream.h: Renamed to ...
34581 * sysdeps/posix/dirstream.h: ... here.
34582 * sysdeps/unix/fdopendir.c: Renamed to ...
34583 * sysdeps/posix/fdopendir.c: ... here.
34584 * sysdeps/unix/opendir.c: Renamed to ...
34585 * sysdeps/posix/opendir.c: ... here.
34586 * sysdeps/unix/readdir.c: Renamed to ...
34587 * sysdeps/posix/readdir.c: ... here.
34588 * sysdeps/unix/readdir_r.c: Renamed to ...
34589 * sysdeps/posix/readdir_r.c: ... here.
34590 * sysdeps/unix/rewinddir.c: Renamed to ...
34591 * sysdeps/posix/rewinddir.c: ... here.
34592 * sysdeps/unix/seekdir.c: Renamed to ...
34593 * sysdeps/posix/seekdir.c: ... here.
34594 * sysdeps/unix/telldir.c: Renamed to ...
34595 * sysdeps/posix/telldir.c: ... here.
34596 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34597 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34598 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34599 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34601 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34602 * bits/fcntl.h: ... here.
34604 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34606 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34607 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34608 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34609 (struct flock): Move l_start, l_len to the beginning.
34610 Use __pid_t for l_pid.
34611 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34612 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34613 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34614 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34615 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34616 [__USE_LARGEFILE64] (struct flock64): New type.
34617 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34619 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34620 * bits/dirent.h: ... here.
34622 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34623 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34625 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34628 Change from 2.6.0 to 2.6.16.
34629 * sysdeps/unix/sysv/linux/configure: Regenerated.
34630 * sysdeps/unix/sysv/linux/kernel-features.h
34631 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34632 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34634 (__ASSUME_UTIMES): Likewise.
34635 (__ASSUME_CLONE_STOPPED): Remove.
34636 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34637 architectures, not kernel version.
34638 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34639 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34640 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34641 (__ASSUME_WAITID_SYSCALL): Likewise.
34642 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34643 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34644 * README: State 2.6.16 as minimum Linux kernel version. Do not
34645 refer to older versions.
34647 2012-08-06 Roland McGrath <roland@hack.frob.com>
34649 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34650 Define alphasort64 as an alias.
34651 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34652 Define versionsort64 as an alias.
34653 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34654 Define scandir64 as an alias.
34655 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34656 Define scandirat64 as an alias.
34657 * dirent/alphasort64.c (alphasort64):
34658 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34659 * dirent/versionsort64.c: Likewise.
34660 * dirent/scandir64.c: Likewise.
34661 * dirent/scandirat64.c: Likewise.
34662 * sysdeps/wordsize-64/alphasort.c: File removed.
34663 * sysdeps/wordsize-64/alphasort64.c: File removed.
34664 * sysdeps/wordsize-64/scandir.c: File removed.
34665 * sysdeps/wordsize-64/scandir64.c: File removed.
34666 * sysdeps/wordsize-64/scandirat.c: File removed.
34667 * sysdeps/wordsize-64/scandirat64.c: File removed.
34668 * sysdeps/wordsize-64/versionsort.c: File removed.
34669 * sysdeps/wordsize-64/versionsort64.c: File removed.
34670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34671 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34672 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34673 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34674 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34675 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34677 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34679 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34681 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34683 [defined __arch64__ || defined __sparcv9]
34684 (__INO_T_MATCHES_INO64_T): New macro.
34685 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34686 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34687 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34688 * sysdeps/unix/sysv/linux/bits/dirent.h
34689 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34690 (_DIRENT_MATCHES_DIRENT64): New macro.
34692 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34693 Define lockf64 as an alias.
34694 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34695 Define fseeko64 as an alias.
34696 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34697 Define ftello64 as an alias.
34698 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34699 Define _IO_fgetpos64 and fgetpos64 as aliases.
34700 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34701 Define _IO_fsetpos64 and fsetpos64 as aliases.
34702 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34703 Conditionalize body on this.
34704 * libio/fseeko64.c: Likewise.
34705 * libio/ftello64.c: Likewise.
34706 * libio/iofgetpos64.c: Likewise.
34707 * libio/iofsetpos64.c: Likewise.
34708 * sysdeps/wordsize-64/lockf.c: File removed.
34709 * sysdeps/wordsize-64/lockf64.c: File removed.
34710 * sysdeps/wordsize-64/fseeko.c: File removed.
34711 * sysdeps/wordsize-64/fseeko64.c: File removed.
34712 * sysdeps/wordsize-64/ftello.c: File removed.
34713 * sysdeps/wordsize-64/ftello64.c: File removed.
34714 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34715 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34716 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34717 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34718 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34719 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34720 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34721 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34722 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34723 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34724 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34725 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34727 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34729 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34731 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34733 [defined __arch64__ || defined __sparcv9]
34734 (__OFF_T_MATCHES_OFF64_T): New macro.
34735 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34736 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34738 (__OFF_T_MATCHES_OFF64_T): New macro.
34740 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34742 * stdlib/secure-getenv.c (__secure_getenv): Replace
34743 GLIBC_2_16 with GLIBC_2_17.
34745 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34747 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34748 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34750 2012-08-03 David S. Miller <davem@davemloft.net>
34752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34754 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34756 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34758 (__ASSUME_CORRECT_SI_PID): Likewise.
34759 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34760 (__ASSUME_TMPFS_NAME): Likewise.
34761 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34762 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34763 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34764 (HAVE_AUX_SECURE): Make definition unconditional.
34765 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34766 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34768 2012-08-03 Roland McGrath <roland@hack.frob.com>
34770 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34771 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34772 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34773 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34774 __eloop_threshold instead of SYMLOOP_MAX.
34776 * sysdeps/generic/eloop-threshold.h: New file.
34777 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34779 * elf/chroot_canon.c (chroot_canon): Likewise.
34781 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34785 Change to 2.6.0 everywhere.
34786 * sysdeps/unix/sysv/linux/configure: Regenerated.
34787 * sysdeps/unix/sysv/linux/kernel-features.h
34788 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34789 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34791 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34792 (__ASSUME_FUTEX_REQUEUE): Remove.
34793 (__ASSUME_STATFS64): Define unconditionally.
34794 (__ASSUME_AT_SECURE): Likewise.
34795 (__ASSUME_CORRECT_SI_PID): Likewise.
34796 (__ASSUME_TGKILL): Define without depending on kernel version for
34798 (__ASSUME_UTIMES): Likewise.
34799 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34801 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34802 (__ASSUME_TMPFS_NAME): Likewise.
34803 * README: Update reference to Linux kernel versions.
34805 2012-08-02 Marek Polacek <polacek@redhat.com>
34808 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34809 libc_cv_asm_type_prefix with %.
34810 * configure: Regenerated.
34811 * include/libc-symbols.h: Remove comment about
34812 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34813 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34814 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34815 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34816 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34817 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34818 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34819 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34820 * elf/tst-unique2mod1.c: Likewise.
34821 * elf/tst-unique1mod2.c: Likewise.
34822 * elf/tst-unique1mod1.c: Likewise.
34823 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34824 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34825 Replace ASM_TYPE_DIRECTIVE with .type.
34826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34827 * sysdeps/i386/sysdep.h: Likewise.
34828 * sysdeps/x86_64/sysdep.h: Likewise.
34829 * sysdeps/sh/sysdep.h: Likewise.
34830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34831 Do not define ASM_TYPE_DIRECTIVE.
34832 * sysdeps/powerpc/sysdep.h: Likewise.
34833 * sysdeps/powerpc/powerpc32/sysdep.h:
34834 Replace ASM_TYPE_DIRECTIVE with .type.
34835 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34836 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34837 * sysdeps/i386/fpu/e_powf.S: Likewise.
34838 * sysdeps/i386/fpu/e_expl.S: Likewise.
34839 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34840 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34841 * sysdeps/i386/fpu/e_pow.S: Likewise.
34842 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34843 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34844 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34845 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34846 * sysdeps/i386/fpu/e_log2.S: Likewise.
34847 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34848 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34849 * sysdeps/i386/fpu/e_powl.S: Likewise.
34850 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34851 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34852 * sysdeps/i386/fpu/e_logl.S: Likewise.
34853 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34854 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34855 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34856 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34857 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34858 * sysdeps/i386/fpu/e_log.S: Likewise.
34859 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34860 * sysdeps/i386/fpu/e_logf.S: Likewise.
34861 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34863 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34864 * sysdeps/i386/fpu/e_log10.S: Likewise.
34865 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34866 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34867 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34868 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34869 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34870 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34871 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34872 * sysdeps/i386/i686/strtok.S: Likewise.
34873 * sysdeps/i386/i386-mcount.S: Likewise.
34874 * sysdeps/i386/strtok.S: Likewise.
34875 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34876 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34877 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34878 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34879 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34880 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34881 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34882 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34883 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34884 * sysdeps/x86_64/_mcount.S: Likewise.
34885 * sysdeps/x86_64/strtok.S: Likewise.
34886 * sysdeps/sh/_mcount.S: Likewise.
34888 2012-08-01 Roland McGrath <roland@hack.frob.com>
34890 * libio/iofopen.c: Include <fcntl.h>.
34891 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34892 (_IO_fopen64, fopen64): Define as aliases.
34893 * libio/iofopen64.c: Include <fcntl.h>.
34894 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34895 Conditionalize body on this.
34896 * sysdeps/wordsize-64/iofopen.c: File removed.
34897 * sysdeps/wordsize-64/iofopen64.c: File removed.
34899 2012-08-01 Marek Polacek <polacek@redhat.com>
34901 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34902 Use dlfcn directly instead of a variable.
34903 (binfmt-subdir): Do not define.
34906 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34909 Remove all definitions.
34910 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34911 <kernel-features.h>.
34912 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34913 (miss_F_GETOWN_EX): Remove all definitions.
34914 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34916 [!__ASSUME_FCNTL64]: Remove conditional code.
34917 [__ASSUME_FCNTL64]: Make code unconditional.
34918 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34919 <kernel-features.h>.
34920 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34921 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34922 (lockf64) [__NR_fcntl64]: Make code unconditional.
34923 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34925 * sysdeps/unix/sysv/linux/kernel-features.h
34926 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34927 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34928 Make code unconditional.
34929 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34930 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34932 [__NR_vfork]: Make code unconditional.
34933 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34934 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34936 [__NR_vfork]: Make code unconditional.
34937 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34938 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34940 2012-08-01 Roland McGrath <roland@hack.frob.com>
34942 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34943 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34945 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34946 Define mkstemp64 as an alias.
34947 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34948 Define mkstemps64 as an alias.
34949 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34950 Define mkostemp64 as an alias.
34951 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34952 Define mkostemps64 as an alias.
34953 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34954 Conditionalize body on this.
34955 * misc/mkostemp64.c: Likewise.
34956 * misc/mkostemps64.c: Likewise.
34957 * misc/mkstemps64.c: Likewise.
34958 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34959 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34960 * sysdeps/wordsize-64/mkostemp.c: File removed.
34961 * sysdeps/wordsize-64/mkstemp.c: File removed.
34962 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34963 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34964 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34965 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34968 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34969 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34970 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34971 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34973 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34974 compat_symbol macros from <shlib-compat.h> rather than the underlying
34975 default_symbol_version and symbol_version macros, so that DEFAULT
34976 lines in shlib-versions are respected.
34977 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34979 2012-08-01 Florian Weimer <fweimer@redhat.com>
34981 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34982 Declare with warn_unused_result.
34983 (setgid, setregid, setegid, setresgid): Likewise.
34984 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34986 * WUR-REPORT: Remove set*id functions.
34988 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34990 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34992 2012-07-31 Roland McGrath <roland@hack.frob.com>
34995 * include/sys/socket.h (__libc_accept, __libc_accept4):
34996 Add attribute_hidden.
34997 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34999 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35001 * inet/getnetgrent_r.c (setup): Likewise.
35003 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35005 2012-07-31 David S. Miller <davem@davemloft.net>
35007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35009 2012-07-31 Joseph Myers <joseph@codesourcery.com>
35012 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35013 value between 1.0 and 2.0 and smaller part has absolute value less
35015 * math/s_clog10.c (__clog10): Likewise.
35016 * math/s_clog10f.c (__clog10f): Likewise.
35017 * math/s_clog10l.c (__clog10l): Likewise.
35018 * math/s_clogf.c (__clogf): Likewise.
35019 * math/s_clogl.c (__clogl): Likewise.
35020 * math/libm-test.inc (clog_test): Add more tests.
35021 (clog10_test): Likewise.
35022 * sysdeps/i386/fpu/libm-test-ulps: Update.
35023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35025 2012-07-31 Florian Weimer <fweimer@redhat.com>
35027 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35028 Exit with zero in case no suitable GID is found, and write a
35029 message to standard error.
35031 2012-07-30 Roland McGrath <roland@hack.frob.com>
35033 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35035 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35036 (MAXPATHLEN): Removed.
35037 (NOGROUP, NODEV): New macros.
35038 (setbit, clrbit, isset, isclr): New macros.
35039 (howmany, roundup, powerof2): New macros.
35040 (DEV_BSIZE): New macro.
35042 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35043 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35045 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35046 definition on [!__NO_LONG_DOUBLE_MATH].
35048 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35049 PTR_MANGLE and PTR_DEMANGLE.
35051 * socket/accept4.c (accept4): Rename to __libc_accept4.
35052 Define accept4 as a weak alias.
35054 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35055 on [_DIRENT_HAVE_D_TYPE].
35056 * io/ftw.c (ftw_dir): Likewise.
35058 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35060 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35062 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35063 Use the BSD numbers rather than the arbitrary ones we had.
35064 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35065 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35066 (SIGXCPU, SIGXFSZ): New macros.
35069 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35070 initializer on [_LIBC_REENTRANT].
35072 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35073 definitions inside [_POSIX_MAPPED_FILES].
35075 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35077 * dirent/opendir.c: Include <fcntl.h>.
35079 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35080 (__libc_getspecific): Likewise.
35081 (__libc_key_create): Likewise.
35083 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35084 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35085 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35086 (tmpfile64): Define as alias.
35087 * sysdeps/wordsize-64/tmpfile.c: File removed.
35088 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35089 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35090 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35092 * stdio-common/vfscanf.c: Include <stdbool.h>.
35093 * nss/makedb.c: Likewise.
35094 * stdio-common/_i18n_number.h: Likewise.
35095 * argp/argp-help.c: Likewise.
35096 * posix/wordexp.c: Likewise.
35097 * sysdeps/posix/spawni.c: Likewise.
35098 * nss/nss_files/files-initgroups.c: Likewise.
35099 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35100 * nss/nss_files/files-initgroups.c: Likewise.
35101 * nss/nss_db/db-netgrp.c: Likewise.
35102 * nss/nss_db/db-initgroups.c: Likewise.
35103 * io/fchmodat.c: Include <sys/stat.h>.
35105 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35106 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35108 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35111 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35112 Add multiple inclusion protection.
35114 2012-07-27 David S. Miller <davem@davemloft.net>
35116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35118 2012-07-27 Gary Benson <gbenson@redhat.com>
35121 * elf/rtld.c: Include <stap-probe.h>.
35122 (dl_main): Added static probes "init_start" and "init_complete".
35123 * elf/dl-load.c: Include <stap-probe.h>.
35124 (lose): Take new parameter "nsid".
35125 Added static probe "map_failed".
35126 (_dl_map_object_from_fd): Pass namespace id to lose.
35127 Added static probe "map_start".
35128 (open_verify): Pass namespace id to lose.
35129 * elf/dl-open.c: Include <stap-probe.h>.
35130 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35131 and "reloc_complete".
35132 * elf/dl-close.c: Include <stap-probe.h>.
35133 (_dl_close_worker): Added static probes "unmap_start" and
35135 * elf/rtld-debugger-interface.txt: New file documenting the above.
35137 2012-07-26 Roland McGrath <roland@hack.frob.com>
35139 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35140 rather than a string variable.
35141 * sunrpc/rpc_main.c (h_output): Likewise.
35142 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35144 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35146 * inet/check_native.c: New file.
35148 2012-07-26 Joseph Myers <joseph@codesourcery.com>
35151 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35152 if larger part has absolute value 1.0.
35153 * math/s_clog10.c (__clog10): Likewise.
35154 * math/s_clog10f.c (__clog10f): Likewise.
35155 * math/s_clog10l.c (__clog10l): Likewise.
35156 * math/s_clogf.c (__clogf): Likewise.
35157 * math/s_clogl.c (__clogl): Likewise.
35158 * math/libm-test.inc (clog_test): Add more tests.
35159 (clog10_test): Likewise.
35160 * sysdeps/i386/fpu/libm-test-ulps: Update.
35161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35163 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35164 (pltexit): Likewise.
35165 (La_regs): Likewise.
35166 (La_retval): Likewise.
35167 (int_retval): Likewise.
35168 Update #error for removed macros to refer only to definitions in
35170 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35172 (pltexit): Likewise.
35173 (La_regs): Likewise.
35174 (La_retval): Likewise.
35175 (int_retval): Likewise.
35176 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35178 (pltexit): Likewise.
35179 (La_regs): Likewise.
35180 (La_retval): Likewise.
35181 (int_retval): Likewise.
35182 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35184 (pltexit): Likewise.
35185 (La_regs): Likewise.
35186 (La_retval): Likewise.
35187 (int_retval): Likewise.
35188 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35190 (pltexit): Likewise.
35191 (La_regs): Likewise.
35192 (La_retval): Likewise.
35193 (int_retval): Likewise.
35194 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35196 (pltexit): Likewise.
35197 (La_regs): Likewise.
35198 (La_retval): Likewise.
35199 (int_retval): Likewise.
35200 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35202 (pltexit): Likewise.
35203 (La_regs): Likewise.
35204 (La_retval): Likewise.
35205 (int_retval): Likewise.
35206 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35207 macro definitions in tst-audit.h.
35208 * sysdeps/i386/tst-audit.h: New file.
35209 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35210 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35211 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35212 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35213 * sysdeps/sh/tst-audit.h: Likewise.
35214 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35215 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35216 * sysdeps/x86_64/tst-audit.h: Likewise.
35218 2012-07-26 Andreas Jaeger <aj@suse.de>
35220 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35223 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35224 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35225 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35227 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35228 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35229 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35231 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35234 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35236 (si_call_addr, si_syscall, si_arch): Define new macro.
35237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35239 (si_call_addr, si_syscall, si_arch): Define new marcro.
35240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35242 (si_call_addr, si_syscall, si_arch): Define new macro.
35243 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35245 (si_call_addr, si_syscall, si_arch): Define new macro.
35247 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35251 Change to 2.4.21 where previously 2.4.1.
35252 * sysdeps/unix/sysv/linux/configure: Regenerated.
35253 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35254 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35255 Linux kernel version.
35256 (__ASSUME_STD_AUXV): Remove.
35257 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35259 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35260 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35261 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35262 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35263 (__ASSUME_NETLINK_SUPPORT): Likewise.
35264 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35265 (__no_netlink_support): Remove conditional definition.
35266 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35268 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35269 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35270 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35271 (if_nameindex_ioctl): Remove.
35272 (if_nameindex_netlink): Do not handle __no_netlink_support.
35273 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35275 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35276 Remove conditional code.
35277 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35279 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35281 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35282 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35283 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35285 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35286 [!__ASSUME_STD_AUXV]: Remove conditional code.
35287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35288 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35289 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35291 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35292 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35294 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35296 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35297 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35299 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35301 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35304 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35307 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35308 code unconditional.
35309 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35311 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35313 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35316 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35318 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35321 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35322 code unconditional.
35323 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35325 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35327 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35330 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35331 code unconditional.
35332 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35334 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35336 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35339 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35341 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35342 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35343 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35344 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35345 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35346 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35347 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35348 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35349 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35350 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35351 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35352 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35353 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35354 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35355 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35356 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35357 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35358 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35359 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35361 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35362 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35363 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35365 2012-07-25 Florian Weimer <fweimer@redhat.com>
35367 * Versions.def: Add GLIBC_2.17.
35368 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35369 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35370 Introduce __libc_secure_getenv.
35371 * stdlib/Versions (2.17): Add secure_getenv
35372 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35373 * stdlib/secure-getenv.c: Rename __secure_getenv to
35374 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35375 symbol __secure_getenv for GLIBC_2.0.
35376 * stdlib/tst-secure-getenv.c: New.
35377 * stdlib/Makefile (tests): Add testcase.
35378 * manual/startup.texi (Environment Access): Document
35380 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35381 __libc_secure_getenv.
35382 * inet/ruserpass.c (ruserpass): Likewise.
35383 * malloc/mtrace.c (mtrace): Likewise.
35384 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35385 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35386 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35387 * sysdeps/posix/tempname.c: Likewise. Evaluate
35388 HAVE_SECURE_GETENV.
35389 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35390 __secure_getenv to __libc_secure_getenv.
35391 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35398 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35404 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35406 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35407 (struct La_i86_retval): Likewise.
35408 (struct La_x86_64_regs): Likewise.
35409 (struct La_x86_64_retval): Likewise.
35410 (struct La_x32_regs): Likewise.
35411 (struct La_x32_retval): Likewise.
35412 (struct La_ppc32_regs): Likewise.
35413 (struct La_ppc32_retval): Likewise.
35414 (struct La_ppc64_regs): Likewise.
35415 (struct La_ppc64_retval): Likewise.
35416 (struct La_sh_regs): Likewise.
35417 (struct La_sh_retval): Likewise.
35418 (struct La_s390_32_regs): Likewise.
35419 (struct La_s390_32_retval): Likewise.
35420 (struct La_s390_64_regs): Likewise.
35421 (struct La_s390_64_retval): Likewise.
35422 (struct La_sparc32_regs): Likewise.
35423 (struct La_sparc32_retval): Likewise.
35424 (struct La_sparc64_regs): Likewise.
35425 (struct La_sparc64_retval): Likewise.
35426 (struct audit_ifaces): Remove architecture-specific pltenter and
35428 * sysdeps/i386/ldsodefs.h: New file.
35429 * sysdeps/powerpc/ldsodefs.h: Likewise.
35430 * sysdeps/s390/ldsodefs.h: Likewise.
35431 * sysdeps/sh/ldsodefs.h: Likewise.
35432 * sysdeps/sparc/ldsodefs.h: Likewise.
35433 * sysdeps/x86_64/ldsodefs.h: Likewise.
35435 2012-07-25 Marek Polacek <polacek@redhat.com>
35438 * math/libm-test.inc (yn_test): Add another test.
35439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35440 to ERANGE when the result is +-Inf.
35441 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35442 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35443 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35444 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35446 2012-07-24 Joseph Myers <joseph@codesourcery.com>
35448 * conform/data/time.h-data (NULL): Use macro-constant. Require
35450 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35452 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35454 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35456 * configure.in <sysdeps resolving>: Correct printing
35458 * configure: Regenerate.
35460 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35462 * math/w_ilogb.c: Include <limits.h>.
35463 * math/w_ilogbl.c: Likewise.
35465 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35467 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35468 va_copy. Document allowing for unavailable va_copy only as
35469 pre-C99 compatibility.
35470 * manual/string.texi (Copying and Concatenation): Use va_copy
35471 instead of __va_copy in concat example.
35473 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35475 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35476 (__sendto): Use create_address_port. Initialize APORT and deallocate
35479 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35480 with O_NOLINK passed to __file_name_lookup.
35482 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35483 with O_NOLINK passed to __file_name_lookup.
35485 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35486 negative N or less than NGIDS.
35488 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35489 type to string_t. Set ERANGE as errno and return it if NAME is not big
35490 enough. Use memcpy instead of strncpy.
35492 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35494 * elf/Makefile (check-data): Remove.
35495 (localplt.data): New vpath directive.
35496 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35497 instead of $(check-data).
35498 * scripts/data/localplt-generic.data: Move to ...
35499 * sysdeps/generic/localplt.data: ... here.
35500 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35501 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35502 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35505 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35508 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35511 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35514 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35517 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35521 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35523 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35524 PPC32 and PPC64 files.
35525 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35526 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35528 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35530 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35531 __makecontext_ret to ...
35532 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35533 ... here and call exit if uc_link is NULL. New file.
35534 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35535 __makecontext_ret.S.
35536 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35537 __makecontext_ret to ...
35538 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35539 ... here and call exit if uc_link is NULL. New file.
35540 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35541 __makecontext_ret.S.
35543 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35545 * elf/elf.h (R_390_IRELATIVE): New definition.
35546 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35547 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35548 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35549 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35550 (elf_machine_lazy_rel): Likewise.
35551 * sysdeps/s390/dl-irel.h: New file.
35552 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35553 * sysdeps/s390/s390-64/memset.S: New asm code.
35554 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35555 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35556 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35557 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35558 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35559 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35560 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35561 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35562 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35563 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35564 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35565 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35566 * sysdeps/s390/s390-32/memset.S: New asm code.
35567 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35569 2012-07-17 Marek Polacek <polacek@redhat.com>
35572 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35573 * sysdeps/s390/s390-64/configure.in: Likewise.
35574 * sysdeps/sparc/configure.in: Likewise.
35575 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35576 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35577 * sysdeps/i386/configure.in: Likewise.
35578 * sysdeps/x86_64/configure.in: Likewise.
35579 * sysdeps/sh/configure.in: Likewise.
35580 * sysdeps/s390/s390-32/configure: Regenerated.
35581 * sysdeps/s390/s390-64/configure: Likewise.
35582 * sysdeps/x86_64/configure: Likewise.
35583 * sysdeps/sh/configure: Likewise.
35584 * sysdeps/powerpc/powerpc64/configure: Likewise.
35585 * sysdeps/powerpc/powerpc32/configure: Likewise.
35586 * sysdeps/sparc/configure: Likwise.
35587 * sysdeps/i386/configure: Likewise.
35589 * elf/dl-open.c: Comment fixes.
35591 2012-07-17 Joseph Myers <joseph@codesourcery.com>
35593 * Makefile [CXX] (check-data): Remove.
35594 [CXX] (c++-types.data): New vpath directive.
35595 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35596 vpath. Do not allow for C++ type data being missing.
35597 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35598 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35599 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35600 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35601 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35602 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35603 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35606 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35609 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35612 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35615 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35618 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35621 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35624 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35627 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35628 definitions to architecture-specific files.
35629 (TLS_IE): Likewise.
35630 (TLS_LD): Likewise.
35631 (TLS_GD): Likewise.
35632 * sysdeps/i386/tls-macros.h: New file.
35633 * sysdeps/powerpc/tls-macros.h: Likewise.
35634 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35635 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35636 * sysdeps/sh/tls-macros.h: Likewise.
35637 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35638 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35639 * sysdeps/x86_64/tls-macros.h: Likewise.
35641 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35643 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35644 zero value for regular exit case.
35646 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35647 (__start_context): Preserve zero value for regular exit case.
35649 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35650 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35652 * manual/setjmp.texi (setcontext): Clarify normal process
35653 termination when uc_link is the null pointer.
35654 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35657 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35659 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35660 preprocessor. Test for each exception mask separately.
35662 2012-07-16 Andreas Jaeger <aj@suse.de>
35664 * po/ru.po: Update from translation team.
35666 2012-07-15 Joseph Myers <joseph@codesourcery.com>
35668 * conform/data/string.h-data (NULL): Use macro-constant. Require
35670 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35671 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35672 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35673 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35676 2012-07-13 Andreas Jaeger <aj@suse.de>
35678 * po/fr.po: Update from translation team.
35680 2012-07-12 Marek Polacek <polacek@redhat.com>
35683 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35684 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35687 2012-07-12 Joseph Myers <joseph@codesourcery.com>
35690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35691 Change to 2.4.1 where previously 2.4.0.
35692 * sysdeps/unix/sysv/linux/configure: Regenerated.
35693 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35694 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35696 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35697 (__ASSUME_AT_CLKTCK): Remove.
35698 (__ASSUME_AT_PAGESIZE): Likewise.
35699 (__ASSUME_AT_XID): Likewise.
35700 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35701 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35702 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35704 (HAVE_AUX_PAGESIZE): Likewise.
35705 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35706 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35707 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35709 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35713 the temporary buffer used to invoke __gethostbyname2_r,
35714 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35715 host_data / struct gaih_addrtuple.
35716 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35717 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35718 header file nss/nsswitch.h.
35719 * nss/nsswitch.h (global scope): Add definition of implementation
35720 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35721 resolv/nss_dns/dns-host.c).
35723 2012-07-11 Andreas Jaeger <aj@suse.de>
35725 * po/fr.po: Update from translation team.
35727 * po/sv.po: Update from translation team
35728 * po/fr.po: Another update from translation team.
35730 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35732 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35733 for subnormals or multiply small sinh result by itself.
35734 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35737 2012-07-11 David S. Miller <davem@davemloft.net>
35739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35741 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35744 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35745 (INTERNAL_MARK): Shift it here.
35747 2012-07-10 Marek Polacek <polacek@redhat.com>
35750 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35751 libc_cv_asm_global_directive with .globl.
35752 * configure: Regenerated.
35753 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35755 * sysdeps/i386/configure: Regenerated.
35756 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35758 * sysdeps/x86_64/configure: Regenerated.
35759 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35760 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35761 * elf/tst-unique2mod2.c: Likewise.
35762 * elf/tst-unique2mod1.c: Likewise.
35763 * elf/tst-unique1mod2.c: Likewise.
35764 * elf/tst-unique1mod1.c: Likewise.
35765 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35766 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35767 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35768 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35769 * sysdeps/mach/sysdep.h: Likewise.
35770 * sysdeps/i386/sysdep.h: Likewise.
35771 * sysdeps/i386/i386-mcount.S: Likewise.
35772 * sysdeps/x86_64/_mcount.S: Likewise.
35773 * sysdeps/x86_64/sysdep.h: Likewise.
35774 * sysdeps/sh/_mcount.S: Likewise.
35775 * sysdeps/sh/sysdep.h: Likewise.
35776 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35777 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35778 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35779 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35780 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35781 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35782 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35783 * locale/localeinfo.h: Likewise.
35784 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35785 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35787 2012-07-09 Roland McGrath <roland@hack.frob.com>
35790 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35792 * manual/message.texi (The Uniforum approach): Likewise.
35793 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35794 (glibc iconv Implementation): Likewise.
35796 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35799 * math/s_clog.c (__clog): Avoid scaling a value down where that
35800 could result in underflow.
35801 * math/s_clog10.c (__clog10): Likewise.
35802 * math/s_clog10f.c (__clog10f): Likewise.
35803 * math/s_clog10l.c (__clog10l): Likewise.
35804 * math/s_clogf.c (__clogf): Likewise.
35805 * math/s_clogl.c (__clogl): Likewise.
35806 * math/libm-test.inc (clog_test): Add more tests.
35807 (clog10_test): Likewise.
35808 * sysdeps/i386/fpu/libm-test-ulps: Update.
35809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35811 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35814 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35815 by 7 not 8 to examine high bit of fractional part.
35818 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35819 for call to __mcount_internal.
35820 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35821 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35822 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35824 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35827 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35828 approximation for values within 0x1p-13f of an odd multiple of
35830 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35831 exception. Add more tests.
35832 * sysdeps/i386/fpu/libm-test-ulps: Update.
35835 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35836 inputs and return -1 for them. Do not check for +Inf in case not
35837 reachable for +Inf.
35838 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35839 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35840 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35841 and return -1 for them. Do not check for +Inf in case not
35842 reachable for +Inf.
35843 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35845 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35846 and return -1 for them. Do not check for +Inf in case not
35847 reachable for +Inf.
35848 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35849 spurious underflow.
35850 * sysdeps/i386/fpu/libm-test-ulps: Update.
35851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35853 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35855 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35857 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35861 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35862 could result in spurious underflow. Scale down values above
35863 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35864 * math/s_csqrtf.c (__csqrtf): Likewise.
35865 * math/s_csqrtl.c (__csqrtl): Likewise.
35866 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35867 spurious underflow.
35868 * sysdeps/i386/fpu/libm-test-ulps: Update.
35869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35871 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35873 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35875 * catgets/xopen-msg.awk: New file.
35876 * catgets/xopen-msg.sed: Removed.
35878 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35880 * intl/po2test.awk: New file.
35881 * intl/po2test.sed: Removed.
35883 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35886 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35887 or multiply small sinh result by itself.
35888 * math/s_ctanf.c (__ctanf): Likewise.
35889 * math/s_ctanh.c (__ctanh): Likewise.
35890 * math/s_ctanhf.c (__ctanhf): Likewise.
35891 * math/s_ctanhl.c (__ctanhl): Likewise.
35892 * math/s_ctanl.c (__ctanl): Likewise.
35893 * math/libm-test.inc (ctan_test_tonearest): New function.
35894 (ctan_test_towardzero): Likewise.
35895 (ctan_test_downward): Likewise.
35896 (ctan_test_upward): Likewise.
35897 (ctanh_test_tonearest): Likewise.
35898 (ctanh_test_towardzero): Likewise.
35899 (ctanh_test_downward): Likewise.
35900 (ctanh_test_upward): Likewise.
35901 (main): Call these new functions.
35902 * sysdeps/i386/fpu/libm-test-ulps: Update.
35903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35905 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35907 * .gitignore: Delete /ports entry.
35909 2012-07-03 Andreas Jaeger <aj@suse.de>
35911 * po/bg.po: Update from translation team.
35912 * po/cs.po: Likewise.
35913 * po/de.po: Likewise.
35914 * po/hr.po: Likewise.
35915 * po/nl.pl: Likewise.
35916 * po/pl.po: Likewise.
35917 * po/vi.po: Likewise.
35919 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35921 * Makeconfig [!+link] (+link-before-libc): New variable.
35922 [!+link] (+link-after-libc): Likewise.
35923 [!+link] (+link-tests): Likewise.
35924 [!+link] (+link): Define in terms of $(+link-before-libc) and
35925 $(+link-after-libc).
35926 [!+link-static] (+link-static-before-libc): New variable.
35927 [!+link-static] (+link-static-after-libc): Likewise.
35928 [!+link-static] (+link-static-tests): Likewise.
35929 [!+link-static] (+link-static): Define in terms of
35930 $(+link-static-before-libc) and $(+link-static-after-libc).
35931 [build-shared] (link-libc-before-gnulib): New variable.
35932 [build-shared] (link-libc-tests): Likewise.
35933 [build-shared] (link-libc): Define in terms of
35934 $(link-libc-before-gnulib).
35935 [!build-shared] (link-libc-tests): New variable.
35936 (link-libc-static-tests): New variable.
35937 [!gnulib] (gnulib-arch): New variable.
35938 [!gnulib] (gnulib-tests): Likewise.
35939 [!gnulib] (static-gnulib-arch): Likewise.
35940 [!gnulib] (static-gnulib-tests): Likewise.
35941 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35942 Define with "=" instead of ":=".
35943 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35944 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35945 * Rules (binaries-all-notests): New variable.
35946 (binaries-all-tests): Likewise.
35947 (binaries-static-notests): Likewise.
35948 (binaries-static-tests): Likewise.
35949 (binaries-all): Define using $(binaries-all-notests) and
35950 $(binaries-all-tests).
35951 (binaries-static): Define using $(binaries-static-notests) and
35952 $(binaries-static-tests).
35953 (binaries-shared-tests): New variable.
35954 (binaries-shared-notests): Likewise.
35955 (binaries-shared): Remove variable.
35956 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35957 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35958 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35959 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35960 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35961 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35962 * elf/Makefile (sln-modules): New variable.
35963 (extra-objs): Add $(sln-modules:=.o).
35964 (ldconfig-modules): Add static-stubs.
35965 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35966 * elf/static-stubs.c: New file.
35969 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35970 by 7 not 8 to examine high bit of fractional part. Use volatile
35971 variables when splitting into final array of floats if
35972 __FLT_EVAL_METHOD__ != 0.
35973 * math/libm-test.inc (cos_test): Add another test.
35974 (sin_test): Likewise.
35975 * sysdeps/i386/fpu/libm-test-ulps: Update.
35978 * math/libm-test.inc (cosh_test): Add more tests.
35980 * version.h (RELEASE): Set to "development".
35981 (VERSION): Set to "2.16.90".
35983 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35985 * NEWS: Update copyright. Remove last-updated date.
35986 Mention math library bug fixes and timezone data changes.
35987 * README: Mention GNU/Hurd, x32, and HPPA support status.
35989 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35991 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35993 2012-06-27 Andreas Jaeger <aj@suse.de>
35995 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35997 2012-06-25 Andreas Jaeger <aj@suse.de>
35999 * sysdeps/s390/fpu/libm-test-ulps: Update.
36001 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36002 Thomas Schwinge <thomas@codesourcery.com>
36004 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36005 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36009 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36011 * sysdeps/mach/start.c: Remove file.
36012 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36013 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36014 * sysdeps/sh/init-first.c: Likewise.
36016 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36017 registers for frame unwinding purposes, add CFI directives.
36018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36020 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36023 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36024 __fortify_fail returning.
36025 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36027 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36028 sysdeps/sh/____longjmp_chk.S.
36029 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36030 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36031 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36032 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36034 * sysdeps/sh/abort-instr.h: New file.
36035 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36036 process in case exit returns.
36038 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36039 initialize the GOT register before use.
36041 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36042 calculation of ARGC > 4.
36044 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36045 meaningful names to some local labels.
36047 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36048 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36050 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36051 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36052 (__arch_compare_and_exchange_val_16_acq): Likewise.
36053 (__arch_compare_and_exchange_val_32_acq): Likewise.
36054 (atomic_exchange_and_add): Fix gUSA sequence.
36055 (atomic_add): Likewise.
36056 (atomic_add_negative): Likewise.
36057 (atomic_add_zero): Likewise.
36058 (atomic_bit_test_set): Likewise.
36060 2012-06-22 Andreas Schwab <schwab@redhat.com>
36063 * include/link.h (struct link_map): Add l_free_initfini.
36064 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36066 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36067 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36068 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36071 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36073 * configure.in: Use AC_LANG_SOURCE.
36074 * configure: Regenerate.
36076 2012-06-22 Roland McGrath <roland@hack.frob.com>
36078 * configure.in (libc_cv_localstatedir): New substituted variable.
36079 * configure: Regenerated.
36080 * config.make.in (localstatedir): New variable, substituted from
36081 libc_cv_localstatedir.
36082 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36083 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36084 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36085 * sysdeps/gnu/configure: Regenerated.
36087 2012-06-21 Jeff Law <law@redhat.com>
36090 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36091 free. Simplify list management for _LIBC case.
36093 2012-06-21 Joseph Myers <joseph@codesourcery.com>
36096 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36097 Clear sign bit of 64-bit integer value before comparing against
36100 * sysdeps/mach/configure: Regenerated.
36102 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36105 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36107 2012-06-21 Jeff Law <law@redhat.com>
36110 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36111 uint16_t for elements in the "seen" array to avoid char overflows.
36112 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36113 * elf/dl-open.c (dl_open_worker): Likewise.
36115 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36117 * scripts/list-sources.sh: Scan PORTS for translations.
36118 * po/libc.pot: Regenerated.
36120 2012-06-21 Andreas Jaeger <aj@suse.de>
36123 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36125 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36126 * bits/byteswap-16.h (__bswap_16): Likewise.
36127 * bits/byteswap.h (__bswap_constant_16): Likewise.
36129 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36132 * sysdeps/i386/fpu_control.h: Removed.
36133 * sysdeps/x86_64/fpu_control.h: Moved to ...
36134 * sysdeps/x86/fpu_control.h: Here.
36136 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36137 (_FPU_SETCW): Likewise.
36139 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36142 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36143 * sysdeps/x86/fpu/bits/mathinline.h: This.
36144 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36148 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36149 functions if __x86_64__ is defined.
36151 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36153 * string/endian.h: Add !__ASSEMBLER__ condition for including
36154 conversion interfaces.
36156 2012-06-15 Joseph Myers <joseph@codesourcery.com>
36159 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36160 of ABS(x) in calculating zero to negative powers other than odd
36162 * math/libm-test.inc (pow_test): Add more tests.
36164 2012-06-15 Andreas Jaeger <aj@suse.de>
36166 * manual/contrib.texi (Contributors): Update entry of Liubov
36167 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36170 2012-06-15 Cyril Hrubis <metan@ucw.cz>
36172 * string/string.h: Add __wur to GNU version of strerror_r.
36174 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36177 * string/Makefile (tests): Add tst-strtok_r.
36178 * string/tst-strtok_r.c: New file.
36179 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36180 RAX_LP/RDX_LP on SAVE_PTR.
36182 2012-06-14 Roland McGrath <roland@hack.frob.com>
36184 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36186 2012-06-14 Joseph Myers <joseph@codesourcery.com>
36188 * libm_test.inc (csqrt_test): Allow more spurious underflow
36190 (j0_test): Likewise.
36191 (j1_test): Likewise.
36192 (y0_test): Likewise.
36193 (y1_test): Likewise.
36195 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36197 * po/Makefile (libc.pot): Use UTF-8 charset.
36199 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36202 Suppress sign-conversion warning from FD_SET.
36203 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36204 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36205 not unsigned long int.
36206 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36208 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36212 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36213 __extern_always_inline instead of __extern_inline.
36214 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36215 (__signbit): Likewise.
36216 (__signbitl): Support C++ namespace.
36217 (lrintf): New inline function.
36219 (llrintf): Likewise.
36220 (llrint): Likewise.
36230 (floorf): Likewise.
36231 (nearbyint): Likewise.
36232 (nearbyintf): Likewise.
36234 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36236 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36237 non-default versions.
36239 2012-06-11 Roland McGrath <roland@hack.frob.com>
36242 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36244 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36246 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36247 (FE_UPWARD, FE_DOWNWARD): Don't define.
36248 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36249 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36251 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36253 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36254 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36256 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36258 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36260 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36261 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36263 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36266 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36267 * sysdeps/i386/fpu/Implies: New file.
36268 * sysdeps/x86_64/fpu/Implies: Likewise.
36269 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36270 * sysdeps/x86/fpu/bits/fenv.h: This.
36272 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36275 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36278 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36279 character 0xffff that matches the last element of the
36282 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36284 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36287 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36290 values higher than 25.6283.
36292 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36294 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36295 subnormal exponent extraction and add some __builtin_expect.
36296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36297 Fix for subnormal mantissa calculation.
36299 2012-06-04 Mike Frysinger <vapier@gentoo.org>
36301 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36302 cpu2 is -1 and errno is not ENOSYS.
36304 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36307 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36308 * sysdeps/x86/bits/string.h: This.
36309 * sysdeps/x86_64/bits/string.h: Removed.
36311 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36312 if not compiling for x86-64, but compiling for >= i486.
36314 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36315 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36317 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36318 New macro from Linux kernel 3.4.0.
36319 (FP_XSTATE_MAGIC2): Likewise.
36320 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36321 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36322 (struct _fpx_sw_bytes): New struct.
36323 (struct _xsave_hdr): Likewise.
36324 (struct _ymmh_state): Likewise.
36325 (struct _xstate): Likewise.
36327 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36328 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36329 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36330 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36331 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36332 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36334 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36335 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36336 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36337 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36338 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36339 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36341 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36344 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36345 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36346 (sysdep_headers): Include sys/platform/ppc.h.
36347 * sysdeps/powerpc/test-gettimebase.c: Test for
36348 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36349 * manual/Makefile (appendices): Include platform.texi.
36350 * manual/contrib.texi (Contributors): Update @node pointers.
36351 * manual/maint.texi (Maintenance): Likewise.
36352 (Platform): New node.
36353 * manual/platform.texi: New file. Document the new features.
36355 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36356 Jakub Jelinek <jakub@redhat.com>
36359 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36360 where __builtin_expect is unavailable.
36362 2012-06-03 David S. Miller <davem@davemloft.net>
36364 * stdlib/longlong.h: Updated from GCC.
36366 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36369 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36370 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36373 (GLIBC_2.16): Likewise.
36375 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36377 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36379 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36382 (default-abi): New variable.
36383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36384 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36386 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36388 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36390 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36393 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36394 definition. Document in comment.
36396 2012-06-01 David S. Miller <davem@davemloft.net>
36398 * stdlib/longlong.h: Updated from GCC.
36400 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36403 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36404 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36405 sys/debugreg.h sys/io.h here.
36406 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36407 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36409 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36410 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36411 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36412 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36413 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36414 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36416 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36417 Define only if __x86_64__ is defined.
36419 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36423 Use int64_t for variable i.
36424 * math/libm-test.inc (fmod_test): Add more tests.
36426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36427 z computation is not scheduled after fetestexcept.
36428 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36429 Use math_force_eval instead of asm to ensure calculation scheduled
36430 before exception test.
36431 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36432 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36434 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36437 computation is not scheduled after fetestexcept.
36439 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36442 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36443 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36445 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36447 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36448 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36450 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36453 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36455 (__WCHAR_MIN): Support __WORDSIZE == 64.
36456 (__WCHAR_MAX): Likewise.
36458 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36459 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36462 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36463 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36466 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36467 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36469 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36470 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36472 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36473 Defined to 1 if __x86_64__ isn't defined.
36474 (_STAT_VER_LINUX_OLD): New.
36475 (st_atime): Remove duplicate.
36476 (st_mtime): Likewise.
36477 (st_ctime): Likewise.
36479 2012-05-31 David S. Miller <davem@davemloft.net>
36481 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36484 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36486 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36490 * elf/dl-reloc.c: Include <_itoa.h>.
36491 (_dl_reloc_bad_type): Remove use of INTUSE.
36492 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36493 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36494 * stdio-common/psiginfo.c (psiginfo): Likewise.
36495 * stdio-common/psignal.c (psignal): Likewise.
36496 * string/strsignal.c (strsignal): Likewise.
36497 * include/signal.h (_sys_siglist): Declare hidden proto.
36498 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36499 INTVARDEF with libc_hidden_data_def.
36500 * stdio-common/itoa-udigits.c: Likewise.
36501 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36502 (_itoa_lower_digits_internal): Remove declaration.
36503 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36504 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36505 (_sys_sigabbrev_internal): Remove aliases.
36506 (_sys_siglist): Define hidden alias.
36508 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36513 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36516 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36517 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36519 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36520 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36521 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36522 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36523 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36524 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36526 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36527 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36528 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36530 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36538 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36539 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36540 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36542 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36543 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36544 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36545 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36546 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36547 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36549 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36550 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36552 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36553 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36555 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36556 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36557 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36559 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36560 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36562 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36564 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36565 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36566 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36568 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36570 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36572 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36574 * math/math.h (M_El): Use two more decimal places.
36575 (M_LOG2El): Likewise.
36576 (M_LOG10El): Likewise.
36577 (M_LN2l): Likewise.
36578 (M_LN10l): Likewise.
36580 (M_PI_2l): Likewise.
36581 (M_PI_4l): Likewise.
36582 (M_1_PIl): Likewise.
36583 (M_2_PIl): Likewise.
36584 (M_2_SQRTPIl): Likewise.
36585 (M_SQRT2l): Likewise.
36586 (M_SQRT1_2l): Likewise.
36588 2012-05-31 David S. Miller <davem@davemloft.net>
36590 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36591 values between float registers.
36592 * sysdeps/sparc/sparc64/memset.S: Likewise.
36593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36595 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36597 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36598 -D_FORTIFY_SOURCE=1.
36599 (CPPFLAGS-tst-longjmp_chk.c): Define.
36600 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36601 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36602 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36603 CFLAGS-tst-wchar-h.c.
36605 2012-05-31 Marek Polacek <polacek@redhat.com>
36608 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36609 __endmntent_internal): Remove declaration.
36610 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36611 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36612 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36614 2012-05-30 David S. Miller <davem@davemloft.net>
36616 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36617 (___Q_simulate_exceptions): Use real FP ops rather than writing
36619 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36622 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36625 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36626 * sysdeps/x86/bits/xtitypes.h: This.
36628 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36629 * sysdeps/x86/bits/wordsize.h: This.
36631 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36632 * sysdeps/x86/bits/huge_vall.h: This.
36634 * sysdeps/i386/bits/select.h: Removed.
36635 * sysdeps/x86_64/bits/select.h: Renamed to ...
36636 * sysdeps/x86/bits/select.h: This.
36638 * sysdeps/i386/bits/setjmp.h: Removed.
36639 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36640 * sysdeps/x86/bits/setjmp.h: This.
36642 * sysdeps/i386/bits/mathdef.h: Removed.
36643 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36644 * sysdeps/x86/bits/mathdef.h: This.
36646 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36649 * include/sys/socket.h (__connect_internal)
36650 (__libc_sa_len_internal): Remove declaration.
36651 (__connect, __libc_sa_len): Declare hidden_proto.
36652 (SA_LEN): Remove use of INTUSE.
36653 * socket/connect.c: Add libc_hidden_def.
36654 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36655 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36656 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36658 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36659 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36660 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36661 of adding _internal alias.
36663 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36666 * sysdeps/i386/bits/link.h: Removed.
36667 * sysdeps/i386/bits/linkmap.h: Likewise.
36668 * sysdeps/x86_64/bits/link.h: Renamed to ...
36669 * sysdeps/x86/bits/link.h: This.
36670 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36671 * sysdeps/x86/bits/linkmap.h: This.
36673 * sysdeps/i386/bits/endian.h: Removed.
36674 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36675 * sysdeps/x86/bits/endian.h: This.
36677 * sysdeps/i386/bits/byteswap.h: Removed.
36678 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36679 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36680 * sysdeps/x86/bits/byteswap.h: This.
36681 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36682 * sysdeps/x86/bits/byteswap-16.h: This.
36683 * sysdeps/i386/Implies: Add x86.
36684 * sysdeps/x86_64/Implies: Likewise.
36686 2012-05-30 David S. Miller <davem@davemloft.net>
36688 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36689 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36690 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36691 (FP_TRAPPING_EXCEPTIONS): Define.
36692 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36693 (FP_TRAPPING_EXCEPTIONS): Define.
36694 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36695 subnormals only when inexact has been signalled or underflow
36696 exceptions are enabled.
36697 (_FP_PACK_CANONICAL): Likewise.
36699 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36702 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36703 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36705 2012-05-30 Richard Henderson <rth@twiddle.net>
36707 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36708 with #ifndef NOT_IN_libc.
36710 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36711 marked to avoid plt entry.
36713 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36716 * Makeconfig (default-abi): New macro.
36717 (abi-includes): Likewise.
36718 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36719 $(abi-$(default-abi)-lib-soname) for soname if defined.
36720 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36722 * Makefile (installed-stubs): Likewise.
36723 * include/stubs-biarch.h: Removed.
36724 * scripts/lib-names.awk: Only handle one library at a time.
36725 * scripts/soversions.awk: Remove WORDSIZE support.
36726 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36728 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36730 (syscall-list-default-condition): Likewise.
36731 (syscall-list-default-condition): Likewise.
36732 (syscall-list-includes): Likewise.
36733 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36734 syscall-list-* with abi-*. Handle undefined abi-variants.
36735 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36736 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36737 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36738 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36739 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36740 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36742 (syscall-list-32-options): Likewise.
36743 (syscall-list-32-condition): Likewise.
36744 (syscall-list-64-options): Likewise.
36745 (syscall-list-64-condition): Likewise.
36746 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36748 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36751 (abi-64-ld-soname): New macro.
36752 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36753 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36756 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36757 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36759 2012-05-30 Joseph Myers <joseph@codesourcery.com>
36761 * sysdeps/unix/sysv/linux/kernel-features.h
36762 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36763 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36764 include <kernel-features.h>.
36765 [!__NR_ftruncate64]: Remove conditional code.
36766 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36767 [__NR_ftruncate64]: Make code unconditional.
36768 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36769 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36770 include <kernel-features.h>.
36771 [!__NR_ftruncate64]: Remove conditional code.
36772 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36773 [__NR_ftruncate64]: Make code unconditional.
36774 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36776 include <kernel-features.h>.
36777 [!__NR_ftruncate64]: Remove conditional code.
36778 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36779 [__NR_ftruncate64]: Make code unconditional.
36780 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36782 include <kernel-features.h>.
36783 [!__NR_ftruncate64]: Remove conditional code.
36784 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36785 [__NR_ftruncate64]: Make code unconditional.
36786 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36788 * configure.in (libc_cv_fpie): Weaken to a compile test using
36789 LIBC_TRY_CC_OPTION.
36790 * configure: Regenerated.
36792 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36807 2012-05-27 David S. Miller <davem@davemloft.net>
36809 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36811 (__Q_simulate_exceptions): Return void. Change to simulate
36812 exceptions by writing into the %fsr.
36813 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36814 (__Qp_handle_exceptions): Likewise.
36816 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36817 __Qp_handle_exceptions.
36818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36819 __Qp_handle_exceptions.
36820 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36821 as unused and give dummy FP_RND_NEAREST initializer.
36822 (FP_INHIBIT_RESULTS): Define.
36823 (___Q_simulate_exceptions): Update declaration.
36824 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36826 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36827 as unused and give dummy FP_RND_NEAREST initializer.
36828 (__Qp_handle_exceptions): Update declaration.
36829 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36832 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36834 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36835 the temporary FPU control word.
36836 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36837 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36838 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36839 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36840 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36841 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36842 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36843 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36844 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36845 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36846 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36848 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36850 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36853 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36855 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36856 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36857 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36858 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36860 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36861 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36864 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36866 * po/h.po: Update from translation team.
36868 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36870 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36872 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36873 handling of denormals.
36874 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36875 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36876 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36877 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36883 2012-05-26 Marek Polacek <polacek@redhat.com>
36886 * math/libm-test.inc (fma_test): Don't always expect underflow
36889 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36892 * elf/tst-execstack.c: Include stackinfo.h.
36893 (do_test): Adjust test case to ensure that pthread_getattr_np
36894 behaviour remains the same after marking stack executable.
36896 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36898 * sysdeps/unix/sysv/linux/kernel-features.h
36899 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36900 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36902 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36903 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36904 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36906 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36907 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36909 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36911 * configure.in: Define the default includes to being none.
36912 * configure: Regenerated.
36914 2012-05-25 Roland McGrath <roland@hack.frob.com>
36916 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36917 * sysdeps/x86_64/setjmp.S: Likewise.
36918 * sysdeps/i386/bsd-setjmp.S: Likewise.
36919 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36920 * sysdeps/i386/setjmp.S: Likewise.
36921 * sysdeps/i386/__longjmp.S: Likewise.
36922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36923 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36925 * include/stap-probe.h: New file.
36926 * configure.in: Handle --enable-systemtap.
36927 * configure: Regenerated.
36928 * config.h.in (USE_STAP_PROBE): New #undef.
36929 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36930 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36931 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36933 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36936 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36937 to 2.4.0 where earlier.
36938 * sysdeps/unix/sysv/linux/configure: Regenerated.
36939 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36940 <kernel-features.h>.
36941 [__ASSUME_32BITUIDS]: Make code unconditional.
36942 [!__ASSUME_32BITUIDS]: Remove conditional code.
36943 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36944 <kernel-features.h>.
36945 [__ASSUME_32BITUIDS]: Make code unconditional.
36946 [!__ASSUME_32BITUIDS]: Remove conditional code.
36947 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36948 [__ASSUME_32BITUIDS]: Make code unconditional.
36949 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36950 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36951 <kernel-features.h>.
36952 [__ASSUME_32BITUIDS]: Make code unconditional.
36953 [!__ASSUME_32BITUIDS]: Remove conditional code.
36954 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36955 <kernel-features.h>.
36956 [__ASSUME_32BITUIDS]: Make code unconditional.
36957 [!__ASSUME_32BITUIDS]: Remove conditional code.
36958 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36959 <kernel-features.h>.
36960 [__ASSUME_32BITUIDS]: Make code unconditional.
36961 [!__ASSUME_32BITUIDS]: Remove conditional code.
36962 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36963 <kernel-features.h>.
36964 [__ASSUME_32BITUIDS]: Make code unconditional.
36965 [!__ASSUME_32BITUIDS]: Remove conditional code.
36966 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36967 <kernel-features.h>.
36968 [__ASSUME_32BITUIDS]: Make code unconditional.
36969 [!__ASSUME_32BITUIDS]: Remove conditional code.
36970 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36971 <kernel-features.h>.
36972 [__ASSUME_32BITUIDS]: Make code unconditional.
36973 [!__ASSUME_32BITUIDS]: Remove conditional code.
36974 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36975 <kernel-features.h>.
36976 [__ASSUME_32BITUIDS]: Make code unconditional.
36977 [!__ASSUME_32BITUIDS]: Remove conditional code.
36978 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36979 <kernel-features.h>.
36980 [__ASSUME_32BITUIDS]: Make code unconditional.
36981 [!__ASSUME_32BITUIDS]: Remove conditional code.
36982 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36983 <kernel-features.h>.
36984 [__ASSUME_32BITUIDS]: Make code unconditional.
36985 [!__ASSUME_32BITUIDS]: Remove conditional code.
36986 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36987 <kernel-features.h>.
36988 [__ASSUME_32BITUIDS]: Make code unconditional.
36989 [!__ASSUME_32BITUIDS]: Remove conditional code.
36990 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36991 <kernel-features.h>.
36992 [__NR_setresgid] (__setresgid): Do not declare.
36993 [__ASSUME_32BITUIDS]: Make code unconditional.
36994 [!__ASSUME_32BITUIDS]: Remove conditional code.
36995 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36996 <kernel-features.h>.
36997 [__NR_setresuid] (__setresuid): Do not declare.
36998 [__ASSUME_32BITUIDS]: Make code unconditional.
36999 [!__ASSUME_32BITUIDS]: Remove conditional code.
37000 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37001 <kernel-features.h>.
37002 [__ASSUME_32BITUIDS]: Make code unconditional.
37003 [!__ASSUME_32BITUIDS]: Remove conditional code.
37004 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37005 <kernel-features.h>.
37006 [__ASSUME_32BITUIDS]: Make code unconditional.
37007 [!__ASSUME_32BITUIDS]: Remove conditional code.
37008 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37009 <kernel-features.h>.
37010 [__ASSUME_32BITUIDS]: Make code unconditional.
37011 [!__ASSUME_32BITUIDS]: Remove conditional code.
37012 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37013 <kernel-features.h>.
37014 [__ASSUME_32BITUIDS]: Make code unconditional.
37015 [!__ASSUME_32BITUIDS]: Remove conditional code.
37016 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37017 <kernel-features.h>.
37018 [__ASSUME_32BITUIDS]: Make code unconditional.
37019 [!__ASSUME_32BITUIDS]: Remove conditional code.
37020 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37021 <kernel-features.h>.
37022 [__ASSUME_32BITUIDS]: Make code unconditional.
37023 [!__ASSUME_32BITUIDS]: Remove conditional code.
37024 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37025 <kernel-features.h>.
37026 [__ASSUME_32BITUIDS]: Make code unconditional.
37027 [!__ASSUME_32BITUIDS]: Remove conditional code.
37028 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37029 <kernel-features.h>.
37030 [__ASSUME_32BITUIDS]: Make code unconditional.
37031 [!__ASSUME_32BITUIDS]: Remove conditional code.
37032 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37033 <kernel-features.h>.
37034 [__ASSUME_32BITUIDS]: Make code unconditional.
37035 [!__ASSUME_32BITUIDS]: Remove conditional code.
37036 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37037 <kernel-features.h>.
37038 [__ASSUME_32BITUIDS]: Make code unconditional.
37039 [!__ASSUME_32BITUIDS]: Remove conditional code.
37040 * sysdeps/unix/sysv/linux/kernel-features.h
37041 (__ASSUME_SETRESUID_SYSCALL): Remove.
37042 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37043 (__ASSUME_32BITUIDS): Likewise.
37044 (__ASSUME_LDT_WORKS): Likewise.
37045 (__ASSUME_O_DIRECTORY): Likewise.
37046 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37047 architecture but not kernel version.
37048 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37049 (__ASSUME_MMAP2_SYSCALL): Likewise.
37050 (__ASSUME_STAT64_SYSCALL): Likewise.
37051 (__ASSUME_IPC64): Likewise.
37052 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37053 <kernel-features.h>.
37054 [__ASSUME_32BITUIDS]: Make code unconditional.
37055 [!__ASSUME_32BITUIDS]: Remove conditional code.
37056 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37057 <kernel-features.h>.
37058 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37059 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37060 132096]: Remove conditional code.
37061 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37062 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37063 <kernel-features.h>.
37064 [__ASSUME_32BITUIDS]: Make code unconditional.
37065 [!__ASSUME_32BITUIDS]: Remove conditional code.
37066 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37067 <kernel-features.h>.
37068 [__ASSUME_32BITUIDS]: Make code unconditional.
37069 [!__ASSUME_32BITUIDS]: Remove conditional code.
37070 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37071 <kernel-features.h>.
37072 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37074 (__setresgid): Do not declare.
37075 [__ASSUME_32BITUIDS]: Make code unconditional.
37076 [!__ASSUME_32BITUIDS]: Remove conditional code.
37077 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37078 <kernel-features.h>.
37079 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37081 (__setresuid): Do not declare.
37082 [__ASSUME_32BITUIDS]: Make code unconditional.
37083 [!__ASSUME_32BITUIDS]: Remove conditional code.
37084 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37085 <kernel-features.h>.
37086 [__ASSUME_32BITUIDS]: Make code unconditional.
37087 [!__ASSUME_32BITUIDS]: Remove conditional code.
37088 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37089 <kernel-features.h>.
37090 [__ASSUME_32BITUIDS]: Make code unconditional.
37091 [!__ASSUME_32BITUIDS]: Remove conditional code.
37093 2012-05-25 Richard Henderson <rth@twiddle.net>
37095 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37096 dl_hwcap to ifunc resolver.
37097 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37099 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37100 dl_hwcap to ifunc resolver.
37101 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37103 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37106 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37107 for |x| <= 2**-26, not 2**-57.
37108 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37111 2012-05-24 Jeff Law <law@redhat.com>
37113 * stdio-common/Makefile (tests): Add bug25.
37114 * stdio-common/bug25.c: New test.
37116 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37119 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37120 multiple of MALLOC_ALIGNMENT in size.
37121 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37123 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37125 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37127 (FILENAME_MAX): Use macro-int-constant.
37128 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37129 (_IOFBF): Use macro-int-constant.
37130 (_IOLBF): Likewise.
37131 (_IONBF): Likewise.
37132 (SEEK_CUR): Likewise.
37133 (SEEK_END): Likewise.
37134 (SEEK_SET): Likewise.
37135 (TMP_MAX): Likewise.
37136 (EOF): Use macro-int-constant. Require < 0.
37137 (NULL): Use macro-constant. Require == 0.
37138 (stdin): Require type to be FILE *.
37139 (stdout): Likewise.
37140 (stderr): Likewise.
37141 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37142 macro-int-constant.
37143 (EXIT_SUCCESS): Likewise.
37144 (NULL): Use macro-constant. Require == 0.
37145 (RAND_MAX): Use macro-int-constant.
37146 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37147 [C99-based standards] (strtof): Require function.
37148 [C99-based standards] (strtold): Likewise.
37149 [C99-based standards] (strtoll): Likewise.
37150 [C99-based standards] (strtoull): Likewise.
37151 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37152 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37153 [ISO || ISO99 || ISO11] (math.h): Likewise.
37154 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37155 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37156 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37158 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37161 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37162 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37163 * intl/dgettext.c (DCGETTEXT): Likewise.
37164 * intl/gettext.c (DCGETTEXT): Likewise.
37165 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37166 * posix/regex_internal.h (gettext): Likewise.
37167 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37168 Remove declaration.
37169 * include/argz.h (__argz_count_internal)
37170 (__argz_stringify_internal): Remove declaration.
37171 (__argz_count, __argz_stringify): Declare hidden proto.
37172 * intl/dcgettext.c: Remove use of INTDEF.
37173 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37174 * string/argz-stringify.c: Likewise.
37175 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37176 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37177 Declare hidden proto.
37178 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37179 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37180 Declare hidden proto.
37181 * include/stdio.h (__asprintf_internal): Don't declare.
37182 (__asprintf): Don't define as macro. Declare hidden proto.
37183 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37184 (__fsetlocking): Declare hidden proto.
37185 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37186 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37188 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37189 (_IO_setlinebuf): Remove use of INTUSE.
37190 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37191 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37192 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37193 Remove declaration.
37194 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37195 (_IO_do_flush): Remove use of INTUSE.
37196 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37197 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37198 (_IO_adjust_column, _IO_least_wmarker)
37199 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37200 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37201 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37202 (_IO_default_doallocate, _IO_wdefault_doallocate)
37203 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37204 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37205 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37206 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37207 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37208 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37209 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37210 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37211 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37212 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37213 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37214 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37215 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37217 (_IO_flush_all_internal, _IO_adjust_column_internal)
37218 (_IO_default_uflow_internal, _IO_default_finish_internal)
37219 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37220 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37221 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37222 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37223 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37224 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37225 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37226 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37227 (_IO_file_close_internal, _IO_file_close_it_internal)
37228 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37229 (_IO_file_init_internal, _IO_file_attach_internal)
37230 (_IO_file_fopen_internal, _IO_file_read_internal)
37231 (_IO_file_sync_internal, _IO_file_seek_internal)
37232 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37233 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37234 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37235 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37236 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37237 (_IO_list_all_internal, _IO_link_in_internal)
37238 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37239 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37240 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37241 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37242 (_IO_do_write_internal, _IO_padn_internal)
37243 (_IO_getline_info_internal, _IO_getline_internal)
37244 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37245 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37246 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37247 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37248 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37249 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37250 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37251 with libc_hidden_ver, remove use of INTUSE.
37252 * libio/genops.c: Likewise.
37253 * libio/freopen.c: Likewise.
37254 * libio/freopen64.c: Likewise.
37255 * libio/iofclose.c: Likewise.
37256 * libio/iofdopen.c: Likewise.
37257 * libio/iofflush.c: Likewise.
37258 * libio/iofflush_u.c: Likewise.
37259 * libio/iofgets.c: Likewise.
37260 * libio/iofgets_u.c: Likewise.
37261 * libio/iofopen.c: Likewise.
37262 * libio/iofopncook.c: Likewise.
37263 * libio/iofread.c: Likewise.
37264 * libio/iofread_u.c: Likewise.
37265 * libio/ioftell.c: Likewise.
37266 * libio/iofwrite.c: Likewise.
37267 * libio/iogetline.c: Likewise.
37268 * libio/iogets.c: Likewise.
37269 * libio/iogetwline.c: Likewise.
37270 * libio/iopadn.c: Likewise.
37271 * libio/iopopen.c: Likewise.
37272 * libio/ioseekoff.c: Likewise.
37273 * libio/ioseekpos.c: Likewise.
37274 * libio/iosetbuffer.c: Likewise.
37275 * libio/iosetvbuf.c: Likewise.
37276 * libio/ioungetc.c: Likewise.
37277 * libio/ioungetwc.c: Likewise.
37278 * libio/iovdprintf.c: Likewise.
37279 * libio/iovsprintf.c: Likewise.
37280 * libio/iovsscanf.c: Likewise.
37281 * libio/memstream.c: Likewise.
37282 * libio/obprintf.c: Likewise.
37283 * libio/oldfileops.c: Likewise.
37284 * libio/oldiofclose.c: Likewise.
37285 * libio/oldiofdopen.c: Likewise.
37286 * libio/oldiofopen.c: Likewise.
37287 * libio/oldiopopen.c: Likewise.
37288 * libio/oldstdfiles.c: Likewise.
37289 * libio/putc.c: Likewise.
37290 * libio/setbuf.c: Likewise.
37291 * libio/setlinebuf.c: Likewise.
37292 * libio/stdfiles.c: Likewise.
37293 * libio/strops.c: Likewise.
37294 * libio/vasprintf.c: Likewise.
37295 * libio/vscanf.c: Likewise.
37296 * libio/vsnprintf.c: Likewise.
37297 * libio/vswprintf.c: Likewise.
37298 * libio/wfiledoalloc.c: Likewise.
37299 * libio/wfileops.c: Likewise.
37300 * libio/wgenops.c: Likewise.
37301 * libio/wmemstream.c: Likewise.
37302 * libio/wstrops.c: Likewise.
37303 * libio/__fpurge.c: Likewise.
37304 * libio/__fsetlocking.c: Likewise.
37305 * assert/assert.c: Likewise.
37306 * debug/fgets_chk.c: Likewise.
37307 * debug/fgets_u_chk.c: Likewise.
37308 * debug/fread_chk.c: Likewise.
37309 * debug/fread_u_chk.c: Likewise.
37310 * debug/gets_chk.c: Likewise.
37311 * debug/obprintf_chk.c: Likewise.
37312 * debug/vasprintf_chk.c: Likewise.
37313 * debug/vdprintf_chk.c: Likewise.
37314 * debug/vsnprintf_chk.c: Likewise.
37315 * debug/vsprintf_chk.c: Likewise.
37316 * malloc/mtrace.c: Likewise.
37317 * misc/error.c: Likewise.
37318 * misc/syslog.c: Likewise.
37319 * stdio-common/asprintf.c: Likewise.
37320 * stdio-common/fxprintf.c: Likewise.
37321 * stdio-common/getw.c: Likewise.
37322 * stdio-common/isoc99_fscanf.c: Likewise.
37323 * stdio-common/isoc99_scanf.c: Likewise.
37324 * stdio-common/isoc99_vfscanf.c: Likewise.
37325 * stdio-common/isoc99_vscanf.c: Likewise.
37326 * stdio-common/isoc99_vsscanf.c: Likewise.
37327 * stdio-common/printf-prs.c: Likewise.
37328 * stdio-common/printf_fp.c: Likewise.
37329 * stdio-common/printf_fphex.c: Likewise.
37330 * stdio-common/printf_size.c: Likewise.
37331 * stdio-common/putw.c: Likewise.
37332 * stdio-common/scanf.c: Likewise.
37333 * stdio-common/sprintf.c: Likewise.
37334 * stdio-common/tmpfile.c: Likewise.
37335 * stdio-common/vfprintf.c: Likewise.
37336 * stdio-common/vfscanf.c: Likewise.
37337 * stdlib/strfmon_l.c: Likewise.
37338 * sunrpc/openchild.c: Likewise.
37339 * sunrpc/xdr_stdio.c: Likewise.
37340 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37341 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37343 2012-05-24 Roland McGrath <roland@hack.frob.com>
37345 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37347 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37348 in the third column, to generate for the shared library an IFUNC
37349 that uses _dl_vdso_vsym.
37350 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37351 * Makeconfig (object-suffixes-noshared): New variable.
37353 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37354 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37355 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37356 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37359 * include/sys/time.h (__gettimeofday): Remove macro.
37360 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37361 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37363 (__gettimeofday): Add libc_hidden_def.
37364 (gettimeofday): Add libc_hidden_weak.
37365 * sysdeps/mach/gettimeofday.c: Likewise.
37366 * sysdeps/posix/gettimeofday.c: Likewise.
37367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37368 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37369 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37370 (__gettimeofday_internal): Remove strong_alias.
37371 (__gettimeofday): Add libc_hidden_def.
37372 (gettimeofday): Add libc_hidden_weak.
37373 * sysdeps/unix/syscalls.list (gettimeofday):
37374 Remove __gettimeofday_internal alias.
37376 2012-05-24 Daniel Jacobowitz <drow@false.org>
37377 H.J. Lu <hongjiu.lu@intel.com>
37380 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37381 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37382 (largebin_index_32_big): New.
37383 (largebin_index): Use it for 16-byte alignment.
37384 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37385 correction with front_misalign.
37387 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37415 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37416 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37418 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37422 * math/libm-test.inc (exp_test): Add test from bug 14036.
37423 (pow_test): Add test from bug 10846.
37425 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37427 (special_function): Do not include flags in test name.
37428 (parse_args): Likewise.
37429 * sysdeps/i386/fpu/libm-test-ulps: Update.
37430 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37431 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37432 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37435 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37437 * math/libm-test.inc ("Philosophy"): Update comment about
37439 (UNDERFLOW_EXCEPTION): New macro.
37440 (UNDERFLOW_EXCEPTION_OK): Likewise.
37441 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37442 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37443 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37444 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37445 (INVALID_EXCEPTION_OK): Update value.
37446 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37447 (OVERFLOW_EXCEPTION_OK): Likewise.
37448 (IGNORE_ZERO_INF_SIGN): Likewise.
37449 (test_exceptions): Handle underflow exceptions.
37450 (acos_test): Update for underflow exception expectations.
37451 (cexp_test): Likewise.
37452 (clog_test): Likewise.
37453 (clog10_test): Likewise.
37454 (csqrt_test): Likewise.
37455 (ctan_test): Likewise.
37456 (ctanh_test): Likewise.
37457 (exp_test): Likewise.
37458 (exp10_test): Likewise.
37459 (exp2_test): Likewise.
37460 (expm1_test): Likewise.
37461 (fma_test): Likewise.
37462 (j0_test): Likewise.
37463 (jn_test): Likewise.
37464 (nexttoward_test): Likewise.
37465 (pow_test): Likewise.
37466 (scalbn_test): Likewise.
37467 (scalbln_test): Likewise.
37468 (tan_test): Likewise.
37469 (y1_test): Likewise.
37470 * sysdeps/i386/fpu/libm-test-ulps: Update.
37471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37473 2012-05-23 David S. Miller <davem@davemloft.net>
37475 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37476 (__libc_sigaction): Remove unused local variables.
37478 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37480 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37482 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37484 mktime: avoid signed integer overflow
37485 * time/mktime.c (__mktime_internal): Do not mishandle the case
37486 where diff == INT_MIN.
37488 mktime: simplify computation of average
37489 * time/mktime.c (ranged_convert): Use new time_t_avg function
37490 instead of rolling our own (probably-slower) code.
37492 mktime: do not assume signed right shift propagates sign bit
37493 * time/mktime.c (isdst_differ): New static function.
37494 (__mktime_internal): No need to normalize tm_isdst now.
37495 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37498 mktime: merge another wrapv change from gnulib
37499 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37500 from some compilers.
37502 mktime: remove incorrect attempt at unusual arithmetics
37503 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37504 The code didn't really work on such machines anyway.
37505 (TYPE_MINIMUM): Assume two's complement.
37506 (twos_complement_arithmetic): Verify that long_int and time_t
37507 are two's complement (or unsigned, in the latter case).
37509 mktime: check signed shifts on long_int and time_t, too
37510 * time/mktime.c (SHR): Check that shifts work as desired
37511 on the types long_int and time_t too, as SHR is used on
37514 mktime: do not assume 'long' is wide enough
37515 * time/mktime.c (verify): Move decl up.
37516 (long_int): New type.
37517 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37518 to remove assumption in the code that 'long' is wide enough to
37519 store year values. This assumption is not true on x32 and on
37520 some non-glibc platforms.
37522 mktime: merge wrapv change from gnulib
37523 * time/mktime.c (WRAPV): New macro.
37524 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37525 (guess_time_tm, __mktime_internal): Do not assume that signed
37526 integer overflow wraps around; modern compilers generate code
37527 where this assumption is no longer valid.
37529 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37531 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37532 Replace "jmp L(pseudo_end)" with "ret".
37533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37536 2012-05-23 Andreas Jaeger <aj@suse.de>
37538 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37539 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37541 2012-05-23 Andreas Jaeger <aj@suse.de>
37542 Maximilian Attems <max@stro.at>
37544 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37547 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37550 code so that pseudo_end is just ret and the stack pointer is
37551 correct also for static library in error case.
37553 2012-05-23 Joseph Myers <joseph@codesourcery.com>
37555 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37556 move to syscalls.list.
37557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37562 * manual/install.texi (Running make install): Do not mention Linux
37563 kernel version for which pt_chown is not needed.
37564 (Linux): Do not mention problems with nscd with 2.0 kernels.
37565 * INSTALL: Regenerated.
37567 2012-05-23 Andreas Jaeger <aj@suse.de>
37569 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37570 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37572 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37574 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37575 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37576 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37577 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37578 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37579 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37580 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37581 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37582 * sysdeps/unix/sysv/linux/bits/in.h
37583 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37585 2012-05-22 Roland McGrath <roland@hack.frob.com>
37587 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37588 (PREPARE_VERSION): Just use assert instead, it will be elided
37589 under [NDEBUG] anyway.
37591 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37593 * sysdeps/unix/sysv/linux/Makefile: Include
37594 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37595 (sysdep_routines): Remove sysctl.
37596 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37597 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37598 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37599 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37600 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37602 2012-05-22 Andreas Jaeger <aj@suse.de>
37604 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37605 that pseudo_end is just ret and the stack pointer is correct also
37606 for static library in error case.
37608 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37611 * nss/nsswitch.c (defconfig_entries): New variable.
37612 (__nss_database_lookup): Don't leak defconfig entries.
37613 (nss_parse_service_list): Don't leak on error paths.
37614 (free_database_entries): New function.
37615 (free_defconfig): New function.
37616 (free_mem): Move common code to free_database_entries.
37618 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37622 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37624 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37625 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37628 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37629 (INTERNAL_SYSCALL_TYPES): Likewise.
37630 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37631 (LOAD_REGS_TYPES_[1-6]): Likewise.
37632 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37633 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37635 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37637 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37638 copysignl for GLIBC_2_0.
37639 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37640 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37642 logbl for GLIBC_2_0.
37643 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37644 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37646 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37649 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37651 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37654 * time/mktime.c: Update copyright years.
37656 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37658 mktime: merge comment-quoting-style change from gnulib
37659 * time/mktime.c: Quote 'like this' in comments.
37660 The GNU coding standards suggest that we no longer quote `like this',
37661 as "`" and "'" are typically rendered asymmetrically nowadays.
37662 The typical gnulib style is to quote 'like this' when quoting
37663 code, and "like this" when quoting English.
37665 * time/mktime.c (compile-command): Add "-I.".
37667 mktime: merge mktime-internal.h change from gnulib
37668 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37670 mktime: merge time_r change from gnulib
37671 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37673 mktime: merge DEBUG change from gnulib
37674 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37675 case system <time.h> has a #define.
37677 mktime: merge <sys/types.h> change from gnulib
37678 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37679 since <time.t> is now guaranteed to define time_t.
37681 mktime: merge HAVE_CONFIG_H change from gnulib
37682 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37684 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37689 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37691 (struct rusage): Use anonymous union to pad each field to
37694 2012-05-21 David S. Miller <davem@davemloft.net>
37696 * Makefules (o-iterator): Remove .s cases.
37697 (compile-command.s): Delete.
37698 (COMPILE.s): Delete.
37699 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37701 2012-05-21 Joseph Myers <joseph@codesourcery.com>
37703 * configure.in (libc_cv_predef_stack_protector): Only consider
37704 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37705 * configure: Regenerated.
37707 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37710 New macro. Use R*LP on int and pointer.
37711 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37712 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37713 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37714 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37716 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37717 [__WORDSIZE_TIME64_COMPAT32] instead of
37718 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37719 (struct utmp): Likewise.
37720 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37721 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37723 (__WORDSIZE_TIME64_COMPAT32): This.
37724 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37725 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37726 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37727 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37728 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37729 (__WORDSIZE_TIME64_COMPAT32): New macro.
37731 2012-05-21 Andreas Jaeger <aj@suse.de>
37733 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37734 only if [SHARED]. Add prototype for __wcschr_ia32.
37736 2012-05-21 Roland McGrath <roland@hack.frob.com>
37738 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37739 of %rbp unmolested in the jmp_buf while mangling the low bits.
37740 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37741 unmolested high bits of %rbp while demangling the low bits.
37742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37744 2012-05-21 Andreas Jaeger <aj@suse.de>
37746 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37747 * sunrpc/svc_simple.c: Use it for registerrpc.
37748 * sunrpc/xcrypt.c: Use it for passwd2des.
37750 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37752 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37754 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37755 Don't define if [__SYSCALL_WORDSIZE != 32].
37756 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37759 2012-05-21 Bruno Haible <bruno@clisp.org>
37760 Andreas Jaeger <aj@suse.de>
37762 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37763 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37764 inptr and inend for must_buffer_ch.
37765 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37766 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37767 * stdio-common/Makefile (tests): Remove bug15.
37768 (bug15-ENV): Remove macro.
37769 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37772 2012-05-19 Andreas Jaeger <aj@suse.de>
37773 Roland McGrath <roland@hack.frob.com>
37775 * manual/contrib.texi: Completely rewritten. It contains now an
37776 alphabetical list of contributors and their contributions.
37778 2012-05-21 Richard Henderson <rth@twiddle.net>
37780 * misc/getauxval.c (__getauxval): Use unsigned long int.
37781 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37782 (getauxval): Use unsigned long int.
37784 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37786 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37788 2012-05-21 Roland McGrath <roland@hack.frob.com>
37790 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37791 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37792 __alignof__ (long double).
37794 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37798 2012-05-20 Richard Henderson <rth@twiddle.net>
37800 * misc/getauxval.c: New file.
37801 * misc/sys/auxv.h: New file.
37802 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37803 (routines): Add getauxval.
37804 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37805 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37806 * elf/dl-sysdep.c (_dl_auxv): Remove.
37807 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37808 * elf/dl-support.c (_dl_auxv): New variable.
37809 (_dl_aux_init): Initialize it.
37810 * manual/startup.texi (Auxiliary Vector): New node.
37811 * sysdeps/generic/bits/hwcap.h: New file.
37812 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37813 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37814 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37815 * sysdeps/sparc/sysdep.h: ... here. Include it.
37816 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37817 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37829 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37833 2012-05-19 David S. Miller <davem@davemloft.net>
37835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37837 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37840 * math/s_ccosh.c: Include <float.h>
37841 (__ccosh): Avoid internal overflow calculating sinh and cosh
37842 values before multiplying by sin and cos values.
37843 * math/s_ccoshf.c: Likewise.
37844 * math/s_ccoshl.c: Likewise.
37845 * math/s_csin.c: Likewise.
37846 * math/s_csinf.c: Likewise.
37847 * math/s_csinl.c: Likewise.
37848 * math/s_csinh.c: Likewise.
37849 * math/s_csinhf.c: Likewise.
37850 * math/s_csinhl.c: Likewise.
37851 * math/libm-test.inc (ccos_test): Add more tests.
37852 (ccosh_test): Likewise.
37853 (csin_test): Likewise.
37854 (csinh_test): Likewise.
37855 * sysdeps/i386/fpu/libm-test-ulps: Update.
37856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37858 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37860 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37861 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37863 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37865 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37867 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37868 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37869 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37870 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37871 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37872 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37873 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37874 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37875 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37876 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37877 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37878 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37879 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37880 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37881 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37882 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37883 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37884 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37885 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37886 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37887 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37888 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37889 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37890 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37891 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37892 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37893 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37894 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37895 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37896 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37897 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37899 2012-05-18 Andreas Jaeger <aj@suse.de>
37901 * csu/.gitignore: Delete.
37903 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37905 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37906 (timex): Use __syscall_slong_t.
37908 2012-05-18 Andreas Jaeger <aj@suse.de>
37909 Carlos O'Donell <carlos_odonell@mentor.com>
37911 * manual/install.texi (Configuring and compiling): Update
37912 description about files modified in the source directory.
37913 * INSTALL: Regenerated.
37915 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37917 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37918 value. Use "or" to set return value to -1.
37919 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37920 negate return value.
37922 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37924 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37925 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37926 failure if the compiler has Graphite support disabled.
37927 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37929 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37930 (CFLAGS-memmove.c): Likewise.
37931 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37934 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37936 * sysdeps/x86_64/x32/_itoa.h: New file.
37938 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37939 getdents system call only if kernel and user dirents have the
37940 same d_ino and d_off.
37942 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37943 LLONG_MAX != LONG_MAX.
37944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37945 (_fitoa_word): Likewise.
37947 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37949 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37950 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37951 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37953 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37954 include <bits/wordsize.h>. Check __x86_64__ instead of
37956 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37957 if __x86_64__ is defined. Use anonymous union on fpstate.
37959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37962 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37964 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37965 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37966 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37967 Refer to _rtld_local_ro instead of _rtld_global_ro.
37968 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37970 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37972 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37974 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37975 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37976 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37978 * sysdeps/powerpc/powerpc32/dl-machine.c
37979 (__elf_machine_runtime_setup) [PROF]: Don't reference
37982 2012-05-18 Andreas Jaeger <aj@suse.de>
37984 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37985 function only available for GCCs before 3.4 since GCC 3.4
37986 introduced a builtin.
37988 (llrintf): Likewise.
37989 (llrint): Likewise.
37996 (nearbyint): Likewise.
37997 (nearbyintf): Likewise.
38001 (floorf): Likewise.
38003 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38005 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38006 on both fields and cast pointer to __syscall_ulong_t.
38008 * bits/types.h (__fsword_t): New type.
38009 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38010 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38012 (__FSWORD_T_TYPE): Likewise.
38013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38014 (__FSWORD_T_TYPE): Likewise.
38015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38016 (__FSWORD_T_TYPE): Likewise.
38017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38018 (__FSWORD_T_TYPE): Likewise.
38019 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38020 __SWORD_TYPE with __fsword_t.
38021 (statfs64): Likewise.
38023 2012-05-17 David S. Miller <davem@davemloft.net>
38025 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38027 2012-05-17 Andreas Jaeger <aj@suse.de>
38029 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38032 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38034 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38036 2012-05-17 Andreas Jaeger <aj@suse.de>
38038 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38041 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38043 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38045 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38047 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38048 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38050 2012-05-17 Andreas Jaeger <aj@suse.de>
38051 Carlos O'Donell <carlos_odonell@mentor.com>
38054 * sysdeps/x86_64/multiarch/init-arch.h
38055 (bit_YMM_Usable): Rename to...
38056 (bit_AVX_Usable): ... this.
38057 (bit_FMA4_Usable): New macro.
38058 (bit_XMM_state): New macro.
38059 (bit_YMM_state): New macro.
38060 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38061 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38062 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38063 (CPUID_OSXSAVE): New macro.
38064 (CPUID_AVX): New macro.
38065 (CPUID_FMA4): New macro.
38066 (index_YMM_Usable): Rename to...
38067 (index_AVX_Usable): ... this.
38068 (HAS_AVX): Use HAS_ARCH_FEATURE.
38069 (HAS_FMA4): Likewise.
38070 (HAS_YMM_USABLE): Remove.
38071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38072 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38074 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38075 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38076 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38077 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38078 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38080 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38082 * math/libm-test.c: Support platforms without multiple rounding modes.
38083 * math/bug-nextafter.c: Support platforms without FP exceptions.
38084 * math/bug-nexttoward.c: Likewise.
38085 * math/test-fenv.c: Likewise.
38086 * math/test-misc.c: Likewise.
38087 * stdlib/bug-getcontext.c: Likewise.
38089 2012-05-17 Andreas Jaeger <aj@suse.de>
38091 * manual/examples/search.c (critter_cmp): Change signature to
38093 * manual/string.texi (Collation Functions): Likewise.
38095 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38097 * bits/types.h: Fold copyright years.
38098 * bits/typesizes.h: Likewise.
38099 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38103 * time/time.h: Likewise.
38105 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38108 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38109 in instead of returning them. Return void.
38110 (__libc_mallinfo): Accumulate over all arenas.
38111 (__malloc_stats): Adjust for change in int_mallinfo interface.
38113 2012-05-16 Roland McGrath <roland@hack.frob.com>
38116 * configure.in (NM): Add AC_CHECK_TOOL for it.
38117 (libc_extra_cflags): New substituted variable.
38118 Check for -fstack-protector being used implicitly.
38119 * configure: Regenerated.
38120 * config.make.in (config-extra-cflags): New variable,
38121 gets @libc_extra_cflags@.
38122 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38125 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38126 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38127 * configure: Regenerated.
38128 * config.make.in (CPPUNDEFS): New substituted variable.
38129 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38130 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38131 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38135 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38136 (mq_attr): Use __syscall_slong_t.
38138 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38140 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38141 Check __x86_64__ instead of __WORDSIZE.
38142 (_STAT_VER_LINUX): Likewise.
38143 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38144 __syscall_ulong_t and __syscall_slong_t.
38145 (stat64): Likewise.
38147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38151 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38153 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38155 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38157 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38160 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38161 include <bits/wordsize.h>. Check __x86_64__ instead of
38163 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38165 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38167 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38168 include <bits/wordsize.h>. Check __x86_64__ instead of
38170 (user_regs_struct): Use "__extension__ unsigned long long"
38171 instead of "unsigned long" if __x86_64__ is defined.
38172 (user): Likewise. Pad after pointer field if __ILP32__ is
38175 2012-05-16 Joseph Myers <joseph@codesourcery.com>
38177 * configure.in (makeinfo): Require version 4.5 or later. Allow
38179 * configure: Regenerated.
38180 * manual/install.texi (texinfo): Increase version requirement to
38182 * INSTALL: Regenerated.
38184 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38188 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38190 * sysdeps/x86_64/x32/ffs.c: New file.
38192 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38194 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38195 defined. Use __syscall_ulong_t.
38196 (shminfo): Use __syscall_ulong_t.
38197 (shm_info): Likewise.
38199 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38202 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38204 (msgqnum_t): Use __syscall_ulong_t.
38205 (msglen_t): Likewise.
38206 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38209 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38210 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38212 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38214 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38215 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38217 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38220 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38221 include <bits/wordsize.h>. Check __x86_64__ instead of
38224 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38225 "unsigned long long int" if __x86_64__ is defined.
38226 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38230 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38232 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38234 (GET_PC): Cast to uintptr_t first.
38235 (GET_FRAME): Likewise.
38236 (GET_STACK): Likewise.
38238 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38240 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38241 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38242 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38243 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38244 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38245 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38246 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38248 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38250 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38251 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38252 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38254 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38256 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38257 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38258 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38260 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38262 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38265 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38266 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38268 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38270 * Makerules (+depfiles): Also collect depfiles from .oS in
38272 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38273 .oS, $(libnldbl-routines)).
38275 * Makerules (native-compile-mkdep-flags): Define.
38276 * sunrpc/Makefile (extra-objs): Add $(addprefix
38277 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38278 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38279 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38280 calling $(make-target-directory).
38282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38284 * bits/types.h (__snseconds_t): Removed.
38285 * time/time.h (struct timespec): Replace __snseconds_t with
38287 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38288 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38291 (__SNSECONDS_T_TYPE): Likewise.
38292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38293 (__SNSECONDS_T_TYPE): Likewise.
38294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38295 (__SNSECONDS_T_TYPE): Likewise.
38297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38299 * sysdeps/mach/hurd/bits/typesizes.h
38300 (__SYSCALL_SLONG_TYPE): New macro.
38301 (__SYSCALL_ULONG_TYPE): Likewise.
38303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38305 * bits/types.h (__syscall_slong_t): New type.
38306 (__syscall_ulong_t): Likewise.
38308 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38309 (__SYSCALL_ULONG_TYPE): Likewise.
38310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38311 (__SYSCALL_SLONG_TYPE): Likewise.
38312 (__SYSCALL_ULONG_TYPE): Likewise.
38313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38314 (__SYSCALL_SLONG_TYPE): Likewise.
38315 (__SYSCALL_ULONG_TYPE): Likewise.
38316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38317 (__SYSCALL_SLONG_TYPE): Likewise.
38318 (__SYSCALL_ULONG_TYPE): Likewise.
38320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38322 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38323 Add sigaltstack-offsets.sym.
38324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38325 <sigaltstack-offsets.h>.
38326 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38327 longjmp_msg pointer.
38328 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38329 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38331 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38333 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38335 * elf/stackguard-macros.h: Remove file.
38336 * sysdeps/generic/stackguard-macros.h: New file.
38337 * sysdeps/i386/stackguard-macros.h: Likewise.
38338 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38339 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38340 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38341 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38342 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38343 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38344 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38345 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38346 <elf/stackguard-macros.h>.
38349 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38350 __aligned__ in attribute.
38351 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38352 (gregset_t): Likewise.
38354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38356 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38357 * sysdeps/x86_64/64/Implies-after: Here. New file.
38358 * sysdeps/x86_64/x32/Implies-after: New file.
38360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38362 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38363 and access return value for _dl_profile_fixup. Use R10_LP to
38366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38368 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38372 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38373 * sysdeps/x86_64/x32/sysdep.h: New file.
38375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38377 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38378 * sysdeps/x86_64/setjmp.S: Likewise.
38380 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38382 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38384 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38385 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38386 remove unused global constant.
38388 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38390 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38391 include of <not-cancel.h>.
38393 2012-05-15 Roland McGrath <roland@hack.frob.com>
38395 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38397 2012-05-15 Jeff Law <law@redhat.com>
38398 Andreas Jaeger <aj@suse.de>
38401 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38403 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38404 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38405 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38406 code changing __hst_map_handle.map.
38408 2012-05-15 Roland McGrath <roland@hack.frob.com>
38410 * configure.in (sysnames): Look for Implies-before and Implies-after
38412 * configure: Regenerated.
38414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38416 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38417 8-byte data alignment with LP_SIZE alignment.
38419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38421 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38426 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38430 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38431 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38432 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38434 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38438 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38439 (stackinfo_sub_sp): Likewise.
38441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38443 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38453 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38458 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38462 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38463 into R11_LP and load __x86_64_shared_cache_size_half into
38466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38468 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38471 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38479 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38480 powerpc32/power7/fpu/s_logb.c via #include.
38481 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38482 powerpc32/power7/fpu/s_logbf.c via #include.
38483 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38484 powerpc32/power7/fpu/s_logbl.c via #include.
38486 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38488 * README.libm: Remove file.
38490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38492 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38493 count for x32. Use R*_LP and omit operand-size suffix.
38495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38497 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38498 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38499 * sysdeps/x86_64/x32/shlib-versions: New file.
38501 2012-05-14 Roland McGrath <roland@hack.frob.com>
38503 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38504 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38505 Use _dl_fatal_printf instead.
38507 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38509 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38510 set if not set by the user. Do not allow for being unset.
38511 * sysdeps/unix/sysv/linux/configure: Regenerated.
38513 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38515 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38516 the `q' suffix from lea and replace .quad with ASM_ADDR.
38518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38521 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38523 (PTR_DEMANGLE): Likewise.
38525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38527 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38529 (ASM_ADDR): Likewise.
38530 (RAX_LP): Likewise.
38531 (RBP_LP): Likewise.
38532 (RBX_LP): Likewise.
38533 (RCX_LP): Likewise.
38534 (RDI_LP): Likewise.
38535 (RSI_LP): Likewise.
38536 (RSP_LP): Likewise.
38539 (R10_LP): Likewise.
38540 (R10_LP): Likewise.
38541 (R11_LP): Likewise.
38542 (R12_LP): Likewise.
38543 (R13_LP): Likewise.
38544 (R14_LP): Likewise.
38545 (R15_LP): Likewise.
38547 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38549 * sysdeps/x86_64/x32/dl-machine.h: New file.
38551 2012-05-14 Andreas Jaeger <aj@suse.de>
38553 * manual/Makefile (subdir): Remove export of subdir.
38554 (all): Remove target.
38555 (.PHONY): Remove all from list.
38556 (mkinstalldirs): Remove.
38557 (.PHONY): Remove installdirs from list.
38558 ($(inst_infodir)/libc.info): Use make-target-directory.
38559 (installdirs): Remove.
38560 (subdir_%): Remove.
38561 (glibc-targets): Remove.
38564 ($(objpfx)stubs ../po/manual.pot): Remove.
38565 ($(objpfx)stamp%): Remove.
38566 (make-target-directory): Remove.
38567 (subdir_install): Remove.
38568 (routines): Remove.
38575 * manual/.gitignore: Remove, it's not needed anymore.
38576 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38578 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38580 (texis): Renamed to $(objpfx)texis.
38581 (texis-path): New, contains path to generated files.
38582 (chapters.%): Use texis-path for complete path, add extra argument
38584 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38585 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38586 (summary,texi, stamp-summary): Use complete path of
38587 files. Generate files in build dir.
38588 (dir-add.texi): Build in build dir.
38589 (libm-err.texi,stamp-libm-err): Likewise.
38590 (version.texi, stamp-version): Likewise.
38591 (.%c.texi): Likewise.
38592 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38593 (mostlyclean): Remove target.
38594 (realclean): Remove target.
38595 (generated): Add new variable with contents from mostlyclean and
38596 realclean, remove entries duplicated in common-mostlyclean, add
38597 stamp-libm-err and stamp-version.
38598 (generated-dirs): Add libc directory.
38599 ($(inst_infodir)/libc.info): Install files from build dir.
38601 * manual/install.texi (Configuring and compiling): Adjust since
38602 the info files are not part of the tar ball anymore.
38604 2012-05-14 Andreas Jaeger <aj@suse.de>
38606 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38609 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38613 to 2.2.0 where earlier.
38614 * sysdeps/unix/sysv/linux/configure: Regenerated.
38615 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38616 Remove conditional code.
38617 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38618 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38619 Remove conditional code.
38620 [!__NR_lchown]: Likewise.
38621 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38622 [__NR_lchown]: Likewise.
38623 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38624 comment referencing __ASSUME_LCHOWN_SYSCALL.
38625 * sysdeps/unix/sysv/linux/i386/sigaction.c
38626 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38627 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38628 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38629 Remove conditional code.
38630 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38631 (__protocol_available): Remove #if 0 code.
38632 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38634 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38635 * sysdeps/unix/sysv/linux/kernel-features.h
38636 (__ASSUME_GETCWD_SYSCALL): Don't define.
38637 (__ASSUME_REALTIME_SIGNALS): Likewise.
38638 (__ASSUME_PREAD_SYSCALL): Likewise.
38639 (__ASSUME_PWRITE_SYSCALL): Likewise.
38640 (__ASSUME_POLL_SYSCALL): Likewise.
38641 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38642 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38644 (__ASSUME_SIOCGIFNAME): Don't define.
38645 (__ASSUME_MSG_NOSIGNAL): Likewise.
38646 (__ASSUME_SENDFILE): Define unconditionally.
38647 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38648 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38650 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38651 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38652 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38653 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38654 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38655 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38656 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38658 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38661 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38670 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38676 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38681 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38682 Remove conditional code.
38683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38684 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38685 Remove conditional code.
38686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38687 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38688 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38689 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38690 Remove conditional code.
38691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38692 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38693 Remove conditional code.
38694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38695 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38696 Remove conditional code.
38697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38698 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38699 Remove conditional code.
38700 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38701 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38702 Remove conditional code.
38703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38704 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38705 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38707 * sysdeps/unix/sysv/linux/sigaction.c
38708 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38709 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38710 * sysdeps/unix/sysv/linux/sigpending.c
38711 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38712 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38713 * sysdeps/unix/sysv/linux/sigprocmask.c
38714 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38715 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38716 * sysdeps/unix/sysv/linux/sigsuspend.c
38717 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38718 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38719 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38720 (__libc_missing_rt_sigs): Remove.
38721 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38722 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38723 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38724 Remove conditional code.
38725 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38726 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38728 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38729 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38730 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38731 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38733 2012-05-14 Andreas Jaeger <aj@suse.de>
38735 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38736 it's not used in glibc.
38737 (__coshm1): Likewise.
38738 (__acosh1p): Likewise.
38741 * manual/string.texi (Copying and Concatenation): Add missing
38742 variable in concat example.
38743 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38745 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38749 __builtin_clzl with __builtin_clzll.
38751 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38754 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38757 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38759 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38760 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38761 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38762 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38764 2012-05-14 Mike Frysinger <vapier@gentoo.org>
38766 * NEWS: Update ia64 info.
38768 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38770 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38773 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38775 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38776 * sysdeps/unix/syscalls.list (dup3): Likewise.
38777 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38778 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38780 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38782 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38783 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38785 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38787 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38789 (TLS_IE): Use mov/add instead of movq/addq to load thread
38791 (TLS_GD_PREFIX): New.
38794 2012-05-11 David S. Miller <davem@davemloft.net>
38796 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38797 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38798 (_FPU_SETCW): Likewise.
38800 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38802 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38803 is 32-byte aligned.
38805 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38808 * iconvdata/gb18030.c: Update tables.
38809 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38810 characters specially.
38811 (BODY for TO_LOOP): Add encoding of missing ranges.
38813 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38816 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38817 * sysdeps/mach/hurd/dup3.c: Likewise.
38818 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38819 * sysdeps/powerpc/memmove.c:: Likewise.
38821 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38824 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38826 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38828 * elf/elf.h (R_X86_64_RELATIVE64): New.
38829 (R_X86_64_NUM): Updated.
38830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38831 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38832 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38833 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38834 tst-quad1pie tst-quad2pie
38835 (modules-names): Add tst-quadmod1 tst-quadmod2.
38836 ($(objpfx)tst-quad1): New dependency.
38837 ($(objpfx)tst-quad2): Likewise.
38838 ($(objpfx)tst-quad1pie): Likewise.
38839 ($(objpfx)tst-quad2pie): Likewise.
38840 * sysdeps/x86_64/tst-quad1.c: New file.
38841 * sysdeps/x86_64/tst-quad1pie.c: New file.
38842 * sysdeps/x86_64/tst-quad2.c: Likewise.
38843 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38844 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38845 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38846 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38847 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38851 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38852 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38853 * streams/stropts.h (t_scalar_t): Define type.
38855 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38856 (_PATH_PRESERVE): Set to "/var/lib".
38857 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38859 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38862 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38863 if __dir_mkfile succeeded.
38865 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38866 checking for _hurd_dtablesize. Unlock it right after having
38867 finished _hurd_dtable allocation.
38869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38871 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38872 * sysdeps/mach/hurd/configure: Regenerated.
38873 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38874 special-casing to...
38875 * sysdeps/gnu/configure.in: ... this new file.
38876 * sysdeps/unix/sysv/linux/configure: Regenerated.
38877 * sysdeps/gnu/configure: New generated file.
38879 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38880 for Linux: use nsec instead of usec, as well as:
38881 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38882 members of type struct timespec.
38883 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38885 (struct stat64): Likewise.
38886 (_STATBUF_ST_NSEC): New macro.
38887 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38889 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38890 __strtoul_internal rather than strtoul.
38892 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38894 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38899 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38900 which preserves existing values.
38901 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38903 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38905 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38906 TIMEOUT values. Return EINVAL for NFDS values either negative or
38907 greater than FD_SETSIZE.
38909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38911 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38912 allocated, call __vm_protect to finish enabling the existing space, and
38913 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38914 allocate the remainder.
38916 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38918 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38919 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38923 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38924 sysdeps/mach/hurd/readlink.c.
38926 * posix/tst-sysconf.c (posix_options): Only use
38927 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38928 _POSIX_SYNCHRONIZED_IO when they are defined
38929 * sysdeps/mach/hurd/bits/posix_opt.h:
38930 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38931 (_XOPEN_REALTIME): Undefine macro.
38932 (_XOPEN_REALTIME_THREADS): Undefine macro.
38933 (_XOPEN_SHM): Undefine macro.
38934 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38936 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38938 (_POSIX_ASYNC_IO): Undefine macro.
38939 (_POSIX_PRIORITIZED_IO): Undefine macro.
38940 (_POSIX_SPIN_LOCKS): Define macro to -1.
38942 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38943 SA_NODEFER, SA_RESETHAND.
38944 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38945 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38948 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38950 * elf/Makefile (pldd-modules): Define unconditionally.
38952 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38954 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38958 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38959 Return ENOENT when name is empty.
38960 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38962 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38964 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38966 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38970 Fix mlock in all cases except non-readable pages.
38971 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38972 instead of VM_PROT_ALL as parameter to __vm_wire function.
38974 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38975 (__mkdir): When path is `/', just fail with EEXIST.
38976 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38978 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38980 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38981 <sys/uio.h> (for writev).
38982 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38983 and <sys/param.h> (for MIN).
38985 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38987 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38988 REQUESTED_TIME. Properly set the remaining time and return EINTR
38991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38993 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38994 Depend on against $(link-rpcuserlibs).
38996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38998 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38999 (__libc_stack_end): Do not use attribute_relro.
39000 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39001 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39002 to libthread-provided value.
39003 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39009 * bits/libc-lock.h (__libc_once_get): New macro.
39010 * sysdeps/mach/bits/libc-lock.h: Likewise.
39011 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39012 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39013 instead of using implementation details.
39015 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39016 * libio/freopen.c: Likewise.
39017 * libio/freopen64.c: Likewise.
39018 * misc/syslog.c: Likewise.
39019 * nscd/connections.c: Likewise.
39020 * nscd/netgroupcache.c: Likewise.
39021 * sysdeps/posix/getcwd.c: Likewise.
39023 2012-05-10 Roland McGrath <roland@hack.frob.com>
39025 * math/w_ilogbf.c: Add #include <limits.h>.
39027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39029 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39030 path instead of returning without unlocking.
39032 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39033 immediate-write ioctls.
39034 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39036 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39038 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39039 __builtin_frame_address instead of making assumptions about the
39040 location of the return address relative to DATA. Force early load of
39041 the return address.
39042 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39043 __builtin_frame_address.
39046 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39047 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39048 implement dup3 and do some further code clean-ups.
39049 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39050 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39054 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39056 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39057 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39058 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39059 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39060 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39063 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39064 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39065 when handler == SIG_ERR, not when handler != SIG_ERR.
39067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39069 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39070 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39073 accept4 for GNU Hurd.
39074 * include/sys/socket.h (__libc_accept4): New prototype.
39075 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39076 to implement __libc_accept4.
39077 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39079 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39081 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39082 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39083 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39084 signal-defines.sym.
39086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39088 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39092 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39093 assertion on O_CLOEXEC flag.
39094 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39095 * hurd/intern-fd.c: Likewise.
39096 * hurd/port2fd.c: Likewise.
39098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39101 * bits/in.h (IPV6_PKTINFO): Define new macro.
39102 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39104 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39109 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39110 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39111 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39112 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39114 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39115 * math/libm-test.inc (logb_test) : Additional logb tests.
39117 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39118 Andreas Jaeger <aj@suse.de>
39120 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39121 * configure: Regenerated.
39122 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39123 * config.make.in (link-obsolete-rpc): New substituted variable.
39124 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39125 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39126 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39127 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39128 so that libc.a contains the symbols.
39129 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39130 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39131 * sunrpc/auth_none.c: Likewise.
39132 * sunrpc/auth_unix.c: Likewise.
39133 * sunrpc/authdes_prot.c: Likewise.
39134 * sunrpc/authuxprot.c: Likewise.
39135 * sunrpc/clnt_gen.c: Likewise.
39136 * sunrpc/clnt_perr.c: Likewise.
39137 * sunrpc/clnt_raw.c: Likewise.
39138 * sunrpc/clnt_simp.c: Likewise.
39139 * sunrpc/clnt_tcp.c: Likewise.
39140 * sunrpc/clnt_udp.c: Likewise.
39141 * sunrpc/clnt_unix.c: Likewise.
39142 * sunrpc/des_crypt.c: Likewise.
39143 * sunrpc/des_soft.c: Likewise.
39144 * sunrpc/get_myaddr.c: Likewise.
39145 * sunrpc/key_call.c: Likewise.
39146 * sunrpc/key_prot.c: Likewise.
39147 * sunrpc/netname.c: Likewise.
39148 * sunrpc/pm_getmaps.c: Likewise.
39149 * sunrpc/pm_getport.c: Likewise.
39150 * sunrpc/pmap_clnt.c: Likewise.
39151 * sunrpc/pmap_prot.c: Likewise.
39152 * sunrpc/pmap_prot2.c: Likewise.
39153 * sunrpc/pmap_rmt.c: Likewise.
39154 * sunrpc/publickey.c: Likewise.
39155 * sunrpc/rpc_cmsg.c: Likewise.
39156 * sunrpc/rpc_common.c: Likewise.
39157 * sunrpc/rpc_dtable.c: Likewise.
39158 * sunrpc/rpc_prot.c: Likewise.
39159 * sunrpc/rpc_thread.c: Likewise.
39160 * sunrpc/rtime.c: Likewise.
39161 * sunrpc/svc.c: Likewise.
39162 * sunrpc/svc_auth.c: Likewise.
39163 * sunrpc/svc_raw.c: Likewise.
39164 * sunrpc/svc_run.c: Likewise.
39165 * sunrpc/svc_tcp.c: Likewise.
39166 * sunrpc/svc_udp.c: Likewise.
39167 * sunrpc/svc_unix.c: Likewise.
39168 * sunrpc/svcauth_des.c: Likewise.
39169 * sunrpc/xcrypt.c: Likewise.
39170 * sunrpc/xdr.c: Likewise.
39171 * sunrpc/xdr_array.c: Likewise.
39172 * sunrpc/xdr_float.c: Likewise.
39173 * sunrpc/xdr_intXX_t.c: Likewise.
39174 * sunrpc/xdr_mem.c: Likewise.
39175 * sunrpc/xdr_rec.c: Likewise.
39176 * sunrpc/xdr_ref.c: Likewise.
39177 * sunrpc/xdr_sizeof.c: Likewise.
39178 * sunrpc/xdr_stdio.c: Likewise.
39180 2012-05-10 Roland McGrath <roland@hack.frob.com>
39182 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39183 change. Update copyright years.
39185 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39187 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39189 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39190 Joseph Myers <joseph@codesourcery.com>
39191 Paul Pluzhnikov <ppluzhnikov@google.com>
39194 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39196 [cross-compiling] (extra-libs): Likewise.
39197 [cross-compiling] (extra-libs-others): Likewise.
39198 [cross-compiling] (librpcsvc-routines): Likewise.
39199 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39200 [cross-compiling] (omit-deps): Likewise.
39201 (sunrpc-CPPFLAGS): New variable.
39202 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39203 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39204 (cross-rpcgen-objs): New variable.
39205 (extra-objs): Append $(cross-rpcgen-objs).
39206 ($(cross-rpcgen-objs)): New rule.
39207 ($(objpfx)cross-rpcgen): Likewise.
39208 (rpcgen-cmd): Define to use $(built-program-file). Expand
39210 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39211 ($(objpfx)x%.stmp): Likewise.
39212 * sunrpc/proto.h [IS_IN_build] (_): Define.
39213 [IS_IN_build] (_libc_intl_domainname): Likewise.
39215 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39218 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39219 and R_X86_64_TPOFF64.
39221 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39223 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39224 sysdeps/unix/sysv/syscalls.list.
39227 * sysdeps/unix/sysv/syscalls.list: Remove file.
39229 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39232 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39233 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39234 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39235 (__LC_IDENTIFICATION): Make these macros useful in #if
39236 expressions, as required by C99.
39238 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39240 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39241 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39244 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39246 * stdlib/longlong.h: Updated from GCC.
39248 2012-05-09 Andreas Jaeger <aj@suse.de>
39250 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39251 default is first entry.
39252 (run_mode): Set type.
39253 (main): Remove informal message about syslog.
39254 (options): Fix typo.
39257 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39260 (llrintf): Likewise.
39261 (llrint): Likewise.
39264 (nearbyint): Likewise.
39265 (nearbyintf): Likewise.
39267 2012-05-09 Andreas Jaeger <aj@suse.de>
39268 Pedro Alves <palves@redhat.com>
39270 * nscd/nscd.c (run_mode): Use enum.
39271 (main): Cleanup coding style issue.
39273 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
39274 Andreas Jaeger <aj@suse.de>
39276 * nscd/nscd.c (go_background): Replaced with...
39277 (run_mode): ... this.
39278 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39279 (options): Add -F --foreground.
39280 (main): Implement it.
39281 (parse_opt): Parse it.
39283 2012-05-09 Andreas Jaeger <aj@suse.de>
39286 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39287 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39288 -Wconversion warning.
39289 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39292 2012-05-09 Joseph Myers <joseph@codesourcery.com>
39294 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39296 (LC_ALL): Use macro-int-constant.
39297 (LC_COLLATE): Likewise.
39298 (LC_CTYPE): Likewise.
39299 (LC_MESSAGES): Likewise.
39300 (LC_MONETARY): Likewise.
39301 (LC_NUMERIC): Likewise.
39302 (LC_TIME): Likewise.
39303 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39304 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39305 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39306 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39308 [C99-based standards] (float_t): Expect type.
39309 [C99-based standards] (double_t): Expect type.
39310 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39312 [C99-based standards] (HUGE_VALL): Likewise.
39313 [C99-based standards] (INFINITY): Likewise.
39314 [C99-based standards] (NAN): Likewise.
39315 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39316 [C99-based standards] (FP_NAN): Likewise.
39317 [C99-based standards] (FP_NORMAL): Likewise.
39318 [C99-based standards] (FP_SUBNORMAL): Likewise.
39319 [C99-based standards] (FP_ZERO): Likewise.
39320 [C99-based standards] (FP_FAST_FMA): Use
39321 optional-macro-int-constant. Specify type. Require == 1.
39322 [C99-based standards] (FP_FAST_FMAF): Likewise.
39323 [C99-based standards] (FP_FAST_FMAL): Likewise.
39324 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39325 [C99-based standards] (FP_ILOGBNAN): Likewise.
39326 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39328 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39329 [C99-based standards] (math_errhandling): Specify type.
39330 [ISO99 || ISO11] (signgam): Do not allow.
39331 [non-C99-based standards] (copysignf): Do not allow.
39332 [non-C99-based standards] (exp2f): Likewise.
39333 [non-C99-based standards] (log2f): Likewise.
39334 [non-C99-based standards] (modff): Allow.
39335 [non-C99-based standards] (erff): Do not allow.
39336 [non-C99-based standards] (erfcf): Likewise.
39337 [non-C99-based standards] (gammaf): Likewise.
39338 [non-C99-based standards] (hypotf): Likewise.
39339 [non-C99-based standards] (j0f): Likewise.
39340 [non-C99-based standards] (j1f): Likewise.
39341 [non-C99-based standards] (jnf): Likewise.
39342 [non-C99-based standards] (lgammaf): Likewise.
39343 [non-C99-based standards] (tgammaf): Likewise.
39344 [non-C99-based standards] (y0f): Likewise.
39345 [non-C99-based standards] (y1f): Likewise.
39346 [non-C99-based standards] (ynf): Likewise.
39347 [non-C99-based standards] (isnanf): Likewise.
39348 [non-C99-based standards] (acoshf): Likewise.
39349 [non-C99-based standards] (asinhf): Likewise.
39350 [non-C99-based standards] (atanhf): Likewise.
39351 [non-C99-based standards] (cbrtf): Likewise.
39352 [non-C99-based standards] (expm1f): Likewise.
39353 [non-C99-based standards] (ilogbf): Likewise.
39354 [non-C99-based standards] (log1pf): Likewise.
39355 [non-C99-based standards] (logbf): Likewise.
39356 [non-C99-based standards] (nextafterf): Likewise.
39357 [non-C99-based standards] (remainderf): Likewise.
39358 [non-C99-based standards] (rintf): Likewise.
39359 [non-C99-based standards] (scalbf): Likewise.
39360 [non-C99-based standards] (copysignl): Likewise.
39361 [non-C99-based standards] (exp2l): Likewise.
39362 [non-C99-based standards] (log2l): Likewise.
39363 [non-C99-based standards] (modfl): Allow.
39364 [non-C99-based standards] (erfl): Do not allow.
39365 [non-C99-based standards] (erfcl): Likewise.
39366 [non-C99-based standards] (gammal): Likewise.
39367 [non-C99-based standards] (hypotl): Likewise.
39368 [non-C99-based standards] (j0l): Likewise.
39369 [non-C99-based standards] (j1l): Likewise.
39370 [non-C99-based standards] (jnl): Likewise.
39371 [non-C99-based standards] (lgammal): Likewise.
39372 [non-C99-based standards] (tgammal): Likewise.
39373 [non-C99-based standards] (y0l): Likewise.
39374 [non-C99-based standards] (y1l): Likewise.
39375 [non-C99-based standards] (ynl): Likewise.
39376 [non-C99-based standards] (isnanl): Likewise.
39377 [non-C99-based standards] (acoshl): Likewise.
39378 [non-C99-based standards] (asinhl): Likewise.
39379 [non-C99-based standards] (atanhl): Likewise.
39380 [non-C99-based standards] (cbrtl): Likewise.
39381 [non-C99-based standards] (expm1l): Likewise.
39382 [non-C99-based standards] (ilogbl): Likewise.
39383 [non-C99-based standards] (log1pl): Likewise.
39384 [non-C99-based standards] (logbl): Likewise.
39385 [non-C99-based standards] (nextafterl): Likewise.
39386 [non-C99-based standards] (remainderl): Likewise.
39387 [non-C99-based standards] (rintl): Likewise.
39388 [non-C99-based standards] (scalbl): Likewise.
39389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39390 [non-C99-based standards] (FP_*): Do not allow.
39391 [C99-based standards] (FP_*): Change to
39392 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39393 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39395 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39396 (SIG_ERR): Likewise.
39397 [X/Open-based standards] (SIG_HOLD): Likewise.
39398 (SIG_IGN): Likewise.
39399 (SIGABRT): Use macro-int-constant. Specify type. Require
39401 (SIGFPE): Likewise.
39402 (SIGILL): Likewise.
39403 (SIGINT): Likewise.
39404 (SIGSEGV): Likewise.
39405 (SIGTER): Likewise.
39406 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39407 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39408 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39409 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39410 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39411 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39412 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39413 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39414 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39415 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39416 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39417 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39418 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39419 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39420 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39421 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39422 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39423 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39424 [X/Open-based standards] (SIGTRAP): Likewise.
39425 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39426 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39427 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39428 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39429 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39432 2012-05-08 Ian Wienand <ianw@vmware.com>
39435 * time/tzset.c (__tzset_parse_tz): Update default rules for
39436 daylight time changes in the Energy Policy Act of 2005.
39438 2012-05-09 Andreas Jaeger <aj@suse.de>
39441 * elf/ldconfig.c (parse_conf): Change string to make clear that
39442 ldconfig only issued a warning if ld.so.conf does not exist.
39444 2012-05-08 David S. Miller <davem@davemloft.net>
39446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39447 movxtod instead of popping the value on the stack.
39449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39451 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39453 * config.h.in: Add HAVE_ARM_PCS_VFP.
39455 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
39458 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39459 checking but the checks are disabled for any reason.
39461 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39463 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39464 and ELF64_R_TYPE with ELFW(R_TYPE).
39466 2012-05-08 Joseph Myers <joseph@codesourcery.com>
39468 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39469 (ulimit): Likewise.
39471 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39472 (settimeofday): Likewise.
39474 2012-05-08 Mike Frysinger <vapier@gentoo.org>
39476 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39477 a struct th_u2 inside the union, and move tu_block/tu_code into
39478 a new th_u3 union of tu_block/tu_code inside of that. Move
39479 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39480 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39481 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39482 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39483 (th_stuff): Change to th_u1.tu_stuff.
39485 (th_msg): Change to th_u1.th_u2.tu_data.
39487 2012-05-07 David S. Miller <davem@davemloft.net>
39489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39492 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39493 (SETUP_PIC_REG): Use it.
39494 (SETUP_PIC_REG_LEAF): Use it.
39496 2012-05-07 Joseph Myers <joseph@codesourcery.com>
39500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39502 (EXPL_FINITE): Likewise.
39503 (FLDLOG): Likewise.
39504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39505 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39509 (EXPL_FINITE): Likewise.
39510 (FLDLOG): Likewise.
39511 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39512 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39514 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39515 test of -max_value argument for long double.
39516 * sysdeps/i386/fpu/libm-test-ulps: Update.
39517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39519 2012-05-06 David S. Miller <davem@davemloft.net>
39521 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39522 quad soft-float symbols whose references which are compiler
39524 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39526 2012-05-06 Joseph Myers <joseph@codesourcery.com>
39530 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39532 (EXPL_FINITE): Likewise.
39533 (FLDLOG): Likewise.
39536 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39537 Adjust comments for base varying.
39538 (__expl_finite): Change alias to EXPL_FINITE.
39539 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39541 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39542 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39544 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39545 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39547 (EXPL_FINITE): Likewise.
39548 (FLDLOG): Likewise.
39551 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39552 Adjust comments for base varying.
39553 (__expl_finite): Change alias to EXPL_FINITE.
39554 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39559 * math/libm-test.inc (check_float_internal): Correct ulp
39560 calculation for subnormal expected results.
39562 2012-05-06 Andreas Jaeger <aj@suse.de>
39564 * Makeconfig (+math-flags): New, set to -frounding-math.
39565 (+cflags): Add +math-flags so that all of glibc gets compiled with
39568 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39570 2012-05-05 Joseph Myers <joseph@codesourcery.com>
39572 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39578 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39579 (__ieee754_expl): Allow for and saturate large arguments.
39580 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39581 (u_threshold): Likewise.
39582 (__exp): Call __ieee754_exp before checking for overflow and
39584 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39585 (u_threshold): Likewise.
39586 (__expf): Call __ieee754_expf before checking for overflow and
39588 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39589 (u_threshold): Likewise.
39590 (__expl): Call __ieee754_expl before checking for overflow and
39592 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39593 (__ieee754_expl): Allow for and saturate large arguments.
39594 * math/libm-test.inc (exp_test): Add another test. Do not allow
39595 missing overflow exception on overflow.
39596 (expm1_test): Do not allow missing overflow exception on overflow.
39598 * sysdeps/i386/fpu/e_expl.c: Move to ...
39599 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39600 rather than using inline asm.
39601 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39602 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39603 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39605 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39608 (signal): Likewise.
39612 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39614 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39615 sysdeps/unix/common/syscalls.list.
39616 (fchmod): Likewise.
39617 (fchown): Likewise.
39618 (ftruncate): Likewise.
39619 (getrusage): Likewise.
39620 (gettimeofday): Likewise.
39621 (setpgid): Likewise.
39622 (setregid): Likewise.
39623 (setreuid): Likewise.
39624 (sigaction): Likewise.
39625 (truncate): Likewise.
39626 (vhangup): Likewise.
39627 * sysdeps/unix/common/syscalls.list: Remove file.
39628 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39629 * sysdeps/unix/sysv/linux/Implies: Likewise.
39631 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39633 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39635 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39639 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39642 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39645 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39648 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39651 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39654 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39657 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39661 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39665 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39668 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39672 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39676 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39678 * sysdeps/unix/common/bits/dirent.h: Remove file.
39679 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39681 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39682 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39683 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39684 * sysdeps/unix/bsd/isatty.c: Likewise.
39685 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39686 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39687 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39689 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39693 long double comparison inaccuracies.
39694 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39697 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39699 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39702 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39705 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39706 nonzero digits before rounding a hex value.
39707 * stdlib/tst-strtod.c (tests): Add another test.
39709 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39711 * sysdeps/s390/fpu/libm-test-ulps: Update.
39713 2012-05-03 Andreas Jaeger <aj@suse.de>
39715 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39716 does not get optimized out.
39717 (malloc_opt_barrier): New.
39719 2012-05-03 Andreas Jaeger <aj@suse.de>
39720 Roland McGrath <roland@hack.frob.com>
39722 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39723 intermediate file deletion.
39724 (generated): Add .symlist files.
39726 2012-05-03 Joseph Myers <joseph@codesourcery.com>
39729 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39730 Redirect under this condition.
39731 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39732 [__USE_GNU] (__dprintf_chk): Not under this condition.
39733 [__USE_GNU] (__vdprintf_chk): Likewise.
39734 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39735 under this condition.
39736 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39737 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39738 [__USE_XOPEN2K8] (vdprintf): Likewise.
39739 [__USE_GNU] (__dprintf_chk): Not under this condition.
39740 [__USE_GNU] (__vdprintf_chk): Likewise.
39741 [__USE_GNU] (dprintf): Likewise.
39742 [__USE_GNU] (vdprintf): Likewise.
39744 2012-05-03 Roland McGrath <roland@hack.frob.com>
39746 * elf/Makefile (common-generated): Set this instead of generated for
39747 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39748 $(all-built-dso)-derived lists.
39750 2012-05-03 Andreas Jaeger <aj@suse.de>
39752 * sysdeps/i386/fpu/libm-test-ulps: Update.
39755 * FAQ.in: Likewise.
39756 * scripts/gen-FAQ.pl: Likewise.
39757 * manual/install.texi (Installation): Point to online location of
39759 * Makefile (files-for-dist): Remove FAQ.
39762 2012-05-02 Allan McRae <allan@archlinux.org>
39764 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39765 (LDFLAGS-reldepmod5.so): Likewise.
39766 (LDFLAGS-reldep6mod1.so): Likewise.
39767 (LDFLAGS-reldep6mod4.so): Likewise.
39768 (LDFLAGS-reldep8mod3.so): Likewise.
39769 (LDFLAGS-unload4mod1.so): Likewise.
39770 (LDFLAGS-unload4mod2.so): Likewise.
39771 (LDFLAGS-tst-initorder): Likewise.
39772 (LDFLAGS-tst-initordera2.so): Likewise.
39773 (LDFLAGS-tst-initordera3.so): Likewise.
39774 (LDFLAGS-tst-initordera4.so): Likewise.
39775 (LDFLAGS-tst-initorderb2.so): Likewise.
39776 (LDFLAGS-noload): Likewise.
39777 (LDFLAGS-next): Likewise.
39778 (LDFLAGS-order2mod1.so): Likewise.
39779 (LDFLAGS-order2mod2.so): Likewise.
39780 (LDFLAGS-tst-initorder2): Likewise.
39781 (LDFLAGS-tst-initorder2a.so): Likewise.
39782 (LDFLAGS-tst-initorder2b.so): Likewise.
39783 (LDFLAGS-tst-initorder2c.so): Likewise.
39784 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39786 2012-05-02 David S. Miller <davem@davemloft.net>
39788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39790 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39793 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39795 2012-05-02 Andreas Jaeger <aj@suse.de>
39797 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39798 since we manipulate rounding mode.
39799 (CPPFLAGS-test-idouble.c): Likewise.
39800 (CPPFLAGS-test-ifloat.c): Likewise.
39801 (CFLAGS-test-ldouble.c): Likewise.
39802 (CFLAGS-test-double.c): Likewise.
39803 (CFLAGS-test-float.c): Likewise.
39804 (CFLAGS-test-misc.c): Likewise.
39805 (CFLAGS-test-test-fenv.c): Likewise.
39807 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39812 comparisons to determine direction to adjust input.
39814 2012-05-01 Roland McGrath <roland@hack.frob.com>
39816 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39817 output to the target.
39819 * scripts/localplt.awk: New file.
39820 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39821 (check-localplt-CFLAGS): Variable removed.
39822 ($(all-built-dso:=.jmprel)): New static pattern rule.
39823 (generated): Add those targets.
39824 (localplt-built-dso): New variable.
39825 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39827 * elf/check-localplt.c: File removed.
39829 * scripts/check-execstack.awk: New file.
39830 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39831 (check-execstack-CFLAGS): Variable removed.
39832 ($(objpfx)check-execstack.h): Target removed.
39833 ($(objpfx)execstack-default): New target.
39834 (generated): Add that instead of check-execstack.h.
39835 ($(all-built-dso:=.phdr)): New static pattern rule.
39836 (generated): Add those targets.
39837 * elf/check-execstack.c: File removed.
39839 * scripts/check-textrel.awk: New file.
39840 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39841 (check-textrel-CFLAGS): Variable removed.
39842 (all-built-dso): Use := to define.o
39843 ($(all-built-dso:=.dyn)): New static pattern rule.
39844 (generated): Add those targets.
39845 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39846 * config.make.in (READELF): New substituted variable.
39847 * elf/check-textrel.c: File removed.
39849 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39851 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39853 * conform/data/ctype.h-data [C99-based standards] (isblank):
39855 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39856 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39858 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39859 Specify type. Require positive value.
39860 (EILSEQ): Likewise.
39861 (ERANGE): Likewise.
39862 [ISO || POSIX] (EILSEQ): Do not expect.
39863 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39864 Specify type. Require positive value.
39865 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39866 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39867 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39868 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39869 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39870 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39871 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39872 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39873 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39874 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39875 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39876 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39877 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39878 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39879 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39880 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39881 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39882 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39883 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39884 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39885 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39886 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39887 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39888 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39889 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39890 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39891 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39892 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39893 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39894 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39895 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39896 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39897 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39898 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39899 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39900 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39901 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39902 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39903 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39904 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39905 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39906 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39907 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39908 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39909 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39910 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39911 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39912 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39913 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39914 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39915 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39916 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39917 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39918 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39919 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39920 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39921 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39922 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39923 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39924 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39925 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39926 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39927 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39928 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39929 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39930 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39931 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39932 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39933 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39934 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39935 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39936 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39937 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39938 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39939 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39940 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39941 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39943 (FLT_ROUNDS): Expect as macro, not constant.
39944 (FLT_MANT_DIG): Use macro-int-constant.
39945 (DBL_MANT_DIG): Likewise.
39946 (LDBL_MANT_DIG): Likewise.
39947 (FLT_DIG): Likewise.
39948 (DBL_DIG): Likewise.
39949 (LDBL_DIG): Likewise.
39950 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39951 (DBL_MIN_EXP): Likewise.
39952 (LDBL_MIN_EXP): Likewise.
39953 (FLT_MAX_EXP): Use macro-int-constant.
39954 (DBL_MAX_EXP): Likewise.
39955 (LDBL_MAX_EXP): Likewise.
39956 (FLT_MAX_10_EXP): Likewise.
39957 (DBL_MAX_10_EXP): Likewise.
39958 (LDBL_MAX_10_EXP): Likewise.
39959 (FLT_MAX): Use macro-constant.
39960 (DBL_MAX): Likewise.
39961 (LDBL_MAX): Likewise.
39962 (FLT_EPSILON): Use macro-constant. Give upper bound.
39963 (DBL_EPSILON): Likewise.
39964 (LDBL_EPSILON): Likewise.
39965 (FLT_MIN): Likewise.
39966 (DBL_MIN): Likewise.
39967 (LDBL_MIN): Likewise.
39968 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39969 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39970 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39971 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39972 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39973 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39974 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39975 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39976 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39977 [ISO11] (FLT_TRUE_MIN): Likewise.
39978 [ISO11] (LDBL_TRUE_MIN): Likewise.
39979 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39980 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39981 (SCHAR_MIN): Use macro-int-constant. Specify type.
39982 (SCHAR_MAX): Likewise.
39983 (UCHAR_MAX): Likewise.
39984 (CHAR_MIN): Likewise.
39985 (CHAR_MAX): Likewise.
39986 (MB_LEN_MAX): Use macro-int-constant.
39987 (SHRT_MIN): Use macro-int-constant. Specify type.
39988 (SHRT_MAX): Likewise.
39989 (USHRT_MAX): Likewise.
39990 (INT_MAX): Likewise.
39991 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39993 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39995 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39997 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39998 bound negative. Suffix upper bound with "L".
39999 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40001 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40003 [C99-based standards] (LLONG_MAX): Likewise.
40004 [C99-based standards] (ULLONG_MAX): Likewise.
40005 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40007 [ISO11] (max_align_t): Require type.
40008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40010 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40011 from $CFLAGS, without defining away __attribute__ calls.
40012 (checknamespace): Use $CFLAGS_namespace.
40014 * conform/conformtest.pl (@keywords): Only include C99 keywords
40015 for standards based on C99 or C11.
40017 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40019 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40022 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40023 usability of symbols in #if.
40025 * conform/conformtest.pl: If macro or constant types start
40026 "promoted:", expect the symbol to be of the following type
40027 promoted by the integer promotions.
40029 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40030 in one place. Also handle "macro-constant".
40032 * conform/conformtest.pl: Only accept expected macro values with
40033 "==". Parse all "macro" lines in one place.
40034 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40036 * conform/conformtest.pl: Handle braced types on "constant" lines
40037 instead of handling "typed-constant".
40038 * conform/data/signal.h-data: Use "constant" instead of
40041 * conform/conformtest.pl: Handle "optional-" at start of lines in
40042 one place rather than duplicating several cases. Handle each
40043 format of "macro" line with initial "optional-".
40045 * conform/conformtest.pl: Only accept expected constant or
40046 optional-constant values with "==". Parse all "constant" lines in
40047 one place. Parse all "optional-constant" lines in one place.
40048 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40049 * conform/data/fmtmsg.h-data: Likewise.
40050 * conform/data/netinet/in.h-data: Likewise.
40051 * conform/data/tar.h-data: Likewise.
40052 * conform/data/limits.h-data: Use "==" form on "constant" and
40053 "optional-constant" lines.
40055 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40056 Use -std=c99 for XOPEN2K.
40057 (@knownproblems): Remove.
40058 (newtoken): Don't check %isknown.
40060 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40061 Do not expect macro.
40062 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40074 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40075 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40092 [XPG3] (acosh): Likewise.
40093 [XPG3] (asinh): Likewise.
40094 [XPG3] (atanh): Likewise.
40095 [XPG3] (cbrt): Likewise.
40096 [XPG3] (expm1): Likewise.
40097 [XPG3] (ilogb): Likewise.
40098 [XPG3] (log1p): Likewise.
40099 [XPG3] (logb): Likewise.
40100 [XPG3] (nextafter): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40103 [XPG3] (remainder): Likewise.
40104 [XPG3] (rint): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40112 [UNIX98 || XOPEN2K] (scalb): Expect.
40113 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40114 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40128 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40130 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40139 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40140 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40145 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40146 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40147 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40148 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40149 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40150 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40151 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40152 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40153 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40156 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40157 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40165 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40166 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40167 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40168 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40169 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40170 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40171 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40172 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40173 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40174 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40175 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40176 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40177 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40178 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40179 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40180 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40181 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40182 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40183 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40184 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40185 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40186 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40187 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40188 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40189 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40190 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40191 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40192 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40193 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40194 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40195 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40196 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40197 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40198 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40199 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40200 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40201 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40202 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40203 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40204 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40205 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40206 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40207 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40208 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40209 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40210 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40211 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40212 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40213 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40214 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40215 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40216 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40217 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40218 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40219 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40220 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40221 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40222 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40223 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40224 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40225 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40226 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40227 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40228 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40229 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40230 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40231 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40232 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40233 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40234 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40235 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40236 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40237 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40238 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40239 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40240 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40241 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40242 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40243 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40244 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40245 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40246 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40247 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40248 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40249 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40251 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40252 _XOPEN_SOURCE_EXTENDED for XPG4.
40254 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40256 * Makeconfig (localtime): Remove variable.
40257 (inst_localtime-file): Likewise.
40259 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40280 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40284 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40285 comparisons to determine direction to adjust input.
40286 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40287 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40288 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40290 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40294 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40295 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40297 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40299 * math/libm-test.inc (nexttoward_test): Add more tests.
40301 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40304 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40305 in version GLIBC_2.1, not GLIBC_2.0.
40306 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40309 2012-04-30 Joseph Myers <joseph@codesourcery.com>
40312 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40314 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40315 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40316 * math/libm-test.inc (acos_test): Add more tests.
40317 (asin_test): Likewise.
40318 * sysdeps/i386/fpu/libm-test-ulps: Update.
40319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40322 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40324 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40325 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40326 * math/libm-test.inc (acos_test_tonearest): New function.
40327 (acos_test_towardzero): Likewise.
40328 (acos_test_downward): Likewise.
40329 (acos_test_upward): Likewise.
40330 (asin_test_tonearest): Likewise.
40331 (asin_test_towardzero): Likewise.
40332 (asin_test_downward): Likewise.
40333 (asin_test_upward): Likewise.
40334 (main): Call the new functions.
40335 * sysdeps/i386/fpu/libm-test-ulps: Update.
40336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40340 * math/e_exp10.c: Include <float.h>.
40341 (__ieee754_exp10): Handle underflow here rather than multiplying
40342 large negative argument by M_LN10.
40343 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40345 * math/e_exp10l.c: Include <float.h>.
40346 (__ieee754_exp10l): Handle underflow here rather than multiplying
40347 large negative argument by M_LN10l.
40348 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40349 spurious overflow exception on underflow.
40351 2012-04-29 Marek Polacek <polacek@redhat.com>
40353 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40354 (__fortify_function): New macro.
40355 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40356 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40357 __extern_always_inline.
40358 * libio/bits/stdio2.h: Likewise.
40359 * libio/bits/stdio.h: Likewise.
40360 * string/string.h: Likewise.
40361 * string/bits/string3.h: Likewise.
40362 * include/stdio.h: Likewise.
40363 * stdlib/bits/stdlib.h: Likewise.
40364 * stdlib/stdlib.h: Likewise.
40365 * rt/bits/mqueue2.h: Likewise.
40366 * rt/mqueue.h: Likewise.
40367 * posix/bits/unistd.h: Likewise.
40368 * posix/unistd.h: Likewise.
40369 * io/bits/poll2.h: Likewise.
40370 * io/bits/fcntl2.h: Likewise.
40371 * io/fcntl.h: Likewise.
40372 * io/sys/poll.h: Likewise.
40373 * misc/bits/syslog.h: Likewise.
40374 * misc/bits/syslog-ldbl.h: Likewise.
40375 * misc/sys/syslog.h: Likewise.
40376 * socket/bits/socket2.h: Likewise.
40377 * socket/sys/socket.h: Likewise.
40378 * debug/tst-chk1.c: Likewise.
40379 * wcsmbs/bits/wchar2.h: Likewise.
40380 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40381 * wcsmbs/wchar.h: Likewise.
40383 2012-04-29 Andreas Jaeger <aj@suse.de>
40385 * Makerules (tests): Remove enable-check-abi protection.
40386 (check-abi-warn): Remove.
40387 (check-abi-%): Remove check-abi-warn usage.
40389 * configure.in: Remove check-abi configure option.
40390 * configure: Regenerated.
40391 * config.make.in (enable-check-abi): Remove.
40393 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40396 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40397 double functions to double *_finite functions.
40400 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40401 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40403 * stdio-common/Makefile (tests): Add tst-sprintf3.
40404 * stdio-common/tst-sprintf3.c: New file.
40406 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40407 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40409 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40411 * conform/conformtest.pl: Remove duplicate typed-constant
40414 2012-04-28 David S. Miller <davem@davemloft.net>
40416 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40417 (check-abi-%): Remove AWK script prerequisite and explicit
40419 (check-abi): Rewrite to just diff the symlist with the abilist.
40420 (config-tls, config-abi-config): Delete, no longer used.
40421 (update-abi-%): Remove AWK script and explicit abilist directory.
40422 (update-abi): Rewrite to simply compare and conditionally copy the
40423 symlist and the sysdep abilist file. Remove update-abi-config
40425 * abilist/ld.abilist: Remove.
40426 * abilist/libBrokenLocale.abilist: Remove.
40427 * abilist/libanl.abilist: Remove.
40428 * abilist/libcrypt.abilist: Remove.
40429 * abilist/libdl.abilist: Remove.
40430 * abilist/librt.abilist: Remove.
40431 * abilist/libthread_db.abilist: Remove.
40432 * abilist/libutil.abilist: Remove.
40433 * scripts/extract-abilist.awk: Remove.
40434 * scripts/merge-abilist.awk: Remove.
40435 * sysdeps/generic/libcidn.abilist: New file.
40436 * sysdeps/generic/libnss_compat.abilist: New file.
40437 * sysdeps/generic/libnss_db.abilist: New file.
40438 * sysdeps/generic/libnss_dns.abilist: New file.
40439 * sysdeps/generic/libnss_files.abilist: New file.
40440 * sysdeps/generic/libnss_hesiod.abilist: New file.
40441 * sysdeps/generic/libnss_nis.abilist: New file.
40442 * sysdeps/generic/libnss_nisplus.abilist: New file.
40443 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40444 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40445 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40447 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40448 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40449 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40450 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40451 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40452 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40453 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40454 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40455 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40457 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40458 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40459 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40460 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40462 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40463 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40464 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40465 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40466 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40467 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40469 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40470 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40471 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40473 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40576 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40577 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40578 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40581 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40582 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40583 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40584 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40585 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40586 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40587 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40588 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40589 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40641 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40643 * conform/conformtest.pl: Fix typo in handling typed-constant from
40646 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40648 * README: Cut down references to pre-2.6 Linux kernels and
40649 Linuxthreads. Update lists of configurations in libc and ports
40650 and sort alphabetically. Say "or newer" with Linux kernel version
40653 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40655 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40658 * math/libm-test.inc (logb_test_downward): New test to expose
40659 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40662 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40665 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40667 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40668 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40670 2012-04-26 Joseph Myers <joseph@codesourcery.com>
40672 * sysdeps/unix/i386/brk.S: Remove file.
40673 * sysdeps/unix/i386/dl-brk.S: Likewise.
40674 * sysdeps/unix/i386/pipe.S: Likewise.
40675 * sysdeps/unix/i386/sigreturn.S: Likewise.
40676 * sysdeps/unix/i386/syscall.S: Likewise.
40677 * sysdeps/unix/i386/vfork.S: Likewise.
40678 * sysdeps/unix/i386/wait.S: Likewise.
40680 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40681 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40683 * configure.in (arm*-none*): Do not allow without
40684 --enable-hacker-mode.
40685 (netbsd*): Remove case setting base_os.
40686 (386bsd*): Likewise.
40687 (freebsd*): Likewise.
40690 (sunos*): Likewise.
40691 (ultrix*): Likewise.
40692 (newsos*): Likewise.
40693 (dynix*): Likewise.
40699 (minix*): Likewise.
40700 (irix4*): Likewise.
40701 (irix6*): Likewise.
40702 (solaris[2-9]*): Likewise.
40704 * configure: Regenerated.
40706 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40709 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40710 overflow or cancellation in calculating denominator.
40711 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40713 down expression to avoid unexpected rounding in newer GCCs.
40714 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40716 2012-04-26 David S. Miller <davem@davemloft.net>
40718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40719 long-double compat symbols.
40720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40734 2012-04-25 David S. Miller <davem@davemloft.net>
40736 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40737 HWCAP_* values only after the memory barriers have been defined.
40738 (atomic_full_barrier): Define.
40739 (atomic_read_barrier): Define.
40740 (atomic_write_barrier): Define.
40742 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40744 * shlib-versions: Add libgcc_s version information.
40745 * sysdeps/generic/libgcc_s.h: Remove.
40746 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40748 * sysdeps/gnu/unwind-resume.c: Likewise.
40749 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40751 2012-04-25 David S. Miller <davem@davemloft.net>
40753 * sysdeps/unix/sparc/brk.S: Delete.
40754 * sysdeps/unix/sparc/dl-brk.S: Delete.
40755 * sysdeps/unix/sparc/pipe.S: Delete.
40756 * sysdeps/unix/sparc/sysdep.S: Delete.
40757 * sysdeps/unix/sparc/sysdep.h: Delete.
40758 * sysdeps/unix/sparc/vfork.S: Delete.
40759 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40760 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40761 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40762 (ret_ERRVAL, r0, r1, MOVE): Define.
40763 (JUMPTARGET): Remove.
40764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40765 sysdeps/unix/sparc/sysdep.h
40766 (ENTRY, END): Remove.
40767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40769 2012-04-25 Joseph Myers <joseph@codesourcery.com>
40771 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40772 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40775 * timezone/README: Update upstream location and email address for
40777 * timezone/zdump.c: Update from tzcode 2012b.
40778 * timezone/zic.c: Likewise.
40780 * configure.in (libc_cv_as_needed): Remove test.
40781 * configure: Regenerated.
40782 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40783 conditional definition.
40784 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40785 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40786 * config.make.in (have-as-needed): Remove variable.
40788 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40789 Paul Pluzhnikov <ppluzhnikov@google.com>
40791 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40794 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40796 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40797 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40798 * sysdeps/sh/strlen.S: Likewise.
40800 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40802 * sysdeps/unix/fork.S: Remove file.
40803 * sysdeps/unix/i386/fork.S: Likewise.
40804 * sysdeps/unix/sparc/fork.S: Likewise.
40806 * sysdeps/unix/system.c: Remove file.
40807 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40809 * sysdeps/unix/getegid.S: Remove file.
40810 * sysdeps/unix/geteuid.S: Likewise.
40812 2012-04-24 Roland McGrath <roland@hack.frob.com>
40814 * scripts/check-localplt.awk: New file.
40815 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40817 * scripts/data/localplt-generic.data: Add a comment.
40819 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40820 NODE when __dir_mkfile failed.
40821 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40822 Reported by Ludovic Courtès <ludo@gnu.org>.
40824 2012-04-24 Andreas Jaeger <aj@suse.de>
40826 * Makerules (common-clean): Also remove gen-as-const-headers
40829 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40831 * Makerules (native-compile): Do not change working directory for
40832 build. Use $(OUTPUT_OPTION) in command.
40833 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40835 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40838 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40839 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40840 * math/libm-test.inc (floor_test): Add more tests.
40841 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40843 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40845 * sysdeps/unix/getdents.c: Remove file.
40846 * sysdeps/unix/sysv/getdents.c: Likewise.
40847 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40849 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40850 sysdeps/unix/mman/syscalls.list.
40852 (mprotect): Likewise.
40854 (munmap): Likewise.
40855 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40856 * sysdeps/unix/mman/syscalls.list: Remove.
40857 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40859 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40860 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40861 * configure: Regenerated.
40862 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40863 $(libgcc_s_suffix).
40864 * config.make.in (libgcc_s_suffix): Remove variable.
40866 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40868 * sysdeps/unix/sysv/gethostname.c: Move to ...
40869 * sysdeps/posix/gethostname.c: ... here.
40871 * sysdeps/unix/execve.S: Remove file.
40873 * sysdeps/unix/_exit.S: Remove file.
40875 2012-04-23 Andreas Jaeger <aj@suse.de>
40878 * manual/Makefile: Remove make dist support, there's no
40879 need for a stand-alone documentation tar ball.
40880 (TEXI2DVI): Define always, it's not in Makeconfig.
40883 (edition): Removed.
40884 (glibc-doc-$(edition).tar): Removed
40888 (ETAGS): Remove, it's in Makeconfig.
40889 (move-if-change): Remove, it's in Makeconfig.
40891 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40894 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40895 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40896 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40897 (strtod_l, strtof_l, strtold_l): Remove __wur.
40898 It is not necessarily an error to ignore strtol's return value.
40899 One can reliably look at the stored endptr to decide whether
40900 the number had valid syntax.
40902 2012-04-21 Andreas Jaeger <aj@suse.de>
40905 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40907 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40909 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40910 * sysdeps/unix/sysv/Versions: Remove file.
40912 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40917 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40921 version from __vm86.
40923 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40925 * sysdeps/unix/common/lxstat.c: Remove file.
40926 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40928 * sysdeps/unix/sysv/Makefile: Remove file.
40930 * sysdeps/unix/sysv/direct.h: Remove file.
40932 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40933 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40934 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40935 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40936 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40937 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40938 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40940 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40942 * sysdeps/unix/xmknod.c: Remove file.
40943 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40945 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40947 * sysdeps/unix/sysv/i386/time.S: Remove file.
40949 * sysdeps/unix/fxstat.c: Remove file.
40950 * sysdeps/unix/xstat.c: Likewise.
40951 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40953 * sysdeps/unix/sysv/sigaction.c: Remove file.
40955 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40956 (sysdep_headers): Remove variable.
40957 [termio.h not in sysdep_headers] (generated): Likewise.
40958 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40959 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40960 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40961 * sysdeps/unix/sysv/tcflow.c: Likewise.
40962 * sysdeps/unix/sysv/tcflush.c: Likewise.
40963 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40964 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40965 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40966 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40967 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40969 * sysdeps/unix/siglist.c: Remove file.
40971 * sysdeps/unix/getppid.S: Remove file.
40973 * sysdeps/unix/mkdir.c: Remove file.
40974 * sysdeps/unix/rmdir.c: Likewise.
40976 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40978 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40980 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40981 errlist-compat value.
40983 2012-04-18 David S. Miller <davem@davemloft.net>
40985 * sysdeps/generic/memcopy.h (reg_char): Delete.
40986 * debug/strcat_chk.c: Use char, not reg_char.
40987 * debug/strcpy_chk.c: Likewise.
40988 * debug/strncat_chk.c: Likewise.
40989 * debug/strncpy_chk.c: Likewise.
40990 * string/memchr.c: Likewise.
40991 * string/memrchr.c: Likewise.
40992 * string/rawmemchr.c: Likewise.
40993 * string/strcat.c: Likewise.
40994 * string/strchr.c: Likewise.
40995 * string/strchrnul.c: Likewise.
40996 * string/strcmp.c: Likewise.
40997 * string/strcpy.c: Likewise.
40998 * string/strncat.c: Likewise.
40999 * string/strncmp.c: Likewise.
41000 * string/strncpy.c: Likewise.
41002 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41004 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41005 __builtin_memcopy is called when src and dest ranges are known to not
41008 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41010 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41011 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41012 fwd_align_merge macro call.
41013 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41014 bwd_align_merge macro call.
41015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41017 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41019 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41020 bwd_align_merge macros.
41021 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41022 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41023 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41025 2012-04-18 David S. Miller <davem@davemloft.net>
41027 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41029 2012-04-18 Andreas Jaeger <aj@suse.de>
41032 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41033 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41034 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41036 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41037 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41040 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41041 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41042 Adjust for changed ldbl-128 files.
41044 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41045 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41048 2012-04-17 David S. Miller <davem@davemloft.net>
41050 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41052 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41054 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41055 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41056 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41057 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41058 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41059 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41061 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41064 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41065 * math/libm-test.inc: Add ilogb errno and exception tests.
41066 * math/w_ilogb.c: New file: ilogb wrapper.
41067 * math/w_ilogbf.c: New file: ilogbf wrapper.
41068 * math/w_ilogbl.c: New file: ilogbl wrapper.
41069 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41070 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41071 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41072 exception being thrown with 0.0 as argument.
41073 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41074 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41075 exception being thrown with 0.0 as argument.
41076 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41077 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41078 exception being thrown with 0.0 as argument.
41079 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41080 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41081 exception being thrown with 0.0 as argument.
41082 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41083 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41084 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41085 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41086 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41087 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41088 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41089 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41090 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41092 2012-04-17 Petr Baudis <pasky@ucw.cz>
41094 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41097 2012-04-16 Marek Polacek <polacek@redhat.com>
41099 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41101 2012-04-16 Marek Polacek <polacek@redhat.com>
41103 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41104 operands of fdivp instruction.
41106 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41108 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41109 * elf/tst-auditmod3b.c: Likewise.
41110 * elf/tst-auditmod4b.c: Likewise.
41111 * elf/tst-auditmod5b.c: Likewise.
41112 * elf/tst-auditmod6b.c: Likewise.
41113 * elf/tst-auditmod6c.c: Likewise.
41114 * elf/tst-auditmod7b.c: Likewise.
41115 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41116 * sysdeps/x86_64/preconfigure.in: Likewise.
41117 * sysdeps/x86_64/preconfigure: Regenerated.
41119 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41121 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41124 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
41126 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41127 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41129 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41132 * locale/iso-639.def: Fix gl language name. Spotted by
41135 2012-04-12 Roland McGrath <roland@hack.frob.com>
41138 * libio/libio.h (__io_write_fn): Update comment.
41140 2012-04-12 Petr Baudis <pasky@ucw.cz>
41143 * stdio.texi (Hook Functions): The user provided writer function
41144 is not allowed to return -1.
41146 2012-04-11 David S. Miller <davem@davemloft.net>
41148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41150 2012-04-11 Mike Frysinger <vapier@gentoo.org>
41152 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41153 Add a leading slash to rtkaio.
41155 2012-04-11 Jim Meyering <meyering@redhat.com>
41158 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41159 It is not necessarily an error to ignore fwrite's return
41160 value. One can reliably use ferror to test for errors after
41163 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41165 * bits/types.h (__snseconds_t): New type.
41166 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41168 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41170 (__SNSECONDS_T_TYPE): Likewise.
41171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41172 (__SNSECONDS_T_TYPE): Likewise.
41173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41174 (__SNSECONDS_T_TYPE): Likewise.
41176 2012-04-10 Andreas Jaeger <aj@suse.de>
41179 * manual/time.texi (Processor Time): Return type of times is
41180 elapsed real time since an arbitrary point in the past.
41181 (CPU Time): Move CLK_TCK from here...
41182 (Processor Time): ...to here. Correct description.
41183 * manual/conf.texi (Constants for Sysconf): Correct description of
41186 2012-04-10 David S. Miller <davem@davemloft.net>
41189 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41190 where the is a gap between DT_REL(A) and DT_JMPREL.
41192 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41194 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41195 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41196 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41198 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41200 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41201 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41202 (dl_main): Handle --inhibit-cache.
41203 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41205 * elf/dl-load.c (_dl_map_object): Use it.
41206 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41208 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41211 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41212 (__ieee754_powl): Saturate large exponents rather than testing for
41213 overflow of y*log2(x).
41214 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41215 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41219 * math/s_ctan.c: Include <float.h>.
41220 (__ctan): Avoid internal overflow or cancellation in calculating
41222 * math/s_ctanf.c: Likewise.
41223 * math/s_ctanl.c: Likewise.
41224 * math/s_ctanh.c: Likewise.
41225 * math/s_ctanhf.c: Likewise.
41226 * math/s_ctanhl.c: Likewise.
41227 * math/libm-test.inc (ctan_test): Add more tests.
41228 (ctanh_test): Likewise.
41229 * sysdeps/i386/fpu/libm-test-ulps: Update.
41230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41232 2012-04-09 Andreas Jaeger <aj@suse.de>
41235 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41236 is an optional BSD extension.
41239 * manual/stdio.texi (Opening Streams): Document additional fopen
41242 2012-04-09 Roland McGrath <roland@hack.frob.com>
41244 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41245 %eax without telling the compiler.
41247 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41250 * manual/install.texi: Use sourceware.org.
41252 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41255 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41256 (__ieee754_pow): Generate overflow and underflow using huge*huge
41257 and tiny*tiny rather than just returning constant infinity or zero
41258 for large exponents.
41259 * math/libm-test.inc (pow_test): Require overflow exceptions for
41260 applicable cases of large exponents.
41263 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41264 (__ieee754_pow): Use iterative multiplication algorithm only for
41265 integer exponents with absolute value below 1024. Check for odd
41266 integer exponents when using algorithm for real exponents.
41267 * math/libm-test.inc (pow_test): Add more tests.
41268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41270 2012-04-08 Joseph Myers <joseph@codesourcery.com>
41273 * math/libm-test.inc (exp_test): Do not allow overflow exception
41276 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41279 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41280 instead of __kernel_standard_f.
41282 2012-04-08 Mike Frysinger <vapier@gentoo.org>
41284 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41285 * sysdeps/x86_64/memset_chk.S: Likewise.
41287 2012-04-08 Andreas Jaeger <aj@suse.de>
41290 * manual/startup.texi (Environment Access): Describe return value
41291 for putenv and setenv.
41294 * manual/filesys.texi (Directory Entries): Add description for
41298 * manual/filesys.texi (Directory Entries): Clarify that it's file
41299 system not operating system in the description of DT_UNKNOWN.
41302 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41304 2012-04-08 Stephen Compall <s11@member.fsf.org>
41307 * manual/llio.texi (Opening and Closing Files): Add cross
41308 reference to explain mode argument.
41310 2012-04-07 Mike Frysinger <vapier@gentoo.org>
41312 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41313 * sysdeps/x86_64/memset_chk.S: Likewise.
41315 2012-04-07 David S. Miller <davem@davemloft.net>
41317 * elf/elf.h (R_SPARC_WDISP10): Define.
41318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41321 R_SPARC_SIZE64 and R_SPARC_H34.
41323 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41326 conditions and remove no longer applicable assertion.
41328 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41330 * bits/byteswap.h: Include <features.h>.
41331 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41332 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41334 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41336 * bits/byteswap.h (__bswap_16): Removed.
41337 Include <bits/byteswap-16.h> to get __bswap_16.
41338 * sysdeps/i386/bits/byteswap.h: Likewise.
41339 * sysdeps/s390/bits/byteswap.h: Likewise.
41340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41341 * bits/byteswap-16.h: New file.
41342 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41343 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41344 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41345 * string/Makefile (headers): Add bits/byteswap-16.h.
41347 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41350 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41352 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41353 * nss/tst-nss-static.c: New.
41355 2012-04-06 Robert Millan <rmh@gnu.org>
41358 * manual/llio.texi (File Position Primitive): lseek
41359 refers to WHENCE when it really means OFFSET.
41361 2012-04-06 Andreas Jaeger <aj@suse.de>
41363 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41364 strncmp declarations.
41366 * abilist/libc.abilist: Add __poll and __ppoll.
41368 2012-04-05 David S. Miller <davem@davemloft.net>
41370 * scripts/check-local-headers.sh: Accept a host triplet in the
41371 path matched by the exclude regexp.
41373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41375 * sysdeps/powerpc/powerpc32/dl-machine.h
41376 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41377 * sysdeps/s390/s390-32/dl-machine.h
41378 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41379 * sysdeps/sparc/sparc32/dl-machine.h
41380 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41381 * sysdeps/sparc/sparc64/dl-machine.h
41382 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41384 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41386 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41387 undefined symbol errors.
41389 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41392 2012-04-05 Michael Matz <matz@suse.de>
41395 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41397 2012-04-05 Andreas Jaeger <aj@suse.de>
41400 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41403 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41405 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41406 which ROUND is no valid rounding mode.
41408 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41410 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41412 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41414 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41416 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41417 an exception using FPU order intentionally.
41419 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41421 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41422 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41423 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41424 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41426 2012-04-05 Simon Josefsson <simon@josefsson.org>
41429 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41430 EINVAL when BUFLEN is too smal.
41432 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41435 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41436 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41438 2012-04-03 Andreas Jaeger <aj@suse.de>
41441 * manual/setjmp.texi (System V contexts): Fix sentence.
41444 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41445 New macro for this case.
41446 [!__GNUC__] (__bswap_64): New inline function for this case.
41447 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41448 * bits/byteswap.h: Likewise.
41449 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41450 ull, guard with __GLIBC_HAVE_LONG_LONG.
41452 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41453 __GLIBC_HAVE_LONG_LONG.
41455 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41456 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41458 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41461 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41462 inptr and inend, rather than using last_ch.
41464 2012-04-02 David S. Miller <davem@davemloft.net>
41466 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41467 * stdio-common/printf-parse.h (read_int): Change return type to
41468 'int', return -1 on INT_MAX overflow.
41469 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41470 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41471 overflows INT_MAX. Check for overflow of in-format-string precision
41472 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41473 SIZE_MAX not INT_MAX for integer overflow test.
41474 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41475 skip the construct in the format string but do not record anything.
41476 * stdio-common/bug22.c: Adjust to test both width/prevision
41477 INT_MAX overflow as well as total length INT_MAX overflow. Check
41478 explicitly for proper errno values.
41480 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41482 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41484 * string/test-strcmp.c [! WIDE]: Likewise.
41485 * time/tst-mktime2.c: Likewise for INT_MAX.
41486 * string/test-string.h: #include <sys/param.h> for MIN.
41488 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41489 * sysdeps/i386/init-first.c (init): Likewise.
41490 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41491 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41492 * sysdeps/sh/init-first.c (init): Likewise.
41494 2012-04-01 Ulrich Drepper <drepper@gmail.com>
41496 * po/ru.po: Update from translation team.
41497 * po/vi.po: Likewise.
41499 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41501 * resolv/nss_dns/dns-host.c: Merge copyright years.
41503 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41506 Optimize memcpy with prefetch if
41507 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41508 src, dst pointers have unequal 16 byte alignments.
41510 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41513 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41514 from a CNAME entry and return the minimum ttl for the query.
41515 (gaih_getanswer_slice): Likewise.
41517 2012-03-30 Jeff Law <law@redhat.com>
41519 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41521 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41522 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41524 * resolv/nss_dns/dns-host.c: Update copyright year.
41526 2012-03-30 Ulrich Drepper <drepper@gmail.com>
41528 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41529 requests to save a system call. Fix check that all bytes are sent.
41531 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41532 comments for sendmmsg.
41534 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41537 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41538 with only 1 character between 0x0041 and 0x01b0.
41539 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41540 * wcsmbs/tst-mbsnrtowcs.c: New file.
41542 2012-03-29 David S. Miller <davem@davemloft.net>
41544 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41545 small copies by hand.
41547 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41550 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41551 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41554 2012-03-28 David S. Miller <davem@davemloft.net>
41556 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41557 that branches into memcpy.
41558 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41560 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41561 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41564 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41565 implementation too.
41566 * sysdeps/sparc/mempcpy.S: New file.
41568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41569 the IFUNC routine in the libc case.
41570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41572 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41573 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41574 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41575 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41576 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41577 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41578 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41579 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41581 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41582 loop to 256 bytes instead of 64 bytes and fix test signedness.
41584 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41585 * sysdeps/sparc/sparc32/Makefile: rather than here...
41586 * sysdeps/sparc/sparc64/Makefile: and here.
41588 2012-03-28 Ulrich Drepper <drepper@gmail.com>
41590 * malloc/mallocbug.c: Avoid warnings about unused variables.
41592 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41595 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41596 in the right place. Discard and retry query if response is
41597 larger than input buffer size.
41599 2012-03-28 Joseph Myers <joseph@codesourcery.com>
41604 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41605 x for large integer exponent.
41606 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41607 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41608 sign of result as needed afterwards.
41609 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41611 result for underflowing pow the same as for overflow.
41612 (__kernel_standard_l): Handle powl overflow and underflow here
41613 rather than calling __kernel_standard.
41614 * math/libm-test.inc (pow_test): Add more tests.
41629 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41630 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41631 (__kernel_standard_l): New function.
41632 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41634 * math/w_acosl.c (__acosl): Likewise.
41635 * math/w_asinl.c (__asinl): Likewise.
41636 * math/w_atan2l.c (__atan2l): Likewise.
41637 * math/w_atanhl.c (__atanhl): Likewise.
41638 * math/w_coshl.c (__coshl): Likewise.
41639 * math/w_exp10l.c (__exp10l): Likewise.
41640 * math/w_exp2l.c (__exp2l): Likewise.
41641 * math/w_fmodl.c (__fmodl): Likewise.
41642 * math/w_hypotl.c (__hypotl): Likewise.
41643 * math/w_j0l.c (__j0l, __y0l): Likewise.
41644 * math/w_j1l.c (__j1l, __y1l): Likewise.
41645 * math/w_jnl.c (__jnl, __ynl): Likewise.
41646 * math/w_lgammal.c (__lgammal): Likewise.
41647 * math/w_log10l.c (__log10l): Likewise.
41648 * math/w_log2l.c (__log2l): Likewise.
41649 * math/w_logl.c (__logl): Likewise.
41650 * math/w_powl.c (__powl): Likewise.
41651 * math/w_remainderl.c (__remainderl): Likewise.
41652 * math/w_scalbl.c (sysv_scalbl): Likewise.
41653 * math/w_sinhl.c (__sinhl): Likewise.
41654 * math/w_sqrtl.c (__sqrtl): Likewise.
41655 * math/w_tgammal.c (__tgammal): Likewise.
41656 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41657 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41658 * math/libm-test.inc (acos_test): Add more tests.
41659 (acosh_test): Likewise.
41660 (asin_test): Likewise.
41661 (atanh_test): Likewise.
41662 (exp_test): Likewise.
41663 (exp10_test): Likewise.
41664 (exp2_test): Likewise.
41665 (expm1_test): Likewise.
41666 (lgamma_test): Likewise.
41667 (log_test): Likewise.
41668 (log10_test): Likewise.
41669 (log1p_test): Likewise.
41670 (log2_test): Likewise.
41671 (pow_test): Do not allow some spurious overflow exceptions.
41672 (sqrt_test): Add more tests.
41673 (tgamma_test): Likewise.
41674 (y0_test): Likewise.
41675 (y1_test): Likewise.
41676 (yn_test): Likewise.
41678 2012-03-27 Anton Blanchard <anton@samba.org>
41680 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41682 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41683 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41684 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41686 2012-03-27 David S. Miller <davem@davemloft.net>
41688 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41690 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41691 have-as-vis3 check.
41693 2012-03-27 Andreas Jaeger <aj@suse.de>
41695 * sysdeps/x86_64/elf/configure.in: Moved to ...
41696 * sysdeps/x86_64/configure.in: ... here.
41697 * sysdeps/x86_64/elf/start.S: Moved to ...
41698 * sysdeps/x86_64/start.S: ... here.
41699 * sysdeps/x86_64/elf/configure: Delete.
41701 * sysdeps/x86_64/configure.in: Merge contents from
41702 sysdeps/i386/configure.in (without i686 check).
41704 * sysdeps/i386/elf/Versions: Merge into ...
41705 * sysdeps/i386/Versions: ... this.
41706 * sysdeps/i386/elf/Versions: Delete file.
41707 * sysdeps/i386/elf/start.S: Moved to ...
41708 * sysdeps/i386/start.S: ...here.
41709 * sysdeps/i386/elf/configure.in: Merge into...
41710 * sysdeps/i386/configure.in: ...here.
41711 * sysdeps/i386/elf/configure.in: Delete file.
41712 * sysdeps/i386/elf/configure: Delete file.
41714 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41715 * debug/backtracesyms.c: ... here.
41716 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41717 * debug/backtracesymsfd.c: ... here.
41718 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41719 * sysdeps/generic/ifunc-sel.h: ... here.
41721 * sysdeps/unix/i386/start.c: Delete file.
41722 * sysdeps/unix/sparc/start.c: Delete file.
41723 * sysdeps/unix/start.c: Delete file.
41725 * sysdeps/sh/elf/configure.in: Moved to ...
41726 * sysdeps/sh/configure.in: ... here.
41727 * sysdeps/sh/elf/start.S: Moved to ...
41728 * sysdeps/sh/start.S: ... here.
41729 * sysdeps/sh/elf/configure: Delete file.
41731 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41732 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41733 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41734 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41735 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41736 * sysdeps/powerpc/powerpc64/start.S: here.
41737 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41738 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41739 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41740 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41741 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41743 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41744 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41745 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41746 * sysdeps/powerpc/powerpc32/start.S: ... here.
41747 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41748 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41749 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41751 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41752 * sysdeps/powerpc/ifunc-sel.h: ... here.
41753 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41754 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41756 * sysdeps/sparc/elf/configure.in: Moved to ...
41757 * sysdeps/sparc/configure.in: ... here.
41758 * sysdeps/sparc/elf/configure: Delete file.
41759 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41760 * sysdeps/sparc/sparc32/start.S: ... here.
41761 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41762 * sysdeps/sparc/sparc64/start.S: ... here.
41763 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41764 * sysdeps/sparc/sparc32/Makefile: ... this.
41765 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41766 * sysdeps/sparc/sparc64/Makefile: ... this.
41768 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41769 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41770 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41771 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41772 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41773 * sysdeps/s390/s390-32/setjmp.S: ... here.
41774 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41775 * sysdeps/s390/s390-32/configure.in: ... here.
41776 * sysdeps/s390/s390-32/elf/configure: Delete file.
41777 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41778 * sysdeps/s390/s390-32/start.S: ... here.
41780 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41781 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41782 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41783 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41784 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41785 * sysdeps/s390/s390-64/setjmp.S: ... here.
41786 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41787 * sysdeps/s390/s390-64/configure.in: ... here
41788 * sysdeps/s390/s390-64/elf/configure: Delete file.
41789 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41790 * sysdeps/s390/s390-64/start.S: ... here.
41791 * sysdeps/s390/s390-64/elf/configure: Delete.
41793 * configure.in: Remove support for elf directories in sysdeps.
41795 * configure: Regenerated.
41796 * sysdeps/i386/configure: Regenerated.
41797 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41798 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41799 * sysdeps/s390/s390-32/configure: Regenerated.
41800 * sysdeps/s390/s390-64/configure: Regenerated.
41801 * sysdeps/sh/configure: Regenerated.
41802 * sysdeps/sparc/configure: Regenerated.
41803 * sysdeps/x86_64/configure: Regenerated.
41805 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41809 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41810 denormal result into account.
41812 2012-03-25 Roland McGrath <roland@hack.frob.com>
41814 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41815 Reported by Allan McRae <allan@archlinux.org>.
41817 2012-03-23 Jeff Law <law@redhat.com>
41819 * nss/getnssent.c (__nss_getent): Fix typo.
41821 2012-03-23 David S. Miller <davem@davemloft.net>
41823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41825 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41827 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41828 to pad to uint64_t for each field.
41829 (dl_tls_index): Replace unsigned long with uint64_t.
41831 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41832 Paul Pluzhnikov <ppluzhnikov@google.com>
41835 * grp/Makefile (otherlibs): Don't set it.
41836 * inet/Makefile (otherlibs): Likewise.
41837 * login/Makefile (otherlibs): Likewise.
41838 * nscd/Makefile (otherlibs): Likewise.
41839 * posix/Makefile (otherlibs): Likewise.
41840 * pwd/Makefile (otherlibs): Likewise.
41841 * rt/Makefile (otherlibs): Likewise.
41842 * sunrpc/Makefile (otherlibs): Likewise.
41843 * nss/Makefile (otherlibs): Likewise.
41844 Add libnss_files to routines and static-only-routines.
41845 ($(objpfx)getent): Remove rule.
41846 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41847 static-only-routines.
41849 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41852 * math/s_cexp.c: Include <float.h>.
41853 (__cexp): Handle exp result overflowing not necessarily
41854 overflowing both real and imaginary parts of result.
41855 * math/s_cexpf.c: Likewise.
41856 * math/s_cexpl.c: Likewise.
41857 * math/libm-test.inc (cexp_test): Add more tests.
41858 * sysdeps/i386/fpu/libm-test-ulps: Update.
41859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41861 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41863 * include/link.h (ELFW): New macro.
41864 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41865 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41867 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41869 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41872 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41874 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41876 (struct La_x32_retval): Likewise.
41878 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41880 * sysdeps/x86_64/preconfigure.in: New file.
41881 * sysdeps/x86_64/preconfigure: New generated file.
41883 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41886 * math/e_exp2l.c: Include <float.h>.
41887 (__ieee754_exp2l): Handle overflow and underflow cases
41888 separately. Only pass fractional part of argument to
41890 * math/libm-test.inc (exp2_test): Add more tests.
41892 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41893 negating x to take absolute value.
41894 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41896 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41897 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41899 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41900 computing low part if x was negated.
41901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41903 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41905 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41906 la_x32_gnu_pltexit.
41907 (pltexit): Cast int_retval to ptrdiff_t.
41908 * elf/tst-auditmod3b.c: Likewise.
41909 * elf/tst-auditmod4b.c: Likewise.
41910 * elf/tst-auditmod5b.c: Likewise.
41911 * elf/tst-auditmod6b.c: Likewise.
41912 * elf/tst-auditmod6c.c: Likewise.
41913 * elf/tst-auditmod7b.c: Likewise.
41915 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41916 and x32_gnu_pltexit.
41918 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41919 __ELF_NATIVE_CLASS.
41920 (La_x32_regs): New macro.
41921 (La_x32_retval): Likewise.
41922 (la_x32_gnu_pltenter): New function prototype.
41923 (la_x32_gnu_pltexit): Likewise.
41925 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41932 * configure.in (libc_cv_cc_nofma): Check for option to disable
41933 generation of FMA instructions.
41934 * configure: Regenerate.
41935 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41936 * sysdeps/ieee754/dbl-64/Makefile: New file.
41937 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41938 Remove brandred-fma4.
41939 (CFLAGS-brandred-fma4.c): Remove.
41940 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41941 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41943 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41946 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41948 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41949 LLONG_MAX != LONG_MAX.
41950 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41951 (_fitoa_word): Likewise.
41952 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41953 LLONG_MAX != LONG_MAX.
41954 * stdio-common/_itowa.h: Include <_itoa.h>.
41955 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41956 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41957 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41958 only if not defined.
41959 (_ITOA_WORD_TYPE): Likewise.
41960 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41961 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41963 2012-03-21 David S. Miller <davem@davemloft.net>
41965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41967 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41969 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41970 of x86_64 when setting libc_cv_slibdir, libdir and
41972 * sysdeps/unix/sysv/linux/configure: Regenerated.
41974 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41976 * manual/lang.texi (Old Varargs): Remove section.
41977 (How Variadic): Update menu.
41978 (va_start): Do not mention varargs.h.
41980 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41981 Joseph Myers <joseph@codesourcery.com>
41983 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41985 * configure: Regenerated.
41987 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41989 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41990 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41993 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41996 * Makefile (files-for-dist): Remove NOTES.
41997 (NOTES): Remove rule.
41998 * README: Don't refer to NOTES.
41999 * manual/creature.texi: Don't include macros.texi.
42000 * manual/intro.texi (creature.texi): Remove comment referring to
42003 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42004 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42005 * configure: Regenerated.
42006 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42007 LIBC_TRY_CC_OPTION.
42008 (libc_cv_as_i686): Likewise.
42009 (libc_cv_cc_avx): Likewise.
42010 (libc_cv_cc_sse2avx): Likewise.
42011 (libc_cv_cc_fma4): Likewise.
42012 (libc_cv_cc_novzeroupper): Likewise.
42013 * sysdeps/i386/configure: Regenerated.
42016 * sysdeps/i386/fpu/s_cexp.S: Remove.
42017 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42018 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42019 * math/libm-test.inc (cexp_test): Add more tests.
42020 * sysdeps/i386/fpu/libm-test-ulps: Update.
42021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42023 2012-03-21 Allan McRae <allan@archlinux.org>
42025 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42027 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42030 * math/w_exp2.c: Do not include <float.h>.
42031 (o_threshold, u_threshold): Remove.
42032 (__exp2): Calculate result before checking finiteness and calling
42034 * math/w_exp2f.c: Likewise.
42035 * math/w_exp2l.c: Likewise.
42036 * math/libm-test.inc (exp2_test): Require overflow exception for
42040 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42041 range of signed 64-bit integers before using fistpll. Remove
42042 checks for whether integers fit in mantissa bits.
42043 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42044 the range of signed 32-bit integers before using fistpl. Remove
42045 checks for whether integers fit in mantissa bits.
42046 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42047 (__ieee754_powl): Test for y outside the range of signed 64-bit
42048 integers before using fistpll. Reduce 64-bit values to 63-bit
42050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42051 divide-by-zero is raised for zero to large negative powers.
42052 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42053 (__ieee754_powl): Test for y outside the range of signed 64-bit
42054 integers before using fistpll. Reduce 64-bit values to 63-bit
42056 * math/libm-test.inc (pow_test): Add more tests.
42058 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42060 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42061 <stdio-common/_itoa.h>.
42062 * debug/segfault.c: Likewise.
42063 * elf/dl-cache.c: Likewise.
42064 * elf/dl-minimal.c: Likewise.
42065 * elf/dl-misc.c: Likewise.
42066 * elf/dl-sysdep.c: Likewise.
42067 * elf/dl-version.c: Likewise.
42068 * elf/rtld.c: Likewise.
42069 * hurd/hurdsock.c: Likewise.
42070 * hurd/lookup-retry.c: Likewise.
42071 * malloc/malloc.c: Likewise.
42072 * malloc/mtrace.c: Likewise.
42073 * nscd/nscd_getgr_r.c: Likewise.
42074 * nscd/nscd_getpw_r.c: Likewise.
42075 * nscd/nscd_getserv_r.c: Likewise.
42076 * posix/getopt_init.c: Likewise.
42077 * posix/wordexp.c: Likewise.
42078 * stdio-common/_itoa.c: Likewise.
42079 * stdio-common/printf_fphex.c: Likewise.
42080 * stdio-common/vfprintf.c: Likewise.
42081 * string/_strerror.c: Likewise.
42082 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42083 * sysdeps/i386/i686/hp-timing.h: Likewise.
42084 * sysdeps/mach/_strerror.c: Likewise.
42085 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42086 * sysdeps/mach/hurd/sethostid.c: Likewise.
42087 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42088 * sysdeps/mach/xpg-strerror.c: Likewise.
42089 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42090 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42091 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42092 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42093 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42094 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42095 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42096 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42097 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42098 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42099 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42100 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42101 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42102 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42103 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42104 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42105 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42106 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42107 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42108 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42109 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42111 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42113 * stdio-common/_itoa.h: Moved to ...
42114 * sysdeps/generic/_itoa.h: Here.
42116 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42118 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42119 instead of "_itoa.h" and "_itowa.h".
42120 * stdio-common/vfprintf.: Likewise.
42122 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42124 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42126 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42127 (__signbit): Likwise.
42128 (llrintf): Likwise.
42131 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42133 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42136 2012-03-20 Joseph Myers <joseph@codesourcery.com>
42138 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42139 OVERFLOW_EXCEPTION_OK.
42140 * math/libm-test.inc ("Philosophy"): Update comment about
42142 (OVERFLOW_EXCEPTION): Define.
42143 (OVERFLOW_EXCEPTION_OK): Likewise.
42144 (INVALID_EXCEPTION_OK): Renumber.
42145 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42146 (IGNORE_ZERO_INF_SIGN): Likewise.
42147 (test_exceptions): Handle FE_OVERFLOW.
42148 (exp10_test): Expect overflow exceptions.
42149 (exp2_test): Likewise.
42150 (expm1_test): Likewise.
42151 (nextafter_test): Likewise.
42152 (pow_test): Likewise.
42153 (scalbn_test): Likewise.
42154 (scalbln_test): Likewise.
42156 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42158 * sysdeps/x86_64/bits/atomic.h
42159 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42161 (atomic_exchange_acq): Likewise.
42162 (__arch_exchange_and_add_body): Likewise.
42163 (__arch_add_body): Likewise.
42164 (atomic_add_negative): Likewise.
42165 (atomic_add_zero): Likewise.
42167 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42169 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42170 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42172 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42174 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42175 Check __x86_64__ instead of __WORDSIZE.
42177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42179 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42181 2012-03-19 David S. Miller <davem@davemloft.net>
42183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42185 * sysdeps/sparc/fpu/fenv_private.h: New file.
42186 * sysdeps/sparc/fpu/math_private.h: Use it.
42187 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42189 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42190 (libc_feholdexcept_setroundl): Remove.
42191 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42193 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42194 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42196 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42198 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42199 int64_t instead of long int.
42200 (INSERT_WORDS64): Likwise.
42202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42204 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42205 _Unwind_GetCFA return to _Unwind_Ptr first.
42207 2012-03-19 Joseph Myers <joseph@codesourcery.com>
42210 * math/s_clog.c: Include <float.h>.
42211 (__clog): Scale large or subnormal inputs.
42212 * math/s_clogf.c: Likewise.
42213 * math/s_clogl.c: Likewise.
42214 * math/s_clog10.c: Include <float.h>.
42215 (M_LOG10_2): Define.
42216 (__clog10): Scale large or subnormal inputs.
42217 * math/s_clog10f.c: Likewise.
42218 * math/s_clog10l.c: Likewise.
42219 * math/libm-test.inc (clog_test): Add more tests.
42220 (clog10_test): Likewise.
42221 * sysdeps/i386/fpu/libm-test-ulps: Update.
42222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42225 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42227 * math/libm-test.inc (atan2_test): Add another test.
42229 * Makerules (common-objdir-compile): Remove.
42230 * sysdeps/unix/Makefile (config-generated): Do not add
42231 $(unix-generated) to variable.
42232 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42233 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42235 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42237 [generic bits/local_lim.h] (before-compile): Do not append to
42239 [generic bits/local_lim.h] (common-generated): Likewise.
42240 [generic sys/param.h] (before-compile): Do not append to variable.
42241 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42242 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42243 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42244 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42246 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42247 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42248 [generic sys/param.h] ($(addprefix
42249 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42250 [generic sys/param.h] (common-generated): Do not append to
42252 [generic sys/param.h] (sysdep_headers): Likewise.
42253 [generic bits/errno.h] (before-compile): Do not append to
42255 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42257 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42258 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42259 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42260 [generic bits/errno.h] (common-generated): Do not append to
42262 [generic bits/ioctls.h] (before-compile): Do not append to
42264 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42266 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42267 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42268 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42270 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42271 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42272 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42273 [generic bits/ioctls.h] (common-generated): Do not append to
42275 [generic sys/syscall.h] (syscall.h): Remove variable.
42276 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42278 [generic sys/syscall.h] (before-compile): Do not append to
42280 [generic sys/syscall.h] (common-generated): Likewise.
42281 * sysdeps/unix/errnos-tmpl.c: Remove file.
42282 * sysdeps/unix/errnos.awk: Likewise.
42283 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42284 * sysdeps/unix/ioctls.awk: Likewise.
42285 * sysdeps/unix/mk-local_lim.c: Likewise.
42286 * sysdeps/unix/snarf-ioctls: Likewise.
42288 2012-03-19 Richard Henderson <rth@twiddle.net>
42290 * sysdeps/i386/fpu/fenv_private.h: New file.
42291 * sysdeps/i386/fpu/math_private.h: Use it.
42292 (math_opt_barrier, math_force_eval): Remove.
42293 (libc_feholdexcept_setround_53bit): Remove.
42294 (libc_feupdateenv_53bit): Remove.
42295 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42296 (math_opt_barrier, math_force_eval): Remove.
42297 (libc_feholdexcept): Remove.
42298 (libc_feholdexcept_setround): Remove.
42299 (libc_fetestexcept, libc_fesetenv): Remove.
42300 (libc_feupdateenv_test): Remove.
42301 (libc_feupdateenv, libc_feholdsetround): Remove.
42302 (libc_feresetround): Remove.
42304 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42305 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42307 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42308 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42309 (libc_feupdateenv_testl): New.
42310 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42311 (libc_feupdateenv_testf): New.
42312 (libc_feupdateenv): Use libc_feupdateenv_test.
42313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42314 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42316 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42317 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42318 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42319 (libc_feresetround_noex): New.
42320 (libc_feresetround_noexf): New.
42321 (libc_feresetround_noexl): New.
42322 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42323 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42324 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42325 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42330 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42332 SET_RESTORE_ROUND_NOEX.
42333 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42334 SET_RESTORE_ROUND_NOEXF.
42335 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42336 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42337 (libc_feholdsetroundf): New.
42338 (libc_feresetround, libc_feresetroundf): New.
42340 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42341 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42342 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42344 * sysdeps/generic/math_private.h: Include <fenv.h>.
42345 (default_libc_feholdexcept): New.
42346 (default_libc_feholdexcept_setround): New.
42347 (default_libc_fesetenv, default_libc_feupdateenv): New.
42348 (libc_feholdexcept): Only define if undefined.
42349 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42350 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42351 (libc_feholdexcept_setroundl): Likewise.
42352 (libc_feholdexcept_setround_53bit): Likewise.
42353 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42354 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42355 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42356 (libc_feupdateenv_53bit): Likewise.
42357 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42358 (libc_feholdexcept): Convert from macro to inline function.
42359 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42360 (libc_fesetenv, libc_feupdateenv): Likewise.
42362 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42363 not previously defined.
42364 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42365 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42366 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42367 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42368 * sysdeps/ieee754/flt-32/math_private.h: New file.
42369 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42370 math_private.h below SET_FLOAT_WORD.
42371 (__isnan, __isinf_ns, __finite): Remove.
42372 (__isnanf, __isinf_nsf, __finitef): Remove.
42374 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42378 2012-03-17 David S. Miller <davem@davemloft.net>
42381 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42384 2012-03-16 David S. Miller <davem@davemloft.net>
42386 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42390 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42392 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42393 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42394 sysdep_routines when subdir is sysvipc.
42395 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42396 __getshmlba helper.
42398 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42400 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42402 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42405 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42407 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42408 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42409 (__lround): Renamed to ...
42410 (__llround): This. Replace long int with long long int.
42411 Define lround functions as aliases of llround functions.
42412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42414 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42416 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42417 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42418 adresses to uintptr_t. Replace "long int" and "unsigned long
42419 int" with "greg_t" on va_arg.
42421 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42423 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42424 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42426 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42427 Move e_machine check before EI_CLASS check. Handle x32
42428 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42429 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42430 SKIP_EM_IA_64 and include
42431 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42433 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42434 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42435 (add_system_dir): New macro.
42437 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42438 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42440 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42451 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42453 * math/w_j0f.c (j0f): Likewise.
42455 * math/w_j0l.c (__j0l): Likewise.
42457 * math/w_j1.c (j1): Likewise.
42459 * math/w_j1f.c (j1f): Likewise.
42461 * math/w_j1l.c (__j1l): Likewise.
42463 * math/w_jn.c (jn): Likewise.
42465 * math/w_jnf.c (jnf): Likewise.
42467 * math/w_jnl.c (__jnl): Likewise.
42469 * math/libm-test.inc (j0_test): Add more tests.
42470 (j1_test): Likewise.
42471 (jn_test): Likewise. Add trailing semicolon to existing test.
42472 (y0_test): Likewise.
42473 (y1_test): Likewise.
42474 * sysdeps/i386/fpu/libm-test-ulps: Update.
42475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42479 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42480 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42481 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42482 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42483 (__tanl): Set errno for infinite argument.
42484 * sysdeps/i386/fpu/mptan.c: Remove.
42485 * sysdeps/i386/fpu/s_tan.S: Likewise.
42486 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42487 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42488 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42489 * math/libm-test.inc (tan_test): Add more tests and enable more
42490 tests for double and long double.
42491 * sysdeps/i386/fpu/libm-test-ulps: Update.
42492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42494 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42496 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42497 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42499 2012-03-16 Roland McGrath <roland@hack.frob.com>
42501 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42502 * configure.in: Use it for both main tree and add-ons.
42503 * configure: Regenerated.
42505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42507 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42509 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42511 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42515 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42516 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42517 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42519 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42521 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42523 != 0 for prec == 2.
42524 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42525 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42526 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42527 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42528 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42529 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42530 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42531 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42532 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42533 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42534 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42535 * math/libm-test.inc (cos_test): Add more tests and enable more
42536 tests for long double.
42537 (sin_test): Likewise.
42538 (sincos_test): Likewise.
42539 * sysdeps/i386/fpu/libm-test-ulps: Update.
42540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42542 2012-03-16 David S. Miller <davem@davemloft.net>
42544 * sysdeps/sparc/fpu/math_private.h: New file.
42546 2012-03-15 David S. Miller <davem@davemloft.net>
42548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42562 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42563 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42565 * sysdeps/sparc/sparc-ifunc.h: New file.
42566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42611 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42613 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42617 2012-03-15 Andreas Jaeger <aj@suse.de>
42620 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42621 ieee754/flt-32 implementation for sin, cos and sincos.
42622 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42623 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42624 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42625 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42626 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42627 ieee754/flt-32 implementation for tan.
42629 * math/libm-test.inc (cos_test): Enable some large input tests for
42631 (sin_test): Likewise.
42632 (sincos_test): Likewise.
42633 (tan_test): Add tests for large input.
42635 * sysdeps/i386/fpu/libm-test-ulps: Update.
42637 2012-03-15 Andreas Jaeger <aj@suse.de>
42640 * math/libm-test.inc (cos_test): Add more test cases.
42641 (sin_test): Likewise.
42642 (sincos_test): Likewise.
42644 2012-03-15 Andreas Jaeger <aj@suse.de>
42647 * math/libm-test.inc (cos_test): Add a test case for large input
42649 (sin_test): Likewise.
42650 (sincos_test): Likewise.
42652 2012-03-15 Andreas Jaeger <aj@suse.de>
42653 Joseph Myers <joseph@codesourcery.com>
42656 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42657 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42658 * sysdeps/i386/fpu/branred.c: Likewise.
42659 * sysdeps/i386/fpu/dosincos.c: Likewise.
42660 * sysdeps/i386/fpu/mpa.c: Likewise.
42661 * sysdeps/i386/fpu/s_cos.S: Likewise.
42662 * sysdeps/i386/fpu/s_sin.S: Likewise.
42663 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42664 * sysdeps/i386/fpu/sincos32.c: Likewise.
42666 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42668 (libc_feupdateenv_53bit): Define.
42669 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42671 (libc_feupdateenv_53bit): Define.
42673 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42674 53 bit (without extend i386 double precision).
42676 * math/libm-test.inc (sincos_test): Add tests for large input.
42680 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42682 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42686 2012-03-15 David S. Miller <davem@davemloft.net>
42688 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42689 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42690 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42691 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42716 fmin/fmax sysdep routines.
42717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42719 2012-03-14 David S. Miller <davem@davemloft.net>
42721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42728 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42741 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42793 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42798 * sysdeps/sparc/configure.in: New file.
42799 * sysdeps/sparc/configure: Generate.
42800 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42801 * configure: Regenerate.
42802 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42803 * config.make.in (have-as-vis3): New.
42804 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42805 available use -Av9d instead of -Av9a.
42806 * sysdeps/sparc/sparc64/Makefile: Likewise.
42807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42822 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42823 fzeros/fnegs to load 0x80000000 into a float register instead of
42825 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42827 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42831 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42832 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42833 ($(inst_includedir)/bits/syscall.h): Remove rule.
42834 ($(objpfx)bits/syscall.d): Include instead of
42835 $(objpfx)syscall-list.d.
42836 (generated): Change syscall-list.h and syscall-list.d to
42837 bits/syscall.h and bits/syscall.d.
42839 2012-03-14 Roland McGrath <roland@hack.frob.com>
42842 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42844 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42847 * math/s_csqrt.c: Include <float.h>.
42848 (__csqrt): Scale large or subnormal inputs.
42849 * math/s_csqrtf.c: Likewise.
42850 * math/s_csqrtl.c: Likewise.
42851 * math/libm-test.inc (csqrt_test): Add more tests.
42852 * sysdeps/i386/fpu/libm-test-ulps: Update.
42853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42856 * math/libm-test.inc (hypot_test): Add more tests.
42858 2012-03-13 David S. Miller <davem@davemloft.net>
42861 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42862 double-precision for the calculation instead of scaling.
42864 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42866 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42867 manipulate bits before adding and subtracting TWO52[sx].
42868 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42873 2012-03-13 David S. Miller <davem@davemloft.net>
42875 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42876 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42878 rtld-global-offsets.h
42879 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42881 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42884 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42886 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42887 'err' in the ifdef scope in which it is actually used.
42889 * nss/nss_db/db-init.c: Include string.h
42891 2012-03-12 David S. Miller <davem@davemloft.net>
42893 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42894 masking out of the most significant byte of random value used.
42895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42896 Fix coding style in previous change.
42898 * sysdeps/unix/sysv/linux/kernel-features.h
42899 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42900 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42902 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42905 2012-03-11 David S. Miller <davem@davemloft.net>
42907 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42908 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42909 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42910 for 'resultvar' otherwise things get truncated on 64-bit.
42912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42913 Fix masking out of the most significant byte of random value used.
42915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42917 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42921 2012-03-09 David S. Miller <davem@davemloft.net>
42923 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42924 variables with appropriate CPP guards.
42925 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42926 from the frame pointer, not the stack pointer. Correct layout
42927 comments. Fix test on resulting framesize and the management of
42928 the outregs buffer for pltexit. Preserve floating point return
42929 values across _dl_call_pltexit call.
42930 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42931 framesize and the management of the outregs buffer for pltexit.
42932 Preserve floating point return values across _dl_call_pltexit
42934 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42935 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42936 (la_sparc64_gnu_pltexit): New functions.
42937 (print_exit): Fix format string for return register value.
42939 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42941 * sunrpc/Makefile (others): Add rpcgen.
42942 ($(objpfx)rpcgen): Remove special build rule and dependency on
42944 * sunrpc/rpcgen.c: New file.
42946 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42949 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42950 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42951 * sysdeps/i386/crti.S: Likewise.
42952 * sysdeps/i386/crtn.S: Likewise.
42953 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42954 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42955 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42956 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42957 * sysdeps/sh/crti.S: Likewise.
42958 * sysdeps/sh/crtn.S: Likewise.
42959 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42962 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42964 * locale/programs/locfile-kw.gperf: Likewise.
42965 * locale/programs/charmap-kw.h: Regenerated.
42966 * locale/programs/locfile-kw.h: Likewise.
42969 * intl/plural.y: Replace FSF snail mail address with URL.
42970 * intl/plural.c: Regenerated.
42972 2012-03-09 Richard Henderson <rth@twiddle.net>
42974 * include/math_private.h: Remove file.
42975 * math/math_private.h: Move file ...
42976 * sysdeps/generic/math_private.h: ... here.
42978 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42979 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42980 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42982 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42983 and <math_private.h>.
42984 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42985 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42986 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42987 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42988 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42989 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42992 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42993 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42995 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42996 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42997 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42998 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43000 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43001 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43002 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43003 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43004 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43005 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43006 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43023 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43028 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43029 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43030 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43031 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43032 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43033 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43034 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43035 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43036 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43037 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43038 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43039 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43040 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43041 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43042 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43043 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43044 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43045 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43047 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43050 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43051 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43052 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43054 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43055 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43056 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43057 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43058 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43062 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43064 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43065 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43066 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43068 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43071 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43072 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43073 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43074 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43075 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43076 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43077 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43078 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43079 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43080 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43081 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43082 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43083 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43084 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43085 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43086 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43087 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43088 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43089 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43090 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43091 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43092 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43093 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43094 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43095 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43096 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43097 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43098 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43099 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43100 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43101 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43102 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43103 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43104 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43105 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43106 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43107 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43108 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43109 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43110 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43111 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43112 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43113 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43114 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43115 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43116 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43117 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43118 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43119 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43120 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43121 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43122 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43123 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43124 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43125 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43126 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43127 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43128 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43129 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43130 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43131 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43132 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43133 * sysdeps/ieee754/k_standard.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43138 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43142 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43144 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43146 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43147 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43148 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43151 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43159 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43161 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43164 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43165 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43167 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43169 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43171 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43173 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43174 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43175 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43176 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43177 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43178 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43181 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43183 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43184 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43185 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43186 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43187 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43191 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43193 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43197 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43200 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43201 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43203 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43207 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43211 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43225 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43227 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43228 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43230 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43231 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43232 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43233 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43239 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43241 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43243 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43244 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43246 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43248 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43249 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43251 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43253 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43254 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43256 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43260 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43261 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43264 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43265 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43266 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43267 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43274 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43278 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43280 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43282 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43283 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43284 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43287 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43290 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43292 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43294 * sysdeps/ieee754/s_lib_version.c: Likewise.
43295 * sysdeps/ieee754/s_matherr.c: Likewise.
43296 * sysdeps/ieee754/s_signgam.c: Likewise.
43297 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43298 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43299 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43300 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43301 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43302 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43303 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43304 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43305 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43306 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43307 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43308 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43309 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43310 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43311 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43312 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43313 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43314 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43315 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43319 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43321 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43322 * sunrpc/rpc_main.c: Likewise.
43323 * sunrpc/rpc_svcout.c: Likewise.
43325 2012-03-09 David S. Miller <davem@davemloft.net>
43327 * include/math_private.h: New file.
43329 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43331 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43332 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43333 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43334 from <bits/socket_type.h>.
43335 (enum __socket_type): Don't define here.
43336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43338 bits/socket_type.h.
43341 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43342 checking __USE_GNU.
43344 * Makerules ($(inst_includedir)/%.h): New rule.
43345 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43346 (install-others): Remove variable setting.
43347 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43349 2012-03-08 Richard Henderson <rth@twiddle.net>
43351 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43352 from macro to inline function; merge with the
43353 !__LIBC_INTERNAL_MATH_INLINES version.
43354 (__ieee754_sqrtf): Likewise.
43356 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43357 to inline function.
43358 (__rintf, __floor, __floorf): Likewise.
43360 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43361 macro to inline function.
43362 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43364 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43365 not <math/math_private.h>.
43367 2012-03-08 David S. Miller <davem@davemloft.net>
43369 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43371 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43373 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43375 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43377 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43378 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43380 2012-03-08 Ulrich Drepper <drepper@gmail.com>
43382 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43383 be defined individually, they must be defined as a block. Define
43384 S for printing a string instead of hidint the different by using a
43385 macro for adding the 'l'.
43386 * stdio-common/tst-fphex-wide.c: Adjust.
43388 2012-03-07 Marek Polacek <polacek@redhat.com>
43390 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43392 2012-03-08 Marek Polacek <polacek@redhat.com>
43395 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43396 * stdio-common/tst-fphex.c: Define a few macros to make the
43397 test reusable. Use them.
43398 * stdio-common/tst-fphex-wide.c: New file.
43400 2012-03-08 Joseph Myers <joseph@codesourcery.com>
43403 * manual/macros.texi (gnusystems): New macro.
43404 (nongnusystems): Likewise.
43405 (gnulinuxhurdsystems): Likewise.
43406 (gnuhurdsystems): Likewise..
43407 (gnulinuxsystems): Likewise.
43408 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43409 variants of the GNU system, not "GNU system".
43410 * manual/conf.texi: Likewise.
43411 * manual/errno.texi: Likewise. Update example of errno macro
43413 * manual/filesys.texi: Likewise.
43414 (getumask): Document as specific to GNU/Hurd.
43415 * manual/install.texi: Likewise. Reword some references to
43417 * manual/intro.texi: Likewise.
43418 * manual/io.texi: Likewise.
43419 (File Name Portability): Detail which constraints are inapplicable
43420 to all GNU systems and which are only inapplicable to GNU/Hurd.
43421 * manual/job.texi: Likewise.
43422 * manual/llio.texi: Likewise.
43423 (O_NOCTTY): Document as present on GNU/Linux.
43424 * manual/maint.texi: Likewise.
43425 * manual/memory.texi: Likewise.
43426 * manual/pattern.texi: Likewise.
43427 * manual/pipe.texi: Likewise.
43428 * manual/process.texi: Likewise.
43429 * manual/resource.texi: Likewise.
43430 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43432 * manual/setjmp.texi: Likewise.
43433 * manual/signal.texi: Likewise.
43434 * manual/startup.texi: Likewise.
43435 * manual/stdio.texi: Likewise.
43436 * manual/terminal.texi: Likewise.
43437 (ONLCR): Document as POSIX.
43438 (OXTABS): Document availability on GNU/Linux as XTABS.
43439 (ONOEOT): Document availability separately from other bits.
43440 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43441 * manual/time.texi: Likewise.
43442 * manual/users.texi: Likewise.
43443 * INSTALL: Regenerated.
43444 * sysdeps/gnu/errlist.c: Regenerated.
43446 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43447 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43448 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43450 * configure: Regenerated.
43452 2012-03-07 Joseph Myers <joseph@codesourcery.com>
43454 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43455 default includes instead of AC_HEADER_CHECK.
43456 * sysdeps/i386/configure: Regenerated.
43459 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43460 * math/s_cacoshf.c (__cacoshf): Likewise.
43461 * math/s_cacoshl.c (__cacoshl): Likewise.
43462 * math/s_casinh.c (__casinh): Set signs of result from argument.
43463 * math/s_casinhf.c (__casinhf): Likewise.
43464 * math/s_casinhl.c (__casinhl): Likewise.
43465 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43466 (casinh_test): Add more tests.
43467 * sysdeps/i386/fpu/libm-test-ulps: Update.
43468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43470 2012-03-07 Ulrich Drepper <drepper@gmail.com>
43472 * po/zh_TW.po: Update from translation team.
43474 * login/Makefile (distribute): Remove variable.
43475 * catgets/Makefile: Likewise.
43476 * mach/Makefile: Likewise.
43477 * malloc/Makefile: Likewise.
43478 * misc/Makefile: Likewise.
43479 * iconv/Makefile: Likewise.
43480 * nscd/Makefile: Likewise.
43481 * hurd/Makefile: Likewise.
43482 * manual/Makefile: Likewise.
43483 * locale/Makefile: Likewise.
43484 * intl/Makefile: Likewise.
43485 * conform/Makefile: Likewise.
43486 * nss/Makefile: Likewise.
43487 * time/Makefile: Likewise.
43488 * soft-fp/Makefile: Likewise.
43489 * dirent/Makefile: Likewise.
43490 * gmon/Makefile: Likewise.
43491 * po/Makefile: Likewise.
43492 * rt/Makefile: Likewise.
43493 * socket/Makefile: Likewise.
43494 * math/Makefile: Likewise.
43495 * signal/Makefile: Likewise.
43496 * debug/Makefile: Likewise.
43497 * elf/Makefile: Likewise.
43498 * timezone/Makefile: Likewise.
43499 * stdlib/Makefile: Likewise.
43500 * iconvdata/Makefile: Likewise.
43501 * sunrpc/Makefile: Likewise.
43502 * io/Makefile: Likewise.
43503 * argp/Makefile: Likewise.
43504 * inet/Makefile: Likewise.
43505 * hesiod/Makefile: Likewise.
43506 * grp/Makefile: Likewise.
43507 * csu/Makefile: Likewise.
43508 * wctype/Makefile: Likewise.
43509 * crypt/Makefile: Likewise.
43510 * libio/Makefile: Likewise.
43511 * string/Makefile: Likewise.
43512 * nis/Makefile: Likewise.
43513 * resolv/Makefile: Likewise.
43514 * stdio-common/Makefile: Likewise.
43515 * wcsmbs/Makefile: Likewise.
43516 * dlfcn/Makefile: Likewise.
43517 * posix/Makefile: Likewise.
43520 * timezone/Makefile: Don't install timezone files, just the programs
43523 2012-03-06 Ulrich Drepper <drepper@gmail.com>
43525 * nss/databases.def: Add missing gshadow entry.
43527 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43529 2012-03-06 Marek Polacek <polacek@redhat.com>
43532 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43533 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43534 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43535 * stdio-common/tst-long-dbl-fphex.c: New file.
43537 2012-03-06 David S. Miller <davem@davemloft.net>
43539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43540 (set_obp_int): New function.
43541 (get_obp_int): New function.
43542 (__get_clockfreq_via_dev_openprom): Likewise.
43543 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43544 Avoid unused variable warnings on 'val' and use builtin_expect.
43545 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43547 (INLINE_CLONE_SYSCALL): Likewise.
43549 2012-03-05 David S. Miller <davem@davemloft.net>
43551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43553 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43557 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43558 only for |x| >= 40.
43559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43561 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
43563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43564 Replace gettimeofday with __vdso_gettimeofday.
43566 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43567 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43568 __vdso_clock_gettime and __vdso_getcpu.
43570 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43571 time with __vdso_time.
43573 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43575 * manual/lang.texi (size_t): Note types to which size_t may be
43576 equivalent with the GNU C Library, but do not describe when
43577 differences between them are significant.
43579 2012-03-05 Andreas Jaeger <aj@suse.de>
43581 * sysdeps/i386/fpu/libm-test-ulps: Update.
43583 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43586 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43587 (__ieee754_pow): Save and restore rounding mode and use
43588 round-to-nearest for main computations.
43589 * math/libm-test.inc (pow_test_tonearest): New function.
43590 (pow_test_towardzero): Likewise.
43591 (pow_test_downward): Likewise.
43592 (pow_test_upward): Likewise.
43593 (main): Call the new functions.
43594 * sysdeps/i386/fpu/libm-test-ulps: Update.
43595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43598 * math/libm-test.inc (cosh_test_tonearest): New function.
43599 (cosh_test_towardzero): Likewise.
43600 (cosh_test_downward): Likewise.
43601 (cosh_test_upward): Likewise.
43602 (sinh_test_tonearest): Likewise.
43603 (sinh_test_towardzero): Likewise.
43604 (sinh_test_downward): Likewise.
43605 (sinh_test_upward): Likewise.
43606 (main): Call the new functions.
43607 * sysdeps/i386/fpu/libm-test-ulps: Update.
43608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43610 2012-03-05 Tom de Vries <tom@codesourcery.com>
43612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43613 default stack guard is set in last bytes.
43614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43616 2012-03-05 Kees Cook <keescook@chromium.org>
43618 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43621 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43622 possibly allocate from heap instead of stack.
43623 * stdio-common/bug-vfprintf-nargs.c: New file.
43624 * stdio-common/Makefile (tests): Add nargs overflow test.
43626 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43630 2012-03-03 Marek Polacek <polacek@redhat.com>
43632 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43633 * math/math_private.h: Likewise.
43634 * stdlib/tst-strtod.c: Likewise.
43635 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43636 * sysdeps/x86_64/bits/atomic.h: Likewise.
43638 2012-03-02 David S. Miller <davem@davemloft.net>
43640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43644 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43645 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43646 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43647 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43649 2012-03-02 Roland McGrath <roland@hack.frob.com>
43652 * manual/examples/README: New file, says the example source files
43653 can be used under GPL>=2.
43654 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43655 line containing just "*/".
43656 * manual/examples/add.c: Add copyright header (GPL>=2).
43657 * manual/examples/argp-ex1.c: Likewise.
43658 * manual/examples/argp-ex2.c: Likewise.
43659 * manual/examples/argp-ex3.c: Likewise.
43660 * manual/examples/argp-ex4.c: Likewise.
43661 * manual/examples/atexit.c: Likewise.
43662 * manual/examples/db.c: Likewise.
43663 * manual/examples/dir.c: Likewise.
43664 * manual/examples/dir2.c: Likewise.
43665 * manual/examples/execinfo.c: Likewise.
43666 * manual/examples/filecli.c: Likewise.
43667 * manual/examples/filesrv.c: Likewise.
43668 * manual/examples/fmtmsgexpl.c: Likewise.
43669 * manual/examples/genpass.c: Likewise.
43670 * manual/examples/inetcli.c: Likewise.
43671 * manual/examples/inetsrv.c: Likewise.
43672 * manual/examples/isockad.c: Likewise.
43673 * manual/examples/longopt.c: Likewise.
43674 * manual/examples/memopen.c: Likewise.
43675 * manual/examples/memstrm.c: Likewise.
43676 * manual/examples/mkfsock.c: Likewise.
43677 * manual/examples/mkisock.c: Likewise.
43678 * manual/examples/mygetpass.c: Likewise.
43679 * manual/examples/pipe.c: Likewise.
43680 * manual/examples/popen.c: Likewise.
43681 * manual/examples/rprintf.c: Likewise.
43682 * manual/examples/search.c: Likewise.
43683 * manual/examples/select.c: Likewise.
43684 * manual/examples/setjmp.c: Likewise.
43685 * manual/examples/sigh1.c: Likewise.
43686 * manual/examples/sigusr.c: Likewise.
43687 * manual/examples/stpcpy.c: Likewise.
43688 * manual/examples/strdupa.c: Likewise.
43689 * manual/examples/strftim.c: Likewise.
43690 * manual/examples/strncat.c: Likewise.
43691 * manual/examples/subopt.c: Likewise.
43692 * manual/examples/swapcontext.c: Likewise.
43693 * manual/examples/termios.c: Likewise.
43694 * manual/examples/testopt.c: Likewise.
43695 * manual/examples/testpass.c: Likewise.
43696 * manual/examples/timeval_subtract.c: Likewise.
43699 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43701 * manual/timeval_subtract.c.texi: ... here, new file.
43703 2012-03-02 David S. Miller <davem@davemloft.net>
43705 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43707 2012-03-02 Joseph Myers <joseph@codesourcery.com>
43710 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43711 (__sin): Save and restore rounding mode and use round-to-nearest
43712 for all computations.
43713 (__cos): Save and restore rounding mode and use round-to-nearest
43714 for all computations.
43715 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43717 (tan): Save and restore rounding mode and use round-to-nearest for
43719 * math/libm-test.inc (cos_test_tonearest): New function.
43720 (cos_test_towardzero): Likewise.
43721 (cos_test_downward): Likewise.
43722 (cos_test_upward): Likewise.
43723 (sin_test_tonearest): Likewise.
43724 (sin_test_towardzero): Likewise.
43725 (sin_test_downward): Likewise.
43726 (sin_test_upward): Likewise.
43727 (tan_test_tonearest): Likewise.
43728 (tan_test_towardzero): Likewise.
43729 (tan_test_downward): Likewise.
43730 (tan_test_upward): Likewise.
43731 (main): Call the new functions.
43732 * sysdeps/i386/fpu/libm-test-ulps: Update.
43733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43736 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43737 small n, then large n, before computing and testing k+n.
43738 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43739 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43743 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43744 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43749 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43750 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43751 * math/libm-test.inc (scalbn_test): Add more tests.
43752 (scalbln_test): Likewise.
43754 * manual/filesys.texi (mode_t): Describe constraints on size and
43755 signedness, not exact equivalence to a particular type.
43757 (ino64_t): Likewise.
43759 (nlink_t): Likewise.
43760 (blkcnt_t): Likewise.
43761 (blkcnt64_t): Likewise.
43762 * manual/llio.texi (off_t): Likewise.
43765 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43766 (__ieee754_exp): Save and restore rounding mode and use
43767 round-to-nearest for all computations.
43768 * math/libm-test.inc (exp_test_tonearest): New function.
43769 (exp_test_towardzero): Likewise.
43770 (exp_test_downward): Likewise.
43771 (exp_test_upward): Likewise.
43772 (main): Call the new functions.
43773 * sysdeps/i386/fpu/libm-test-ulps: Update.
43774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43776 2012-03-01 Chris Demetriou <cgd@google.com>
43778 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43779 have predictable order.
43781 2012-03-01 David S. Miller <davem@davemloft.net>
43783 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43785 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43786 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43787 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43788 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43790 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43791 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43792 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43794 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43795 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43796 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43797 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43798 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43802 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43803 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43804 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43806 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43807 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43808 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43809 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43810 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43812 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43813 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43814 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43815 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43816 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43819 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43820 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43822 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43823 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43824 * sysdeps/sparc/elf/configure: Regenerated.
43826 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43828 * configure.in (AS, LD): Require binutils 2.20 or later.
43829 * configure: Regenerated.
43830 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43831 as required minimum version.
43832 * INSTALL: Regenerated.
43836 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43837 before squaring exponent.
43838 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43839 bottom long double and 27 bits of top long double before squaring
43841 * math/libm-test.inc (erfc_test): Add more tests.
43842 * sysdeps/i386/fpu/libm-test-ulps: Update.
43843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43846 2012-03-01 Kai Tietz <ktietz@redhat.com>
43848 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43849 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43850 containing bit-fields.
43851 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43852 * soft-fp/single.h (_FP_UNION_S): Likewise.
43853 * soft-fp/double.h (_FP_UNION_D): Likewise.
43855 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43858 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43859 not include ../strcmp.S.
43860 [USE_AS_STRNCASECMP_L]: Likewise.
43861 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43862 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43863 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43864 (__strncasecmp_l_ia32): Define as alias to
43865 __strncasecmp_l_nonascii.
43868 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43869 * sysdeps/i386/fpu/libm-test-ulps: Update.
43870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43872 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43875 2012-02-29 Jeff Law <law@redhat.com>
43877 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43878 out of bounds read.
43880 2012-02-29 Marek Polacek <polacek@redhat.com>
43883 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43884 * elf/Makefile: Add rules to run tst-unused-dep.out.
43886 2012-02-28 David S. Miller <davem@davemloft.net>
43888 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43889 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43891 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43892 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43893 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43895 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43897 * math/libm-test.inc (llround_test): Move one test from
43898 lround_test. Use TEST_f_L in moved test.
43899 (lround_test): Move misplaced test to llround_test. Add testcase
43902 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43904 * sysdeps/x86_64/fpu/e_expf.S: New file.
43905 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43907 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43910 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43911 of remain_len that may cause incomplete multi-byte character and
43913 * posix/bug-regex33.c: New file.
43914 * posix/Makefile (tests): Add bug-regex33.
43916 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43918 * manual/macros.texi: New file.
43919 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43920 * manual/libc.texinfo: Include macros.texi.
43921 * manual/creatute.texi: Likewise.
43922 * manual/install.texi: Likewise.
43923 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43924 @glibcadj{} in references to the GNU C Library.
43925 * manual/charset.texi: Likewise.
43926 * manual/conf.texi: Likewise.
43927 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43928 when not using those macros.
43929 * manual/creature.texi: Likewise.
43930 * manual/crypt.texi: Likewise.
43931 * manual/errno.texi: Likewise.
43932 * manual/filesys.texi: Likewise.
43933 * manual/header.texi: Likewise.
43934 * manual/install.texi: Likewise.
43935 * manual/intro.texi: Likewise.
43936 * manual/io.texi: Likewise.
43937 * manual/job.texi: Likewise.
43938 * manual/lang.texi: Likewise.
43939 * manual/libc.texiinfo: Likewise.
43940 * manual/llio.texi: Likewise.
43941 * manual/locale.texi: Likewise.
43942 * manual/maint.texi: Likewise.
43943 * manual/math.texi: Likewise.
43944 * manual/memory.texi: Likewise.
43945 * manual/message.texi: Likewise.
43946 * manual/nss.texi: Likewise.
43947 * manual/pattern.texi: Likewise.
43948 * manual/process.texi: Likewise.
43949 * manual/resource.texi: Likewise.
43950 * manual/search.texi: Likewise.
43951 * manual/setjmp.texi: Likewise.
43952 * manual/signal.texi: Likewise.
43953 * manual/socket.texi: Likewise.
43954 * manual/startup.texi: Likewise.
43955 * manual/stdio.texi: Likewise.
43956 * manual/string.texi: Likewise.
43957 * manual/sysinfo.texi: Likewise.
43958 * manual/syslog.texi: Likewise.
43959 * manual/terminal.texi: Likewise.
43960 * manual/time.texi: Likewise.
43961 * manual/users.texi: Likewise.
43962 * INSTALL: Regenerated.
43963 * NOTES: Regenerated.
43964 * sysdeps/gnu/errlist.c: Regenerated.
43966 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43968 * include/dirent.h: Include <dirstream.h> before
43971 2012-02-28 David S. Miller <davem@davemloft.net>
43973 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43974 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43975 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43976 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43978 2012-02-27 David S. Miller <davem@davemloft.net>
43980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43982 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43983 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43986 frame pointer instead of stack pointer relative arg slot.
43987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43991 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43994 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43996 2012-02-27 David S. Miller <davem@davemloft.net>
43998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44002 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44003 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44004 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44005 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44007 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44009 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44010 later. Allow versions 5-9.
44011 * configure: Regenerated.
44012 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44013 required minimum version and 4.6 as recommended version. Do not
44014 mention bugs in GCC 2.7 and 2.8.
44015 * INSTALL: Regenerated.
44017 2012-02-27 David S. Miller <davem@davemloft.net>
44019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44023 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44024 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44025 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44026 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44029 manipulate bits before adding and subtracting TWO112[sx].
44030 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44032 2012-02-27 Roland McGrath <roland@hack.frob.com>
44035 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44036 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44037 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44038 being in POSIX, because they are in 1003.1-2008.
44040 * rt/tst-aio.c: Include <fcntl.h>.
44041 * rt/tst-aio7.c: Likewise.
44042 * rt/tst-aio64.c: Likewise.
44044 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44046 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44048 * manual/install.texi (--with-headers): Describe headers as
44049 interface headers, not private headers.
44050 (Specific advice for GNU/Linux systems): Describe use of headers
44051 from "make headers_install", not private headers from older
44053 * INSTALL: Regenerated.
44054 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44056 * sysdeps/unix/sysv/linux/configure: Regenerated.
44058 * manual/llio.texi (fclean): Remove documentation.
44060 * manual/Makefile (libc-texi-generated): New variable. Include
44062 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44063 $(libc-texi-generated), not duplicated list of files.
44064 (version.texi, stamp-version): New rules.
44065 (realclean): Remove $(libc-texi-generated), not individual files
44066 from that list. Do not remove dir-add.texinfo.
44067 * manual/libc.texinfo: Comment out uses of edition numbers and
44068 references to printed manual. Remove last-updated dates.
44069 (EDITION): Comment out.
44071 (VERSION, UPDATED): Remove.
44072 (version.texi): Include.
44074 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44076 * sysdeps/posix/spawni.c: Include <signal.h>.
44077 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44078 * sysdeps/pthread/aio_fsync.c: Likewise.
44080 2012-02-26 Ulrich Drepper <drepper@gmail.com>
44082 * conform/Makefile (tests): Run only when not cross-compiling and
44083 when fast-check is not defined.
44085 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44086 * conform/data/limits.h-data: Fixes for POSIX2008.
44087 * conform/run-conformtest.sh: Run all tests.
44088 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44090 * include/bits/dlfcn.h: Likewise.
44091 * include/langinfo.h: Likewise.
44092 * include/monetary.h: Likewise.
44093 * include/sys/poll.h: Likewise.
44095 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44097 * posix/spawn.h: Define __need_sigset_t.
44098 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44099 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44100 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44101 to get sigevent_t only.
44102 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44103 only for __USE_GNU.
44104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44105 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44106 process_vm_writev only for __USE_GNU.
44107 * termios/termios.h: Declare tcgetsid also for POSIX2008.
44109 * conform/Makefile: For now ignore errors from run-conformtest.
44110 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44111 POSIX to avoid namespace pollution. Don't prepend headers.
44112 * conform/data/aio.h-data: Fixes for POSIX testing.
44113 * conform/data/fcntl.h-data: Likewise.
44114 * conform/data/glob.h-data: Likewise.
44115 * conform/data/grp.h-data: Likewise.
44116 * conform/data/pthread.h-data: Likewise.
44117 * conform/data/pwd.h-data: Likewise.
44118 * conform/data/signal.h-data: Likewise.
44119 * conform/data/spawn.h-data: Likewise.
44120 * conform/data/stdio.h-data: Likewise.
44121 * conform/data/stdlib.h-data: Likewise.
44122 * conform/data/stropts.h-data: Likewise.
44123 * conform/data/sys/mman.h-data: Likewise.
44124 * conform/data/sys/stat.h-data: Likewise.
44125 * conform/data/sys/types.h-data: Likewise.
44126 * conform/data/sys/wait.h-data: Likewise.
44127 * conform/data/time.h-data: Likewise.
44128 * conform/data/unistd.h-data: Likewise.
44129 * conform/data/utime.h-data: Likewise.
44131 * io/sys/stat.h: fchmod was always in POSIX.
44132 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44133 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44134 * rt/aio.h: Define __need_timespec before including <time.h>.
44135 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44136 struct. Add forward declaration of pthread_attr_t and use it in
44138 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44139 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44140 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44141 always remove CLK_TCK definition.
44143 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44145 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44147 2012-02-25 Ulrich Drepper <drepper@gmail.com>
44149 * conform/run-conformtest.sh: New file.
44150 * conform/Makefile: Run run-conformtest for tests.
44151 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44154 * conform/data/uchar.h-data: New file.
44155 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44156 * conform/data/arpa/inet.h-data: Likewise.
44157 * conform/data/assert.h-data: Likewise.
44158 * conform/data/complex.h-data: Likewise.
44159 * conform/data/cpio.h-data: Likewise.
44160 * conform/data/ctype.h-data: Likewise.
44161 * conform/data/dirent.h-data: Likewise.
44162 * conform/data/dlfcn.h-data: Likewise.
44163 * conform/data/errno.h-data: Likewise.
44164 * conform/data/fcntl.h-data: Likewise.
44165 * conform/data/float.h-data: Likewise.
44166 * conform/data/fmtmsg.h-data: Likewise.
44167 * conform/data/fnmatch.h-data: Likewise.
44168 * conform/data/ftw.h-data: Likewise.
44169 * conform/data/glob.h-data: Likewise.
44170 * conform/data/grp.h-data: Likewise.
44171 * conform/data/iconv.h-data: Likewise.
44172 * conform/data/inttypes.h-data: Likewise.
44173 * conform/data/langinfo.h-data: Likewise.
44174 * conform/data/libgen.h-data: Likewise.
44175 * conform/data/limits.h-data: Likewise.
44176 * conform/data/locale.h-data: Likewise.
44177 * conform/data/math.h-data: Likewise.
44178 * conform/data/monetary.h-data: Likewise.
44179 * conform/data/mqueue.h-data: Likewise.
44180 * conform/data/ndbm.h-data: Likewise.
44181 * conform/data/net/if.h-data: Likewise.
44182 * conform/data/netdb.h-data: Likewise.
44183 * conform/data/netinet/in.h-data: Likewise.
44184 * conform/data/nl_types.h-data: Likewise.
44185 * conform/data/poll.h-data: Likewise.
44186 * conform/data/pthread.h-data: Likewise.
44187 * conform/data/pwd.h-data: Likewise.
44188 * conform/data/regex.h-data: Likewise.
44189 * conform/data/sched.h-data: Likewise.
44190 * conform/data/search.h-data: Likewise.
44191 * conform/data/semaphore.h-data: Likewise.
44192 * conform/data/setjmp.h-data: Likewise.
44193 * conform/data/signal.h-data: Likewise.
44194 * conform/data/spawn.h-data: Likewise.
44195 * conform/data/stdarg.h-data: Likewise.
44196 * conform/data/stdio.h-data: Likewise.
44197 * conform/data/stdlib.h-data: Likewise.
44198 * conform/data/string.h-data: Likewise.
44199 * conform/data/strings.h-data: Likewise.
44200 * conform/data/stropts.h-data: Likewise.
44201 * conform/data/sys/ipc.h-data: Likewise.
44202 * conform/data/sys/mman.h-data: Likewise.
44203 * conform/data/sys/msg.h-data: Likewise.
44204 * conform/data/sys/resource.h-data: Likewise.
44205 * conform/data/sys/select.h-data: Likewise.
44206 * conform/data/sys/sem.h-data: Likewise.
44207 * conform/data/sys/shm.h-data: Likewise.
44208 * conform/data/sys/socket.h-data: Likewise.
44209 * conform/data/sys/stat.h-data: Likewise.
44210 * conform/data/sys/statvfs.h-data: Likewise.
44211 * conform/data/sys/time.h-data: Likewise.
44212 * conform/data/sys/timeb.h-data: Likewise.
44213 * conform/data/sys/times.h-data: Likewise.
44214 * conform/data/sys/types.h-data: Likewise.
44215 * conform/data/sys/uio.h-data: Likewise.
44216 * conform/data/sys/un.h-data: Likewise.
44217 * conform/data/sys/utsname.h-data: Likewise.
44218 * conform/data/sys/wait.h-data: Likewise.
44219 * conform/data/syslog.h-data: Likewise.
44220 * conform/data/tar.h-data: Likewise.
44221 * conform/data/termios.h-data: Likewise.
44222 * conform/data/utime.h-data: Likewise.
44223 * conform/data/utmpx.h-data: Likewise.
44224 * conform/data/varargs.h-data: Likewise.
44225 * conform/data/wchar.h-data: Likewise.
44226 * conform/data/wctype.h-data: Likewise.
44227 * conform/data/wordexp.h-data: Likewise.
44229 * include/stropts.h: New file.
44230 * include/uchar.h: New file.
44231 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44232 * include/assert.h: Likewise.
44233 * include/ctype.h: Likewise.
44234 * include/dirent.h: Likewise.
44235 * include/dlfcn.h: Likewise.
44236 * include/fcntl.h: Likewise.
44237 * include/fnmatch.h: Likewise.
44238 * include/glob.h: Likewise.
44239 * include/grp.h: Likewise.
44240 * include/libio.h: Likewise.
44241 * include/locale.h: Likewise.
44242 * include/math.h: Likewise.
44243 * include/net/if.h: Likewise.
44244 * include/netdb.h: Likewise.
44245 * include/netinet/in.h: Likewise.
44246 * include/pthread.h: Likewise.
44247 * include/pwd.h: Likewise.
44248 * include/regex.h: Likewise.
44249 * include/sched.h: Likewise.
44250 * include/search.h: Likewise.
44251 * include/setjmp.h: Likewise.
44252 * include/signal.h: Likewise.
44253 * include/stdio.h: Likewise.
44254 * include/stdlib.h: Likewise.
44255 * include/string.h: Likewise.
44256 * include/sys/cdefs.h: Likewise.
44257 * include/sys/mman.h: Likewise.
44258 * include/sys/msg.h: Likewise.
44259 * include/sys/resource.h: Likewise.
44260 * include/sys/select.h: Likewise.
44261 * include/sys/socket.h: Likewise.
44262 * include/sys/stat.h: Likewise.
44263 * include/sys/statvfs.h: Likewise.
44264 * include/sys/time.h: Likewise.
44265 * include/sys/times.h: Likewise.
44266 * include/sys/uio.h: Likewise.
44267 * include/sys/utsname.h: Likewise.
44268 * include/sys/wait.h: Likewise.
44269 * include/termios.h: Likewise.
44270 * include/time.h: Likewise.
44271 * include/ulimit.h: Likewise.
44272 * include/unistd.h: Likewise.
44273 * include/utime.h: Likewise.
44274 * include/wchar.h: Likewise.
44275 * include/wctype.h: Likewise.
44276 * include/wordexp.h: Likewise.
44278 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44280 * time/time.h: TIME_UTC must be a macro.
44281 Make timespec_get available for ISO C11 only as well.
44283 2012-02-24 Ulrich Drepper <drepper@gmail.com>
44285 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44286 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44288 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44290 * configure.in: Use -o not -a in test for unsupported multi-arch.
44292 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44294 * manual/texinfo.tex: Update to version 2012-01-19.16.
44296 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44298 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44300 2012-02-24 Roland McGrath <roland@hack.frob.com>
44303 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44304 * manual/fdl-1.3.texi: New file.
44305 * manual/fdl-1.1.texi: File removed.
44308 * manual/libc.texinfo (FDL_VERSION): New @set.
44309 Use it for mention of FDL in cover text.
44310 (Documentation License): Use it in @include file name.
44312 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44313 Roland McGrath <roland@hack.frob.com>
44316 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44317 (not LONG_LONG_MAX and LONG_LONG_MIN.
44318 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44319 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44321 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44327 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44328 manipulate bits before adding and subtracting TWO23[sx].
44329 * math/libm-test.inc (nearbyint_test): Add more tests.
44331 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44334 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44335 bits before adding and subtracting TWO23[sx].
44336 * math/libm-test.inc (rint_test): Add more tests.
44337 (rint_test_tonearest): Likewise.
44338 (rint_test_towardzero): Likewise.
44339 (rint_test_downward): Likewise.
44340 (rint_test_upward: Likewise.
44342 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44345 * include/stdc-predef.h: New file. Extracted from features.h.
44346 * include/features.h: Include stdc-predef.h.
44347 * Makefile (headers): Add stdc-predef.h.
44348 * CONFORMANCE (Compiler limitations): Update.
44350 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44352 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44354 2012-02-21 David S. Miller <davem@davemloft.net>
44356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44359 2012-02-20 David S. Miller <davem@davemloft.net>
44361 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44362 using a normal save/restore sequence, rather than allocating a
44363 dummy stack frame just to store a frame pointer and restore.
44364 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44366 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44368 * manual/install.texi: Fix stray word in line-wrapped comment.
44370 2012-02-20 David S. Miller <davem@davemloft.net>
44372 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44373 both binutils and gcc support GOTDATA.
44375 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44376 "rd %pc" in the PIC register setup sequences.
44378 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44379 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44380 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44381 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44382 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44384 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44387 (SYSCALL_ERROR_HANDLER): Likewise.
44388 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44389 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44391 (SYSCALL_ERROR_HANDLER): Likewise.
44393 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44394 (HAVE_GCC_GOTDATA): New.
44395 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44396 relocation support in both binutils and gcc.
44397 * sysdeps/sparc/elf/configure: Regenerate.
44399 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44400 * sysdeps/sparc/sparc32/elf/configure: Delete.
44401 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44402 * sysdeps/sparc/sparc64/elf/configure: Delete.
44403 * sysdeps/sparc/elf/configure.in: New file.
44404 * sysdeps/sparc/elf/configure: Generate.
44406 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44407 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44408 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44409 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44410 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44412 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44414 * manual/install.texi: Do not mention specific glibc version
44416 * manual/libc.texinfo (VERSION, UPDATED): Update.
44417 (@copying): Use @copyright{} and range of years.
44419 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44422 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44423 [crti.S not in sysdirs] (generated): Do not append.
44424 [crti.S not in sysdirs] (omit-deps): Likewise.
44425 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44426 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44427 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44428 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44429 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44431 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44432 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44433 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44434 * csu/defs.awk: Remove file.
44435 * sysdeps/generic/initfini.c: Likewise.
44436 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44438 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44441 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44443 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44444 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44445 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44446 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44447 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44448 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44450 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44451 (__EPOLL_PACKED): Define to empty if not defined by
44453 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44457 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44459 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44460 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44461 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44462 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44464 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44468 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44470 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44472 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44473 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44474 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44477 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44479 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44480 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44482 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44484 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44485 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44487 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44489 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44492 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44494 * math/w_acos.c: Use non-signaling floating-point comparisons.
44495 * math/w_acosf.c: Likewise.
44496 * math/w_acosh.c: Likewise.
44497 * math/w_acoshf.c: Likewise.
44498 * math/w_acoshl.c: Likewise.
44499 * math/w_acosl.c: Likewise.
44500 * math/w_asin.c: Likewise.
44501 * math/w_asinf.c: Likewise.
44502 * math/w_asinl.c: Likewise.
44503 * math/w_atanh.c: Likewise.
44504 * math/w_atanhf.c: Likewise.
44505 * math/w_atanhl.c: Likewise.
44506 * math/w_exp2.c: Likewise.
44507 * math/w_exp2f.c: Likewise.
44508 * math/w_exp2l.c: Likewise.
44509 * math/w_j0.c: Likewise.
44510 * math/w_j0f.c: Likewise.
44511 * math/w_j0l.c: Likewise.
44512 * math/w_j1.c: Likewise.
44513 * math/w_j1f.c: Likewise.
44514 * math/w_j1l.c: Likewise.
44515 * math/w_jn.c: Likewise.
44516 * math/w_jnf.c: Likewise.
44517 * math/w_log.c: Likewise.
44518 * math/w_log10.c: Likewise.
44519 * math/w_log10f.c: Likewise.
44520 * math/w_log10l.c: Likewise.
44521 * math/w_log2.c: Likewise.
44522 * math/w_log2f.c: Likewise.
44523 * math/w_log2l.c: Likewise.
44524 * math/w_logf.c: Likewise.
44525 * math/w_logl.c: Likewise.
44526 * math/w_sqrt.c: Likewise.
44527 * math/w_sqrtf.c: Likewise.
44528 * math/w_sqrtl.c: Likewise.
44529 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44530 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44531 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44532 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44533 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44535 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44538 * manual/string.texi (strnlen): Use correct parameter name in
44539 equivalent expression.
44541 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44544 * manual/users.texi (seteuid): Consistently use neweuid for
44547 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44550 * manual/nss.texi (Services in the NSS configuration): Correct
44551 list of services in example configuration file.
44553 2012-02-19 Nick Bowler <nbowler@draconx.ca>
44556 * manual/arith.texi: Remove statements about negative zero
44557 behaving identically to zero.
44559 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44562 * manual/install.texi: Do not document upgrading from libc5.
44564 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44567 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44569 2012-02-18 David S. Miller <davem@davemloft.net>
44571 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44572 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44573 %o7 across the call.
44574 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44577 SETUP_PIC_REG_LEAF.
44578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44579 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44580 * sysdeps/sparc/crtn.S: Likewise.
44582 2012-02-17 Ulrich Drepper <drepper@gmail.com>
44584 * aout/Makefile: Remove.
44586 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44589 * manual/examples/argp-ex1.c (main): Format definition in GNU
44591 * manual/examples/argp-ex2.c (main): Likewise.
44592 * manual/examples/argp-ex3.c (main): Likewise.
44593 * manual/examples/argp-ex4.c (main): Likewise.
44594 * manual/examples/longopt.c (main): Use new-style prototype
44596 * manual/examples/strncat.c (main): Specify return type and use
44597 (void) for arguments.
44598 * manual/examples/subopt.c (main): Use char **argv argument.
44600 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44603 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44606 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44609 * manual/string.texi (strchr): Change when strchrnul is
44612 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44615 * manual/locale.texi (setlocale): Document LOCPATH.
44617 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44620 * manual/process.texi (execle): Move @dots{} before last argument.
44622 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
44625 * manual/charset.texi (Generic Charset Conversion): Fix typo
44626 (LC_TYPE -> LC_CTYPE).
44628 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44631 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44632 (scalbnf): Likewise.
44633 (scalbnl): Likewise.
44634 (scalbln): Likewise.
44635 (scalblnf): Likewise.
44636 (scalblnl): Likewise.
44637 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44638 (vwarnx): Likewise.
44641 * manual/filesys.texi (telldir): Use braces around return type.
44642 * manual/llio.texi (mmap): Add space after comma.
44643 (mmap64): Likewise.
44644 * manual/math.texi (jn): Use @var{} on parameter names.
44650 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44652 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44654 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44655 (sched_get_priority_max): Likewise.
44656 * manual/signal.texi (sigvec): Add space after comma.
44657 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44659 (if_indextoname): Likewise.
44660 (if_freenameindex): Likewise.
44661 (sendto): Use ',' instead of '.' in prototype.
44662 * manual/startup.texi (syscall): Use @dots{} instead of literal
44664 * manual/stdio.texi (__fpending): Separate initial words of
44665 paragraph from @deftypefun line.
44666 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44668 (vsyslog): Use @var{} on parameter names.
44669 * manual/terminal.texi (stty): Use @var{} on parameter names.
44670 * manual/users.texi (getutmp): Use @var{} on parameter names.
44671 (getutmpx): Likewise.
44673 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44676 * manual/stdio.texi (fopen): Fix typos in description of
44679 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44682 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44683 get clock_id definition.
44685 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
44688 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44689 (madvise): Cast every argument to void on its own.
44691 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44694 * manual/startup.texi (Exit Status): Fix typo.
44696 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44699 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44700 * manual/examples/argp-ex2.c: Likewise.
44701 * manual/examples/argp-ex3.c: Likewise.
44703 2012-02-16 Richard Henderson <rth@redhat.com>
44705 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44706 * sysdeps/s390/s390-32/initfini.c: Remove.
44707 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44708 * sysdeps/s390/s390-64/initfini.c: Remove.
44710 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44712 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44713 compiler output for sysdeps/generic/initfini.c.
44714 * sysdeps/sh/elf/initfini.c: Remove file.
44716 2012-02-16 David S. Miller <davem@davemloft.net>
44719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44721 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44722 * sysdeps/sparc/crti.S: New file.
44723 * sysdeps/sparc/crtn.S: New file.
44724 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44725 * sysdeps/sparc/sparc64/Makefile: Likewise.
44727 2012-02-15 Mike Frysinger <vapier@gentoo.org>
44730 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44732 2012-02-15 Roland McGrath <roland@hack.frob.com>
44735 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44737 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44738 (write, read, close): Likewise.
44739 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44741 2012-02-15 Joseph Myers <joseph@codesourcery.com>
44743 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44744 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44745 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44746 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44748 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44752 2012-02-14 Marek Polacek <polacek@redhat.com>
44754 * sysdeps/x86_64/crti.S: New file.
44755 * sysdeps/x86_64/crtn.S: New file.
44756 * sysdeps/x86_64/elf/initfini.c: Remove file.
44758 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44760 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44761 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44762 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44763 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44765 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44769 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44771 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44772 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44773 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44774 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44776 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44780 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44782 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44783 __feraiseexcept instead of feraiseexcept.
44785 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44786 nanosleep invocations.
44787 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44788 strings, and add error checking for a nanosleep invocations.
44790 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44792 Replace FSF snail mail address with URLs, as per GNU coding standards.
44793 Most of the snail mail addresses were wrong anyway, and omitting
44794 them makes the source code easier to maintain. Almost all of the
44795 changes are to license notices and to locale LC_IDENTIFICATION
44796 addresses, except for this one:
44797 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44798 not its snail mail address.
44800 2012-02-09 Richard Henderson <rth@twiddle.net>
44802 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44803 of kernel-features.h.
44805 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44807 2012-02-08 Marek Polacek <polacek@redhat.com>
44809 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44810 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44811 * sysdeps/gnu/_G_config.h: Likewise.
44812 * sysdeps/generic/_G_config.h: Likewise.
44814 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44816 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44820 * sysdeps/powerpc/powerpc32/crti.S: New file.
44821 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44822 * sysdeps/powerpc/powerpc64/crti.S: New file.
44823 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44825 * Makeconfig (have-initfini): Don't set.
44826 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44827 * configure.in (nopic_initfini): Don't substitute.
44828 * config.h.in (HAVE_INITFINI): Don't #undef.
44829 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44830 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44832 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44834 Support crti.S and crtn.S provided directly by architectures.
44835 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44836 [crti.S in sysdirs] (omit-deps): Likewise.
44837 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44838 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44839 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44840 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44841 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44842 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44843 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44844 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44845 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44846 compiler output for sysdeps/generic/initfini.c.
44847 * sysdeps/i386/elf/Makefile: Remove file.
44848 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44850 2012-02-07 Marek Polacek <polacek@redhat.com>
44852 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44853 * sysdeps/gnu/_G_config.h: Likewise.
44854 * sysdeps/mach/hurd/_G_config.h: Likewise.
44856 2012-02-07 Marek Polacek <polacek@redhat.com>
44858 * math/Makefile (tests): Add tst-CMPLX2.
44859 * math/tst-CMPLX2.c: New file.
44861 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44863 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44865 * math/libm-test.inc (jn_test): Add missing L suffix.
44867 2012-02-06 Marek Polacek <polacek@redhat.com>
44869 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44870 * sysdeps/i386/fpu/e_powf.S: Likewise.
44871 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44872 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44873 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44874 * sysdeps/i386/fpu/e_pow.S: Likewise.
44875 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44876 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44877 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44878 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44879 * sysdeps/i386/fpu/e_log2.S: Likewise.
44880 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44881 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44882 * sysdeps/i386/fpu/e_powl.S: Likewise.
44883 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44884 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44885 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44886 * sysdeps/i386/fpu/e_logl.S: Likewise.
44887 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44888 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44889 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44890 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44892 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44893 * sysdeps/i386/fpu/e_log.S: Likewise.
44894 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44895 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44896 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44897 * sysdeps/i386/fpu/e_logf.S: Likewise.
44898 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44899 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44900 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44901 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44902 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44903 * sysdeps/i386/fpu/e_log10.S: Likewise.
44904 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44905 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44906 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44907 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44908 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44909 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44910 * sysdeps/i386/asm-syntax.h: Likewise.
44911 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44912 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44913 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44914 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44915 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44916 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44917 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44918 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44919 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44920 * sysdeps/powerpc/sysdep.h: Likewise.
44921 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44922 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44924 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44927 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44929 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44931 * sysdeps/i386/sysdep.h: Include <features.h>.
44932 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44935 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44937 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44939 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44942 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44944 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44945 (SETUP_PIC_REG): Use GET_PC_THUNK.
44946 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44949 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44951 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44952 for non-PIC compilation.
44953 (SETUP_PIC_REG): Add .p2align directive.
44954 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44955 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44956 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44957 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44958 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44959 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44960 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44961 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44962 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44963 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44964 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44965 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44966 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44967 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44968 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44969 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44970 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44971 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44972 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44973 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44974 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44975 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44976 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44977 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44980 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44982 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44983 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44984 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44985 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44986 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44987 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44988 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44989 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44990 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44991 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44992 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44993 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44994 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44996 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44998 * math/tst-CMPLX.c: Include <stdio.h>.
45000 2012-01-31 Joseph Myers <joseph@codesourcery.com>
45002 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45004 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45005 * sysdeps/sparc/bits/mathdef.h: Likewise.
45007 2012-01-31 Marek Polacek <polacek@redhat.com>
45009 * libio/libio.h: Don't define _PARAMS.
45010 * locale/programs/config.h: Don't define PARAMS.
45011 * stdlib/strtol_l.c: Likewise.
45012 (__strtol_l): Remove PARAMS from the prototype.
45014 2012-01-31 Ulrich Drepper <drepper@gmail.com>
45016 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45017 names. Just use the correct names. Remove unnecessary wrapper
45019 * malloc/arena.c: Likewise.
45020 * malloc/hooks.c: Likewise.
45022 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45023 ARENA_TEST says not to. Simplify test for creation of a new arena.
45024 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45026 2012-01-30 Ulrich Drepper <drepper@gmail.com>
45028 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45030 (update_get_addr): New function.
45031 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45032 GET_ADDR_MODULE parameter.
45034 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45036 * crypt/cert.c: Remove __STDC__ conditionals.
45037 * crypt/crypt-entry.c: Likewise.
45038 * crypt/crypt_util.c: Likewise.
45039 * libio/filedoalloc.c: Likewise.
45040 * libio/fileops.c: Likewise.
45041 * libio/genops.c: Likewise.
45042 * libio/iofclose.c: Likewise.
45043 * libio/iofdopen.c: Likewise.
45044 * libio/iofopen.c: Likewise.
45045 * libio/iofopen64.c: Likewise.
45046 * libio/iogetdelim.c: Likewise.
45047 * libio/iopopen.c: Likewise.
45048 * libio/obprintf.c: Likewise.
45049 * libio/oldfileops.c: Likewise.
45050 * libio/oldiofclose.c: Likewise.
45051 * libio/oldiofdopen.c: Likewise.
45052 * libio/oldiofopen.c: Likewise.
45053 * libio/oldiopopen.c: Likewise.
45054 * libio/wfiledoalloc.c: Likewise.
45055 * libio/wgenops.c: Likewise.
45056 * locale/programs/xmalloc.c: Likewise.
45057 * misc/syslog.c: Likewise.
45058 * stdio-common/xbug.c: Likewise.
45059 * string/memchr.c: Likewise.
45060 * string/memcmp.c: Likewise.
45061 * string/memrchr.c: Likewise.
45062 * string/rawmemchr.c: Likewise.
45063 * sysdeps/posix/getcwd.c: Likewise.
45064 * time/strftime_l.c: Likewise.
45066 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45068 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45069 * config.make.in (config-cflags-sse2avx): Define.
45070 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45073 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45075 * scripts/config.guess: Update from upstream config git repository.
45076 * scripts/config.sub: Likewise.
45078 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45080 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45082 (R_TILEPRO_*, R_TILEGX_*): New macros.
45084 * scripts/firstversions.awk: Fix bug in version range handling.
45086 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45088 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45090 * include/sys/epoll.h: New file.
45091 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45094 2012-01-28 Ulrich Drepper <drepper@gmail.com>
45096 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45097 Avoid unnecessary __WORDSIZE == 64 test.
45098 (fmaxf): Use VEX format if possible.
45103 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45104 * math/math_private.h: Remove libc_fegetround* and
45106 * sysdeps/i386/configure.in: Check for -msse2avx.
45107 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45108 also if SSE2AVX is defined.
45109 Remove libc_fegetround* and libc_fesetround*.
45110 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45111 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45112 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45114 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45115 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45117 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45118 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45120 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45122 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45124 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45126 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45128 2012-01-27 Ulrich Drepper <drepper@gmail.com>
45131 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45133 * Makeconfig (libm): Define.
45134 * elf/Makefile: Add rules to build and run tst-relsort1.
45135 * elf/tst-relsort1.c: New file.
45136 * elf/tst-relsort1mod1.c: New file.
45137 * elf/tst-relsort1mod2.c: New file.
45139 2012-01-27 Joseph Myers <joseph@codesourcery.com>
45141 * math/s_ldexp.c: Remove __STDC__ conditionals.
45142 * math/s_ldexpf.c: Likewise.
45143 * math/s_ldexpl.c: Likewise.
45144 * math/s_nextafter.c: Likewise.
45145 * math/s_nexttowardf.c: Likewise.
45146 * math/s_significand.c: Likewise.
45147 * math/s_significandf.c: Likewise.
45148 * math/s_significandl.c: Likewise.
45149 * math/w_jnl.c: Likewise.
45150 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45151 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45152 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45153 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45154 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45156 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45157 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45158 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45159 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45160 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45161 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45162 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45163 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45164 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45165 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45166 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45167 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45169 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45170 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45171 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45172 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45173 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45174 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45175 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45176 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45177 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45178 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45179 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45180 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45181 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45182 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45183 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45184 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45185 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45186 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45187 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45188 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45189 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45190 * sysdeps/ieee754/k_standard.c: Likewise.
45191 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45192 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45193 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45194 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45195 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45196 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45197 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45198 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45199 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45200 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45201 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45202 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45203 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45204 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45205 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45207 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45208 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45209 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45210 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45213 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45214 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45215 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45216 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45220 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45221 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45222 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45223 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45224 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45226 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45227 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45228 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45229 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45230 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45231 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45233 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45234 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45235 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45236 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45237 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45238 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45239 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45240 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45241 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45242 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45243 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45245 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45248 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45249 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45251 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45253 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45255 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45256 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45257 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45263 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45264 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45265 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45268 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45270 * sysdeps/ieee754/s_matherr.c: Likewise.
45271 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45272 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45274 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45276 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45278 * crypt/md5.h: Remove __STDC__ conditionals.
45279 * libio/libioP.h: Likewise.
45280 * locale/programs/config.h: Likewise.
45281 * sysdeps/generic/sysdep.h: Likewise.
45282 * sysdeps/i386/asm-syntax.h: Likewise.
45283 * sysdeps/s390/asm-syntax.h: Likewise.
45284 * sysdeps/unix/sysdep.h: Likewise.
45285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45288 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45290 * libio/libio.h: Remove __STDC__ conditionals.
45291 * malloc/obstack.h: Likewise.
45292 * math/complex.h: Likewise.
45293 * math/math.h: Likewise.
45294 * sysdeps/generic/_G_config.h: Likewise.
45295 * sysdeps/gnu/_G_config.h: Likewise.
45296 * sysdeps/mach/hurd/_G_config.h: Likewise.
45297 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45298 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45299 * sysdeps/sparc/bits/mathdef.h: Likewise.
45301 2012-01-26 Ulrich Drepper <drepper@gmail.com>
45304 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45305 Clean up HAS_* macros.
45306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45307 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45309 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45312 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45314 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45317 2012-01-25 Joseph Myers <joseph@codesourcery.com>
45319 * elf/tst-unique3.cc (gets): Remove declaration.
45320 * elf/tst-unique3lib.cc (gets): Likewise.
45321 * elf/tst-unique3lib2.cc (gets): Likewise.
45322 * elf/tst-unique4.cc (gets): Likewise.
45324 2012-01-24 Ulrich Drepper <drepper@gmail.com>
45326 * include/stdio.h: Add C++ protection. Add gets declarations and
45328 * debug/tst-chk1.c: Don't declare gets here.
45329 * stdio-common/tst-gets.c: Likewise.
45331 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45333 * posix/glob: Remove directory.
45335 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45337 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45339 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45341 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45342 of the non-standard EPFNOSUPPORT.
45344 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45346 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45347 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45348 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45350 2012-01-21 Ulrich Drepper <drepper@gmail.com>
45352 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45354 2012-01-20 Ulrich Drepper <drepper@gmail.com>
45356 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45358 * nscd/grpcache.c (cache_addgr): Likewise.
45359 * nscd/hstcache.c (cache_addhst): Likewise.
45360 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45361 * nscd/pwdcache.c (cache_addpw): Likewise.
45362 * nscd/servicescache.c (cache_addserv): Likewise.
45364 2012-01-16 Ulrich Drepper <drepper@gmail.com>
45366 * malloc/malloc.c: Various cleanups.
45367 * malloc/hooks.c: Likewise.
45369 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45370 * stdlib/bug-fmtmsg1.c: New file.
45372 * stdlib/fmtmsg.c (init): Add missing unlock.
45373 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45375 2012-01-12 Marek Polacek <polacek@redhat.com>
45377 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45380 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45382 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45383 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45384 macro to ensure uniqueness of label name.
45385 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45386 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45388 2012-01-11 Ulrich Drepper <drepper@gmail.com>
45390 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45392 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45393 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45394 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45397 2012-01-10 Ulrich Drepper <drepper@gmail.com>
45399 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45401 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45402 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45403 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45405 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45407 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45408 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45409 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45412 * math/bits/math-finite.h: Add ldexp support.
45414 2012-01-10 Marek Polacek <polacek@redhat.com>
45416 * locale/programs/localedef.h (show_archive_content): Add noreturn
45419 2012-01-09 Ulrich Drepper <drepper@gmail.com>
45421 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45423 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45425 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45427 * io/Makefile (headers): Add bits/poll2.h.
45429 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45432 typo #include statement.
45434 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45436 * include/sys/cdefs.h: Define __attribute_alloc_size.
45437 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45438 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45439 * elf/pldd.c: Likewise.
45440 * iconv/iconv_charmap.c: Likewise.
45441 * iconv/iconvconfig.c: Likewise.
45442 * iconv/strtab.c: Likewise.
45443 * locale/programs/locale.c: Likewise.
45444 * locale/programs/localedef.h: Likewise.
45445 * locale/programs/simple-hash.c: Likewise.
45446 * nscd/nscd.h: Likewise.
45447 * nss/makedb.c: Likewise.
45448 * sysdeps/generic/ldconfig.h: Likewise.
45449 * locale/programs/localedef.c: Remove xmalloc prototype.
45450 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45452 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45454 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45457 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45459 * math/Makefile (tests): Add tst-CMPLX.
45460 * math/tst-CMPLX.c: New file.
45462 * math/complex.h (CMPLXL): Fix typo.
45464 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45465 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45467 * debug/tst-chk1.c: Add poll and ppoll tests.
45468 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45469 * include/sys/poll.h: Add hidden proto for ppoll.
45470 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45471 * sysdeps/mach/hurd/ppoll.c: Likewise.
45472 * io/ppoll.c: Likewise.
45473 * debug/poll_chk.c: New file.
45474 * debug/ppoll_chk.c: New file.
45475 * include/bits/poll2.h: New file.
45476 * io/bits/poll2.h: New file.
45479 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45481 * configure.in: static is always set to yes. Remove.
45482 * config.make.in: Don't set build-static.
45483 * Makeconfig: Remove use of build-static.
45484 * dlfcn/Makefile: Likewise.
45485 * elf/Makefile: Likewise.
45486 * math/Makefile: Likewise.
45487 * misc/Makefile: Likewise.
45488 * nptl/Makefile: Likewise.
45489 * sysdeps/mach/hurd/Makefile: Likewise.
45491 * configure.in: PWD_P is not used anymore.
45492 * config.make.in: Remove PWD_P entry.
45494 * configure.in: Remove last remnants of RANLIB.
45495 No need to check for signed size_t anymore.
45496 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45498 Remove __builtin_expect test because we require at least gcc 3.4.
45499 * aclocal.m4: Likewise.
45501 * wcsmbs/mbrtoc16.c: Implement using towc function.
45502 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45503 * wcsmbs/wcsmbsload.c: Likewise.
45504 * iconv/gconv_simple.c: Likewise.
45505 * iconv/gconv_int.h: Likewise.
45506 * iconv/gconv_builtin.h: Likewise.
45507 * iconv/iconv_prog.c: Remove CHAR16 handling.
45509 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45511 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45513 * configure.in: Remove --with-elf and --enable-bounded options.
45514 Dont set base_machine for ia64. More non-ELF conditions removed.
45515 Remove testing and setting of leading underscore information.
45516 * config.make.in (build-bounded): Set to no.
45517 * config.h.in: Remove NO_UNDERSCORES entry.
45518 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45520 * csu/start.c: Remove !NO_UNDERSCORE code.
45521 * locale/localeinfo.h: Likewise.
45522 * sysdeps/generic/machine-gmon.h: Likewise.
45523 * sysdeps/generic/sysdep.h: Likewise.
45524 * sysdeps/i386/sysdep.h: Likewise.
45525 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45526 * sysdeps/mach/sysdep.h: Likewise.
45527 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45528 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45529 * sysdeps/sh/sysdep.h: Likewise.
45530 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45531 * sysdeps/unix/i386/sysdep.S: Likewise.
45532 * sysdeps/unix/sparc/start.c: Likewise.
45533 * sysdeps/unix/sparc/sysdep.S: Likewise.
45534 * sysdeps/unix/sparc/sysdep.h: Likewise.
45535 * sysdeps/unix/start.c: Likewise.
45536 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45537 * sysdeps/x86_64/sysdep.h: Likewise.
45539 2012-01-07 Ulrich Drepper <drepper@gmail.com>
45542 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45544 * argp/argp-fmtstream.h: Use const instead __const.
45545 * argp/argp.h: Likewise.
45546 * assert/assert.h: Likewise.
45547 * bits/fenv.h: Likewise.
45548 * bits/sched.h: Likewise.
45549 * bits/sigset.h: Likewise.
45550 * bits/sigthread.h: Likewise.
45551 * catgets/nl_types.h: Likewise.
45552 * conform/data/pthread.h-data: Likewise.
45553 * crypt/crypt-private.h: Likewise.
45554 * crypt/crypt.h: Likewise.
45555 * crypt/crypt_util.c: Likewise.
45556 * ctype/ctype.h: Likewise.
45557 * debug/execinfo.h: Likewise.
45558 * debug/mbsnrtowcs_chk.c: Likewise.
45559 * debug/mbsrtowcs_chk.c: Likewise.
45560 * debug/wcsnrtombs_chk.c: Likewise.
45561 * debug/wcsrtombs_chk.c: Likewise.
45562 * debug/wcstombs_chk.c: Likewise.
45563 * dirent/dirent.h: Likewise.
45564 * dlfcn/dlfcn.h: Likewise.
45565 * elf/neededtest4.c: Likewise.
45566 * grp/grp.h: Likewise.
45567 * gshadow/gshadow.h: Likewise.
45568 * iconv/gconv.h: Likewise.
45569 * iconv/gconv_int.h: Likewise.
45570 * iconv/gconv_simple.c: Likewise.
45571 * iconv/iconv.h: Likewise.
45572 * iconv/loop.c: Likewise.
45573 * iconv/skeleton.c: Likewise.
45574 * include/aio.h: Likewise.
45575 * include/aliases.h: Likewise.
45576 * include/argz.h: Likewise.
45577 * include/arpa/inet.h: Likewise.
45578 * include/assert.h: Likewise.
45579 * include/dirent.h: Likewise.
45580 * include/dlfcn.h: Likewise.
45581 * include/execinfo.h: Likewise.
45582 * include/fcntl.h: Likewise.
45583 * include/fenv.h: Likewise.
45584 * include/glob.h: Likewise.
45585 * include/grp.h: Likewise.
45586 * include/libintl.h: Likewise.
45587 * include/mntent.h: Likewise.
45588 * include/netdb.h: Likewise.
45589 * include/pwd.h: Likewise.
45590 * include/rpc/netdb.h: Likewise.
45591 * include/sched.h: Likewise.
45592 * include/search.h: Likewise.
45593 * include/shadow.h: Likewise.
45594 * include/signal.h: Likewise.
45595 * include/stdio.h: Likewise.
45596 * include/stdlib.h: Likewise.
45597 * include/string.h: Likewise.
45598 * include/sys/socket.h: Likewise.
45599 * include/sys/stat.h: Likewise.
45600 * include/sys/statfs.h: Likewise.
45601 * include/sys/statvfs.h: Likewise.
45602 * include/sys/syslog.h: Likewise.
45603 * include/sys/time.h: Likewise.
45604 * include/sys/uio.h: Likewise.
45605 * include/time.h: Likewise.
45606 * include/unistd.h: Likewise.
45607 * include/utmp.h: Likewise.
45608 * include/wchar.h: Likewise.
45609 * include/wctype.h: Likewise.
45610 * inet/aliases.h: Likewise.
45611 * inet/arpa/inet.h: Likewise.
45612 * inet/netinet/ether.h: Likewise.
45613 * inet/netinet/in.h: Likewise.
45614 * intl/libintl.h: Likewise.
45615 * io/bits/fcntl2.h: Likewise.
45616 * io/fcntl.h: Likewise.
45617 * io/ftw.h: Likewise.
45618 * io/sys/poll.h: Likewise.
45619 * io/sys/stat.h: Likewise.
45620 * io/sys/statfs.h: Likewise.
45621 * io/sys/statvfs.h: Likewise.
45622 * io/utime.h: Likewise.
45623 * libio/bits/stdio.h: Likewise.
45624 * libio/bits/stdio2.h: Likewise.
45625 * libio/libio.h: Likewise.
45626 * libio/libioP.h: Likewise.
45627 * libio/stdio.h: Likewise.
45628 * locale/lc-ctype.c: Likewise.
45629 * locale/locale.h: Likewise.
45630 * login/utmp.h: Likewise.
45631 * malloc/arena.c: Likewise.
45632 * malloc/malloc.c: Likewise.
45633 * malloc/malloc.h: Likewise.
45634 * malloc/mcheck.c: Likewise.
45635 * malloc/mtrace.c: Likewise.
45636 * math/bits/mathcalls.h: Likewise.
45637 * math/fenv.h: Likewise.
45638 * math/math_private.h: Likewise.
45639 * misc/bits/error.h: Likewise.
45640 * misc/bits/syslog.h: Likewise.
45641 * misc/err.h: Likewise.
45642 * misc/error.h: Likewise.
45643 * misc/fstab.h: Likewise.
45644 * misc/mntent.h: Likewise.
45645 * misc/regexp.h: Likewise.
45646 * misc/search.h: Likewise.
45647 * misc/sgtty.h: Likewise.
45648 * misc/sys/mman.h: Likewise.
45649 * misc/sys/syslog.h: Likewise.
45650 * misc/sys/uio.h: Likewise.
45651 * misc/sys/xattr.h: Likewise.
45652 * misc/ttyent.h: Likewise.
45653 * nis/rpcsvc/ypclnt.h: Likewise.
45654 * nss/nss.h: Likewise.
45655 * posix/bits/unistd.h: Likewise.
45656 * posix/fnmatch.h: Likewise.
45657 * posix/glob.h: Likewise.
45658 * posix/sched.h: Likewise.
45659 * posix/spawn.h: Likewise.
45660 * posix/sys/wait.h: Likewise.
45661 * posix/unistd.h: Likewise.
45662 * posix/wordexp.h: Likewise.
45663 * pwd/pwd.h: Likewise.
45664 * resolv/netdb.h: Likewise.
45665 * resource/sys/resource.h: Likewise.
45666 * rt/aio.h: Likewise.
45667 * rt/bits/mqueue2.h: Likewise.
45668 * rt/mqueue.h: Likewise.
45669 * shadow/shadow.h: Likewise.
45670 * signal/signal.h: Likewise.
45671 * socket/send.c: Likewise.
45672 * socket/sendto.c: Likewise.
45673 * socket/sys/socket.h: Likewise.
45674 * stdio-common/printf.h: Likewise.
45675 * stdlib/bits/stdlib.h: Likewise.
45676 * stdlib/fmtmsg.h: Likewise.
45677 * stdlib/monetary.h: Likewise.
45678 * stdlib/stdlib.h: Likewise.
45679 * stdlib/ucontext.h: Likewise.
45680 * streams/stropts.h: Likewise.
45681 * string/argz.h: Likewise.
45682 * string/bits/string2.h: Likewise.
45683 * string/string.h: Likewise.
45684 * string/strings.h: Likewise.
45685 * sunrpc/rpc/auth.h: Likewise.
45686 * sunrpc/rpc/auth_des.h: Likewise.
45687 * sunrpc/rpc/clnt.h: Likewise.
45688 * sunrpc/rpc/netdb.h: Likewise.
45689 * sunrpc/rpc/pmap_clnt.h: Likewise.
45690 * sunrpc/rpc/xdr.h: Likewise.
45691 * sysdeps/generic/inttypes.h: Likewise.
45692 * sysdeps/generic/net/if.h: Likewise.
45693 * sysdeps/generic/sys/swap.h: Likewise.
45694 * sysdeps/gnu/net/if.h: Likewise.
45695 * sysdeps/gnu/utmpx.h: Likewise.
45696 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45697 * sysdeps/i386/i486/bits/string.h: Likewise.
45698 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45699 * sysdeps/s390/bits/string.h: Likewise.
45700 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45701 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45702 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45703 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45704 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45705 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45706 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45707 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45708 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45709 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45710 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45711 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45712 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45713 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45714 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45715 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45716 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45718 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45719 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45720 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45721 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45722 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45723 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45724 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45725 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45726 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45727 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45728 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45729 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45730 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45731 * sysvipc/sys/ipc.h: Likewise.
45732 * sysvipc/sys/msg.h: Likewise.
45733 * sysvipc/sys/sem.h: Likewise.
45734 * sysvipc/sys/shm.h: Likewise.
45735 * termios/termios.h: Likewise.
45736 * time/sys/time.h: Likewise.
45737 * time/time.h: Likewise.
45738 * wcsmbs/bits/wchar2.h: Likewise.
45739 * wcsmbs/uchar.h: Likewise.
45740 * wcsmbs/wchar.h: Likewise.
45741 * wctype/wctype.h: Likewise.
45744 * Makeconfig: Remove all but ELF support including AIX support.
45745 * Makerules: Likewise.
45746 * config.h.in: Likewise.
45747 * config.make.in: Likewise.
45748 * configure: Likewise.
45749 * configure.in: Likewise.
45750 * csu/Makefile: Likewise.
45751 * csu/version.c: Likewise.
45752 * debug/Makefile: Likewise.
45753 * dlfcn/Makefile: Likewise.
45754 * elf/Makefile: Likewise.
45755 * extra-lib.mk: Likewise.
45756 * iconv/Makefile: Likewise.
45757 * include/libc-symbols.h: Likewise.
45758 * include/shlib-compat.h: Likewise.
45759 * resolv/Makefile: Likewise.
45760 * resolv/res_libc.c: Likewise.
45761 * rt/Makefile: Likewise.
45762 * sysdeps/i386/asm-syntax.h: Likewise.
45763 * sysdeps/i386/sysdep.h: Likewise.
45764 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45765 * sysdeps/mach/sysdep.h: Likewise.
45766 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45767 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45768 * sysdeps/s390/asm-syntax.h: Likewise.
45769 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45770 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45771 * sysdeps/sh/sysdep.h: Likewise.
45772 * sysdeps/unix/sparc/sysdep.h: Likewise.
45773 * sysdeps/wordsize-32/divdi3.c: Likewise.
45774 * sysdeps/x86_64/sysdep.h: Likewise.
45776 * argp/Versions: Remove _argp_unlock_xxx.
45779 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45780 * abilist/libBrokenLocale.abilist: Likewise.
45781 * abilist/libanl.abilist: Likewise.
45782 * abilist/libc.abilist: Likewise.
45783 * abilist/libcrypt.abilist: Likewise.
45784 * abilist/libdl.abilist: Likewise.
45785 * abilist/libm.abilist: Likewise.
45786 * abilist/libnsl.abilist: Likewise.
45787 * abilist/libpthread.abilist: Likewise.
45788 * abilist/libresolv.abilist: Likewise.
45789 * abilist/librt.abilist: Likewise.
45790 * abilist/libthread_db.abilist: Likewise.
45791 * abilist/libutil.abilist: Likewise.
45792 * abilist/libnss_db.abilist: New file.
45794 * scripts/abilist.awk: Add support for indirect functions.
45796 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45798 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45800 * shlib-versions: Remove entries for ports architectures.
45802 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45804 * elf/stackguard-macros.h: Remove support for IA-64.
45805 * elf/tst-auditmod1.c: Likewise.
45806 * sysdeps/generic/ldsodefs.h: Likewise.
45808 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45809 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45813 * configure.in: Remove --enable-omitfp support.
45815 * config.make.in: Likewise.
45816 * Makeconfig: Likewise.
45817 * manual/install.texi: Likewise.
45819 In case anyone cares, the IA-64 architecture could move to ports.
45820 * sysdeps/ia64/*: Removed.
45821 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45822 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45825 * configure.in: Remove entries for unsupported architectures.
45828 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45829 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45831 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45832 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45833 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45834 fall back to using wcrtomb.
45835 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45836 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45838 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45839 * wcsmbs/tst-c16c32-1.c: New file.
45841 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45844 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45846 * elf/tst-unique3.cc: Add explicit declaration of gets.
45847 * elf/tst-unique3lib.cc: Likewise.
45848 * elf/tst-unique3lib2.cc: Likewise.
45849 * elf/tst-unique4.cc: Likewise.
45851 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45853 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45856 * assert/assert.h (static_assert): Don't define for C++.
45857 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45858 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45860 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45862 * iconv/loop.c (single loop): Fix assertion in storing of
45865 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45867 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45869 * posix/getconf.c: Update copyright year.
45870 * nss/getent.c: Likewise.
45871 * nss/makedb.c: Likewise.
45872 * iconv/iconvconfig.c: Likewise.
45873 * iconv/iconv_prog.c: Likewise.
45874 * elf/ldconfig.c: Likewise.
45875 * elf/pldd.c: Likewise.
45876 * elf/sotruss.ksh: Likewise.
45877 * catgets/gencat.c: Likewise.
45878 * csu/version.c: Likewise.
45879 * elf/ldd.bash.in: Likewise.
45880 * elf/sprof.c (print_version): Likewise.
45881 * locale/programs/locale.c: Likewise.
45882 * locale/programs/localedef.c: Likewise.
45883 * login/programs/pt_chown.c: Likewise.
45884 * nscd/nscd.c (print_version): Likewise.
45885 * debug/xtrace.sh: Likewise.
45886 * malloc/memusage.sh: Likewise.
45887 * malloc/mtrace.pl: Likewise.
45888 * debug/catchsegv.sh: Likewise.
45890 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45892 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45895 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45898 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45899 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45901 * iconv/gconv_int.h: Likewise.
45902 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45903 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45904 from libc for GLIBC_2.16.
45905 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45906 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45907 * wcsmbs/uchar.h: Really define mbstate_t.
45908 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45909 * wcsmbs/c16rtomb.c: New file.
45910 * wcsmbs/mbrtoc16.c: New file.
45911 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45912 for C/POSIX locale.
45913 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45914 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45916 * wcsmbs/wchar.h: Add missing __restrict.
45918 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45921 * time/Makefile (routines): Add timespec_get.
45922 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45923 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45924 timespec for ISO C11.
45925 * time/timespec_get.c: New file.
45926 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45927 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45930 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45931 * stdlib/stdlib.h: Declare aligned_alloc.
45932 * Versions.def: Add GLIBC_2.16 for libc.
45933 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45936 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45939 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45943 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45946 * assert/assert.h (static_assert): Define.
45948 * version.h: Update for 2.16 development version.
45951 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45954 * version.h (RELEASE): Bump for 2.15 release.
45955 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45957 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45958 Patch by Marek Polacek <mpolacek@redhat.com>.
45960 * bits/byteswap.h: Protect long long constants with __extension__.
45961 * sysdeps/i386/bits/byteswap.h: Likewise.
45962 * sysdeps/ia64/bits/byteswap.h: Likewise.
45963 * sysdeps/s390/bits/byteswap.h: Likewise.
45964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45966 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45969 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45970 destination buffer.
45971 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45973 2011-12-23 Marek Polacek <polacek@redhat.com>
45975 * elf/dl-addr.c (determine_info): Add inline keyword.
45976 * elf/tst-auditmod4b.c (check_avx): Likewise.
45977 * elf/tst-auditmod6b.c (check_avx): Likewise.
45978 * elf/tst-auditmod6c.c (check_avx): Likewise.
45979 * elf/tst-auditmod7b.c (check_avx): Likewise.
45981 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45983 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45986 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45989 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45990 processing for last bytes.
45992 2011-08-06 Bruno Haible <bruno@clisp.org>
45995 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45996 U+0385, not to U+1FEE.
45999 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46000 entry for U+00A5 U+0301.
46002 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46005 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46006 buffer for the output is too small.
46008 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46012 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46013 SSE flags if possible.
46015 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46018 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46019 processing for last bytes.
46021 2011-12-22 Joseph Myers <joseph@codesourcery.com>
46023 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46024 (syscall-list-default-options, syscall-list-default-condition)
46025 (syscall-list-includes): Define.
46026 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46027 list of ABIs and options and #if conditions for each ABI. Do not
46028 handle common syscalls between ABIs specially.
46029 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46031 (syscall-list-variants, syscall-list-32bit-options)
46032 (syscall-list-32bit-condition, syscall-list-64bit-options)
46033 (syscall-list-64bit-condition): Define.
46034 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46035 (syscall-list-variants, syscall-list-32bit-options)
46036 (syscall-list-32bit-condition, syscall-list-64bit-options)
46037 (syscall-list-64bit-condition): Define.
46038 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46040 (syscall-list-variants, syscall-list-32bit-options)
46041 (syscall-list-32bit-condition, syscall-list-64bit-options)
46042 (syscall-list-64bit-condition): Define.
46043 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46045 (syscall-list-variants, syscall-list-32bit-options)
46046 (syscall-list-32bit-condition, syscall-list-64bit-options)
46047 (syscall-list-64bit-condition): Define.
46049 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46051 * locale/iso-639.def: Add brx entry.
46054 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46055 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46057 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46058 __feraiseexcept_renamed.
46060 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46063 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46064 EPOLLET with unsigned values.
46065 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46066 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46068 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46069 to large cancellation.
46070 * math/s_cacoshf.c: Likewise.
46071 * math/s_cacoshl.c: Likewise.
46073 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46077 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46078 * math/s_cacoshf.c: Likewise.
46079 * math/s_cacoshl.c: Likewise.
46081 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46084 * iconv/gconv.h: Define __GCONV_SWAP.
46085 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46086 * iconvdata/utf-16.c: Likewise.
46087 * iconvdata/utf-32.c: Likewise.
46089 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46092 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46093 numerator after shifting it by one limb.
46095 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46097 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46098 under [__USE_EXTERN_INLINES].
46100 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46103 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46105 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46107 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46108 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46110 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46111 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46112 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46113 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46114 for strncasecmp/strncasecmp_l compilation.
46115 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46116 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46118 2011-12-08 Marek Polacek <mpolacek@redhat.com>
46121 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46124 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46127 * time/tzfile.c (__tzfile_read): Check values from file header.
46129 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46131 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46132 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46133 * powerpc/powerpc32/dl-start.S: Likewise.
46134 * powerpc/powerpc32/elf/start.S: Likewise.
46135 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46136 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46137 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46138 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46139 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46140 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46141 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46142 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46143 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46144 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46145 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46146 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46147 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46148 * powerpc/powerpc32/memset.S: Likewise.
46149 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46150 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46151 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46152 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46153 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46154 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46155 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46156 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46157 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46158 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46159 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46160 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46161 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46163 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46165 * math/libm-test.inc: Added more nearbyint tests.
46166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46167 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46171 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46173 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46176 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46178 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46179 Add wcscpy-ssse3 wcscpy-c.
46180 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46181 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46182 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46183 * sysdeps/x86_64/wcschr.S: New file.
46184 * sysdeps/x86_64/wcsrchr.S: New file.
46185 * string/test-strcmp.c: Remove checking of wcscmp function for
46187 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46188 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46189 wcsrchr-sse2 wcsrchr-c.
46190 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46191 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46192 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46193 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46194 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46195 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46196 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46197 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46198 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46199 * wcsmbc/wcschr.c (WCSCHR): New macro.
46201 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46203 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46204 * wcsmbs/test-wcsrchr.c: New file.
46205 * string/test-strrchr.c: Add wcsrchr support.
46207 * wcsmbs/test-wcscpy.c: New file.
46208 * string/test-strcpy.c: Add wcscpy support.
46211 2011-12-10 Ulrich Drepper <drepper@gmail.com>
46213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46216 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46219 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46221 2011-12-04 Ulrich Drepper <drepper@gmail.com>
46223 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46224 Minor optimizations.
46226 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46227 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46228 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46230 2011-12-03 Ulrich Drepper <drepper@gmail.com>
46232 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46233 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46234 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46235 for gcc to avoid warnings.
46236 * inet/Makefile (tests): Add tst-checks.
46237 * inet/tst-checks.c: New file.
46239 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46242 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46245 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46246 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46248 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46250 2011-12-02 Ulrich Drepper <drepper@gmail.com>
46252 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46255 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46257 2011-11-29 Joseph Myers <joseph@codesourcery.com>
46259 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46260 conditional on GCC version.
46261 (__arch_compare_and_exchange_val_8_acq)
46262 (__arch_compare_and_exchange_val_16_acq)
46263 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46264 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46265 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46267 2011-12-02 Joseph Myers <joseph@codesourcery.com>
46269 * sysdeps/sh/backtrace.c: New file.
46271 2011-12-02 Andreas Schwab <schwab@redhat.com>
46273 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46276 2011-12-01 Andreas Schwab <schwab@redhat.com>
46278 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46279 falling back to utime.
46281 2011-11-30 Andreas Schwab <schwab@redhat.com>
46283 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46284 expectations for float.
46286 2011-11-29 Andreas Schwab <schwab@redhat.com>
46288 * locale/weight.h (findidx): Add parameter len.
46289 * locale/weightwc.h (findidx): Likewise.
46290 * posix/fnmatch_loop.c (FCT): Adjust caller.
46291 * posix/regcomp.c (build_equiv_class): Likewise.
46292 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46293 * posix/regexec.c (check_node_accept_bytes): Likewise.
46294 * string/strcoll_l.c (STRCOLL): Likewise.
46295 * string/strxfrm_l.c (STRXFRM): Likewise.
46297 2011-11-17 Ulrich Drepper <drepper@gmail.com>
46299 * Makefile.in: Remove CVSOPT handling.
46300 * configure.in: Remove use of AC_REVISION.
46301 * iconvdata/Makefile (distribute): No need to filter out CVS.
46302 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46305 2011-11-16 Andreas Schwab <schwab@redhat.com>
46307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46308 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46309 [USE_AS_STRNCASECMP_L]: Likewise.
46310 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46311 NO_TLS_DIRECT_SEG_REFS.
46312 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46313 Fix argument offsets for non-PIC.
46314 [USE_AS_STRNCASECMP_L]: Likewise.
46315 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46316 NO_TLS_DIRECT_SEG_REFS.
46318 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46320 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46322 * locale/loadlocale.c (_nl_load_locale): Likewise.
46324 2011-11-15 Andreas Schwab <schwab@redhat.com>
46326 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46327 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46328 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46329 (SYSCALL_GETTIME): Set errno on error.
46331 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46332 count references to noai6ai_cached.
46334 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46336 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46338 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46339 FD_CLOEXEC for /proc/self/maps.
46341 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46342 FD_CLOEXEC for /proc/meminfo.
46344 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46347 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46348 FD_CLOEXEC for given file.
46350 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46352 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46353 FD_CLOEXEC for /etc/hosts.
46354 (_gethtent): Likewise.
46356 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46358 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46359 cancellation and set FD_CLOEXEC for /etc/netgroup.
46361 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46362 reading /etc/publickey.
46364 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46365 allow cancellation when reading /etc/group.
46367 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46369 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46371 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46372 when using data file.
46374 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46376 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46377 (write_nis_obj): Use "c" and "e" in fopen.
46379 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46381 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46383 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46385 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46387 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46390 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46392 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46394 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46396 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46397 file parsing and set FD_CLOEXEC.
46399 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46401 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46403 2011-11-14 Andreas Schwab <schwab@redhat.com>
46405 * malloc/arena.c (arena_get2): Don't call reused_arena when
46406 _int_new_arena failed.
46408 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46410 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46411 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46412 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46413 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46414 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46415 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46416 to compile strcasecmp and strncasecmp.
46417 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46418 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46422 2011-11-13 Ulrich Drepper <drepper@gmail.com>
46424 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46425 locale-defines.sym to gen-as-const-headers.
46426 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46427 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46429 to compile strcasecmp and strncasecmp.
46430 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46431 strcasecmp_l and strncasecmp_l.
46432 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46433 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46434 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46435 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46436 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46437 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46438 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46439 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46440 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46441 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46442 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46444 2011-11-12 Ulrich Drepper <drepper@gmail.com>
46446 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46447 result of SYSDEP_GETTIME_CPU to retval.
46448 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46449 parameter list to macro. Remove trailing semicolon. Adjust users.
46451 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46454 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46456 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46458 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46459 from unused variable.
46461 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46463 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46466 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46469 * sunrpc/rpc_prot.c (rejected): Fix case value.
46471 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46472 unsigned long long int to avoid warnings in shift.
46474 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46476 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46479 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46480 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46481 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46483 * nis/nis_table.c (nis_list): Use variable of correct type for
46484 result of __follow_path call.
46486 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46488 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46489 of math functions ceil, trunc, floor, round, and sqrt, when
46490 avaliable on the platform.
46491 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46493 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46494 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46495 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46497 2011-10-30 Marek Polacek <mpolacek@redhat.com>
46499 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46500 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46502 2011-11-11 Roland McGrath <roland@hack.frob.com>
46504 * include/unistd.h: Fix __readlink return type.
46505 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46507 2011-11-11 Ulrich Drepper <drepper@gmail.com>
46509 * stdlib/ucontext.h: Undo last change for makecontext.
46511 2011-11-11 Andreas Schwab <schwab@redhat.com>
46513 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46515 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46516 * setjmp/setjmp.h: Mark functions as non-leaf.
46517 * setjmp/bits/setjmp2.h: Likewise.
46518 * stdlib/ucontext.h: Likewise.
46520 2011-11-10 Andreas Schwab <schwab@redhat.com>
46522 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46523 (reused_arena): Don't check arena limit.
46524 (arena_get2): Atomically check arena limit.
46526 2011-11-08 Ulrich Drepper <drepper@gmail.com>
46528 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46529 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46531 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46534 2011-11-07 Andreas Schwab <schwab@redhat.com>
46536 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46537 handler when locking.
46539 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46540 Fix size of allocated buffer.
46542 2011-11-04 Andreas Schwab <schwab@redhat.com>
46545 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46546 declarations for long double functions.
46547 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46549 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46551 2011-11-03 Andreas Schwab <schwab@redhat.com>
46553 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46556 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46559 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46561 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46563 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46565 * include/alloca.h (stackinfo_alloca_round): Define.
46566 (extend_alloca): Use it.
46567 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46568 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46571 * scripts/check-local-headers.sh: Ignore libaudit.h.
46573 * nscd/Makefile (extra-objs): Make recursively expanded.
46575 2011-11-01 Ulrich Drepper <drepper@gmail.com>
46577 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46578 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46580 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46581 * posix/tst-rfc3484-2.c: Likewise.
46582 * posix/tst-rfc3484-3.c: Likewise.
46584 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46586 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46588 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46589 process_vm_writev from libc using GLIBC_2.15 version.
46591 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46593 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46595 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46598 2011-10-31 Ulrich Drepper <drepper@gmail.com>
46601 * nss/getent.c (initgroups_keys): Show error message in case no group
46604 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46605 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46606 __bump_nl_timestamp.
46607 * nscd/connections (nscd_init): When host database is served open
46608 netlink socket and request notification about configuration changes.
46609 (main_loop_poll): Track netlink file descriptor and bump timestamp
46610 in case data becomes available.
46611 (main_loop_epoll): Likewise.
46612 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46613 (database_pers_head): Add extra_data fileds.
46614 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46615 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46616 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46619 in6ai data, call __free_in6ai.
46620 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46621 Add -DHAVE_NETLINK.
46622 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46623 interface information. Reuse previous data if netlink timestamp
46625 (__bump_nl_timestamp): New function.
46626 (__free_in6ai): New function.
46628 2011-10-30 Ulrich Drepper <drepper@gmail.com>
46630 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46631 close_not_cancel_no_status here.
46632 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46634 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46637 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46640 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46641 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46642 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46644 2011-07-03 Andreas Jaeger <aj@suse.de>
46647 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46648 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46649 * math/libm-test.inc (sin_test): Add test case.
46651 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46654 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46655 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46657 * elf/chroot_canon.c (chroot_canon): Cleanups.
46659 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46662 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46663 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46665 * string/test-strchr.c: Make usable for strchrnul testing.
46666 * string/test-strchrnul.c: New file.
46667 * string/Makefile (strop-tests): Add strchrnul.
46669 * po/it.po: Update from translation team.
46670 * po/es.po: Likewise.
46672 2011-10-28 Ulrich Drepper <drepper@gmail.com>
46674 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46675 the three constants needed as parameters. Drop the others.
46676 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46677 __m128i_strloadu_tolower.
46678 Create and initialize variable zero and use it in all the places
46679 where _mm_setzero_si128 was used.
46681 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46682 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46683 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46684 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46686 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46687 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46688 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46689 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46690 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46691 __mpranred, __mptan.
46692 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46693 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46694 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46695 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46696 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46697 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46699 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46700 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46702 2011-10-28 Andreas Schwab <schwab@redhat.com>
46704 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46705 redefine if SHARED.
46706 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46709 wide char related routines to wcsmbs subdir.
46711 2011-10-27 Andreas Schwab <schwab@redhat.com>
46714 * misc/sys/cdefs.h (__THROWNL): Define.
46715 * posix/unistd.h: Use __THREADNL instead of __THREAD
46716 for memory synchronization functions.
46718 2011-10-26 Roland McGrath <roland@hack.frob.com>
46721 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46723 * manual/stdio.texi (Obstack Streams): Node removed.
46725 2011-10-26 Andreas Schwab <schwab@redhat.com>
46727 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46728 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46729 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46731 * math/math_private.h (math_force_eval): Allow non-addressable
46733 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46735 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46737 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46738 file is not needed.
46740 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46742 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46743 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46744 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46745 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46746 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46747 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46749 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46750 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46751 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46752 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46753 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46754 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46755 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46756 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46757 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46758 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46759 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46760 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46761 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46762 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46763 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46764 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46765 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46766 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46767 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46769 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46770 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46772 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46773 place. Use VEX encoding when compiling for AVX.
46775 2011-10-25 Andreas Schwab <schwab@redhat.com>
46777 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46778 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46780 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46782 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46784 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46785 useless if() expression.
46786 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46787 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46788 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46789 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46790 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46791 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46792 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46793 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46796 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46797 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46798 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46799 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46800 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46801 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46802 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46803 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46804 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46806 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46808 2011-10-25 Andreas Schwab <schwab@redhat.com>
46810 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46812 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46814 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46816 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46817 .text section. Avoid duplicate constants.
46818 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46820 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46822 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46826 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46827 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46828 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46829 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46830 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46831 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46832 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46833 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46834 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46835 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46836 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46837 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46838 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46839 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46840 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46841 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46842 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46843 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46844 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46845 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46846 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46847 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46848 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46849 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46851 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46852 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46853 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46854 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46855 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46856 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46857 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46859 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46860 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46861 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46862 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46864 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46866 * sysdeps/x86_64/dla.h: Move to ...
46867 * sysdeps/x86_64/fpu/dla.h: ...here.
46868 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46869 situations. Use __builtin_fma only for gcc 4.6 and up.
46871 * config.make.in: Add have-mfma4 entry.
46872 * configure.in: Substitute libc_cv_cc_fma4.
46873 * math/Makefile (dbl-only-routines): Add sincostab.
46874 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46875 Use __sincostab not sincos.
46876 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46883 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46884 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46885 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46886 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46888 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46889 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46891 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46892 define aliases when function name is a macro.
46893 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46894 sysdeps/ieee754/dbl-64/sincos.tbl.
46895 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46896 fma4-enabled routines.
46897 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46898 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46899 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46900 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46901 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46902 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46903 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46904 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46905 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46906 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46907 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46908 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46909 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46910 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46911 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46912 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46913 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46914 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46915 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46916 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46917 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46918 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46919 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46920 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46922 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46923 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46924 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46925 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46926 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46928 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46939 2011-10-24 Andreas Schwab <schwab@redhat.com>
46941 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46943 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46945 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46947 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46949 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46951 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46952 Remove unused variable magic_bits.
46953 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46955 * string/strnlen.c: Define and use STRNLEN macro.
46956 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46957 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46958 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46959 * wcsmbs/wcslen.c: Define and use WCSLEN.
46960 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46961 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46962 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46963 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46964 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46965 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46966 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46968 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46971 strnlen-sse2-no-bsf.
46972 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46974 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46975 Add strnlen support.
46976 (USE_AS_STRNLEN): New macro.
46977 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46978 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46979 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46980 * sysdeps/x86_64/wcslen.S: New file.
46982 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46984 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46985 XMM-moves are used for copying on small sizes.
46987 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46989 * wcsmbs/Makefile (strop-tests): Add wcschr.
46990 * wcsmbs/test-wcschr.c: New file.
46991 * string/test-strchr.c: Update.
46992 Add wcschr support.
46995 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46997 * wcsmbs/Makefile (strop-tests): Add wcslen.
46998 * wcsmbs/test-wcslen.c: New file.
46999 * string/test-strlen.c: Update.
47000 Add wcslen support.
47003 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47005 * po/it.po: Update from translation team.
47007 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47009 * sysdeps/x86_64/wcscmp.S: Update.
47010 Fix wrong comparison semantics.
47011 wcscmp shall use signed comparison not unsigned.
47012 Don't use substraction to avoid overflow bug.
47013 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47014 * wcsmbc/wcscmp.c: Likewise.
47015 * string/test-strcmp.c: Likewise.
47016 Add new tests to check cases with negative values.
47018 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47020 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47021 * sysdeps/x86_64/dla.h: ...here. New file.
47022 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47029 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47032 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47035 __ynl_finite aliases.
47037 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47041 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47043 [DLA_FMA] (EMULV): Use DLA_FMA.
47044 [DLA_FMA] (MUL12): Use EMULV.
47045 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47046 that are not needed.
47047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47055 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47057 * math/s_nan.c: Undef __nan.
47058 * math/s_nanf.c: Undef __nanf.
47059 * math/s_nanl.c: Undef __nanl.
47060 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47063 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47065 * math/s_catan.c: Add branch predictions.
47066 * math/s_catanf.c: Likewise.
47067 * math/s_catanh.c: Likewise.
47068 * math/s_catanhf.c: Likewise.
47069 * math/s_catanhl.c: Likewise.
47070 * math/s_catanl.c: Likewise.
47071 * math/s_cexp.c: Likewise.
47072 * math/s_cexpf.c: Likewise.
47073 * math/s_cexpl.c: Likewise.
47074 * math/s_clog.c: Likewise.
47075 * math/s_clog10.c: Likewise.
47076 * math/s_clog10f.c: Likewise.
47077 * math/s_clog10l.c: Likewise.
47078 * math/s_clogf.c: Likewise.
47079 * math/s_clogl.c: Likewise.
47080 * math/s_csqrt.c: Likewise.
47081 * math/s_csqrtf.c: Likewise.
47082 * math/s_csqrtl.c: Likewise.
47083 * math/s_ctanf.c: Likewise.
47084 * math/s_ctanh.c: Likewise.
47085 * math/s_ctanhf.c: Likewise.
47086 * math/s_ctanhl.c: Likewise.
47087 * math/s_ctanl.c: Likewise.
47089 * math/math_private.h: Define __nan, __nanf, __nanl.
47090 * math/s_cacosh.c: Include <math_private.h>.
47091 * math/s_cacoshl.c: Likewise.
47092 * math/s_casinh.c: Likewise.
47093 * math/s_casinhf.c: Likewise.
47094 * math/s_casinhl.c: Likewise.
47095 * math/s_ccos.c: Rely entire on ccosh.
47096 * math/s_ccosf.c: Rely entire on ccoshf.
47097 * math/s_ccosl.c: Rely entirely on ccoshl.
47098 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47099 Remove tests for FE_INVALID.
47100 * math/s_ccoshf.c: Likewise.
47101 * math/s_ccoshl.c: Likewise.
47102 * math/s_csin.c: Likewise.
47103 * math/s_csinf.c: Likewise.
47104 * math/s_csinh.c Likewise.
47105 * math/s_csinhf.c: Likewise.
47106 * math/s_csinhl.c: Likewise.
47107 * math/s_csinl.c: Likewise.
47108 * math/s_ctan.c: Likewise.
47109 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47110 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47111 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47113 2011-10-21 Ulrich Drepper <drepper@gmail.com>
47115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47116 compilation problems.
47118 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47121 2011-10-20 Ulrich Drepper <drepper@gmail.com>
47123 * sysdeps/i386/configure.in: Test for -mfma4 option.
47124 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47125 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47126 COMMON_CPUID_INDEX_80000001.
47127 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47128 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47129 use it if FMA3 is not supported.
47130 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47132 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47133 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47135 2011-10-20 Andreas Schwab <schwab@redhat.com>
47138 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47139 it would create a cycle with a link time dependency.
47141 2011-10-19 Ulrich Drepper <drepper@gmail.com>
47143 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47145 * string/Makefile (strop-tests): Add rawmemchr.
47146 * string/test-rawmemchr.c: New file.
47148 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47149 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47150 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47151 when compiling str{,n}casecmp and when AVX is available. Hook up
47152 new optimized code in initializers.
47154 2011-10-19 Andreas Schwab <schwab@redhat.com>
47156 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47157 __feraiseexcept instead of feraiseexcept.
47159 2011-10-18 Ulrich Drepper <drepper@gmail.com>
47161 * math/math_private.h: Define defaults for libc_fetestexcept and
47163 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47164 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47165 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47166 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47167 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47168 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47169 libc_fetestexcept and libc_feupdateenv.
47171 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47172 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47173 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47174 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47175 libc_feholdexcept_setround.
47177 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47178 Add s_nearbyint-c and s_nearbyintf-c.
47179 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47180 nearbyintf inlines.
47181 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47182 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47183 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47184 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47186 * math/math_private.h: Define defaults for libc_fegetround,
47187 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47188 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47189 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47190 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47191 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47192 standard functions.
47193 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47194 Remove comments and hacks for old compiler versions.
47195 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47196 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47197 libc_feholdexceptl.
47199 2011-10-18 Andreas Schwab <schwab@redhat.com>
47201 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47202 (__feraiseexcept_renamed): Add __NTH.
47203 (feraiseexcept): Add __NTH. Rename local variables to fix
47204 namespace violations.
47206 2011-10-17 Ulrich Drepper <drepper@gmail.com>
47208 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47210 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47212 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47213 recently added interfaces.
47214 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47216 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47217 about macro parameter expansion.
47219 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47220 __NO_MATH_INLINES is defined. Cleanups.
47222 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47223 and __floorf is target has SSE4.1.
47224 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47225 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47226 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47227 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47229 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47231 (floorf): Likewise.
47233 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47235 2011-10-17 Andreas Schwab <schwab@redhat.com>
47237 * misc/sys/cdefs.h: Fix last change.
47239 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47242 2011-10-16 Ulrich Drepper <drepper@gmail.com>
47244 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47246 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47247 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47248 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47249 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47251 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47252 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47253 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47254 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47255 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47256 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47257 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47258 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47259 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47260 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47261 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47262 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47263 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47264 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47265 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47266 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47267 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47269 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47270 ceil, ceilf, floor, floorf.
47272 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47273 Perform IRELATIVE relocations last.
47275 * elf/do-rel.h: Add another parameter nrelative, replacing the
47276 local variable with the same name. Change name of the function
47277 to end in Rel or Rela (uppercase).
47278 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47279 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47280 elf_dynamic_do_##reloc function.
47282 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47284 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47285 is sufficient, at least on modern CPUs.
47287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47289 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47290 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47292 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47294 * math/bits/math-finite.h: Add entries for exp.
47295 * math/e_expl.c: Add __*_finite alias.
47296 * sysdeps/i386/fpu/e_exp.S: Likewise.
47297 * sysdeps/i386/fpu/e_expf.S: Likewise.
47298 * sysdeps/i386/fpu/e_expl.c: Likewise.
47299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47300 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47303 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47304 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47305 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47307 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47308 is sufficient, at least on modern CPUs.
47310 * ctype/ctype-info.c (__ctype_init): Define.
47311 * include/ctype.h (__ctype_init): Declare.
47312 (__ctype_b_loc): The variable is always initialized.
47313 (__ctype_toupper_loc): Likewise.
47314 (__ctype_tolower_loc): Likewise.
47315 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47316 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47318 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47320 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47322 * configure.in: Also look in $cxxmachine/include for C++ system
47325 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47327 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47328 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47329 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47330 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47331 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47332 (USE_AS_WMEMCMP): New macro.
47334 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47335 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47336 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47337 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47339 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47340 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47341 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47342 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47343 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47344 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47345 (USE_AS_WMEMCMP): New macro.
47346 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47347 * sysdeps/string/test-memcmp.c: Update.
47348 Fix simple_wmemcmp.
47350 * wcsmbs/wmemcmp.c: Update.
47351 (WMEMCMP): New macro.
47354 2011-10-12 Andreas Jaeger <aj@suse.de>
47357 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47359 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47361 * libio/iofwide.c (do_length): Avoid warning.
47363 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47365 2011-10-14 Ulrich Drepper <drepper@gmail.com>
47367 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47369 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47370 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47371 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47372 * sysdeps/i386/i686/fpu/e_log.S: New file.
47373 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47374 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47376 * ctype/ctype.h: Add support for inlined isXXX functions when
47377 compiling C++ code.
47379 2011-10-14 Andreas Schwab <schwab@redhat.com>
47381 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47383 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47385 2011-10-13 Roland McGrath <roland@hack.frob.com>
47388 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47390 2011-10-13 Andreas Schwab <schwab@redhat.com>
47392 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47393 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47396 * sysdeps/x86_64/memrchr.S: Check for zero size.
47398 * string/stratcliff.c: Add memrchr tests.
47400 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47403 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47404 rawmemchr-sse2 rawmemchr-sse2-bsf.
47405 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47406 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47407 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47408 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47409 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47410 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47411 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47412 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47413 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47414 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47415 * string/memrchr.c (MEMRCHR): New macro.
47417 2011-10-12 Ulrich Drepper <drepper@gmail.com>
47419 Add integration with gcc's -ffinite-math-only and optimize wrapper
47421 * Versions.def: Define GLIBC_2.15 version for libm.
47422 * math/Makefile (headers): Add bits/math-finite.h.
47423 * math/bits/math-finite.h: New file.
47424 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47425 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47426 * math/e_acoshl.c: Add __*_finite alias.
47427 * math/e_acosl.c: Likewise.
47428 * math/e_asinl.c: Likewise.
47429 * math/e_atan2l.c: Likewise.
47430 * math/e_atanhl.c: Likewise.
47431 * math/e_coshl.c: Likewise.
47432 * math/e_exp10.c: Likewise.
47433 * math/e_exp10f.c: Likewise.
47434 * math/e_exp10l.c: Likewise.
47435 * math/e_exp2l.c: Likewise.
47436 * math/e_fmodl.c: Likewise.
47437 * math/e_gammal_r.c: Likewise.
47438 * math/e_hypotl.c: Likewise.
47439 * math/e_j0l.c: Likewise.
47440 * math/e_j1l.c: Likewise.
47441 * math/e_jnl.c: Likewise.
47442 * math/e_lgammal_r.c: Likewise.
47443 * math/e_log10l.c: Likewise.
47444 * math/e_log2l.c: Likewise.
47445 * math/e_logl.c: Likewise.
47446 * math/e_powl.c: Likewise.
47447 * math/e_sinhl.c: Likewise.
47448 * math/e_sqrtl.c: Likewise.
47449 * math/e_scalb.c: Completely rewritten and optimized.
47450 * math/e_scalbf.c: Likewise.
47451 * math/e_scalbl.c: Likewise.
47452 * math/w_acos.c: Likewise.
47453 * math/w_acosf.c: Likewise.
47454 * math/w_acosl.c: Likewise.
47455 * math/w_acosh.c: Likewise.
47456 * math/w_acoshf.c: Likewise.
47457 * math/w_acoshl.c: Likewise.
47458 * math/w_asin.c: Likewise.
47459 * math/w_asinf.c: Likewise.
47460 * math/w_asinl.c: Likewise.
47461 * math/w_atan2.c: Likewise.
47462 * math/w_atan2f.c: Likewise.
47463 * math/w_atan2l.c: Likewise.
47464 * math/w_atanh.c: Likewise.
47465 * math/w_atanhf.c: Likewise.
47466 * math/w_atanhl.c: Likewise.
47467 * math/w_exp10.c: Likewise.
47468 * math/w_exp10f.c: Likewise.
47469 * math/w_exp10l.c: Likewise.
47470 * math/w_fmod.c: Likewise.
47471 * math/w_fmodf.c: Likewise.
47472 * math/w_fmodl.c: Likewise.
47473 * math/w_j0.c: Likewise.
47474 * math/w_j0f.c: Likewise.
47475 * math/w_j0l.c: Likewise.
47476 * math/w_j1.c: Likewise.
47477 * math/w_j1f.c: Likewise.
47478 * math/w_j1l.c: Likewise.
47479 * math/w_jn.c: Likewise.
47480 * math/w_jnf.c: Likewise.
47481 * math/w_log.c: Likewise.
47482 * math/w_logf.c: Likewise.
47483 * math/w_logl.c: Likewise.
47484 * math/w_log10.c: Likewise.
47485 * math/w_log10f.c: Likewise.
47486 * math/w_log10l.c: Likewise.
47487 * math/w_log2.c: Likewise.
47488 * math/w_log2f.c: Likewise.
47489 * math/w_log2l.c: Likewise.
47490 * math/w_pow.c: Likewise.
47491 * math/w_powf.c: Likewise.
47492 * math/w_powl.c: Likewise.
47493 * math/w_remainder.c: Likewise.
47494 * math/w_remainderf.c: Likewise.
47495 * math/w_remainderl.c: Likewise.
47496 * math/w_scalb.c: Likewise.
47497 * math/w_scalbf.c: Likewise.
47498 * math/w_scalbl.c: Likewise.
47499 * math/w_sqrt.c: Likewise.
47500 * math/w_sqrtf.c: Likewise.
47501 * math/w_sqrtl.c: Likewise.
47502 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47503 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47505 * math/math_private.h: Declare __kernel_standard_f.
47506 * math/w_cosh.c: Remove cruft and optimize a bit.
47507 * math/w_coshf.c: Likewise.
47508 * math/w_coshl.c: Likewise.
47509 * math/w_exp2.c: Likewise.
47510 * math/w_exp2f.c: Likewise.
47511 * math/w_exp2l.c: Likewise.
47512 * math/w_hypot.c: Likewise.
47513 * math/w_hypotf.c: Likewise.
47514 * math/w_hypotl.c: Likewise.
47515 * math/w_lgamma.c: Likewise.
47516 * math/w_lgamma_r.c: Likewise.
47517 * math/w_lgammaf.c: Likewise.
47518 * math/w_lgammaf_r.c: Likewise.
47519 * math/w_lgammal.c: Likewise.
47520 * math/w_lgammal_r.c: Likewise.
47521 * math/w_sinh.c: Likewise.
47522 * math/w_sinhf.c: Likewise.
47523 * math/w_sinhl.c: Likewise.
47524 * math/w_tgamma.c: Likewise.
47525 * math/w_tgammaf.c: Likewise.
47526 * math/w_tgammal.c: Likewise.
47527 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47528 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47529 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47530 Minor optimizations. Pretty printing. Remove cruft.
47531 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47532 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47533 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47534 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47535 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47536 * sysdeps/i386/fpu/e_asin.S: Likewise.
47537 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47538 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47539 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47540 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47541 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47542 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47543 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47544 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47545 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47546 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47547 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47548 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47549 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47550 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47551 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47552 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47553 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47554 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47555 * sysdeps/i386/fpu/e_log.S: Likewise.
47556 * sysdeps/i386/fpu/e_log10.S: Likewise.
47557 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47558 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47559 * sysdeps/i386/fpu/e_log2.S: Likewise.
47560 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47561 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47562 * sysdeps/i386/fpu/e_logf.S: Likewise.
47563 * sysdeps/i386/fpu/e_logl.S: Likewise.
47564 * sysdeps/i386/fpu/e_pow.S: Likewise.
47565 * sysdeps/i386/fpu/e_powf.S: Likewise.
47566 * sysdeps/i386/fpu/e_powl.S: Likewise.
47567 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47568 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47569 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47570 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47571 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47572 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47573 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47574 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47575 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47576 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47577 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47579 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47580 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47581 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47582 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47583 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47584 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47585 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47586 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47587 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47588 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47589 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47590 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47591 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47593 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47594 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47596 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47597 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47598 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47599 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47600 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47601 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47602 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47603 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47604 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47605 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47606 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47607 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47608 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47609 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47610 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47611 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47612 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47613 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47614 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47615 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47616 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47617 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47618 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47619 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47620 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47621 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47622 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47623 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47624 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47626 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47627 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47628 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47629 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47630 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47631 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47632 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47633 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47634 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47636 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47639 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47641 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47645 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47646 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47647 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47654 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47656 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47658 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47659 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47661 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47662 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47663 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47664 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47665 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47667 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47668 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47669 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47670 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47671 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47672 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47673 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47674 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47675 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47676 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47677 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47678 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47679 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47680 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47681 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47682 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47683 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47684 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47685 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47686 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47687 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47688 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47689 (__isnanf): Likewise.
47690 (__isinf_ns): Likewise.
47691 (__isinf_nsf): Likewise.
47692 (__finite): Likewise.
47693 (__finitef): Likewise.
47694 (__ieee754_sqrt): Define as macro.
47695 (__ieee754_sqrtf): Define as macro.
47696 (__ieee754_sqrtl): Define as macro.
47697 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47699 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47700 __FINITE_MATH_ONLY__ consistent.
47701 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47703 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47705 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47708 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47710 2011-10-09 Ulrich Drepper <drepper@gmail.com>
47712 * po/ja.po: Update from translation team.
47714 2011-10-08 Roland McGrath <roland@hack.frob.com>
47716 * locale/programs/locarchive.c (prepare_address_space): New function.
47717 (create_archive, enlarge_archive, open_archive): Use it.
47719 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47720 inside [SHARED], where it is used.
47722 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47724 * nss/getent.c (netgroup_keys): Remove unused variable.
47725 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47727 2011-10-08 Ulrich Drepper <drepper@gmail.com>
47729 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47730 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47733 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47734 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47735 * math/Makefile (libm-calls): Add s_isinf_ns.
47736 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47737 * math/multc3.c: Likewise.
47738 * math/s_casin.c: Likewise.
47739 * math/s_casinf.c: Likewise.
47740 * math/s_casinl.c: Likewise.
47741 * math/s_ccos.c: Likewise.
47742 * math/s_ccosf.c: Likewise.
47743 * math/s_ccosl.c: Likewise.
47744 * math/s_ctan.c: Likewise.
47745 * math/s_ctanf.c: Likewise.
47746 * math/s_ctanh.c: Likewise.
47747 * math/s_ctanhf.c: Likewise.
47748 * math/s_ctanhl.c: Likewise.
47749 * math/s_ctanl.c: Likewise.
47750 * math/w_fmod.c: Likewise.
47751 * math/w_fmodf.c: Likewise.
47752 * math/w_fmodl.c: Likewise.
47753 * math/w_remainder.c: Likewise.
47754 * math/w_remainderf.c: Likewise.
47755 * math/w_remainderl.c: Likewise.
47756 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47757 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47758 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47760 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47761 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47762 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47763 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47765 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47767 * stdio-common/printf_fphex.c: Likewise.
47768 * stdio-common/printf_size.c: Likewise.
47770 * math/e_exp10.c: Include math_private.h using <...> not "...".
47771 * math/e_exp10f.c: Likewise.
47772 * math/e_exp10l.c: Likewise.
47773 * math/e_exp2l.c: Likewise.
47774 * math/e_j0l.c: Likewise.
47775 * math/e_j1l.c: Likewise.
47776 * math/e_jnl.c: Likewise.
47777 * math/e_lgammal_r.c: Likewise.
47778 * math/e_rem_pio2l.c: Likewise.
47779 * math/e_scalb.c: Likewise.
47780 * math/e_scalbf.c: Likewise.
47781 * math/e_scalbl.c: Likewise.
47782 * math/k_cosl.c: Likewise.
47783 * math/k_sinl.c: Likewise.
47784 * math/k_tanl.c: Likewise.
47785 * math/s_cacoshf.c: Likewise.
47786 * math/s_catan.c: Likewise.
47787 * math/s_catanf.c: Likewise.
47788 * math/s_catanh.c: Likewise.
47789 * math/s_catanhf.c: Likewise.
47790 * math/s_catanhl.c: Likewise.
47791 * math/s_catanl.c: Likewise.
47792 * math/s_ccosh.c: Likewise.
47793 * math/s_ccoshf.c: Likewise.
47794 * math/s_ccoshl.c: Likewise.
47795 * math/s_cexp.c: Likewise.
47796 * math/s_cexpf.c: Likewise.
47797 * math/s_cexpl.c: Likewise.
47798 * math/s_clog.c: Likewise.
47799 * math/s_clog10.c: Likewise.
47800 * math/s_clog10f.c: Likewise.
47801 * math/s_clog10l.c: Likewise.
47802 * math/s_clogf.c: Likewise.
47803 * math/s_clogl.c: Likewise.
47804 * math/s_csin.c: Likewise.
47805 * math/s_csinf.c: Likewise.
47806 * math/s_csinh.c: Likewise.
47807 * math/s_csinhf.c: Likewise.
47808 * math/s_csinhl.c: Likewise.
47809 * math/s_csinl.c: Likewise.
47810 * math/s_csqrt.c: Likewise.
47811 * math/s_csqrtf.c: Likewise.
47812 * math/s_csqrtl.c: Likewise.
47813 * math/s_ctan.c: Likewise.
47814 * math/s_ctanf.c: Likewise.
47815 * math/s_ctanh.c: Likewise.
47816 * math/s_ctanhf.c: Likewise.
47817 * math/s_ctanhl.c: Likewise.
47818 * math/s_ctanl.c: Likewise.
47819 * math/s_ldexp.c: Likewise.
47820 * math/s_ldexpf.c: Likewise.
47821 * math/s_ldexpl.c: Likewise.
47822 * math/s_significand.c: Likewise.
47823 * math/s_significandf.c: Likewise.
47824 * math/s_significandl.c: Likewise.
47825 * math/w_acos.c: Likewise.
47826 * math/w_acosf.c: Likewise.
47827 * math/w_acosh.c: Likewise.
47828 * math/w_acoshf.c: Likewise.
47829 * math/w_acoshl.c: Likewise.
47830 * math/w_acosl.c: Likewise.
47831 * math/w_asin.c: Likewise.
47832 * math/w_asinf.c: Likewise.
47833 * math/w_asinl.c: Likewise.
47834 * math/w_atan2.c: Likewise.
47835 * math/w_atan2f.c: Likewise.
47836 * math/w_atan2l.c: Likewise.
47837 * math/w_atanh.c: Likewise.
47838 * math/w_atanhf.c: Likewise.
47839 * math/w_atanhl.c: Likewise.
47840 * math/w_cosh.c: Likewise.
47841 * math/w_coshf.c: Likewise.
47842 * math/w_coshl.c: Likewise.
47843 * math/w_dremf.c: Likewise.
47844 * math/w_exp10.c: Likewise.
47845 * math/w_exp10f.c: Likewise.
47846 * math/w_exp10l.c: Likewise.
47847 * math/w_exp2.c: Likewise.
47848 * math/w_exp2f.c: Likewise.
47849 * math/w_fmod.c: Likewise.
47850 * math/w_fmodf.c: Likewise.
47851 * math/w_fmodl.c: Likewise.
47852 * math/w_hypot.c: Likewise.
47853 * math/w_hypotf.c: Likewise.
47854 * math/w_hypotl.c: Likewise.
47855 * math/w_j0.c: Likewise.
47856 * math/w_j0f.c: Likewise.
47857 * math/w_j0l.c: Likewise.
47858 * math/w_j1.c: Likewise.
47859 * math/w_j1f.c: Likewise.
47860 * math/w_j1l.c: Likewise.
47861 * math/w_jn.c: Likewise.
47862 * math/w_jnf.c: Likewise.
47863 * math/w_jnl.c: Likewise.
47864 * math/w_lgamma.c: Likewise.
47865 * math/w_lgamma_r.c: Likewise.
47866 * math/w_lgammaf.c: Likewise.
47867 * math/w_lgammaf_r.c: Likewise.
47868 * math/w_lgammal.c: Likewise.
47869 * math/w_lgammal_r.c: Likewise.
47870 * math/w_log.c: Likewise.
47871 * math/w_log10.c: Likewise.
47872 * math/w_log10f.c: Likewise.
47873 * math/w_log10l.c: Likewise.
47874 * math/w_log2.c: Likewise.
47875 * math/w_log2f.c: Likewise.
47876 * math/w_log2l.c: Likewise.
47877 * math/w_logf.c: Likewise.
47878 * math/w_logl.c: Likewise.
47879 * math/w_pow.c: Likewise.
47880 * math/w_powf.c: Likewise.
47881 * math/w_powl.c: Likewise.
47882 * math/w_remainder.c: Likewise.
47883 * math/w_remainderf.c: Likewise.
47884 * math/w_remainderl.c: Likewise.
47885 * math/w_scalb.c: Likewise.
47886 * math/w_scalbf.c: Likewise.
47887 * math/w_scalbl.c: Likewise.
47888 * math/w_sinh.c: Likewise.
47889 * math/w_sinhf.c: Likewise.
47890 * math/w_sinhl.c: Likewise.
47891 * math/w_sqrt.c: Likewise.
47892 * math/w_sqrtf.c: Likewise.
47893 * math/w_sqrtl.c: Likewise.
47894 * math/w_tgamma.c: Likewise.
47895 * math/w_tgammaf.c: Likewise.
47896 * math/w_tgammal.c: Likewise.
47898 * po/ja.po: Update from translation team.
47900 2011-09-29 Andreas Jaeger <aj@suse.de>
47903 * sunrpc/netname.c (netname2host): Fix logic.
47907 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47909 * math/w_remainder.c (__remainder): Likewise.
47910 * math/w_remainderf.c (__remainderf): Likewise.
47911 * math/libm-test.inc (remainder_test): Add test cases.
47913 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47915 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47918 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47920 * string/test-memcmp.c: Avoid unncessary #defines.
47921 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47923 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47925 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47926 Use new sse2 version for core i3 - i7 as it's faster
47927 than sse42 version.
47928 (bit_Prefer_PMINUB_for_stringop): New.
47929 * sysdeps/x86_64/rawmemchr.S: Update.
47930 Replace with faster SSE2 version.
47931 * sysdeps/x86_64/memrchr.S: New file.
47932 * sysdeps/x86_64/memchr.S: Update.
47933 Replace with faster SSE2 version.
47935 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47937 * elf/dl-load.c (lose): Add cast to avoid warning.
47939 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47941 * po/ca.po: Update from translation team.
47943 * inet/getnetgrent_r.c: Hook up nscd.
47944 * nscd/Makefile (routines): Add nscd_netgroup.
47945 (nscd-modules): Add netgroupcache.
47946 (CFLAGS-netgroupcache.c): Define.
47947 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47948 (cache_search): Add const to second parameter.
47949 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47951 (dbs): Add netgrdb entry.
47952 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47953 (verify_persistent_db): Handle netgrdb.
47954 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47955 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47957 (netgroup_response_header): Define.
47958 (innetgroup_response_header): Define.
47959 (datahead): Add netgroup_response_header and innetgroup_response_header
47961 * nscd/nscd.conf: Add entries for netgroup cache.
47962 * nscd/nscd.h (dbtype): Add netgrdb.
47963 (_PATH_NSCD_NETGROUP_DB): Define.
47964 (netgroup_iov_disabled): Declare.
47965 (xmalloc, xcalloc, xrealloc): Move declarations here.
47966 (cache_search): Adjust prototype.
47967 Add netgroup-related prototypes.
47968 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47969 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47970 (__nscd_innetgr): Declare.
47971 * nscd/selinux.c (perms): Use access_vector_t as element type and
47972 add netgroup-related initializers.
47973 * nscd/netgroupcache.c: New file.
47974 * nscd/nscd_netgroup.c: New file.
47975 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47976 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47977 For four parameters use innetgr.
47978 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47979 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47980 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47981 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47983 * nscd/connections.c (register_traced_file): Don't register file
47984 for disabled databases.
47986 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47988 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47990 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47991 from tree and freeing node.
47993 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47995 * nss/nsswitch.c (__nss_database_lookup): Handle
47996 nss_parse_service_list out of memory case.
47998 2011-09-15 Jiri Olsa <jolsa@redhat.com>
48000 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48001 out of memory case.
48003 2011-10-04 Andreas Schwab <schwab@redhat.com>
48005 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48006 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48008 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48009 elf_machine_rela, elf_machine_lazy_rel.
48010 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48011 (ELF_DYNAMIC_DO_REL): Likewise.
48012 (ELF_DYNAMIC_DO_RELA): Likewise.
48013 (ELF_DYNAMIC_RELOCATE): Likewise.
48014 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48015 to ELF_DYNAMIC_DO_REL.
48016 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48017 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48018 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48021 skip_ifunc, don't call ifunc function if non-zero.
48022 (elf_machine_rela): Likewise.
48023 (elf_machine_lazy_rel): Likewise.
48024 (elf_machine_lazy_rela): Likewise.
48025 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48026 (elf_machine_lazy_rel): Likewise.
48027 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48029 (elf_machine_lazy_rel): Likewise.
48030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48032 (elf_machine_lazy_rel): Likewise.
48033 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48034 (elf_machine_lazy_rel): Likewise.
48035 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48036 (elf_machine_lazy_rel): Likewise.
48037 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48038 (elf_machine_lazy_rel): Likewise.
48039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48040 (elf_machine_lazy_rel): Likewise.
48041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48042 (elf_machine_lazy_rel): Likewise.
48043 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48044 (elf_machine_lazy_rel): Likewise.
48046 2011-09-28 Ulrich Drepper <drepper@gmail.com>
48048 * nss/nss_files/files-init.c (_nss_files_init): Use static
48049 initialization for all the *_traced_file variables.
48051 2011-09-28 Andreas Schwab <schwab@redhat.com>
48053 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48055 2011-09-27 Roland McGrath <roland@hack.frob.com>
48058 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48060 2011-09-27 Andreas Schwab <schwab@redhat.com>
48062 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48063 Reread the line before reparsing it.
48065 2011-09-26 Andreas Schwab <schwab@redhat.com>
48067 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48069 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48070 Maxim Kuvyrkov <maxim@codesourcery.com>
48071 Joseph Myers <joseph@codesourcery.com>
48073 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48074 if needed for __stack_chk_guard.
48076 2011-09-19 Roland McGrath <roland@hack.frob.com>
48078 * sysdeps/posix/spawni.c (script_execute): Always define it.
48079 It will be optimized away if unused.
48080 (maybe_script_execute): New function.
48081 (__spawni): Call it.
48083 * Makerules: Don't include tls.make.
48084 (config-tls): Always set to thread.
48085 * tls.make.c: File removed.
48087 2011-09-19 Mike Frysinger <vapier@gentoo.org>
48089 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48090 * config.make.in (CPPFLAGS-config): New substituted variable.
48092 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48094 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48097 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48098 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48100 2011-09-15 Roland McGrath <roland@hack.frob.com>
48102 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48103 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48104 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48105 (CALL_FAIL): Likewise.
48106 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48107 (CALL_FAIL): Macro removed.
48108 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48110 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48113 for __FINITE_MATH_ONLY__ == 1.
48115 2011-09-15 Andreas Schwab <schwab@redhat.com>
48117 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48118 __ieee754_sqrt instead of sqrt.
48119 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48120 __ieee754_sqrtf instead of sqrtf.
48121 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48122 __floorf instead of floorf.
48123 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48124 __floorf, __truncf instead of floorf, truncf.
48126 2011-09-14 Ulrich Drepper <drepper@gmail.com>
48128 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48130 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48131 __extern_always_inline.
48132 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48135 2011-09-14 Andreas Schwab <schwab@redhat.com>
48137 * elf/rtld.c (dl_main): Also relocate in dependency order when
48138 doing symbol dependency testing.
48140 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48143 Always define `refsym'.
48145 2011-09-13 Andreas Schwab <schwab@redhat.com>
48147 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48148 (__FD_ELT): Renamed from __FDELT.
48149 * misc/bits/select2.h (__FD_ELT): Likewise.
48150 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48151 __FD_MASK instead of __FDELT, __FDMASK.
48152 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48154 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48157 * elf/Makefile (gen-ldd): Fix pattern.
48159 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48160 (init_tls): Likewise.
48162 2011-09-12 Ulrich Drepper <drepper@gmail.com>
48164 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48166 2011-09-12 Andreas Schwab <schwab@redhat.com>
48168 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48169 `struct cmsghdr *' instead of `void *'.
48170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48173 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48175 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48177 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48178 ldd_rewrite_script.
48180 2011-09-11 Ulrich Drepper <drepper@gmail.com>
48182 * configure.in: Remove --with-tls option.
48183 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48184 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48185 out in case it is missing.
48186 * sysdeps/ia64/elf/configure.in: Likewise.
48187 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48188 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48189 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48190 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48191 * sysdeps/sh/elf/configure.in: Likewise.
48192 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48193 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48194 * sysdeps/x86_64/elf/configure.in: Likewise.
48195 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48196 * sysdeps/mach/hurd/tls.h: Likewise.
48199 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48202 * configure.in: Fix use of AC_INIT.
48204 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48206 2011-09-10 Ulrich Drepper <drepper@gmail.com>
48208 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48210 * malloc/hooks.c: Likewise.
48213 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48214 variables statically.
48215 (narenas): Initialize.
48216 (list_lock): Initialize.
48217 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48218 initializtion of main_arena and list_lock. Small cleanups.
48219 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48220 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48221 Add initializers to main_arena and mp_.
48222 (malloc_state): Remove pagesize member. Change all users to use
48225 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48226 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48227 is always initialized.
48229 * malloc/malloc.c: Removed unused configurations and dead code.
48230 * malloc/arena.c: Likewise.
48231 * malloc/hooks.c: Likewise.
48232 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48234 * include/tls.h: Removed. USE___THREAD must always be defined.
48235 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48236 * elf/dl-libc.c: Likewise.
48237 * elf/dl-tsd.c: Likewise.
48238 * include/errno.h: Likewise.
48239 * include/netdb.h: Likewise.
48240 * include/resolv.h: Likewise.
48241 * inet/herrno-loc.c: Likewise.
48242 * inet/herrno.c: Likewise.
48243 * malloc/arena.c: Likewise.
48244 * malloc/hooks.c: Likewise.
48245 * malloc/malloc.c: Likewise.
48246 * resolv/res-state.c: Likewise.
48247 * resolv/res_libc.c: Likewise.
48248 * sysdeps/i386/dl-machine.h: Likewise.
48249 * sysdeps/ia64/dl-machine.h: Likewise.
48250 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48251 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48252 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48253 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48254 * sysdeps/sh/dl-machine.h: Likewise.
48255 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48256 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48257 * sysdeps/unix/i386/sysdep.S: Likewise.
48258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48259 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48261 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48263 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48264 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48268 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48269 * sysdeps/x86_64/dl-machine.h: Likewise.
48270 * tls.make.c: Likewise.
48272 * configure.in: Remove --with-__thread option. Make tests for
48273 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48274 tls_model attribute fail if no support is available. Remove
48276 * Makeconfig: Adjust for dropped configure option. All features are
48278 * Makerules: Likewise.
48279 * Versions.def: Likewise.
48280 * argp/argp-fmtstream.c: Likewise.
48281 * argp/argp-fmtstream.h: Likewise.
48282 * argp/argp-help.c: Likewise.
48283 * assert/assert.c: Likewise.
48284 * config.h.in: Likewise.
48285 * config.make.in: Likewise.
48286 * configure: Likewise.
48287 * configure.in: Likewise.
48288 * csu/Versions: Likewise.
48289 * csu/init.c: Likewise.
48290 * elf/tst-audit2.c: Likewise.
48291 * elf/tst-tls10.c: Likewise.
48292 * elf/tst-tls10.h: Likewise.
48293 * elf/tst-tls11.c: Likewise.
48294 * elf/tst-tls12.c: Likewise.
48295 * elf/tst-tls14.c: Likewise.
48296 * elf/tst-tlsmod11.c: Likewise.
48297 * elf/tst-tlsmod12.c: Likewise.
48298 * elf/tst-tlsmod13.c: Likewise.
48299 * elf/tst-tlsmod13a.c: Likewise.
48300 * elf/tst-tlsmod14a.c: Likewise.
48301 * elf/tst-tlsmod15b.c: Likewise.
48302 * elf/tst-tlsmod16a.c: Likewise.
48303 * elf/tst-tlsmod16b.c: Likewise.
48304 * elf/tst-tlsmod7.c: Likewise.
48305 * elf/tst-tlsmod8.c: Likewise.
48306 * elf/tst-tlsmod9.c: Likewise.
48307 * gmon/gmon.c: Likewise.
48308 * grp/fgetgrent_r.c: Likewise.
48309 * grp/putgrent.c: Likewise.
48310 * hurd/fopenport.c: Likewise.
48311 * include/libc-symbols.h: Likewise.
48312 * include/tls.h: Likewise.
48313 * intl/gettextP.h: Likewise.
48314 * intl/loadinfo.h: Likewise.
48315 * locale/global-locale.c: Likewise.
48316 * locale/localeinfo.h: Likewise.
48317 * mach/devstream.c: Likewise.
48318 * malloc/arena.c: Likewise.
48319 * malloc/set-freeres.c: Likewise.
48320 * misc/err.c: Likewise.
48321 * misc/getttyent.c: Likewise.
48322 * misc/mntent_r.c: Likewise.
48323 * posix/getopt.c: Likewise.
48324 * posix/wordexp.c: Likewise.
48325 * pwd/fgetpwent_r.c: Likewise.
48326 * resolv/Versions: Likewise.
48327 * resolv/res_hconf.c: Likewise.
48328 * shadow/fgetspent_r.c: Likewise.
48329 * shadow/putspent.c: Likewise.
48330 * stdio-common/printf_fphex.c: Likewise.
48331 * stdio-common/tmpfile.c: Likewise.
48332 * stdlib/abort.c: Likewise.
48333 * stdlib/fmtmsg.c: Likewise.
48334 * sunrpc/auth_unix.c: Likewise.
48335 * sunrpc/clnt_perr.c: Likewise.
48336 * sunrpc/clnt_tcp.c: Likewise.
48337 * sunrpc/clnt_udp.c: Likewise.
48338 * sunrpc/clnt_unix.c: Likewise.
48339 * sunrpc/openchild.c: Likewise.
48340 * sunrpc/svc_simple.c: Likewise.
48341 * sunrpc/svc_tcp.c: Likewise.
48342 * sunrpc/svc_udp.c: Likewise.
48343 * sunrpc/svc_unix.c: Likewise.
48344 * sunrpc/xdr.c: Likewise.
48345 * sunrpc/xdr_array.c: Likewise.
48346 * sunrpc/xdr_rec.c: Likewise.
48347 * sunrpc/xdr_ref.c: Likewise.
48348 * sunrpc/xdr_stdio.c: Likewise.
48350 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48352 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48354 2011-07-03 Andreas Jaeger <aj@suse.de>
48356 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48357 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48358 regenerate with gen-libm-tests.pl.
48360 2010-05-12 Petr Baudis <pasky@suse.cz>
48363 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48364 around j0() zero points by switching to j1().
48365 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48366 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48368 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48370 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48372 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48374 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48376 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48377 Patch in part by Pavel Roskin <proski@gnu.org>.
48380 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48382 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48383 Free memory block if necessary.
48386 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48387 be NULL. Don't lock in this case.
48389 2011-09-09 Roland McGrath <roland@hack.frob.com>
48391 * elf/elf.h (ELFOSABI_GNU): New macro.
48392 (ELFOSABI_LINUX): Define to that.
48394 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48396 * string/strncat.c (strncat): Undef the symbol in case it has been
48397 defined in bits/string.h.
48399 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48401 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48403 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48406 2011-08-17 Andreas Jaeger <aj@suse.de>
48408 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48410 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48411 Ian Lance Taylor <iant@google.com>
48413 * math/libm-test.inc (lround_test): New testcase.
48414 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48416 2011-09-08 Ulrich Drepper <drepper@gmail.com>
48418 * Makefile: Remove support for automatic cvs check-ins.
48419 * Makerules: Likewise.
48420 * config.make.in: Likewise.
48421 * configure.in: Likewise.
48422 * intl/Makefile: Likewise.
48423 * locale/Makefile: Likewise.
48424 * po/Makefile: Likewise.
48425 * posix/Makefile: Likewise.
48426 * sysdeps/gnu/Makefile: Likewise.
48427 * sysdeps/mach/hurd/Makefile: Likewise.
48428 * sysdeps/sparc/sparc32/Makefile: Likewise.
48431 * posix/Makefile (bug-regex32-ENV): Define.
48432 Patch by John Stanley <jpsinthemix@verizon.net>.
48434 * misc/Makefile (headers): Add bits/select2.h.
48435 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48436 * misc/bits/select2.h: New file.
48437 * include/bits/select2.h: New file.
48438 * debug/Makefile (routines): Add fdelt_chk.
48439 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48440 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48442 * debug/fdelt_chk.c: New file.
48444 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48445 * wcsmbs/test-wmemcmp.c: Likewise.
48446 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48447 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48449 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48451 * string/Makefile (strop-tests): Add memcmp.
48452 * string/test-wmemcmp.c: New file.
48453 * string/test-memcmp.c: Add wmemcmp support.
48455 2011-09-08 Roland McGrath <roland@hack.frob.com>
48458 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48461 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48462 garbage value in a __mach_port_mod_refs call in the cases of the
48463 task-self and thread-self ports.
48465 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48467 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48469 2011-09-08 Andreas Schwab <schwab@redhat.com>
48471 * elf/dl-load.c (lose): Check for non-null L.
48473 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48475 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48477 * elf/dl-libc.c (dlerror_run): Pass back error code from
48481 * elf/dl-load.c (lose): Free l_origin if it is valid.
48483 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48485 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48486 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48488 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48489 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48490 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48492 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48494 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48495 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48496 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48497 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48498 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48499 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48500 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48501 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48502 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48503 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48505 2011-08-15 Alan Modra <amodra@gmail.com>
48508 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48509 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48510 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48511 ppc_mcount to static-only-routines.
48512 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48514 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48515 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48517 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48519 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48520 for finite and infinity parameters.
48522 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48524 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48525 and add nop instructions for throughput optimization.
48526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48528 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48530 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48531 aligned copy for power7 with vector-scalar instructions.
48532 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48534 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48539 2011-09-07 Andreas Schwab <schwab@redhat.com>
48542 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48545 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48547 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48548 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48549 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48550 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48553 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48555 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48556 Forgot to demangle the pointer.
48558 * sysdeps/i386/sysdep.h: Define atom_text_section.
48559 * sysdeps/x86_64/sysdep.h: Likewise.
48560 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48561 section with atom_text_section.
48562 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48563 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48564 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48566 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48568 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48569 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48570 already be defined. Change to take two parameters and don't assign
48571 result to variable. Adjust all users.
48572 Define INTERNAL_GETTIME if not already defined.
48573 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48576 HAVE_CLOCK_GETTIME_VSYSCALL.
48577 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48580 gettimeofday vsyscall, just use time.
48582 2011-09-06 Andreas Schwab <schwab@redhat.com>
48584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48587 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48589 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48593 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48594 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48595 syscall if possible.
48597 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48599 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48600 e_ident. Don't pass to find_mapsXX.
48601 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48603 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48605 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48606 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48607 * sysdeps/x86_64/multiarch/strchr.S: Update.
48608 Check bit_slow_BSF bit.
48609 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48610 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48611 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48613 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48616 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48618 (tryshell): Define.
48619 (__spawni): Change last parameter to be flag. Test
48620 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48621 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48622 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48623 * posix/spawni.c: Likewise.
48624 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48625 * posix/spawnp.c: Likewise. Change normal version to use
48626 SPAWN_XFLAGS_USE_PATH.
48627 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48628 SPAWN_XFLAGS_TRY_SHELL.
48631 * posix/glob.h: Remove gcc 1.x support.
48634 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48636 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48639 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48641 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48642 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48643 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48644 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48645 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48646 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48648 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48650 * sysdeps/x86_64/wcscmp.S: New file.
48652 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48653 wcscmp-c wcscmp-sse2
48654 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48655 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48656 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48657 * wcsmbs/wcscmp.c: Allow renaming.
48659 2011-09-05 David S. Miller <davem@davemloft.net>
48661 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48662 stack slot, rather than the struct return pointer slot.
48663 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48664 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48666 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48668 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48670 * po/ja.po: Update from translation team.
48673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48674 kernel in 64-bit binaries.
48676 2011-09-01 David S. Miller <davem@davemloft.net>
48678 * elf/elf.h (HWCAP_SPARC_*): Move to..
48679 * sysdeps/sparc/sysdep.h: this new file and add new values.
48680 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48681 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48682 _DL_HWCAP_COUNT to 24.
48683 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48685 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48686 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48687 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48689 instead of magic constants.
48690 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48692 2011-08-31 David S. Miller <davem@davemloft.net>
48694 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48696 Reimplement to do errno handling inline.
48697 (SYSCALL_ERROR_HANDLER): New macro.
48698 (__SYSCALL_STRING): Do not do errno handling in asm.
48699 (__CLONE_SYSCALL_STRING): Delete.
48700 (__INTERNAL_SYSCALL_STRING): Delete.
48701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48702 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48703 (PSEUDO): Reimplement to do errno handling inline.
48704 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48705 (SYSCALL_ERROR_HANDLER): New macro.
48706 (__SYSCALL_STRING): Do not do errno handling in asm.
48707 (__CLONE_SYSCALL_STRING): Delete.
48708 (__INTERNAL_SYSCALL_STRING): Delete.
48709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48710 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48712 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48713 (inline_syscall*): Add 'err' argument.
48714 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48715 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48716 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48717 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48719 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48720 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48722 2011-08-30 Andreas Schwab <schwab@redhat.com>
48724 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48726 2011-08-29 Jiri Olsa <jolsa@redhat.com>
48728 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48731 2011-08-24 David S. Miller <davem@davemloft.net>
48733 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48735 2011-08-24 Andreas Schwab <schwab@redhat.com>
48737 * elf/Makefile: Add rules to build and run unload8 test.
48738 * elf/unload8.c: New file.
48739 * elf/unload8mod1.c: New file.
48740 * elf/unload8mod1x.c: New file.
48741 * elf/unload8mod2.c: New file.
48742 * elf/unload8mod3.c: New file.
48744 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48747 2011-08-23 David S. Miller <davem@davemloft.net>
48749 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48750 subtract stack bias.
48751 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48752 %sp not %fp in calculations.
48753 (_JMPBUF_UNWINDS_ADJ): Likewise.
48755 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48756 (aio_suspend): Call it to force an exception region around the
48757 AIO_MISC_WAIT() invocation.
48759 2011-08-23 Andreas Schwab <schwab@redhat.com>
48761 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48764 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48766 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48768 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48769 and <dl-machine.h>.
48770 (Elf64_FuncDesc): Remove.
48772 2011-08-22 David S. Miller <davem@davemloft.net>
48774 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48775 sigaltstack check, add missing cfi directives.
48776 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48777 missing cfi directives, and sigaltstack handling.
48779 2011-08-16 Andreas Schwab <schwab@redhat.com>
48782 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48783 object is seen twice.
48784 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48786 * elf/Makefile (distribute): Add tst-initorder2.c.
48787 (tests): Add tst-initorder2.
48788 (modules-names): Add tst-initorder2a tst-initorder2b
48789 tst-initorder2c tst-initorder2d. Add rules to build them.
48790 ($(objpfx)tst-initorder2.out): New rule.
48791 * elf/tst-initorder2.c: New file.
48792 * elf/tst-initorder2.exp: New file.
48794 2011-08-22 Andreas Schwab <schwab@redhat.com>
48796 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48798 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48799 dependencies back to end of function.
48801 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48802 $(elfobjdir)/ld.so.
48804 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48806 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48807 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48809 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48810 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48811 of __vdso_gettimeofday.
48812 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48813 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48815 (_libc_vdso_platform_setup): Remove initialization of
48816 __vdso_gettimeofday and __vdso_time.
48818 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48820 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48821 and fgetc_unlocked.
48822 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48825 * elf/dl-open.c (add_to_global): Report additions to the global scope
48826 for LD_DEBUG=scopes.
48827 (dl_open_worker): Also print scope of newly loaded dependencies.
48828 (_dl_show_scope): Indicate if there is no scope.
48831 * stdio-common/Makefile (tests): Add bug24.
48832 * stdio-common/bug24.c: New file.
48834 2011-08-19 Andreas Jaeger <aj@suse.de>
48837 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48838 non-existant file when using close-on-exec mode.
48840 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48842 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48843 the very first instruction.
48845 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48846 the CFI state in the end.
48847 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48848 inclusion of dl-trampoline.h.
48849 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48851 2011-08-19 Andreas Schwab <schwab@redhat.com>
48853 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48854 expectations for long double.
48856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48857 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48859 2011-08-14 David S. Miller <davem@davemloft.net>
48861 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48862 artificual limit depends upon the system page size.
48864 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48866 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48867 * resolv/Makefile: Define CFLAGS-libresolv.
48869 2011-08-17 Andreas Schwab <schwab@redhat.com>
48871 * nss/makedb.c (compute_tables): Make variables used in nested
48874 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48876 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48877 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48878 if buffer was too small.
48880 * elf/pldd.c (main): Attach to all threads in the process.
48881 Rewrite /proc handling to use *at functions.
48883 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48885 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48886 specifies first scope to show.
48887 (dl_open_worker): Update callers. Move printing scope of new
48888 object to before the relocation.
48889 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48890 * sysdeps/generic/ldsodefs.h: Update declaration.
48892 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48893 string for the scope number.
48895 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48897 * nscd/servicescache.c (cache_addserv): Make sure written is always
48900 2011-08-14 Roland McGrath <roland@hack.frob.com>
48902 * sysdeps/i386/i486/bits/atomic.h
48903 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48904 statement expression, so as to suppress "set but not used" warning.
48905 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48907 * string/strncat.c (STRNCAT): Use prototype definition.
48909 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48910 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48912 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48913 (localedef-modules): Add localedef.
48914 (locale-modules): Add locale.
48916 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48917 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48918 to avoid a warning.
48920 2011-08-14 David S. Miller <davem@davemloft.net>
48922 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48923 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48925 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48927 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48928 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48929 * elf/rtld.c (dl_main): Set l_name of vDSO.
48930 Call _dl_show_scope when DL_DEBUG_SCOPES.
48931 (process_dl_debug): Recognize scopes flag and also set it for all.
48932 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48933 Declare _dl_show_scope.
48935 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48936 (do_dlopen): Pass caller_dlopen to dl_open.
48937 (__libc_dlopen_mode): Initialize caller_dlopen.
48939 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48940 of libc. Make tolower call locale-independent. Optimize a bit by
48941 using isdigit instead of isalnum.
48942 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48944 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48946 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48947 was a dependency or dynamically loaded.
48949 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48951 * intl/l10nflist.c: Allow architecture-specific pop function.
48952 * sysdeps/x86_64/l10nflist.c: New file.
48954 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48957 2011-08-10 Andreas Schwab <schwab@redhat.com>
48959 * include/dirent.h: Add libc_hidden_proto for scandirat and
48960 scandirat64. Don't declare __scandirat64.
48961 * dirent/scandirat.c: Add libc_hidden_def.
48962 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48963 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48965 2011-08-10 David S. Miller <davem@davemloft.net>
48967 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48969 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48973 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48975 * Versions.def [libc]: Add GLIBC_2.15.
48976 * dirent/Makefile (routines): Add scandirat and scandirat64.
48977 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48979 * dirent/dirent.h: Declare scandirat and scandirat64.
48980 * dirent/scandirat.c: New file.
48981 * dirent/scandirat64.c: New file.
48982 * sysdeps/wordsize-64/scandirat.c: New file.
48983 * sysdeps/wordsize-64/scandirat64.c: New file.
48984 * dirent/opendir.c: Define opendirat.
48985 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48987 * dirent/scandir64.c: Adjust for scandir.c change.
48988 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48989 __scandirat64, and __scandir_cancel_handler.
48990 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48991 additional parameter and use openat instead of open (outside of ld.so).
48992 Add new __opendir as wrapper around __opendirat.
48993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48994 here without requiring old scandirat implementation.
48996 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48998 * dirent/scandir.c (cancel_handler): Renamed to
48999 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49000 defined. Adjust users.
49001 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49002 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49004 2011-08-04 Ulrich Drepper <drepper@gmail.com>
49006 * string/test-string.h (IMPL): Use __STRING to expand name and then
49009 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49012 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49014 * string/Makefile: Update.
49015 (strop-tests): Append strncat.
49016 * string/test-wcscmp.c: New file.
49017 New comprehensive test for wcscmp.
49018 * string/test-strcmp.c: Update.
49019 (WIDE): New define.
49021 2011-07-22 Andreas Schwab <schwab@redhat.com>
49023 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49026 2011-07-26 Andreas Schwab <schwab@redhat.com>
49028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49029 encoding to ACE if AI_IDN.
49031 2011-08-01 Jakub Jelinek <jakub@redhat.com>
49033 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49034 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49036 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49038 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49039 Fix overflow bug in strncat.
49040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49042 * string/test-strncat.c: Update.
49043 Add new tests for checking overflow bugs.
49045 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49048 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49049 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49050 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49051 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49052 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49053 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49054 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49055 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49057 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49058 (USE_AS_STRCAT): Define.
49059 Add strcat and strncat support.
49060 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49062 2011-07-25 Andreas Schwab <schwab@redhat.com>
49064 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49065 __n bigger than INT_MAX+1.
49066 (__strncmp_g): Likewise.
49068 2011-07-23 Ulrich Drepper <drepper@gmail.com>
49070 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49071 * libio/stido.h: Likewise.
49073 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49075 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49078 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49080 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49081 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49085 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49090 (_dl_x86_64_save_sse): Likewise.
49092 2011-07-22 Ulrich Drepper <drepper@gmail.com>
49094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49096 (_dl_x86_64_save_sse): Likewise.
49098 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49100 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49102 2011-07-21 Andreas Schwab <schwab@redhat.com>
49104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49106 (_dl_x86_64_save_sse): Use correct AVX check.
49108 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49110 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49111 bug in strncpy/strncat.
49112 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49114 2011-07-21 Ulrich Drepper <drepper@gmail.com>
49116 * string/tester.c (test_strcat): Add tests for different alignments
49117 of source and destination.
49118 (test_strncat): Likewise.
49120 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49123 * posix/glob.c (glob): Check passed in values before using them in
49124 expressions to avoid some overflows.
49125 (glob_in_dir): Likewise.
49128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49129 check for AVX enablement so that we don't crash with old kernels and
49131 * elf/tst-audit4.c: Add same checks here.
49132 * elf/tst-audit6.c: Likewise.
49134 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49136 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49138 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49140 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49142 * po/cs.po: Update from translation team.
49143 * po/bg.po: Likewise.
49145 2011-07-12 Marek Polacek <mpolacek@redhat.com>
49147 * misc/sys/cdefs.h: Add support for const attribute.
49148 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49149 to gnu_dev_{major,minor,makedev} functions.
49151 2011-07-20 Marek Polacek <mpolacek@redhat.com>
49153 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49155 2011-07-20 Andreas Schwab <schwab@redhat.com>
49157 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49160 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49163 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49164 register in order to avoid conflicts with the soft frame pointer
49165 being held in r11 when necessary.
49166 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49167 (INTERNAL_VSYSCALL_NCS): Likewise.
49169 2011-07-14 Marek Polacek <mpolacek@redhat.com>
49171 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49172 * elf/dl-fini.c (_dl_fini): Adjust caller.
49173 * elf/dl-close.c (_dl_close_worker): Likewise.
49174 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49176 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49178 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49179 "aux_cache->nlibs < 0".
49181 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49182 in the reload-count case.
49184 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49187 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49188 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49189 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49190 * sysdeps/x86_64/multiarch/strcat.S: New file.
49191 * sysdeps/x86_64/multiarch/strncat.S: New file.
49192 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49193 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49194 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49195 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49197 (USE_AS_STRCAT): Define.
49198 Add strcat and strncat support.
49199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49201 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49202 * string/strncat.c: Update.
49203 (USE_AS_STRNCAT): Define.
49204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49205 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49207 * sysdeps/x86_64/multiarch/init-arch.h
49208 (bit_Prefer_PMINUB_for_stringop): New.
49209 (index_Prefer_PMINUB_for_stringop): Likewise.
49210 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49211 bit_Prefer_PMINUB_for_stringop.
49213 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49215 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49217 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49218 of casting of buffer.
49219 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49220 buffer32 and buffer64.
49221 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49222 writes instead of casting of buffer.
49223 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49225 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49228 2011-07-19 Andreas Schwab <schwab@redhat.com>
49230 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49232 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49234 * nscd/nscd.c (termination_handler): Don't do anything for a database
49235 if it has not yet been initialized.
49237 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49239 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49241 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49243 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49245 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49247 * po/nl.po: Update from translation team.
49248 * po/sv.po: Likewise.
49250 2011-07-16 Roland McGrath <roland@hack.frob.com>
49252 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49253 now disallowed by GCC.
49255 * configure.in (use-default-link): Default to yes if a test -shared
49256 link meets our qualifications.
49257 * configure: Regenerated.
49259 * config.make.in (output-format): New variable.
49260 * configure.in: Check for ld --print-output-format support.
49261 * configure: Regenerated.
49262 * Makerules ($(common-objpfx)format.lds)
49263 [$(output-format) != unknown]: Just use $(output-format),
49264 instead of the linker-script munging.
49266 2011-07-14 Roland McGrath <roland@hack.frob.com>
49268 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49269 of $(common-objpfx)shlib.lds.
49270 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49272 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49273 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49275 * configure.in (-z relro check): Adjust test code to add a large
49276 writable data section after it.
49277 * configure: Regenerated.
49279 2011-07-11 Roland McGrath <roland@hack.frob.com>
49281 * configure.in (-z relro check): Fix test code to make the variable
49283 * configure: Regenerated.
49285 2011-07-11 Ulrich Drepper <drepper@gmail.com>
49287 * nscd/nscd.h (struct traced_file): Define.
49288 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49289 elements. Add traced_files.
49290 (inotify_fd): Declare.
49291 (register_traced_file): Declare.
49292 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49293 (inotify_fd): Export.
49294 (resolv_conf_descr): Remove.
49295 (nscd_init): Move inotify descriptor creation to main.
49296 Don't register files for notification here.
49297 (register_traced_file): New function.
49298 (invalidate_cache): Don't use reset_res to determine whether to call
49299 res_init, go through the list of registered files.
49300 (main_loop_poll): The inotify descriptors are now stored in the
49301 structures for the traced files.
49302 (main_loop_epoll): Likewise
49303 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49304 to __nss_disable_nscd.
49305 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49306 for a database anymore. Check the records for all the registered
49308 * nss/Makefile (libnss_files-routines): Add files-init.
49309 (libnss_db-routines): Add db-init.
49310 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49311 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49312 * nss/nss_db/db-init.c: New file.
49313 * nss/nss_files/files-init.c: New file.
49314 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49315 __nss_lookup_function.
49316 (__nss_lookup_function): Call nss_load_library.
49317 (nss_load_all_libraries): New function.
49318 (__nss_disable_nscd): Take parameter with callback function for files
49319 to register. Set is_nscd. Load all the DSOs for the NSS modules
49320 used for the cached services.
49321 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49322 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49323 options for features to all the files in nscd.
49325 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49327 2011-07-10 Roland McGrath <roland@hack.frob.com>
49329 * csu/elf-init.c (__libc_csu_init): Comment typo.
49331 2011-07-09 Ulrich Drepper <drepper@gmail.com>
49333 * po/pl.po: Update from translation team.
49334 * po/ja.po: Likewise.
49335 * po/ru.po: Likewise.
49336 * po/ko.po: Likewise.
49337 * po/fr.po: Likewise.
49339 2011-07-09 Roland McGrath <roland@hack.frob.com>
49341 * configure.in (.ctors/.dtors header and trailer check):
49342 Use an empirical test on a built program.
49343 * configure: Regenerated.
49345 * configure.in (-z relro check): Use an empirical test on a built DSO.
49346 Detect, but do not require, on ia64.
49347 * configure: Regenerated.
49349 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49350 Update tests that use readelf to use $READELF instead.
49351 * configure: Regenerated.
49353 2011-07-08 Ulrich Drepper <drepper@gmail.com>
49355 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49356 if the result is not used.
49358 2011-07-05 Andreas Jaeger <aj@suse.de>
49361 * stdlib/tst-strtod.c: Add testcase.
49363 2011-07-07 Ulrich Drepper <drepper@gmail.com>
49365 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49366 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49367 The latter has a higher limit. Take additional parameter to pass to
49369 (__pathconf): Pass file to __statfs_link_max.
49370 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49372 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49376 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49377 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49379 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49380 (__statfs_filesize_max): Likewise.
49381 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49383 2011-07-05 Andreas Jaeger <aj@suse.de>
49385 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49387 2011-07-06 Marek Polacek <mpolacek@redhat.com>
49389 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49391 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49394 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49396 * Makefile (strop-tests): Add strncat.
49397 * string/test-strncat.c: New file.
49399 2011-06-30 Marek Polacek <mpolacek@redhat.com>
49401 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49403 2011-06-21 Andreas Jaeger <aj@suse.de>
49405 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49406 Copy rule from iconvdata/Makefile.
49408 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49411 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49412 but no long options are defined, just return 'W'.
49414 2011-06-22 Marek Polacek <mpolacek@redhat.com>
49417 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49419 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49421 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49423 (innetgr): Likewise.
49425 2011-07-05 Roland McGrath <roland@hack.frob.com>
49427 * config.make.in (install_root): Default to $(DESTDIR).
49429 2011-07-05 Ulrich Drepper <drepper@gmail.com>
49431 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49433 2011-07-02 Roland McGrath <roland@hack.frob.com>
49435 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49437 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49438 containing directory rather than embedding absolute directory names.
49440 * scripts/check-local-headers.sh: Rewritten using awk.
49441 Match by word, not by line. Print error messages for matches.
49442 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49444 * Makerules [shlib-lds-flags empty]:
49445 ($(common-objpfx)libc_pic.opts): New target.
49446 ($(common-objpfx)libc_pic.os.clean): New target.
49447 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49449 * config.make.in (OBJCOPY): New variable.
49450 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49451 * configure: Regenerated.
49453 * config.make.in (use-default-link): New variable.
49454 * configure.in (use_default_link): Grok --with-default-link to set it.
49455 * configure: Regenerated.
49456 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49457 (shlib-lds, shlib-lds-flags): Define to empty.
49459 * Makerules (shlib-lds): New variable.
49460 (shlib-lds-flags): New variable.
49461 (build-shlib, build-moduile, build-module-asneeded): Use it.
49462 ($(common-objpfx)libc.so): Use $(shlib-lds).
49463 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49464 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49466 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49467 DT_FLAGS/DT_FLAGS_1 with zero flags.
49469 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49470 linker script munging.
49472 2011-07-02 Ulrich Drepper <drepper@gmail.com>
49474 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49476 * crypt/sha512.c (sha512_process_block): Perform total addition using
49477 128-bit if possible.
49478 (__sha512_finish_ctx): Likewise.
49479 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49481 * crypt/sha256.c (SWAP64): Define.
49482 (sha256_process_block): Perform total addition using 64-bit if
49484 (__sha256_finish_ctx): Likewise.
49486 2011-07-01 Ulrich Drepper <drepper@gmail.com>
49488 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49490 * nscd/hstcache.c (cache_addhst): Likewise.
49491 * nscd/grpcache.c (cache_addgr): Likewise.
49492 * nscd/aicache.c (addhstaiX): Likewise
49493 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49495 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
49497 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49498 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49499 * nscd/hstcache.c (cache_addhst): Likewise.
49500 * nscd/grpcache.c (cache_addgr): Likewise.
49501 * nscd/aicache.c (addhstaiX): Likewise
49503 2011-07-01 Andreas Schwab <schwab@redhat.com>
49505 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49506 domain only when needed.
49508 2011-06-30 Andreas Schwab <schwab@redhat.com>
49510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49511 is always restored.
49513 2011-06-29 Ulrich Drepper <drepper@gmail.com>
49515 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49516 are re-adding the entry.
49517 * nscd/servicescache.c (cache_addserv): Likewise.
49519 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49521 * sysdeps/generic/dl-irel.h: fix protection against multiple
49523 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49525 2011-06-28 Ulrich Drepper <drepper@gmail.com>
49528 * malloc/memusage.sh: Fix quoting in message.
49529 * debug/xtrace.sh: Likewise.
49531 * configure.in: Remove support for --experimental-malloc option, make
49533 * config.make.in: Likewise.
49534 * malloc/Makefile: Likewise.
49536 2011-06-27 Andreas Schwab <schwab@redhat.com>
49538 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49539 two-byte characters.
49541 2011-06-27 Roland McGrath <roland@hack.frob.com>
49543 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49544 AC_CACHE_CHECK invocation.
49545 * configure: Regenerated.
49547 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49549 2011-06-27 Ulrich Drepper <drepper@gmail.com>
49552 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49553 bit from old_res_options.
49555 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49557 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49558 value type for setfct.
49560 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49563 __gettimeofday instead of gettimeofday.
49565 2011-06-26 Ulrich Drepper <drepper@gmail.com>
49567 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49569 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49571 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49576 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49579 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49580 strcpy-sse2-unaligned strncpy-sse2-unaligned
49581 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49582 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49583 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49584 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49585 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49586 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49587 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49588 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49589 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49590 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49591 (STRCPY): Support SSE2 and SSSE3 versions.
49593 2011-06-24 Ulrich Drepper <drepper@gmail.com>
49596 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49597 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49598 kernels which artificially limit size of requests.
49600 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49603 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49604 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49605 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49606 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49607 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49608 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49609 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49610 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49611 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49612 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49613 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49614 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49615 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49616 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49618 Enable unaligned load optimization for Intel Core i3, i5 and i7
49620 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49622 (index_Fast_Unaligned_Load): Define.
49623 (HAS_FAST_UNALIGNED_LOAD): Define.
49625 2011-06-23 Marek Polacek <mpolacek@redhat.com>
49627 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49629 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49632 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49633 until it is clear that the information is realy needed.
49634 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49636 2011-06-22 Andreas Schwab <schwab@redhat.com>
49638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49640 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49642 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49643 /sys/devices/system/cpu/online if it is usable.
49645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49646 reading the information from the /proc filesystem to once a second.
49648 2011-06-21 Andreas Jaeger <aj@suse.de>
49650 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49651 NULL after inclusion of kernel headers.
49653 2011-06-21 Ulrich Drepper <drepper@gmail.com>
49655 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49656 calls to internal_setent.
49659 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49660 addresses using gethostbyname4_r ignore IPv4 addresses.
49662 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49663 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49665 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49667 2011-06-20 David S. Miller <davem@davemloft.net>
49669 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49671 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49673 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49674 (elf_irel): Use it.
49675 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49676 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49677 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49678 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49679 * sysdeps/x86_64/dl-irel.h: Likewise.
49681 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49682 * elf/dl-sym.c: Likewise.
49684 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49686 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49687 need to dereference resplen2.
49689 2011-06-14 Andreas Schwab <schwab@redhat.com>
49691 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49693 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49695 * Makeconfig: Define vardbdir and inst_vardbdir.
49696 * nss/Makefile: Add rules to install db-Makefile.
49698 * nss/nss_db/db-XXX.c: Cleanup.
49700 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49701 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49703 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49704 * nss/makedb.c: Implement -g option to specify that value strings
49705 are generated and should not be added to table iterated over for
49707 * nss/nss_db/db-initgroups.c: New file.
49709 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49712 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49713 (internal_getgrouplist): Adjust to name change.
49714 Update use_initgroups_entry if this is not the first call.
49715 * nss/databases.def: Add initgroups entry.
49717 * nss/makedb.c (compute_tables): Check result of multiple hash table
49718 sizes to minimize maximum chain length.
49720 2011-06-14 Ulrich Drepper <drepper@gmail.com>
49722 * Versions.def: Add entry for libnss_db.
49723 * shlib-versions: Likewise.
49724 * nss/Makefile: Add rules to build libnss_db.
49725 * nss/Versions: Add libnss_db information. Organize libnss_files
49727 * nss/db-Makefile: Add gshadow support. Change rules for the new
49728 makedb progra. Some minor improvements to generate smaller files.
49729 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49731 * nss/makedb.c: ...here.
49732 Improve database format to be smaller and require less memory at
49734 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49736 * nss/nss_db/db-netgrp.c: Likewise.
49737 * nss/nss_db/db-open.c: Likewise.
49738 * nss/nss_files/flies-XXX.x: Adjust comments.
49739 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49740 * nss/nss_files/files-grp.c: Likewise.
49741 * nss/nss_files/files-hosts.c: Likewise.
49742 * nss/nss_files/files-network.c: Likewise.
49743 * nss/nss_files/files-proto.c: Likewise.
49744 * nss/nss_files/files-pwd.c: Likewise.
49745 * nss/nss_files/files-rpc.c: Likewise.
49746 * nss/nss_files/files-service.c: Likewise.
49747 * nss/nss_files/files-sgrp.c: Likewise.
49748 * nss/nss_files/files-spwd.c: Likewise.
49749 * nss/nss_db/db-alias.c: Removed.
49750 * nss/nss_db/dummy-db.h: Removed.
49752 2011-06-02 Ulrich Drepper <drepper@gmail.com>
49754 * nss/makedb.c: Rewritten to not use database library.
49755 * nss/Makefile: Update to build new makedb program.
49757 2011-06-14 Andreas Jaeger <aj@suse.de>
49759 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49760 memset declaration.
49762 2011-06-10 Andreas Schwab <schwab@redhat.com>
49764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49767 2011-06-10 Roland McGrath <roland@hack.frob.com>
49769 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49770 * elf/Makefile ($(objpfx)ld.so): Likewise.
49772 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49773 Don't list ld.so twice in dependencies.
49775 * posix/bug-regex31.c: Include <stdlib.h>.
49777 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49779 * nis/nss_compat/compat-spwd.c
49780 (getspent_next_nss_netgr): Remove unused variable.
49781 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49783 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49784 nonmembers" output to use the right array.
49786 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49788 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49790 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49791 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49792 * catgets/gencat.c (read_input_file): Likewise.
49793 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49795 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49796 variable definition inside #if's controlling its use.
49798 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49800 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49802 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49804 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49807 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49809 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49810 * configure: Regenerated.
49812 * Makerules: Revert last change.
49813 * elf/Makefile: Likewise.
49815 2011-06-09 Roland McGrath <roland@hack.frob.com>
49817 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49818 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49819 (reloc-link): Likewise.
49821 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49823 * elf/Makefile: Add rules to build pldd.
49824 * elf/pldd.c: New file.
49825 * elf/pldd-xx.c: New file.
49827 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49829 * version.h: Update for 2.15 development version.
49831 2011-06-07 David S. Miller <davem@davemloft.net>
49833 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49836 elf_machine_lazy_rel): Likewise.
49837 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49838 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49839 elf_machine_lazy_rel): Likewise.
49840 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49841 dl_hwcap via passed in argument.
49842 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49845 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49847 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49849 2011-06-06 Roland McGrath <roland@hack.frob.com>
49852 * manual/fdl-1.1.texi: New file, verbatim from:
49853 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49854 * manual/lgpl-2.1.texi: New file, verbatim from:
49855 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49856 * manual/Makefile (licenses): New variable, list those new file names.
49858 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49860 * manual/fdl.texi: File removed.
49861 * manual/lesser.texi: File removed.
49862 * manual/libc.texinfo (Copying, Documentation License):
49863 Use new @include file names, put @appendix directive before @include.
49865 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49868 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49869 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49870 (mq_open): Add __NTH.
49872 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49875 Assume Intel Core i3/i5/i7 processor if AVX is available.
49877 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49882 2011-05-31 Andreas Schwab <schwab@redhat.com>
49884 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49885 memory. Use alloca_account. Fix memory leak when retrying.
49887 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49889 * version.h (RELEASE): Bump for 2.14 release.
49890 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49892 * config.make.in (RANLIB): Remove entry.
49894 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49896 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49897 (libc.pot): Work around missing support for .ksh extension in xgettext.
49900 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49901 if both request failed.
49902 (send_dg): In case of server errors clear resplen or *resplen2.
49905 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49906 when there are multiple maps.
49907 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49908 (_dl_fini): Remove test here.
49910 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49912 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49915 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49916 bit from old_res_options.
49917 (gaih_inet): Likewise.
49920 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49923 * resolv/res_init.c (res_setoptions): Make the code more compact.
49926 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49930 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49932 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49935 * malloc/malloc.h: Declare malloc hook variables as volatile.
49937 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49941 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49942 raise in the comment.
49943 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49944 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49945 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49947 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49950 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49951 grow the buffers more if it already has to be sufficient.
49952 (build_wcs_upper_buffer): Likewise.
49953 * posix/regexec.c (check_matching): Likewise.
49954 (clean_state_log_if_needed): Likewise.
49955 (extend_buffers): Don't enlarge buffers beyond size of the input
49957 Patches mostly by Emil Wojak <emil@wojak.eu>.
49958 * posix/bug-regex32.c: New file.
49959 * posix/Makefile (tests): Add bug-regex32.
49961 * locale/findlocale.c (_nl_find_locale): Return right away if
49962 _nl_explode_name failed.
49963 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49965 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49967 * debug/xtrace.sh: Unify messages.
49968 * malloc/memusage.sh: Likewise.
49971 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49972 time symbol from vDSO. Substitute with vsyscall if not available.
49973 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49976 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49977 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49978 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49979 Add sendmmsg and internal_sendmmsg.
49980 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49981 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49982 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49984 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49985 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49986 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49988 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49991 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49992 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49994 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49998 * iconvdata/Makefile (tests): Add bug-iconv9.
49999 * iconvdata/bug-iconv9.c: New file.
50001 2011-05-27 Andreas Schwab <schwab@redhat.com>
50004 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50006 2011-05-25 Jakub Jelinek <jakub@redhat.com>
50008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50009 (struct user_regs_struct): Change intcs field back to cs.
50011 2011-05-25 Ulrich Drepper <drepper@gmail.com>
50013 * po/ja.po: Update from translation team.
50015 2011-05-23 Ulrich Drepper <drepper@gmail.com>
50018 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50019 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50021 2011-05-20 Andreas Schwab <schwab@redhat.com>
50023 * stdlib/longlong.h: Update from GCC.
50025 2011-05-23 Andreas Schwab <schwab@redhat.com>
50027 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50029 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50030 Add parameter name.
50031 (__sysconf): Pass it down.
50033 2011-05-22 Ulrich Drepper <drepper@gmail.com>
50036 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50038 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50039 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50040 add in in __libc_use_alloca calls. Adjust callers.
50041 (glob): Use malloc in some situations.
50043 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50044 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50047 2011-05-21 Ulrich Drepper <drepper@gmail.com>
50049 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50050 and CLOCK_BOOTTIME_ALARM.
50053 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50056 * string/_strerror.c (__strerror_r): Print negative errors as signed
50060 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50061 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50062 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50064 * configure.in: Fix typo in redirection and correct removal of test
50065 files in two cases.
50068 * locale/setlocale.c (new_composite_name): Fix test to check for
50069 identical name of all categories.
50072 * libio/filedoalloc.c (local_isatty): New function.
50073 (_IO_file_doallocate): Use local_isatty.
50074 * stdio-common/perror.c (perror): In case a new stream is used
50075 forward the stream error.
50076 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50079 2011-05-20 Ulrich Drepper <drepper@gmail.com>
50082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50084 * include/alloca.h (extend_alloca_account): Define.
50087 * posix/regex.h: Fix comments with documentation of user-accessible
50088 fields after compilation and describe correct free'ing of pattern
50089 after re_compile_pattern.
50090 Patch by Reuben Thomas <rrt@sc3d.org>.
50092 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50094 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50095 and -mno-altivec to prevent the compiler from using Altivec and/or
50096 VSX instructions when the corresponding registers are not available.
50098 2011-05-19 Andreas Schwab <schwab@redhat.com>
50100 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50102 2011-05-19 Ulrich Drepper <drepper@gmail.com>
50104 * libio/freopen.c (freopen): Use __dup2, not dup2.
50105 * libio/freopen64.c (freopen64): Likewise.
50107 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50110 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50111 * math/Makefile (tests): Add test-powl.
50112 (CFLAGS-test-powl.c): Define.
50113 * math/test-powl.c: New file.
50115 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50117 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50119 2011-05-17 Ulrich Drepper <drepper@gmail.com>
50122 * iconvdata/gb18030.c: Update to GB18020-2005.
50124 2011-05-16 Ulrich Drepper <drepper@gmail.com>
50126 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50127 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50128 Patch by Aharon Robbins <arnold@skeeve.com>.
50131 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50135 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50136 through underflows.
50139 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50140 point to strings before performing equality test for error_one_per_line
50144 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50147 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50148 (struct user_fpregs_struct): Avoid __uint*_t types.
50151 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50152 symbol info. Use it instead of calling _dl_addr locally.
50153 (lock_and_info): New function.
50154 (tr_freehook): Call lock_and_info and pass symbol info as additional
50155 parameter to tr_where.
50156 (tr_mallochook): Likewise.
50157 (tr_reallochook): Likewise.
50158 (tr_memalignhook): Likewise.
50160 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50161 used and couldn't be at all thread-safe.
50163 2011-05-15 Ulrich Drepper <drepper@gmail.com>
50165 * libio/freopen.c (freopen): Don't close old file descriptor
50166 before the new one is opened. Instead dup the new file descriptor
50167 to the old one after the new stream is created.
50168 * libio/freopen64.c (freopen64): Likewise.
50169 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50170 * libio/fileops.c (_IO_new_file_close_it): Handle new
50171 _IO_FLAGS2_NOCLOSE flag.
50172 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50173 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50174 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50175 _IO_FLAGS2_NOCLOSE flag.
50176 * include/unistd.h: Add hidden_proto for dup3.
50177 Define __have_dup3.
50178 * io/dup3.c: Define hidden symbol.
50179 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50182 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50183 when an incomplete long option is used.
50184 * posix/tst-getopt_long1.c: New file.
50185 * posix/Makefile (tests): Add tst-getopt_long1.
50188 * scripts/config.guess: Update from autoconf-2.68.
50189 * scripts/config.sub: Likewise.
50192 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50194 (has_cpuclock): ...this. New function.
50195 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50196 macro here based on has_cpuclock code.
50199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50200 First byte (not low byte) is now always NUL.
50201 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50204 Use non-cancelable interfaces.
50207 * locale/iso-639.def: Add entry for Sorani.
50210 * include/stdlib.h: Move include protection to the right place.
50211 Define abort_msg_s. Declare __abort_msg with it.
50212 * stdlib/abort.c (__abort_msg): Adjust type.
50213 * assert/assert.c (__assert_fail_base): New function. Majority
50214 of code from __assert_fail. Allocate memory for __abort_msg with
50216 (__assert_fail): Now call __assert_fail_base.
50217 * assert/assert-perr.c: Remove bulk of implementation. Use
50218 __assert_fail_base.
50219 * include/assert.hL Declare __assert_fail_base.
50220 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50222 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50224 2011-05-14 Ulrich Drepper <drepper@gmail.com>
50228 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50229 until all modules are registered in the DTV.
50230 * elf/Makefile: Add rules to build and run tst-tls19.
50231 * elf/tst-tls19.c: New file.
50232 * elf/tst-tls19mod1.c: New file.
50233 * elf/tst-tls19mod2.c: New file.
50234 * elf/tst-tls19mod3.c: New file.
50235 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50238 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50242 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50243 two-byte sequence errors.
50244 * iconvdata/Makefile (tests): Add bug-iconv8.
50245 * iconvdata/bug-iconv8.c: New file.
50248 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50251 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50254 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50255 (dummy_getcfa): New function.
50256 (init): Get _Unwind_GetCFA address, use dummy if not found.
50257 (backtrace_helper): In recursion check, also check whether CFA changes.
50258 (__backtrace): Completely initialize arg.
50260 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50261 storing incomplete byte sequence in state object. Avoid testing for
50262 guaranteed too small input if we know there is enough data available.
50264 2011-05-11 Andreas Schwab <schwab@redhat.com>
50266 * Makeconfig (+link-pie): Indent.
50267 * Rules (binaries-pie): Define if $(have-fpie) and
50269 (binaries-shared): Also filter out $(binaries-pie).
50270 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50271 * nscd/Makefile (others-pie): Add nscd.
50272 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50273 ($(objpfx)nscd): Remove command override.
50274 * login/Makefile (others-pie): Add pt_chown.
50275 ($(objpfx)pt_chown): Remove command override.
50276 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50277 remove command overrides.
50279 2011-05-13 Ulrich Drepper <drepper@gmail.com>
50281 * libio/tst_putwc.c: Fix error messages.
50284 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50285 currently writing and seek to current position when not.
50286 * libio/Makefile (tests): Add bug-fclose1.
50287 * libio/bug-fclose1.c: New file.
50289 2011-05-12 Ulrich Drepper <drepper@gmail.com>
50292 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50293 don't set DF_1_NODELETE here.
50294 (do_lookup_x): When entering new entry test for copy relocation
50295 and if necessary set DF_1_NODELETE flag.
50296 * elf/tst-unique4.cc: New file.
50297 * elf/tst-unique4.h: New file.
50298 * elf/tst-unique4lib.cc: New file.
50299 * elf/Makefile: Add rules to build and run tst-unique4.
50300 Patch by Piotr Bury <pbury@goahead.com>.
50302 2011-05-11 Ulrich Drepper <drepper@gmail.com>
50305 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50308 * misc/mntent_r.c (addmntent): Flush the stream after the output
50311 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50312 (is_trusted_path_normalize): Skip initial colon. Append slash
50313 to empty buffer. Duplicate is_trusted_path code but allow
50314 constructed patch to be prefix.
50315 (is_dst): Allow $ORIGIN followed by /.
50316 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50317 Correct testing of result of is_trusted_path_normalize
50318 (decompose_rpath): Fix warning.
50320 2011-05-10 Ulrich Drepper <drepper@gmail.com>
50323 * grp/initgroups.c (internal_getgrouplist): When we found the service
50324 list through the initgroups entry in nsswitch.conf do not always
50325 continue on a successful lookup. Don't always use the
50326 __nss_group_database value if it is set.
50327 * nss/nsswitch.conf (initgroups): Change action for successful db
50328 lookup to continue for compatibility.
50330 2011-05-09 Ulrich Drepper <drepper@gmail.com>
50333 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50335 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50337 * iconvdata/tst-tables.sh: Likewise.
50338 * iconvdata/cp770.c: New file.
50339 * iconvdata/cp771.c: New file.
50340 * iconvdata/cp772.c: New file.
50341 * iconvdata/cp773.c: New file.
50342 * iconvdata/cp774.c: New file.
50343 * iconvdata/testdata/CP770: New file.
50344 * iconvdata/testdata/CP770..UTF8: New file.
50345 * iconvdata/testdata/CP771: New file.
50346 * iconvdata/testdata/CP771..UTF8: New file.
50347 * iconvdata/testdata/CP772: New file.
50348 * iconvdata/testdata/CP772..UTF8: New file.
50349 * iconvdata/testdata/CP773: New file.
50350 * iconvdata/testdata/CP773..UTF8: New file.
50351 * iconvdata/testdata/CP774: New file.
50352 * iconvdata/testdata/CP774..UTF8: New file.
50354 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50356 * iconvdata/gen-8bit-gap.sh: Likewise.
50357 * iconvdata/gen-8bit.sh: Likewise.
50359 * locale/iso-639.def: Add ary entry.
50362 * locale/C-translit.h.in: Add U20A1 transliteration.
50365 * locale/iso-639.def: Add wae entry.
50366 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50369 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50373 * locale/C-translit.h.in: Add entry for U20B9.
50374 Patch by pravin.d.s@gmail.com.
50376 2011-05-08 Ulrich Drepper <drepper@gmail.com>
50379 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50380 ENAMETOOLONG use generic getcwd.
50381 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50382 in rtld. Use *stat64.
50383 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50384 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50385 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50386 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50387 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50388 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50389 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50390 __fstatat64 macros.
50391 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50392 * dirent/rewinddir.c: Add libc_hidden_def.
50393 * sysdeps/mach/hurd/rewinddir.c: Likewise.
50394 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
50396 * include/dirent.h (__alloc_dir): Add flags parameter.
50397 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50398 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50400 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50401 from fdopendir if O_CLOEXEC is already set.
50403 2011-03-15 Alan Modra <amodra@gmail.com>
50405 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50406 l_tls_firstbyte_offset non-zero. Save padding offset in
50407 l_tls_firstbyte_offset for later use.
50408 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50409 freeing static tls block.
50411 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50413 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50414 where #ifdef was intended. The intent is to prevent ARG_MAX from
50415 being defined by the kernel headers.
50417 2011-05-07 Ulrich Drepper <drepper@gmail.com>
50420 * resolv/resolv.h: Define RES_NOTLDQUERY.
50421 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50422 no-tld-query and set RES_NOTLDQUERY.
50423 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50424 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50425 modern BIND to search name as TLD unless forbidden.
50427 2011-05-07 Petr Baudis <pasky@suse.cz>
50428 Ulrich Drepper <drepper@gmail.com>
50431 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50432 (is_trusted_path): ...to here.
50433 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50434 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50435 using is_trusted_path_normalize() in setuid scripts.
50437 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50439 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50440 __BEGIN/__END_DECLS.
50442 2011-05-06 Ulrich Drepper <drepper@gmail.com>
50444 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50445 NSS_STATUS_NOTFOUND if no record was found.
50447 2011-05-05 Andreas Schwab <schwab@redhat.com>
50449 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50450 (headers-not-in-tirpc): Remove rpc/netdb.h
50451 * resolv/netdb.h: Revert last change.
50453 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50455 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50456 circular dependency between libgcc.a and libc.a.
50458 2011-05-05 Andreas Schwab <schwab@redhat.com>
50460 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50461 * nis/Makefile: Don't install rpcsvc/*.
50462 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50463 instead of <rpc/types.h>.
50464 (MAXHOSTNAMELEN): Define.
50466 2011-05-03 Andreas Schwab <schwab@redhat.com>
50468 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50470 2011-04-28 Maciej Babinski <mbabinski@google.com>
50473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50474 gethostbyname4_r when IPv6 results are possible.
50476 2011-05-02 Ulrich Drepper <drepper@gmail.com>
50479 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50480 _PC_PIPE_BUF handling.
50482 2011-04-30 Bruno Haible <bruno@clisp.org>
50485 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50486 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50488 * inet/getnameinfo.c (getnameinfo): Likewise.
50490 2011-04-29 Ulrich Drepper <drepper@gmail.com>
50492 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50493 to groups setting in database lookup.
50494 * nss/nsswitch.conf: Add initgroups entry.
50496 2011-04-22 Ulrich Drepper <drepper@gmail.com>
50499 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50501 Patch by Eric Blake <eblake@redhat.com>.
50503 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50505 * sunrpc/Makefile (need-export-routines): Add svc_run.
50506 (routines): Remove svc_run.
50507 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50508 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50509 * sunrpc/svc_run.c (svc_run): Likewise.
50510 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50512 2011-04-21 Ulrich Drepper <drepper@gmail.com>
50514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50515 problem in reallocation in last patch.
50517 2011-04-20 Ulrich Drepper <drepper@gmail.com>
50519 * sunrpc/Makefile: Move inclusion of Rules.
50521 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50523 * nss/nss_files/files-initgroups.c: New file.
50524 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50525 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50526 _nss_files_initgroups_dyn.
50528 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50530 * elf/elf.h (R_ARM_IRELATIVE): Define.
50532 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50534 * po/ru.po: Update from translation team.
50536 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50538 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50541 2011-02-06 Mike Frysinger <vapier@gentoo.org>
50544 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50545 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50546 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50547 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50550 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50552 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50554 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50556 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50558 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50561 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50563 * stdlib/bug-getcontext.c: New file.
50564 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50566 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50568 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50569 instructions into .machine "z9-109".
50570 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50571 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50573 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50575 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50576 between environment variables and auxiliary vector.
50578 2011-04-16 Ulrich Drepper <drepper@gmail.com>
50580 * Makefile: Add rules to build linkobj/libc.so.
50581 * include/libc-symbols.h: Define libc_hidden_nolink.
50582 * include/rpc/auth.h: Mark functions which are to be hidden.
50583 * include/rpc/auth_des.h: Likewise.
50584 * include/rpc/auth_unix.h: Likewise.
50585 * include/rpc/clnt.h: Likewise.
50586 * include/rpc/des_crypt.h: Likewise.
50587 * include/rpc/key_prot.h: Likewise.
50588 * include/rpc/pmap_clnt.h: Likewise.
50589 * include/rpc/pmap_prot.h: Likewise.
50590 * include/rpc/pmap_rmt.h: Likewise.
50591 * include/rpc/rpc_msg.h: Likewise.
50592 * include/rpc/svc.h: Likewise.
50593 * include/rpc/svc_auth.h: Likewise.
50594 * include/rpc/xdr.h: Likewise.
50595 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50596 * nss/Makefile: Likewise.
50597 * sunrpc/Makefile: Don't install headers. Build library with normal
50598 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50599 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50600 for the compat linking library. Remove use of INTDEF/INTUSE.
50601 * sunrpc/auth_none.c: Likewise.
50602 * sunrpc/auth_unix.c: Likewise.
50603 * sunrpc/authdes_prot.c: Likewise.
50604 * sunrpc/authuxprot.c: Likewise.
50605 * sunrpc/clnt_gen.c: Likewise.
50606 * sunrpc/clnt_perr.c: Likewise.
50607 * sunrpc/clnt_raw.c: Likewise.
50608 * sunrpc/clnt_simp.c: Likewise.
50609 * sunrpc/clnt_tcp.c: Likewise.
50610 * sunrpc/clnt_udp.c: Likewise.
50611 * sunrpc/clnt_unix.c: Likewise.
50612 * sunrpc/des_crypt.c: Likewise.
50613 * sunrpc/des_soft.c: Likewise.
50614 * sunrpc/get_myaddr.c: Likewise.
50615 * sunrpc/key_call.c: Likewise.
50616 * sunrpc/key_prot.c: Likewise.
50617 * sunrpc/netname.c: Likewise.
50618 * sunrpc/pm_getmaps.c: Likewise.
50619 * sunrpc/pm_getport.c: Likewise.
50620 * sunrpc/pmap_clnt.c: Likewise.
50621 * sunrpc/pmap_prot.c: Likewise.
50622 * sunrpc/pmap_prot2.c: Likewise.
50623 * sunrpc/pmap_rmt.c: Likewise.
50624 * sunrpc/publickey.c: Likewise.
50625 * sunrpc/rpc_cmsg.c: Likewise.
50626 * sunrpc/rpc_common.c: Likewise.
50627 * sunrpc/rpc_dtable.c: Likewise.
50628 * sunrpc/rpc_prot.c: Likewise.
50629 * sunrpc/rpc_thread.c: Likewise.
50630 * sunrpc/rtime.c: Likewise.
50631 * sunrpc/svc.c: Likewise.
50632 * sunrpc/svc_auth.c: Likewise.
50633 * sunrpc/svc_authux.c: Likewise.
50634 * sunrpc/svc_raw.c: Likewise.
50635 * sunrpc/svc_run.c: Likewise.
50636 * sunrpc/svc_simple.c: Likewise.
50637 * sunrpc/svc_tcp.c: Likewise.
50638 * sunrpc/svc_udp.c: Likewise.
50639 * sunrpc/svc_unix.c: Likewise.
50640 * sunrpc/svcauth_des.c: Likewise.
50641 * sunrpc/xcrypt.c: Likewise.
50642 * sunrpc/xdr.c: Likewise.
50643 * sunrpc/xdr_array.c: Likewise.
50644 * sunrpc/xdr_float.c: Likewise.
50645 * sunrpc/xdr_intXX_t.c: Likewise.
50646 * sunrpc/xdr_mem.c: Likewise.
50647 * sunrpc/xdr_rec.c: Likewise.
50648 * sunrpc/xdr_ref.c: Likewise.
50649 * sunrpc/xdr_sizeof.c: Likewise.
50650 * sunrpc/xdr_stdio.c: Likewise.
50652 2011-04-10 Ulrich Drepper <drepper@gmail.com>
50655 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50656 * sysdeps/ia64/dl-tls.h: Likewise.
50657 * sysdeps/powerpc/dl-tls.h: Likewise.
50658 * sysdeps/s390/dl-tls.h: Likewise.
50659 * sysdeps/sh/dl-tls.h: Likewise.
50660 * sysdeps/sparc/dl-tls.h: Likewise.
50661 * sysdeps/x86_64/dl-tls.h: Likewise.
50662 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50664 2011-03-14 Andreas Schwab <schwab@redhat.com>
50666 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50667 rpath element also skip the following colon.
50668 (expand_dynamic_string_token): Add is_path parameter and pass
50669 down to DL_DST_REQUIRED and _dl_dst_substitute.
50670 (decompose_rpath): Call expand_dynamic_string_token with
50671 non-zero is_path. Ignore empty rpaths.
50672 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50675 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50680 2011-04-09 Ulrich Drepper <drepper@gmail.com>
50683 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50684 Patch by Filipe David Manana <fdmanana@apache.org>.
50686 2011-04-07 Andreas Schwab <schwab@redhat.com>
50688 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50689 Maintain aligned stack.
50690 (CHECK_RSP): Remove unused macro.
50692 2011-04-03 Ulrich Drepper <drepper@gmail.com>
50694 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50695 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50697 2011-04-02 Ulrich Drepper <drepper@gmail.com>
50699 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50701 * include/features.h: Mention __USE_XOPEN2K8 in comment.
50703 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50706 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50707 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50708 * sysdeps/x86_64/memmove.c: New file.
50709 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50710 (memcpy): Renamed to ...
50711 (__new_memcpy): This.
50712 (memcpy): Provide GLIBC_2_14 memcpy.
50713 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50714 (memcpy): Provide GLIBC_2_2_5 memcpy.
50716 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50719 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50721 2011-03-30 Andreas Schwab <schwab@redhat.com>
50723 * misc/syncfs.c: New file.
50724 * misc/Makefile (routines): Add syncfs.
50725 * posix/unistd.h: Declare syncfs.
50726 * sysdeps/unix/syscalls.list: Add syncfs.
50728 2011-04-01 Andreas Schwab <schwab@redhat.com>
50730 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50733 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50735 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50737 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50738 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50740 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50743 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50744 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50745 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50746 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50750 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50751 sync_file_range.c with -fexceptions.
50752 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50753 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50754 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50755 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50756 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50757 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50759 sync_file_range as cancellation point
50760 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50761 now a wrapper around __call_sync_file_range with cancellation handling.
50762 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50763 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50764 function name to __call_sync_file_range.
50765 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50766 Add call_sync_file_range.
50768 2011-04-01 Andreas Schwab <schwab@redhat.com>
50770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50773 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50775 * iconv/iconv.h: Fix typo in comment.
50776 * io/fcntl.h: Likewise.
50777 * libio/stdio.h: Likewise.
50778 * posix/spawn.h: Likewise.
50779 * posix/unistd.h: Likewise.
50780 * stdlib/stdlib.h: Likewise.
50781 * time/time.h: Likewise.
50782 * wcsmbs/wchar.h: Likewise.
50784 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50785 open_by_handle): Add.
50786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50787 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50788 Augment a few comments.
50789 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50791 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50793 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50794 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50797 * io/fcntl.h (AT_EMPTY_PATH): Define.
50799 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50801 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50802 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50803 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50805 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50806 * Versions.def: Add GLIBC_2.14.
50807 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50810 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50812 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50814 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50816 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50819 * string/test-strncmp.c (do_page_test): New function.
50820 (check2): Likewise.
50821 (test_main): Call check2.
50822 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50824 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50828 Handle cache information in CPU leaf 4.
50829 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50831 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50834 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50835 character representation.
50836 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50838 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50840 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50841 END(__isnan) to END(__isnanf) to match function entry point/label
50842 EALIGN(__isnanf,...).
50844 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50846 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50848 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50851 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50852 copy from the symbol referenced in the relocation to initialize the
50854 Patch by Piotr Bury <pbury@goahead.com>.
50855 * elf/Makefile: Add rules to build and tst-unique3.
50856 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50857 * elf/tst-unique3.cc: New file.
50858 * elf/tst-unique3.h: New file.
50859 * elf/tst-unique3lib.cc: New file.
50860 * elf/tst-unique3lib2.cc: New file.
50862 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50864 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50866 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50867 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50870 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50872 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50873 to-be-loaded object along a path to loader is ld.so.
50875 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50876 Ulrich Drepper <drepper@gmail.com>
50878 * sysdeps/x86_64/memset.S: After aligning destination, code
50879 branches to different locations depending on the value of
50880 misalignment, when multiarch is enabled. Fix this.
50882 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50884 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50885 Set _x86_64_preferred_memory_instruction for AMD processsors.
50886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50887 Set bit_Prefer_SSE_for_memop for AMD processors.
50889 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50891 * libio/fmemopen.c (fmemopen): Optimize a bit.
50893 2011-03-03 Andreas Schwab <schwab@redhat.com>
50895 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50897 2011-03-03 Roland McGrath <roland@redhat.com>
50899 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50901 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50903 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50904 __bzero_ultra1 instead of __memset_ultra1.
50906 2011-02-23 Andreas Schwab <schwab@redhat.com>
50907 Ulrich Drepper <drepper@gmail.com>
50910 * include/link.h (struct link_map): Add l_orig_initfini.
50911 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50912 returning unsuccessfully.
50913 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50914 close of a file loaded at startup, restore the original l_initfini
50916 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50917 list, store the pointer.
50918 * elf/Makefile ($(objpfx)noload-mem): New rule.
50919 (noload-ENV): Define.
50920 (tests): Add $(objpfx)noload-mem.
50921 * elf/noload.c: Include <memcheck.h>.
50922 (main): Call mtrace. Close all opened handles.
50924 2011-02-17 Andreas Schwab <schwab@redhat.com>
50927 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50928 dependencies are missing.
50930 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50932 Fix __if_freereq crash: Unlike the generic version which uses free,
50934 * sysdeps/mach/hurd/ifreq.h: New file.
50936 2011-01-27 Petr Baudis <pasky@suse.cz>
50937 Ulrich Drepper <drepper@gmail.com>
50940 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50941 to extend_alloca().
50942 * stdio-common/bug23.c: New file.
50943 * stdio-common/Makefile (tests): Add bug23.
50945 2010-09-28 Andreas Schwab <schwab@redhat.com>
50946 Ulrich Drepper <drepper@gmail.com>
50949 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50950 before performing relro protection. At old place add assertion
50951 to make sure nothing changed.
50953 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50954 Glauber de Oliveira Costa <glommer@gmail.com>
50956 * elf/elf.h: Add new ARM TLS relocs.
50958 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50961 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50963 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50965 * sysdeps/wordsize-64/tst-writev.c: New file.
50967 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50969 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50970 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50971 insns in _dl_start to prevent a TOC reference before relocs are
50974 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50977 * Makeconfig: Remove RANLIB definition.
50978 * Makerules: Don't use RANLIB.
50979 * aclocal.m4: Remove ranlib test.
50980 * configure.in: No need to check for ranlib.
50981 * elf/rtld-Rules: Don't use RANLIB.
50983 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50985 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50987 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50988 inclusion protection macro.
50990 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50991 SIGRTMIN and SIGRTMAX and print information in that case only when
50992 SIGRTMIN is defined.
50994 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50996 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50997 arginfo fn returning -1.
50999 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51000 and thousands string is zero terminated.
51002 2011-02-03 Andreas Schwab <schwab@redhat.com>
51004 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51005 sysdeps/unix/sysv/linux/bits/socket.h.
51007 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51009 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51010 (__CPU_COUNT): Remove old macros.
51011 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51012 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51013 (__CPU_ALLOC, __CPU_FREE): Add macros.
51014 (__sched_cpualloc, __sched_cpufree): Add declarations.
51016 2011-02-05 Ulrich Drepper <drepper@gmail.com>
51018 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51019 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51020 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51021 (readdhstai): Return value of addhstaiX call.
51022 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51023 (addgrbyX): Return value returned by cache_addgr.
51024 (readdgrbyname): Return value returned by addgrbyX.
51025 (readdgrbygid): Likewise.
51026 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51027 (addpwbyX): Return value returned by cache_addpw.
51028 (readdpwbyname): Return value returned by addhstbyX.
51029 (readdpwbyuid): Likewise.
51030 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51031 (addservbyX): Return value returned by cache_addserv.
51032 (readdservbyname): Return value returned by addservbyX:
51033 (readdservbyport): Likewise.
51034 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51035 (addhstbyX): Return value returned by cache_addhst.
51036 (readdhstbyname): Return value returned by addhstbyX.
51037 (readdhstbyaddr): Likewise.
51038 (readdhstbynamev6): Likewise.
51039 (readdhstbyaddrv6): Likewise.
51040 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51041 (readdinitgroups): Return value returned by addinitgroupsX.
51042 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51043 (prune_cache): Keep track of timeout value of re-added entries.
51044 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51045 * nscd/nscd.h: Adjust prototypes of readd* functions.
51047 2011-02-04 Roland McGrath <roland@redhat.com>
51049 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51050 (nis_stats): Likewise.
51051 * nis/nis_modify.c (nis_modify): Likewise.
51052 * nis/nis_remove.c (nis_remove): Likewise.
51053 * nis/nis_add.c (nis_add): Likewise.
51055 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51057 * posix/fnmatch_loop.c: Add some consts.
51059 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51061 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51064 * config.make.in (config-cflags-novzeroupper): Define.
51065 * configure.in: Substitute libc_cv_cc_novzeroupper.
51066 * elf/Makefile (AVX-CFLAGS): Define.
51067 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51068 (CFLAGS-tst-auditmod4a.c): Likewise.
51069 (CFLAGS-tst-auditmod4b.c): Likewise.
51070 (CFLAGS-tst-auditmod6b.c): Likewise.
51071 (CFLAGS-tst-auditmod6c.c): Likewise.
51072 (CFLAGS-tst-auditmod7b.c): Likewise.
51073 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51075 2011-02-02 Ulrich Drepper <drepper@gmail.com>
51077 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51078 function to the callback.
51079 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51081 2011-02-02 Andreas Schwab <schwab@redhat.com>
51083 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51086 2011-01-19 Ulrich Drepper <drepper@gmail.com>
51089 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51091 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51093 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51096 * elf/Makefile: Add rules to build and run new test.
51097 * elf/tst-initorder.c: New file.
51098 * elf/tst-initorder.exp: New file.
51099 * elf/tst-initordera1.c: New file.
51100 * elf/tst-initordera2.c: New file.
51101 * elf/tst-initordera3.c: New file.
51102 * elf/tst-initordera4.c: New file.
51103 * elf/tst-initorderb1.c: New file.
51104 * elf/tst-initorderb2.c: New file.
51105 * elf/tst-order-a1.c: New file.
51106 * elf/tst-order-a2.c: New file.
51107 * elf/tst-order-a3.c: New file.
51108 * elf/tst-order-a4.c: New file.
51109 * elf/tst-order-b1.c: New file.
51110 * elf/tst-order-b2.c: New file.
51111 * elf/tst-order-main.c: New file.
51112 New test case by George Gensure <werkt0@gmail.com>.
51114 2010-10-01 Andreas Schwab <schwab@redhat.com>
51116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51117 decoding ACE if AI_CANONIDN.
51119 2011-01-18 Ulrich Drepper <drepper@gmail.com>
51121 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51123 2011-01-17 Ulrich Drepper <drepper@gmail.com>
51125 * version.h (RELEASE): Bump for 2.13 release.
51126 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51128 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51130 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51132 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51133 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51135 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51137 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51139 * posix/getconf.c: Update copyright year.
51140 * catgets/gencat.c: Likewise.
51141 * csu/version.c: Likewise.
51142 * debug/catchsegv.sh: Likewise.
51143 * debug/xtrace.sh: Likewise.
51144 * elf/ldconfig.c: Likewise.
51145 * elf/ldd.bash.in: Likewise.
51146 * elf/sprof.c (print_version): Likewise.
51147 * iconv/iconv_prog.c: Likewise.
51148 * iconv/iconvconfig.c: Likewise.
51149 * locale/programs/locale.c: Likewise.
51150 * locale/programs/localedef.c: Likewise.
51151 * malloc/memusage.sh: Likewise.
51152 * malloc/mtrace.pl: Likewise.
51153 * nscd/nscd.c (print_version): Likewise.
51154 * nss/getent.c: Likewise.
51156 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51157 PF_CAIF, and PF_ALG.
51158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51160 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51162 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51163 (modules-names): Use them.
51164 (ifunc-test-modules, ifunc-pie-tests): Define.
51165 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51166 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51167 (test-extras): Likewise.
51168 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51169 $(compile-command.c).
51170 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51171 (all-built-dso): Define.
51172 (check-textrel.out, check-execstack.out): Depend on it.
51174 * configure.in: Don't override --enable-multi-arch.
51176 2011-01-15 Ulrich Drepper <drepper@gmail.com>
51179 * nscd/hstcache.c (tryagain): Define.
51180 (cache_addhst): Return tryagain not notfound for temporary errors.
51181 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51184 2011-01-14 Ulrich Drepper <drepper@gmail.com>
51187 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51188 to make the syscall.
51189 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51192 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51193 and fall back to matching as normal character if the string ends before
51194 the matching ']' is found. This is what POSIX requires.
51195 * posix/testfnm.c: Adjust test result.
51196 * posix/globtest.sh: Adjust test result. Add new test.
51197 * posix/tst-fnmatch.input: Likewise.
51198 * posix/tst-fnmatch2.c: Add new test.
51200 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51202 * elf/Makefile (check-execstack): Revert last change. Depend on
51204 (check-execstack.h): New target.
51205 (generated): Add check-execstack.h.
51206 * elf/check-execstack.c: Include "check-execstack.h".
51207 (main): Revert last change.
51208 (handle_file): Return zero if GNU_STACK is absent and
51209 DEFAULT_STACK_PERMS doesn't include PF_X.
51211 2011-01-13 Ulrich Drepper <drepper@gmail.com>
51213 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51214 in child fails because the descriptor is already closed.
51215 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51216 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51217 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51220 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51224 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51225 temporary buffer used to handle multi lookups locally.
51226 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51228 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51230 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51233 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51235 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51236 alignment for SSE2.
51238 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51241 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51242 characters. When rounding increased number of integer digits recompute
51244 * stdio-common/tst-grouping.c: New file.
51245 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51247 2011-01-09 Ulrich Drepper <drepper@gmail.com>
51249 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51250 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51252 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51254 * bits/select.h: Likewise.
51256 2011-01-08 Ulrich Drepper <drepper@gmail.com>
51258 * po/ja.po: Update from translation team.
51260 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
51263 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51264 implementation just like for lxstat, fxstatat, et al.
51266 2010-12-27 Jim Meyering <meyering@redhat.com>
51269 * posix/regexec.c (build_trtable): Return failure indication upon
51270 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51272 2010-12-25 Ulrich Drepper <drepper@gmail.com>
51275 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51276 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51277 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51278 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51281 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51284 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51285 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51287 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51289 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51290 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51291 script has SORT_BY_INIT_PRIORITY.
51292 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51293 NO_CTORS_DTORS_SECTIONS is defined.
51294 * elf/soinit.c: Likewise.
51295 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51296 NO_CTORS_DTORS_SECTIONS is defined.
51297 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51298 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51299 * sysdeps/sh/init-first.c: Likewise.
51300 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51302 2010-12-24 Ulrich Drepper <drepper@gmail.com>
51304 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51305 always use the slow path.
51307 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51309 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51310 similar rule which adds the sysdep directories to the header search in
51311 order to pick up the correct platform stackinfo.h.
51312 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51313 perform test if it is, otherwise return successfully without testing.
51314 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51315 DEFAULT_STACK_PERMS define in stackinfo.h.
51316 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51317 defined in stackinfo.h.
51318 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51319 DEFAULT_STACK_PERMS defined in stackinfo.h.
51320 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51321 * sysdeps/ia64/stackinfo.h: Likewise.
51322 * sysdeps/s390/stackinfo.h: Likewise.
51323 * sysdeps/sh/stackinfo.h: Likewise.
51324 * sysdeps/sparc/stackinfo.h: Likewise.
51325 * sysdeps/x86_64/stackinfo.h: Likewise.
51326 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51327 PF_X for powerpc64. Retain PF_X for powerpc32.
51329 2010-12-19 Ulrich Drepper <drepper@gmail.com>
51331 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51333 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51334 GETDENTS_64BIT_ALIGNED.
51336 2010-12-14 Ulrich Drepper <dreper@gmail.com>
51338 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51340 2010-12-10 Andreas Schwab <schwab@redhat.com>
51342 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51345 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51346 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51348 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51349 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51351 2010-12-09 Ulrich Drepper <drepper@gmail.com>
51354 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51357 2010-12-09 Jakub Jelinek <jakub@redhat.com>
51359 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51361 2010-12-03 Ulrich Drepper <drepper@gmail.com>
51363 * po/it.po: Update from translation team.
51365 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51370 2010-11-30 Ulrich Drepper <drepper@gmail.com>
51372 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51374 2010-11-24 Andreas Schwab <schwab@redhat.com>
51376 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51378 (gaih_getanswer_slice): Likewise.
51380 2010-10-20 Jakub Jelinek <jakub@redhat.com>
51382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51384 2010-05-31 Petr Baudis <pasky@suse.cz>
51387 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51388 silently even in the chroot mode.
51390 2010-11-22 Ulrich Drepper <drepper@gmail.com>
51392 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51393 last patch a bit. Pretty printing
51395 2010-05-31 Petr Baudis <pasky@suse.cz>
51398 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51399 initialization of skip_initgroups_dyn.
51401 2010-11-19 Ulrich Drepper <drepper@gmail.com>
51403 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51404 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51406 2010-11-16 Ulrich Drepper <drepper@gmail.com>
51408 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51410 2010-11-11 Andreas Schwab <schwab@redhat.com>
51412 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51413 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51414 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51415 ($(objpfx)tst-fnmatch-mem): New rule.
51416 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51417 * posix/tst-fnmatch.c (main): Call mtrace.
51419 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51422 Support Intel processor model 6 and model 0x2c.
51424 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
51426 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51429 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51432 * string/test-strncasecmp.c (check_result): New function.
51433 (do_one_test): Use it.
51434 (check1): New function.
51435 (test_main): Use it.
51436 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51437 Support strcasecmp and strncasecmp.
51439 2010-11-08 Ulrich Drepper <drepper@gmail.com>
51442 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51443 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51445 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51447 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51451 * sysdeps/x86_64/multiarch/bzero.S: New file.
51452 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51453 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51454 * sysdeps/x86_64/multiarch/memset.S: New file.
51455 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51457 Set bit_Prefer_SSE_for_memop for Intel processors.
51458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51460 (index_Prefer_SSE_for_memop): Define.
51461 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51463 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
51465 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51466 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51468 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51471 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51472 (__x86_64_raw_data_cache_size_half): Likewise.
51473 (__x86_64_raw_shared_cache_size): Likewise.
51474 (__x86_64_raw_shared_cache_size_half): Likewise.
51476 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51477 (__x86_64_raw_data_cache_size_half): Likewise.
51478 (__x86_64_raw_shared_cache_size): Likewise.
51479 (__x86_64_raw_shared_cache_size_half): Likewise.
51480 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51481 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51482 and __x86_64_raw_shared_cache_size_half. Round
51483 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51484 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51485 to multiple of 256 bytes.
51487 2010-11-03 Ulrich Drepper <drepper@gmail.com>
51490 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51491 of inacessible symlinks. Verify result of symlink before returning it.
51492 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51493 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51495 2010-10-28 Erich Ritz <erichritz@gmail.com>
51497 * math/math.h (isinf): Fix typo in comment.
51499 2010-11-01 Ulrich Drepper <drepper@gmail.com>
51501 * po/da.po: Update from translation team.
51503 2010-10-26 Ulrich Drepper <drepper@gmail.com>
51505 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51506 is added to the list.
51508 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51509 Ulrich Drepper <drepper@gmail.com>
51511 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51512 the global list here. Move code to...
51513 (_dl_add_to_namespace_list): ...here. New function.
51514 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51515 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51516 * elf/dl-load.c (lose): Don't remove the element from the list.
51517 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51518 (_dl_map_object): Likewise.
51520 2010-10-25 Ulrich Drepper <drepper@gmail.com>
51523 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51524 into all bytes of SSE register.
51525 Patch by Richard Li <richardpku@gmail.com>.
51527 2010-10-24 Ulrich Drepper <drepper@gmail.com>
51530 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51533 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51535 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51536 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51537 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51538 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51543 2010-10-22 Andreas Schwab <schwab@redhat.com>
51545 * include/dlfcn.h (__RTLD_SECURE): Define.
51546 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51547 mode & __RTLD_SECURE instead.
51548 (open_path): Rename preloaded parameter to secure.
51549 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51550 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51551 * elf/dl-deps.c (openaux): Likewise.
51552 * elf/rtld.c (struct map_args): Remove is_preloaded.
51553 (map_doit): Don't use it.
51554 (dl_main): Likewise.
51555 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51556 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51558 2010-09-09 Andreas Schwab <schwab@redhat.com>
51560 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51561 (sysd-rules-targets): Remove duplicates.
51562 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51563 rtld-%.$o dependency.
51565 2010-10-18 Andreas Schwab <schwab@redhat.com>
51567 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51568 _dl_map_object do it.
51570 2010-10-19 Ulrich Drepper <drepper@gmail.com>
51572 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51573 fast fma builtins, define the macros in the C99 standard.
51574 (FP_FAST_FMAF): Likewise.
51575 (FP_FAST_FMAL): Likewise.
51576 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51578 * bits/mathdef.h: Update copyright year.
51579 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51581 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51583 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51584 builtins, define the macros in the C99 standard.
51585 (FP_FAST_FMAF): Likewise.
51586 (FP_FAST_FMAL): Likewise.
51587 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51589 (FP_FAST_FMAF): Likewise.
51591 2010-10-15 Jakub Jelinek <jakub@redhat.com>
51594 * math/libm-test.inc (fma_test): Some new testcases.
51595 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51596 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51597 y and infinite z. Do multiplication by C already in long double.
51598 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51600 y and infinite z. Do bitwise or of inexact bit into u.d.
51601 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51602 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51603 * sysdeps/i386/fpu/s_fma.S: Removed.
51604 * sysdeps/i386/fpu/s_fmal.S: Removed.
51606 2010-10-16 Jakub Jelinek <jakub@redhat.com>
51609 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51611 computation is not scheduled after fetestexcept. Fix value
51612 of minimum denormal long double.
51614 2010-10-14 Jakub Jelinek <jakub@redhat.com>
51617 * math/libm-test.inc (fma_test): Add some more tests.
51618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51621 2010-10-15 Andreas Schwab <schwab@redhat.com>
51623 * scripts/data/localplt-s390-linux-gnu.data: New file.
51624 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51626 2010-10-13 Jakub Jelinek <jakub@redhat.com>
51629 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51630 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51632 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51634 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51636 if one of x and y is very large and the other is subnormal.
51637 * sysdeps/s390/fpu/s_fmaf.c: New file.
51638 * sysdeps/s390/fpu/s_fma.c: New file.
51639 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51640 * sysdeps/powerpc/fpu/s_fma.S: New file.
51641 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51642 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51643 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51645 2010-10-12 Jakub Jelinek <jakub@redhat.com>
51648 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51650 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51651 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51652 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51653 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51654 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51655 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51656 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51658 2010-10-12 Ulrich Drepper <drepper@redhat.com>
51661 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51662 * posix/bug-regex31.input: Add test case.
51664 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51666 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51667 * posix/bug-regex31.input: New file.
51670 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51671 (parse_sub_exp): Fix last change, use postorder.
51673 * posix/bug-regex31.c: New file.
51674 * posix/Makefile: Add rules to build and run bug-regex31.
51676 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51679 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51682 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51683 to have entries in sys_siglist.
51686 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51689 2010-10-07 Jakub Jelinek <jakub@redhat.com>
51692 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51693 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51694 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51695 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51696 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51697 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51698 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51699 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51700 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51701 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51702 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51703 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51704 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51705 * math/ftestexcept.c (fetestexcept): Likewise.
51706 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51707 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51708 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51709 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51710 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51711 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51712 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51714 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51717 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51720 2010-10-06 Ulrich Drepper <drepper@gmail.com>
51722 * string/bug-strstr1.c: New file.
51723 * string/Makefile: Add rules to build and run bug-strstr1.
51725 2010-10-05 Eric Blake <eblake@redhat.com>
51728 * string/str-two-way.h (two_way_long_needle): Always clear memory
51729 when skipping input due to the shift table.
51731 2010-10-03 Ulrich Drepper <drepper@gmail.com>
51734 * malloc/mcheck.c: Handle large requests.
51737 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51738 for strncmp and strncasecmp.
51739 * string/stratcliff.c: Add tests for strcmp and strncmp.
51740 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51742 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51744 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51747 2010-09-30 Andreas Jaeger <aj@suse.de>
51749 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51750 (CGROUP_SUPER_MAGIC): Define.
51751 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51752 Handle btrfs and cgroup file systems.
51753 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51756 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
51758 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51759 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51761 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51764 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51765 trying to locate the ELF header.
51767 2010-09-27 Andreas Schwab <schwab@redhat.com>
51770 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51771 Mask out sign-bit copies when constructing f_fsid.
51773 2010-09-24 Petr Baudis <pasky@suse.cz>
51775 * debug/stack_chk_fail_local.c: Add missing licence exception.
51776 * debug/warning-nop.c: Likewise.
51778 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51780 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51781 implementing getdents64 using getdents syscall, set d_type if
51782 __ASSUME_GETDENTS32_D_TYPE.
51784 2010-09-16 Andreas Schwab <schwab@redhat.com>
51786 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51787 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51789 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51792 * posix/unistd.h: Undo change of feature selection for ftruncate from
51795 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51797 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51800 2010-09-20 Andreas Schwab <schwab@redhat.com>
51802 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51804 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51806 2010-09-14 Andreas Schwab <schwab@redhat.com>
51808 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51809 variables after CHECK_SP call.
51810 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51812 2010-09-13 Andreas Schwab <schwab@redhat.com>
51813 Ulrich Drepper <drepper@redhat.com>
51815 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51816 re-relocationg ld.so.
51817 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51818 _dl_init_paths call.
51819 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51822 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51824 * resolv/res_init.c (__res_vinit): Count the default server we added.
51826 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51827 Ulrich Drepper <drepper@redhat.com>
51830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51831 (____longjmp_chk): Use %ebx for saving value across system call.
51834 2010-09-06 Andreas Schwab <schwab@redhat.com>
51836 * manual/Makefile: Don't mix pattern rules with normal rules.
51838 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51840 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51842 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51843 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51844 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51845 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51849 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51852 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51853 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51855 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51857 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51858 * sysdeps/x86_64/addmul_1.S: Likewise.
51859 * sysdeps/x86_64/lshift.S: Likewise.
51860 * sysdeps/x86_64/mul_1.S: Likewise.
51861 * sysdeps/x86_64/rshift.S: Likewise.
51862 * sysdeps/x86_64/sub_n.S: Likewise.
51863 * sysdeps/x86_64/submul_1.S: Likewise.
51865 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51867 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51868 Define __sched_param instead of SCHED_* and sched_param when
51869 <bits/sched.h> is included with __need_schedparam defined.
51870 * bits/sched.h [__need_schedparam]
51871 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51872 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51873 (__defined_schedparam): Define to 1.
51874 (__sched_param): New structure, identical to sched_param.
51875 (__need_schedparam): Undefine.
51877 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51879 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51880 (epoll_create1): Declare.
51882 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51884 2010-08-31 Andreas Schwab <schwab@redhat.com>
51887 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51888 shifting retval into place.
51890 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51892 * nis/rpcsvc/nis.h: Update copyright notice.
51893 * nis/rpcsvc/nis.x: Likewise.
51894 * nis/rpcsvc/nis_callback.h: Likewise.
51895 * nis/rpcsvc/nis_callback.x: Likewise.
51896 * nis/rpcsvc/nis_object.x: Likewise.
51897 * nis/rpcsvc/nis_tags.h: Likewise.
51898 * nis/rpcsvc/yp.h: Likewise.
51899 * nis/rpcsvc/yp.x: Likewise.
51900 * nis/rpcsvc/ypupd.h: Likewise.
51901 * nis/yp_xdr.c: Likewise.
51902 * nis/ypupdate_xdr.c: Likewise.
51904 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51905 mainly the body of pmap_getport. Add parameters to specify timeouts.
51906 (pmap_getport): Use __libc_rpc_getport.
51907 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51908 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51909 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51911 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51916 2010-08-27 Roland McGrath <roland@redhat.com>
51918 * sysdeps/i386/i686/multiarch/Makefile
51919 (CFLAGS-varshift.c): New variable.
51921 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51923 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51924 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51926 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51928 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51930 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51932 * sysdeps/x86_64/strlen.S: Unroll the loop.
51933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51934 strlen-sse2 strlen-sse2-bsf.
51935 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51936 __strlen_no_bsf if bit_Slow_BSF is set.
51937 (__strlen_sse42): Removed.
51938 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51939 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51941 2010-08-25 Roland McGrath <roland@redhat.com>
51943 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51944 * sysdeps/x86_64/multiarch/varshift.c: New file.
51945 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51946 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51947 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51948 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51950 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51953 strlen-sse2 strlen-sse2-bsf.
51954 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51955 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51956 (__strlen_sse2): Removed.
51957 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51958 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51960 bit_Slow_BSF for Atom.
51961 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51962 (index_Slow_BSF): Define.
51963 (HAS_SLOW_BSF): Define.
51965 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51968 * resolv/res_init.c (__res_vinit): When no server address at all
51969 is given default to loopback.
51971 2010-08-24 Roland McGrath <roland@redhat.com>
51973 * configure.in: Remove config-name.h generation.
51974 * configure: Regenerated.
51975 * config-name.in: File removed.
51976 * scripts/config-uname.sh: New file.
51977 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51978 ($(objdir)config-name.h): New target.
51980 * sunrpc/rpc_parse.h: Avoid nested comment.
51982 2010-08-24 Richard Henderson <rth@redhat.com>
51983 Ulrich Drepper <drepper@redhat.com>
51984 H.J. Lu <hongjiu.lu@intel.com>
51986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51988 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51989 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51990 _mm_alignr_epi8 with _mm_loadu_si128.
51991 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51992 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51993 (__m128i_shift_right): Removed.
51994 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51995 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51996 * sysdeps/x86_64/multiarch/varshift.h: New file.
51997 * sysdeps/x86_64/multiarch/varshift.S: New file.
51999 2010-08-21 Mike Frysinger <vapier@gentoo.org>
52001 * configure.in: Move assembler checks to before sysdep dir checking.
52003 2010-08-20 Petr Baudis <pasky@suse.cz>
52005 * LICENSES: Sync the sunrpc license.
52007 2010-08-19 Ulrich Drepper <drepper@redhat.com>
52009 * sunrpc/auth_des.c: Update copyright notice once again.
52010 * sunrpc/auth_none.c: Likewise.
52011 * sunrpc/auth_unix.c: Likewise.
52012 * sunrpc/authdes_prot.c: Likewise.
52013 * sunrpc/authuxprot.c: Likewise.
52014 * sunrpc/bindrsvprt.c: Likewise.
52015 * sunrpc/clnt_gen.c: Likewise.
52016 * sunrpc/clnt_perr.c: Likewise.
52017 * sunrpc/clnt_raw.c: Likewise.
52018 * sunrpc/clnt_simp.c: Likewise.
52019 * sunrpc/clnt_tcp.c: Likewise.
52020 * sunrpc/clnt_udp.c: Likewise.
52021 * sunrpc/clnt_unix.c: Likewise.
52022 * sunrpc/des_crypt.c: Likewise.
52023 * sunrpc/des_soft.c: Likewise.
52024 * sunrpc/get_myaddr.c: Likewise.
52025 * sunrpc/getrpcport.c: Likewise.
52026 * sunrpc/key_call.c: Likewise.
52027 * sunrpc/key_prot.c: Likewise.
52028 * sunrpc/openchild.c: Likewise.
52029 * sunrpc/pm_getmaps.c: Likewise.
52030 * sunrpc/pm_getport.c: Likewise.
52031 * sunrpc/pmap_clnt.c: Likewise.
52032 * sunrpc/pmap_prot.c: Likewise.
52033 * sunrpc/pmap_prot2.c: Likewise.
52034 * sunrpc/pmap_rmt.c: Likewise.
52035 * sunrpc/rpc/auth.h: Likewise.
52036 * sunrpc/rpc/auth_unix.h: Likewise.
52037 * sunrpc/rpc/clnt.h: Likewise.
52038 * sunrpc/rpc/des_crypt.h: Likewise.
52039 * sunrpc/rpc/key_prot.h: Likewise.
52040 * sunrpc/rpc/netdb.h: Likewise.
52041 * sunrpc/rpc/pmap_clnt.h: Likewise.
52042 * sunrpc/rpc/pmap_prot.h: Likewise.
52043 * sunrpc/rpc/pmap_rmt.h: Likewise.
52044 * sunrpc/rpc/rpc.h: Likewise.
52045 * sunrpc/rpc/rpc_des.h: Likewise.
52046 * sunrpc/rpc/rpc_msg.h: Likewise.
52047 * sunrpc/rpc/svc.h: Likewise.
52048 * sunrpc/rpc/svc_auth.h: Likewise.
52049 * sunrpc/rpc/types.h: Likewise.
52050 * sunrpc/rpc/xdr.h: Likewise.
52051 * sunrpc/rpc_clntout.c: Likewise.
52052 * sunrpc/rpc_cmsg.c: Likewise.
52053 * sunrpc/rpc_common.c: Likewise.
52054 * sunrpc/rpc_cout.c: Likewise.
52055 * sunrpc/rpc_dtable.c: Likewise.
52056 * sunrpc/rpc_hout.c: Likewise.
52057 * sunrpc/rpc_main.c: Likewise.
52058 * sunrpc/rpc_parse.c: Likewise.
52059 * sunrpc/rpc_parse.h: Likewise.
52060 * sunrpc/rpc_prot.c: Likewise.
52061 * sunrpc/rpc_sample.c: Likewise.
52062 * sunrpc/rpc_scan.c: Likewise.
52063 * sunrpc/rpc_scan.h: Likewise.
52064 * sunrpc/rpc_svcout.c: Likewise.
52065 * sunrpc/rpc_tblout.c: Likewise.
52066 * sunrpc/rpc_util.c: Likewise.
52067 * sunrpc/rpc_util.h: Likewise.
52068 * sunrpc/rpcinfo.c: Likewise.
52069 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52070 * sunrpc/rpcsvc/key_prot.x: Likewise.
52071 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52072 * sunrpc/rpcsvc/mount.x: Likewise.
52073 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52074 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52075 * sunrpc/rpcsvc/rex.x: Likewise.
52076 * sunrpc/rpcsvc/rstat.x: Likewise.
52077 * sunrpc/rpcsvc/rusers.x: Likewise.
52078 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52079 * sunrpc/rpcsvc/spray.x: Likewise.
52080 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52081 * sunrpc/rtime.c: Likewise.
52082 * sunrpc/svc.c: Likewise.
52083 * sunrpc/svc_auth.c: Likewise.
52084 * sunrpc/svc_authux.c: Likewise.
52085 * sunrpc/svc_raw.c: Likewise.
52086 * sunrpc/svc_run.c: Likewise.
52087 * sunrpc/svc_simple.c: Likewise.
52088 * sunrpc/svc_tcp.c: Likewise.
52089 * sunrpc/svc_udp.c: Likewise.
52090 * sunrpc/svc_unix.c: Likewise.
52091 * sunrpc/svcauth_des.c: Likewise.
52092 * sunrpc/xcrypt.c: Likewise.
52093 * sunrpc/xdr.c: Likewise.
52094 * sunrpc/xdr_array.c: Likewise.
52095 * sunrpc/xdr_float.c: Likewise.
52096 * sunrpc/xdr_mem.c: Likewise.
52097 * sunrpc/xdr_rec.c: Likewise.
52098 * sunrpc/xdr_ref.c: Likewise.
52099 * sunrpc/xdr_sizeof.c: Likewise.
52100 * sunrpc/xdr_stdio.c: Likewise.
52102 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52105 2010-08-19 Andreas Schwab <schwab@redhat.com>
52107 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52109 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
52111 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52112 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52113 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52114 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52115 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52116 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52117 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52118 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52120 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52121 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52122 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52123 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52124 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52126 2010-07-26 Anton Blanchard <anton@samba.org>
52128 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52129 * malloc/arena.c (heap_trim): Likewise.
52131 2010-08-16 Ulrich Drepper <drepper@redhat.com>
52133 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52136 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52138 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52140 * sysdeps/i386/elf/Makefile: New file.
52142 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52144 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52145 from fanotify_init.
52146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52147 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52149 2010-08-15 Ulrich Drepper <drepper@redhat.com>
52151 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52153 * sysdeps/multiarch/strcmp.S: Likewise.
52155 2010-08-14 Ulrich Drepper <drepper@redhat.com>
52157 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52158 strncase_l-nonascii.
52159 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52160 Add strncase_l-ssse3.
52161 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52162 * sysdeps/x86_64/strcmp.S: Likewise.
52163 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52164 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52165 * sysdeps/x86_64/strncase.S: New file.
52166 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52167 * sysdeps/x86_64/strncase_l.S: New file.
52168 * string/Makefile (strop-tests): Add strncasecmp.
52169 * string/test-strncasecmp.c: New file.
52171 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52174 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52177 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52179 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52181 2010-08-12 Ulrich Drepper <drepper@redhat.com>
52183 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52184 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52185 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52187 2010-05-01 Alan Modra <amodra@gmail.com>
52189 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52190 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52191 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52192 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52193 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52194 tidying. Don't tail-call __sigjmp_save for static lib.
52195 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52197 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52198 (CALL_MCOUNT): Add eh info, and nop after bl.
52199 (TAIL_CALL_SYSCALL_ERROR): New macro.
52200 (PSEUDO_RET): Use it.
52201 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52202 Correct save location of integer regs and cr.
52203 (_dl_profile_resolve): Correct cr save location. Delete nops
52204 after bl when SHARED. Reduce cfi size a little by better
52205 placement of cfi directives.
52206 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52207 make a stack frame. Instead use parm save area as a temp.
52208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52209 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52211 Don't make a stack frame for parent, use parm save area.
52212 Increase child stack frame to 112 bytes. Don't save unused reg,
52213 and adjust reg usage. Set up cfi on error recovery and
52214 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52216 (__makecontext): Add dummy nop after jump to exit.
52217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52218 Use correct parm save area and cr save, reduce stack frame.
52219 Correct cfi for possible PSEUDO_RET frame setup.
52220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52221 Branch to local label emitted by PSEUDO_RET rather than
52224 2010-08-12 Andreas Schwab <schwab@redhat.com>
52227 * locale/programs/locale.c (print_assignment): New function.
52228 (show_locale_vars): Use it.
52230 2010-08-11 Ulrich Drepper <drepper@redhat.com>
52232 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52234 (struct statfs64): Likewise.
52235 (_STATFS_F_FLAGS): Define.
52236 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52238 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52239 (ST_VALID): Define locally.
52240 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52241 __statvfs_getflags, use the provided value.
52242 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52243 __ASSUME_STATFS_F_FLAGS.
52245 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52247 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52248 Add sys/fanotify.h.
52249 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52250 fanotify_mask for GLIBC_2.13.
52251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52252 fanotify_init and fanotify_mark.
52253 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52254 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52256 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52258 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52259 prlimit64 for GLIBC_2.13.
52260 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52262 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52265 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52266 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52267 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52270 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52273 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52274 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52276 * nss/Makefile: Add rules to build and run tst-nss-test1.
52277 * shlib-versions: Add entry for libnss_test1.
52278 * nss/nss_test1.c: New file.
52279 * nss/tst-nss-test1.c: New file.
52281 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52282 (__nss_configure_lookup): Set appropriate entry in
52283 __nss_configure_lookup to true.
52284 * nss/nsswitch.h: Define enum with indeces of databases in
52285 databases and __nss_database_custom arrays. Declare
52286 __nss_database_custom.
52287 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52288 to avoid using nscd when custom rules are installed.
52289 * nss/getXXbyYY_r.c: Likewise.
52290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52292 * nss/nss_files/files-parse.c: Whitespace fixes.
52294 2010-08-09 Ulrich Drepper <drepper@redhat.com>
52297 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52298 * posix/fnmatch_loop.c: Likewise.
52300 2010-07-17 Andi Kleen <ak@linux.intel.com>
52302 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52303 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52304 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52305 * Versions.def [GLIBC_2.13]: Add.
52307 2010-08-06 Ulrich Drepper <drepper@redhat.com>
52309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52310 Also fail if tpwd after pwuid call is NULL.
52312 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52314 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52315 when converting to ms.
52317 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52319 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52320 EOPNOTSUPP errors with ENOTTY.
52321 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52322 EOPNOTSUPP errors with ENOTTY.
52324 2010-07-31 Ulrich Drepper <drepper@redhat.com>
52326 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52327 Add strcasecmp_l-ssse3.
52328 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52330 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52331 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52332 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52334 2010-07-30 Ulrich Drepper <drepper@redhat.com>
52336 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52338 * string/Makefile (strop-tests): Add strcasecmp.
52339 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52340 strcasecmp_l-nonascii.
52341 (gen-as-const-headers): Add locale-defines.sym.
52342 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52343 * sysdeps/x86_64/strcasecmp.S: New file.
52344 * sysdeps/x86_64/strcasecmp_l.S: New file.
52345 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52346 * sysdeps/x86_64/locale-defines.sym: New file.
52347 * string/test-strcasecmp.c: New file.
52349 * string/test-strcasestr.c: Test both ends of the range of characters.
52350 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52352 2010-07-29 Roland McGrath <roland@redhat.com>
52355 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52357 2010-07-27 Ulrich Drepper <drepper@redhat.com>
52359 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52362 2010-07-27 Andreas Schwab <schwab@redhat.com>
52364 * manual/memory.texi (Malloc Tunable Parameters): Document
52367 2010-07-26 Roland McGrath <roland@redhat.com>
52370 * configure.in (-fgnu89-inline check): Set and substitute
52371 gnu89_inline, not libc_cv_gnu89_inline.
52372 * configure: Regenerated.
52373 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52375 2010-07-26 Ulrich Drepper <drepper@redhat.com>
52377 * string/test-strnlen.c: New file.
52378 * string/Makefile (strop-tests): Add strnlen.
52379 * string/tester.c (test_strnlen): Add a few more test cases.
52380 * string/tst-strlen.c: Better error reporting.
52382 * sysdeps/x86_64/strnlen.S: New file.
52384 2010-07-24 Ulrich Drepper <drepper@redhat.com>
52386 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52387 lower-latency instructions.
52389 2010-07-23 Ulrich Drepper <drepper@redhat.com>
52391 * string/test-strcasestr.c: New file.
52392 * string/test-strstr.c: New file.
52393 * string/Makefile (strop-tests): Add strstr and strcasestr.
52394 * string/str-two-way.h: Don't undefine MAX.
52395 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52397 2010-07-21 Andreas Schwab <schwab@redhat.com>
52399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52400 strcasestr-nonascii.
52401 (CFLAGS-strcasestr-nonascii.c): Define.
52402 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52403 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52404 Remove unused attribute.
52406 2010-07-20 Roland McGrath <roland@redhat.com>
52408 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52409 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52410 ld.so.cache was broken. With it, there is no way to disable dsocaps
52411 like LD_HWCAP_MASK can disable hwcaps.
52413 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52415 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52417 2010-07-16 Ulrich Drepper <drepper@redhat.com>
52419 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52420 call in strcasestr.
52421 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52422 __strcasestr_sse42_nonascii.
52423 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52424 strcasestr-nonascii.c.
52425 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52427 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
52429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52430 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52432 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52434 2010-07-09 Ulrich Drepper <drepper@redhat.com>
52436 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52439 2010-07-06 Andreas Schwab <schwab@redhat.com>
52442 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52445 2010-07-06 Ulrich Drepper <drepper@redhat.com>
52447 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52448 _PC_PIPE_BUF using F_GETPIPE_SZ.
52450 2010-07-05 Roland McGrath <roland@redhat.com>
52452 * manual/arith.texi (Rounding Functions): Fix rint description
52453 implicit in round description.
52455 2010-07-02 Ulrich Drepper <drepper@redhat.com>
52457 * elf/Makefile: Fix linking for a few tests to make recent linker
52460 2010-06-30 Andreas Schwab <schwab@redhat.com>
52462 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52463 $(common-objpfx)libc_nonshared.a.
52465 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
52467 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52468 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52469 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52470 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52471 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52472 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52473 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52474 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52489 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52490 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52491 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52492 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52493 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52494 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52495 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52496 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52497 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52498 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52499 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52500 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52516 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52518 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52519 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52520 * string/memmove.c (memmove): Renamed to ...
52521 (MEMMOVE): ...this. Default to memmove.
52522 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52523 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52526 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52527 mempcpy-ssse3-back memmove-ssse3-back.
52528 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52529 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52530 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52531 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52532 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52533 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52534 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52535 * sysdeps/x86_64/multiarch/memmove.c: New file.
52536 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52537 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52538 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52539 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52540 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52543 (index_Fast_Copy_Backward): Define.
52544 (HAS_ARCH_FEATURE): Define.
52545 (HAS_FAST_REP_STRING): Define.
52546 (HAS_FAST_COPY_BACKWARD): Define.
52548 2010-06-21 Andreas Schwab <schwab@redhat.com>
52550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52551 Restore proper fallback handling.
52553 2010-06-19 Ulrich Drepper <drepper@redhat.com>
52556 * posix/group_member.c (__group_member): Correct checking loop.
52558 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52559 OOM in getpwuid_r correctly. Return error number when the caller
52560 should return, otherwise -1.
52561 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52562 call returning > 0 value.
52563 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52565 2010-06-07 Andreas Schwab <schwab@redhat.com>
52567 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52568 libc_nonshared.a from targets in modules-names.
52570 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52572 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52575 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
52577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52578 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52579 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52580 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52582 2010-06-02 Andreas Schwab <schwab@redhat.com>
52584 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52586 2010-06-14 Ulrich Drepper <drepper@redhat.com>
52588 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52594 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52595 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52597 2010-06-14 Roland McGrath <roland@redhat.com>
52599 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52601 2010-06-07 Jakub Jelinek <jakub@redhat.com>
52603 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52604 __REDIRECT followed by __THROW.
52605 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52606 * posix/getopt.h (getopt): Likewise.
52608 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52610 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52611 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52612 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52614 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52615 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52617 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
52619 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52621 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52625 Properly check family and model.
52627 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52629 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52631 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
52633 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52635 2010-05-21 Ulrich Drepper <drepper@redhat.com>
52637 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52640 2010-05-19 Andreas Schwab <schwab@redhat.com>
52642 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52645 2010-05-21 Andreas Schwab <schwab@redhat.com>
52647 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52648 and internal_recvmmsg.
52649 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52650 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52651 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52652 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52654 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52655 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52656 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52658 2010-05-20 Andreas Schwab <schwab@redhat.com>
52660 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52662 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
52664 POWER7 optimizations.
52665 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52666 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52668 2010-05-19 Ulrich Drepper <drepper@redhat.com>
52670 * version.h: Update for 2.13 development version.
52672 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
52674 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52675 exceptions. Return 0.
52677 2010-05-07 Roland McGrath <roland@redhat.com>
52679 * elf/ldconfig.c (main): Add a const.
52681 2010-05-06 Ulrich Drepper <drepper@redhat.com>
52683 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52684 (args_options): Add no-idn option.
52685 (ahosts_keys_int): Add idn_flags to ai_flags.
52686 (parse_option): Handle 'i' option to clear idn_flags.
52688 * malloc/malloc.c (_int_free): Possible race in the most recently
52689 added check. Only act on the data if no current modification
52692 See ChangeLog.17 for earlier changes.