1 2014-11-20 Roland McGrath <roland@hack.frob.com>
3 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4 PTHREAD_CANCEL_ASYNCHRONOUS.
5 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8 * nptl/default-sched.h: New file.
9 * sysdeps/unix/sysv/linux/default-sched.h: New file.
10 * nptl/pthread_create.c: Include it.
11 (__pthread_create_2_1): Use collect_default_sched instead of making
12 Linux syscalls here directly.
14 2014-11-20 Torvald Riegel <triegel@redhat.com>
16 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17 __pthread_once): Use C11 atomics.
19 2014-11-20 Torvald Riegel <triegel@redhat.com>
21 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23 2014-11-20 Torvald Riegel <triegel@redhat.com>
25 * include/atomic.h (__atomic_link_error, __atomic_check_size,
26 atomic_thread_fence_acquire, atomic_thread_fence_release,
27 atomic_thread_fence_seq_cst, atomic_load_relaxed,
28 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29 atomic_compare_exchange_weak_relaxed,
30 atomic_compare_exchange_weak_acquire,
31 atomic_compare_exchange_weak_release,
32 atomic_exchange_acquire, atomic_exchange_release,
33 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
34 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35 atomic_fetch_and_acquire,
36 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
38 2014-11-20 Torvald Riegel <triegel@redhat.com>
40 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
41 USE_ATOMIC_COMPILER_BUILTINS): Define.
42 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
45 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
46 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
47 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
48 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
49 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
50 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
51 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
52 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
53 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
54 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
55 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
56 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
57 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
58 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
59 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
60 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
61 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
62 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
63 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
64 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
65 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
66 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
67 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
68 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
69 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
70 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
71 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
72 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
73 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
74 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
75 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
76 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
77 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
78 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
79 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
80 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
81 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
83 2014-11-19 Roland McGrath <roland@hack.frob.com>
85 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
86 the sched_priority value here. It was already checked when the user
87 called pthread_attr_setschedparam.
89 * nptl/tst-bad-schedattr.c: New file.
90 * nptl/Makefile (tests): Add it.
92 2014-11-19 Carlos O'Donell <carlos@redhat.com>
93 Florian Weimer <fweimer@redhat.com>
94 Joseph Myers <joseph@codesourcery.com>
95 Adam Conrad <adconrad@0c3.net>
96 Andreas Schwab <schwab@suse.de>
97 Brooks <bmoses@google.com>
100 * wordexp-test.c (__dso_handle): Add prototype.
101 (__register_atfork): Likewise.
102 (__app_register_atfork): New function.
103 (registered_forks): New global.
104 (register_fork): New function.
105 (test_case): Add 3 new tests for WRDE_CMDSUB.
106 (main): Call __app_register_atfork.
107 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
108 fork count is non-zero fail the test.
109 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
111 (parse_dollars): Remove check for WRDE_NOCMD.
112 (parse_dquote): Likewise.
114 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
116 * Makeconfig (built-modules): List non-library modules to be
118 (module-cppflags): Include libc-modules.h for
119 everything except shlib-versions.v.i.
121 (before-compile): Add libc-modules.h.
122 ($(common-objpfx)libc-modules.h,
123 $(common-objpfx)libc-modules.stmp): New targets.
124 (common-generated): Add libc-modules.h and libc-modules.stmp.
125 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
126 * include/libc-symbols.h: Don't include libc-modules.h.
127 * include/libc-modules.h: Remove file.
128 * scripts/gen-libc-modules.awk: New script to generate
130 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
131 Depend on libc-modules.stmp.
133 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
135 * Makeconfig (in-module): Get value of libof set for the
137 (CPPFLAGS): Use $(in-module).
138 * Makerules: Don't suffix routine names for nonlib.
139 * include/libc-modules.h: New file.
140 * include/libc-symbols.h: Include libc-modules.h
141 (IS_IN): New macro to replace IS_IN_* macros.
142 * elf/Makefile: Set libof-* for each routine.
143 * elf/rtld-Rules: Likewise.
144 * extra-modules.mk: Likewise.
145 * iconv/Makefile: Likewise.
146 * iconvdata/Makefile: Likewise.
147 * locale/Makefile: Likewise.
148 * malloc/Makefile: Likewise.
149 * nss/Makefile: Likewise.
150 * sysdeps/gnu/Makefile: Likewise.
151 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
152 * sysdeps/unix/sysv/linux/Makefile: Likewise.
153 * sysdeps/s390/s390-64/Makefile: Likewise.
154 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
155 CPPFLAGS for nscd instead of nonlib.
157 2014-11-18 Roland McGrath <roland@hack.frob.com>
159 * nptl/createthread.c: New file.
161 * nptl/createthread.c: Moved ...
162 * sysdeps/unix/sysv/linux/createthread.c: ... here.
164 * nptl/createthread.c: Add proper top-line comment.
165 (do_clone): Folded into ...
166 (create_thread): ... here. Take new arguments STOPPED_START and
167 THREAD_RAN. Always set PD->stopped_start to something here. Don't
168 increment __nptl_threads, do event-reporting logic, do
169 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
170 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
171 resource cleanup if sched_setaffinity or sched_setscheduler fails,
173 * nptl/pthread_create.c: Forward-declare create_thread before
174 including createthread.c.
175 (start_thread): Use new macro START_THREAD_DEFN to replace defining
176 declaration, and new macro START_THREAD_SELF to replace argument.
177 Remove return statement.
178 (report_thread_creation): New function.
179 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
180 synchronization logic, and __nptl_nthreads increment here, around
181 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
182 PD->parent_cancelhandling here, before create_thread. When
183 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
184 __deallocate_stack, and ENOMEM translation here.
186 2014-11-18 Joseph Myers <joseph@codesourcery.com>
189 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
190 (mptwo): Rename to __mptwo.
191 (__inv): Use __mptwo instead of mptwo.
192 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
193 (mptwo): Rename to __mptwo.
194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
195 of mpone and __mptwo instead of mptwo.
196 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
199 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
200 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
201 of mpone and __mptwo instead of mptwo.
202 (__mpranred): Use __mpone instead of mpone.
203 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
205 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
206 (test-xfail-ISO99/math.h/linknamespace): Likewise.
207 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
208 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
209 (test-xfail-ISO11/math.h/linknamespace): Likewise.
210 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
211 (test-xfail-XPG3/math.h/linknamespace): Likewise.
212 (test-xfail-XPG4/math.h/linknamespace): Likewise.
213 (test-xfail-POSIX/math.h/linknamespace): Likewise.
214 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
215 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
216 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
217 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
218 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
219 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
220 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
221 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
222 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
223 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
225 2014-11-18 Tom de Vries <tom@codesoucery.com>
227 * manual/signal.texi (Primitives Interrupted by Signals): In section,
228 replace BSD Handler xref with BSD Signal Handling.
230 2014-11-17 Richard Henderson <rth@redhat.com>
232 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
233 (_FP_PACK_RAW_2): Remove.
234 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
235 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
236 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
237 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
238 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
239 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
240 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
241 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
242 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
243 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
244 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
245 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
246 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
247 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
248 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
249 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
251 2014-11-14 Roland McGrath <roland@hack.frob.com>
253 * signal/signal.h [__USE_MISC]
254 (struct sigvec): Remove type.
255 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
256 (sigvec): Remove declaration.
257 * sysdeps/posix/sigvec.c: Moved ...
258 * signal/sigvec.c: ... here, replacing old file.
259 (struct sigvec): New type, copied from old signal.h definition.
260 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
261 (__sigvec): Convert definition to prototype.
262 (sigvec): Replace weak_alias with compat_symbol.
263 * signal/Versions (libc: GLIBC_2.21): New version set.
264 * include/signal.h: Remove __sigvec declaration.
265 * sysdeps/unix/bsd/sigvec.c: Remove file.
266 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
267 * manual/signal.texi (BSD Handler): Remove subsection.
268 Move siginterrupt up to ...
269 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
270 (Blocking in BSD): Fold subsection into its parent.
271 * NEWS: Mention sigvec removal.
273 2014-11-14 Joseph Myers <joseph@codesourcery.com>
275 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
276 (DLA_FMS): Make definition conditional only on [__FMA4__].
277 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
280 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
281 Make definition conditional only on [PROF].
282 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
284 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
285 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
287 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
289 * include/signal.h (__sigpause): Move declaration above call to
291 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
293 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
294 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
296 2014-11-14 David S. Miller <davem@davemloft.net>
298 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
299 Define before including <string/memcpy.c> and <string/mempcpy.c>.
301 2014-11-14 Joseph Myers <joseph@codesourcery.com>
303 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
304 * configure: Regenerated.
305 * manual/install.texi (Tools for Compilation): Document a
306 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
307 compiler verified to work.
308 * INSTALL: Regenerated.
310 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
311 redeclare with asm name.
312 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
313 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
314 including <string.h>.
315 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
316 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
317 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
318 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
319 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
320 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
321 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
323 2014-11-13 Joseph Myers <joseph@codesourcery.com>
325 * stdlib/strtol.c (__strtol): Use prototype definition.
328 * stdlib/strtol.c (SYM__): New macro.
330 (__strtol): Likewise.
331 (strtol): Rename to __strtol and define as weak alias of
332 __strtol. Use libc_hidden_weak.
334 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
336 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
337 Use numbered labels in inline assembly.
339 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
341 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
342 Add setjmp LIBC_PROBE.
343 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
345 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
346 Add longjmp, longjmp_target LIBC_PROBE.
347 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
350 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
352 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
353 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
354 to get rid of unused variable warning.
356 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
358 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
359 Check for unwind_backtrace == NULL only in SHARED case.
360 (__backchain_backtrace): Compile only in SHARED case.
361 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
363 (__backchain_backtrace): Declare as static.
365 2014-11-12 Roland McGrath <roland@hack.frob.com>
367 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
368 (__libc_multiple_threads_ptr): Variable moved ...
369 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
371 2014-11-12 Joseph Myers <joseph@codesourcery.com>
373 * conform/GlibcConform.pm: New file.
374 * conform/conformtest.pl: Use GlibcConform module.
375 * conform/linknamespace.pl: New file.
376 * conform/list-header-symbols.pl: Likewise.
377 * conform/Makefile (linknamespace-symlists-base): New variable.
378 (linknamespace-symlists-tests): Likewise.
379 (linknamespace-header-base): Likewise.
380 (linknamespace-header-tests): Likewise.
381 (tests-special): Add new tests.
382 ($(linknamespace-symlists-tests)): New rule.
383 (linknamespace-libs): New variable.
384 ($(objpfx)symlist-stdlibs): New rule.
385 ($(linknamespace-header-tests)): Likewise.
386 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
387 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
388 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
389 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
390 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
391 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
392 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
393 (test-xfail-ISO/math.h/linknamespace): Likewise.
394 (test-xfail-ISO/signal.h/linknamespace): Likewise.
395 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
396 (test-xfail-ISO/time.h/linknamespace): Likewise.
397 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
398 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
399 (test-xfail-ISO99/math.h/linknamespace): Likewise.
400 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
401 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
402 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
403 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
404 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
405 (test-xfail-ISO11/math.h/linknamespace): Likewise.
406 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
407 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
408 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
409 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
410 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
411 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
412 (test-xfail-XPG3/math.h/linknamespace): Likewise.
413 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
414 (test-xfail-XPG3/search.h/linknamespace): Likewise.
415 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
416 (test-xfail-XPG3/time.h/linknamespace): Likewise.
417 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
418 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
419 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
420 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
421 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
422 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
423 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
424 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
425 (test-xfail-XPG4/math.h/linknamespace): Likewise.
426 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
427 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
428 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
429 (test-xfail-XPG4/search.h/linknamespace): Likewise.
430 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
431 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
432 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
433 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
434 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
435 (test-xfail-XPG4/time.h/linknamespace): Likewise.
436 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
437 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
438 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
439 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
440 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
441 (test-xfail-POSIX/math.h/linknamespace): Likewise.
442 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
443 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
444 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
445 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
446 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
447 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
448 (test-xfail-POSIX/time.h/linknamespace): Likewise.
449 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
450 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
451 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
452 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
453 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
454 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
455 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
456 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
457 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
458 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
459 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
460 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
461 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
462 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
463 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
464 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
465 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
466 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
467 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
468 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
469 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
470 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
471 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
472 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
473 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
474 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
475 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
476 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
477 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
478 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
479 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
480 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
481 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
482 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
483 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
484 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
485 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
486 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
487 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
488 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
489 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
490 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
491 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
492 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
493 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
494 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
495 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
496 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
497 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
498 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
499 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
500 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
501 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
502 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
503 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
504 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
505 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
506 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
507 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
508 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
509 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
510 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
511 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
512 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
513 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
514 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
515 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
516 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
517 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
518 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
519 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
520 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
521 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
522 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
523 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
524 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
525 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
526 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
527 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
528 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
529 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
530 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
531 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
532 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
533 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
534 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
535 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
536 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
537 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
538 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
539 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
540 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
541 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
542 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
543 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
544 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
545 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
546 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
549 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
553 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
554 (memmem): Rename to __memmem and define as weak alias of
555 __memmem. Use libc_hidden_weak.
556 (__memmem): Use libc_hidden_def.
557 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
558 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
562 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
563 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
564 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
565 and define as weak alias of __fgets_unlocked. Use
567 (__fgets_unlocked): Use libc_hidden_def.
568 * include/stdio.h (__fgets_unlocked): Declare. Use
570 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
571 __fgets_unlocked instead of fgets_unlocked.
572 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
573 (GET_NPROCS_CONF_PARSER): Likewise.
574 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
575 (GET_NPROCS_CONF_PARSER): Likewise.
578 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
579 weak alias of __wmemset. Use libc_hidden_weak.
580 (__wmemset): Use libc_hidden_def.
581 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
582 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
586 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
587 with asm name __mempcpy.
588 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
591 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
592 and define as weak alias of __rawmemchr.
593 (__rawmemchr): Do not define as strong alias of rawmemchr.
596 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
598 (qsort): Call __qsort_r instead of qsort_r.
599 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
600 (__qsort_r): Declare. Call libc_hidden_proto.
601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
603 * nscd/gai.c (__qsort_r): Define to qsort_r.
604 * posix/tst-rfc3484.c (__qsort_r): Likewise.
605 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
606 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
609 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
610 define as weak alias of __malloc_info.
613 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
614 as weak alias of __rewinddir. Don't use libc_hidden_def.
615 (__rewinddir): Use libc_hidden_def.
616 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
617 as weak alias of __rewinddir. Don't use libc_hidden_def.
618 (__rewinddir): Use libc_hidden_def.
619 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
620 weak alias of __rewinddir. Don't use libc_hidden_def.
621 (__rewinddir): Use libc_hidden_def.
622 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
623 (__rewinddir): Use libc_hidden_proto.
624 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
626 (__getcwd): Use __rewinddir instead of rewinddir.
629 * libio/fileno.c (fileno): Rename to __fileno and define as weak
630 alias of __fileno. Use libc_hidden_weak.
631 (__fileno): Use libc_hidden_def.
632 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
633 * libio/ftello.c (ftello): Rename to __ftello and define as weak
635 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
637 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
638 (__fread_unlocked): Define as strong alias of _IO_fread. Use
640 (fread_unlocked): Don't use libc_hidden_ver.
641 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
642 and define as weak alias of __fread_unlocked. Don't use
644 (__fread_unlocked): Use libc_hidden_def.
645 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
646 (ftello): Don't use libc_hidden_proto.
647 (__ftello): Declare. Use libc_hidden_proto.
648 (fread_unlocked): Don't use libc_hidden_proto.
649 (__fread_unlocked): Declare. Use libc_hidden_proto.
650 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
651 and __ftello instead of fileno, fread_unlocked and ftello.
653 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
655 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
657 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
659 (_dl_start_user): Likewise.
660 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
662 2014-11-12 Carlos O'Donell <carlos@redhat.com>
663 Siddhesh Poyarekar <siddhesh@redhat.com>
665 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
666 Move argv and envp down instead of moving argc up.
667 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
669 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
672 * test-skeleton.c (main): Return successful if one of
673 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
674 * string/tst-strcoll-overflow.c: Define expected status.
676 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
679 * locale/iso-639.def: Define Bhili and Tulu language codes.
681 2014-11-11 Alan Hayward <alan.hayward@arm.com>
683 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
685 2014-11-10 Renlin Li <Renlin.Li@arm.com>
688 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
690 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
692 * configure.ac: Updated check of minimal required version to
694 * manual/install.texi (Tools for Compilation): Updated version
696 * configure: Regenerated.
699 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
701 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
704 2014-11-07 Joseph Myers <joseph@codesourcery.com>
706 * include/sys/wait.h (__libc_waitpid): Remove declaration.
707 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
708 (__waitpid): Don't define as alias. Use libc_hidden_def not
710 (waitpid): Define as alias of __waitpid.
711 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
713 (__waitpid): Don't define as alias. Use libc_hidden_def not
715 (waitpid): Define as alias of __waitpid.
716 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
717 __libc_waitpid alias.
718 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
721 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
722 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
723 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
725 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
727 (__waitpid): Don't define as alias. Use libc_hidden_def not
729 (waitpid): Define as alias of __waitpid.
731 2014-11-06 Carlos O'Donell <carlos@redhat.com>
733 * manual/llio.texi: Add comment that write safety has been
736 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
737 (localplt-build-dso): Add elf/ld.so.
738 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
739 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
742 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
747 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
748 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
749 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
750 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
751 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
752 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
753 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
754 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
755 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
756 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
757 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
759 2014-11-05 Joseph Myers <joseph@codesourcery.com>
762 * include/libc-symbols.h (INTUSE): Remove macro.
764 (INTVARDEF): Likewise.
765 (_INTVARDEF): Likewise.
767 (INTVARDEF2): Likewise.
768 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
769 rtld_hidden_def instead of INTVARDEF.
770 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
771 (_dl_starting_up_internal): Remove declaration.
772 (_dl_starting_up): Use rtld_hidden_proto.
773 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
775 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
776 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
778 * elf/dl-writev.h (_dl_writev): Likewise.
779 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
780 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
781 _dl_starting_up_internal.
783 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
785 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
788 2014-11-05 Will Newton <will.newton@linaro.org>
790 * benchtests/Makefile: (bench-malloc): Add malloc thread
791 scalability benchmark.
792 * benchtests/bench-malloc-threads.c: New file.
794 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
796 * sysdeps/aarch64/strchrnul.S: New file.
798 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
802 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
804 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
808 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
810 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
813 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
815 * catgets/test-gencat.c: Use test-skeleton.c.
816 * catgets/tst-catgets.c: Likewise.
817 * csu/tst-empty.c: Likewise.
818 * elf/tst-audit2.c: Likewise.
819 * elf/tst-global1.c: Likewise.
820 * elf/tst-pathopt.c: Likewise.
821 * elf/tst-piemod1.c: Likewise.
822 * elf/tst-tls10.c: Likewise.
823 * elf/tst-tls11.c: Likewise.
824 * elf/tst-tls12.c: Likewise.
825 * gnulib/tst-gcc.c: Likewise.
826 * iconvdata/tst-e2big.c: Likewise.
827 * iconvdata/tst-loading.c: Likewise.
828 * iconv/tst-iconv1.c: Likewise.
829 * iconv/tst-iconv2.c: Likewise.
830 * inet/test-inet6_opt.c: Likewise.
831 * inet/tst-gethnm.c: Likewise.
832 * inet/tst-network.c: Likewise.
833 * inet/tst-ntoa.c: Likewise.
834 * intl/tst-codeset.c: Likewise.
835 * intl/tst-gettext2.c: Likewise.
836 * intl/tst-gettext3.c: Likewise.
837 * intl/tst-ngettext.c: Likewise.
838 * intl/tst-translit.c: Likewise.
839 * io/test-stat.c: Likewise.
840 * libio/test-fmemopen.c: Likewise.
841 * libio/tst-freopen.c: Likewise.
842 * libio/tst-sscanf.c: Likewise.
843 * libio/tst-ungetwc1.c: Likewise.
844 * libio/tst-ungetwc2.c: Likewise.
845 * libio/tst-widetext.c: Likewise.
846 * localedata/tst-ctype.c: Likewise.
847 * localedata/tst-digits.c: Likewise.
848 * localedata/tst-leaks.c: Likewise.
849 * localedata/tst-mbswcs1.c: Likewise.
850 * localedata/tst-mbswcs2.c: Likewise.
851 * localedata/tst-mbswcs3.c: Likewise.
852 * localedata/tst-mbswcs4.c: Likewise.
853 * localedata/tst-mbswcs5.c: Likewise.
854 * localedata/tst-setlocale.c: Likewise.
855 * localedata/tst-trans.c: Likewise.
856 * localedata/tst-wctype.c: Likewise.
857 * localedata/tst-xlocale1.c: Likewise.
858 * login/tst-grantpt.c: Likewise.
859 * malloc/tst-calloc.c: Likewise.
860 * malloc/tst-malloc.c: Likewise.
861 * malloc/tst-mallocstate.c: Likewise.
862 * malloc/tst-mcheck.c: Likewise.
863 * malloc/tst-mtrace.c: Likewise.
864 * malloc/tst-obstack.c: Likewise.
865 * math/atest-exp2.c: Likewise.
866 * math/atest-exp.c: Likewise.
867 * math/atest-sincos.c: Likewise.
868 * math/test-matherr.c: Likewise.
869 * math/test-misc.c: Likewise.
870 * math/test-powl.c: Likewise.
871 * math/tst-definitions.c: Likewise.
872 * misc/tst-dirname.c: Likewise.
873 * misc/tst-efgcvt.c: Likewise.
874 * misc/tst-fdset.c: Likewise.
875 * misc/tst-hsearch.c: Likewise.
876 * misc/tst-mntent2.c: Likewise.
877 * nptl/tst-sem7.c: Likewise.
878 * nptl/tst-sem8.c: Likewise.
879 * nptl/tst-sem9.c: Likewise.
880 * nss/test-netdb.c: Likewise.
881 * posix/tst-fnmatch.c: Likewise.
882 * posix/tst-getlogin.c: Likewise.
883 * posix/tst-gnuglob.c: Likewise.
884 * posix/tst-mmap.c: Likewise.
885 * pwd/tst-getpw.c: Likewise.
886 * resolv/tst-inet_ntop.c: Likewise.
887 * rt/tst-timer.c: Likewise.
888 * stdio-common/test-fseek.c: Likewise.
889 * stdio-common/test-popen.c: Likewise.
890 * stdio-common/test-vfprintf.c: Likewise.
891 * stdio-common/tst-cookie.c: Likewise.
892 * stdio-common/tst-fileno.c: Likewise.
893 * stdio-common/tst-gets.c: Likewise.
894 * stdio-common/tst-obprintf.c: Likewise.
895 * stdio-common/tst-perror.c: Likewise.
896 * stdio-common/tst-sprintf2.c: Likewise.
897 * stdio-common/tst-sprintf3.c: Likewise.
898 * stdio-common/tst-sprintf.c: Likewise.
899 * stdio-common/tst-swprintf.c: Likewise.
900 * stdio-common/tst-tmpnam.c: Likewise.
901 * stdio-common/tst-unbputc.c: Likewise.
902 * stdio-common/tst-wc-printf.c: Likewise.
903 * stdlib/tst-environ.c: Likewise.
904 * stdlib/tst-fmtmsg.c: Likewise.
905 * stdlib/tst-limits.c: Likewise.
906 * stdlib/tst-rand48-2.c: Likewise.
907 * stdlib/tst-rand48.c: Likewise.
908 * stdlib/tst-random2.c: Likewise.
909 * stdlib/tst-random.c: Likewise.
910 * stdlib/tst-strtol.c: Likewise.
911 * stdlib/tst-strtoll.c: Likewise.
912 * stdlib/tst-tls-atexit.c: Likewise.
913 * stdlib/tst-xpg-basename.c: Likewise.
914 * string/test-ffs.c: Likewise.
915 * string/tst-bswap.c: Likewise.
916 * string/tst-inlcall.c: Likewise.
917 * string/tst-strtok.c: Likewise.
918 * string/tst-strxfrm.c: Likewise.
919 * sysdeps/x86_64/tst-audit10.c: Likewise.
920 * sysdeps/x86_64/tst-audit3.c: Likewise.
921 * sysdeps/x86_64/tst-audit4.c: Likewise.
922 * sysdeps/x86_64/tst-audit5.c: Likewise.
923 * time/tst-ftime_l.c: Likewise.
924 * time/tst-getdate.c: Likewise.
925 * time/tst-mktime3.c: Likewise.
926 * time/tst-mktime.c: Likewise.
927 * time/tst-posixtz.c: Likewise.
928 * time/tst-strptime2.c: Likewise.
929 * time/tst-strptime3.c: Likewise.
930 * wcsmbs/tst-btowc.c: Likewise.
931 * wcsmbs/tst-mbrtowc.c: Likewise.
932 * wcsmbs/tst-mbsrtowcs.c: Likewise.
933 * wcsmbs/tst-wchar-h.c: Likewise.
934 * wcsmbs/tst-wcpncpy.c: Likewise.
935 * wcsmbs/tst-wcrtomb.c: Likewise.
936 * wcsmbs/tst-wcsnlen.c: Likewise.
937 * wcsmbs/tst-wcstof.c: Likewise.
939 2014-11-04 Joseph Myers <joseph@codesourcery.com>
942 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
944 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
946 (_dl_mcount): Use rtld_hidden_proto.
947 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
949 * elf/rtld.c (_rtld_global_ro): Likewise.
952 * elf/dl-init.c (_dl_init): Don't use INTDEF.
953 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
954 of _dl_init_internal.
955 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
956 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
957 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
958 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
959 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
960 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
961 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
962 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
963 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
964 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
965 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
966 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
967 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
968 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
969 * sysdeps/tile/dl-start.S (_start): Likewise.
970 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
971 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
974 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
975 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
976 (rtld_progname): Make macro definition unconditional.
977 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
979 (dlmopen_doit): Do not use INTUSE with _dl_argv.
981 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
982 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
983 instead of _dl_argv_internal.
984 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
985 __GI__dl_argv instead of INTUSE(_dl_argv).
986 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
987 __GI__dl_argv instead of _dl_argv_internal.
989 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
990 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
992 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
993 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
995 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
996 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
998 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
999 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1001 2014-11-04 Andreas Schwab <schwab@suse.de>
1003 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1005 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1007 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1008 mtvsrd instruction in binary form.
1010 2014-11-03 Andreas Schwab <schwab@suse.de>
1013 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1014 for less than MB_LEN_MAX use a local buffer of that size.
1015 * libio/tst-fputws.c: New file.
1016 * libio/Makefile (tests): Add tst-fputws.
1018 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1020 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1021 the size of the fpu_fr.fpu_dregs[] array.
1023 2014-11-01 Joseph Myers <joseph@codesourcery.com>
1025 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1026 (__nanosleep): Do not define as alias.
1027 (nanosleep): Define as alias of __nanosleep.
1028 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1029 __libc_nanosleep name.
1031 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1033 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1034 install.texi in comment.
1036 2014-10-31 Torvald Riegel <triegel@redhat.com>
1038 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1039 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1040 ... add here and use lwsync or sync ...
1041 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1042 ... and add here using lwsync.
1044 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1046 * elf/dl-machine-reject-phdr.h: New file.
1047 * elf/dl-load.c: #include that.
1048 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1049 if that returned true.
1051 2014-10-31 Roland McGrath <roland@hack.frob.com>
1054 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1055 gen-as-const-headers chunk. Add a big scare comment after the last
1056 safe place to touch before-compile.
1058 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1060 * manual/install.texi (Tools for Compilation): Update autoconf
1061 version requirements.
1062 * INSTALL: Regenerated.
1064 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1065 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1066 (__libc_pselect): Likewise.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1074 2014-10-31 Torvald Riegel <triegel@redhat.com>
1076 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1077 correct barrier instruction.
1078 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1080 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1083 2014-10-30 Roland McGrath <roland@hack.frob.com>
1085 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1086 after defining inlines. Instead, just use parens to defeat macro
1087 expansion of __isctype in its declaration.
1089 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1091 * include/sys/uio.h (__libc_readv): Remove declaration.
1092 (__libc_writev): Likewise.
1093 * misc/readv.c (__libc_readv): Rename to __readv.
1094 (__readv): Do not define as alias.
1095 (readv): Define as alias of __readv.
1096 * misc/writev.c (__libc_writev): Rename to __writev.
1097 (__writev): Do not define as alias.
1098 (writev): Define as alias of __writev.
1099 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1100 (__readv): Do not define as alias.
1101 (readv): Define unconditionally as alias of __readv.
1102 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1103 (__writev): Do not define as alias.
1104 (writev): Define unconditionally as alias of __writev.
1105 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1107 (writev): Do not define __libc_writev name.
1109 2014-10-30 Roland McGrath <roland@hack.frob.com>
1111 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1112 (convert_charseq): New function, broken out of ...
1113 (use_from_charmap): ... here. Call it.
1114 (use_to_charmap): Use convert_charseq and free instead of duplicating
1115 its code with a variable-length stack struct.
1117 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1119 * include/fcntl.h (__libc_creat): Remove declaration.
1120 * io/creat.c (__libc_creat): Rename to creat.
1121 (creat): Do not define as alias.
1122 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1123 of creat instead of __libc_creat.
1124 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1126 (creat): Do not define as alias.
1127 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1129 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1134 2014-10-29 Carlos O'Donell <carlos@redhat.com>
1136 * manual/llio.texi: Add comments discussing why write() may be
1137 considered MT-unsafe on Linux.
1139 2014-10-28 Carlos O'Donell <carlos@redhat.com>
1141 * dl-load.c (local_strdup): Remove.
1142 (expand_dynamic_string_token): Use __strdup.
1143 (decompose_rpath): Likewise.
1144 (_dl_map_object): Likewise.
1146 2014-10-28 Joseph Myers <joseph@codesourcery.com>
1149 * sysdeps/generic/unwind-dw2-fde.c
1150 (__register_frame_info_bases_internal): Do not declare.
1151 (__register_frame_info_table_bases_internal): Likewise.
1152 (__deregister_frame_info_bases_internal): Likewise.
1153 (__register_frame_info_bases): Declare and use hidden_proto before
1154 definition. Use hidden_def instead of INTDEF.
1155 (__register_frame_info_table_bases): Likewise.
1156 (__deregister_frame_info_bases): Likewise.
1157 (__register_frame_info): Do not use INTUSE.
1158 (__register_frame): Likewise.
1159 (__register_frame_info_table): Likewise.
1160 (__register_frame_table): Likewise.
1161 (__deregister_frame_info): Likewise.
1162 (__deregister_frame): Likewise.
1164 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1166 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1167 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1169 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1171 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1174 2014-10-27 Joseph Myers <joseph@codesourcery.com>
1177 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1178 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1179 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1180 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1181 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1182 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1183 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1184 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1185 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1186 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1187 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1188 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1189 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1191 (setfsuid): Likewise.
1192 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1193 (setfsuid): Likewise.
1194 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1195 (setfsuid): Likewise.
1196 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1198 (setfsuid): Likewise.
1199 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1200 (setfsuid): Likewise.
1201 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1203 (setfsuid): Likewise.
1205 2014-10-27 Andreas Schwab <schwab@suse.de>
1208 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1209 check for Slow_SSE4_2 feature bit.
1210 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1211 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1212 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1213 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1215 2014-10-24 Roland McGrath <roland@hack.frob.com>
1217 * configure.ac: Validate compiler version with a empirical test of
1218 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1220 * configure: Regenerated.
1222 * inet/htons.c (htons): Prototypify.
1223 * inet/htonl.c (htonl): Likewise.
1225 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1227 * string/strncat.c (strncat): Improve performance by using strlen.
1229 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1231 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1233 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1235 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1236 Call libc_fetestexcept_aarch64.
1238 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1240 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1241 Call libc_feholdexcept_aarch64.
1243 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1245 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1246 Call get_rounding_mode.
1248 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1250 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1253 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1255 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1258 2014-10-24 Joseph Myers <joseph@codesourcery.com>
1261 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1262 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1263 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1264 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1265 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1266 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1267 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1268 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1269 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1270 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1271 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1272 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1273 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1274 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1275 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1276 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1277 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1278 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1279 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1280 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1281 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1282 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1283 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1284 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1285 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1286 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1287 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1288 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1289 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1290 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1291 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1292 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1293 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1294 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1295 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1296 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1297 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1298 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1301 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1303 (geteuid): Likewise.
1306 (getresgid): Likewise.
1307 (getresuid): Likewise.
1308 (getgroups): Likewise.
1309 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1310 (geteuid): Likewise.
1313 (getresgid): Likewise.
1314 (getresuid): Likewise.
1315 (getgroups): Likewise.
1316 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1317 (geteuid): Likewise.
1320 (getresgid): Likewise.
1321 (getresuid): Likewise.
1322 (getgroups): Likewise.
1323 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1325 (geteuid): Likewise.
1328 (getresgid): Likewise.
1329 (getresuid): Likewise.
1330 (getgroups): Likewise.
1331 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1332 (geteuid): Likewise.
1335 (getresgid): Likewise.
1336 (getresuid): Likewise.
1337 (getgroups): Likewise.
1338 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1340 (geteuid): Likewise.
1343 (getgroups): Likewise.
1346 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1347 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1348 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1349 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1350 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1351 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1352 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1353 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1354 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1355 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1356 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1357 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1358 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1360 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1367 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1370 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1375 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1377 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1380 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1382 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1385 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1387 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1388 Remove unused include.
1390 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1392 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1393 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1394 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1395 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1397 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1398 Helge Deller <deller@gmx.de>
1401 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1402 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1403 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1405 2014-10-23 Joseph Myers <joseph@codesourcery.com>
1408 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1409 Remove macro definition.
1410 (__ashrdi3_v_glibc20): Likewise.
1411 (__lshrdi3_v_glibc20): Likewise.
1412 (__cmpdi2_v_glibc20): Likewise.
1413 (__ucmpdi2_v_glibc20): Likewise.
1414 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1415 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1416 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1417 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1418 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1419 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1421 2014-10-22 Roland McGrath <roland@hack.frob.com>
1423 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1424 old GNU extension [0] syntax.
1425 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1426 alloca rather than an array member with variable length.
1427 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1428 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1429 (parse_opt): ... here. Likewise use alloca there.
1430 Validate the -i argument before checking for rootness.
1431 (send_shutdown): New function, broken out of ...
1432 (parse_opt): ... here.
1434 2014-10-22 Roland McGrath <roland@hack.frob.com>
1436 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1437 macro to get at the _rt_local_ro field.
1438 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1439 ([PIC] case) or _dl_hwcap ([!PIC] case).
1440 * sysdeps/arm/setjmp.S: Likewise.
1442 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1443 * sysdeps/arm/configure.ac: New check to define it.
1444 * sysdeps/arm/configure: Regenerated.
1445 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1446 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1447 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1448 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1449 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1450 Use move/movt pair instead of a load.
1451 (LDST_GLOBAL): Macro removed.
1452 (LDR_GLOBAL): New macro replaces it.
1453 (LDR_HIDDEN): New macro.
1454 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1455 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1457 * setjmp/tst-setjmp-static.c: New file.
1458 * setjmp/Makefile (tests): Add it.
1459 (tests-static): New variable.
1461 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1464 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1466 2014-10-21 Joseph Myers <joseph@codesourcery.com>
1469 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1471 2014-10-21 Roland McGrath <roland@hack.frob.com>
1473 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1475 2014-10-20 Roland McGrath <roland@hack.frob.com>
1477 * io/fts.c (dirent_not_directory): New function.
1478 (fts_build): Call it.
1480 2014-10-20 Roland McGrath <roland@hack.frob.com>
1482 * nptl/version.c (__nptl_main): Use normal __write rather than
1484 (banner): Update copyright years.
1486 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1488 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1489 * nptl/pthread_cond_timedwait.c: Likewise.
1490 * nptl/pthread_mutex_timedlock.c: Likewise.
1491 * nptl/sem_timedwait.c: Likewise.
1493 * sysdeps/nptl/bits/libc-lock.h
1494 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1495 (__libc_lock_init_recursive): Return void, not 0.
1496 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1497 (__libc_rwlock_init): Likewise.
1498 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1500 2014-10-20 Torvald Riegel <triegel@redhat.com>
1503 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1504 (__pthread_once_slow): ... here.
1505 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1506 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1508 2014-10-20 Torvald Riegel <triegel@redhat.com>
1511 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1512 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1513 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1514 * nptl/pthread_once.c (__pthread_once): Likewise.
1517 2014-10-20 Joseph Myers <joseph@codesourcery.com>
1520 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1522 (writev): Use __libc_writev as strong name.
1523 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1524 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1526 2014-10-17 Roland McGrath <roland@hack.frob.com>
1528 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1530 * sysdeps/i386/nptl/tls.h
1531 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1532 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1534 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1535 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1536 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1537 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1538 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1539 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1541 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1542 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1544 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1546 (__pthread_mutex_init): ... here. Call it.
1547 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1548 Conditionalize PI cases on [__NR_futex].
1549 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1550 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1551 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1553 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1554 conditional on [SIGSETXID].
1555 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1556 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1557 is defined. Likewise for SIGSETXID.
1558 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1559 Conditionalize definitions on [SIGSETXID].
1560 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1561 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1562 unblocking on [SIGCANCEL].
1564 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1565 [__NR_set_robust_list].
1567 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1569 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1570 (do_compare): Likewise.
1572 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
1575 * string/strcoll_l.c: Don't include stdio.h.
1576 (coll_seq): Remove members idxarr and rulearr.
1577 (get_next_seq_cached): Remove function.
1578 (get_next_seq): Likewise.
1579 (get_next_seq_nocache): Rename to get_next_seq.
1580 (do_compare): Remove function.
1581 (do_compare_nocache): Rename to do_compare.
1582 (STRCOLL): Remove weight and rules cache.
1584 2014-10-16 Roland McGrath <roland@hack.frob.com>
1586 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1587 * sysdeps/arm/sfp-machine.h: ... to here.
1588 * sysdeps/arm/Implies: Remove arm/soft-fp.
1590 2014-10-14 Joseph Myers <joseph@codesourcery.com>
1592 * conform/data/sys/utsname.h-data (*_t): Allow.
1593 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1594 [POSIX] (WEXITED): Do not expect constant.
1595 [POSIX] (WSTOPPED): Likewise.
1596 [POSIX] (WNOHANG): Likewise.
1597 [POSIX] (WNOWAIT): Likewise.
1598 [POSIX] (siginfo_t): Do not expect type or elements.
1599 [POSIX] (pid_t): Do not expect type.
1600 [POSIX] (signal.h): Do not allow header.
1601 [POSIX] (sys/resource.h): Likewise.
1602 [POSIX] (si_*): Do not allow pattern.
1603 [POSIX] (W*): Likewise.
1604 [POSIX] (P_*): Likewise.
1605 [POSIX] (BUS_*): Likewise.
1606 [POSIX] (CLD_*): Likewise.
1607 [POSIX] (FPE_*): Likewise.
1608 [POSIX] (ILL_*): Likewise.
1609 [POSIX] (POLL_*): Likewise.
1610 [POSIX] (SEGV_*): Likewise.
1611 [POSIX] (SI_*): Likewise.
1612 [POSIX] (TRAP_*): Likewise.
1613 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1616 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1619 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1620 infinite loop when __recvmsg returns 0.
1622 2014-10-10 Joseph Myers <joseph@codesourcery.com>
1624 * CANCEL-FCT-WAIVE: Remove file.
1625 * CANCEL-FILE-WAIVE: Likewise.
1628 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1629 instead of INTVARDEF.
1630 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1631 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1632 rtld_hidden_data_def instead of INTVARDEF.
1633 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1634 * elf/dl-deps.c (expand_dst): Likewise.
1635 * elf/dl-load.c (_dl_dst_count): Likewise.
1636 (_dl_dst_substitute): Likewise.
1637 (decompose_rpath): Likewise.
1638 (_dl_init_paths): Likewise.
1639 (open_path): Likewise.
1640 (_dl_map_object): Likewise.
1641 * elf/rtld.c (dl_main): Likewise.
1642 (process_dl_audit): Likewise.
1643 (process_envvars): Likewise.
1644 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1646 (__libc_enable_secure): Use rtld_hidden_proto.
1648 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1651 (add_path): New function broken out of _dl_rtld_di_serinfo.
1652 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1654 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1656 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1657 parentheses around macro arguments.
1658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1659 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1661 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1662 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1663 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1664 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1665 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1666 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1667 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1668 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1669 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1670 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1671 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1672 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1673 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1674 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1675 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1677 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1679 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1680 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1681 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1682 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1683 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1684 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1685 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1687 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1688 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1689 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1690 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1691 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1692 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1693 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1695 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1696 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1697 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1698 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1699 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1700 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1701 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1702 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1703 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1704 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1705 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1706 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1707 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1708 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1709 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1710 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1711 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1712 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1713 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1714 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1715 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1716 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1717 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1718 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1719 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1720 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1721 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1722 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1723 (_FP_FRAC_SRS_1): Likewise.
1724 (_FP_FRAC_CLZ_1): Likewise.
1725 (_FP_MUL_MEAT_1_imm): Likewise.
1726 (_FP_MUL_MEAT_1_wide): Likewise.
1727 (_FP_MUL_MEAT_1_hard): Likewise.
1728 (_FP_SQRT_MEAT_1): Likewise.
1729 (_FP_FRAC_ASSEMBLE_1): Likewise.
1730 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1731 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1732 (__FP_CLZ_2): Likewise.
1733 (_FP_MUL_MEAT_2_wide): Likewise.
1734 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1735 (_FP_MUL_MEAT_2_gmp): Likewise.
1736 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1737 (_FP_SQRT_MEAT_2): Likewise.
1738 (_FP_FRAC_ASSEMBLE_2): Likewise.
1739 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1740 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1741 (_FP_FRAC_CLZ_4): Likewise.
1742 (_FP_MUL_MEAT_4_wide): Likewise.
1743 (_FP_MUL_MEAT_4_gmp): Likewise.
1744 (_FP_SQRT_MEAT_4): Likewise.
1745 (_FP_FRAC_ASSEMBLE_4): Likewise.
1746 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1747 * soft-fp/op-common.h (_FP_CMP): Likewise.
1748 (_FP_CMP_EQ): Likewise.
1749 (_FP_CMP_UNORD): Likewise.
1750 (_FP_TO_INT): Likewise.
1751 (_FP_FROM_INT): Likewise.
1752 [!__FP_CLZ] (__FP_CLZ): Likewise.
1753 (_FP_DIV_HELP_imm): Likewise.
1754 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1760 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1761 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1762 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1764 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1767 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1768 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1769 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1770 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1771 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1772 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1774 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1779 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1780 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1783 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1784 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1785 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1786 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1787 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1788 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1789 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1790 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1791 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1792 (FP_UNPACK_RAW_SP): Likewise.
1793 (FP_PACK_RAW_S): Likewise.
1794 (FP_PACK_RAW_SP): Likewise.
1795 (FP_UNPACK_S): Likewise.
1796 (FP_UNPACK_SP): Likewise.
1797 (FP_UNPACK_SEMIRAW_S): Likewise.
1798 (FP_UNPACK_SEMIRAW_SP): Likewise.
1799 (FP_PACK_S): Likewise.
1800 (FP_PACK_SP): Likewise.
1801 (FP_PACK_SEMIRAW_S): Likewise.
1802 (FP_PACK_SEMIRAW_SP): Likewise.
1803 (_FP_SQRT_MEAT_S): Likewise.
1804 (FP_CMP_S): Likewise.
1805 (FP_CMP_EQ_S): Likewise.
1806 (FP_CMP_UNORD_S): Likewise.
1807 (FP_TO_INT_S): Likewise.
1808 (FP_FROM_INT_S): Likewise.
1810 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1812 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1813 (FP_EX_INVALID_IMZ): Likewise.
1814 (FP_EX_INVALID_IMZ_FMA): Likewise.
1815 (FP_EX_INVALID_ISI): Likewise.
1816 (FP_EX_INVALID_ZDZ): Likewise.
1817 (FP_EX_INVALID_IDI): Likewise.
1818 (FP_EX_INVALID_SQRT): Likewise.
1819 (FP_EX_INVALID_CVI): Likewise.
1820 (FP_EX_INVALID_VC): Likewise.
1821 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1822 "invalid" exceptions.
1823 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1824 (_FP_ADD_INTERNAL): Likewise.
1825 (_FP_MUL): Likewise.
1826 (_FP_FMA): Likewise.
1827 (_FP_DIV): Likewise.
1828 (_FP_CMP_CHECK_NAN): Likewise.
1829 (_FP_SQRT): Likewise.
1830 (_FP_TO_INT): Likewise.
1831 (FP_EXTEND): Likewise.
1833 2014-10-09 Allan McRae <allan@archlinux.org>
1835 * po/fr.po: Update French translation from translation project.
1837 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1840 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1842 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1843 (__cxa_atexit): Use libc_hidden_proto.
1844 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1847 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1849 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1850 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1851 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1852 [!_ISOMAC] (__iswctype_internal): Likewise.
1853 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1854 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1856 (fcntl): Remove __fcntl_internal alias.
1857 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1858 __connect_internal alias.
1859 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1862 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1863 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1865 (_FP_CHECK_FLUSH_ZERO): New macro.
1866 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1867 (_FP_CMP): Likewise.
1868 (_FP_CMP_EQ): Likewise.
1869 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1871 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1872 (FP_TRUNC): Likewise.
1874 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1875 treated as invalid conversion, not as normal exponent.
1877 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1878 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1879 (_FP_CMP_EQ): Likewise.
1880 (_FP_CMP_UNORD): Likewise.
1881 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1882 (FP_CMP_EQ_D): Likewise.
1883 (FP_CMP_UNORD_D): Likewise.
1884 * soft-fp/extended.h (FP_CMP_E): Likewise.
1885 (FP_CMP_EQ_E): Likewise.
1886 (FP_CMP_UNORD_E): Likewise.
1887 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1888 (FP_CMP_EQ_Q): Likewise.
1889 (FP_CMP_UNORD_Q): Likewise.
1890 * soft-fp/single.h (FP_CMP_S): Likewise.
1891 (FP_CMP_EQ_S): Likewise.
1892 (FP_CMP_UNORD_S): Likewise.
1893 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1894 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1895 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1896 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1897 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1898 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1899 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1900 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1901 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1902 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1903 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1904 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1905 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1907 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1909 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1910 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1912 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1914 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1915 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1916 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1917 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1919 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1921 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1922 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1924 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1926 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1927 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1928 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1929 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1932 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1933 a subnormal result, set the underflow exception if trapping on
1934 underflow is enabled.
1935 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1936 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1937 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1939 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1940 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1941 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1942 * soft-fp/extendxftf2.c (__extendxftf2): Use
1943 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1945 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1946 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1947 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1948 FP_HANDLE_EXCEPTIONS.
1949 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1950 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1951 FP_HANDLE_EXCEPTIONS.
1952 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1953 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1954 FP_HANDLE_EXCEPTIONS.
1955 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1956 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1957 FP_HANDLE_EXCEPTIONS.
1959 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1962 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1963 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1965 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1966 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1968 (__adjtimex): Define using libc_hidden_ver.
1969 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1971 (ntp_gettime): Call __adjtimex directly.
1972 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1974 (ntp_gettimex): Call __adjtimex directly.
1975 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1976 __adjtimex_internal alias.
1978 2014-10-08 Roland McGrath <roland@hack.frob.com>
1981 * nscd/nscd.c (more_help): Rewrite list of tables collection
1982 using xstrdup and asprintf.
1984 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1986 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1987 Roland McGrath <roland@hack.frob.com>
1989 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1990 (do_lookup_unique): ... local function 'enter' here; update callers.
1992 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1994 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1995 compat_symbol calls on [SHARED].
1996 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1997 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1999 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2000 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2001 (oldsetrlimit): Remove.
2002 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2004 (lchown): New syscall entry.
2005 (oldsetrlimit): Remove.
2006 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2007 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2008 (oldsetrlimit): Remove.
2009 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2012 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2013 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2014 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2015 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2016 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2017 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2019 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2024 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2026 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2027 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2028 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2029 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2030 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2032 (__old_sem_post): Likewise.
2034 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
2036 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2037 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2038 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2039 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2040 Use INLINE_VSYSCALL macro.
2041 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2042 __vdso_clock_gettime.
2043 * sysdeps/unix/sysv/linux/tile/init-first.c
2044 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2045 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2046 __vdso_clock_gettime.
2048 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2049 to set up frame more cleanly.
2051 * sysdeps/tile/memcmp.c: New file.
2053 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2055 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2056 * sysdeps/tile/tilegx/strcasestr.c: New file.
2057 * sysdeps/tile/tilegx/strnlen.c: New file.
2058 * sysdeps/tile/tilegx/strstr.c: New file.
2060 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2062 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
2064 * nptl/tst-setuid3.c: Write errors to stdout.
2066 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2069 (preload): New functions broken out of _dl_map_object_deps.
2070 (_dl_map_object_deps): Remove a nested function. Update call sites.
2072 2014-10-01 Joseph Myers <joseph@codesourcery.com>
2075 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2076 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2078 2014-10-01 Steve Ellcey <sellcey@mips.com>
2080 * sysdeps/mips/strcmp.S: New.
2082 2014-09-30 Joseph Myers <joseph@codesourcery.com>
2085 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2087 (mkdirat): Likewise.
2088 (readlinkat): Likewise.
2089 (renameat): Likewise.
2090 (symlinkat): Likewise.
2091 (unlinkat): Likewise.
2092 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2093 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2094 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2095 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2096 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2097 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2098 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2100 2014-09-30 Will Newton <will.newton@linaro.org>
2102 * math/math.h: Define long double math functions if
2103 _LIBC_TEST is defined.
2104 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2106 * localedata/Makefile: Move assignment to tests-special
2107 into an ifdef testing run-built-tests.
2108 * timezone/Makefile: Likewise.
2110 2014-09-29 Joseph Myers <joseph@codesourcery.com>
2112 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2113 with $(BASH) not $(SHELL).
2115 2014-09-29 Carlos O'Donell <carlos@redhat.com>
2116 Matthew LeGendre <legendre1@llnl.gov>
2119 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2122 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2124 * stdio-common/printf_fp.c
2125 (hack_digit): New function, broken out of ...
2126 (__printf_fp): ... local function here. Update call sites.
2127 hack_digit now takes an additional parameter that is a pointer
2128 to a struct of the referenced locals. Those locals moved inside
2129 the struct and references updated.
2131 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2133 * aclocal.m4: Require autoconf 2.69.
2134 * configure: Regenerated.
2135 * sysdeps/aarch64/configure: Likewise.
2136 * sysdeps/alpha/configure: Likewise.
2137 * sysdeps/arm/armv7/configure: Likewise.
2138 * sysdeps/arm/configure: Likewise.
2139 * sysdeps/ia64/configure: Likewise.
2140 * sysdeps/mach/configure: Likewise.
2141 * sysdeps/mips/configure: Likewise.
2142 * sysdeps/s390/configure: Likewise.
2143 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2146 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2148 * sysdeps/ia64/configure.ac: Likewise.
2150 2014-09-26 Joseph Myers <joseph@codesourcery.com>
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2153 specify symbol version for ld.so. Do not include entry for
2155 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2156 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2157 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2160 * Makeconfig [$(build-shared) = yes]
2161 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2163 [$(build-shared) = yes && $(soversions.mk-done) = t]
2164 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2165 [$(build-shared) = yes && $(soversions.mk-done) = t]
2166 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2168 [$(build-shared) = yes && $(soversions.mk-done) = t]
2169 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2171 [$(build-shared) = yes && $(soversions.mk-done) = t]
2172 (common-generated): Don't append gnu/lib-names.h and
2173 gnu/lib-names.stmp here.
2174 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2175 (lib-names-h-abi): New variable.
2176 [$(build-shared) = yes && $(soversions.mk-done) = t]
2177 (lib-names-stmp-abi): Likewise.
2178 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2179 abi-variants] (before-compile): Append
2180 $(common-objpfx)$(lib-names-h-abi).
2181 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2182 abi-variants] (common-generated): Append gnu/lib-names.h.
2183 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2184 abi-variants] (install-others-nosubdir): Depend on
2185 $(inst_includedir)/$(lib-names-h-abi).
2186 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2187 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2188 [$(build-shared) = yes && $(soversions.mk-done) = t]
2189 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2190 [$(build-shared) = yes && $(soversions.mk-done) = t]
2191 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2192 [$(build-shared) = yes && $(soversions.mk-done) = t]
2193 (common-generated): Append $(lib-names-h-abi) and
2194 $(lib-names-stmp-abi).
2195 * scripts/lib-names.awk: Do not handle multi being set.
2196 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2198 (abi-lp64_be-ld-soname): Likewise.
2199 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2201 (abi-hard-ld-soname): Likewise.
2202 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2203 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2205 (abi-o32_hard-ld-soname): Likewise.
2206 (abi-o32_soft_2008-ld-soname): Likewise.
2207 (abi-o32_hard_2008-ld-soname): Likewise.
2208 (abi-n32_soft-ld-soname): Likewise.
2209 (abi-n32_hard-ld-soname): Likewise.
2210 (abi-n32_soft_2008-ld-soname): Likewise.
2211 (abi-n32_hard_2008-ld-soname): Likewise.
2212 (abi-n64_soft-ld-soname): Likewise.
2213 (abi-n64_hard-ld-soname): Likewise.
2214 (abi-n64_soft_2008-ld-soname): Likewise.
2215 (abi-n64_hard_2008-ld-soname): Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2218 (abi-64-v2-ld-soname): Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2221 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2223 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2225 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2227 (abi-64-ld-soname): Likewise.
2228 (abi-x32-ld-soname): Likewise.
2229 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2231 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2233 2014-09-23 Joseph Myers <joseph@codesourcery.com>
2236 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2237 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2238 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2239 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2240 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2241 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2242 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2243 syscall entry for GLIBC_2.2 symbol version.
2244 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2247 (setrlimit): Likewise.
2248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2251 2014-09-23 Will Newton <will.newton@linaro.org>
2253 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2254 _LINUX_ARM_SYSDEP_H include guard too.
2255 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2258 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2260 * sysdeps/unix/sysv/linux/eventfd.c:
2261 Make first argument unsigned.
2262 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2263 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2265 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
2267 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2268 * socket/sys/socket.h: Likewise
2269 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2271 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2273 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2275 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
2277 * time/tst-ftime.c: New test.
2278 * time/Makefile (tests): Add tst-ftime.
2280 2014-09-17 Joseph Myers <joseph@codesourcery.com>
2282 * soft-fp/extended.h: Fix comment formatting.
2283 * soft-fp/op-1.h: Likewise.
2284 * soft-fp/op-2.h: Likewise.
2285 * soft-fp/op-4.h: Likewise.
2286 * soft-fp/op-8.h: Likewise.
2287 * soft-fp/op-common.h: Likewise.
2288 * soft-fp/soft-fp.h: Likewise.
2290 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2292 2014-09-16 Joseph Myers <joseph@codesourcery.com>
2295 * Makeconfig (soversions-default-setname): Remove variable.
2296 ($(common-objpfx)soversions.i): Don't pass default_setname to
2298 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2299 oldest_abi to abi-versions.awk.
2300 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2301 * config.make.in (oldest-abi): Remove variable.
2302 * configure.ac (--enable-oldest-abi): Remove configure option.
2303 * configure: Regenerated.
2304 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2306 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2307 * scripts/soversions.awk: Do not handle default_setname variable.
2308 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2310 * sysdeps/mach/hurd/configure: Regenerated.
2311 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2313 * sysdeps/unix/sysv/linux/configure: Regenerated.
2315 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2317 * elf/Makefile (CFLAGS-interp.c): Remove.
2318 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2320 * elf/interp.c: Include generated runtime-linker.h
2322 * Makerules (lib%.so): Don't include $(+interp) in
2324 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2325 * dlfcn/eval.c: Remove file.
2327 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2331 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2335 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2337 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2338 Jakub Jelinek <jakub@redhat.com>
2341 * libio/stdio.h: Check definition of __fortify_function
2342 instead of __extern_always_inline to include bits/stdio2.h.
2343 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2344 check if __extern_always_inline is defined.
2345 [__USE_MISC || __USE_XOPEN]: Likewise.
2346 [__USE_ISOC99] Likewise.
2347 * misc/sys/cdefs.h (__fortify_function): Define only if
2348 __extern_always_inline is defined.
2349 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2350 __extern_always_inline and __extern_inline only for g++-4.3
2351 and newer or a compatible gcc.
2353 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2356 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2357 last change to handle zero prefix length.
2359 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2361 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2364 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2367 2014-09-13 Allan McRae <allan@archlinux.org>
2369 * po/ru.po: Update Russian translation from translation project.
2371 2014-09-12 Roland McGrath <roland@hack.frob.com>
2373 * locale/programs/locale.c (show_locale_vars): Inline local function
2374 into its sole call site. Clean up some style nits.
2375 (print_item): New function, broken out of ...
2376 (show_info): ... local function here. Clean up style nits.
2378 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2380 (set_class_defaults): ... local function set_default here.
2381 Define set_default as a macro locally to pass constant parameters.
2382 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2383 rather than a shared local.
2385 * stdlib/rpmatch.c (try): New function, broken out of ...
2386 (rpmatch): ... local function here. Also, prototypify definition.
2388 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2390 * scripts/soversions.awk: Do not handle configuration names.
2391 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2392 vendor and os variables to soversions.awk.
2393 * configure.ac: Do not modify gnu-* host_os.
2394 * configure: Regenerated
2395 * shlib-versions: Remove first column with configuration names.
2396 * nptl/shlib-versions: Likewise.
2397 * nptl_db/shlib-versions: Likewise.
2398 * sysdeps/hppa/shlib-versions: Likewise.
2399 * sysdeps/m68k/shlib-versions: Likewise.
2400 * sysdeps/mach/hurd/shlib-versions: Likewise.
2401 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2402 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2403 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2404 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2405 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2406 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2407 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2408 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2411 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2412 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2413 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2415 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2416 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2417 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2418 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2421 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2424 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2426 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2428 * shlib-versions: Remove OS-specific entries. Moved to files in
2430 * sysdeps/mach/hurd/shlib-versions: New file.
2431 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2433 * nptl/shlib-versions: Remove architecture-specific entries.
2434 Moved to files in sysdeps.
2435 * shlib-versions: Likewise.
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2438 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2439 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2440 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2443 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2444 (UDP_NO_CHECK6_RX): Likewise.
2446 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2448 * sysdeps/posix/sysconf.c (__sysconf): Spell
2449 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2451 2014-08-12 Florian Weimer <fweimer@redhat.com>
2453 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2455 * iconv/Versions (__gconv_transliterate): Export for use from
2457 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2458 (struct __gconv_trans_data, __gconv_trans_fct,
2459 __gconv_trans_context_fct, __gconv_trans_query_fct,
2460 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2462 (struct __gconv_step_data): Remove __trans member.
2463 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2464 longer hidden. Remove unused trans_data argument.
2465 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2466 (__gconv_translit_find): Remove declaration.
2467 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2469 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2470 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2471 trans_data argument. Add hidden definition.
2472 (__gconv_translit_find): Remove.
2473 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2474 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2475 * iconv/skeleton.c: Remove transliteration initialization.
2476 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2477 __gconv_step_data initialization.
2478 * libio/iofwide.c (__libio_translit_): Remove.
2479 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2480 * wcsmbs/btowc.c (__btowc): Likewise.
2481 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2482 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2483 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2484 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2485 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2486 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2487 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2488 * wcsmbs/wctob.c (wctob): Likewise.
2490 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2493 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2494 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2496 * sysdeps/x86/Makefile: Adjust.
2498 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2499 Roland McGrath <roland@hack.frob.com>
2501 * locale/weight.h: Add include guard.
2502 (findidx): Make static rather than auto; take new parameters
2503 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2504 * locale/weightwc.h: Likewise.
2505 * posix/fnmatch_loop.c
2506 (FCT): Change type of EXTRA from int32_t to wint_t.
2507 Don't include either header inside the function.
2508 Call FINDIDX rather than findidx, and pass new arguments.
2509 #undef FINDIDX at the end of the file.
2510 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2511 FINDIDX before including fnmatch_loop.c for the non-wide version.
2512 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2513 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2514 for the wide version.
2515 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2516 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2517 Pass new arguments to findidx.
2518 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2519 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2520 Don't #include it inside the function. Pass new arguments to findidx.
2521 * posix/regex_internal.h
2522 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2523 (re_string_elem_size_at): Don't #include it inside the function.
2524 Pass new arguments to findidx.
2525 * string/strcoll_l.c: #include WEIGHT_H at top level.
2526 (get_next_seq): Don't #include it inside the function.
2527 Pass new arguments to findidx.
2528 (get_next_seq_nocache): Likewise.
2529 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2530 (STRXFRM): Don't #include it inside the function.
2531 Pass new arguments to findidx.
2533 2014-09-11 Florian Weimer <fweimer@redhat.com>
2536 * malloc/malloc.c (unlink): Turn asserts into a call to
2539 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
2542 * libio/wfileops (do_ftell_wide): Free OUT.
2544 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2546 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2548 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2551 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2552 group if the current group is empty.
2554 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556 * benchtests/bench-memset.c (test_main): Add more test from size
2557 from 32 to 512 bytes.
2558 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2559 Add POWER8 memset object.
2560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2561 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2562 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2564 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2566 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2567 multiarch POWER8 memset optimization.
2568 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2569 POWER8 memset optimization.
2571 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2572 Remove bzero multiarch objects.
2573 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2574 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2575 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2576 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2578 [__bzero]: Redefine to specific name.
2579 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2580 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2581 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2583 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2584 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2586 2014-09-10 Florian Weimer <fweimer@redhat.com>
2588 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2589 warnings into errors.
2591 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2592 __cxa_thread_atexit_impl prototype.
2594 2014-09-09 Steve Ellcey <sellcey@mips.com>
2596 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2597 Fix capitalization of error message.
2599 2014-09-09 Steve Ellcey <sellcey@mips.com>
2601 * sysdeps/mips/preconfigure: Modify ABI tests.
2603 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2605 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2607 2014-09-07 Roland McGrath <roland@hack.frob.com>
2608 Carlos O'Donell <carlos@systemhalted.org>
2610 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2611 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2612 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2613 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2614 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2615 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2616 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2617 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2618 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2619 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2620 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2621 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2622 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2623 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2624 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2625 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2626 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2627 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2628 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2629 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2630 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2631 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2632 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2633 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2634 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2635 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2636 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2637 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2638 Deconditionalize the code that was previously under [RESET_PID].
2639 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2640 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2641 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2642 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2645 2014-09-08 Allan McRae <allan@archlinux.org>
2647 * version.h (RELEASE): Set to "development".
2648 (VERSION): Set to "2.20.90"
2650 2014-09-07 Allan McRae <allan@archlinux.org
2652 * version.h (RELEASE): Set to "stable".
2653 (VERSION): Set to "2.20"
2654 * include/features.h (__GLIBC_MINOR__): Set to 20.
2656 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2659 * po/ko.po: Update Korean translation from translation project.
2661 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2664 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2665 macro for handling signed relocations.
2667 2014-09-03 Florian Weimer <fweimer@redhat.com>
2670 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2671 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2673 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2674 * iconvdata/ibm935.c (BODY): Likewise.
2675 * iconvdata/ibm937.c (BODY): Likewise.
2676 * iconvdata/ibm939.c (BODY): Likewise.
2677 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2679 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2681 * iconvdata/run-iconv-test.sh: New test loop for checking for
2684 2014-09-02 Khem Raj <raj.khem@gmail.com>
2686 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2689 2014-09-01 Allan McRae <allan@archlinux.org>
2691 * po/eo.po: Update Esperanto translation from translation project.
2693 * po/ca.po: Update Catalan translation from translation project.
2695 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2697 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2700 2014-08-27 Mark Wielaard <mjw@redhat.com>
2703 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2704 to call set_thread_area instead of hand written asm.
2705 (__NR_set_thread_area): Removed define.
2706 (TLS_FLAG_WRITABLE): Likewise.
2707 (__ASSUME_SET_THREAD_AREA): Remove check.
2708 (TLS_EBX_ARG): Remove define.
2709 (TLS_LOAD_EBX): Likewise.
2711 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2713 Simplify atomicity of socket creation in bind.
2715 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2716 looking up the name after linking the file.
2718 2014-08-27 Allan McRae <allan@archlinux.org>
2720 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2722 2014-08-26 Florian Weimer <fweimer@redhat.com>
2725 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2726 trans_compare, open_translit, __gconv_translit_find):
2727 Remove module loading code.
2729 2014-08-26 Allan McRae <allan@archlinux.org>
2731 * po/vi.po: Update Vietnamese translation from translation project.
2733 * po/uk.po: Update Ukrainian translation from translation project.
2735 * po/fr.po: Update French translation from translation project.
2737 * po/ru.po: Update Russian translation from translation project.
2739 * po/pl.po: Update Polish translation from translation project.
2741 * po/cs.po: Update Czech translation from translation project.
2743 * po/de.po: Update German translation from translation project.
2745 * po/bg.po: Update Bulgarian translation from translation project.
2747 * po/sv.po: Update Sweedish translation from translation project.
2749 * po/nl.po: Update Dutch translation from translation project.
2751 * po/es.po: Update Spanish translation from translation project.
2753 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2755 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2757 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2758 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2759 (CPPFLAGS-iconvconfig): Likewise.
2760 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2762 * include/libc-symbols.h: Remove unnecessary check for
2764 * nptl/pthreadP.h: Likewise.
2765 * sysdeps/aarch64/setjmp.S: Likewise.
2766 * sysdeps/alpha/setjmp.S: Likewise.
2767 * sysdeps/arm/sysdep.h: Likewise.
2768 * sysdeps/i386/setjmp.S: Likewise.
2769 * sysdeps/m68k/setjmp.c: Likewise.
2770 * sysdeps/posix/getcwd.c: Likewise.
2771 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2772 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2773 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2774 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2775 * sysdeps/sh/sh3/setjmp.S: Likewise.
2776 * sysdeps/sh/sh4/setjmp.S: Likewise.
2777 * sysdeps/unix/alpha/sysdep.h: Likewise.
2778 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2779 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2780 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2781 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2786 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2789 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2791 * sysdeps/x86_64/setjmp.S: Likewise.
2793 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2798 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2799 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2801 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2803 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2806 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2807 and __x86_64__ when disabling x87 inline functions.
2809 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2812 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2813 asm statement with __cpuid_count.
2815 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2817 * configure.ac: Change __ehdr_start code to dereference the struct.
2818 Run readelf on the output to look for relocations.
2819 * configure: Regenerated.
2821 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2824 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2826 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2828 2014-08-12 Roland McGrath <roland@hack.frob.com>
2830 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2832 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2835 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2836 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2838 2014-08-12 Sean Anderson <seanga2@gmail.com>
2840 * malloc/malloc.c: Fix typo in comment.
2842 2014-08-09 Allan McRae <allan@archlinux.org>
2844 * Regenerate libc.po.
2846 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2848 * intl/tst-gettext2.sh: Check every lang file for creation.
2850 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2852 * sysdeps/aarch64/fpu/math_private.h
2853 (libc_feholdsetround_noex_aarch64_ctx): New function.
2855 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2857 * sysdeps/arm/armv6/strcpy.S (strcpy):
2858 Fix performance issue in misaligned cases.
2860 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2862 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2863 Move definition from termios.h.
2864 (struct termio): Likewise.
2865 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2866 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2867 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2868 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2870 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2871 Move definition to ioctl-types.h
2872 (struct termio): Likewise.
2873 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2874 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2875 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2876 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2879 2014-08-05 Richard Henderson <rth@redhat.com>
2881 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2883 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2885 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2886 Use __feraiseexcept.
2887 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2888 Protect libm symbols with IS_IN_libm.
2890 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2892 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2894 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2896 2014-08-04 Will Newton <will.newton@linaro.org>
2898 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2901 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2903 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2904 variants for each function.
2906 2014-08-04 Roland McGrath <roland@hack.frob.com>
2908 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2910 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2911 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2913 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2914 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2915 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2916 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2917 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2918 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2919 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2920 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2921 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2922 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2927 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2928 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2931 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2939 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2940 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2941 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2942 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2943 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2944 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2945 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2947 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2949 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2950 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2951 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2952 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2953 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2954 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2955 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2956 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2957 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2958 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2959 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2960 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2961 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2962 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2963 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2964 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2965 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2967 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2968 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2970 2014-08-04 Roland McGrath <roland@hack.frob.com>
2972 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2973 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2974 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2975 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2976 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2977 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2979 2014-08-04 Roland McGrath <roland@hack.frob.com>
2981 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2982 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2983 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2984 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2986 2014-08-04 Roland McGrath <roland@hack.frob.com>
2988 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2989 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2990 (__libc_vfork): Define function under this name.
2991 (__vfork): Define as an alias.
2992 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2993 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2995 2014-08-04 Roland McGrath <roland@hack.frob.com>
2997 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2998 that was previously under [RESET_PID].
2999 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3001 2014-08-04 Andreas Schwab <schwab@suse.de>
3003 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3005 2014-08-03 Mike Frysinger <vapier@gentoo.org>
3007 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3010 2014-08-01 Roland McGrath <roland@hack.frob.com>
3012 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3014 2014-08-01 Richard Henderon <rth@redhat.com>
3016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3017 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3018 typo in exact zero test.
3019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3020 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3023 2014-08-01 Roland McGrath <roland@hack.frob.com>
3025 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3026 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3027 * sysdeps/arm/sysdep.h: ... here.
3028 [!__ASSEMBLER__]: Include <stdint.h>.
3030 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3032 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3033 (HAVE_WCTYPE_H): Likewise.
3034 (HAVE_ISWCTYPE): Likewise.
3035 (ENABLE_NLS): Likewise.
3036 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3037 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3039 * posix/regex_internal.c: Check if DEBUG is defined and is
3042 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3043 (HAVE_MBSRTOWCS): Likewise.
3044 * posix/fnmatch.c: Include string.h unconditionally.
3046 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3048 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3051 2014-07-31 Roland McGrath <roland@hack.frob.com>
3053 * sysdeps/generic/safe-fatal.h: New file.
3054 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3055 * nptl/forward.c: Include it.
3056 (__pthread_unwind): Use __safe_fatal as default action, rather
3057 than a bogus use of INTERNAL_SYSCALL that could never work.
3059 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3060 * configure.ac (libc_cv_builtin_trap): New test.
3061 * configure: Regenerated.
3062 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3063 (ABORT_INSTRUCTION): Define using __builtin_trap.
3065 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3066 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3067 * sysdeps/nptl/nptl-signals.h: New file.
3068 * nptl/pthreadP.h: Include <nptl-signals.h>.
3070 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3072 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3073 (ONE_DIRECTION): Define.
3074 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3075 (ONE_DIRECTION): Define.
3076 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3077 (ONE_DIRECTION): Define.
3079 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3081 * sysdeps/s390/Makefile: Delete file.
3082 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3083 * sysdeps/s390/__longjmp.c: Delete file.
3084 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3085 Remove fields __flags and __reserved.
3086 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3088 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3089 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3090 * sysdeps/s390/rtld-setjmp.S: Likewise.
3091 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3092 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3093 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3094 * sysdeps/s390/s390-32/setjmp.S: ... here.
3096 (__sigsetjmp): Remove setting __flags field.
3097 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3098 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3099 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3100 * sysdeps/s390/s390-64/setjmp.S: ... here.
3102 (__sigsetjmp): Remove setting __flags field.
3103 * sysdeps/s390/setjmp.S: Delete file.
3104 * sysdeps/s390/sigjmp.c: Likewise.
3105 * sysdeps/s390/v1-longjmp.c: Likewise.
3106 * sysdeps/s390/v1-setjmp.h: Likewise.
3107 * sysdeps/s390/v1-sigjmp.c: Likewise.
3108 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3109 Remove v1-longjmp_chk.
3110 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3111 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3112 Include debug/longjmp_chk.c and add versioning.
3113 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3114 Include nptl/pt-longjmp.c and add versioning.
3115 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3116 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3117 Include __longjmp.c.
3118 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3120 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3121 (__getcontext): Remove setting __flags field.
3123 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3124 Don't restore upper high grps.
3125 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3127 (__swapcontext): Remove setting uc_flags field.
3128 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3130 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3131 Include __longjmp.c.
3132 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3134 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3135 (__getcontext): Remove setting __flags field.
3137 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3138 (__swapcontext): Remove setting uc_flags field.
3139 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3140 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3141 Remove fields uc_high_gprs and __reserved.
3142 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3143 New file with reverted content.
3144 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3145 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3147 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3150 2014-07-31 Andreas Schwab <schwab@suse.de>
3152 * config.h.in (HAVE_IFUNC): Define to 0.
3153 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3156 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3159 memmove-avx-unaligned, memcpy-avx-unaligned and
3160 mempcpy-avx-unaligned.
3161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3162 Add tests for AVX memcpy functions.
3163 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3164 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3166 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3167 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3169 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3170 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3172 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3173 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3174 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3176 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3179 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3182 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
3185 * manual/llio.texi: Add section about open file description locks.
3186 * manual/examples/ofdlocks.c: Example of open file description
3188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3189 F_OFD_SETLK, and F_OFD_SETLKW.
3191 2014-07-23 Allan McRae <allan@archlinux.org>
3193 * po/es.po: Update Spanish translation from translation project.
3195 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3197 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3199 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3202 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3203 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3204 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3206 2014-07-17 Joseph Myers <joseph@codesourcery.com>
3209 * math/fesetenv.c (__fesetenv)
3210 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3211 * math/feupdateenv.c (__feupdateenv)
3212 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3214 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3215 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3216 (__ASSUME_SOCKETCALL): Do not define.
3218 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3219 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3220 (__ASSUME_SOCKETCALL): Do not define.
3221 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3222 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3223 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3224 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3225 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3226 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3227 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3228 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3230 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3231 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3232 (__ASSUME_SOCKETCALL): Do not define.
3233 (__ASSUME_IPC64): Define unconditionally.
3234 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3235 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3236 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3237 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3238 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3239 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3240 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3243 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3244 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3245 (__ASSUME_SOCKETCALL): Do not define.
3246 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3247 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3248 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3249 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3250 (__ASSUME_REQUEUE_PI): Define unconditionally.
3251 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3252 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3253 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3254 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3255 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3256 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3258 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3259 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3260 (__ASSUME_SOCKETCALL): Do not define.
3261 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3262 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3263 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3264 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3265 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3266 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3268 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3269 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3270 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3271 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3272 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3273 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3274 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3275 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3276 (__ASSUME_GETCPU_SYSCALL): Likewise.
3278 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3279 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3280 cases for individual architectures.
3281 * sysdeps/gnu/configure: Regenerated.
3282 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3283 LIBC_SLIBDIR_RTLDDIR.
3284 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3285 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3286 LIBC_SLIBDIR_RTLDDIR.
3287 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3289 LIBC_SLIBDIR_RTLDDIR.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3292 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3293 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3295 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3296 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3298 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3299 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3300 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3301 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3303 * sysdeps/aarch64/shlib-versions: Move to ...
3304 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3305 * sysdeps/alpha/shlib-versions: Move to ...
3306 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3307 * sysdeps/arm/shlib-versions: Move to ...
3308 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3309 * sysdeps/hppa/shlib-versions: Move all contents except for
3310 libgcc_s entry to ...
3311 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3313 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3314 * sysdeps/ia64/shlib-versions: Move to ...
3315 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3317 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3318 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3319 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3320 * sysdeps/microblaze/shlib-versions: Move to ...
3321 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3322 * sysdeps/mips/shlib-versions: Move to ...
3323 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3325 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3326 * sysdeps/tile/shlib-versions: Move to ...
3327 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3328 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3330 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3331 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3333 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3335 2014-07-17 Will Newton <will.newton@linaro.org>
3337 * sysdeps/arm/bits/atomic.h
3338 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3339 (__arch_compare_and_exchange_bool_16_int): Likewise.
3340 (__arch_compare_and_exchange_bool_64_int): Likewise.
3342 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3343 into an #else block.
3345 2014-07-16 Roland McGrath <roland@hack.frob.com>
3347 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3348 just Linux configurations. Test empirically that the compiler sets
3349 __ARM_EABI__, rather than using the tuple to decide.
3350 * sysdeps/arm/preconfigure: Regenerated.
3351 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3352 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3353 contents appended ...
3354 * sysdeps/arm/configure.ac: ... here.
3355 * sysdeps/arm/configure: Regenerated.
3357 2014-07-15 Roland McGrath <roland@hack.frob.com>
3359 * nptl/pthread_kill.c: New file.
3360 * nptl/pthread_sigmask.c: New file.
3361 * nptl/pthread_sigqueue.c: New file.
3363 * sysdeps/nptl/lowlevellock.h: New file.
3364 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3365 * sysdeps/nptl/lowlevellock-futex.h: New file.
3367 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3368 Remove dead declarations.
3370 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3372 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3373 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3375 * sysdeps/x86_64/configure.ac: Likewise.
3376 * sysdeps/i386/configure: Regenerated.
3377 * sysdeps/x86_64/configure: Likewise.
3378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3379 memset-avx2 only if config-cflags-avx2 is yes.
3380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3381 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3383 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3384 only if HAVE_AVX2_SUPPORT is defined.
3385 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3387 2014-07-14 Alan Modra <amodra@gmail.com>
3390 * elf/elf.h (DT_PPC64_NUM): Correct value.
3391 * NEWS: Add to fixed bug list.
3393 2014-07-13 Jim Meyering <meyering@fb.com>
3396 regex: don't deref NULL upon heap allocation failure
3397 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3398 failure in one more place.
3399 To trigger the segfault, configure grep -with-included-regex,
3400 build it, and run these commands:
3401 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3403 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3405 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3407 2014-07-11 Richard Henderson <rth@redhat.com>
3409 * sysdeps/aarch64/libm-test-ulps: Update.
3411 2014-07-10 Florian Weimer <fweimer@redhat.com>
3414 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3415 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3416 (__nptl_setxid): Initialize error member. Call
3417 __nptl_setxid_error.
3418 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3419 * nptl/descr.h (struct xid_command): Add error member.
3420 * nptl/tst-setuid3.c: New file.
3421 * nptl/Makefile (tests): Add it.
3423 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3425 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3427 (__lll_trylock): Use __lll_base_trylock.
3428 (__lll_cond_trylock): Likewise.
3430 2014-07-10 Roland McGrath <roland@hack.frob.com>
3432 * nptl/pthread_create.c (start_thread): Use atomic_or and
3433 lll_futex_wake directly rather than lll_robust_dead.
3434 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3435 (lll_robust_dead): Macro removed.
3436 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3437 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3438 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3439 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3440 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3441 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3442 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3443 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3444 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3445 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3446 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3447 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3448 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3449 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3450 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3452 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3453 Use atomic_compare_and_exchange_val_acq directly rather than
3455 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3456 (__lll_robust_trylock, lll_robust_trylock): Removed.
3457 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3458 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3459 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3460 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3461 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3462 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3463 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3464 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3466 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3467 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3468 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3469 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3470 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3472 2014-07-02 Florian Weimer <fweimer@redhat.com>
3474 * manual/locale.texi (Locale Names): New section documenting
3475 locale name syntax. Adjust menu and node chaining accordingly.
3476 (Choosing Locale): Reference Locale Names, Locale Categories.
3477 Mention setting LC_ALL=C. Reflect that name syntax is now
3479 (Locale Categories): New section title. Reference Locale Names.
3480 LC_ALL is an environment variable, but not a category.
3481 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3482 description, now in Locale Name. Reference that section. Locale
3483 name syntax is now documented.
3485 2014-07-02 Florian Weimer <fweimer@redhat.com>
3488 * locale/findlocale.c (name_present, valid_locale_name): New
3490 (_nl_find_locale): Use the loc_name variable to store name
3491 candidates. Call name_present and valid_locale_name to check and
3492 validate locale names. Return an error if the locale is invalid.
3494 2014-07-02 Florian Weimer <fweimer@redhat.com>
3496 * locale/setlocale.c (setlocale): Use strdup for allocating
3497 composite name copy.
3499 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3501 Sync up with gnulib.
3502 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3503 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3504 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3505 and _GL_ARG_NONNULL.
3506 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3507 [!_LIBC]: Include code for Windows and Cygwin.
3508 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3509 Include prototype for int strerror_r.
3510 [!_LIBC] (is_open): New function.
3511 (flush_stdout): New function.
3512 (print_errno_message): Use it.
3514 (error_at_line): Likewise.
3515 (error_tail) Add function attribute macros. Use
3518 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3520 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3522 * io/ftw.c: Include sys/param.h unconditionally.
3524 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3527 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3529 (freecache): New function to free CACHE on exit.
3531 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3534 2014-07-09 David S. Miller <davem@davemloft.net>
3536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3538 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3539 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3540 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3541 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3542 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3543 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3544 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3545 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3546 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3547 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3548 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3549 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3550 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3552 2014-07-09 Andreas Schwab <schwab@suse.de>
3554 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3556 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3557 (do_test): Likewise.
3559 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3561 2014-07-09 Will Newton <will.newton@linaro.org>
3563 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3564 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3565 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3566 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3567 * sysdeps/hppa/start.S (_start): Likewise.
3569 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3571 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3573 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3576 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3578 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3579 after checking that it is non-NULL.
3581 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3583 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3585 * sysdeps/powerpc/memmove.c: Remove file.
3586 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3587 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3588 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3589 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3590 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3591 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3592 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3593 string memmove instead of removed powerpc one.
3595 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3596 [weak_alias]: Fix compiler warning due trailing data.
3597 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3598 [weak_alias]: Likewise.
3599 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3600 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3603 (__libc_ifunc_impl_list): Add memmove functions.
3605 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3607 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3609 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3611 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3613 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3615 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3617 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3619 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3621 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3623 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3625 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3627 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3629 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3631 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3633 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3635 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3637 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3639 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3642 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3645 to avoid alignment traps in non-cacheable memory.
3646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3651 file: multiarch power7 memmove.
3652 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3653 multiarch default memmove.
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3655 multiarch memove for powerpc32/power4.
3657 * string/bcopy.c: Use full path to include memmove.c.
3658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3660 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3661 bcopy for powerpc64.
3662 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3663 bcopy for powerpc64.
3664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3665 and memmove implementations.
3666 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3667 optimized multiarch memmove for POWER7/powerpc64.
3668 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3669 default multiarch memmove for powerpc64.
3670 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3671 multiarch for powerpc64.
3672 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3673 for POWER7/powerpc64.
3674 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3675 memmove for POWER7/powerpc64.
3677 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3680 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3681 __ELF_NATIVE_CLASS equal to 64.
3683 2014-07-07 Roland McGrath <roland@hack.frob.com>
3685 * sysdeps/nptl/lowlevellock.h: File removed.
3687 * NEWS: NPTL is no longer an add-on!
3688 * nptl/internaltypes.h: Moved ...
3689 * sysdeps/nptl/internaltypes.h: ... here.
3690 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3691 * sysdeps/nptl/fork.c: Likewise.
3692 * sysdeps/nptl/gai_misc.h: Likewise.
3693 * sysdeps/nptl/librt-cancellation.c: Likewise.
3694 * sysdeps/nptl/jmp-unwind.c: Likewise.
3695 * sysdeps/nptl/setxid.h: Likewise.
3696 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3697 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3698 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3699 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3700 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3701 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3702 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3703 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3704 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3705 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3706 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3707 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3708 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3709 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3710 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3711 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3712 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3713 * nptl/Makeconfig: Moved ...
3714 * sysdeps/nptl/Makeconfig: ... here.
3715 * nptl/configure: File removed.
3716 * nptl/ANNOUNCE: File removed.
3717 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3718 * sysdeps/unix/sysv/linux/configure: Regenerated.
3720 * nptl/Makefile (routines): Add libc_pthread_init,
3721 libc_multiple_threads, register-atfork and unregister-atfork.
3722 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3723 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3724 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3725 pthread-pi-defines.sym, structsem.sym.
3726 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3727 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3728 [$(subdir) = nptl] (tests): Add tst-setgetname.
3729 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3730 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3731 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3732 [!LIBC_SIGACTION]: Remove aliases.
3733 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3734 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3735 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3736 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3737 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3738 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3740 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3741 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3742 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3743 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3744 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3745 __libc_allocate_rtsig_private.
3746 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3747 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3748 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3749 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3750 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3751 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3752 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3753 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3754 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3755 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3756 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3757 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3758 * nptl/internaltypes.h: ... here.
3759 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3760 * sysdeps/nptl/jmp-unwind.c: ... here.
3761 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3762 * nptl/libc-lowlevellock.c: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3764 * nptl/libc_multiple_threads.c: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3766 * nptl/libc_pthread_init.c: ... here.
3767 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3768 * nptl/lowlevelbarrier.sym: ... here.
3769 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3770 * nptl/lowlevelcond.sym: ... here.
3771 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3772 * nptl/lowlevellock.c: ... here.
3773 * nptl/lowlevellock.h: Moved ...
3774 * sysdeps/nptl/lowlevellock.h: ... here.
3775 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3776 * nptl/lowlevelrobustlock.c: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3778 * nptl/lowlevelrobustlock.sym: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3780 * nptl/lowlevelrwlock.sym: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3782 * nptl/pt-fork.c: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3784 * nptl/pthread-pi-defines.sym: ... here.
3785 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3786 * nptl/pthread_attr_getaffinity.c: ... here.
3787 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3788 * nptl/pthread_attr_setaffinity.c: ... here.
3789 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3790 * nptl/pthread_mutex_cond_lock.c: ... here.
3791 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3793 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3794 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3795 * nptl/pthread_once.c: ... here, replacing old file.
3796 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3797 * nptl/pthread_yield.c: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3799 * nptl/register-atfork.c: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3801 * nptl/sem_post.c: ... here.
3802 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3803 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3804 * nptl/sem_timedwait.c: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3806 * nptl/sem_trywait.c: ... here.
3807 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3808 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3809 * nptl/sem_wait.c: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3811 * nptl/structsem.sym: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3813 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3814 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3815 * nptl/unregister-atfork.c: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3817 * nptl/unwindbuf.sym: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3819 * sysdeps/nptl/fork.c: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3821 * sysdeps/nptl/fork.h: ... here.
3822 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3823 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3824 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3826 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3828 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3829 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3830 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3832 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3834 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3836 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3838 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3839 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3840 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3842 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3843 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3844 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3846 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3847 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3848 * sysdeps/unix/sysv/linux/raise.c: ... here.
3849 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3850 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3851 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3852 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3853 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3854 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3855 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3856 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3858 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3859 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3860 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3861 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3862 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3863 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3865 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3867 * sysdeps/generic/memcopy.h: Add comment for
3868 MEMCPY_OK_FOR_FWD_MEMMOVE.
3870 2014-07-04 Will Newton <will.newton@linaro.org>
3872 * string/memchr.c: Merge from gnulib.
3873 [_LIBC]: Remove conditionals.
3874 (__ptr_t): Remove define.
3875 (LONG_MAX_32_BITS): Likewise.
3876 (LONG_MAX): Likewise.
3877 (MEMCHR): Use ANSI prototype and optimize algorithm.
3879 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3881 2014-07-03 Roland McGrath <roland@hack.frob.com>
3883 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3884 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3886 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3887 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3888 in a bare environment with no <stdlib.h> installed.
3889 * sysdeps/nptl/configure: Regenerated.
3891 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3893 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3894 AC_EGREP_CPP for kernel header checks, so they only succeed if
3895 including <linux/version.h> actually works right.
3896 * sysdeps/unix/sysv/linux/configure: Regenerated.
3898 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3899 value so it's not diagnosed as unused.
3901 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3902 thing) with "ifeq ($(subdir),rt)".
3904 2014-07-03 Richard Henderson <rth@redhat.com>
3906 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3907 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3908 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3910 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3911 (math_force_eval): New.
3913 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3914 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3916 * sysdeps/alpha/fpu/s_round.c: Remove file.
3917 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3919 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3920 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3921 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3922 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3923 (_dl_start, print_statistics): Likewise.
3924 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3925 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3927 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3928 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3929 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3930 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3931 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3932 (HP_SMALL_TIMING_AVAIL): Define.
3933 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3934 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3935 (HP_SMALL_TIMING_AVAIL): Define.
3936 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3937 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3939 * sysdeps/aarch64/hp-timing.h: New file.
3941 * sysdeps/generic/hp-timing.h: Remove dead comment.
3942 * sysdeps/generic/hp-timing-common.h: New file.
3943 * sysdeps/alpha/hp-timing.h: Include it.
3944 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3945 * sysdeps/i386/i686/hp-timing.h: Likewise.
3946 * sysdeps/ia64/hp-timing.h: Likewise.
3947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3948 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3949 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3950 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3951 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3952 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3955 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3956 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3957 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3958 * elf/rtld.c (_dl_start_final): Likewise.
3959 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3960 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3961 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3962 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3963 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3965 (HP_TIMING_DIFF_INIT): Remove.
3966 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3967 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3968 (HP_TIMING_DIFF_INIT): Remove.
3969 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3970 * sysdeps/i386/i686/hp-timing.c: Remove file.
3971 * sysdeps/x86_64/hp-timing.c: Remove file.
3972 * sysdeps/ia64/hp-timing.c: Remove file.
3973 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3974 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3975 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3976 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3978 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3979 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3980 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3981 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3983 (HP_TIMING_ACCUM): Remove.
3984 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3985 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3986 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3988 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3989 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3990 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3991 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3993 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3995 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3997 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3999 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4001 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4003 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4005 Sync up with gettext.
4006 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4007 [_MSC_VER]: Include malloc.h
4008 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4009 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4010 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4011 TEMP_FAILURE_RETRY. Cast return of alloca.
4012 [!_LIBC] Call gl_rwlock_init.
4013 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4015 2014-07-02 Roland McGrath <roland@hack.frob.com>
4017 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4018 before checking its value.
4020 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4022 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4024 * debug/memcpy_chk.c: Don't include pagecopy.h.
4025 * debug/mempcpy_chk.c: Likewise.
4026 * string/memcpy.c: Likewise.
4027 * string/memmove.c: Likewise.
4028 * sysdeps/powerpc/memmove.c: Likewise.
4029 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4030 definition of PAGE_COPY_FWD_MAYBE here...
4031 * sysdeps/generic/pagecopy.h: ... from here.
4032 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4034 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4035 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4037 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4041 (__libc_ifunc_impl_list): Likewise.
4042 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4043 multiarch strcat for PPC64.
4044 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4045 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4047 2014-07-02 Roland McGrath <roland@hack.frob.com>
4049 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4051 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4053 * intl/loadmsgcat.c: Remove declaration of
4054 get_sysdep_segment_value.
4055 (get_sysdep_segment_value): Use ISO C style.
4056 (_nl_load_domain): Use ISO C style. Get rid of redundant
4057 semicolon. Fix typo and formatting in comment.
4058 (_nl_unload_domain): Use ISO C style.
4060 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4062 2014-07-02 Will Newton <will.newton@linaro.org>
4064 * malloc/obstack.c: Merge from gnulib master.
4065 [HAVE_CONFIG_H]: Remove conditional code.
4066 [!_LIBC]: Include config.h.
4067 [!ELIDE_CODE]: Don't include inttypes.h, include
4068 stdint.h unconditionally.
4069 (print_and_abort): Mark as _Noreturn.
4070 (_obstack_allocated_p): Mark as __attribute_pure__.
4071 (obstack_free): Rename to __obstack_free.
4072 [!__attribute__]: Remove conditional code.
4073 * malloc/obstack.h: Merge from gnulib master.
4074 [__cplusplus]: Move conditional down.
4075 [!__attribute_pure__]: Define __attribute_pure__ here
4076 if it is not already defined.
4077 (_obstack_memory_used): Mark as __attribute_pure__.
4078 [!__obstack_free]: Define as obstack_free.
4079 [__GNUC__]: Remove check for ancient NeXT gcc.
4081 2014-07-02 Will Newton <will.newton@linaro.org>
4082 Paul Eggert <eggert@cs.ucla.edu>
4084 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4086 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4088 * resolv/gethnamaddr.c: Add comment warning that the file is
4091 2014-07-01 Carlos O'Donell <carlos@redhat.com>
4093 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4096 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4097 entry for aio_cancel and aio_cancel64.
4098 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4099 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4100 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4101 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4102 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4103 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4104 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4105 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4106 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4107 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4108 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4109 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4110 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4112 2014-07-01 Roland McGrath <roland@hack.frob.com>
4114 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4115 * nptl/pthread_mutex_lock.c: Likewise.
4116 * nptl/pthread_mutex_timedlock.c: Likewise.
4117 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4119 2014-07-01 Richard henderson <rth@redhat.com>
4121 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4122 (__isnan, __isnanl): Remove.
4123 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4125 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4127 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4129 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4131 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4133 * resolv/nss_dns/dns-host.c (getanswer_r)
4134 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4136 2014-07-01 Joseph Myers <joseph@codesourcery.com>
4138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4139 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4141 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4142 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4144 2014-07-01 Roland McGrath <roland@hack.frob.com>
4146 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4147 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4149 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4150 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4152 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4153 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4155 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4156 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4158 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4159 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4160 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4161 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4163 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4164 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4165 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4166 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4169 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4171 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4172 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4173 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4174 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4175 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4176 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4177 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4178 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4179 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4180 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4181 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4182 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4184 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4186 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4187 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4188 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4189 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4190 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4192 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4193 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4194 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4195 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4196 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4197 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4198 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4199 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4201 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4203 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4204 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4205 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4208 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4212 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4214 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4215 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4217 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4219 * sysdeps/arm/libm-test-ulps: Regenerated.
4221 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4222 Roland McGrath <roland@hack.frob.com>
4224 * test-skeleton.c (signal_handler): Kill the whole process group
4225 before killing the child individually.
4226 (main): Report any failure on `setpgid'.
4228 2014-06-30 Roland McGrath <roland@hack.frob.com>
4230 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4231 from _TLS_H to _ARM_NPTL_TLS_H.
4232 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4233 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4235 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4238 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4239 (__expm1l): Return argument unchanged when small but not
4242 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4244 (_FP_UNPACK_RAW_1_P): Likewise.
4245 (_FP_PACK_RAW_1): Likewise.
4246 (_FP_PACK_RAW_1_P): Likewise.
4247 (_FP_MUL_MEAT_1_wide): Likewise.
4248 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4249 (_FP_MUL_MEAT_1_hard): Likewise.
4250 (_FP_DIV_MEAT_1_imm): Likewise.
4251 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4252 (_FP_DIV_MEAT_1_udiv): Likewise.
4253 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4254 (_FP_UNPACK_RAW_2): Likewise.
4255 (_FP_UNPACK_RAW_2_P): Likewise.
4256 (_FP_PACK_RAW_2): Likewise.
4257 (_FP_PACK_RAW_2_P): Likewise.
4258 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4259 (_FP_MUL_MEAT_2_wide): Likewise.
4260 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4261 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4262 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4263 (_FP_MUL_MEAT_2_gmp): Likewise.
4264 (_FP_DIV_MEAT_2_udiv): Likewise.
4265 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4266 (_FP_FRAC_SRL_4): Likewise.
4267 (_FP_FRAC_SRST_4): Likewise.
4268 (_FP_FRAC_SRS_4): Likewise.
4269 (_FP_UNPACK_RAW_4): Likewise.
4270 (_FP_UNPACK_RAW_4_P): Likewise.
4271 (_FP_PACK_RAW_4): Likewise.
4272 (_FP_PACK_RAW_4_P): Likewise.
4273 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4274 (_FP_MUL_MEAT_4_wide): Likewise.
4275 (_FP_MUL_MEAT_4_gmp): Likewise.
4276 (umul_ppppmnnn): Likewise.
4277 (_FP_DIV_MEAT_4_udiv): Likewise.
4278 (__FP_FRAC_ADD_4): Likewise.
4279 (__FP_FRAC_SUB_3): Likewise.
4280 (__FP_FRAC_SUB_4): Likewise.
4281 (__FP_FRAC_DEC_3): Likewise.
4282 (__FP_FRAC_DEC_4): Likewise.
4283 (__FP_FRAC_ADDI_4): Likewise.
4284 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4285 (_FP_FRAC_SRL_8): Likewise.
4286 (_FP_FRAC_SRS_8): Likewise.
4288 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4290 (FP_UNPACK_RAW_EP): Likewise.
4291 (FP_PACK_RAW_E): Likewise.
4292 (FP_PACK_RAW_EP): Likewise.
4293 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4294 (_FP_ISSIGNAN): Likewise.
4295 (_FP_ADD_INTERNAL): Likewise.
4296 (_FP_FMA): Likewise.
4297 (_FP_CMP): Likewise.
4298 (_FP_SQRT): Likewise.
4299 (_FP_TO_INT): Likewise.
4300 (_FP_FROM_INT): Likewise.
4301 (FP_EXTEND): Likewise.
4302 (_FP_DIV_MEAT_N_loop): Likewise.
4304 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4306 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4309 2014-06-29 Joseph Myers <joseph@codesourcery.com>
4312 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4313 result with correct sign in case of exponents that produce
4314 overflow except for X very close to 1.
4316 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4318 mktime: merge #if/#ifdef usage from glibc
4319 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4320 as that works with both Glibc's and Gnulib's style.
4321 See thread starting at Siddhesh Poyarekar's bug report at:
4322 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4324 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4326 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4327 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4328 * sysdeps/tile/tilegx/memmove.c: Remove file.
4330 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4332 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4333 abi-name definition.
4334 * scripts/soversions.awk: Do not handle or generate ABI lines.
4335 * shlib-versions: Remove ABI entries.
4336 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4337 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4339 2014-06-27 Roland McGrath <roland@hack.frob.com>
4341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4342 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4343 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4344 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4346 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4349 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4352 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4354 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4356 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4358 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4360 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4362 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4365 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4369 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4372 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4375 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4376 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4377 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4380 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4382 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4384 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4386 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4389 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4391 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4392 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4394 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4395 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4397 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4399 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4400 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4402 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4405 Identical file removed.
4406 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4408 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4410 Identical file removed.
4411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4412 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4415 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4417 Identical file removed.
4418 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4421 Identical file removed.
4422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4423 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4425 Identical file removed.
4426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4427 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4428 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4429 Identical file removed.
4430 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4432 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4434 Identical file removed.
4435 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4437 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4438 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4439 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4440 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4441 Identical file removed.
4442 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4444 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4447 Identical file removed.
4448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4450 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4451 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4452 Identical file removed.
4453 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4455 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4457 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4459 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4464 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4466 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4467 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4468 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4469 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4470 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4472 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4475 * nscd/nscd.c (monitor_child): Return exit status of child
4476 instead of return value from wait syscall.
4478 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4480 * configure.ac (libc_commonpagesize): Remove variable.
4481 (libc_relro_required): Likewise.
4482 (libc_cv_z_relro): Remove configure test.
4483 * configure: Regenerated.
4484 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4486 (libc_relro_required): Likewise.
4487 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4488 (libc_relro_required): Likewise.
4489 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4490 (libc_relro_required): Likewise.
4491 * sysdeps/arm/preconfigure: Regenerated.
4492 * sysdeps/ia64/preconfigure: Remove file.
4493 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4495 (libc_relro_required): Likewise.
4499 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4500 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4501 recompute overflowing results in original rounding mode.
4502 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4503 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4504 recompute overflowing results in original rounding mode.
4505 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4506 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4507 recompute overflowing results in original rounding mode.
4508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4509 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4510 recompute overflowing results in original rounding mode.
4511 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4512 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4513 recompute overflowing results in original rounding mode.
4514 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4515 (libc_feholdsetround_ctx): New macro.
4516 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4517 * sysdeps/i386/fpu/libm-test-ulps: Update.
4518 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4520 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4522 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4523 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4524 corresponding .cpsetup call.
4526 2014-06-26 Roland McGrath <roland@hack.frob.com>
4528 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4529 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4530 * sysdeps/arm/Makefile [$(subdir) = csu]
4531 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4532 (static-only-routines): Add aeabi_read_tp here.
4533 (shared-only-routines): Add libc-aeabi_read_tp here.
4534 (CFLAGS-libc-start.c): Add -fexceptions here.
4535 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4536 (sysdep_routines, static-only-routines, shared-only-routines):
4537 Don't add to these here.
4538 (CFLAGS-libc-start.c): Likewise.
4540 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4541 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4542 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4543 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4544 * sysdeps/arm/Makefile [$(subdir) = rt]
4545 (librt-sysdep_routines, librt-shared-only-routines):
4546 Append rt-aeabi_unwind_cpp_pr1 here.
4547 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4548 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4549 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4550 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4551 Append nptl-aeabi_unwind_cpp_pr1 here.
4552 (tests): Filter out tst-cleanupx4 here.
4553 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4554 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4555 Don't do those here.
4557 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4559 * scripts/list-sources.sh: Do not handle ports specially.
4561 2014-06-26 Roland McGrath <roland@hack.frob.com>
4563 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4564 * sysdeps/arm/feupdateenv.c: Likewise.
4566 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4568 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4570 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4571 trailing whitespace removed.
4572 * scripts/config.guess: Update to version 2014-03-23.
4573 * scripts/config.sub: Update to version 2014-05-01
4574 * scripts/install-sh: Update to version 2013-12-25.23.
4575 * scripts/move-if-change: Update from gnulib.
4577 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4579 * debug/memmove_chk.c: Remove pagecopy.h include.
4581 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4583 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4584 identical to gnulib mktime.
4586 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4588 * configure.ac: Do not test for machine being rs6000. Do not test
4590 * configure: Regenerated.
4592 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4594 * configure: Regenerated.
4595 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4596 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4597 Remove configure test.
4598 * sysdeps/arm/configure: Regenerated.
4599 * sysdeps/nptl/configure.ac: Do not check
4600 libc_cv_asm_cfi_directives.
4601 * sysdeps/nptl/configure: Regenerated.
4602 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4603 * sysdeps/x86_64/nptl/configure: Remove generated file.
4604 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4606 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4608 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4610 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4611 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4612 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4615 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4616 instead of whether it is defined.
4617 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4618 * sysdeps/hppa/dl-machine.h: Likewise.
4619 * sysdeps/ia64/dl-machine.h: Likewise.
4620 * sysdeps/m68k/dl-machine.h: Likewise.
4621 * sysdeps/microblaze/dl-machine.h: Likewise.
4622 * sysdeps/mips/dl-machine.: Likewise.
4623 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4624 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4625 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4626 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4627 * sysdeps/sh/dl-machine.h: Likewise.
4628 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4629 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4630 * sysdeps/tile/dl-machine.h: Likewise.
4631 * sysdeps/x86_64/dl-machine.h: Likewise.
4633 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4635 (verify_persistent_db): Likewise.
4637 2014-06-26 Roland McGrath <roland@hack.frob.com>
4639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4640 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4642 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4645 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4650 Identical file removed.
4651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4652 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4656 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4658 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4660 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4663 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4667 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4670 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4672 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4674 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4676 Identical file removed.
4677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4678 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4680 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4683 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4686 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4688 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4690 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4692 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4697 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4700 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4705 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4707 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4711 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4712 * sysdeps/unix/sysv/linux/s390/Versions
4713 (libpthread: GLIBC_2.19): New version set.
4714 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4715 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4716 (librt: GLIBC_2.3.3): New version set.
4717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4718 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4719 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4721 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4722 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4723 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4724 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4725 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4727 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4729 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4730 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4731 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4732 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4733 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4734 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4735 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4737 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4739 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4743 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4745 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4746 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4747 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4748 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4753 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4759 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4761 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4764 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4765 (__libc_vfork): Define the function under this name.
4766 [!NOT_IN_libc] (__vfork): Make this an alias.
4767 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4768 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4769 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4770 (__libc_vfork): Define the function under this name.
4771 [!NOT_IN_libc] (__vfork): Make this an alias.
4772 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4773 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4774 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4777 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4779 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4780 code that was previously under [RESET_PID].
4781 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4782 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4785 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4786 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4787 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4788 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4789 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4790 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4791 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4792 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4793 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4794 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4795 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4797 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4799 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4800 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4801 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4802 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4803 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4804 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4805 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4806 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4807 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4808 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4809 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4810 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4811 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4812 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4813 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4815 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4816 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4817 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4818 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4819 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4821 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4822 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4823 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4824 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4825 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4827 2014-06-25 Roland McGrath <roland@hack.frob.com>
4829 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4830 that was previously under [RESET_PID].
4831 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4833 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4835 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4836 not undefine and redefine.
4837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4838 [O_CLOEXEC]: Make code unconditional.
4839 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4840 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4841 <kernel-features.h>.
4842 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4843 conditional variable definition.
4844 (shm_open) [O_CLOEXEC]: Make code unconditional.
4845 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4848 * configure.ac (USE_REGPARMS): Don't define here.
4849 * configure: Regenerated.
4850 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4851 * sysdeps/i386/configure: Regenerated.
4853 * nptl/createthread.c: Don't include kernel-features.h.
4854 * nptl/pthread_cancel.c: Likewise.
4855 * nptl/pthread_condattr_setclock.c: Likewise.
4856 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4857 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4858 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4859 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4860 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4861 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4862 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4865 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4866 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4867 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4868 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4869 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4870 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4871 * nscd/gai.c: Likewise.
4872 * nss/nss_db/db-open.c: Likewise.
4873 * sysdeps/generic/ldsodefs.h: Likewise.
4874 * sysdeps/sh/nptl/tls.h: Likewise.
4875 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4876 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4877 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4878 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4879 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4880 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4881 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4882 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4884 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4885 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4886 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4887 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4888 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4889 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4890 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4891 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4892 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4893 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4894 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4896 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4897 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4898 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4899 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4900 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4902 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4903 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4904 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4905 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4906 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4907 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4908 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4909 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4910 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4911 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4912 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4913 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4914 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4915 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4916 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4917 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4918 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4919 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4920 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4921 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4922 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4923 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4924 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4925 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4926 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4927 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4928 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4929 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4930 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4955 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4956 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4957 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4958 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4959 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4960 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4962 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4963 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4964 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4965 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4966 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4967 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4968 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4969 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4970 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4971 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4972 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4973 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4974 * sysdeps/unix/sysv/linux/system.c: Likewise.
4975 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4976 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4977 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4978 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4979 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4980 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4981 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4983 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4984 * configure: Regenerated.
4985 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4987 * configure.ac (base_machine): Do not set specially for particular
4989 * configure: Regenerated.
4990 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4991 settings from configure.ac.
4992 * sysdeps/i386/preconfigure: New file.
4993 * sysdeps/s390/preconfigure: Likewise.
4994 * sysdeps/sh/preconfigure: Likewise.
4995 * sysdeps/sparc/preconfigure: Likewise.
4997 2014-06-25 Roland McGrath <roland@hack.frob.com>
4999 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5000 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5001 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5002 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5003 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5004 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5005 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5006 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5007 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5008 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5009 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5010 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5011 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5012 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5013 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5014 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5015 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5016 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5017 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5019 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5020 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5021 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5022 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5023 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5024 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5025 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5026 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5027 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5028 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5029 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5030 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5031 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5032 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5033 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5034 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5035 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5036 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5037 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5038 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5040 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5042 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5046 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5048 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5049 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5050 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5052 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5054 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5056 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5059 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5061 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5064 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5067 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5069 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5072 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5074 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5076 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5078 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5081 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5084 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5086 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5089 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5091 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5093 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5095 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5100 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5108 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5110 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5117 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5120 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5122 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5125 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5127 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5129 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5131 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5133 * timezone/checktab.awk: Update from tzcode 2014e.
5134 * timezone/private.h: Likewise.
5135 * timezone/tzfile.h: Likewise.
5136 * timezone/zdump.c: Likewise.
5137 * timezone/zic.c: Likewise.
5139 * sysdeps/unix/sysv/linux/kernel-features.h
5140 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5142 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5143 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5144 Remove conditional code.
5146 2014-06-25 Will Newton <will.newton@linaro.org>
5148 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5149 (_dl_arm_cap_flags): Add HWCAP2 values.
5150 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5151 (_DL_HWCAP_COUNT): Increase to 37.
5152 (_DL_HWCAP_LAST): New define.
5153 (_DL_HWCAP2_LAST): New define.
5154 (_dl_procinfo): Add support for printing
5156 (_dl_string_hwcap): Use _dl_hwcap_string.
5158 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5162 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5164 * README: Do not mention ports directory.
5166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5168 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5169 <kernel-features.h>.
5170 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5171 conditional variable definition.
5172 (__futimes): Update comment.
5173 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5174 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5177 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5178 arguments close to 0.
5179 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5181 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5183 * math/auto-libm-test-in: Add more tests of exp10.
5184 * math/auto-libm-test-out: Regenerated.
5185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5187 * sysdeps/unix/sysv/linux/kernel-features.h
5188 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5189 * sysdeps/unix/sysv/linux/readv.c: Do not include
5190 <kernel-features.h>.
5191 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5192 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5193 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5195 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5197 * sysdeps/unix/sysv/linux/writev.c: Do not include
5198 <kernel-features.h>.
5199 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5200 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5201 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5203 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5206 2014-06-25 Will Newton <will.newton@linaro.org>
5208 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5209 comment changes throughout the file. Remove checks
5210 for HAVE_*_H definitions that are not required.
5211 (__gen_tempname): Call abort if an unknown kind value is
5214 2014-06-25 Andreas Schwab <schwab@suse.de>
5217 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5218 scalbln, scalblnf, scalblnl in libc.
5220 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5223 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5224 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5225 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5227 2014-06-24 Roland McGrath <roland@hack.frob.com>
5229 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5230 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5231 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5232 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5234 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5235 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5237 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5238 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5239 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5240 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5241 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5242 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5243 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5244 * sysdeps/x86/bits/semaphore.h: ... here.
5245 * sysdeps/x86/nptl/elide.h: Moved ...
5246 * sysdeps/x86/elide.h: ... here.
5247 * sysdeps/x86_64/nptl/Implies: File removed.
5248 * sysdeps/i386/nptl/Implies: File removed.
5250 2014-06-24 Joseph Myers <joseph@codesourcery.com>
5253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5254 return the argument for normal arguments with exponent below -64.
5255 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5257 * math/auto-libm-test-in: Add another test of expm1.
5258 * math/auto-libm-test-out: Regenerated.
5261 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5262 calling __erfcl for arguments at least 16.
5263 * math/auto-libm-test-in: Add more tests of erf.
5264 * math/auto-libm-test-out: Regenerated.
5266 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5267 individual architectures.
5268 * sysdeps/unix/sysv/linux/configure: Regenerated.
5269 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5270 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5271 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5272 (ldd_rewrite_script): Define variable.
5273 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5278 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5279 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5280 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5281 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5282 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5283 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5284 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5285 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5287 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5290 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5291 Rename member __data.d to __data.__elision_data.
5293 2014-06-24 Wilco <wdijkstr@arm.com>
5295 * NEWS: Add 16918 to fixed bug list.
5297 2014-06-24 Wilco <wdijkstr@arm.com>
5299 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5301 2014-06-24 Wilco <wdijkstr@arm.com>
5303 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5304 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5305 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5306 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5307 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5308 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5309 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5312 2014-06-24 Wilco <wdijkstr@arm.com>
5314 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5316 2014-06-24 Wilco <wdijkstr@arm.com>
5318 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5319 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5320 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5321 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5323 2014-06-24 Wilco <wdijkstr@arm.com>
5326 * sysdeps/arm/feupdateenv.c (feupdateenv):
5327 Rewrite to reduce FPSCR accesses and fix return value.
5329 2014-06-24 Wilco <wdijkstr@arm.com>
5331 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5332 Optimize to avoid unnecessary FPSCR writes.
5333 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5334 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5335 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5336 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5338 2014-06-24 Wilco <wdijkstr@arm.com>
5340 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5341 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5342 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5343 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5344 Call libc_fetestexcept_vfp.
5345 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5346 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5347 __SOFTFP__ ifdef so that they can be built for softfp.
5349 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5351 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5352 argument type signed char.
5354 * Makerules (check-abi): Dump diff of symlist if the test
5357 2014-06-23 Roland McGrath <roland@hack.frob.com>
5359 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5362 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5363 Remove unused variable ST.
5365 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5369 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5370 small arguments before calling __expm1.
5371 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5372 small arguments before calling __expm1f.
5373 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5374 small arguments before calling __expm1l.
5375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5377 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5378 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5379 spurious underflow for some cosh tests.
5380 * math/auto-libm-test-out: Regenerated.
5381 * sysdeps/i386/fpu/libm-test-ulps: Update.
5384 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5385 (__ieee754_y1): Set errno if return value overflows.
5386 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5387 (__ieee754_y1f): Set errno if return value overflows.
5388 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5389 (__ieee754_y1l): Set errno if return value overflows.
5390 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5391 (__ieee754_y1l): Set errno if return value overflows.
5392 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5393 * math/auto-libm-test-out: Regenerated.
5395 * math/gen-auto-libm-tests.c: Document use of
5396 ignore-zero-inf-sign.
5397 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5398 (input_flags): Add ignore-zero-inf-sign.
5399 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5400 * math/gen-libm-test.pl (generate_testfile): Handle
5401 ignore-zero-inf-sign.
5402 * math/auto-libm-test-in: Mark some cpow tests with
5403 ignore-zero-inf-sign and some with xfail-rounding.
5404 * math/auto-libm-test-out: Regenerated.
5405 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5406 * sysdeps/i386/fpu/libm-test-ulps: Update.
5407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5411 overflowing or underflowing operations take place with sign of
5413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5414 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5415 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5416 (__ieee754_pow): Recompute overflowing and underflowing results in
5417 original rounding mode.
5418 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5419 (__powl_helper): Allow negative argument X and scale negated value
5420 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5421 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5422 overflowing or underflowing operations take place with sign of
5424 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5426 * math/auto-libm-test-in: Add more tests of pow.
5427 * math/auto-libm-test-out: Regenerated.
5428 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5429 (pow_tonearest_test_data): Remove.
5430 (pow_test_tonearest): Likewise.
5431 (pow_towardzero_test_data): Likewise.
5432 (pow_test_towardzero): Likewise.
5433 (pow_downward_test_data): Likewise.
5434 (pow_test_downward): Likewise.
5435 (pow_upward_test_data): Likewise.
5436 (pow_test_upward): Likewise.
5437 (main): Don't call removed functions.
5438 * sysdeps/i386/fpu/libm-test-ulps: Update.
5439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441 2014-06-23 Roland McGrath <roland@hack.frob.com>
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5617 2014-06-23 Will Newton <will.newton@linaro.org>
5618 Wilco <wdijkstr@arm.com>
5620 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5621 implementation. Include get-rounding-mode.h.
5622 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5623 [!libc_feholdsetround_noex_ctx]: Define
5624 libc_feholdsetround_noex_ctx.
5625 [!libc_feholdsetround_noexf_ctx]: Define
5626 libc_feholdsetround_noexf_ctx.
5627 [!libc_feholdsetround_noexl_ctx]: Define
5628 libc_feholdsetround_noexl_ctx.
5629 (libc_feholdsetround_ctx): New function.
5630 (libc_feresetround_ctx): New function.
5631 (libc_feholdsetround_noex_ctx): New function.
5632 (libc_feresetround_noex_ctx): New function.
5634 2014-06-23 Roland McGrath <roland@hack.frob.com>
5636 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5637 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5638 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5639 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5640 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5641 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5643 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5644 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5645 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5646 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5647 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5648 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5650 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5652 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5655 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5658 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5660 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5663 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5665 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5667 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5669 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5672 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5675 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5676 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5677 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5680 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5681 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5682 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5683 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5684 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5685 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5686 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5687 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5691 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5698 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5700 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5702 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5707 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5714 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5718 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5720 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5721 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5722 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5727 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5729 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5730 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5733 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5735 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5736 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5737 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5738 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5739 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5740 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5741 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5742 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5743 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5745 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5746 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5747 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5749 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5752 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5753 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5754 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5755 (IPV6_PMTUDISC_INTERFACE): Likewise.
5756 (IPV6_PMTUDISC_OMIT): Likewise.
5758 2014-06-23 Andreas Schwab <schwab@suse.de>
5760 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5761 Remove unused errout label.
5763 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5765 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5766 macro: hardware supports Vector Crypto instructions.
5768 2014-06-23 Will Newton <will.newton@linaro.org>
5770 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5771 rather than __builtin_expect.
5773 * elf/dl-lookup.c (undefined_msg): Remove variable.
5774 (_dl_lookup_symbol_x): Replace undefined_msg with string
5777 * elf/dl-lookup.c (do_lookup_unique): New function.
5778 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5779 to a separate function.
5781 2014-06-23 Andreas Schwab <schwab@suse.de>
5784 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5785 before reading the next line.
5787 2014-06-23 Will Newton <will.newton@linaro.org>
5789 * test-skeleton.c (signal_handler): Use printf and %m
5790 rather than perror. Use printf rather than fprintf to
5791 stderr. Use puts rather than fputs to stderr.
5794 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5796 * nscd/nscd.c (thread_info_t): Remove typedef.
5797 (thread_info): Remove variable.
5799 2014-06-21 Allan McRae <allan@archlinux.org>
5801 * NEWS: Mention CVE-2014-4043.
5803 2014-06-20 Roland McGrath <roland@hack.frob.com>
5805 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5806 * nptl/smp.h: ... here.
5808 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5810 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5811 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5812 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5813 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5815 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5816 * nptl/stack-aliasing.h: New file.
5817 * sysdeps/i386/i686/stack-aliasing.h: New file.
5818 * sysdeps/i386/i686/nptl/Makefile: File removed.
5819 * sysdeps/x86_64/stack-aliasing.h: New file.
5820 * sysdeps/x86_64/nptl/Makefile
5821 (CFLAGS-pthread_create.c): Variable removed.
5823 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5824 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5826 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5827 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5830 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5832 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5833 (__ASSUME_SIGFRAME_V2): Remove macro.
5834 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5835 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5836 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5837 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5838 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5839 Declare as function. Remove conditional macro definitions.
5840 (__default_rt_sa_restorer): Likewise.
5841 (__default_sa_restorer_v1): Remove declaration.
5842 (__default_sa_restorer_v2): Likewise.
5843 (__default_rt_sa_restorer_v1): Likewise.
5844 (__default_rt_sa_restorer_v2): Likewise.
5845 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5846 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5847 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5849 2014-06-20 Roland McGrath <roland@hack.frob.com>
5851 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5852 (libpthread-routines): Add sysdep.
5853 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5854 * sysdeps/unix/sysv/linux/sparc/Versions
5855 (libpthread: GLIBC_2.3.3): New version set.
5856 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5857 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5858 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5860 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5861 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5863 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5864 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5865 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5866 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5867 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5868 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5869 * sysdeps/sparc/nptl/sem_init.c: ... here.
5870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5871 * sysdeps/sparc/nptl/sem_post.c: ... here.
5872 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5873 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5874 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5875 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5876 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5877 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5878 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5879 (libpthread-routines): Add cpu_relax.
5880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5882 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5883 (librt: GLIBC_2.3.3): New version set.
5884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5885 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5887 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5890 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5893 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5895 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5897 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5899 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5901 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5904 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5908 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5912 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5924 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5927 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5933 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5935 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5938 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5940 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5944 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5946 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5947 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5948 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5949 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5950 * nscd/nscd.c: Likewise.
5951 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5952 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5953 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5954 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5956 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5957 <kernel-features.h>.
5958 (init_mq_netlink): Remove conditional have_sock_cloexec
5959 definitions. Remove code conditional on have_sock_cloexec < 0.
5960 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5961 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5962 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5963 <kernel-features.h>.
5964 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5965 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5967 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5970 Add tests for memset_chk and memset.
5972 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5975 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5978 * elf/tst-dl-iter-static.c: New file.
5979 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5981 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5984 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5986 * sysdeps/unix/sysv/linux/kernel-features.h
5987 (__ASSUME_F_GETOWN_EX): Remove macro.
5988 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5989 <kernel-features.h>.
5990 (miss_F_GETOWN_EX): Remove variable or macro.
5991 (do_fcntl): Do not check miss_F_GETOWN_EX.
5992 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5994 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5997 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5998 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6000 * sysdeps/unix/sysv/linux/kernel-features.h
6001 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6002 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6003 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6004 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6006 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6009 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6010 Fix calculation of the symbol's value.
6011 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6012 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6013 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6014 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6015 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6016 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6017 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6018 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6019 (modules-names): Add `tst-armtlsdescmod',
6020 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6021 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6022 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6023 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6024 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6025 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6026 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6027 ($(objpfx)tst-armtlsdescloc): New dependency.
6028 ($(objpfx)tst-armtlsdescextnow): Likewise.
6029 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6030 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6032 * sysdeps/arm/configure: Regenerate.
6034 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6036 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6037 (__atfct_seterrno_2): Likewise.
6038 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6039 <kernel-features.h>.
6040 (__ASSUME_ATFCTS): Do not undefine and redefine.
6041 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6042 (__have_atfcts): Remove conditional definition.
6043 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6044 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6045 unreachable if [__ASSUME_ATFCTS].
6046 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6047 not undefine and redefine.
6048 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6049 <kernel-features.h>.
6050 (faccessat) [__NR_faccessat]: Make code unconditional.
6051 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6052 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6053 <kernel-features.h>.
6054 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6055 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6056 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6057 <kernel-features.h>.
6058 (fchownat) [__NR_fchownat]: Make code unconditional.
6059 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6060 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6061 <kernel-features.h>.
6062 (futimesat) [__NR_futimesat]: Make code unconditional.
6063 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6064 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6065 <kernel-features.h>.
6066 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6067 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6068 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6069 <kernel-features.h>.
6070 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6071 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6072 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6073 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6074 <kernel-features.h>.
6075 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6076 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6077 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6078 <kernel-features.h>.
6079 (linkat) [__NR_linkat]: Make code unconditional.
6080 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6081 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6082 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6083 <kernel-features.h>.
6084 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6085 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6086 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6087 <kernel-features.h>.
6088 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6089 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6090 * sysdeps/unix/sysv/linux/openat.c: Do not include
6091 <kernel-features.h>.
6092 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6093 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6094 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6095 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6096 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6097 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6098 <kernel-features.h>.
6099 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6100 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6101 result of INLINE_SYSCALL directly, not via int variable.
6102 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6103 <kernel-features.h>.
6104 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6105 (renameat) [__NR_renameat]: Make code unconditional.
6106 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6107 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6108 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6109 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6110 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6111 (__ASSUME_ATFCTS): Do not undefine and redefine.
6112 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6113 <kernel-features.h>.
6114 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6115 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6116 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6117 <kernel-features.h>.
6118 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6119 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6120 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6121 (__ASSUME_ATFCTS): Do not undefine and redefine.
6122 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6123 <kernel-features.h>.
6124 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6125 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6126 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6127 <kernel-features.h>.
6128 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6129 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6131 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6133 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6135 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6138 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6139 constructed tree before returning error.
6140 * posix/bug-regexp36.c: Expand test case.
6142 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6145 * math/libm-test.inc (scalbln_test_date):
6146 Add errno expectations.
6147 * math/w_scalblnf.c: New File.
6148 Add wrapper which checks for setting errno to ERANGE.
6149 Add weak_alias for corresponding scalbln function.
6150 * math/w_scalbln.c: Likewise.
6151 * math/w_scalblnl.c: Likewise.
6152 * math/Makefile (libm-calls): Add w_scalbln.
6153 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6154 Remove weak_alias for corresponding scalbln function.
6155 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6159 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6160 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6161 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6162 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6163 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6164 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6165 Remove long_double_symbol for scalblnl function in libm, libc.
6166 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6167 Add wrapper which checks for setting errno to ERANGE.
6168 Add long_double_symbol for scalblnl function in libm, libc.
6169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6170 Remove long_double_symbol for scalblnl in libm.
6171 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6172 Add wrapper which checks for setting errno to ERANGE.
6173 Add long_double_symbol for scalblnl function in libm.
6174 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6175 Do not use wrapper because of own implementation.
6177 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6179 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6180 3 bytes for __pad1 for x32.
6181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6183 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6184 H.J. Lu <hongjiu.lu@intel.com>
6186 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6187 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6188 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6189 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6190 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6192 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6195 * posix/regcomp.c (parse_expression): Deallocate partially
6196 constructed tree before returning error.
6197 * posix/Makefile.c (tests): Add bug-regex36.
6198 (generated): Add bug-regex36.mtrace.
6199 (tests-special): Add $(objpfx)bug-regex36-mem.out
6200 (bug-regex36-ENV): New variable.
6201 ($(objpfx)bug-regex36-mem.out): New rule.
6202 * posix/bug-regex36.c: New file.
6204 2014-06-19 Will Newton <will.newton@linaro.org>
6206 * malloc/malloc.c (systrim): If extra is zero then return
6209 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6211 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6213 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
6215 * sysdeps/aarch64/strchr.S: New file.
6217 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6220 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6221 from arguments -2 or below.
6222 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6223 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6225 2014-06-18 Andreas Schwab <schwab@suse.de>
6228 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6229 of a bracket expr not to run off the end of the string.
6230 * posix/Makefile (tests): Add tst-fnmatch3.
6231 * posix/tst-fnmatch3.c: New file.
6233 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6235 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6236 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6237 [$(cross-compiling) = no]: Likewise.
6238 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6239 [$(cross-compiling) = no]: Likewise.
6241 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6244 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6245 double, adjusted for any remainder from the high double.
6246 * math/libm-test.inc (nearbyint): Add tests.
6249 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251 * nptl/sysdeps/powerpc/Makefile: Moved ...
6252 * sysdeps/powerpc/nptl/Makefile: ... here.
6253 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6254 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6255 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6256 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6257 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6258 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6259 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6260 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6261 * nptl/sysdeps/powerpc/tls.h: Moved ...
6262 * sysdeps/powerpc/nptl/tls.h: ... here.
6264 2014-06-16 Joseph Myers <joseph@codesourcery.com>
6267 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6268 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6269 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6270 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6271 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6272 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6273 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6274 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6275 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6277 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6279 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6281 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6283 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6286 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6289 2014-06-16 Florian Weimer <fweimer@redhat.com>
6292 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6293 non-executed part of the test.
6295 2014-06-16 Andreas Schwab <schwab@suse.de>
6297 * string/bits/string2.h (strdup, strndup): Update feature guard.
6299 2014-06-14 David S. Miller <davem@davemloft.net>
6301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6303 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6305 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6306 that was previously under [RESET_PID].
6307 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6309 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6310 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6311 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6312 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6313 (__libc_vfork): New strong alias.
6314 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6316 2014-06-14 Andi Kleen <ak@linux.intel.com>
6318 * sysdeps/generic/elide.h: New file.
6320 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6322 * Makefile (installed-headers): Adjust path of pthread.h header.
6324 2014-06-13 Roland McGrath <roland@hack.frob.com>
6326 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6327 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6328 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6329 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6331 * nptl/sysdeps/s390/Makefile: Moved ...
6332 * sysdeps/s390/nptl/Makefile: ... here.
6333 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6334 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6335 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6336 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6337 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6338 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6339 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6340 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6341 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6342 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6343 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6344 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6345 * nptl/sysdeps/s390/tls.h: Moved ...
6346 * sysdeps/s390/nptl/tls.h: ... here.
6348 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6349 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6351 2014-06-13 David S. Miller <davem@davemloft.net>
6353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6356 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6361 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6362 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6363 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6364 Remove RESET_PID cpp guards.
6365 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6366 Remove RESET_PID cpp guards.
6367 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6369 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6371 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6374 2014-06-13 Andi Kleen <ak@linux.intel.com>
6376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6377 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6378 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6381 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6382 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6383 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6387 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6391 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6392 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6393 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6394 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6397 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6398 (pthread_rwlock_rdlock): Add elision.
6399 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6400 (pthread_rwlock_wrlock): Add elision.
6401 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6402 (pthread_rwlock_trywrlock): Add elision.
6403 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6404 (pthread_rwlock_tryrdlock): Add elision.
6405 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6406 (pthread_rwlock_tryrdlock): Add elision unlock.
6407 * nptl/sysdeps/pthread/pthread.h:
6408 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6409 (PTHREAD_RWLOCK_INITIALIZER,
6410 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6411 Handle new elision field.
6412 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6413 * sysdeps/arm/nptl/bits/pthreadtypes.h
6414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6415 * sysdeps/sh/nptl/bits/pthreadtypes.h
6416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6417 * sysdeps/tile/nptl/bits/pthreadtypes.h
6418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6419 * sysdeps/a/nptl/bits/pthreadtypes.h
6420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6421 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6423 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6425 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6429 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6431 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6433 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6435 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6437 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6438 (elision_init): Set try_xbegin to zero when no RTM.
6439 * sysdeps/x86/nptl/bits/pthreadtypes.h
6440 (pthread_rwlock_t): Change __pad1 to __rwelision.
6441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6443 2014-06-13 Andi Kleen <ak@linux.intel.com>
6445 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6446 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6447 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6448 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6450 2014-06-13 Meador Inge <meadori@codesourcery.com>
6453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6454 that the cached result has been set before returning it.
6456 2014-06-12 Roland McGrath <roland@hack.frob.com>
6458 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6459 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6460 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6461 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6462 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6463 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6465 * nptl/sysdeps/sparc/Makefile: Moved ...
6466 * sysdeps/sparc/nptl/Makefile: ... here.
6467 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6468 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6469 * nptl/sysdeps/sparc/tls.h: Moved ...
6470 * sysdeps/sparc/nptl/tls.h: ... here.
6471 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6472 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6473 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6474 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6475 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6476 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6477 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6478 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6479 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6480 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6481 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6482 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6483 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6484 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6485 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6486 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6487 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6488 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6490 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6491 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6493 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6496 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6497 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6500 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6502 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6503 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6505 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6506 (struct list_links): Type removed.
6507 (struct thread_node, struct timer_node): Replace struct list_links
6508 with struct list_head.
6509 (list_unlink_ip): Likewise.
6510 * sysdeps/pthread/timer_routines.c
6511 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6512 (list_append, list_insbefore): Likewise.
6513 (list_init): Function removed.
6514 (thread_init, init_module): Use INIT_LIST_HEAD instead.
6515 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6516 * sysdeps/pthread/Makefile: ... here, new file.
6518 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6519 * sysdeps/nptl/Implies: ... here.
6520 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6521 * nptl/sysdeps/pthread/list.h: Moved ...
6522 * include/list.h: ... here.
6523 * nptl/sysdeps/pthread/createthread.c: Moved ...
6524 * nptl/createthread.c: ... here.
6525 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6526 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6527 * nptl/pt-longjmp.c: ... here.
6528 * nptl/sysdeps/pthread/Makefile: Moved ...
6529 * sysdeps/nptl/Makefile: ... here.
6530 * nptl/sysdeps/pthread/Subdirs: Moved ...
6531 * sysdeps/nptl/Subdirs: ... here.
6532 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6533 * sysdeps/nptl/aio_misc.h: ... here.
6534 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6535 * sysdeps/nptl/bits/libc-lock.h: ... here.
6536 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6537 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6538 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6539 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6540 * nptl/sysdeps/pthread/configure: Moved ...
6541 * sysdeps/nptl/configure: ... here.
6542 * nptl/sysdeps/pthread/configure.ac: Moved ...
6543 * sysdeps/nptl/configure.ac: ... here.
6544 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6545 * sysdeps/nptl/gai_misc.h: ... here.
6546 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6547 * sysdeps/nptl/librt-cancellation.c: ... here.
6548 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6549 * sysdeps/nptl/malloc-machine.h: ... here.
6550 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6551 * sysdeps/nptl/pthread-functions.h: ... here.
6552 * nptl/sysdeps/pthread/pthread.h: Moved ...
6553 * sysdeps/nptl/pthread.h: ... here.
6554 * nptl/sysdeps/pthread/setxid.h: Moved ...
6555 * sysdeps/nptl/setxid.h: ... here.
6556 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6557 * sysdeps/nptl/sigfillset.c: ... here.
6558 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6559 * sysdeps/nptl/tcb-offsets.h: ... here.
6560 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6561 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6562 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6563 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6564 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6565 * sysdeps/pthread/allocalim.h: ... here.
6566 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6567 * sysdeps/pthread/bits/sigthread.h: ... here.
6568 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6569 * sysdeps/pthread/flockfile.c: ... here.
6570 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6571 * sysdeps/pthread/ftrylockfile.c: ... here.
6572 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6573 * sysdeps/pthread/funlockfile.c: ... here.
6574 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6575 * sysdeps/pthread/posix-timer.h: ... here.
6576 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6577 * sysdeps/pthread/timer_create.c: ... here.
6578 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6579 * sysdeps/pthread/timer_delete.c: ... here.
6580 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6581 * sysdeps/pthread/timer_getoverr.c: ... here.
6582 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6583 * sysdeps/pthread/timer_gettime.c: ... here.
6584 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6585 * sysdeps/pthread/timer_routines.c: ... here.
6586 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6587 * sysdeps/pthread/timer_settime.c: ... here.
6588 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6589 * sysdeps/pthread/tst-timer.c: ... here.
6590 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6591 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6593 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6594 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6596 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6597 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6598 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6599 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6600 Update #include target.
6601 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6602 * sysdeps/i386/i686/nptl/Makefile: ... here.
6603 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6604 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6605 Update #include target.
6606 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6607 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6608 * nptl/sysdeps/i386/Makefile: Moved ...
6609 * sysdeps/i386/nptl/Makefile: ... here.
6610 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6611 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6612 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6613 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6614 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6615 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6616 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6617 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6618 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6619 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6620 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6621 * nptl/sysdeps/i386/tls.h: Moved ...
6622 * sysdeps/i386/nptl/tls.h: ... here.
6624 * sysdeps/sh/Makefile [$(subdir) = csu]
6625 (gen-as-const-headers): Add tcb-offsets.sym.
6626 * nptl/sysdeps/sh/Makefile: File removed.
6627 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6628 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6629 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6630 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6631 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6632 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6633 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6634 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6635 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6636 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6637 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6638 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6639 * nptl/sysdeps/sh/tls.h: Moved ...
6640 * sysdeps/sh/nptl/tls.h: ... here.
6641 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6642 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6643 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6644 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6646 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6647 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6648 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6649 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6650 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6652 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6654 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6656 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6658 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6660 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6662 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6664 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6667 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6672 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6675 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6676 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6677 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6678 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6679 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6680 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6681 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6682 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6683 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6684 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6685 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6686 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6687 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6688 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6690 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6692 * posix/spawn_faction_addopen.c: Include string.h.
6694 2014-06-11 Roland McGrath <roland@hack.frob.com>
6696 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6697 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6698 * nptl/sysdeps/x86_64/Makefile: Moved ...
6699 * sysdeps/x86_64/nptl/Makefile: ... here.
6700 * nptl/sysdeps/x86_64/configure: Moved ...
6701 * sysdeps/x86_64/nptl/configure: ... here.
6702 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6703 * sysdeps/x86_64/nptl/configure.ac: ... here.
6704 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6705 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6706 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6707 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6708 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6709 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6710 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6711 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6712 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6713 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6714 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6715 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6716 * nptl/sysdeps/x86_64/tls.h: Moved ...
6717 * sysdeps/x86_64/nptl/tls.h: ... here.
6718 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6719 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6720 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6721 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6723 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6725 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6729 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6731 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6733 [POSIX] (off_t): Likewise.
6734 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6735 [POSIX] (S_ISBLK): Require macro.
6736 [POSIX] (S_ISCHR): Likewise.
6737 [POSIX] (S_ISDIR): Likewise.
6738 [POSIX] (S_ISFIFO): Likewise.
6739 [POSIX] (S_ISREG): Likewise.
6740 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6742 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6744 [POSIX] (time_t): Likewise.
6745 [POSIX] (timer_t): Likewise.
6747 2014-06-11 Florian Weimer <fweimer@redhat.com>
6750 * posix/spawn_int.h (struct __spawn_action): Make the path string
6751 non-const to support deallocation.
6752 * posix/spawn_faction_addopen.c
6753 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6754 * posix/spawn_faction_destroy.c
6755 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6756 path in all spawn_do_open actions.
6757 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6758 posix_spawn_file_actions_addopen.
6760 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6762 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6763 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6764 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6765 conditional code always true.
6766 (__libc_vfork): New alias.
6768 2014-06-11 Roland McGrath <roland@hack.frob.com>
6770 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6771 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6773 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6775 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6776 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6778 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6779 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6781 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6782 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6784 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6786 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6787 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6788 multiarch strcmp for PPC64.
6789 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6790 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6792 multiarch optimizations.
6793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6794 (__libc_ifunc_impl_list): Likewise.
6796 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6798 * benchtests/scripts/validate_benchout.py: New script.
6799 * benchtests/Makefile (bench-func): Call it.
6800 * benchtests/scripts/benchout.schema.json: New file.
6802 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6804 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6805 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6806 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6807 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6808 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6809 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6810 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6811 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6812 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6813 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6814 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6815 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6816 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6817 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6818 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6819 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6923 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6924 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6925 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6926 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6929 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6932 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6934 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6936 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6938 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6940 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6942 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6945 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6948 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6950 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6953 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6955 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6956 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6957 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6958 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6959 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6961 2014-06-10 Wilco <wdijkstr@arm.com>
6963 * math/test-fenv-return.c: New file.
6964 * math/Makefile: Add new test test-fenv-return.
6966 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6969 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6971 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6972 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6973 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6974 0.0L for an argument of 1.0L.
6975 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6977 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6978 value when x - 1 is zero.
6979 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6980 * sysdeps/i386/fpu/libm-test-ulps: Update.
6981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6983 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6986 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6988 2014-06-09 Roland McGrath <roland@hack.frob.com>
6990 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6991 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6993 2014-06-09 Roland McGrath <roland@hack.frob.com>
6995 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6996 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6998 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6999 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7001 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7002 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7004 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7005 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7007 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7008 if not already defined.
7009 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7010 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7011 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7012 (TLS_INIT_TP): Use it.
7013 (TLS_DEFINE_INIT_TP): New macro.
7014 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7016 2014-06-09 Joseph Myers <joseph@codesourcery.com>
7018 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7020 [POSIX] (IXANY): Likewise.
7021 [POSIX] (OLCUC): Likewise.
7022 [POSIX || POSIX2008] (CBAUD): Do not allow.
7023 [POSIX || POSIX2008] (DEFECHO): Likewise.
7024 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7025 [POSIX || POSIX2008] (ECHOKE): Likewise.
7026 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7027 [POSIX || POSIX2008] (EXTA): Likewise.
7028 [POSIX || POSIX2008] (EXTB): Likewise.
7029 [POSIX || POSIX2008] (FLUSHO): Likewise.
7030 [POSIX || POSIX2008] (LOBLK): Likewise.
7031 [POSIX || POSIX2008] (PENDIN): Likewise.
7032 [POSIX || POSIX2008] (SWTCH): Likewise.
7033 [POSIX || POSIX2008] (VDISCARD): Likewise.
7034 [POSIX || POSIX2008] (VDSUSP): Likewise.
7035 [POSIX || POSIX2008] (VLNEXT): Likewise.
7036 [POSIX || POSIX2008] (VREPRINT): Likewise.
7037 [POSIX || POSIX2008] (VSTATUS): Likewise.
7038 [POSIX || POSIX2008] (VWERASE): Likewise.
7039 (B*): Change to B[0123456789]*.
7040 * conform/data/time.h-data [POSIX || UNIX98]
7041 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7042 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7043 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7044 [POSIX] (tm_*): Do not allow.
7046 2014-06-07 Joseph Myers <joseph@codesourcery.com>
7048 * Makefile (install): Don't set LANGUAGE.
7049 * Makefile.in (install): Likewise.
7050 * assert/Makefile (test-assert-ENV): Remove variable.
7051 (test-assert-perr-ENV): Likewise.
7052 * elf/Makefile (neededtest4-ENV): Likewise.
7053 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7054 [$(cross-compiling) = no]: Don't set LANGUAGE.
7055 * io/ftwtest-sh (LANG): Remove variable.
7056 * libio/Makefile (tst-widetext-ENV): Likewise.
7057 * manual/install.texi (Running make install): Don't refer to
7058 environment settings for make install.
7059 * INSTALL: Regenerated.
7060 * nptl/tst-tls6.sh: Don't set LANG.
7061 * posix/globtest.sh (LANG): Remove variable.
7062 * string/Makefile (tester-ENV): Likewise.
7063 (inl-tester-ENV): Likewise.
7064 (noinl-tester-ENV): Likewise.
7065 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7066 [$(cross-compiling) = no]: Don't set LANGUAGE.
7067 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7068 without explicit environment settings.
7070 2014-06-06 Roland McGrath <roland@hack.frob.com>
7072 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7073 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7074 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7075 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7077 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7079 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7080 other files in the crypt directory.
7081 * crypt/crypt.c: Remove duplicate includes.
7082 * crypt/crypt-entry.c: Likewise.
7083 * crypt/crypt_util.c: Likewise.
7085 2014-06-06 Joseph Myers <joseph@codesourcery.com>
7087 * Makeconfig (run-program-env): New variable.
7088 (run-program-prefix-before-env): Likewise.
7089 (run-program-prefix-after-env): Likewise.
7090 (run-program-prefix): Define in terms of new variables.
7091 (built-program-cmd-before-env): New variable.
7092 (built-program-cmd-after-env): Likewise.
7093 (built-program-cmd): Define in terms of new variables.
7094 (test-program-prefix-before-env): New variable.
7095 (test-program-prefix-after-env): Likewise.
7096 (test-program-prefix): Define in terms of new variables.
7097 (test-program-cmd-before-env): New variable.
7098 (test-program-cmd-after-env): Likewise.
7099 (test-program-cmd): Define in terms of new variables.
7100 * Rules (make-test-out): Use $(run-program-env).
7101 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7102 (help): Do not mention environment variables. Mention
7103 --timeoutfactor option.
7104 (timeoutfactor): New variable.
7105 (blacklist_exports): Remove function.
7106 (exports): Remove variable.
7107 (command): Do not include ${exports}.
7108 * manual/install.texi (Configuring and compiling): Do not mention
7109 test wrappers preserving environment variables. Mention that last
7110 assignment to a variable must take precedence.
7111 * INSTALL: Regenerated.
7112 * benchtests/Makefile (run-bench): Use $(run-program-env).
7113 * catgets/Makefile ($(objpfx)test1.cat): Use
7114 $(built-program-cmd-before-env), $(run-program-env) and
7115 $(built-program-cmd-after-env).
7116 ($(objpfx)test2.cat): Do not specify environment variables
7118 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7119 $(run-program-env) and $(built-program-cmd-after-env).
7120 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7121 $(run-program-env) and $(test-program-cmd-after-env).
7122 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7124 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7125 run_program_env and test_program_cmd_after_env arguments.
7126 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7127 * elf/tst-pathopt.sh: Use run_program_env argument.
7128 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7129 $(test-wrapper-env) and $(run-program-env).
7130 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7131 run_program_env arguments.
7132 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7133 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7134 $(test-program-prefix-before-env), $(run-program-env) and
7135 $(test-program-prefix-after-env).
7136 ($(objpfx)tst-gettext2.out): Likewise.
7137 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7138 run_program_env and test_program_prefix_after_env arguments.
7139 * intl/tst-gettext2.sh: Likewise.
7140 * intl/tst-gettext4.sh: Do not set environment variables
7142 * intl/tst-gettext6.sh: Likewise.
7143 * intl/tst-translit.sh: Likewise.
7144 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7145 $(test-program-prefix-before-env), $(run-program-env) and
7146 $(test-program-prefix-after-env).
7147 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7148 run_program_env and test_program_prefix_after_env arguments.
7149 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7150 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7151 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7152 explicitly with each use of ${test_wrapper_env}.
7153 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7154 $(test-program-prefix-before-env), $(run-program-env) and
7155 $(test-program-prefix-after-env).
7156 * posix/tst-getconf.sh: Do not set environment variables
7158 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7159 run_program_env and test_program_prefix_after_env arguments.
7160 * stdio-common/tst-printf.sh: Do not set environment variables
7162 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7163 $(test-program-prefix-before-env), $(run-program-env) and
7164 $(test-program-prefix-after-env).
7165 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7166 run_program_env and test_program_prefix_after_env arguments.
7167 Split $test calls into $test_pre and $test.
7168 * timezone/Makefile (build-testdata): Use
7169 $(built-program-cmd-before-env), $(run-program-env) and
7170 $(built-program-cmd-after-env).
7172 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7174 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7175 strlen for non SHARED builds.
7177 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7179 * nptl/allocatestack.c (check_list): Inlined function...
7180 (__reclaim_stacks): ... here.
7182 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7185 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7188 2014-06-05 Joseph Myers <joseph@codesourcery.com>
7190 * Rules (make-test-out): Include
7191 LOCPATH=$(common-objpfx)localedata in default environment.
7192 * debug/Makefile (tst-chk1-ENV): Remove variable.
7193 (tst-chk2-ENV): Likewise.
7194 (tst-chk3-ENV): Likewise.
7195 (tst-chk4-ENV): Likewise.
7196 (tst-chk5-ENV): Likewise.
7197 (tst-chk6-ENV): Likewise.
7198 (tst-lfschk1-ENV): Likewise.
7199 (tst-lfschk2-ENV): Likewise.
7200 (tst-lfschk3-ENV): Likewise.
7201 (tst-lfschk4-ENV): Likewise.
7202 (tst-lfschk5-ENV): Likewise.
7203 (tst-lfschk6-ENV): Likewise.
7204 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7205 (tst-iconv7-ENV): Likewise.
7206 * intl/Makefile (LOCPATH-ENV): Likewise.
7207 (tst-codeset-ENV): Likewise.
7208 (tst-gettext3-ENV): Likewise.
7209 (tst-gettext5-ENV): Likewise.
7210 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7211 (tst-fopenloc-ENV): Likewise.
7212 (tst-fgetws-ENV): Remove variable.
7213 (tst-ungetwc1-ENV): Likewise.
7214 (tst-ungetwc2-ENV): Likewise.
7215 (bug-ungetwc2-ENV): Likewise.
7216 (tst-swscanf-ENV): Likewise.
7217 (bug-ftell-ENV): Likewise.
7218 (tst-fgetwc-ENV): Likewise.
7219 (tst-fseek-ENV): Likewise.
7220 (tst-ftell-partial-wide-ENV): Likewise.
7221 (tst-ftell-active-handler-ENV): Likewise.
7222 (tst-ftell-append-ENV): Likewise.
7223 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7224 (tst-regexloc-ENV): Likewise.
7225 (bug-regex1-ENV): Likewise.
7226 (tst-regex-ENV): Likewise.
7227 (tst-regex2-ENV): Likewise.
7228 (bug-regex5-ENV): Likewise.
7229 (bug-regex6-ENV): Likewise.
7230 (bug-regex17-ENV): Likewise.
7231 (bug-regex18-ENV): Likewise.
7232 (bug-regex19-ENV): Likewise.
7233 (bug-regex20-ENV): Likewise.
7234 (bug-regex22-ENV): Likewise.
7235 (bug-regex23-ENV): Likewise.
7236 (bug-regex25-ENV): Likewise.
7237 (bug-regex26-ENV): Likewise.
7238 (bug-regex30-ENV): Likewise.
7239 (bug-regex32-ENV): Likewise.
7240 (bug-regex33-ENV): Likewise.
7241 (bug-regex34-ENV): Likewise.
7242 (bug-regex35-ENV): Likewise.
7243 (tst-rxspencer-ENV): Likewise.
7244 (tst-rxspencer-no-utf8-ENV): Likewise.
7245 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7246 (tst-sscanf-ENV): Likewise.
7247 (tst-swprintf-ENV): Likewise.
7248 (tst-swscanf-ENV): Likewise.
7249 (test-vfprintf-ENV): Likewise.
7250 (scanf13-ENV): Likewise.
7251 (bug14-ENV): Likewise.
7252 (tst-grouping-ENV): Likewise.
7253 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7254 (tst-strtod3-ENV): Likewise.
7255 (tst-strtod4-ENV): Likewise.
7256 (tst-strtod5-ENV): Likewise.
7257 (testmb2-ENV): Likewise./
7258 * string/Makefile (tst-strxfrm-ENV): Likewise.
7259 (tst-strxfrm2-ENV): Likewise.
7260 (bug-strcoll1-ENV): Likewise.
7261 (test-strcasecmp-ENV): Likewise.
7262 (test-strncasecmp-ENV): Likewise.
7263 * time/Makefile (tst-strptime-ENV): Likewise.
7264 (tst-ftime_l-ENV): Likewise.
7265 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7266 (tst-mbrtowc-ENV): Likewise.
7267 (tst-wcrtomb-ENV): Likewise.
7268 (tst-mbrtowc2-ENV): Likewise.
7269 (tst-c16c32-1-ENV): Likewise.
7270 (tst-mbsnrtowcs-ENV): Likewise.
7272 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7274 * manual/resource.texi (How to get information about the memory
7275 subsystem?): Fix typo.
7276 Reported by Peon de la Parra Ivan <peon@keba.com>
7278 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7281 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7282 (pthread_spin_lock): Branch out of spin loop to proper location.
7283 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7284 (pthread_spin_lock): Likewise.
7286 * nptl/tst-spin4.c: New test.
7287 * nptl/Makefile (tests): Add tst-spin4.
7289 2014-06-03 Andreas Schwab <schwab@suse.de>
7292 * resolv/res_send.c (send_dg): Reload file descriptor after
7295 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7297 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7299 2014-06-03 Richard Henderson <rth@redhat.com>
7301 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7302 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7303 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7304 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7305 in the SAVE_PID block.
7306 (__libc_vfork): New alias.
7307 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7309 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7310 child in registers, not on the stack. Remove RESET_PID conditionals.
7311 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7313 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7315 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7317 2014-06-03 Wilco <wdijkstr@arm.com>
7319 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7320 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7321 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7322 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7323 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7326 2014-06-03 Wilco <wdijkstr@arm.com>
7328 * sysdeps/aarch64/fpu/math_private.h
7329 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7330 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7331 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7332 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7335 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7337 * crypt/crypt-private.h: Include ufc-crypt.h.
7338 (__b64_from_24bit): Declare extern.
7339 * crypt/crypt_util.c(__b64_from_24bit): New function.
7340 (b64t): New static const variable.
7341 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7342 (b64t): Remove variable.
7343 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7344 * crypt/sha256-crypt.c: Include crypt-private.h.
7345 (b64t): Remove variable.
7346 (__sha256_crypt_r): Remove b64_from_24bit and replace
7347 with __b64_from_24bit.
7348 * crypt/sha512-crypt.c: Likewise.
7350 2014-06-02 Roland McGrath <roland@hack.frob.com>
7352 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7353 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7354 Label the code __libc_vfork rather than __vfork.
7355 [!NOT_IN_libc] (vfork): Define as weak alias.
7356 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7357 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7358 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7360 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7362 * malloc/malloc.c (malloc_info): Fix format specifier for
7365 2014-06-02 Wilco <wdijkstr@arm.com>
7367 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7370 2014-06-02 Wilco <wdijkstr@arm.com>
7373 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7374 Rewrite to reduce FPCR/FPSR accesses.
7376 2014-06-01 David S. Miller <davem@davemloft.net>
7378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7380 2014-05-31 David S. Miller <davem@davemloft.net>
7382 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7383 to occur in round to nearest mode when |x| >= 2.0
7385 2014-05-30 Richard Henderson <rth@twiddle.net>
7387 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7388 (PSEUDO_RET_NOERRNO): Remove.
7389 (ret): Don't redefine.
7390 (ret_NOERRNO): Define in terms of ret.
7391 (ret_ERRVAL): Likewise.
7393 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7394 use of PSEUDO_RET; perform the error check directly.
7396 2014-05-30 Marko Myllynen <myllynen@redhat.com>
7398 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7401 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7403 * malloc/malloc (malloc_info): Fix formatting.
7405 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7406 Roland McGrath <roland@hack.frob.com>
7408 * malloc/malloc (malloc_info): Also print mmapped statistics.
7410 2014-05-30 Roland McGrath <roland@hack.frob.com>
7412 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7413 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7415 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
7417 * malloc/malloc.c (malloc_info): Inline mi_arena.
7419 2014-05-29 Richard Henderson <rth@twiddle.net>
7421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7422 Remove comma before expanding ASM_ARGS_##nr.
7423 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7424 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7426 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7427 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7428 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7429 (ASM_ARGS_1): Add leading comma.
7431 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7432 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7433 to __errno_location.
7434 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7435 Remove the expected plt for __errno_location.
7437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7438 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7441 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7442 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7443 it and break it down.
7444 (DOCARGS_0, DOCARGS_1): Do nothing.
7445 (DOCARGS_2): Update to store into the new stack frame.
7446 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7447 (UNDOCARGS_1): Update to restore from the new stack frame.
7448 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7449 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7452 (SINGLE_THREAD_P): New parameter for result regno.
7453 (PSEUDO): Update to match; use cbz instead of beq.
7455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7456 Use ENTRY to define the _nocancel entry point. Share the syscall
7457 and syscall error check paths with the cancel path.
7460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7461 whitespace; tabs before and after asm mnemonics.
7463 2014-05-29 Eric Wong <normalperson@yhbt.net>
7466 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7467 Call fstat64 or stat64 internally, depending on arguments passed.
7468 Replace stat buffer argument with file descriptor argument.
7469 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7470 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7471 Pass fd to __internal_statvfs instead of calling fstat64.
7472 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7473 Pass fd to __internal_statvfs64 instead of calling fstat64.
7474 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7475 Pass -1 to __internal_statvfs instead of calling stat64.
7476 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7477 Pass -1 to __internal_statvfs64 instead of calling stat64.
7479 2014-05-28 Roland McGrath <roland@hack.frob.com>
7481 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7482 that was previously under [RESET_PID].
7483 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7485 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7486 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7488 2014-05-27 Roland McGrath <roland@hack.frob.com>
7490 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7492 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7493 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7495 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
7497 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7499 2014-05-27 Andreas Schwab <schwab@suse.de>
7501 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7503 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7504 * elf/rtld.c (init_tls, dl_main): Likewise.
7505 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7506 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7507 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7508 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7509 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7510 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7511 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7512 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7513 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7514 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7515 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7516 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7517 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7518 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7519 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7520 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7521 * sysdeps/generic/tls.h: Update description.
7523 2014-05-27 Will Newton <will.newton@linaro.org>
7526 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7527 and restore r2 rather than just restoring.
7529 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7532 * libio/tst-ftell-append.c: New test case.
7533 * libio/Makefile (tests): Add test case.
7534 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7536 * libio/wfileops.c (do_ftell_wide): Likewise.
7538 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7542 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7546 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7547 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7548 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7549 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7550 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7551 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7552 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7558 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7559 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7560 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7561 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7562 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7564 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7567 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7569 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7571 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7572 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7573 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7575 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7576 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7577 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7578 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7601 conditional [RESET_PID].
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7610 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7611 (__libc_vfork): New strong alias.
7612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7619 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7620 (__libc_vfork): New strong alias.
7621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7626 2014-05-26 Carlos O'Donell <carlos@redhat.com>
7628 * malloc/malloc.c (mi_arena): New function.
7629 (malloc_info): Remove nested function mi_arena. Call non-nosted
7632 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7634 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7636 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7637 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7638 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7639 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7640 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7641 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7642 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7644 2014-05-26 Andreas Schwab <schwab@suse.de>
7647 * locale/programs/repertoire.c (repertoire_read): Add slash
7648 between I18NPATH element and file name.
7649 * locale/programs/locfile.c (locfile_read): Likewise.
7651 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7653 * nptl/pthread_mutexattr_settype.c
7654 (__pthread_mutexattr_settype):
7655 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7657 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7659 * nptl/tst-mutex5 (do_test):
7660 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7662 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7664 * benchtests/README: Document 'init' directive.
7665 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7667 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7668 (parse_file): Recognize 'init' directive.
7670 2014-05-26 Kyle McMartin <kyle@redhat.com>
7673 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7674 alignment of struct pthread.
7676 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7679 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7680 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7681 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7682 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7684 2014-05-25 Richard Henderson <rth@twiddle.net>
7686 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7687 (SINGLE_THREAD_P_PIC): Remove.
7688 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7689 (SINGLE_THREAD_P_PIC): Remove.
7691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7692 branch to syscall error ...
7694 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7695 from __local_syscall_error to .Lsyscall_error.
7696 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7697 (SYSCALL_ERROR): Update label name.
7699 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7700 Do not use DOARGS/UNDOARGS.
7701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7702 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7703 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7704 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7705 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7707 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7710 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7711 define if !NOT_IN_libc.
7712 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7713 define with non-default symbol versions.
7715 2014-05-23 Richard Henderson <rth@twiddle.net>
7717 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7718 (vfork, __vfork): Define via compat_symbol.
7720 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7721 [!HAVE_IFUNC] (vfork_compat): Remove.
7722 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7724 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7727 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7728 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7731 2014-05-23 Richard Henderson <rth@twiddle.net>
7733 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7734 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7735 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7736 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7738 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7739 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7740 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7741 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7742 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7743 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7745 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7746 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7747 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7748 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7749 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7750 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7753 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7755 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7757 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7758 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7759 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7760 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7761 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7762 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7763 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7764 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7765 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7766 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7767 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7768 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7769 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7770 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7771 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7772 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7773 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7774 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7775 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7776 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7777 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7778 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7779 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7780 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7781 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7782 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7783 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7784 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7785 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7787 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7789 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7791 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7793 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7795 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7796 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7797 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7798 before exiting on error.
7799 (__libc_vfork): New strong alias.
7800 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7801 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7803 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7804 that was previously under [RESET_PID].
7805 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7807 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7809 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7812 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7813 value when x - 1 is zero.
7814 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7815 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7816 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7817 0.0L for an argument of 1.0L.
7818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7820 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7821 value when x - 1 is zero.
7822 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7823 * sysdeps/i386/fpu/libm-test-ulps: Update.
7824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7826 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7828 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7829 alphasort and versionsort.
7831 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7833 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7835 [copysignf]: Likewise.
7837 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7839 * crypt/md5-crypt.c: Fix formatting.
7841 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7843 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7844 (b64_from_24bit): New function.
7846 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7848 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7849 libc_hidden_builtin_def to ifunc.
7850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7851 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7853 2014-05-21 Roland McGrath <roland@hack.frob.com>
7855 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7856 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7858 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7860 * nscd/Depend (linuxthreads): Remove.
7862 * resolv/Depend (linuxthreads): Remove.
7863 * rt/Depend (linuxthreads): Remove.
7865 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7866 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7867 $(common-objpfx)elf/.
7868 (link-libc-before-gnulib): Likewise.
7869 (elfobjdir): Remove variable.
7870 * Makefile (install): Use $(elf-objpfx) instead of
7871 $(common-objpfx)elf/.
7872 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7874 (link-libc-deps): Likewise.
7875 ($(common-objpfx)libc.so): Likewise.
7876 ($(common-objpfx)linkobj/libc.so): Likewise.
7877 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7878 instead of $(common-objpfx)elf/.
7879 (symbolic-link-list): Likewise.
7880 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7881 [$(cross-compiling) = no]: Likewise.
7882 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7884 (static-gnulib-arch): Likewise.
7885 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7886 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7887 $(common-objpfx)elf/.
7889 2014-05-21 Richard Henderson <rth@redhat.com>
7891 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7892 (SINGLE_THREAD_P): Use the correct width load. Fold
7893 into the ldr offset.
7895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7896 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7898 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7900 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7901 (libgcc_s_resume): Use __attribute_used__.
7902 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7905 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7907 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7908 optimization when used with float constants.
7910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7912 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7915 * locale/nl_langinfo_l.c: Make direct reference to every
7916 _nl_current_CATEGORY symbol.
7917 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7918 (tests-static): Add tst-langinfo-static.
7919 (tests-special): Add tst-langinfo-static.out.
7920 ($(objpfx)tst-langinfo.out): Redirect output.
7921 ($(objpfx)tst-langinfo-static.out): New.
7922 * localedata/tst-langinfo.sh: Send output to stdout.
7923 * localedata/tst-langinfo-static.c: New file.
7926 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7927 when the shift amount is modulo the limb size.
7929 2014-05-20 Richard Henderson <rth@redhat.com>
7932 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7933 Change type of sa_flags from unsigned int to int.
7936 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7938 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7940 2014-05-20 Will Newton <will.newton@linaro.org>
7942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7943 Test the return value of the system call in the nocancel case.
7945 2014-05-20 Will Newton <will.newton@linaro.org>
7946 Yvan Roux <yvan.roux@linaro.org>
7948 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7949 #include of asm/ptrace.h.
7950 (PTRACE_GET_THREAD_AREA): Remove #undef.
7951 (PTRACE_GETHBPREGS): Likewise.
7952 (PTRACE_SETHBPREGS): Likewise.
7953 (struct user_regs_struct): New structure.
7954 (struct user_fpsimd_struct): New structure.
7955 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7956 #include of asm/ptrace.h and second #include of sys/user.h.
7957 (PTRACE_GET_THREAD_AREA): Remove #undef.
7958 (PTRACE_GETHBPREGS): Likewise.
7959 (PTRACE_SETHBPREGS): Likewise.
7960 (ELF_NGREG): Use new struct user_regs_struct.
7961 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7963 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7968 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7971 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7972 membar to avoid block loads/stores to overlap previous stores.
7974 2014-05-17 Richard Henderson <rth@redhat.com>
7976 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7977 Create the __##syscall_name##_nocancel entry point.
7978 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7979 Remove; let the sysdep-cancel.h code create it.
7981 2014-05-17 David S. Miller <davem@davemloft.net>
7983 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7984 Protect with __USE_GNU.
7985 (TIOCSET_TEMPT): Likewise.
7986 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7987 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7988 these are already provided in bits/ioctl-types.h
7990 2014-05-16 Roland McGrath <roland@hack.frob.com>
7992 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7993 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7995 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7996 Use wait4 regardless of [__NR_waitpid].
7998 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8001 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8002 (_FP_NANSIGN_Q): Set the quiet bit.
8004 2014-05-16 Joseph Myers <joseph@codesourcery.com>
8006 * benchtests/Makefile
8007 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8008 not $(common-objpfx)math/libm.so.
8009 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8010 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8011 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8012 $(common-objpfx)dlfcn/libdl.so.
8013 ($(objpfx)tst-audit8): Depend on $(libm), not
8014 $(common-objpfx)math/libm.so.
8015 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8016 not $(common-objpfx)dlfcn/libdl.so.
8018 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8019 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8020 [$(build-shared) = yes].
8021 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8022 $(common-objpfx)nptl/libpthread.so.
8023 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8024 $(common-objpfx)math/libm.so$(libm.so-version) or
8025 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8026 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8027 $(common-objpfx)dlfcn/libdl.so.
8028 * setjmp/Makefile (link-libm): Remove variable.
8029 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8030 * stdio-common/Makefile (link-libm): Remove variable.
8031 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8032 * stdlib/Makefile (link-libm): Remove variable.
8033 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8034 ($(objpfx)tst-strtod-round): Likewise.
8035 ($(objpfx)tst-tininess): Likewise.
8036 ($(objpfx)tst-strtod-underflow): Likewise.
8037 ($(objpfx)tst-strtod6): Likewise.
8038 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8039 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8040 $(common-objpfx)dlfcn/libdl.so.
8042 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8044 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8045 BSD terminal modes definitions.
8047 2014-05-16 Roland McGrath <roland@hack.frob.com>
8049 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8050 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8052 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8053 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8054 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8055 Don't do #include_next.
8056 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8057 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8058 Don't do #include_next.
8059 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8060 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8061 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8062 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8064 2014-05-16 Allan McRae <allan@archlinux.org>
8066 * po/sv.po: Update Swedish translation from translation project.
8068 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8071 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8074 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8075 errno if the TIOCGPTN ioctl fails with an error different than
8077 * login/tst-ptsname.c: New file.
8078 * login/Makefile (tests): Add tst-ptsname.
8081 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8084 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8088 herrno to return EAI_AGAIN.
8090 2014-05-14 Roland McGrath <roland@hack.frob.com>
8092 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8093 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8094 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8095 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8096 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8097 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8098 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8099 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8101 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8102 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8103 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8104 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8105 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8106 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8107 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8108 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8109 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8111 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8112 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8113 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8114 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8115 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8116 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8117 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8118 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8119 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8120 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8121 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8123 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8125 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8128 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8130 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8132 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8134 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8136 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8138 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8140 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8142 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8144 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8146 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8148 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8150 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8152 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8154 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8157 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8159 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8161 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8165 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8167 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8169 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8171 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8173 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8175 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8178 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8180 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8182 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8183 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8184 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8185 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8186 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8187 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8188 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8190 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8191 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8192 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8194 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8196 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8197 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8198 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8199 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8200 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8201 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8202 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8203 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8204 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8205 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8206 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8211 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8212 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8214 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8215 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8217 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8218 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8219 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8220 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8221 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8222 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8224 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8225 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8227 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8230 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8234 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8235 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8236 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8239 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8240 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8242 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8244 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8247 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8250 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8252 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8253 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8254 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8255 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8260 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8263 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8264 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8266 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8267 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8269 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8270 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8272 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8275 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8279 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8280 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8281 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8283 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8284 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8285 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8287 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8289 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8292 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8297 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8298 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8299 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8300 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8305 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8307 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8309 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8310 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8311 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8312 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8314 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8315 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8316 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8318 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8321 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8324 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8327 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8329 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8331 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8332 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8334 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8335 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8336 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8338 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8340 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8343 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8344 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8346 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8348 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8349 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8350 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8351 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8358 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8360 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8362 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8364 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8365 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8366 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8367 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8368 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8370 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8371 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8373 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8374 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8376 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8377 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8378 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8379 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8380 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8381 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8382 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8383 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8384 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8385 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8386 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8387 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8389 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8390 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8392 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8395 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8402 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8404 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8406 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8418 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8420 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8422 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8424 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8425 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8426 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8427 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8428 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8430 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8431 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8432 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8433 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8434 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8436 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8437 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8439 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8440 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8441 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8442 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8443 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8444 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8445 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8447 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8450 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8451 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8453 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8455 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8457 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8459 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8461 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8462 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8463 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8490 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8495 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
8500 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8501 that was previously under [RESET_PID].
8502 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8503 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8504 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8506 * sysdeps/i386/nptl/Implies: New file.
8507 * sysdeps/x86_64/nptl/Implies: New file.
8508 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8509 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8510 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8511 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8513 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8514 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8515 (__libc_vfork): New strong alias.
8516 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8517 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8519 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8520 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8521 (__libc_vfork): New strong alias.
8522 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8523 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8525 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8526 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8527 (__libc_vfork): New strong alias.
8528 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8529 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8530 * nptl/pt-vfork.c: New file.
8531 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8532 (libpthread: GLIBC_2.20): New version set (empty).
8534 2014-05-14 Will Newton <will.newton@linaro.org>
8536 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8539 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8542 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8543 arguments with exponent 65 or above.
8544 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8545 arguments 0x1p113L or above.
8546 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8547 to arguments 0x1p107L or above.
8548 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8549 positive arguments with exponent 65 or above.
8550 * math/auto-libm-test-in: Add more tests of log1p.
8551 * math/auto-libm-test-out: Regenerated.
8554 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8555 non-finite arguments is +0.
8556 * math/s_cacosf.c (__cacosf): Likewise.
8557 * math/s_cacosl.c (__cacosl): Likewise.
8558 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8559 * sysdeps/i386/fpu/libm-test-ulps: Update.
8560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8563 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8565 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8566 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8567 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8568 for explicit high bit of mantissa when testing for argument equal
8570 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8571 * sysdeps/i386/fpu/libm-test-ulps: Update.
8572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8575 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8576 (__erf): Scale by 16 instead of 8 in potentially underflowing
8577 case. Ensure exception if result actually underflows.
8578 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8579 (__erff): Scale by 16 instead of 8 in potentially underflowing
8580 case. Ensure exception if result actually underflows.
8581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8582 (efx8): Remove variable.
8583 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8584 case. Ensure exception if result actually underflows.
8585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8586 (efx8): Remove variable.
8587 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8588 case. Ensure exception if result actually underflows.
8589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8590 (efx8): Remove variable.
8591 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8592 case. Ensure exception if result actually underflows.
8593 * math/auto-libm-test-in: Add more tests of erf.
8594 * math/auto-libm-test-out: Regenerated.
8596 2014-05-14 Andreas Schwab <schwab@suse.de>
8598 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8599 Remove code conditionalized on USE___THREAD.
8601 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8602 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8605 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8607 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8608 Define unconditionally.
8609 (__ASSUME_O_CLOEXEC): Likewise.
8610 (__ASSUME_SOCK_CLOEXEC): Likewise.
8611 (__ASSUME_IN_NONBLOCK): Likewise.
8612 (__ASSUME_PIPE2): Likewise.
8613 (__ASSUME_EVENTFD2): Likewise.
8614 (__ASSUME_SIGNALFD4): Likewise.
8615 (__ASSUME_DUP3): Likewise.
8616 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8617 (__ASSUME_DUP3): Do not define.
8618 (__ASSUME_EVENTFD2): Likewise.
8619 (__ASSUME_IN_NONBLOCK): Likewise.
8620 (__ASSUME_O_CLOEXEC): Likewise.
8621 (__ASSUME_PIPE2): Likewise.
8622 (__ASSUME_SIGNALFD4): Likewise.
8623 (__ASSUME_SOCK_CLOEXEC): Likewise.
8624 (__ASSUME_UTIMES): Undefine.
8625 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8626 (__ASSUME_UTIMES): Do not define.
8627 (__ASSUME_O_CLOEXEC): Likewise.
8628 (__ASSUME_SOCK_CLOEXEC): Likewise.
8629 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8630 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8632 (__ASSUME_PIPE2): Likewise.
8633 (__ASSUME_EVENTFD2): Likewise.
8634 (__ASSUME_SIGNALFD4): Likewise.
8635 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8636 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8638 (__ASSUME_EVENTFD2): Likewise.
8639 (__ASSUME_SIGNALFD4): Likewise.
8640 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8641 (__ASSUME_32BITUIDS): Likewise.
8642 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8643 (__ASSUME_IPC64): Likewise.
8644 (__ASSUME_ST_INO_64_BIT): Likewise.
8645 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8646 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8647 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8648 (__ASSUME_UTIMES): Do not define.
8649 (__ASSUME_PSELECT): Likewise.
8650 (__ASSUME_PPOLL): Likewise.
8651 (__ASSUME_O_CLOEXEC): Likewise.
8652 (__ASSUME_SOCK_CLOEXEC): Likewise.
8653 (__ASSUME_IN_NONBLOCK): Likewise.
8654 (__ASSUME_PIPE2): Likewise.
8655 (__ASSUME_EVENTFD2): Likewise.
8656 (__ASSUME_SIGNALFD4): Likewise.
8657 (__ASSUME_DUP3): Likewise.
8658 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8659 (__ASSUME_UTIMES): Likewise.
8660 (__ASSUME_O_CLOEXEC): Likewise.
8661 (__ASSUME_SOCK_CLOEXEC): Likewise.
8662 (__ASSUME_IN_NONBLOCK): Likewise.
8663 (__ASSUME_PIPE2): Likewise.
8664 (__ASSUME_EVENTFD2): Likewise.
8665 (__ASSUME_SIGNALFD4): Likewise.
8666 (__ASSUME_DUP3): Likewise.
8667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8668 (__ASSUME_UTIMES): Likewise.
8669 (__ASSUME_O_CLOEXEC): Likewise.
8670 (__ASSUME_SOCK_CLOEXEC): Likewise.
8671 (__ASSUME_IN_NONBLOCK): Likewise.
8672 (__ASSUME_PIPE2): Likewise.
8673 (__ASSUME_EVENTFD2): Likewise.
8674 (__ASSUME_SIGNALFD4): Likewise.
8675 (__ASSUME_DUP3): Likewise.
8676 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8678 (__ASSUME_UTIMES): Likewise.
8679 (__ASSUME_EVENTFD2): Likewise.
8680 (__ASSUME_SIGNALFD4): Likewise.
8681 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8682 (__ASSUME_O_CLOEXEC): Likewise.
8683 (__ASSUME_SOCK_CLOEXEC): Likewise.
8684 (__ASSUME_IN_NONBLOCK): Likewise.
8685 (__ASSUME_PIPE2): Likewise.
8686 (__ASSUME_EVENTFD2): Likewise.
8687 (__ASSUME_SIGNALFD4): Likewise.
8688 (__ASSUME_DUP3): Likewise.
8689 (__ASSUME_UTIMES): Undefine.
8691 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8692 feclearexcept. Remove symbol versioning code.
8693 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8694 symbol versioning code.
8695 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8696 symbol versioning code.
8697 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8698 feupdateenv. Remove symbol versioning code.
8699 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8700 fegetexceptflag. Remove symbol versioning code.
8701 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8702 fesetexceptflag. Remove symbol versioning code.
8703 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8704 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8705 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8706 (__posix_fadvise64_l32): Remove prototype.
8707 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8710 2014-05-13 Roland McGrath <roland@hack.frob.com>
8712 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8713 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8714 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8715 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8717 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8719 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8720 current working directory
8722 2014-05-13 Roland McGrath <roland@hack.frob.com>
8724 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8725 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8726 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8727 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8728 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8729 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8730 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8731 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8732 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8733 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8735 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8736 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8737 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8738 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8739 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8740 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8741 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8742 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8743 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8744 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8745 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8746 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8747 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8748 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8749 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8750 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8751 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8752 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8753 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8754 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8755 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8756 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8757 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8758 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8759 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8760 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8761 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8762 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8763 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8764 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8765 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8767 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8768 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8770 * sysdeps/unix/sysv/linux/arm/Makefile
8771 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8772 Add rt-aeabi_unwind_cpp_pr1.
8773 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8774 Add nptl-aeabi_unwind_cpp_pr1.
8775 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8776 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8777 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8778 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8779 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8780 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8782 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8783 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8784 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8785 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8787 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8788 Deconditionalize the code that was previously under [RESET_PID].
8789 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8791 * sysdeps/generic/exit-thread.h: New file.
8792 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8793 * include/unistd.h (__exit_thread): Remove declaration.
8794 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8795 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8796 * csu/libc-start.c: Include <exit-thread.h>.
8797 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8798 * nptl/pthread_create.c: Include <exit-thread.h>.
8799 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8800 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8801 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8802 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8803 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8804 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8805 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8806 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8807 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8808 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8809 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8810 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8811 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8812 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8813 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8814 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8815 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8817 2014-05-13 Andreas Schwab <schwab@suse.de>
8819 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8821 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8823 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8824 (__ASSUME_UTIMES): Do not condition on kernel version.
8825 (__ASSUME_PSELECT): Define unconditionally.
8826 (__ASSUME_PPOLL): Likewise.
8827 (__ASSUME_ATFCTS): Likewise.
8828 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8829 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8830 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8831 (__ASSUME_UTIMENSAT): Define unconditionally.
8832 (__ASSUME_PRIVATE_FUTEX): Likewise.
8833 (__ASSUME_FALLOCATE): Likewise.
8834 (__ASSUME_O_CLOEXEC): Likewise.
8835 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8836 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8837 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8838 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8839 (__ASSUME_IN_NONBLOCK): Likewise.
8840 (__ASSUME_PIPE2): Likewise.
8841 (__ASSUME_EVENTFD2): Likewise.
8842 (__ASSUME_SIGNALFD4): Likewise.
8843 (__ASSUME_DUP3): Likewise.
8844 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8845 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8846 (__ASSUME_AT_RANDOM): Likewise.
8847 (__ASSUME_PREADV): Likewise.
8848 (__ASSUME_PWRITEV): Likewise.
8849 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8850 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8851 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8853 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8854 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8855 (__ASSUME_O_CLOEXEC): Define unconditionally.
8856 (__ASSUME_PSELECT): Do not undefine conditionally.
8857 (__ASSUME_PPOLL): Likewise.
8858 (__ASSUME_ATFCTS): Likewise.
8859 (__ASSUME_SET_ROBUST_LIST): Likewise.
8860 (__ASSUME_UTIMENSAT): Likewise.
8861 (__ASSUME_FDATASYNC): Define unconditionally.
8862 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8863 (__ASSUME_SIGFRAME_V2): Likewise.
8864 )__ASSUME_EVENTFD2): Likewise.
8865 (__ASSUME_SIGNALFD4): Likewise.
8866 (__ASSUME_PSELECT): Do not undefine conditionally.
8867 (__ASSUME_PPOLL): Likewise.
8868 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8869 (__ASSUME_PSELECT): Define unconditionally.
8870 (__ASSUME_PPOLL): Likewise.
8871 (__ASSUME_O_CLOEXEC): Likewise.
8872 (__ASSUME_SOCK_CLOEXEC): Likewise.
8873 (__ASSUME_IN_NONBLOCK): Likewise.
8874 (__ASSUME_PIPE2): Likewise.
8875 (__ASSUME_EVENTFD2): Likewise.
8876 (__ASSUME_SIGNALFD4): Likewise.
8877 (__ASSUME_DUP3): Likewise.
8878 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8879 (__ASSUME_O_CLOEXEC): Likewise.
8880 (__ASSUME_SOCK_CLOEXEC): Likewise.
8881 (__ASSUME_IN_NONBLOCK): Likewise.
8882 (__ASSUME_PIPE2): Likewise.
8883 (__ASSUME_EVENTFD2): Likewise.
8884 (__ASSUME_SIGNALFD4): Likewise.
8885 (__ASSUME_DUP3): Likewise.
8886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8887 (__ASSUME_EVENTFD2): Likewise.
8888 (__ASSUME_SIGNALFD4): Likewise.
8889 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8891 2014-05-12 Andreas Schwab <schwab@suse.de>
8894 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8895 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8896 than maximum RPC packet size.
8897 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8898 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8899 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8900 (_nss_nis_getservbyport_r): Likewise.
8902 2014-05-12 Will Newton <will.newton@linaro.org>
8904 * malloc/Makefile (tests): Add tst-mallopt.
8905 * malloc/tst-mallopt.c: New file.
8907 2014-05-09 Roland McGrath <roland@hack.frob.com>
8909 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8910 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8912 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8914 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8915 (tst-tlsmod6.so): Likewise.
8917 2014-05-09 Roland McGrath <roland@hack.frob.com>
8919 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8921 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8924 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8925 and <dl-procinfo.h>.
8926 (__fegetenv): Save SSE state in envp->__eip if supported.
8927 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8928 envp->__eip if supported.
8929 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8930 and <dl-procinfo.h>.
8931 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8932 __data_offset and __data_selector in environment to 0. Set SSE
8934 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8936 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8938 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8940 2014-05-09 Will Newton <will.newton@linaro.org>
8942 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8943 and libc_relro_required for ARM.
8944 * sysdeps/arm/preconfigure: Regenerate.
8946 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8947 Stefan Liebler <stli@linux.vnet.ibm.com>
8949 * config.make.in (enable-lock-elision): New Makefile variable.
8950 * configure.ac: Likewise.
8951 * configure: Regenerate.
8952 * sysdeps/s390/configure.ac:
8953 Add check for gcc transactions support.
8954 * sysdeps/s390/configure: Regenerate.
8955 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8956 Build elision files if enabled.
8957 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8958 Add lock elision support for s390.
8959 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8960 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8961 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8962 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8963 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8964 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8973 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8974 (__lll_timedlock_elision, __lll_lock_elision)
8975 (__lll_unlock_elision, __lll_trylock_elision)
8976 (lll_timedlock_elision, lll_lock_elision)
8977 (lll_unlock_elision, lll_trylock_elision): Add.
8978 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8979 (pthread_mutex_t): Add lock elision support for s390.
8981 2014-05-14 Wilco <wdijkstr@arm.com>
8983 * sysdeps/arm/fclrexcpt.c: Cleanup.
8984 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8985 * sysdeps/arm/feenablxcpt.c: Cleanup.
8986 * sysdeps/arm/fegetenv.c: Cleanup.
8987 * sysdeps/arm/fegetexcept.c: Cleanup.
8988 * sysdeps/arm/fegetround.c: Cleanup.
8989 * sysdeps/arm/feholdexcpt.c: Cleanup.
8990 * sysdeps/arm/fesetenv.c: Cleanup.
8991 * sysdeps/arm/fesetround.c: Cleanup.
8992 * sysdeps/arm/feupdateenv.c: Cleanup.
8993 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8994 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8995 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8996 * sysdeps/arm/ftestexcept.c: Cleanup.
8997 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8998 * sysdeps/arm/setfpucw.c: Cleanup.
9000 2014-05-09 Will Newton <will.newton@linaro.org>
9002 * sysdeps/arm/armv7/strcmp.S: New file.
9003 * NEWS: Mention addition of ARMv7 optimized strcmp.
9005 2014-05-08 Roland McGrath <roland@hack.frob.com>
9007 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9008 look for %.ac rather than %.in.
9010 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9011 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9012 * sysdeps/mach/hurd/configure: Regenerated.
9013 * sysdeps/unix/sysv/linux/configure: Regenerated.
9015 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9017 2014-05-07 Steve Ellcey <sellcey@mips.com>
9020 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9024 2014-05-07 Andreas Schwab <schwab@suse.de>
9026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9027 when skipping over non-matching result from nscd.
9029 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
9032 * nptl/sockperf.c (client): Check socket return value.
9035 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9036 nscd security class.
9038 2014-05-06 Roland McGrath <roland@hack.frob.com>
9040 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9041 * sysdeps/arm/unwind.h: ... here.
9043 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9046 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9049 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9051 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9052 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9053 multiarch strncpy for PPC64.
9054 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9055 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9056 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9057 multiarch optimizations.
9058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9059 (__libc_ifunc_impl_list): Likewise.
9060 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9061 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9062 multiarch stpncpy for PPC64.
9063 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9064 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9066 2014-05-06 Andreas Schwab <schwab@suse.de>
9069 * gmon/mcount.c (_MCOUNT_DECL): Use
9070 atomic_compare_and_exchange_bool_acq instead of
9071 catomic_compare_and_exchange_bool_acq.
9073 2014-05-05 Roland McGrath <roland@hack.frob.com>
9075 * elf/Makefile (others, install-bin): Remove pldd.
9076 (pldd-modules): Variable removed.
9077 ($(objpfx)pldd): Target removed.
9078 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9079 (others, install-bin): Append pldd here.
9080 ($(objpfx)pldd): New target.
9082 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9083 to 0, so the first #if test emitted later doesn't see it undefined.
9084 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9085 * sysdeps/gnu/errlist.c: Regenerated.
9087 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9089 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9090 [libc_hidden_builtin_def]: Define to empty value.
9091 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9092 [libc_hidden_builtin_def]: Likewise.
9093 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9094 [libc_hidden_builtin_def]: Likewise.
9095 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9096 [libc_hidden_builtin_def]: Likewise.
9097 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9098 __redirect_memcpy and define ifunc as default hidden symbol.
9099 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9100 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9102 2014-05-04 Adam Conrad <adconrad@0c3.net>
9104 * locale/iso-4217.def: Reintroduce XDR currency.
9106 2014-05-04 Allan McRae <allan@archlinux.org>
9108 * po/eo.po: Update Esperanto translation from translation project.
9110 2014-05-02 Carlos O'Donell <carlos@redhat.com>
9112 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9113 and FEATURE_INDEX_MAX to 1.
9114 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9116 2014-05-01 Steve Ellcey <sellcey@mips.com>
9118 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9119 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9120 * iconvdata/big5.c (ONE_DIRECTION): Define.
9121 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9122 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9123 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9124 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9125 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9126 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9127 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9128 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9129 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9130 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9131 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9132 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9133 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9134 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9135 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9136 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9137 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9138 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9139 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9140 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9141 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9142 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9143 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9144 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9145 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9146 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9147 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9148 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9149 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9150 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9151 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9152 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9153 * iconvdata/johab.c (ONE_DIRECTION): Define.
9154 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9155 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9156 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9157 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9158 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9159 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9160 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9161 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9162 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9163 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9165 2014-05-01 Roland McGrath <roland@hack.frob.com>
9167 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9168 (_IO_JUMPS_OFFSET): Define to 0.
9170 * nptl/sysdeps/pthread/bits/libc-lock.h
9171 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9172 (__libc_lock_define_initialized_recursive): Always define using
9173 initializer. Modern compilers treat uninitialized (implicit zero) and
9174 explicit zero initializers the same (i.e. put the datum in bss).
9176 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9178 * nscd/nscd-client.h: Include <string.h>.
9180 2014-05-01 David S. Miller <davem@davemloft.net>
9183 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9184 multiple zero bytes exist at the end of a string.
9185 Reported by Aurelien Jarno <aurelien@aurel32.net>
9187 * string/test-strcmp.c (check): Add explicit test for situations where
9188 there are multiple zero bytes after the first.
9190 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9193 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9194 when compiling wprintf.
9195 * stdio-common/tstdiomisc.c (t3): New function.
9198 2014-05-01 Steve Ellcey <sellcey@mips.com>
9200 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9201 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9202 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9203 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9205 2014-05-01 Steve Ellcey <sellcey@mips.com>
9207 * stdlib/longlong.h: Updated from GCC.
9209 2014-05-01 Will Newton <will.newton@linaro.org>
9210 Bernard Ogden <bernie.ogden@linaro.org>
9212 * NEWS: Update fixed bug list.
9215 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9217 2014-04-30 David S. Miller <davem@davemloft.net>
9219 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9220 (libc_feholdexcept_setround_sparc_ctx): New function.
9221 (libc_fesetenv_sparc_ctx): Likewise.
9222 (libc_feupdateenv_sparc_ctx): Likewise.
9223 (libc_feholdsetround_sparc_ctx): Likewise.
9224 (libc_feholdexcept_setround_ctx): Define.
9225 (libc_feholdexcept_setroundf_ctx): Likewise.
9226 (libc_feholdexcept_setroundl_ctx): Likewise.
9227 (libc_fesetenv_ctx): Likewise.
9228 (libc_fesetenvf_ctx): Likewise.
9229 (libc_fesetenvl_ctx): Likewise.
9230 (libc_feupdateenv_ctx): Likewise.
9231 (libc_feupdateenvf_ctx): Likewise.
9232 (libc_feupdateenvl_ctx): Likewise.
9233 (libc_feresetround_ctx): Likewise.
9234 (libc_feresetroundf_ctx): Likewise.
9235 (libc_feresetroundl_ctx): Likewise.
9236 (libc_feholdsetround_ctx): Likewise.
9237 (libc_feholdsetroundf_ctx): Likewise.
9238 (libc_feholdsetroundl_ctx): Likewise.
9240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9241 with __USE_GNU instead of XOPEN cpp guards.
9243 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9246 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9247 with XOPEN cpp guards.
9249 2014-04-30 Julian Brown <julian@codesourcery.com>
9252 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9255 2014-04-30 Joseph Myers <joseph@codesourcery.com>
9258 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9260 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9261 * sysdeps/unix/sysv/linux/configure: Regenerated.
9262 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9263 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9264 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9265 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9266 * README: Update reference to required Linux kernel version.
9267 * manual/install.texi (Linux): Update reference to required Linux
9268 kernel headers version.
9269 * INSTALL: Regenerated.
9271 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9273 [POSIX] (limits.h): Likewise.
9274 [POSIX] (math.h): Likewise.
9275 [POSIX] (sys/wait.h): Likewise.
9276 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9278 [POSIX] (stddef.h): Do not allow header inclusion.
9280 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9282 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9284 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9286 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9287 Return immediately after lll_futex_wake.
9289 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9292 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9294 (datahead_init_pos): Call datahead_init_common early.
9295 (datahead_init_neg): Likewise.
9297 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9298 datahead_init_neg): New functions.
9299 * nscd/aicache.c (addhstaiX): Use them.
9300 * nscd/grpcache.c (cache_addgr): Likewise.
9301 * nscd/hstcache.c (cache_addhst): Likewise.
9302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9303 * nscd/netgroupcache.c (do_notfound): Likewise.
9304 (addgetnetgrentX): Likewise.
9305 (addinnetgrX): Likewise.
9306 * nscd/pwdcache.c (cache_addpw): Likewise.
9307 * nscd/servicescache.c (cache_addserv): Likewise.
9309 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9310 Atsushi Onoe <atsushi@onoe.org>
9315 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9316 one response is valid.
9317 * resolv/res_send.c (send_dg): Check for validity of other
9318 response if the current response is a referral.
9320 2014-04-29 Steve Ellcey <sellcey@mips.com>
9322 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9324 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9327 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9328 Always divide by positive zero when computing -Inf result.
9329 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9330 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9332 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9334 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9335 FPSCR if value do not change.
9336 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9337 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9338 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9339 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9340 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9341 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9344 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9346 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9347 * sysdeps/unix/sysv/linux/hppa: Move directory from
9348 ports/systeps/unix/sysv/linux/hppa.
9349 * README: Update listing for hppa-*-linux-gnu.
9351 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
9354 * manual/stdio.texi (Hook functions): Fix types of stream hook
9357 * socket/sys/socket.h: Fix typo in comment.
9359 2014-04-28 Wilco <wdijkstr@arm.com>
9361 * sysdeps/arm/fenv_private.h: New file.
9362 * sysdeps/arm/math_private.h: New file.
9363 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9365 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9367 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9369 (La_x86_64_retval): Likewise.
9371 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9373 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9374 fpsr if value didn't change.
9375 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9376 to fpcr if value didn't change.
9377 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9378 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9379 fpsr or fpcr if value didn't change.
9380 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9381 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9382 fpcr if value didn't change.
9383 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9384 to fpsr if value didn't change.
9386 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9388 * nptl/tst-sem3.c: Use test-skeleton.c
9389 (main): Rename to do_test. Use return instead of
9391 * nptl/tst-sem4.c: Use test-skeleton.c
9392 (main): Rename to do_test.
9394 2014-04-22 David S. Miller <davem@davemloft.net>
9396 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9397 (struct sigaction): New struct member __glibc_reserved0, change
9398 type of sa_flags to int.
9400 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9402 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9403 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9405 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9407 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9408 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9410 2014-04-22 Will Newton <will.newton@linaro.org>
9411 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9413 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9414 (__longjmp): Add longjmp and longjmp_target SystemTap
9416 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9417 (__sigsetjmp): Add setjmp SystemTap probe.
9419 2014-04-17 Carlos O'Donell <carlos@redhat.com>
9421 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9424 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9426 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9428 * sysdeps/powerpc/fpu/fenv_private.h
9429 (libc_feholdexcept_setroundl_ctx): Define to
9430 libc_feholdexcept_setround_ppc_ctx.
9431 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9432 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9433 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9434 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9436 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9438 * sysdeps/aarch64/math-tests.h: New file.
9440 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9442 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9445 Check and set bit_AVX2_Usable.
9446 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9448 (bit_AVX2): Likewise.
9449 (index_AVX2_Usable): Likewise.
9450 (CPUID_AVX2): Likewise.
9451 (HAS_AVX2): Likewise.
9453 2014-04-17 Will Newton <will.newton@linaro.org>
9455 * manual/setjmp.texi (System V contexts): Add note that
9456 calling setcontext on a context created by a call to a
9457 signal handler is undefined. Update text to note that
9458 setcontext from a signal handler is possible but not
9462 * stdlib/tst-setcontext.c: Include signal.h.
9463 (main): Check that the signal stack before and
9464 after swapcontext is the same.
9466 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9467 Re-implement to restore registers in user code and avoid
9468 rt_sigreturn system call.
9470 2014-04-17 Wilco <wdijkstr@arm.com>
9472 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9473 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9474 * math/test-fenv.c: Skip exception trap tests on targets which only
9475 support non-stop mode.
9477 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9478 Wilco Dijkstra <wilco.dijkstra@arm.com>
9480 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9481 (libc_feholdsetround_aarch64_ctx)
9482 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9483 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9484 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9485 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9486 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9487 (libc_feresetround_noexl_ctx): Define.
9489 2014-04-16 Richard Henderson <rth@redhat.com>
9491 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9493 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9496 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9497 const from the non-libc, non-ldso copy.
9499 * sysdeps/alpha/libm-test-ulps: Regenerate.
9501 2014-04-16 Ian Bolton <ian.bolton@arm.com>
9502 Wilco Dijkstra <wilco.dijkstra@arm.com>
9504 * sysdeps/aarch64/fpu/math_private.h: New file.
9506 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9508 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9510 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9513 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9514 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9516 Intel MPX bound registers before _dl_profile_fixup.
9517 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9518 registers after _dl_profile_fixup. Save and restore bound
9519 registers bnd0/bnd1 when calling _dl_call_pltexit.
9520 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9521 (LR_BND_OFFSET): Likewise.
9522 (LRV_BND0_OFFSET): Likewise.
9523 (LRV_BND1_OFFSET): Likewise.
9525 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9527 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9529 * sysdeps/mach/hurd/i386/tls.h: ... here.
9530 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9531 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9534 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9536 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9538 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9540 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9542 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9545 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9546 * sysdeps/s390/configure: Regenerate.
9549 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9550 Set round-to-nearest internally to reduce error accumulation.
9552 2014-04-16 Alan Modra <amodra@gmail.com>
9556 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9557 * math/libm-test.inc (frexp_test_data): Add tests.
9558 * NEWS: Update fixed bug list.
9560 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9562 * benchtests/Makefile: Depend on libraries in build directory.
9563 (bench-math): Separate out math tests.
9564 (bench-pthread): Separate out pthread tests.
9565 (bench): Include math and pthread tests.
9567 2014-04-14 Carlos O'Donell <carlos@redhat.com>
9570 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9571 _dl_debug_initialize.
9573 * configure.ac: Remove SELinux header check.
9574 * configure: Regenerate.
9575 * nscd/selinux.c (perms): Array of const char* to permission names.
9576 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9577 default policy. Call string_to_security_class and string_to_av_perm to
9578 translate strings. Enforce default policy and call avs_has_perm with
9579 results of translated strings.
9581 2014-04-13 David S. Miller <davem@davemloft.net>
9583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9585 2014-04-12 Allan McRae <allan@archlinux.org>
9588 * manual/string.texi (Collation Functions): Fix qsort argument
9590 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9592 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9594 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9595 Make the test a no-op if there are no exceptions defined.
9597 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9599 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9600 enable-hardcoded-path-in-tests
9602 2014-04-11 Will Newton <will.newton@linaro.org>
9604 * benchtests/Makefile (extra-objs): Add json-lib.o.
9605 (bench-func): Tidy up JSON output.
9606 * benchtests/bench-skeleton.c: Include json-lib.h.
9607 (main): Use JSON library functions to do output of
9609 * benchtests/bench-timing-type.c (main): Output the
9610 timing type simply, leaving formatting to the user.
9611 * benchtests/json-lib.c: New file.
9612 * benchtests/json-lib.h: Likewise.
9614 2014-04-11 Torvald Riegel <triegel@redhat.com>
9617 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9618 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9619 memory barriers. Add comments.
9620 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9621 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9622 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9623 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9624 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9625 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9627 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9629 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9630 * sysdeps/s390/s390-64/configure.ac: ... this ...
9631 * sysdeps/s390/configure.ac: ... to here.
9632 * sysdeps/s390/s390-32/configure: Delete file.
9633 * sysdeps/s390/s390-64/configure: Delete file.
9634 * sysdeps/s390/configure: Regenerate.
9636 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9638 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9640 2014-04-11 Will Newton <will.newton@linaro.org>
9642 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9643 to zero if it is not defined elsewhere. (mtrim): Test
9644 the value of MALLOC_DEBUG with #if rather than #ifdef.
9646 2014-04-10 Torvald Riegel <triegel@redhat.com>
9648 * benchtests/pthread_once-inputs: New file.
9649 * benchtests/pthread_once-source.c: New file.
9650 * benchtests/README: Update documentation.
9652 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9653 H.J. Lu <hongjiu.lu@intel.com>
9656 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9657 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9658 * sysdeps/x86_64/configure: Regenerated.
9659 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9661 (REGISTER_SAVE_RAX): Likewise.
9662 (REGISTER_SAVE_RCX): Likewise.
9663 (REGISTER_SAVE_RDX): Likewise.
9664 (REGISTER_SAVE_RSI): Likewise.
9665 (REGISTER_SAVE_RDI): Likewise.
9666 (REGISTER_SAVE_R8): Likewise.
9667 (REGISTER_SAVE_R9): Likewise.
9668 (REGISTER_SAVE_BND0): Likewise.
9669 (REGISTER_SAVE_BND1): Likewise.
9670 (REGISTER_SAVE_BND2): Likewise.
9671 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9672 bound registers when calling _dl_fixup.
9674 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9676 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9677 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9679 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9680 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9681 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9682 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9683 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9684 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9685 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9687 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9690 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9691 pathconf(_PC_NAME_MAX).
9693 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9695 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9697 (__PTHREAD_SPINS): Move definition to ...
9698 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9699 (__PTHREAD_SPINS): ... here.
9700 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9701 (__PTHREAD_SPIN): Likewise.
9702 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9703 (__PTHREAD_SPIN): Likewise.
9704 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9705 (__PTHREAD_SPIN): Likewise.
9706 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9707 (__PTHREAD_SPIN): Likewise.
9708 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9709 (__PTHREAD_SPIN): Likewise.
9710 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9711 (__PTHREAD_SPIN): Likewise.
9712 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9713 (__PTHREAD_SPIN): Likewise.
9714 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9715 (__PTHREAD_SPIN): Likewise.
9716 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9717 (__PTHREAD_SPIN): Likewise.
9718 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9719 (__PTHREAD_SPIN): Likewise.
9720 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9721 (__PTHREAD_SPIN): Likewise.
9722 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9723 (__PTHREAD_SPIN): Likewise.
9725 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9726 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9727 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9730 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9731 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9732 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9733 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9735 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9736 strlen symbol for non multi-arch builds.
9737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9738 missing hidden_def and weak_alias.
9740 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9742 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9744 2014-04-07 Will Newton <will.newton@linaro.org>
9746 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9747 and contents. [!_LIBC] Remove #ifndef and contents.
9748 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9749 * string/memccpy.c (__memccpy): Use ANSI prototype.
9750 * string/memfrob.c (memfrob): Likewise.
9751 * string/strcoll.c (STRCOLL): Likewise.
9752 * string/strlen.c (strlen): Likewise.
9753 * string/strtok.c (STRTOK): Likewise.
9754 * string/strcat.c: Remove unused #include of memcopy.h.
9755 (strcat): Use ANSI prototype.
9756 * string/strchr.c: Remove unused #include of memcopy.h.
9757 (strchr): Use ANSI prototype.
9758 * string/strcmp.c: Remove unused #include of memcopy.h.
9759 (strcmp): Use ANSI prototype.
9760 * string/strcpy.c: Remove unused #include of memcopy.h.
9761 (strcpy): Use ANSI prototype.
9763 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9765 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9766 * config.make.in (config-extra-cppflags): Set it from
9767 libc_extra_cppflags.
9768 * configure.ac (libc_extra_cflags): Make it accumulate over
9769 configure fragments.
9770 (libc_extra_cppflags): New flag.
9771 * configure. Regenerate.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9773 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9774 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9779 result for FE_DOWNWARD rounding mode.
9780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9784 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9786 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9787 in function argument name.
9789 2014-04-03 David Svoboda <svoboda@cert.org>
9792 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9795 2014-04-03 Roland McGrath <roland@hack.frob.com>
9797 * elf/dl-unmap-segments.h: New file.
9798 * sysdeps/generic/ldsodefs.h
9799 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9800 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9801 * elf/dl-fptr.c: Likewise.
9802 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9803 * sysdeps/aarch64/tlsdesc.c: Likewise.
9804 * sysdeps/arm/tlsdesc.c: Likewise.
9805 * sysdeps/i386/tlsdesc.c: Likewise.
9806 * sysdeps/tile/dl-runtime.c: Likewise.
9807 * sysdeps/x86_64/tlsdesc.c: Likewise.
9808 * elf/dl-load.h: New file.
9809 * elf/dl-load.c: Include it.
9810 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9811 Macros moved to dl-load.h.
9812 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9813 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9814 Use _dl_unmap_segments in place of __munmap.
9815 Break out segment-mapping loop into ...
9816 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9818 2014-04-03 Will Newton <will.newton@linaro.org>
9820 * elf/dl-lookup.c (do_lookup_x): Remove comment
9821 referring to nested function and move variable
9822 declarations down to before first use.
9824 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9828 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9830 * math/s_catanf.c (__catanf): Likewise.
9831 * math/s_catanh.c (__catanh): Likewise.
9832 * math/s_catanhf.c (__catanhf): Likewise.
9833 * math/s_catanhl.c (__catanhl): Likewise.
9834 * math/s_catanl.c (__catanl): Likewise.
9835 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9836 by positive zero when computing -Inf result.
9837 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9838 (catanh_test): Likewise.
9839 * sysdeps/i386/fpu/libm-test-ulps: Update.
9840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9843 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9844 instead of using underflowing value in computing result.
9845 * math/s_clog10.c (__clog10): Likewise.
9846 * math/s_clog10f.c (__clog10f): Likewise.
9847 * math/s_clog10l.c (__clog10l): Likewise.
9848 * math/s_clogf.c (__clogf): Likewise.
9849 * math/s_clogl.c (__clogl): Likewise.
9850 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9851 (clog10_test): Likewise.
9852 * sysdeps/i386/fpu/libm-test-ulps: Update.
9853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9855 2014-04-02 Alan Modra <amodra@gmail.com>
9858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9859 output when value is near a power of two. Use int64_t for lx and
9860 remove casts. Use decimal rather than hex exponent constants.
9861 Don't use long double multiplication when double will suffice.
9862 * math/libm-test.inc (nextafter_test_data): Add tests.
9863 * NEWS: Add 16739 and 16786 to bug list.
9865 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9867 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9869 2014-04-01 Will Newton <will.newton@linaro.org>
9871 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9872 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9874 2014-04-01 Florian Weimer <fweimer@redhat.com>
9877 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9878 * nptl/tst-setuid2.c: New file.
9879 * nptl/Makefile (xtests): Add tst-setuid2.
9881 2014-04-01 Alan Modra <amodra@gmail.com>
9884 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9886 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9890 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9891 set errno as appropriate.
9892 * math/w_scalbf.c (__scalbf): Likewise.
9893 * math/w_scalbl.c (__scalbl): Likewise.
9894 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9895 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9896 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9900 * math/w_atan2.c: Include <errno.h>.
9901 (__atan2): Set errno for result underflowing to zero.
9902 * math/w_atan2f.c: Include <errno.h>.
9903 (__atan2f): Set errno for result underflowing to zero.
9904 * math/w_atan2l.c: Include <errno.h>.
9905 (__atan2l): Set errno for result underflowing to zero.
9906 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9908 * math/auto-libm-test-out: Regenerated.
9910 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9912 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9913 Encode instruction correctly in little endian.
9914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9923 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9926 * sysdeps/unix/sysv/linux/kernel-features.h
9927 [__sparc__ && !__arch64__ && !__sparc_v9__]
9928 (__ASSUME_SET_ROBUST_LIST): Do not define.
9929 [__sparc__ && !__arch64__ && !__sparc_v9__]
9930 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9931 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9933 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9934 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9935 (__ASSUME_REQUEUE_PI): Likewise.
9936 (__ASSUME_SET_ROBUST_LIST): Likewise.
9937 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9938 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9945 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9947 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9948 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9950 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9951 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9957 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9959 2014-03-31 Will Newton <will.newton@linaro.org>
9961 * benchtests/Makefile (bench): Add ffs and ffsll to list
9963 * benchtests/ffs-inputs: New file.
9964 * benchtests/ffsll-inputs: Likewise.
9966 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9969 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9970 too large before casting to int.
9971 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9972 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9973 * math/libm-test.inc (scalb_test_data): Add more tests.
9975 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9977 * benchtests/Makefile (DETAILED_OPT): New make option.
9978 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9980 * benchtests/bench-skeleton.c: Include stdbool.h.
9981 (main): Store and print timings per input.
9982 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9983 member to each argument value.
9984 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9985 (_print_arg_data): Initialize per-input timing to 0.
9987 * benchtests/Makefile (timing-type): New binary.
9988 (bench-clean): Also remove bench-timing-type.
9989 (bench): New target for timing-type.
9990 (bench-func): Print output in JSON format.
9991 * benchtests/bench-skeleton.c (main): Print output in JSON
9993 * benchtests/bench-timing-type.c: New file.
9994 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9995 (TIMING_PRINT_STATS): Remove.
9996 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9999 * benchtests/bench-modf.c: Remove.
10000 * benchtests/modf-inputs: New inputs file.
10002 2014-03-28 Joseph Myers <joseph@codesourcery.com>
10005 * math/s_clog10.c (M_PI_LOG10E): New macro.
10006 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10007 imaginary parts are 0.
10008 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10009 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10010 imaginary parts are 0.
10011 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10012 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10013 imaginary parts are 0.
10014 * math/libm-test.inc (clog10_test_data): Update expected results
10015 for when real and imaginary parts are 0.
10017 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10019 * elf/dl-load.c: Finish conversion of __builtin_expect into
10020 __glibc_{un}likely.
10022 2014-03-27 Joseph Myers <joseph@codesourcery.com>
10025 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10026 1+x for argument with exponent below -67.
10027 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10029 * math/auto-libm-test-in: Add more tests of exp.
10030 * math/auto-libm-test-out: Regenerated.
10032 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10035 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10036 (nscd_getnetgrent): Use it.
10039 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10042 2014-03-27 Andi Kleen <ak@linux.intel.com>
10044 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10045 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10046 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10047 (lll_robust_unlock): Remove out of line section. Use cfi
10049 (LLL_STUB_UNWIND_INFO*): Remove.
10050 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10051 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10052 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10053 (lll_robust_unlock): Remove out of line section. Use cfi
10055 (LLL_STUB_UNWIND_INFO*): Remove.
10057 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10060 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10063 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10065 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10067 2014-03-26 Joseph Myers <joseph@codesourcery.com>
10070 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10072 * math/test-fenv-preserve.c: New file.
10073 * math/Makefile (tests): Add test-fenv-preserve.
10075 2014-03-26 Will Newton <will.newton@linaro.org>
10077 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10079 2014-03-25 Roland McGrath <roland@hack.frob.com>
10081 * scripts/versionlist.awk: Partition the version sets and emit all
10082 GLIBC_* (sorted) before all others (sorted).
10084 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10086 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10087 GLIBC_2.2.5 version.
10089 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10091 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10094 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10099 2014-03-25 Andreas Schwab <schwab@suse.de>
10101 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10102 label to be used after in6ailist is initialized.
10104 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10107 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10109 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10113 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10115 (fp_formats): Update initializers.
10116 (init_fp_formats): Initialize new field.
10117 (output_for_one_input_case): Allow underflow for results up to
10119 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10120 * math/auto-libm-test-in: Don't mark some underflows from asin and
10122 * math/auto-libm-test-out: Regenerated.
10123 * sysdeps/i386/fpu/libm-test-ulps: Update.
10124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10126 2014-03-25 Andreas Schwab <schwab@suse.de>
10128 * libio/Makefile (tst-ftell-partial-wide-ENV)
10129 (tst-ftell-active-handler-ENV): Define.
10131 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10133 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10135 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10137 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10139 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10141 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10142 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10143 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10145 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10148 * elf/dl-load.c (open_verify): Add mode parameter.
10149 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10150 (open_path): Change from boolean 'secure' to complete flag 'mode'
10151 (_dl_map_object): Adjust.
10152 * elf/Makefile (tests): Add tst-dlopen-aout.
10153 * elf/tst-dlopen-aout.c: New test.
10155 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10158 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10159 (struct stat): Rename member pad0 to __glibc_reserved0.
10162 * sysdeps/s390/s390-32/bits/wordsize.h
10163 (__WORDSIZE32_SIZE_ULONG): New define.
10164 * sysdeps/s390/s390-64/bits/wordsize.h
10165 (__WORDSIZE32_SIZE_ULONG): Likewise.
10166 * sysdeps/generic/stdint.h (SIZE_MAX):
10167 Define as UL if __WORDSIZE32_SIZE_ULONG.
10170 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10171 (__glibc_reserved0): New variable.
10172 (sa_flags): Change type to int.
10174 * posix/Makefile (before-compile): Use += before-compile instead
10177 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10178 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10180 2014-03-20 Andreas Schwab <schwab@suse.de>
10183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10184 non-matching result from nscd.
10186 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10188 * scripts/bench.py: Moved to ...
10189 * benchtests/scripts/bench.py: ... here.
10190 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10192 2014-03-24 Andreas Schwab <schwab@suse.de>
10195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10196 alloca_account and account alloca use for struct in6ailist.
10198 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10201 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10202 rounding mode to recompute results that overflow to infinity or
10204 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10206 * math/auto-libm-test-out: Regenerated.
10207 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10208 (ccosh_test): Likewise.
10209 (csin_test_data): Use plus_oflow.
10210 (csin_test): Use ALL_RM_TEST.
10211 (csinh_test_data): Use plus_oflow.
10212 (csinh_test): Use ALL_RM_TEST.
10213 * sysdeps/i386/fpu/libm-test-ulps: Update.
10214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10216 2014-03-21 Joseph Myers <joseph@codesourcery.com>
10218 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10219 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10220 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10223 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10224 when x - 1 is zero.
10225 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10226 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10227 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10230 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10231 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10233 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10234 * sysdeps/i386/fpu/libm-test-ulps: Update.
10235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10237 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10239 * scripts/bench.pl: Remove file.
10240 * scripts/bench.py: New benchmark script.
10241 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10242 * benchtests/README: Mention python dependency.
10243 * scripts/pylintrc: New file.
10244 * scripts/pylint: New file.
10246 * bits/mathdef.h: Use #ifdef instead of #if.
10247 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10249 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10250 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10251 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10252 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10254 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10255 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10257 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10259 and strpbrk-ppc64 objects.
10260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10261 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10263 multiarch strpbrk for POWER7.
10264 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10265 multiarch strpbrk for PPC64.
10266 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10268 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10269 strpbrk for POWER7.
10271 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10273 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10274 (atan_test): Likewise.
10275 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10276 (atanh_test): Use ALL_RM_TEST.
10277 (atan2_test_data): Likewise.
10278 (cabs_test): Likewise.
10279 (cacosh_test): Likewise.
10280 (carg_test): Likewise.
10281 (casin_test): Likewise.
10282 (casinh_test): Likewise.
10283 (cbrt_test): Likewise.
10284 (csqrt_test): Likewise.
10285 (erf_test): Likewise.
10286 (erfc_test): Likewise.
10287 (pow10_test): Likewise.
10288 (exp2_test): Likewise.
10289 (hypot_test): Likewise.
10290 (j0_test): Likewise.
10291 (j1_test): Likewise.
10292 (lgamma_test): Likewise.
10293 (gamma_test): Likewise.
10294 (sincos_test): Likewise.
10295 (tanh_test): Likewise.
10296 (y0_test): Likewise.
10297 (y1_test): Likewise.
10298 * sysdeps/i386/fpu/libm-test-ulps: Update.
10299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10301 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10303 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10305 and strcspn-ppc64 objects.
10306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10307 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10308 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10309 multiarch strcspn for POWER7.
10310 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10311 multiarch strcspn for PPC64.
10312 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10314 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10315 strcspn for POWER7.
10317 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10319 * math/gen-libm-test.pl (generate_testfile): Expect only function
10320 name as argument to AUTO_TESTS_* and pass results for all rounding
10321 modes to parse_args.
10322 (parse_auto_input): Separate inputs of automatic tests from
10323 outputs before storing in %auto_tests.
10324 * math/libm-test.inc (acos_test_data): Update call to
10326 (acos_test): Use ALL_RM_TEST.
10327 (acos_tonearest_test_data): Remove.
10328 (acos_test_tonearest): Likewise.
10329 (acos_towardzero_test_data): Likewise.
10330 (acos_test_towardzero): Likewise.
10331 (acos_downward_test_data): Likewise.
10332 (acos_test_downward): Likewise.
10333 (acos_upward_test_data): Likewise.
10334 (acos_test_upward): Likewise.
10335 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10336 (asin_test_data): Likewise.
10337 (asin_test): Use ALL_RM_TEST.
10338 (asin_tonearest_test_data): Remove.
10339 (asin_test_tonearest): Likewise.
10340 (asin_towardzero_test_data): Likewise.
10341 (asin_test_towardzero): Likewise.
10342 (asin_downward_test_data): Likewise.
10343 (asin_test_downward): Likewise.
10344 (asin_upward_test_data): Likewise.
10345 (asin_test_upward): Likewise.
10346 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10347 (atan_test_data): Likewise.
10348 (atanh_test_data): Likewise.
10349 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10350 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10351 (carg_test_data): Likewise.
10352 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10353 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10354 (ccosh_test_data): Likewise.
10355 (cexp_test_data): Likewise.
10356 (clog_test_data): Likewise.
10357 (clog10_test_data): Likewise.
10358 (cos_test_data): Update call to AUTO_TESTS_f_f.
10359 (cos_test): Use ALL_RM_TEST.
10360 (cos_tonearest_test_data): Remove.
10361 (cos_test_tonearest): Likewise.
10362 (cos_towardzero_test_data): Likewise.
10363 (cos_test_towardzero): Likewise.
10364 (cos_downward_test_data): Likewise.
10365 (cos_test_downward): Likewise.
10366 (cos_upward_test_data): Likewise.
10367 (cos_test_upward): Likewise.
10368 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10369 (cosh_test): Use ALL_RM_TEST.
10370 (cosh_tonearest_test_data): Remove.
10371 (cosh_test_tonearest): Likewise.
10372 (cosh_towardzero_test_data): Likewise.
10373 (cosh_test_towardzero): Likewise.
10374 (cosh_downward_test_data): Likewise.
10375 (cosh_test_downward): Likewise.
10376 (cosh_upward_test_data): Likewise.
10377 (cosh_test_upward): Likewise.
10378 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10379 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10380 (ctan_test_data): Likewise.
10381 (ctan_test): Use ALL_RM_TEST.
10382 (ctan_tonearest_test_data): Remove.
10383 (ctan_test_tonearest): Likewise.
10384 (ctan_towardzero_test_data): Likewise.
10385 (ctan_test_towardzero): Likewise.
10386 (ctan_downward_test_data): Likewise.
10387 (ctan_test_downward): Likewise.
10388 (ctan_upward_test_data): Likewise.
10389 (ctan_test_upward): Likewise.
10390 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10391 (ctanh_test): Use ALL_RM_TEST.
10392 (ctanh_tonearest_test_data): Remove.
10393 (ctanh_test_tonearest): Likewise.
10394 (ctanh_towardzero_test_data): Likewise.
10395 (ctanh_test_towardzero): Likewise.
10396 (ctanh_downward_test_data): Likewise.
10397 (ctanh_test_downward): Likewise.
10398 (ctanh_upward_test_data): Likewise.
10399 (ctanh_test_upward): Likewise.
10400 (erf_test_data): Update call to AUTO_TESTS_f_f.
10401 (erfc_test_data): Likewise.
10402 (exp_test_data): Likewise.
10403 (exp_test): Use ALL_RM_TEST.
10404 (exp_tonearest_test_data): Remove.
10405 (exp_test_tonearest): Likewise.
10406 (exp_towardzero_test_data): Likewise.
10407 (exp_test_towardzero): Likewise.
10408 (exp_downward_test_data): Likewise.
10409 (exp_test_downward): Likewise.
10410 (exp_upward_test_data): Likewise.
10411 (exp_test_upward): Likewise.
10412 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10413 (exp10_test): Use ALL_RM_TEST.
10414 (exp10_tonearest_test_data): Remove.
10415 (exp10_test_tonearest): Likewise.
10416 (exp10_towardzero_test_data): Likewise.
10417 (exp10_test_towardzero): Likewise.
10418 (exp10_downward_test_data): Likewise.
10419 (exp10_test_downward): Likewise.
10420 (exp10_upward_test_data): Likewise.
10421 (exp10_test_upward): Likewise.
10422 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10423 (expm1_test_data): Likewise.
10424 (expm1_test): Use ALL_RM_TEST.
10425 (expm1_tonearest_test_data): Remove.
10426 (expm1_test_tonearest): Likewise.
10427 (expm1_towardzero_test_data): Likewise.
10428 (expm1_test_towardzero): Likewise.
10429 (expm1_downward_test_data): Likewise.
10430 (expm1_test_downward): Likewise.
10431 (expm1_upward_test_data): Likewise.
10432 (expm1_test_upward): Likewise.
10433 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10434 (fma_test): Use ALL_RM_TEST.
10435 (fma_towardzero_test_data): Remove.
10436 (fma_test_towardzero): Likewise.
10437 (fma_downward_test_data): Likewise.
10438 (fma_test_downward): Likewise.
10439 (fma_upward_test_data): Likewise.
10440 (fma_test_upward): Likewise.
10441 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10442 (j0_test_data): Update call to AUTO_TESTS_f_f.
10443 (j1_test_data): Likewise.
10444 (jn_test_data): Update call to AUTO_TESTS_if_f.
10445 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10446 (log_test_data): Update call to AUTO_TESTS_f_f.
10447 (log10_test_data): Likewise.
10448 (log1p_test_data): Likewise.
10449 (log2_test_data): Likewise.
10450 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10451 (pow_tonearest_test_data): Likewise.
10452 (sin_test_data): Update call to AUTO_TESTS_f_f.
10453 (sin_test): Use ALL_RM_TEST.
10454 (sin_tonearest_test_data): Remove.
10455 (sin_test_tonearest): Likewise.
10456 (sin_towardzero_test_data): Likewise.
10457 (sin_test_towardzero): Likewise.
10458 (sin_downward_test_data): Likewise.
10459 (sin_test_downward): Likewise.
10460 (sin_upward_test_data): Likewise.
10461 (sin_test_upward): Likewise.
10462 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10463 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10464 (sinh_test): Use ALL_RM_TEST.
10465 (sinh_tonearest_test_data): Remove.
10466 (sinh_test_tonearest): Likewise.
10467 (sinh_towardzero_test_data): Likewise.
10468 (sinh_test_towardzero): Likewise.
10469 (sinh_downward_test_data): Likewise.
10470 (sinh_test_downward): Likewise.
10471 (sinh_upward_test_data): Likewise.
10472 (sinh_test_upward): Likewise.
10473 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10474 (sqrt_test): Use ALL_RM_TEST.
10475 (sqrt_tonearest_test_data): Remove.
10476 (sqrt_test_tonearest): Likewise.
10477 (sqrt_towardzero_test_data): Likewise.
10478 (sqrt_test_towardzero): Likewise.
10479 (sqrt_downward_test_data): Likewise.
10480 (sqrt_test_downward): Likewise.
10481 (sqrt_upward_test_data): Likewise.
10482 (sqrt_test_upward): Likewise.
10483 (tan_test_data): Update call to AUTO_TESTS_f_f.
10484 (tan_test): Use ALL_RM_TEST.
10485 (tan_tonearest_test_data): Remove.
10486 (tan_test_tonearest): Likewise.
10487 (tan_towardzero_test_data): Likewise.
10488 (tan_test_towardzero): Likewise.
10489 (tan_downward_test_data): Likewise.
10490 (tan_test_downward): Likewise.
10491 (tan_upward_test_data): Likewise.
10492 (tan_test_upward): Likewise.
10493 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10494 (tgamma_test_data): Likewise.
10495 (y0_test_data): Likewise.
10496 (y1_test_data): Likewise.
10497 (yn_test_data): Update call to AUTO_TESTS_if_f.
10498 (main): Do not call removed functions.
10500 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10502 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10503 (ldexp_test_data): Remove.
10504 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10506 (scalb_test): Use ALL_RM_TEST.
10508 2014-03-19 Andreas Schwab <schwab@suse.de>
10510 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10512 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10515 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10516 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10517 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10519 (__ASSUME_PREADV): Undefine.
10520 (__ASSUME_PWRITEV): Likewise.
10522 2014-03-18 Roland McGrath <roland@hack.frob.com>
10524 * bits/mman-linux.h: Add comment about non-Linux use.
10525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10526 bits/mman-linux.h resting place.
10528 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10529 * bits/mman-linux.h: ... here.
10531 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10533 * conform/conformtest.pl: Add standard definition when calling C
10534 preprocessor on data files.
10535 (checknamespace): Remove unused variable.
10537 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10539 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10540 minus_oflow, plus_uflow and minus_uflow in expected results.
10541 * math/libm-test.inc (scalbn_test_data): Add more tests of
10542 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10544 (scalbn_test): Use ALL_RM_TEST.
10545 (scalbln_test_data): Add more tests of negative arguments. Use
10546 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10547 (scalbln_test): Use ALL_RM_TEST.
10549 2014-03-18 Roland McGrath <roland@hack.frob.com>
10551 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10553 2014-03-18 Will Newton <will.newton@linaro.org>
10555 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10556 inaccurate comment.
10558 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10560 * Makerules [!subdir] (check-abi): Exit with error status if a
10563 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10565 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10566 for rint. Include results for all rounding modes.
10567 (nearbyint_test): Use ALL_RM_TEST.
10568 (rint_test_data): Include all tests used for nearbyint.
10570 2014-03-17 Will Newton <will.newton@linaro.org>
10572 * nptl/sysdeps/pthread/pthread.h: Revert previous
10575 * sysdeps/generic/ldsodefs.h: Revert previous
10578 * libio/genops.c: Revert previous change.
10579 * libio/libioP.h: Likewise.
10580 * stdio-common/vfprintf.c: Likewise.
10582 * sysdeps/generic/math_private.h: Revert previous
10585 * sysdeps/generic/math_private.h: Check whether
10586 HAVE_RM_CTX is defined with #ifdef rather
10589 * argp/argp-fmtstream.h: Check whether
10590 __STRICT_ANSI__ is defined with #ifdef rather
10592 * argp/argp.h: Likewise.
10594 * libio/genops.c: Check whether
10595 _IO_JUMPS_OFFSET is defined with #ifdef rather
10597 * libio/libioP.h: Likewise.
10598 * stdio-common/vfprintf.c: Likewise.
10600 * sysdeps/generic/ldsodefs.h: Check whether
10601 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10604 * nptl/sysdeps/pthread/pthread.h: Check
10605 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10608 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10610 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10612 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10616 * libio/fileops.c (_IO_file_open): Seek to end of file but
10617 don't cache the offset.
10618 (get_file_offset): Remove function.
10619 (do_ftell): Use cached offset when available.
10620 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10621 don't cache the offset.
10622 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10624 (do_one_test): Call it.
10625 (do_ftell_test): Fix up expected old offset for a+ mode.
10626 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10629 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10630 up test status with function return status.
10631 (do_write_test): Likewise.
10632 (do_append_test): Likewise.
10634 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10635 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10638 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10640 * math/gen-libm-test.pl (parse_args): Handle results specified for
10641 each rounding mode separately.
10642 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10643 tests and results from lrint_tonearest_test_data,
10644 lrint_towardzero_test_data, lrint_downward_test_data and
10645 lrint_upward_test_data.
10646 (lrint_test): Use ALL_RM_TEST.
10647 (lrint_tonearest_test_data): Remove.
10648 (lrint_test_tonearest): Likewise.
10649 (lrint_towardzero_test_data): Likewise.
10650 (lrint_test_towardzero): Likewise.
10651 (lrint_downward_test_data): Likewise.
10652 (lrint_test_downward): Likewise.
10653 (lrint_upward_test_data): Likewise.
10654 (lrint_test_upward): Likewise.
10655 (llrint_test_data): Merge in per-rounding-mode tests and results
10656 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10657 llrint_downward_test_data and llrint_upward_test_data.
10658 (llrint_test): Use ALL_RM_TEST.
10659 (llrint_tonearest_test_data): Remove.
10660 (llrint_test_tonearest): Likewise.
10661 (llrint_towardzero_test_data): Likewise.
10662 (llrint_test_towardzero): Likewise.
10663 (llrint_downward_test_data): Likewise.
10664 (llrint_test_downward): Likewise.
10665 (llrint_upward_test_data): Likewise.
10666 (llrint_test_upward): Likewise.
10667 (rint_test_data): Merge in per-rounding-mode tests and results
10668 from rint_tonearest_test_data, rint_towardzero_test_data,
10669 rint_downward_test_data and rint_upward_test_data. Add
10670 per-rounding-mode results for tests not in those arrays.
10671 (rint_test): Use ALL_RM_TEST.
10672 (rint_tonearest_test_data): Remove.
10673 (rint_test_tonearest): Likewise.
10674 (rint_towardzero_test_data): Likewise.
10675 (rint_test_towardzero): Likewise.
10676 (rint_downward_test_data): Likewise.
10677 (rint_test_downward): Likewise.
10678 (rint_upward_test_data): Likewise.
10679 (rint_test_upward): Likewise.
10680 (main): Don't call removed functions.
10682 2014-03-14 Roland McGrath <roland@hack.frob.com>
10684 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10685 "Compiled on ..." crapola. It is anti-useful.
10687 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10689 * scripts/evaluate-test.sh: Handle fourth argument to determine
10690 whether test run should stop on failure.
10691 * Makeconfig (stop-on-test-failure): New variable.
10692 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10693 $(stop-on-test-failure).
10694 * Makefile (tests): Give a summary of results from testing and
10695 exit with failure status if they include an ERROR or FAIL.
10696 (xtests): Likewise.
10697 * manual/install.texi (Configuring and compiling): Mention
10698 stop-on-test-failure=y.
10699 * INSTALL: Regenerated.
10701 2014-03-14 Roland McGrath <roland@hack.frob.com>
10703 * scripts/versionlist.awk: New file.
10704 * Makerules [$(build-shared) = yes]
10705 (postclean-generated): Add Versions.def, not Versions.def.v and
10707 ($(common-objpfx)Versions.def.v.i): Target removed.
10708 ($(common-objpfx)Versions.def): New target.
10709 ($(common-objpfx)Versions.all): Depend on that rather that
10710 $(common-objpfx)Versions.def.v.
10711 * Versions.def: File removed.
10713 * Makeconfig (+gccwarn): Add -Wundef.
10714 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10715 a dl-sysdep.h breaking its contract.
10716 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10717 * include/stackinfo.h: New file.
10718 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10719 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10720 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10721 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10722 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10723 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10724 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10725 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10726 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10727 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10728 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10729 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10730 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10731 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10732 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10734 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10737 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10739 * math/libm-test.inc (round_test_data): Add more tests.
10742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10744 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10747 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10749 * math/libm-test.inc (ceil_test_data): Add more tests.
10751 * math/libm-test.inc (trunc_test_data): Add more tests related to
10754 2014-03-14 Roland McGrath <roland@hack.frob.com>
10756 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10757 with #if rather than #ifdef.
10758 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10760 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10762 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10763 first. Disable AVX-512 GCC support if assembler doesn't support
10765 * sysdeps/x86_64/configure: Regenerated.
10767 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10769 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10770 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10771 (__old_pthread_attr_setstack): Likewise.
10772 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10773 [!_STACK_GROWS_DOWN]: Likewise.
10775 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10777 * config.make.in (have-bash2): Delete.
10778 * configure.ac (libc_cv_have_bash2): Delete.
10779 * configure: Regenerate.
10780 * elf/Makefile (common-ldd-rewrite): Rename to ...
10781 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10782 (sh-ldd-rewrite): Delete.
10783 (bash-ldd-rewrite): Delete.
10784 (have-bash2): Delete checks.
10785 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10788 * config.make.in (have-ksh): Delete.
10790 * configure.ac (libc_cv_have_ksh): Delete.
10791 * configure: Regenerate.
10793 * elf/Makefile: Delete $(have-ksh) check.
10794 ($(objpfx)sotruss): Change KSH to BASH.
10795 * elf/sotruss.ksh: Rename to ...
10796 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10797 function style to match POSIX. Drop ksh vim mode setting.
10799 * manual/time.texi (Specifying the Time Zone with TZ): Change
10800 Tuesday to Thursday.
10802 * debug/tst-longjmp_chk2.c: Update header comment.
10803 (stackoverflow_handler): Add comment. Call assert on pass value.
10805 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10808 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10809 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10810 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10811 (La_x86_64_vector): Add zmm.
10812 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10813 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10814 ($(objpfx)tst-audit10): New target.
10815 ($(objpfx)tst-audit10.out): Likewise.
10816 (tst-audit10-ENV): New.
10817 (AVX512-CFLAGS): Likewise.
10818 (CFLAGS-tst-audit10.c): Likewise.
10819 (CFLAGS-tst-auditmod10a.c): Likewise.
10820 (CFLAGS-tst-auditmod10b.c): Likewise.
10821 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10822 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10823 * sysdeps/x86_64/configure: Regenerated.
10824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10825 AVX-512 zmm register support.
10826 (_dl_x86_64_save_sse): Likewise.
10827 (_dl_x86_64_restore_sse): Likewise.
10828 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10829 size vector registers.
10830 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10831 (ZMM_SIZE): Likewise.
10832 * sysdeps/x86_64/tst-audit10.c: New file.
10833 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10834 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10836 2014-03-13 Roland McGrath <roland@hack.frob.com>
10838 * configure.ac (HAVE_EHDR_START): New check.
10839 * configure: Regenerated.
10840 * config.h.in (HAVE_EHDR_START): New #undef.
10841 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10842 assuming the lowest-addressed segment maps the start of the file.
10844 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10846 * INSTALL: Regenerated.
10848 2014-03-13 Will Newton <will.newton@linaro.org>
10850 * manual/setjmp.texi (System V contexts): Improve
10851 clarity and grammar of documentation.
10853 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10856 * elf/Makefile (tests): Add tst-pie2.
10857 (tests-pie): Add tst-pie2.
10858 * elf/tst-pie2.c: New file.
10859 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10861 * elf/rtld.c (map_doit): Load executable as lt_executable.
10862 (dl_main): Likewise.
10864 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10867 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10868 (__ASSUME_PSELECT): Undefine.
10870 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10874 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10876 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10877 selector for static builds.
10879 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10882 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10885 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10887 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10888 IFUNC selector for static builds.
10890 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10892 * sysdeps/mips/math_private.h [__mips_hard_float]
10893 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10894 libc_feresetround_mips_ctx.
10895 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10896 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10897 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10900 * math/s_nextafter.c (__nextafter): Do not return value from
10901 overflowing computation.
10902 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10903 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10906 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10908 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10909 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10911 2014-03-11 Roland McGrath <roland@hack.frob.com>
10913 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10914 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10915 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10916 the new mov targetting sp.
10918 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10921 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10922 Define it for static builds as well.
10923 (NO_BZERO_IMPL): Likewise.
10925 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10927 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10928 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10929 multiarch strspn for PPC64.
10930 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10931 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10933 (__libc_ifunc_impl_list): Likewise.
10934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10935 multiarch optimizations
10936 * string/strspn.c (strspn): Using macro to redefine symbol name.
10938 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10939 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10941 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10942 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10943 multiarch strncat for PPC64.
10944 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10945 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10947 (__libc_ifunc_impl_list): Likewise.
10948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10949 multiarch optimizations
10951 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10954 * nscd/nscd.service: Make service type forking.
10956 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10958 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10959 sign in non default rounding modes.
10960 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10962 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10964 * math/libm-test.inc (ALL_RM_TEST): New macro.
10965 (ceil_test): Use ALL_RM_TEST.
10966 (cimag_test): Likewise.
10967 (conj_test): Likewise.
10968 (copysign_test): Likewise.
10969 (cproj_test): Likewise.
10970 (creal_test): Likewise.
10971 (fabs_test): Likewise.
10972 (floor_test): Likewise.
10973 (fmax_test): Likewise.
10974 (fmin_test): Likewise.
10975 (fmod_test): Likewise.
10976 (fpclassify_test): Likewise.
10977 (frexp_test): Likewise.
10978 (ilogb_test): Likewise.
10979 (isfinite_test): Likewise.
10980 (finite_test): Likewise.
10981 (isgreater_test): Likewise.
10982 (isgreaterequal_test): Likewise.
10983 (isinf_test): Likewise.
10984 (isless_test): Likewise.
10985 (islessequal_test): Likewise.
10986 (islessgreater_test): Likewise.
10987 (isnan_test): Likewise.
10988 (isnormal_test): Likewise.
10989 (issignaling_test): Likewise.
10990 (isunordered_test): Likewise.
10991 (logb_test): Likewise.
10992 (logb_downward_test_data): Remove.
10993 (logb_test_downward): Likewise.
10994 (lround_test): Use ALL_RM_TEST.
10995 (llround_test): Likewise.
10996 (modf_test): Likewise.
10997 (nexttoward_test): Likewise.
10998 (remainder_test): Likewise.
10999 (drem_test): Likewise.
11000 (remainder_tonearest_test_data): Likewise.
11001 (remainder_test_tonearest): Likewise.
11002 (drem_test_tonearest): Likewise.
11003 (remainder_towardzero_test_data): Likewise.
11004 (remainder_test_towardzero): Likewise.
11005 (drem_test_towardzero): Likewise.
11006 (remainder_downward_test_data): Likewise.
11007 (remainder_test_downward): Likewise.
11008 (drem_test_downward): Likewise.
11009 (remainder_upward_test_data): Likewise.
11010 (remainder_test_upward): Likewise.
11011 (drem_test_upward): Likewise.
11012 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11013 (round_test): Use ALL_RM_TEST.
11014 (signbit_test): Likewise.
11015 (trunc_test): Likewise.
11016 (significand_test): Likewise.
11017 (main): Don't call removed functions.
11019 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11022 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11023 || __USE_XOPEN2K8].
11024 (ILL_ILLOPN): Likewise.
11025 (ILL_ILLADR): Likewise.
11026 (ILL_ILLTRP): Likewise.
11027 (ILL_PRVOPC): Likewise.
11028 (ILL_PRVREG): Likewise.
11029 (ILL_COPROC): Likewise.
11030 (ILL_BADSTK): Likewise.
11031 (FPE_INTDIV): Likewise.
11032 (FPE_INTOVF): Likewise.
11033 (FPE_FLTDIV): Likewise.
11034 (FPE_FLTOVF): Likewise.
11035 (FPE_FLTUND): Likewise.
11036 (FPE_FLTRES): Likewise.
11037 (FPE_FLTINV): Likewise.
11038 (FPE_FLTSUB): Likewise.
11039 (SEGV_MAPERR): Likewise.
11040 (SEGV_ACCERR): Likewise.
11041 (BUS_ADRALN): Likewise.
11042 (BUS_ADRERR): Likewise.
11043 (BUS_OBJERR): Likewise.
11044 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11045 (TRAP_TRACE): Likewise.
11046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11048 (CLD_KILLED): Likewise.
11049 (CLD_DUMPED): Likewise.
11050 (CLD_TRAPPED): Likewise.
11051 (CLD_STOPPED): Likewise.
11052 (CLD_CONTINUED): Likewise.
11053 (POLL_IN): Likewise.
11054 (POLL_OUT): Likewise.
11055 (POLL_MSG): Likewise.
11056 (POLL_ERR): Likewise.
11057 (POLL_PRI): Likewise.
11058 (POLL_HUP): Likewise.
11059 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11061 (ILL_ILLOPN): Likewise.
11062 (ILL_ILLADR): Likewise.
11063 (ILL_ILLTRP): Likewise.
11064 (ILL_PRVOPC): Likewise.
11065 (ILL_PRVREG): Likewise.
11066 (ILL_COPROC): Likewise.
11067 (ILL_BADSTK): Likewise.
11068 (FPE_INTDIV): Likewise.
11069 (FPE_INTOVF): Likewise.
11070 (FPE_FLTDIV): Likewise.
11071 (FPE_FLTOVF): Likewise.
11072 (FPE_FLTUND): Likewise.
11073 (FPE_FLTRES): Likewise.
11074 (FPE_FLTINV): Likewise.
11075 (FPE_FLTSUB): Likewise.
11076 (SEGV_MAPERR): Likewise.
11077 (SEGV_ACCERR): Likewise.
11078 (BUS_ADRALN): Likewise.
11079 (BUS_ADRERR): Likewise.
11080 (BUS_OBJERR): Likewise.
11081 (BUS_MCEERR_AR): Likewise.
11082 (BUS_MCEERR_AO): Likewise.
11083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11084 (TRAP_TRACE): Likewise.
11085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11087 (CLD_KILLED): Likewise.
11088 (CLD_DUMPED): Likewise.
11089 (CLD_TRAPPED): Likewise.
11090 (CLD_STOPPED): Likewise.
11091 (CLD_CONTINUED): Likewise.
11092 (POLL_IN): Likewise.
11093 (POLL_OUT): Likewise.
11094 (POLL_MSG): Likewise.
11095 (POLL_ERR): Likewise.
11096 (POLL_PRI): Likewise.
11097 (POLL_HUP): Likewise.
11098 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11099 (ILL_ILLOPN): Likewise.
11100 (ILL_ILLADR): Likewise.
11101 (ILL_ILLTRP): Likewise.
11102 (ILL_PRVOPC): Likewise.
11103 (ILL_PRVREG): Likewise.
11104 (ILL_COPROC): Likewise.
11105 (ILL_BADSTK): Likewise.
11106 (FPE_INTDIV): Likewise.
11107 (FPE_INTOVF): Likewise.
11108 (FPE_FLTDIV): Likewise.
11109 (FPE_FLTOVF): Likewise.
11110 (FPE_FLTUND): Likewise.
11111 (FPE_FLTRES): Likewise.
11112 (FPE_FLTINV): Likewise.
11113 (FPE_FLTSUB): Likewise.
11114 (SEGV_MAPERR): Likewise.
11115 (SEGV_ACCERR): Likewise.
11116 (BUS_ADRALN): Likewise.
11117 (BUS_ADRERR): Likewise.
11118 (BUS_OBJERR): Likewise.
11119 (BUS_MCEERR_AR): Likewise.
11120 (BUS_MCEERR_AO): Likewise.
11121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11122 (TRAP_TRACE): Likewise.
11123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11125 (CLD_KILLED): Likewise.
11126 (CLD_DUMPED): Likewise.
11127 (CLD_TRAPPED): Likewise.
11128 (CLD_STOPPED): Likewise.
11129 (CLD_CONTINUED): Likewise.
11130 (POLL_IN): Likewise.
11131 (POLL_OUT): Likewise.
11132 (POLL_MSG): Likewise.
11133 (POLL_ERR): Likewise.
11134 (POLL_PRI): Likewise.
11135 (POLL_HUP): Likewise.
11136 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11138 (ILL_ILLOPN): Likewise.
11139 (ILL_ILLADR): Likewise.
11140 (ILL_ILLTRP): Likewise.
11141 (ILL_PRVOPC): Likewise.
11142 (ILL_PRVREG): Likewise.
11143 (ILL_COPROC): Likewise.
11144 (ILL_BADSTK): Likewise.
11145 (ILL_BADIADDR): Likewise.
11146 (ILL_BREAK): Likewise.
11147 (FPE_INTDIV): Likewise.
11148 (FPE_INTOVF): Likewise.
11149 (FPE_FLTDIV): Likewise.
11150 (FPE_FLTOVF): Likewise.
11151 (FPE_FLTUND): Likewise.
11152 (FPE_FLTRES): Likewise.
11153 (FPE_FLTINV): Likewise.
11154 (FPE_FLTSUB): Likewise.
11155 (FPE_DECOVF): Likewise.
11156 (FPE_DECDIV): Likewise.
11157 (FPE_DECERR): Likewise.
11158 (FPE_INVASC): Likewise.
11159 (FPE_INVDEC): Likewise.
11160 (SEGV_MAPERR): Likewise.
11161 (SEGV_ACCERR): Likewise.
11162 (SEGV_PSTKOVF): Likewise.
11163 (BUS_ADRALN): Likewise.
11164 (BUS_ADRERR): Likewise.
11165 (BUS_OBJERR): Likewise.
11166 (BUS_MCEERR_AR): Likewise.
11167 (BUS_MCEERR_AO): Likewise.
11168 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11169 (TRAP_TRACE): Likewise.
11170 (TRAP_BRANCH): Likewise.
11171 (TRAP_HWBKPT): Likewise.
11172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11174 (CLD_KILLED): Likewise.
11175 (CLD_DUMPED): Likewise.
11176 (CLD_TRAPPED): Likewise.
11177 (CLD_STOPPED): Likewise.
11178 (CLD_CONTINUED): Likewise.
11179 (POLL_IN): Likewise.
11180 (POLL_OUT): Likewise.
11181 (POLL_MSG): Likewise.
11182 (POLL_ERR): Likewise.
11183 (POLL_PRI): Likewise.
11184 (POLL_HUP): Likewise.
11185 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11186 (ILL_ILLOPN): Likewise.
11187 (ILL_ILLADR): Likewise.
11188 (ILL_ILLTRP): Likewise.
11189 (ILL_PRVOPC): Likewise.
11190 (ILL_PRVREG): Likewise.
11191 (ILL_COPROC): Likewise.
11192 (ILL_BADSTK): Likewise.
11193 (FPE_INTDIV): Likewise.
11194 (FPE_INTOVF): Likewise.
11195 (FPE_FLTDIV): Likewise.
11196 (FPE_FLTOVF): Likewise.
11197 (FPE_FLTUND): Likewise.
11198 (FPE_FLTRES): Likewise.
11199 (FPE_FLTINV): Likewise.
11200 (FPE_FLTSUB): Likewise.
11201 (SEGV_MAPERR): Likewise.
11202 (SEGV_ACCERR): Likewise.
11203 (BUS_ADRALN): Likewise.
11204 (BUS_ADRERR): Likewise.
11205 (BUS_OBJERR): Likewise.
11206 (BUS_MCEERR_AR): Likewise.
11207 (BUS_MCEERR_AO): Likewise.
11208 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11209 (TRAP_TRACE): Likewise.
11210 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11212 (CLD_KILLED): Likewise.
11213 (CLD_DUMPED): Likewise.
11214 (CLD_TRAPPED): Likewise.
11215 (CLD_STOPPED): Likewise.
11216 (CLD_CONTINUED): Likewise.
11217 (POLL_IN): Likewise.
11218 (POLL_OUT): Likewise.
11219 (POLL_MSG): Likewise.
11220 (POLL_ERR): Likewise.
11221 (POLL_PRI): Likewise.
11222 (POLL_HUP): Likewise.
11223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11224 (ILL_ILLOPN): Likewise.
11225 (ILL_ILLADR): Likewise.
11226 (ILL_ILLTRP): Likewise.
11227 (ILL_PRVOPC): Likewise.
11228 (ILL_PRVREG): Likewise.
11229 (ILL_COPROC): Likewise.
11230 (ILL_BADSTK): Likewise.
11231 (FPE_INTDIV): Likewise.
11232 (FPE_INTOVF): Likewise.
11233 (FPE_FLTDIV): Likewise.
11234 (FPE_FLTOVF): Likewise.
11235 (FPE_FLTUND): Likewise.
11236 (FPE_FLTRES): Likewise.
11237 (FPE_FLTINV): Likewise.
11238 (FPE_FLTSUB): Likewise.
11239 (SEGV_MAPERR): Likewise.
11240 (SEGV_ACCERR): Likewise.
11241 (BUS_ADRALN): Likewise.
11242 (BUS_ADRERR): Likewise.
11243 (BUS_OBJERR): Likewise.
11244 (BUS_MCEERR_AR): Likewise.
11245 (BUS_MCEERR_AO): Likewise.
11246 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11247 (TRAP_TRACE): Likewise.
11248 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11250 (CLD_KILLED): Likewise.
11251 (CLD_DUMPED): Likewise.
11252 (CLD_TRAPPED): Likewise.
11253 (CLD_STOPPED): Likewise.
11254 (CLD_CONTINUED): Likewise.
11255 (POLL_IN): Likewise.
11256 (POLL_OUT): Likewise.
11257 (POLL_MSG): Likewise.
11258 (POLL_ERR): Likewise.
11259 (POLL_PRI): Likewise.
11260 (POLL_HUP): Likewise.
11261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11262 (ILL_ILLOPN): Likewise.
11263 (ILL_ILLADR): Likewise.
11264 (ILL_ILLTRP): Likewise.
11265 (ILL_PRVOPC): Likewise.
11266 (ILL_PRVREG): Likewise.
11267 (ILL_COPROC): Likewise.
11268 (ILL_BADSTK): Likewise.
11269 (FPE_INTDIV): Likewise.
11270 (FPE_INTOVF): Likewise.
11271 (FPE_FLTDIV): Likewise.
11272 (FPE_FLTOVF): Likewise.
11273 (FPE_FLTUND): Likewise.
11274 (FPE_FLTRES): Likewise.
11275 (FPE_FLTINV): Likewise.
11276 (FPE_FLTSUB): Likewise.
11277 (SEGV_MAPERR): Likewise.
11278 (SEGV_ACCERR): Likewise.
11279 (BUS_ADRALN): Likewise.
11280 (BUS_ADRERR): Likewise.
11281 (BUS_OBJERR): Likewise.
11282 (BUS_MCEERR_AR): Likewise.
11283 (BUS_MCEERR_AO): Likewise.
11284 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11285 (TRAP_TRACE): Likewise.
11286 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11288 (CLD_KILLED): Likewise.
11289 (CLD_DUMPED): Likewise.
11290 (CLD_TRAPPED): Likewise.
11291 (CLD_STOPPED): Likewise.
11292 (CLD_CONTINUED): Likewise.
11293 (POLL_IN): Likewise.
11294 (POLL_OUT): Likewise.
11295 (POLL_MSG): Likewise.
11296 (POLL_ERR): Likewise.
11297 (POLL_PRI): Likewise.
11298 (POLL_HUP): Likewise.
11299 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11300 (ILL_ILLOPN): Likewise.
11301 (ILL_ILLADR): Likewise.
11302 (ILL_ILLTRP): Likewise.
11303 (ILL_PRVOPC): Likewise.
11304 (ILL_PRVREG): Likewise.
11305 (ILL_COPROC): Likewise.
11306 (ILL_BADSTK): Likewise.
11307 (ILL_DBLFLT): Likewise.
11308 (ILL_HARDWALL): Likewise.
11309 (FPE_INTDIV): Likewise.
11310 (FPE_INTOVF): Likewise.
11311 (FPE_FLTDIV): Likewise.
11312 (FPE_FLTOVF): Likewise.
11313 (FPE_FLTUND): Likewise.
11314 (FPE_FLTRES): Likewise.
11315 (FPE_FLTINV): Likewise.
11316 (FPE_FLTSUB): Likewise.
11317 (SEGV_MAPERR): Likewise.
11318 (SEGV_ACCERR): Likewise.
11319 (BUS_ADRALN): Likewise.
11320 (BUS_ADRERR): Likewise.
11321 (BUS_OBJERR): Likewise.
11322 (BUS_MCEERR_AR): Likewise.
11323 (BUS_MCEERR_AO): Likewise.
11324 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11325 (TRAP_TRACE): Likewise.
11326 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11328 (CLD_KILLED): Likewise.
11329 (CLD_DUMPED): Likewise.
11330 (CLD_TRAPPED): Likewise.
11331 (CLD_STOPPED): Likewise.
11332 (CLD_CONTINUED): Likewise.
11333 (POLL_IN): Likewise.
11334 (POLL_OUT): Likewise.
11335 (POLL_MSG): Likewise.
11336 (POLL_ERR): Likewise.
11337 (POLL_PRI): Likewise.
11338 (POLL_HUP): Likewise.
11339 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11340 (ILL_ILLOPN): Likewise.
11341 (ILL_ILLADR): Likewise.
11342 (ILL_ILLTRP): Likewise.
11343 (ILL_PRVOPC): Likewise.
11344 (ILL_PRVREG): Likewise.
11345 (ILL_COPROC): Likewise.
11346 (ILL_BADSTK): Likewise.
11347 (FPE_INTDIV): Likewise.
11348 (FPE_INTOVF): Likewise.
11349 (FPE_FLTDIV): Likewise.
11350 (FPE_FLTOVF): Likewise.
11351 (FPE_FLTUND): Likewise.
11352 (FPE_FLTRES): Likewise.
11353 (FPE_FLTINV): Likewise.
11354 (FPE_FLTSUB): Likewise.
11355 (SEGV_MAPERR): Likewise.
11356 (SEGV_ACCERR): Likewise.
11357 (BUS_ADRALN): Likewise.
11358 (BUS_ADRERR): Likewise.
11359 (BUS_OBJERR): Likewise.
11360 (BUS_MCEERR_AR): Likewise.
11361 (BUS_MCEERR_AO): Likewise.
11362 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11363 (TRAP_TRACE): Likewise.
11364 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11366 (CLD_KILLED): Likewise.
11367 (CLD_DUMPED): Likewise.
11368 (CLD_TRAPPED): Likewise.
11369 (CLD_STOPPED): Likewise.
11370 (CLD_CONTINUED): Likewise.
11371 (POLL_IN): Likewise.
11372 (POLL_OUT): Likewise.
11373 (POLL_MSG): Likewise.
11374 (POLL_ERR): Likewise.
11375 (POLL_PRI): Likewise.
11376 (POLL_HUP): Likewise.
11377 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11378 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11381 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11382 before #include of <time.h>.
11383 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11384 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11385 (test-xfail-UNIX98/sched.h/conform): Likewise.
11387 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11389 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11390 error absence of trapping exception support.
11391 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11393 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11395 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11396 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11397 * timezone/Makefile (testdata): Move definition above include of
11399 (test-zones): New variable.
11400 (tests-special): Add zone files.
11401 (build-testdata): Use $(evaluate-test).
11403 * elf/Makefile (tests-special): Rename tests to end with .out.
11404 ($(objpfx)noload-mem): Likewise.
11405 ($(objpfx)tst-leaks1-mem): Likewise.
11406 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11407 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11408 $(objpfx)test-iconvconfig.out.
11409 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11410 set -e inside subshell and redirect output to file.
11411 * iconvdata/Makefile (generated): Rename tests to end with .out.
11413 (tests-special): Rename tests to end with .out.
11414 ($(objpfx)mtrace-tst-loading): Likewise.
11415 * intl/Makefile (generated): Likewise.
11416 (tests-special): Likewise.
11417 ($(objpfx)mtrace-tst-gettext): Likewise.
11418 * misc/Makefile (generated): Likewise.
11419 (tests-special): Likewise.
11420 ($(objpfx)tst-error1-mem): Likewise.
11421 * nptl/Makefile (tests-special): Likewise.
11422 ($(objpfx)tst-stack3-mem): Likewise.
11423 (generated): Likewise.
11424 * posix/Makefile (generated): Likewise.
11425 (tests-special): Likewise.
11426 (xtests-special): Likewise.
11427 ($(objpfx)tst-fnmatch-mem): Likewise.
11428 ($(objpfx)bug-regex2-mem): Likewise.
11429 ($(objpfx)bug-regex14-mem): Likewise.
11430 ($(objpfx)bug-regex21-mem): Likewise.
11431 ($(objpfx)bug-regex31-mem): Likewise.
11432 ($(objpfx)tst-vfork3-mem): Likewise.
11433 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11434 ($(objpfx)tst-pcre-mem): Likewise.
11435 ($(objpfx)tst-boost-mem): Likewise.
11436 ($(objpfx)bug-ga2-mem): Likewise.
11437 ($(objpfx)bug-glob2-mem): Likewise.
11438 * resolv/Makefile (generate): Likewise.
11439 (tests-special): Likewise.
11440 (xtests-special): Likewise.
11441 (generated): Likewise.
11442 ($(objpfx)mtrace-tst-leaks): Likewise.
11443 ($(objpfx)mtrace-tst-leaks2): Likewise.
11445 * scripts/merge-test-results.sh: New file.
11446 * Makefile (tests-special-notdir): New variable.
11447 (tests): Run merge-test-results.sh.
11448 (xtests): Likewise.
11449 * Rules (tests-special-notdir): New variable.
11450 (xtests-special-notdir): Likewise.
11451 (tests): Run merge-test-results.sh
11452 (xtests): Likewise.
11454 * Makeconfig (test-xfail-name): New variable.
11455 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11456 compute variable name for expected failures.
11457 * conform/Makefile (conformtest-headers-data): New variable.
11458 (conformtest-standards): Likewise.
11459 (conformtest-headers-ISO): Likewise.
11460 (conformtest-headers-ISO99): Likewise.
11461 (conformtest-headers-ISO11): Likewise.
11462 (conformtest-headers-POSIX): Likewise.
11463 (conformtest-headers-XPG3): Likewise.
11464 (conformtest-headers-XPG4): Likewise.
11465 (conformtest-headers-UNIX98): Likewise.
11466 (conformtest-headers-XOPEN2K): Likewise.
11467 (conformtest-headers-POSIX2008): Likewise.
11468 (conformtest-headers-XOPEN2K8): Likewise.
11469 (conformtest-header-list-base): Likewise.
11470 (conformtest-header-list-tests): Likewise.
11471 (conformtest-header-base): Likewise.
11472 (conformtest-header-tests): Likewise.
11473 (tests-special): Add $(conformtest-header-list-tests). If
11474 [$(fast-check) && !$(cross-compiling)], add
11475 $(conformtest-header-tests) instead of
11476 $(objpfx)run-conformtest.out.
11477 (generated): Add $(conformtest-header-list-base). If
11478 [$(fast-check) && !$(cross-compiling)], add
11479 $(conformtest-header-base). Remove previous setting.
11480 ($(conformtest-header-list-tests)): New target.
11481 (test-xfail-run-conformtest): Remove variable.
11482 ($(objpfx)run-conformtest.out): Remove target.
11483 (test-xfail-ISO11/complex.h/conform): New variable.
11484 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11485 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11486 (test-xfail-XPG3/varargs.h/conform): Likewise.
11487 (test-xfail-XPG4/varargs.h/conform): Likewise.
11488 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11489 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11490 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11491 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11492 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11493 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11494 (test-xfail-XPG3/ftw.h/conform): Likewise.
11495 (test-xfail-XPG3/grp.h/conform): Likewise.
11496 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11497 (test-xfail-XPG3/limits.h/conform): Likewise.
11498 (test-xfail-XPG3/pwd.h/conform): Likewise.
11499 (test-xfail-XPG3/search.h/conform): Likewise.
11500 (test-xfail-XPG3/signal.h/conform): Likewise.
11501 (test-xfail-XPG3/stdio.h/conform): Likewise.
11502 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11503 (test-xfail-XPG3/string.h/conform): Likewise.
11504 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11505 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11506 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11507 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11508 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11509 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11510 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11511 (test-xfail-XPG3/termios.h/conform): Likewise.
11512 (test-xfail-XPG3/time.h/conform): Likewise.
11513 (test-xfail-XPG3/unistd.h/conform): Likewise.
11514 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11515 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11516 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11517 (test-xfail-XPG4/netdb.h/conform): Likewise.
11518 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11519 (test-xfail-XPG4/signal.h/conform): Likewise.
11520 (test-xfail-XPG4/stdio.h/conform): Likewise.
11521 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11522 (test-xfail-XPG4/stropts.h/conform): Likewise.
11523 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11524 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11525 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11526 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11527 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11528 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11529 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11530 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11531 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11532 (test-xfail-XPG4/termios.h/conform): Likewise.
11533 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11534 (test-xfail-XPG4/unistd.h/conform): Likewise.
11535 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11536 (test-xfail-POSIX/sched.h/conform): Likewise.
11537 (test-xfail-POSIX/signal.h/conform): Likewise.
11538 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11539 (test-xfail-POSIX/tar.h/conform): Likewise.
11540 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11541 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11542 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11543 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11544 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11545 (test-xfail-UNIX98/sched.h/conform): Likewise.
11546 (test-xfail-UNIX98/signal.h/conform): Likewise.
11547 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11548 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11549 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11550 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11551 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11552 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11553 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11554 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11555 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11556 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11557 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11558 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11559 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11560 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11561 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11562 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11563 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11564 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11565 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11566 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11567 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11568 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11569 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11570 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11571 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11572 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11573 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11574 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11575 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11576 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11577 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11578 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11579 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11580 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11581 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11582 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11583 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11584 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11585 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11586 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11587 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11588 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11589 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11590 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11591 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11592 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11593 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11594 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11595 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11596 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11597 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11598 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11599 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11600 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11601 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11602 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11603 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11604 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11605 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11606 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11607 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11608 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11609 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11610 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11611 (conformtest-cc-flags): Likewise.
11612 ($(conformtest-header-tests): New target.
11613 * conform/check-header-lists.sh: New file.
11614 * conform/run-conformtest.sh: Remove.
11616 * conform/conformtest.pl: Allow ' and \ in values given for
11618 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11620 [POSIX] (sys/types.h): Likewise.
11621 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11623 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11625 * conform/data/signal.h-data (SIGIO): Remove expectation.
11626 [XPG3] (SIGBUS): Do not expect.
11627 [POSIX || XPG3] (SIGPOLL): Likewise.
11628 [POSIX || XPG3] (SIGPROF): Likewise.
11629 [POSIX || XPG3] (SIGSYS): Likewise.
11630 [XPG3] (SIGTRAP): Likewise.
11631 [POSIX || XPG3] (SIGURG): Likewise.
11632 [POSIX || XPG3] (SIGVTALRM): Likewise.
11633 [POSIX || XPG3] (SIGXCPU): Likewise.
11634 [POSIX || XPG3] (SIGXFSZ): Likewise.
11635 [POSIX] (SA_SIGINFO): Expect.
11636 [XPG3] (siginfo_t): Do not expect type or contents.
11637 [POSIX] (si_pid): Do not expect element.
11638 [POSIX] (si_uid): Likewise.
11639 [POSIX] (si_addr): Likewise.
11640 [POSIX] (si_status): Likewise.
11641 [POSIX] (si_band): Likewise.
11642 [XPG4] (si_value): Likewise.
11643 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11644 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11645 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11646 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11647 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11648 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11649 [POSIX || XPG3] (ILL_COPROC): Likewise.
11650 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11651 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11652 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11653 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11654 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11655 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11656 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11657 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11658 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11659 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11660 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11661 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11662 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11663 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11664 [POSIX || XPG3] (CLD_EXITED): Likewise.
11665 [POSIX || XPG3] (CLD_KILLED): Likewise.
11666 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11667 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11668 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11669 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11670 [POSIX || XPG3] (POLL_IN): Likewise.
11671 [POSIX || XPG3] (POLL_OUT): Likewise.
11672 [POSIX || XPG3] (POLL_MSG): Likewise.
11673 [POSIX || XPG3] (POLL_ERR): Likewise.
11674 [POSIX || XPG3] (POLL_PRI): Likewise.
11675 [POSIX || XPG3] (POLL_HUP): Likewise.
11676 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11677 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11678 (SIG*): Do not allow.
11679 [XPG3] (si_*): Likewise.
11680 [XPG3] (SI_*): Likewise.
11681 [XPG3 || XPG4] (sigev_*): Likewise.
11682 [XPG3 || XPG4] (SIGEV_*): Likewise.
11683 [XPG3 || XPG4] (sival_*): Likewise.
11684 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11685 [POSIX || XPG3] (BUS_*): Likewise.
11686 [POSIX || XPG3] (CLD_*): Likewise.
11687 [POSIX || XPG3] (FPE_*): Likewise.
11688 [POSIX || XPG3] (ILL_*): Likewise.
11689 [POSIX || XPG3] (POLL_*): Likewise.
11690 [POSIX || XPG3] (SEGV_*): Likewise.
11691 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11692 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11693 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11694 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11695 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11696 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11697 Specify type and value.
11698 (TVERSLEN): Likewise.
11699 (REGTYPE): Likewise.
11700 (AREGTYPE): Likewise.
11701 (LNKTYPE): Likewise.
11702 (SYMTYPE): Likewise.
11703 (CHRTYPE): Likewise.
11704 (BLKTYPE): Likewise.
11705 (DIRTYPE): Likewise.
11706 (FIFOTYPE): Likewise.
11707 (CONTTYPE): Likewise.
11711 (TUREAD): Likewise.
11712 (TUWRITE): Likewise.
11713 (TUEXEC): Likewise.
11714 (TGREAD): Likewise.
11715 (TGWRITE): Likewise.
11716 (TGEXEC): Likewise.
11717 (TOREAD): Likewise.
11718 (TOWRITE): Likewise.
11719 (TOEXEC): Likewise.
11720 [POSIX] (TSVTX): Expect constant.
11722 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11724 * Makefile (tests): Change dependencies to ....
11725 (tests-special): ... additions to this variable.
11726 (tests): Depend on $(tests-special).
11727 * Makerules (check-abi-list): New variable.
11728 (check-abi): Depend on $(check-abi-list).
11729 [$(subdir) = elf] (tests-special): Add
11730 $(objpfx)check-abi-libc.out.
11731 [$(build-shared) = yes && subdir] (tests-special): Add
11733 [$(build-shared) = yes && subdir] (tests): Do not depend on
11735 * Rules (tests): Depend on $(tests-special).
11736 (xtests): Depend on $(xtests-special).
11737 * catgets/Makefile (tests): Change dependencies to ....
11738 (tests-special): ... additions to this variable.
11739 * conform/Makefile (tests): Change dependencies to ....
11740 (tests-special): ... additions to this variable.
11741 * elf/Makefile (tests): Change dependencies to ....
11742 (tests-special): ... additions to this variable.
11743 * grp/Makefile (tests): Change dependencies to ....
11744 (tests-special): ... additions to this variable.
11745 * iconv/Makefile (xtests): Change dependencies to ....
11746 (xtests-special): ... additions to this variable.
11747 * iconvdata/Makefile (tests): Change dependencies to ....
11748 (tests-special): ... additions to this variable.
11749 * intl/Makefile (tests): Change dependencies to ....
11750 (tests-special): ... additions to this variable. Also add
11751 $(objpfx)tst-gettext.out.
11752 * io/Makefile (tests): Change dependencies to ....
11753 (tests-special): ... additions to this variable.
11754 * libio/Makefile (tests): Change dependencies to ....
11755 (tests-special): ... additions to this variable.
11756 * malloc/Makefile (tests): Change dependencies to ....
11757 (tests-special): ... additions to this variable.
11758 * misc/Makefile (tests): Change dependencies to ....
11759 (tests-special): ... additions to this variable.
11760 * nptl/Makefile (tests): Change dependencies to ....
11761 (tests-special): ... additions to this variable.
11762 * nptl_db/Makefile (tests): Change dependencies to ....
11763 (tests-special): ... additions to this variable.
11764 * posix/Makefile (tests): Change dependencies to ....
11765 (tests-special): ... additions to this variable.
11766 (xtests): Change dependencies to ....
11767 (xtests-special): ... additions to this variable.
11768 * resolv/Makefile (tests): Change dependencies to ....
11769 (tests-special): ... additions to this variable.
11770 (xtests): Change dependencies to ....
11771 (xtests-special): ... additions to this variable.
11772 * stdio-common/Makefile (tests): Change dependencies to ....
11773 (tests-special): ... additions to this variable.
11774 (do-tst-unbputc): Remove target.
11775 (do-tst-printf): Likewise.
11776 * stdlib/Makefile (tests): Change dependencies to ....
11777 (tests-special): ... additions to this variable.
11778 * string/Makefile (tests): Change dependencies to ....
11779 (tests-special): ... additions to this variable.
11780 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11781 (tests-special): ... additions to this variable.
11783 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11785 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11787 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11788 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11790 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11791 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11792 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11793 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11794 * conform/data/libgen.h-data [XPG3]: Likewise.
11795 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11796 * conform/data/ndbm.h-data [XPG3]: Likewise.
11797 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11798 * conform/data/netdb.h-data [XPG3]: Likewise.
11799 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11800 * conform/data/poll.h-data [XPG3]: Likewise.
11801 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11802 * conform/data/strings.h-data [XPG3]: Likewise.
11803 * conform/data/stropts.h-data [XPG3]: Likewise.
11804 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11805 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11806 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11808 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11809 * conform/data/sys/time.h-data [XPG3]: Likewise.
11810 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11811 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11812 * conform/data/sys/un.h-data [XPG3]: Likewise.
11813 * conform/data/syslog.h-data [XPG3]: Likewise.
11814 * conform/data/ucontext.h-data [XPG3]: Likewise.
11815 * conform/data/utmpx.h-data [XPG3]: Likewise.
11816 * conform/data/varargs.h-data [UNIX98]: Enable file.
11818 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11820 * math/libm-test.inc (struct test_f_f_data): Move expected results
11821 into structure for each rounding mode.
11822 (struct test_ff_f_data): Likewise.
11823 (struct test_ff_f_data_nexttoward): Likewise.
11824 (struct test_fi_f_data): Likewise.
11825 (struct test_fl_f_data): Likewise.
11826 (struct test_if_f_data): Likewise.
11827 (struct test_fff_f_data): Likewise.
11828 (struct test_c_f_data): Likewise.
11829 (struct test_f_f1_data): Likewise.
11830 (struct test_fF_f1_data): Likewise.
11831 (struct test_ffI_f1_data): Likewise.
11832 (struct test_c_c_data): Likewise.
11833 (struct test_cc_c_data): Likewise.
11834 (struct test_f_i_data): Likewise.
11835 (struct test_ff_i_data): Likewise.
11836 (struct test_f_l_data): Likewise.
11837 (struct test_f_L_data): Likewise.
11838 (struct test_fFF_11_data): Likewise.
11840 (RM_FE_DOWNWARD): Likewise.
11841 (RM_FE_TONEAREST): Likewise.
11842 (RM_FE_TOWARDZERO): Likewise.
11843 (RM_FE_UPWARD): Likewise.
11844 (RUN_TEST_LOOP_f_f): Update references to expected results.
11845 (RUN_TEST_LOOP_2_f): Likewise.
11846 (RUN_TEST_LOOP_fff_f): Likewise.
11847 (RUN_TEST_LOOP_c_f): Likewise.
11848 (RUN_TEST_LOOP_f_f1): Likewise.
11849 (RUN_TEST_LOOP_fF_f1): Likewise.
11850 (RUN_TEST_LOOP_fI_f1): Likewise.
11851 (RUN_TEST_LOOP_ffI_f1): Likewise.
11852 (RUN_TEST_LOOP_c_c): Likewise.
11853 (RUN_TEST_LOOP_cc_c): Likewise.
11854 (RUN_TEST_LOOP_f_i): Likewise.
11855 (RUN_TEST_LOOP_f_i_tg): Likewise.
11856 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11857 (RUN_TEST_LOOP_f_b): Likewise.
11858 (RUN_TEST_LOOP_f_b_tg): Likewise.
11859 (RUN_TEST_LOOP_f_l): Likewise.
11860 (RUN_TEST_LOOP_f_L): Likewise.
11861 (RUN_TEST_LOOP_fFF_11): Likewise.
11862 * math/gen-libm-test.pl (parse_args): Output four copies of
11863 expected results for each test.
11865 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11866 (__ASSUME_UTIMES): Remove.
11867 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11868 (__ASSUME_UTIMES): Likewise.
11870 * math/gen-auto-libm-tests.c: Update comment on output format.
11871 (output_for_one_input_case): Generate before-rounding and
11872 after-rounding information as conditions on output flags not
11873 floating-point format.
11874 * math/auto-libm-test-out: Regenerated.
11875 * math/gen-libm-test.pl (cond_value): New function.
11876 (or_cond_value): Use cond_value.
11877 (generate_testfile): Handle conditional exceptions.
11879 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11881 * math/libm-test.inc (max_valid_error): New variable.
11882 (init_max_error): Take new argument specifying whether function
11883 results are exactly determined. Set max_valid_error and bound
11884 other variables for errors based on this argument.
11885 (set_max_error): Do not record results above max_valid_error.
11886 (check_float_internal): Only accept errors of up to 0.5ulps if
11887 also at most max_valid_error.
11888 (START): Take new argument EXACT and pass it to init_max_error.
11889 (acos_test): Update call to START.
11890 (acos_test_tonearest): Likewise.
11891 (acos_test_towardzero): Likewise.
11892 (acos_test_downward): Likewise.
11893 (acos_test_upward): Likewise.
11894 (acosh_test): Likewise.
11895 (asin_test): Likewise.
11896 (asin_test_tonearest): Likewise.
11897 (asin_test_towardzero): Likewise.
11898 (asin_test_downward): Likewise.
11899 (asin_test_upward): Likewise.
11900 (asinh_test): Likewise.
11901 (atan_test): Likewise.
11902 (atanh_test): Likewise.
11903 (atan2_test): Likewise.
11904 (cabs_test): Likewise.
11905 (cacos_test): Likewise.
11906 (cacosh_test): Likewise.
11907 (carg_test): Likewise.
11908 (casin_test): Likewise.
11909 (casinh_test): Likewise.
11910 (catan_test): Likewise.
11911 (catanh_test): Likewise.
11912 (cbrt_test): Likewise.
11913 (ccos_test): Likewise.
11914 (ccosh_test): Likewise.
11915 (ceil_test): Likewise.
11916 (cexp_test): Likewise.
11917 (cimag_test): Likewise.
11918 (clog_test): Likewise.
11919 (clog10_test): Likewise.
11920 (conj_test): Likewise.
11921 (copysign_test): Likewise.
11922 (cos_test): Likewise.
11923 (cos_test_tonearest): Likewise.
11924 (cos_test_towardzero): Likewise.
11925 (cos_test_downward): Likewise.
11926 (cos_test_upward): Likewise.
11927 (cosh_test): Likewise.
11928 (cosh_test_tonearest): Likewise.
11929 (cosh_test_towardzero): Likewise.
11930 (cosh_test_downward): Likewise.
11931 (cosh_test_upward): Likewise.
11932 (cpow_test): Likewise.
11933 (cproj_test): Likewise.
11934 (creal_test): Likewise.
11935 (csin_test): Likewise.
11936 (csinh_test): Likewise.
11937 (csqrt_test): Likewise.
11938 (ctan_test): Likewise.
11939 (ctan_test_tonearest): Likewise.
11940 (ctan_test_towardzero): Likewise.
11941 (ctan_test_downward): Likewise.
11942 (ctan_test_upward): Likewise.
11943 (ctanh_test): Likewise.
11944 (ctanh_test_tonearest): Likewise.
11945 (ctanh_test_towardzero): Likewise.
11946 (ctanh_test_downward): Likewise.
11947 (ctanh_test_upward): Likewise.
11948 (erf_test): Likewise.
11949 (erfc_test): Likewise.
11950 (exp_test): Likewise.
11951 (exp_test_tonearest): Likewise.
11952 (exp_test_towardzero): Likewise.
11953 (exp_test_downward): Likewise.
11954 (exp_test_upward): Likewise.
11955 (exp10_test): Likewise.
11956 (exp10_test_tonearest): Likewise.
11957 (exp10_test_towardzero): Likewise.
11958 (exp10_test_downward): Likewise.
11959 (exp10_test_upward): Likewise.
11960 (pow10_test): Likewise.
11961 (exp2_test): Likewise.
11962 (expm1_test): Likewise.
11963 (expm1_test_tonearest): Likewise.
11964 (expm1_test_towardzero): Likewise.
11965 (expm1_test_downward): Likewise.
11966 (expm1_test_upward): Likewise.
11967 (fabs_test): Likewise.
11968 (fdim_test): Likewise.
11969 (floor_test): Likewise.
11970 (fma_test): Likewise.
11971 (fma_test_towardzero): Likewise.
11972 (fma_test_downward): Likewise.
11973 (fma_test_upward): Likewise.
11974 (fmax_test): Likewise.
11975 (fmin_test): Likewise.
11976 (fmod_test): Likewise.
11977 (fpclassify_test): Likewise.
11978 (frexp_test): Likewise.
11979 (hypot_test): Likewise.
11980 (ilogb_test): Likewise.
11981 (isfinite_test): Likewise.
11982 (finite_test): Likewise.
11983 (isgreater_test): Likewise.
11984 (isgreaterequal_test): Likewise.
11985 (isinf_test): Likewise.
11986 (isless_test): Likewise.
11987 (islessequal_test): Likewise.
11988 (islessgreater_test): Likewise.
11989 (isnan_test): Likewise.
11990 (isnormal_test): Likewise.
11991 (issignaling_test): Likewise.
11992 (isunordered_test): Likewise.
11993 (j0_test): Likewise.
11994 (j1_test): Likewise.
11995 (jn_test): Likewise.
11996 (ldexp_test): Likewise.
11997 (lgamma_test): Likewise.
11998 (gamma_test): Likewise.
11999 (lrint_test): Likewise.
12000 (lrint_test_tonearest): Likewise.
12001 (lrint_test_towardzero): Likewise.
12002 (lrint_test_downward): Likewise.
12003 (lrint_test_upward): Likewise.
12004 (llrint_test): Likewise.
12005 (llrint_test_tonearest): Likewise.
12006 (llrint_test_towardzero): Likewise.
12007 (llrint_test_downward): Likewise.
12008 (llrint_test_upward): Likewise.
12009 (log_test): Likewise.
12010 (log10_test): Likewise.
12011 (log1p_test): Likewise.
12012 (log2_test): Likewise.
12013 (logb_test): Likewise.
12014 (logb_test_downward): Likewise.
12015 (lround_test): Likewise.
12016 (llround_test): Likewise.
12017 (modf_test): Likewise.
12018 (nearbyint_test): Likewise.
12019 (nextafter_test): Likewise.
12020 (nexttoward_test): Likewise.
12021 (pow_test): Likewise.
12022 (pow_test_tonearest): Likewise.
12023 (pow_test_towardzero): Likewise.
12024 (pow_test_downward): Likewise.
12025 (pow_test_upward): Likewise.
12026 (remainder_test): Likewise.
12027 (drem_test): Likewise.
12028 (remainder_test_tonearest): Likewise.
12029 (drem_test_tonearest): Likewise.
12030 (remainder_test_towardzero): Likewise.
12031 (drem_test_towardzero): Likewise.
12032 (remainder_test_downward): Likewise.
12033 (drem_test_downward): Likewise.
12034 (remainder_test_upward): Likewise.
12035 (drem_test_upward): Likewise.
12036 (remquo_test): Likewise.
12037 (rint_test): Likewise.
12038 (rint_test_tonearest): Likewise.
12039 (rint_test_towardzero): Likewise.
12040 (rint_test_downward): Likewise.
12041 (rint_test_upward): Likewise.
12042 (round_test): Likewise.
12043 (scalb_test): Likewise.
12044 (scalbn_test): Likewise.
12045 (scalbln_test): Likewise.
12046 (signbit_test): Likewise.
12047 (sin_test): Likewise.
12048 (sin_test_tonearest): Likewise.
12049 (sin_test_towardzero): Likewise.
12050 (sin_test_downward): Likewise.
12051 (sin_test_upward): Likewise.
12052 (sincos_test): Likewise.
12053 (sinh_test): Likewise.
12054 (sinh_test_tonearest): Likewise.
12055 (sinh_test_towardzero): Likewise.
12056 (sinh_test_downward): Likewise.
12057 (sinh_test_upward): Likewise.
12058 (sqrt_test): Likewise.
12059 (sqrt_test_tonearest): Likewise.
12060 (sqrt_test_towardzero): Likewise.
12061 (sqrt_test_downward): Likewise.
12062 (sqrt_test_upward): Likewise.
12063 (tan_test): Likewise.
12064 (tan_test_tonearest): Likewise.
12065 (tan_test_towardzero): Likewise.
12066 (tan_test_downward): Likewise.
12067 (tan_test_upward): Likewise.
12068 (tanh_test): Likewise.
12069 (tgamma_test): Likewise.
12070 (trunc_test): Likewise.
12071 (y0_test): Likewise.
12072 (y1_test): Likewise.
12073 (yn_test): Likewise.
12074 (significand_test): Likewise.
12076 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12077 individual tests in comment.
12078 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12079 (prev_max_error): New variable.
12080 (prev_real_max_error): Likewise.
12081 (prev_imag_max_error): Likewise.
12082 (compare_ulp_data): Don't refer to test names in comment.
12083 (find_test_ulps): Remove function.
12084 (find_function_ulps): Likewise.
12085 (find_complex_function_ulps): Likewise.
12086 (init_max_error): Take function name as argument. Look up ulps
12088 (print_ulps): Remove function.
12089 (print_max_error): Use prev_max_error instead of calling
12090 find_function_ulps.
12091 (print_complex_max_error): Use prev_real_max_error and
12092 prev_imag_max_error instead of calling find_complex_function_ulps.
12093 (check_float_internal): Take max_ulp parameter instead of calling
12094 find_test_ulps. Don't call print_ulps.
12095 (check_float): Update call to check_float_internal.
12096 (check_complex): Update calls to check_float_internal.
12097 (START): Pass argument to init_max_error.
12098 * math/gen-libm-test.pl (%results): Don't include "kind"
12100 (parse_ulps): Don't handle ulps of individual tests.
12101 (print_ulps_file): Likewise.
12102 (output_ulps): Likewise.
12103 * math/README.libm-test: Update.
12104 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12106 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12107 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12108 * sysdeps/arm/libm-test-ulps: Likewise.
12109 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12110 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12111 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12112 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12113 * sysdeps/microblaze/libm-test-ulps: Likewise.
12114 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12115 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12117 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12118 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12119 * sysdeps/sh/libm-test-ulps: Likewise.
12120 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12121 * sysdeps/tile/libm-test-ulps: Likewise.
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12124 2014-03-04 Joseph Myers <joseph@codesourcery.com>
12126 * math/libm-test.inc (print_complex_max_error): Check separately
12127 whether real and imaginary errors are within allowed range and
12128 pass 0 to print_complex_function_ulps instead of value within
12131 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12133 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12135 (get_handles_fopen): Likewise.
12136 (do_write_test): Likewise.
12138 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12140 * libio/fileops.c (do_ftell): Use cached offset when
12142 * libio/iofwide.c (do_ftell_wide): Likewise.
12143 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12145 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12148 * libio/libioP.h (get_file_offset): New function.
12149 * libio/fileops.c (get_file_offset): Likewise.
12150 (do_ftell): Likewise.
12151 (_IO_new_file_seekoff): Split out ftell logic.
12152 * libio/wfileops.c (do_ftell_wide): Likewise.
12153 (_IO_wfile_seekoff): Split out ftell logic.
12154 * libio/tst-ftell-active-handler.c: New test case.
12155 * libio/Makefile (tests): Add it.
12157 2014-03-03 Roland McGrath <roland@hack.frob.com>
12159 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12160 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12162 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12165 * nscd/connections.c (nscd_init): Call do_exit.
12166 (start_threads): Call do_exit and notify_parent.
12167 (begin_drop_privileges): Call do_exit.
12168 (finish_drop_privileges): Likewise.
12169 * nscd/selinux.c (preserve_capabilities): Likewise.
12170 (install_real_capabilities): Likewise.
12171 (nscd_selinux_enabled): Likewise.
12172 (avc_create_thread): Likewise.
12173 (avc_alloc_lock): Likewise.
12174 (nscd_avc_init): Likewise.
12175 * nscd/nscd.c (parent_fd): New static variable.
12176 (main): Create a pipe between parent and child processes.
12177 Skip closing parent_fd.
12178 (monitor_child): New function.
12179 (do_exit): Likewise.
12180 (notify_parent): Likewise.
12181 * nscd/nscd.h (notify_parent): Likewise.
12182 (do_exit): Likewise.
12184 2014-03-03 Carlos O'Donell <carlos@redhat.com>
12186 * malloc/malloc.c (__libc_calloc): Revert last change.
12188 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12192 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12194 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12198 (__libc_ifunc_impl_list): Likewise.
12199 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12200 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12201 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12202 * string/strrchr.c: Define STRRCHR.
12204 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
12206 * benchtest/bench-strtok.c (simple_strtok): Delete.
12207 (strtok_string): Use as benchmark.
12208 * string/strtok (STRTOK): New macro.
12210 2014-02-28 Carlos O'Donell <carlos@redhat.com>
12212 * manual/threads.texi: Add header and standard comments to all
12215 * elf/dl-lookup.c (check_match): New function.
12216 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12217 (do_lookup_x): Remove nested function check_match. Use non-nested
12218 function check_match.
12220 2014-02-28 Roland McGrath <roland@hack.frob.com>
12222 * csu/Makefile (generated, before-compile): Use += rather than =.
12223 * catgets/Makefile (generated, generated-dirs): Likewise.
12224 * debug/Makefile (generated): Likewise.
12225 * dlfcn/Makefile (generated): Likewise.
12226 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12227 * iconvdata/Makefile (before-compile, generated): Likewise.
12228 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12229 * libio/Makefile (generated): Likewise.
12230 * malloc/Makefile (generated): Likewise.
12231 * manual/Makefile (generated, generated-dirs): Likewise.
12232 * misc/Makefile (generated): Likewise.
12233 * posix/Makefile (generated): Likewise.
12234 * resolv/Makefile (generated): Likewise.
12235 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12236 * timezone/Makefile (generated, generated-dirs): Likewise.
12238 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12240 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12243 power8 implementation.
12244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12245 file: POWER8 llround ifunc implementation.
12246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12247 (__lllround): Add POWER8 implementation.
12248 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12249 POWER8 llround implementation.
12251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12252 power8 implementation.
12253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12254 file: POWER8 llrint ifunc implementation.
12255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12256 Add POWER8 implementation.
12257 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12258 POWER8 llrint implementation.
12260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12261 power8 implementation.
12262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12263 file: POWER8 finite ifunc implementation.
12264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12265 Add POWER8 implementation.
12266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12268 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12269 POWER8 finite implementation.
12270 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12273 power8 implementation.
12274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12275 file: POWER8 isinf ifunc implementation.
12276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12277 POWER8 implementation.
12278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12280 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12281 isinf implementation.
12282 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12284 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12285 (INIT_ARCH): Add hwcap2 initialization.
12286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12287 power8 implementation.
12288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12289 file: POWER8 isnan ifunc implementation.
12290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12291 POWER8 implementation.
12292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12295 isnan implementation.
12296 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12298 2014-02-27 Joey Ye <joey.ye@arm.com>
12300 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12301 (_FP_NANFRAC_Q): Set to zero.
12303 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12306 * math/auto-libm-test-in: New test inputs.
12307 * math/auto-libm-test-out: Regenerate.
12308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12311 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12313 2014-02-27 Joseph Myers <joseph@codesourcery.com>
12315 * scripts/evaluate-test.sh: Take new argument indicating whether
12316 failure is expected.
12317 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12318 indicating whether failure is expected.
12319 * conform/Makefile (test-xfail-run-conformtest): New variable.
12320 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12322 * posix/Makefile (test-xfail-annexc): New variable.
12323 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12325 2014-02-26 Joseph Myers <joseph@codesourcery.com>
12327 * argp/Makefile: Include Makeconfig immediately after defining
12329 * assert/Makefile: Likewise.
12330 * benchtests/Makefile: Likewise.
12331 * catgets/Makefile: Likewise.
12332 * conform/Makefile: Likewise.
12333 * crypt/Makefile: Likewise.
12334 * csu/Makefile: Likewise.
12335 (all): Remove target.
12336 * ctype/Makefile: Include Makeconfig immediately after defining
12338 * debug/Makefile: Likewise.
12339 * dirent/Makefile: Likewise.
12340 * dlfcn/Makefile: Likewise.
12341 * gmon/Makefile: Likewise.
12342 * gnulib/Makefile: Likewise.
12343 * grp/Makefile: Likewise.
12344 * gshadow/Makefile: Likewise.
12345 * hesiod/Makefile: Likewise.
12346 * hurd/Makefile: Likewise.
12347 (all): Remove target.
12348 * iconvdata/Makefile: Include Makeconfig immediately after
12350 * inet/Makefile: Likewise.
12351 * intl/Makefile: Likewise.
12352 * io/Makefile: Likewise.
12353 * libio/Makefile: Likewise.
12354 (all): Remove target.
12355 * locale/Makefile: Include Makeconfig immediately after defining
12357 * login/Makefile: Likewise.
12358 * mach/Makefile: Likewise.
12359 (all): Remove target.
12360 * malloc/Makefile: Include Makeconfig immediately after defining
12362 (all): Remove target.
12363 * manual/Makefile: Include Makeconfig immediately after defining
12365 * math/Makefile: Likewise.
12366 * misc/Makefile: Likewise.
12367 * nis/Makefile: Likewise.
12368 * nss/Makefile: Likewise.
12369 * po/Makefile: Likewise.
12370 (all): Remove target.
12371 * posix/Makefile: Include Makeconfig immediately after defining
12373 * pwd/Makefile: Likewise.
12374 * resolv/Makefile: Likewise.
12375 * resource/Makefile: Likewise.
12376 * rt/Makefile: Likewise.
12377 * setjmp/Makefile: Likewise.
12378 * shadow/Makefile: Likewise.
12379 * signal/Makefile: Likewise.
12380 * socket/Makefile: Likewise.
12381 * soft-fp/Makefile: Likewise.
12382 * stdio-common/Makefile: Likewise.
12383 * stdlib/Makefile: Likewise.
12384 * streams/Makefile: Likewise.
12385 * string/Makefile: Likewise.
12386 * sunrpc/Makefile: Likewise.
12387 (all): Remove target.
12388 * sysvipc/Makefile: Include Makeconfig immediately after defining
12390 * termios/Makefile: Likewise.
12391 * time/Makefile: Likewise.
12392 * timezone/Makefile: Likewise.
12393 (all): Remove target.
12394 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12396 * wctype/Makefile: Likewise.
12398 2014-02-26 Steve Ellcey <sellcey@mips.com>
12400 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12401 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12402 (libc_feholdexcept_setround_mips): Ditto.
12403 (libc_feholdsetround): New.
12404 (libc_feholdsetroundf): New.
12405 (libc_feholdsetroundl): New.
12406 (libc_feupdateenv_test_mips): New.
12407 (libc_feupdateenv_test): New.
12408 (libc_feupdateenv_testf): New.
12409 (libc_feupdateenv_testl): New.
12410 (libc_feresetround): New.
12411 (libc_feresetroundf): New.
12412 (libc_feresetroundl): New.
12413 (libc_fetestexcept_mips): New.
12414 (libc_fetestexcept): New.
12415 (libc_fetestexceptf): New.
12416 (libc_fetestexceptl): New.
12417 (HAVE_RM_CTX): New.
12418 (libc_feholdexcept_setround_mips_ctx): New.
12419 (libc_feholdexcept_setround_ctx): New.
12420 (libc_feholdexcept_setroundf_ctx): New.
12421 (libc_feholdexcept_setroundl_ctx): New.
12422 (libc_fesetenv_mips_ctx): New.
12423 (libc_fesetenv_ctx): New.
12424 (libc_fesetenv_ctxf): New.
12425 (libc_fesetenv_ctxl): New.
12426 (libc_feupdateenv_mips_ctx): New.
12427 (libc_feupdateenv_ctx): New.
12428 (libc_feupdateenvf_ctx): New.
12429 (libc_feupdateenvl_ctx): New.
12430 (libc_feholdsetround_mips_ctx): New.
12431 (libc_feholdsetround_ctx): New.
12432 (libc_feholdsetroundf_ctx): New.
12433 (libc_feholdsetroundl_ctx): New.
12434 (libc_feresetround_mips_ctx): New.
12435 (libc_feresetround_ctx): New.
12436 (libc_feresetroundf_ctx): New.
12437 (libc_feresetroundl_ctx): New.
12439 2014-02-26 Carlos O'Donell <carlos@redhat.com>
12441 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12443 * manual/ipc.texi: New file.
12444 * manual/Makefile (chapters): Add ipc.
12445 * manual/job.texi: Add "Inter-Process Communication" to next.
12446 * manual/process.texi: Add "Inter-Process Communication" to prev.
12448 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12452 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
12454 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12456 * manual/arith.texi: Fix spaces after sentences.
12457 * manual/charset.texi: Likewise.
12458 * manual/errno.texi: Likewise.
12459 * manual/install.texi: Likewise.
12460 * manual/llio.texi: Likewise.
12461 * manual/locale.texi: Likewise.
12462 * manual/maint.texi: Likewise.
12463 * manual/math.texi: Likewise.
12464 * manual/memory.texi: Likewise.
12465 * manual/message.texi: Likewise.
12466 * manual/probes.texi: Likewise.
12467 * manual/resource.texi: Likewise.
12468 * manual/signal.texi: Likewise.
12469 * manual/socket.texi: Likewise.
12470 * manual/stdio.texi: Likewise.
12471 * manual/string.texi: Likewise.
12472 * manual/time.texi: Likewise.
12473 * manual/users.texi: Likewise.
12475 2014-02-25 Carlos O'Donell <carlos@redhat.com>
12478 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12479 _DEFAULT_SOURCE is defined.
12481 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12482 Carlos O'Donell <carlos@redhat.com>
12485 * elf/dl-tls.c (_dl_count_modids): New function.
12486 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12487 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12488 audit library and increment generation counter.
12489 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12490 * elf/tst-audit9.c: New file.
12491 * elf/tst-auditmod9a.c: New file.
12492 * elf/tst-auditmod9b.c: New file.
12493 * elf/Makefile: Add rules to build and run tst-audit9.
12495 2014-02-25 Florian Weimer <fweimer@redhat.com>
12498 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12500 2014-02-25 Will Newton <will.newton@linaro.org>
12502 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12503 (__longjmp): Restore sp and lr before restoring callee
12504 saved registers. Add longjmp and longjmp_target
12505 SystemTap probe point.
12506 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12507 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12508 Define to zero to match jmpbuf layout.
12509 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12510 (__sigsetjmp): Save sp and lr before saving callee
12511 saved registers. Add setjmp SystemTap probe point.
12513 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12515 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12517 2014-02-24 Andreas Schwab <schwab@suse.de>
12520 * elf/pldd.c (wait_for_ptrace_stop): New function.
12521 (main): Call it after attaching.
12523 2014-02-22 Roland McGrath <roland@hack.frob.com>
12525 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12526 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12527 Versions files is now verboten.
12528 * hurd/Versions (libc: GLIBC_2.0):
12529 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12530 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12531 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12532 * mach/Versions: Likewise.
12534 * csu/Versions: Remove unused %include.
12535 * resolv/Versions: Likewise.
12537 2014-02-21 Joseph Myers <joseph@codesourcery.com>
12539 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12540 ($(objpfx)check-local-headers.out): Likewise.
12541 ($(objpfx)begin-end-check.out): Likewise.
12542 * Makerules (check-abi-%.out): Likewise.
12543 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12544 ($(objpfx)test2.cat): Likewise.
12545 ($(objpfx)de/libc.cat): Likewise.
12546 ($(objpfx)test-gencat.out): Likewise.
12547 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12548 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12549 ($(objpfx)noload-mem): Likewise.
12550 ($(objpfx)tst-pathopt.out): Likewise.
12551 ($(objpfx)tst-rtld-load-self.out): Likewise.
12552 ($(objpfx)tst-array1-cmp.out): Likewise.
12553 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12554 ($(objpfx)tst-array2-cmp.out): Likewise.
12555 ($(objpfx)tst-array3-cmp.out): Likewise.
12556 ($(objpfx)tst-array4-cmp.out): Likewise.
12557 ($(objpfx)tst-array5-cmp.out): Likewise.
12558 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12559 ($(objpfx)check-textrel.out): Likewise.
12560 ($(objpfx)check-execstack.out): Likewise.
12561 ($(objpfx)check-localplt.out): Likewise.
12562 ($(objpfx)order2-cmp.out): Likewise.
12563 ($(objpfx)tst-leaks1-mem): Likewise.
12564 ($(objpfx)tst-leaks1-static-mem): Likewise.
12565 ($(objpfx)tst-initorder-cmp.out): Likewise.
12566 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12567 ($(objpfx)tst-unused-dep.out): Likewise.
12568 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12569 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12570 * iconv/Makefile (test-iconvconfig): Likewise.
12571 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12572 ($(objpfx)iconv-test.out): Likewise.
12573 ($(objpfx)tst-tables.out): Likewise.
12574 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12575 ($(objpfx)tst-gettext.out): Likewise.
12576 ($(objpfx)tst-translit.out): Likewise.
12577 ($(objpfx)tst-gettext2.out): Likewise.
12578 ($(objpfx)tst-gettext4.out): Likewise.
12579 ($(objpfx)tst-gettext6.out): Likewise.
12580 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12581 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12582 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12583 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12584 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12585 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12586 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12587 ($(objpfx)wordexp-tst.out): Likewise.
12588 ($(objpfx)annexc.out): Likewise.
12589 ($(objpfx)tst-fnmatch-mem): Likewise.
12590 ($(objpfx)bug-regex2-mem): Likewise.
12591 ($(objpfx)bug-regex14-mem): Likewise.
12592 ($(objpfx)bug-regex21-mem): Likewise.
12593 ($(objpfx)bug-regex31-mem): Likewise.
12594 ($(objpfx)tst-vfork3-mem): Likewise.
12595 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12596 ($(objpfx)tst-pcre-mem): Likewise.
12597 ($(objpfx)tst-boost-mem): Likewise.
12598 ($(objpfx)tst-getconf.out): Likewise.
12599 ($(objpfx)bug-ga2-mem): Likewise.
12600 ($(objpfx)bug-glob2-mem): Likewise.
12601 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12602 ($(objpfx)mtrace-tst-leaks2): Likewise.
12603 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12604 ($(objpfx)tst-printf.out): Likewise.
12605 ($(objpfx)tst-setvbuf1.out): Likewise.
12606 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12607 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12608 ($(objpfx)tst-fmtmsg.out): Likewise.
12609 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12610 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12612 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12613 * bits/sigaction.h [__USE_MISC]: Likewise.
12614 * bits/waitstatus.h: Update #endif comments.
12615 * ctype/ctype.h: Likewise.
12616 * dirent/dirent.h: Likewise.
12617 [__USE_MISC]: Remove redundant conditionals.
12618 * grp/grp.h: Update #endif comments.
12619 [__USE_GNU]: Remove redundant conditionals.
12620 [__USE_MISC]: Likewise.
12621 * inet/netinet/in.h [__USE_GNU]: Likewise.
12622 * io/sys/stat.h [__USE_MISC]: Likewise.
12623 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12624 * libio/bits/stdio.h: Update #endif comments.
12625 [__USE_MISC]: Remove redundant conditionals.
12626 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12627 * libio/stdio.h: Update #endif comments.
12628 [__USE_MISC]: Remove redundant conditionals.
12629 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12630 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12631 * math/math.h: Update #else and #endif comments.
12632 [__USE_MISC]: Remove redundant conditionals.
12633 * misc/sys/uio.h: Update #endif comments.
12634 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12635 * posix/glob.h [__USE_MISC]: Likewise.
12636 * posix/sys/types.h: Update #endif comments.
12637 [__USE_MISC]: Remove redundant conditionals.
12638 * posix/sys/wait.h: Update #endif comments.
12639 [__USE_MISC]: Remove redundant conditionals.
12640 * posix/unistd.h: Update #endif comments.
12641 [__USE_MISC]: Remove redundant conditionals.
12642 * pwd/pwd.h [__USE_GNU]: Likewise.
12643 [__USE_MISC]: Likewise.
12644 * resolv/netdb.h [__USE_GNU]: Likewise.
12645 * signal/signal.h: Update #endif comments.
12646 [__USE_MISC]: Remove redundant conditionals.
12647 * stdlib/stdlib.h: Update #else and #endif comments.
12648 [__USE_MISC]: Remove redundant conditionals.
12649 [__USE_GNU]: Likewise.
12650 * string/bits/string2.h [__USE_MISC]: Likewise.
12651 * string/string.h: Update #endif comments.
12652 [__USE_MISC]: Remove redundant conditionals.
12653 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12655 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12656 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12657 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12659 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12663 [__USE_MISC]: Remove redundant conditionals.
12664 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12665 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12666 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12667 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12668 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12670 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12671 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12673 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12676 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12678 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12679 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12681 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12683 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12684 * sysdeps/x86/bits/string.h: Update #endif comments.
12685 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12687 * time/sys/time.h: Update #endif comments.
12688 * time/time.h: Likewise.
12689 [__USE_MISC]: Remove redundant conditionals.
12691 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12694 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12696 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12698 * Versions.def (librt): Add GLIBC_2.17.
12700 2014-02-21 Adam Conrad <adconrad@0c3.net>
12702 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12703 synonym for _SYS_AUXV_H to allow direct inclusion.
12704 * sysdeps/sparc/bits/hwcap.h: Likewise.
12705 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12706 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12707 * sysdeps/sparc/sysdep.h: Likewise.
12709 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12711 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12713 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12715 * benchtests/bench-strrchr.c: Print length instead of position.
12717 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12720 * sysdeps/unix/sysv/linux/kernel-features.h
12721 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12722 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12723 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12724 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12726 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12727 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12728 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12729 (__ASSUME_SENDMMSG): Define instead of using previous
12730 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12731 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12732 (__ASSUME_SENDMMSG_SYSCALL): Define.
12733 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12734 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12736 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12737 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12739 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12740 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12742 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12743 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12744 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12745 [__ASSUME_SENDMMSG]: Change conditionals to
12746 [__ASSUME_SENDMMSG_SOCKETCALL].
12747 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12748 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12750 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12751 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12753 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12754 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12755 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12756 [!__ASSUME_SENDMMSG]: Change conditional to
12757 [!__ASSUME_SENDMMSG_SOCKETCALL].
12758 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12759 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12763 * sysdeps/unix/sysv/linux/kernel-features.h
12764 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12765 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12766 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12767 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12768 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12769 [__i386__ || __sparc__]
12770 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12771 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12772 (__ASSUME_RECVMMSG): Define instead of using previous
12773 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12774 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12775 (__ASSUME_RECVMMSG_SYSCALL): Define.
12776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12777 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12779 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12783 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12785 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12786 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12787 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12788 [__ASSUME_RECVMMSG]: Change condition to
12789 [__ASSUME_RECVMMSG_SOCKETCALL].
12790 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12793 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12794 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12795 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12797 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12798 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12799 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12800 [!__ASSUME_RECVMMSG]: Change condition to
12801 [!__ASSUME_RECVMMSG_SOCKETCALL].
12802 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12803 (__ASSUME_RECVMMSG_SYSCALL): Define.
12806 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12807 __powerpc__ || __s390__ || __sh__ || __sparc__]
12808 (__ASSUME_SOCKETCALL): Define.
12809 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12810 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12811 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12812 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12813 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12814 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12815 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12816 (__ASSUME_ACCEPT4): Define instead of using previous
12817 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12818 __powerpc__ || __sparc__ || __s390__)] condition.
12819 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12820 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12821 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12822 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12823 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12824 [!__ASSUME_ACCEPT4]: Change condition to
12825 [!__ASSUME_ACCEPT4_SOCKETCALL].
12826 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12827 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12828 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12829 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12830 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12831 __ASSUME_ACCEPT4_SYSCALL.
12832 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12833 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12834 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12835 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12836 __ASSUME_ACCEPT4_SYSCALL.
12837 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12838 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12839 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12840 [__ASSUME_ACCEPT4]: Change condition to
12841 [__ASSUME_ACCEPT4_SOCKETCALL].
12842 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12843 (__ASSUME_SOCKETCALL): Define.
12844 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12845 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12846 (__ASSUME_SOCKETCALL): Define.
12847 (__ASSUME_ACCEPT4): Remove.
12848 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12850 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12851 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12853 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12854 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12856 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12858 (HWCAP_ARM_LPAE): Likewise.
12859 (HWCAP_ARM_EVTSTRM): Likewise.
12860 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12861 Add vpfd32, lpae and evtstrm.
12862 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12865 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12867 * math/auto-libm-test-in: Add tests of clog10.
12868 * math/auto-libm-test-out: Regenerated.
12869 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12870 * sysdeps/i386/fpu/libm-test-ulps: Update.
12871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12873 2014-02-18 Andreas Schwab <schwab@suse.de>
12876 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12877 Store non-zero if the second buffer was newly allocated.
12878 (send_dg): Likewise.
12879 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12880 to send_vc and send_dg.
12881 (res_nsend): Pass NULL for ansp2_malloced.
12882 * resolv/res_query.c (__libc_res_nquery): Add parameter
12883 answerp2_malloced and pass it down to __libc_res_nsend.
12884 (res_nquery): Pass additional NULL to __libc_res_nquery.
12885 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12886 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12887 second answer buffer if answerp2_malloced was set.
12888 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12889 (__libc_res_nquerydomain): Add parameter
12890 answerp2_malloced and pass it down to __libc_res_nquery.
12891 (res_nquerydomain): Pass additional NULL to
12892 __libc_res_nquerydomain.
12893 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12894 additional NULL to __libc_res_nsend and __libc_res_nquery.
12895 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12896 additional NULL to __libc_res_nsearch.
12897 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12898 parameter of __libc_res_nsearch to check for separately allocated
12900 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12902 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12903 additional NULL to __libc_res_nquery.
12904 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12905 __libc_res_nsearch.
12906 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12907 * include/resolv.h: Update prototypes of __libc_res_nquery,
12908 __libc_res_nsearch, __libc_res_nsend.
12910 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12912 * math/auto-libm-test-in: Add tests of fma.
12913 * math/auto-libm-test-out: Regenerated.
12914 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12915 (fma_towardzero_test_data): Likewise.
12916 (fma_downward_test_data): Likewise.
12917 (fma_upward_test_data): Likewise.
12918 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12920 (rounding_modes): Add values for new field.
12921 (func_calc_method): Add value mpfr_fff_f.
12922 (func_calc_desc): Add mpfr_fff_f union field.
12923 (test_function): Add field exact_args.
12924 (FUNC): Add macro argument EXACT_ARGS.
12925 (FUNC_mpfr_f_f): Update call to FUNC.
12926 (FUNC_mpfr_f_f): Likewise.
12927 (FUNC_mpfr_ff_f): Likewise.
12928 (FUNC_mpfr_if_f): Likewise.
12929 (FUNC_mpc_c_f): Likewise.
12930 (FUNC_mpc_c_c): Likewise.
12931 (test_functions): Add fma. Update calls to FUNC.
12932 (handle_input_arg): Add argument exact_args.
12933 (add_test): Update call to handle_input_arg.
12934 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12935 (output_for_one_input_case): Update call to calc_generic_results.
12936 Recalculate exact zero results in each rounding mode.
12938 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12939 non-negative before setting low bit.
12940 * math/auto-libm-test-in: Mark one asin test possibly having
12941 spurious underflow.
12942 * math/auto-libm-test-out: Regenerated.
12943 * sysdeps/i386/fpu/libm-test-ulps: Update.
12944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12946 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12948 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12949 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12950 ports/sysdeps/unix/sysv/linux/microblaze.
12951 * README: Add missing listing for microblaze*-*-linux-gnu.
12953 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12955 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12958 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12960 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12961 * sysdeps/unix/sysv/linux/ia64: Move directory from
12962 ports/sysdeps/unix/sysv/linux/ia64.
12963 * README: Update listing for ia64-*-linux-gnu.
12965 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12966 Joseph Myers <joseph@codesourcery.com>
12968 * Makeconfig (test-name): New variable.
12969 (evaluate-test): Likewise.
12970 * Makerules (do-test-clean): Remove .test-result files.
12971 (common-mostlyclean): Likewise.
12972 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12973 * scripts/evaluate-test.sh: New file.
12975 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12977 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12978 separate $(objpfx)tst-fopenloc-cmp.out and
12979 $(objpfx)tst-fopenloc-mem.out targets.
12980 (tests): Update dependencies.
12981 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12982 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12983 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12984 (tst-rxspencer-no-utf8-ARGS): New variable.
12985 (tst-rxspencer-no-utf8-ENV): Likewise.
12986 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12987 instead of $(objpfx)tst-rxspencer-mem.
12988 ($(objpfx)tst-rxspencer-mem): Change target to
12989 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12990 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12991 * posix/tst-rxspencer-no-utf8.c: New file.
12993 * elf/Makefile ($(objpfx)order.out): Remove rule.
12994 [$(run-built-tests) = yes] (tests): Depend on
12995 $(objpfx)order-cmp.out.
12996 ($(objpfx)order-cmp.out): New rule.
12997 [$(run-built-tests) = yes] (tests): Depend on
12998 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12999 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13000 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13001 $(objpfx)tst-array5-static-cmp.out.
13002 ($(objpfx)tst-array1.out): Remove rule.
13003 ($(objpfx)tst-array1-cmp.out): New rule.
13004 ($(objpfx)tst-array1-static.out): Remove rule.
13005 ($(objpfx)tst-array1-static-cmp.out): New rule.
13006 ($(objpfx)tst-array2.out): Remove rule.
13007 ($(objpfx)tst-array2-cmp.out): New rule.
13008 ($(objpfx)tst-array3.out): Remove rule.
13009 ($(objpfx)tst-array3-cmp.out): New rule.
13010 ($(objpfx)tst-array4.out): Remove rule.
13011 ($(objpfx)tst-array4-cmp.out): New rule.
13012 ($(objpfx)tst-array5.out): Remove rule.
13013 ($(objpfx)tst-array5-cmp.out): New rule.
13014 ($(objpfx)tst-array5-static.out): Remove rule.
13015 ($(objpfx)tst-array5-static-cmp.out): New rule.
13016 [$(run-built-tests) = yes] (tests): Depend on
13017 $(objpfx)order2-cmp.out.
13018 ($(objpfx)order2.out): Remove rule.
13019 ($(objpfx)order2-cmp.out): New rule.
13020 ($(objpfx)tst-initorder.out): Remove rule.
13021 [$(run-built-tests) = yes] (tests): Depend on
13022 $(objpfx)tst-initorder-cmp.out.
13023 ($(objpfx)tst-initorder-cmp.out): New rule.
13024 ($(objpfx)tst-initorder2.out): Remove rule.
13025 [$(run-built-tests) = yes] (tests): Depend on
13026 $(objpfx)tst-initorder2-cmp.out.
13027 ($(objpfx)tst-initorder2-cmp.out): New rule.
13028 [$(run-built-tests) = yes] (tests): Depend on
13029 $(objpfx)tst-unused-dep-cmp.out.
13030 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13031 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13032 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13033 on $(objpfx)tst-setvbuf1-cmp.out.
13034 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13035 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13036 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13037 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13038 ($(objpfx)tst-svc.out): Remove rule.
13039 ($(objpfx)tst-svc-cmp.out): New rule.
13041 2014-02-13 Joseph Myers <joseph@codesourcery.com>
13043 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13044 * ctype/ctype.h [__USE_MISC]: Likewise.
13045 * dirent/dirent.h [__USE_MISC]: Likewise.
13046 * grp/grp.h [__USE_MISC]: Likewise.
13047 * io/fcntl.h [__USE_MISC]: Likewise.
13048 * io/sys/stat.h [__USE_MISC]: Likewise.
13049 * libio/stdio.h [__USE_MISC]: Likewise.
13050 * posix/unistd.h [__USE_MISC]: Likewise.
13051 * pwd/pwd.h [__USE_MISC]: Likewise.
13052 * stdlib.h [__USE_MISC]: Likewise.
13053 * string/bits/string2.h [__USE_MISC]: Likewise.
13054 * string/string.h [__USE_MISC]: Likewise.
13055 * time/time.h [__USE_MISC]: Likewise.
13057 2014-02-13 Andreas Schwab <schwab@suse.de>
13060 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13061 second answer buffer if it was separately allocated.
13063 2014-02-12 Joseph Myers <joseph@codesourcery.com>
13065 * sysdeps/mips/math-tests.h: Include <features.h>.
13066 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13067 (ROUNDING_TESTS_long_double): Do not define.
13068 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13069 (EXCEPTION_TESTS_long_double): Likewise.
13070 * sysdeps/mips/mips64/libm-test-ulps: Update.
13072 * include/features.h (__USE_BSD): Remove macro definitions.
13073 (__USE_SVID): Likewise.
13074 (_BSD_SOURCE): Likewise.
13075 (_SVID_SOURCE): Likewise.
13076 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13077 from definition of _DEFAULT_SOURCE.
13078 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13080 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13081 * bits/mman.h [__USE_BSD]: Likewise.
13082 * bits/termios.h [__USE_BSD]: Likewise.
13083 * bits/waitstatus.h [__USE_BSD]: Likewise.
13084 * ctype/ctype.h [__USE_SVID]: Likewise.
13085 * dirent/dirent.h [__USE_BSD]: Likewise.
13086 * grp/grp.h [__USE_SVID]: Likewise.
13087 [__USE_BSD]: Likewise.
13088 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13089 * io/fcntl.h [__USE_BSD]: Likewise.
13090 * io/ftw.h [__USE_BSD]: Likewise.
13091 * io/sys/stat.h [__USE_BSD]: Likewise.
13092 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13093 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13094 * libio/stdio.h [__USE_SVID]: Likewise.
13095 [__USE_BSD]: Likewise.
13096 * math/math.h [__USE_SVID]: Likewise.
13097 [__USE_BSD]: Likewise.
13098 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13099 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13100 * misc/search.h [__USE_SVID]: Likewise.
13101 * misc/sys/mman.h [__USE_BSD]: Likewise.
13102 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13103 * misc/sys/uio.h [__USE_BSD]: Likewise.
13104 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13105 * posix/glob.h [__USE_BSD]: Likewise.
13106 * posix/regex.h [__USE_BSD]: Likewise.
13107 * posix/sys/types.h [__USE_BSD]: Likewise.
13108 [__USE_SVID]: Likewise.
13109 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13110 * posix/sys/wait.h [__USE_BSD]: Likewise.
13111 [__USE_SVID]: Likewise.
13112 * posix/unistd.h [__USE_BSD]: Likewise.
13113 [__USE_SVID]: Likewise.
13114 * pwd/pwd.h [__USE_SVID]: Likewise.
13115 * resolv/netdb.h [__USE_BSD]: Likewise.
13116 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13117 * signal/signal.h [__USE_BSD]: Likewise.
13118 [__USE_SVID]: Likewise.
13119 * socket/sys/socket.h [__USE_BSD]: Likewise.
13120 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13121 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13122 [__USE_SVID]: Likewise.
13123 * string/bits/string2.h [__USE_BSD]: Likewise.
13124 [__USE_SVID]: Likewise.
13125 * string/bits/string3.h [__USE_BSD]: Likewise.
13126 * string/endian.h [__USE_BSD]: Likewise.
13127 * string/string.h [__USE_SVID]: Likewise.
13128 [__USE_BSD]: Likewise.
13129 * string/strings.h [__USE_BSD]: Likewise.
13130 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13131 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13132 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13133 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13134 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13135 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13139 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13140 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13142 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13143 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13145 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13147 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13148 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13151 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13153 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13154 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13155 * termios/termios.h [__USE_BSD]: Likewise.
13156 * time/sys/time.h [__USE_BSD]: Likewise.
13157 * time/time.h [__USE_BSD]: Likewise.
13158 [__USE_SVID]: Likewise.
13160 * Makefile (subdir_targets): Remove subdir_lint.out.
13162 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13163 (do-tst-printf): Likewise.
13164 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13165 $(objpfx)tst-printf.out.
13167 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13169 * Makerules (check-abi-%): Change target to
13170 $(objpfx)check-abi-%.out.
13171 (check-abi target): Update dependencies.
13172 (check-abi-pattern variable): Redirect output of diff to $@.
13173 (check-abi variable): Likewise.
13174 * elf/Makefile (check-abi): Update dependencies.
13176 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13178 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13179 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13181 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13182 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13183 value has largest subnormal exponent.
13184 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13185 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13186 * sysdeps/aarch64/soft-fp/sfp-machine.h
13187 (_FP_TININESS_AFTER_ROUNDING): New macro.
13188 * sysdeps/alpha/soft-fp/sfp-machine.h
13189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13190 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13192 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13194 * sysdeps/mips/soft-fp/sfp-machine.h
13195 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13196 * sysdeps/powerpc/soft-fp/sfp-machine.h
13197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13198 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13200 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13201 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13202 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13203 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13204 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13207 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
13210 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13213 2014-02-12 Richard Henderson <rth@redhat.com>
13215 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13216 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13217 * sysdeps/unix/sysv/linux/alpha: Move directory from
13218 ports/sysdeps/unix/sysv/linux/alpha.
13219 * README: Update listing for alpha-*-linux-gnu.
13221 2014-02-11 Joseph Myers <joseph@codesourcery.com>
13223 * include/features.h: Update comment documenting feature test
13225 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13227 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13228 (_SVID_SOURCE): Likewise.
13229 (_DEFAULT_SOURCE): Update description of default features.
13230 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13232 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13233 (S_ISVTX): Likewise.
13234 * manual/math.texi (Mathematical Constants): Likewise.
13235 * manual/signal.texi (Interrupted Primitives): Likewise.
13236 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13237 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13238 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13239 Don't refer to _SVID_SOURCE in warning text.
13241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13243 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13245 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13246 * sysdeps/mips/dl-lookup.c: Remove.
13247 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13249 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13252 * math/auto-libm-test-in: Add testcase for expl.
13253 * math/auto-libm-test-out: Regenerate.
13254 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13255 calculation of unsafe.
13256 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13258 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13260 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13261 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13262 ports/sysdeps/unix/sysv/linux/aarch64.
13263 * README: Update listing for aarch64*-*-linux-gnu.
13265 2014-02-11 Will Newton <will.newton@linaro.org>
13267 * manual/probes.texi (Mathematical Function Probes): Use
13268 "triggered" instead of "hit".
13270 * manual/probes.texi (Internal Probes): Add documentation
13271 of setjmp, longjmp and longjmp_target probes.
13273 * include/stap-probe.h: Add comment about probe argument
13276 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13277 definition. (tr_where, tr_freehook, tr_mallochook,
13278 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13280 2014-02-11 David S. Miller <davem@davemloft.net>
13282 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13283 processing int_tests.
13285 2014-02-10 Joseph Myers <joseph@codesourcery.com>
13287 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13288 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13289 * sysdeps/unix/sysv/linux/mips: Move directory from
13290 ports/sysdeps/unix/sysv/linux/mips.
13291 * README: Update listing for mips-*-linux-gnu and
13292 mips64-*-linux-gnu.
13294 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13296 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13297 * sysdeps/unix/sysv/linux/m68k: Move directory from
13298 ports/sysdeps/unix/sysv/linux/m68k.
13299 * README: Update listing for m68k-*-linux-gnu.
13301 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13303 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13304 * sysdeps/unix/sysv/linux/generic: Move directory from
13305 ports/sysdeps/unix/sysv/linux/generic.
13306 * sysdeps/unix/sysv/linux/tile: Move directory from
13307 ports/sysdeps/unix/sysv/linux/tile.
13308 * README: Update listing for tile*-*-linux-gnu.
13310 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
13312 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13314 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13315 * catgets/open_catalog.c (__open_catalog): Likewise.
13316 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13317 * debug/confstr_chk.c: Likewise.
13318 * debug/fread_chk.c (__fread_chk): Likewise.
13319 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13320 * debug/getgroups_chk.c: Likewise.
13321 * debug/mbsnrtowcs_chk.c: Likewise.
13322 * debug/mbsrtowcs_chk.c: Likewise.
13323 * debug/mbstowcs_chk.c: Likewise.
13324 * debug/memcpy_chk.c: Likewise.
13325 * debug/memmove_chk.c: Likewise.
13326 * debug/mempcpy_chk.c: Likewise.
13327 * debug/memset_chk.c: Likewise.
13328 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13329 * debug/strcat_chk.c (__strcat_chk): Likewise.
13330 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13331 * debug/strncat_chk.c (__strncat_chk): Likewise.
13332 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13333 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13334 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13335 * debug/wcpncpy_chk.c: Likewise.
13336 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13337 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13338 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13339 * debug/wcsncpy_chk.c: Likewise.
13340 * debug/wcsnrtombs_chk.c: Likewise.
13341 * debug/wcsrtombs_chk.c: Likewise.
13342 * debug/wcstombs_chk.c: Likewise.
13343 * debug/wmemcpy_chk.c: Likewise.
13344 * debug/wmemmove_chk.c: Likewise.
13345 * debug/wmempcpy_chk.c: Likewise.
13346 * debug/wmemset_chk.c: Likewise.
13347 * dirent/scandirat.c (SCANDIRAT): Likewise.
13348 * dlfcn/dladdr1.c (dladdr1): Likewise.
13349 * dlfcn/dladdr.c (dladdr): Likewise.
13350 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13351 * dlfcn/dlerror.c (__dlerror): Likewise.
13352 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13353 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13354 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13355 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13356 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13357 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13358 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13359 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13361 * elf/dl-conflict.c: Likewise.
13362 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13363 * elf/dl-dst.h: Likewise.
13364 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13365 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13366 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13367 * elf/dl-init.c (call_init, _dl_init): Likewise.
13368 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13369 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13370 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13372 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13374 * elf/dl-minimal.c (__libc_memalign): Likewise.
13375 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13376 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13377 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13378 * elf/dl-sym.c (do_sym): Likewise.
13379 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13380 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13381 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13382 * elf/dl-writev.h (_dl_writev): Likewise.
13383 * elf/ldconfig.c (search_dir): Likewise.
13384 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13385 (dl_main): Likewise.
13386 * elf/setup-vdso.h (setup_vdso): Likewise.
13387 * grp/compat-initgroups.c (compat_call): Likewise.
13388 * grp/fgetgrent.c (fgetgrent): Likewise.
13389 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13390 * grp/putgrent.c (putgrent): Likewise.
13391 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13393 * hurd/hurdinit.c: Likewise.
13394 * iconvdata/8bit-gap.c (struct): Likewise.
13395 * iconvdata/ansi_x3.110.c : Likewise.
13396 * iconvdata/big5.c : Likewise.
13397 * iconvdata/big5hkscs.c : Likewise.
13398 * iconvdata/cp1255.c: Likewise.
13399 * iconvdata/cp1258.c : Likewise.
13400 * iconvdata/cp932.c : Likewise.
13401 * iconvdata/euc-cn.c: Likewise.
13402 * iconvdata/euc-jisx0213.c : Likewise.
13403 * iconvdata/euc-jp.c: Likewise.
13404 * iconvdata/euc-jp-ms.c : Likewise.
13405 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13406 * iconvdata/gb18030.c : Likewise.
13407 * iconvdata/gbbig5.c (const): Likewise.
13408 * iconvdata/gbgbk.c: Likewise.
13409 * iconvdata/gbk.c : Likewise.
13410 * iconvdata/ibm1364.c : Likewise.
13411 * iconvdata/ibm930.c : Likewise.
13412 * iconvdata/ibm932.c: Likewise.
13413 * iconvdata/ibm933.c : Likewise.
13414 * iconvdata/ibm935.c : Likewise.
13415 * iconvdata/ibm937.c : Likewise.
13416 * iconvdata/ibm939.c : Likewise.
13417 * iconvdata/ibm943.c: Likewise.
13418 * iconvdata/iso_11548-1.c: Likewise.
13419 * iconvdata/iso-2022-cn.c : Likewise.
13420 * iconvdata/iso-2022-cn-ext.c : Likewise.
13421 * iconvdata/iso-2022-jp-3.c: Likewise.
13422 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13423 * iconvdata/iso-2022-kr.c : Likewise.
13424 * iconvdata/iso646.c (gconv_end): Likewise.
13425 * iconvdata/iso_6937-2.c : Likewise.
13426 * iconvdata/iso_6937.c : Likewise.
13427 * iconvdata/iso8859-1.c: Likewise.
13428 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13429 * iconvdata/shift_jisx0213.c : Likewise.
13430 * iconvdata/sjis.c : Likewise.
13431 * iconvdata/t.61.c : Likewise.
13432 * iconvdata/tcvn5712-1.c : Likewise.
13433 * iconvdata/tscii.c: Likewise.
13434 * iconvdata/uhc.c : Likewise.
13435 * iconvdata/unicode.c (gconv_end): Likewise.
13436 * iconvdata/utf-16.c (gconv_end): Likewise.
13437 * iconvdata/utf-32.c (gconv_end): Likewise.
13438 * iconvdata/utf-7.c (base64): Likewise.
13439 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13440 * iconv/gconv_close.c (__gconv_close): Likewise.
13441 * iconv/gconv_open.c (__gconv_open): Likewise.
13442 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13443 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13444 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13445 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13446 (ucs4le_internal_loop_single): Likewise.
13447 * iconv/iconv.c (iconv): Likewise.
13448 * iconv/iconv_close.c: Likewise.
13449 * iconv/loop.c (SINGLE): Likewise.
13450 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13451 * include/atomic.h: Likewise.
13452 * inet/inet6_option.c (option_alloc): Likewise.
13453 * intl/bindtextdom.c (set_binding_values): Likewise.
13454 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13455 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13456 * intl/localealias.c (read_alias_file): Likewise.
13457 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13458 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13459 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13460 * libio/fmemopen.c (fmemopen): Likewise.
13461 * libio/iofgets.c (_IO_fgets): Likewise.
13462 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13463 * libio/iofgetws.c (fgetws): Likewise.
13464 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13465 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13466 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13467 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13468 * locale/findlocale.c (_nl_find_locale): Likewise.
13469 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13470 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13472 * locale/setlocale.c (setlocale): Likewise.
13473 * login/programs/pt_chown.c (main): Likewise.
13474 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13475 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13476 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13477 (mmap, mmap64, mremap, munmap): Likewise.
13478 * math/e_exp2l.c: Likewise.
13479 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13480 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13481 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13482 * math/s_catan.c (__catan): Likewise.
13483 * math/s_catanf.c (__catanf): Likewise.
13484 * math/s_catanh.c (__catanh): Likewise.
13485 * math/s_catanhf.c (__catanhf): Likewise.
13486 * math/s_catanhl.c (__catanhl): Likewise.
13487 * math/s_catanl.c (__catanl): Likewise.
13488 * math/s_ccosh.c (__ccosh): Likewise.
13489 * math/s_ccoshf.c (__ccoshf): Likewise.
13490 * math/s_ccoshl.c (__ccoshl): Likewise.
13491 * math/s_cexp.c (__cexp): Likewise.
13492 * math/s_cexpf.c (__cexpf): Likewise.
13493 * math/s_cexpl.c (__cexpl): Likewise.
13494 * math/s_clog10.c (__clog10): Likewise.
13495 * math/s_clog10f.c (__clog10f): Likewise.
13496 * math/s_clog10l.c (__clog10l): Likewise.
13497 * math/s_clog.c (__clog): Likewise.
13498 * math/s_clogf.c (__clogf): Likewise.
13499 * math/s_clogl.c (__clogl): Likewise.
13500 * math/s_csin.c (__csin): Likewise.
13501 * math/s_csinf.c (__csinf): Likewise.
13502 * math/s_csinh.c (__csinh): Likewise.
13503 * math/s_csinhf.c (__csinhf): Likewise.
13504 * math/s_csinhl.c (__csinhl): Likewise.
13505 * math/s_csinl.c (__csinl): Likewise.
13506 * math/s_csqrt.c (__csqrt): Likewise.
13507 * math/s_csqrtf.c (__csqrtf): Likewise.
13508 * math/s_csqrtl.c (__csqrtl): Likewise.
13509 * math/s_ctan.c (__ctan): Likewise.
13510 * math/s_ctanf.c (__ctanf): Likewise.
13511 * math/s_ctanh.c (__ctanh): Likewise.
13512 * math/s_ctanhf.c (__ctanhf): Likewise.
13513 * math/s_ctanhl.c (__ctanhl): Likewise.
13514 * math/s_ctanl.c (__ctanl): Likewise.
13515 * math/w_pow.c: Likewise.
13516 * math/w_powf.c: Likewise.
13517 * math/w_powl.c: Likewise.
13518 * math/w_scalb.c (sysv_scalb): Likewise.
13519 * math/w_scalbf.c (sysv_scalbf): Likewise.
13520 * math/w_scalbl.c (sysv_scalbl): Likewise.
13521 * misc/error.c (error_tail): Likewise.
13522 * misc/pselect.c (__pselect): Likewise.
13523 * nis/nis_callback.c (__nis_create_callback): Likewise.
13524 * nis/nis_call.c (__nisfind_server): Likewise.
13525 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13526 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13527 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13528 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13529 * nis/nis_lookup.c (nis_lookup): Likewise.
13530 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13531 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13532 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13533 * nis/nis_xdr.c (xdr_endpoint): Likewise.
13534 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13535 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13536 * nis/nss_compat/compat-initgroups.c (add_group)
13537 (internal_getgrent_r): Likewise.
13538 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13539 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13540 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13541 (internal_getspnam_r): Likewise.
13542 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13543 (_nss_nis_getaliasbyname_r): Likewise.
13544 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13545 (_nss_nis_getntohost_r): Likewise.
13546 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13547 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13548 (_nss_nis_getgrgid_r): Likewise.
13549 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13550 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13551 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13552 (_nss_nis_gethostbyname4_r): Likewise.
13553 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13554 (initgroups_netid): Likewise.
13555 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13556 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13557 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13558 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13559 (_nss_nis_getprotobynumber_r): Likewise.
13560 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13561 (_nss_nis_getsecretkey): Likewise.
13562 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13563 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13564 (_nss_nis_getpwuid_r): Likewise.
13565 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13566 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13567 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13568 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13569 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13570 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13571 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13573 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13574 (_nss_nisplus_getntohost_r): Likewise.
13575 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13576 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13577 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13578 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13580 * nis/nss_nisplus/nisplus-initgroups.c
13581 (_nss_nisplus_initgroups_dyn): Likewise.
13582 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13583 (_nss_nisplus_getnetbyaddr_r): Likewise.
13584 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13585 (_nss_nisplus_getprotobynumber_r): Likewise.
13586 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13587 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13588 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13590 * nis/nss_nisplus/nisplus-service.c
13591 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13592 (_nss_nisplus_getservbyport_r): Likewise.
13593 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13594 (_nss_nisplus_getspnam_r): Likewise.
13595 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13597 * nscd/aicache.c (addhstaiX): Likewise.
13598 * nscd/cache.c (cache_search, prune_cache): Likewise.
13599 * nscd/connections.c (register_traced_file, send_ro_fd)
13600 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13601 (main_loop_epoll): Likewise.
13602 * nscd/grpcache.c (addgrbyX): Likewise.
13603 * nscd/hstcache.c (addhstbyX): Likewise.
13604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13605 * nscd/mem.c (gc, mempool_alloc): Likewise.
13606 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13607 (addinnetgrX): Likewise.
13608 * nscd/nscd-client.h (__nscd_acquire_maplock)
13609 (__nscd_drop_map_ref): Likewise.
13610 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13611 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13612 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13614 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13615 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13616 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13617 (__nscd_get_map_ref): Likewise.
13618 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13619 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13621 * nscd/pwdcache.c (addpwbyX): Likewise.
13622 * nscd/selinux.c (preserve_capabilities): Likewise.
13623 * nscd/servicescache.c (addservbyX): Likewise.
13624 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13625 * posix/fnmatch.c (fnmatch): Likewise.
13626 * posix/getopt.c (_getopt_internal_r): Likewise.
13627 * posix/glob.c (glob, glob_in_dir): Likewise.
13628 * posix/wordexp.c (exec_comm_child): Likewise.
13629 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13630 (getanswer_r, gaih_getanswer_slice): Likewise.
13631 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13632 * resolv/res_init.c: Likewise.
13633 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13634 * resolv/res_query.c (__libc_res_nquery): Likewise.
13635 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13637 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13638 * stdio-common/perror.c (perror): Likewise.
13639 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13640 * stdio-common/tmpnam.c (tmpnam): Likewise.
13641 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13642 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13643 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13645 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13646 * stdlib/putenv.c (putenv): Likewise.
13647 * stdlib/setenv.c (__add_to_environ): Likewise.
13648 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13649 * stdlib/strtol_l.c (INTERNAL): Likewise.
13650 * string/memmem.c (memmem): Likewise.
13651 * string/strerror.c (strerror): Likewise.
13652 * string/strnlen.c (__strnlen): Likewise.
13653 * string/test-memmem.c (simple_memmem): Likewise.
13654 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13655 * sunrpc/pm_getport.c (__get_socket): Likewise.
13656 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13657 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13658 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13659 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13661 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13663 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13664 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13665 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13666 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13668 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13670 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13671 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13672 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13673 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13674 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13676 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13677 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13678 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13679 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13680 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13683 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13685 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13688 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13689 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13690 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13691 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13692 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13693 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13696 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13697 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13699 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13700 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13702 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13704 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13706 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13710 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13712 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13714 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13715 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13716 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13717 * sysdeps/posix/sleep.c: Likewise.
13718 * sysdeps/posix/tempname.c: Likewise.
13719 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13720 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13722 * sysdeps/powerpc/powerpc32/dl-machine.h
13723 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13724 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13726 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13727 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13729 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13730 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13731 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13732 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13733 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13734 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13735 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13736 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13737 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13738 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13740 (elf_machine_lazy_rel): Likewise.
13741 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13743 (elf_machine_lazy_rel): Likewise.
13744 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13745 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13746 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13747 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13748 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13749 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13750 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13753 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13754 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13755 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13756 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13757 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13758 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13759 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13760 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13761 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13762 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13763 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13765 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13766 (__posix_fallocate64_l64): Likewise.
13767 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13768 (posix_fallocate): Likewise.
13769 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13772 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13773 (getifaddrs_internal): Likewise.
13774 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13775 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13776 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13777 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13778 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13779 (__posix_fallocate64_l64): Likewise.
13780 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13782 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13783 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13784 (__get_clockfreq): Likewise.
13785 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13786 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13787 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13790 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13791 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13792 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13794 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13795 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13796 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13797 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13798 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13799 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13800 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13802 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13803 (posix_fallocate): Likewise.
13804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13805 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13806 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13807 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13808 (elf_machine_rela, elf_machine_rela_relative)
13809 (elf_machine_lazy_rel): Likewise.
13810 * time/asctime.c (asctime_internal): Likewise.
13811 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13812 * time/tzset.c (__tzset_parse_tz): Likewise.
13813 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13814 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13815 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13816 * wcsmbs/wcsmbsload.h: Likewise.
13819 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13821 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13822 (arena_get2): Remove THREAD_STATS conditionals.
13823 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13824 (__malloc_stats, int): Likewise.
13826 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13828 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13829 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13831 * manual/setjmp.texi: Fix typos/grammar errors.
13833 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13834 Only return early when n is <= 0. Delete unused return statement.
13836 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13837 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13838 * debug/tst-longjmp_chk3.c: New file.
13840 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13841 (test_main): Replace code with set_fortify_handler call.
13842 * debug/test-strcpy_chk.c: Likewise.
13843 * debug/tst-chk1.c: Likewise.
13844 * debug/tst-longjmp_chk.c: Likewise.
13845 * test-skeleton.c: Include fcntl.h & paths.h
13846 (set_fortify_handler): Define.
13848 * debug/tst-longjmp_chk.c: Add header comment and include
13849 ../test-skeleton.c.
13850 (do_test): Mark static.
13851 (TEST_FUNCTION): Define.
13853 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13854 (IP_PMTUDISC_INTERFACE): Likewise.
13855 (IP_MULTICAST_IF): Likewise.
13856 (IP_MULTICAST_TTL): Likewise.
13857 (IP_MULTICAST_LOOP): Likewise.
13858 (IP_ADD_MEMBERSHIP): Likewise.
13859 (IP_DROP_MEMBERSHIP): Likewise.
13860 (IP_UNBLOCK_SOURCE): Likewise.
13861 (IP_BLOCK_SOURCE): Likewise.
13862 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13863 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13864 (IP_MSFILTER): Likewise.
13865 (MCAST_JOIN_GROUP): Likewise.
13866 (MCAST_BLOCK_SOURCE): Likewise.
13867 (MCAST_UNBLOCK_SOURCE): Likewise.
13868 (MCAST_LEAVE_GROUP): Likewise.
13869 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13870 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13871 (MCAST_MSFILTER): Likewise.
13872 (IP_MULTICAST_ALL): Likewise.
13873 (IP_UNICAST_IF): Likewise.
13875 * timezone/Makefile: Delete $(have-ksh) check.
13876 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13877 * timezone/tzselect.ksh: Add +x mode bits.
13879 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13880 (ANON_INODE_FS_MAGIC): Likewise.
13881 (BDEVFS_MAGIC): Likewise.
13882 (BINFMTFS_MAGIC): Likewise.
13883 (BTRFS_TEST_MAGIC): Likewise.
13884 (CRAMFS_MAGIC_WEND): Likewise.
13885 (DEBUGFS_MAGIC): Likewise.
13886 (ECRYPTFS_SUPER_MAGIC): Likewise.
13887 (EXT3_SUPER_MAGIC): Likewise.
13888 (EXT4_SUPER_MAGIC): Likewise.
13889 (FUTEXFS_SUPER_MAGIC): Likewise.
13890 (HOSTFS_SUPER_MAGIC): Likewise.
13891 (HUGETLBFS_MAGIC): Likewise.
13892 (MINIX3_SUPER_MAGIC): Likewise.
13893 (MTD_INODE_FS_MAGIC): Likewise.
13894 (NILFS_SUPER_MAGIC): Likewise.
13895 (OPENPROM_SUPER_MAGIC): Likewise.
13896 (PIPEFS_MAGIC): Likewise.
13897 (PSTOREFS_MAGIC): Likewise.
13898 (QNX6_SUPER_MAGIC): Likewise.
13899 (RAMFS_MAGIC): Likewise.
13900 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13901 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13902 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13903 (SECURITYFS_MAGIC): Likewise.
13904 (SELINUX_MAGIC): Likewise.
13905 (SMACK_MAGIC): Likewise.
13906 (SOCKFS_MAGIC): Likewise.
13907 (SQUASHFS_MAGIC): Likewise.
13908 (STACK_END_MAGIC): Likewise.
13909 (TMPFS_MAGIC): Likewise.
13910 (USBDEVICE_SUPER_MAGIC): Likewise.
13911 (V9FS_MAGIC): Likewise.
13912 (XENFS_SUPER_MAGIC): Likewise.
13913 (CRAMFS_MAGIC): Fix typo in comment.
13914 (EXT2_SUPER_MAGIC): Update comment.
13915 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13917 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13919 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13920 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13921 * sysdeps/unix/sysv/linux/arm: Move directory from
13922 ports/sysdeps/unix/sysv/linux/arm.
13923 * README: Update listing for arm-*-linux-gnueabi.
13925 * README: Remove mention of am33.
13927 2014-02-07 Roland McGrath <roland@hack.frob.com>
13929 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13930 than the comma operator, to avoid "rhs of comma has no effect"
13932 (__sigfillset, __sigandset, __sigorset): Likewise.
13933 * include/signal.h (__sigemptyset): Likewise.
13934 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13936 2014-02-07 Allan McRae <allan@archlinux.org>
13938 * version.h (RELEASE): Set to "development".
13939 (VERSION): Set to "2.19.90"
13940 * NEWS: Add 2.20 section.
13942 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13945 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13947 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13949 * manual/contrib.texi: Update entry for Carlos O'Donell,
13950 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13952 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13954 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13956 * sysdeps/unix/sysv/linux/kernel-features.h
13957 [__LINUX_KERNEL_VERSION >= 0x020621]
13958 (__ASSUME_PROC_PID_TASK_COMM): Define.
13960 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13963 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13964 conversion when destination buffer does not have enough space.
13965 * libio/tst-ftell-partial-wide.c: New test case.
13966 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13968 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13969 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13970 Leonard and Allan McRae.
13972 2014-02-04 David S. Miller <davem@davemloft.net>
13974 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13977 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14006 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14008 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14009 * shlib-versions: Likewise.
14011 2014-02-04 Roland McGrath <roland@hack.frob.com>
14012 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14014 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14015 (abilist-pattern): New variable, set to %-le.abilist.
14017 * Makerules (abilist-pattern): New variable.
14018 (vpath): Use $(abilist-pattern) in place of %.abilist.
14019 (check-abi-% pattern rule): Likewise.
14020 (check-abi, update-abi): Likewise.
14022 2014-02-04 Eric Wong <normalperson@yhbt.net>
14024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14026 2014-02-03 Carlos O'Donell <carlos@redhat.com>
14028 * manual/startup.texi: Add next, previous, and top entries for
14029 the `Program Arguments' and `Environment Variables' nodes.
14031 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
14033 * manual/macros.texi: Add comments before MTASC-safety macros.
14035 * manual/users.texi: Document MTASC-safety properties.
14037 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14038 (pthread_getspecific, pthread_setspecific): Format with
14039 @deftypefun, and add @safety note.
14040 * manual/signal.texi: Move comments that analyze the above
14041 functions to their home place.
14043 2014-02-03 Allan McRae <allan@archlinux.org>
14045 * po/sl.po: Update Slovenian translation from translation project.
14047 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
14049 * manual/time.texi (timegm): Add missing blank after @c.
14050 Reported by Joseph Myers <joseph@codesourcery.com>.
14052 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
14054 * manual/check-safety.sh: New.
14055 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14057 * manual/terminal.texi: Document MTASC-safety properties.
14059 * manual/filesys.texi: Document MTASC-safety properties.
14061 * manual/errno.texi: Document MTASC-safety properties.
14063 * manual/intro.texi: Document safety identifiers and
14066 * manual/string.texi (wcstok): Fix prototype.
14067 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14069 * manual/time.texi: Document MTASC-safety properties.
14071 * manual/string.texi: Document MTASC-safety properties.
14073 * manual/threads.texi: Document MTASC-safety properties.
14075 * manual/stdio.texi: Document MTASC-safety properties.
14077 * manual/syslog.texi: Document MTASC-safety properties.
14079 * manual/sysinfo.texi: Document MTASC-safety properties.
14081 * manual/startup.texi: Document MTASC-safety properties.
14083 * manual/socket.texi: Document MTASC-safety properties.
14085 * manual/signal.texi: Document MTASC-safety properties.
14087 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14089 * manual/setjmp.texi: Document MTASC-safety properties.
14091 * manual/search.texi: Document MTASC-safety properties.
14093 * manual/resource.texi: Document MTASC-safety properties.
14095 * manual/process.texi: Document MTASC-safety properties.
14097 * manual/platform.texi: Document MTASC-safety properties.
14099 * manual/pipe.texi: Document MTASC-safety properties.
14101 * manual/pattern.texi: Document MTASC-safety properties.
14103 * manual/message.texi: Document MTASC-safety properties.
14106 * manual/memory.texi: Document MTASC-safety properties.
14108 * manual/math.texi: Document MTASC-safety properties.
14110 * manual/locale.texi: Document MTASC-safety properties.
14112 * manual/llio.texi: Document MTASC-safety properties.
14114 * manual/libdl.texi: New.
14116 * manual/lang.texi: Document MTASC-safety properties.
14118 * manual/job.texi: Document MTASC-safety properties.
14120 * manual/getopt.texi: Document MTASC-safety properties.
14122 * manual/ctype.texi: Document MTASC-safety properties.
14124 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14127 * csu/libc-tls.c (static_map): Remove variable.
14128 (__libc_setup_tls): Use main executable's link map for TLS data.
14129 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14130 casing for LM_ID_BASE and GL(dl_nns).
14131 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14132 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14133 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14134 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14135 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14137 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14140 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
14142 * manual/debug.texi: Document MTASC-safety properties.
14144 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14147 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14148 of __x86_64__ when disabling x87 inline functions.
14150 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
14152 * manual/charset.texi: Document MTASC-safety properties.
14154 * manual/crypt.texi: Document MTASC-safety properties.
14156 * manual/conf.texi: Document MTASC-safety properties.
14158 * manual/arith.texi: Document MTASC-safety properties.
14160 * manual/argp.texi: Document MTASC-safety properties.
14162 * manual/macros.texi: Introduce macros to document multi
14163 thread, asynchronous signal and asynchronous cancellation
14165 * manual/intro.texi: Introduce the properties themselves.
14167 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14169 * sysdeps/sh/sh4/Makefile: New file.
14171 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14173 * math/gen-libm-test.pl ($srcdir): New variable.
14174 ($auto_input): Use it.
14176 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14179 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14180 access beyond array bounds when parsing netgroups file.
14182 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14183 the old buffer before realloc.
14185 2014-01-27 Allan McRae <allan@archlinux.org>
14187 * po/fr.po: Update French translation from translation project.
14189 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14191 * sysdeps/sh/libm-test-ulps: Regenerate.
14193 2014-01-24 David S. Miller <davem@davemloft.net>
14195 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14197 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14199 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14200 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14202 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14205 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14206 string pointers after reallocation.
14208 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14210 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14211 __SH4A__ instead of __SH_FPU_ANY__.
14213 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14215 * sysdeps/sh/fpu_control.h: New file.
14216 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14217 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14218 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14219 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14220 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14221 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14222 * sysdeps/sh/sys/ucontext.h: Remove.
14223 * sysdeps/sh/sys: Remove directory.
14225 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14227 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14228 s390/sys/ucontext.h.
14229 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14230 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14232 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14235 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14237 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14240 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14241 Adjust the vDSO correctly for internal calls.
14242 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14244 2014-01-20 Allan McRae <allan@archlinux.org>
14246 * po/ca.po: Update Catalan translation from translation project.
14248 2014-01-16 Mike Frysinger <vapier@gentoo.org>
14250 * sysdeps/s390/sotruss-lib.c: New file.
14252 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14255 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14256 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14257 local calls issues by not having a PLT stub required for IFUNC calls.
14258 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14260 2014-01-16 Joseph Myers <joseph@codesourcery.com>
14262 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14263 * math/test-fpucw-static.c: Likewise.
14265 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14268 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14270 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14272 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14273 implementation for powerpc.
14275 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
14278 * sysdeps/posix/system.c (__libc_system): Do not enable
14279 asynchronous cancellation.
14281 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14284 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14285 handling only for numbers special also in the IEEE case.
14287 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14289 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14291 2014-01-11 Allan McRae <allan@archlinux.org>
14293 * po/bg.po: Update Bulgarian translation from translation project.
14295 * po/de.po: Update German translation from translation project.
14297 2014-01-10 Roland McGrath <roland@hack.frob.com>
14299 * sysdeps/generic/gcc-compat.h: New file.
14301 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14303 * benchtests/asin-inputs: Correct slow inputs.
14304 * benchtests/acos-inputs: Likewise.
14306 2014-01-10 Allan McRae <allan@archlinux.org>
14308 * po:sv.po: Update Swedish translation from translation project.
14310 * po/vi.po: Update Vietnamese translation from translation project.
14312 * po/eo.po: Update Esperanto translation from translation project.
14314 * po/cs.po: Update Czech translation from translation project.
14316 * po/nl.po: Update Dutch translation from translation project.
14318 * po/pl.po: Update Polish translation from translation project.
14320 * po/ru.po: Update Russian translation from translation project.
14322 * po/uk.po: Update Ukrainian translation from translation project.
14324 2014-01-08 Brooks Moses <bmoses@google.com>
14326 * elf/dl-load.c: Fix comment typo.
14328 2014-01-08 Carlos O'Donell <carlos@redhat.com>
14330 * po/header.pot: Rename to...
14331 * po/pot.header: ... this.
14332 * po/Makefile: Use pot.header.
14334 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14335 Maxim Kuvyrkov <maxim@kugelworks.com>
14338 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14339 SRC and DEST against LEN.
14341 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14344 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14346 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14348 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14352 2014-01-08 Joseph Myers <joseph@codesourcery.com>
14355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14356 for large positive arguments.
14358 2014-01-07 Joseph Myers <joseph@codesourcery.com>
14360 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14362 * math/auto-libm-test-in: Mark various tests with
14363 xfail-rounding:ldbl-128ibm.
14364 * math/auto-libm-test-out: Regenerated.
14367 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14368 Increase overflow threshold.
14370 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
14373 * stdio-common/vfprintf.c: Check for integer overflow.
14375 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14377 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14378 the first argument and return value of __tls_get_addr_internal.
14380 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14382 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14383 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14385 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14387 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14388 * sysdeps/s390/rtld-global-offsets.sym: New file.
14389 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14391 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14392 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14393 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14395 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14396 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14402 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14403 halfs of GPRs for high_gprs contexts.
14404 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14405 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14407 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14409 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14411 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14412 for high GPRs (uc_high_gprs) and for future extensions
14414 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14415 for future extensions (__reserved).
14416 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14418 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14419 SC_HIGHGPRS offset definition.
14420 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14421 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14423 * Versions.def: Add GLIBC_2.19 for libpthread.
14424 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14425 siglongjmp for libpthread with GLIBC_2.19 symver.
14426 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14427 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14428 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14429 * sysdeps/s390/__longjmp.c: New file.
14430 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14431 * sysdeps/s390/longjmp.c: New file.
14432 * sysdeps/s390/setjmp.S: New file.
14433 * sysdeps/s390/sigjmp.S: New file.
14434 * sysdeps/s390/v1-longjmp.c: New file.
14435 * sysdeps/s390/v1-setjmp.h: New file.
14436 * sysdeps/s390/v1-sigjmp.c: New file.
14437 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14438 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14439 GLIBC_2.19 version.
14440 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14441 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14442 versioned symbols for ____longjmp_chk.
14443 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14453 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14454 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14455 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14456 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14457 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14458 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14459 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14460 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14461 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14462 * sysdeps/s390/rtld-__longjmp.c: New file.
14463 * sysdeps/s390/rtld-setjmp.S: New file.
14465 2014-01-06 Joseph Myers <joseph@codesourcery.com>
14468 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14469 Return -__logl (x) for small positive arguments without evaluating
14472 2014-01-06 Mike Frysinger <vapier@gentoo.org>
14474 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14476 (__ptrace_peeksiginfo_args): ... this.
14477 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14478 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14479 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14481 2014-01-06 Allan McRae <allan@archlinux.org>
14483 * inet/netinet/in.h: Fix typo in comment.
14485 2014-01-05 Andreas Jaeger <aj@suse.de>
14487 * sysdeps/i386/fpu/libm-test-ulps: Update.
14489 2014-01-05 Allan McRae <allan@archlinux.org>
14491 * po/libc.pot: Regenerated.
14493 * malloc/memusagestat.c: Fix gettext call formatting.
14495 2014-01-04 Sami Kerola <kerolasa@iki.fi>
14497 * nscd/nscd.c: Improve usage() output.
14499 2014-01-04 Mike Frysinger <vapier@gentoo.org>
14501 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14502 * sysdeps/unix/sysv/linux/configure: Regenerated.
14503 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14504 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14506 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14509 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14510 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14512 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14514 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14515 extra tokens at end of #undef directive.
14516 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14517 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14520 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14522 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14524 * math/auto-libm-test-in: Mark various tests with
14525 xfail-rounding:ldbl-128ibm.
14526 * math/auto-libm-test-out: Regenerated.
14528 2014-01-02 Joseph Myers <joseph@codesourcery.com>
14531 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14532 numbers with subnormal high part when calculating exponent.
14535 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14539 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14541 (__ieee754_acoshl): Use __log1pl not __log1p.
14543 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
14545 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14546 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14547 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14548 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14549 (reused_arena, arena_get2): Convert to GNU style.
14550 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14551 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14552 (memalign_check, __malloc_set_state): Likewise.
14553 * malloc/mallocbug.c (main): Likewise.
14554 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14555 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14556 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14557 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14558 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14559 (__posix_memalign, malloc_info): Likewise.
14560 * malloc/malloc.h: Likewise.
14561 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14562 (mallochook, memalignhook, reallochook, mabort): Likewise.
14563 * malloc/mcheck.h: Likewise.
14564 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14565 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14566 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14567 * malloc/morecore.c (__default_morecore): Likewise.
14568 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14569 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14570 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14571 (print_and_abort): Likewise.
14572 * malloc/obstack.h: Likewise.
14573 * malloc/set-freeres.c (__libc_freeres): Likewise.
14574 * malloc/tst-mallocstate.c (main): Likewise.
14575 * malloc/tst-mtrace.c (main): Likewise.
14576 * malloc/tst-realloc.c (do_test): Likewise.
14578 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14581 * nscd/netgroupcache.c (do_notfound): New function.
14582 (addgetnetgrentX): Use it.
14585 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14586 NSS_STATUS_NOTFOUND.
14588 2014-01-01 Joseph Myers <joseph@codesourcery.com>
14590 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14593 2014-01-01 Allan McRae <allan@archlinux.org>
14595 * scripts/update-copyrights: Update configure input file suffix.
14597 * NEWS: Update copyright year.
14598 * catgets/gencat.c: Likewise.
14599 * csu/version.c: Likewise.
14600 * debug/catchsegv.sh: Likewise.
14601 * debug/pcprofiledump.c: Likewise.
14602 * debug/xtrace.sh: Likewise.
14603 * elf/ldconfig.c: Likewise.
14604 * elf/ldd.bash.in: Likewise.
14605 * elf/pldd.c: Likewise.
14606 * elf/sotruss.ksh: Likewise.
14607 * elf/sprof.c: Likewise.
14608 * iconv/iconv_prog.c: Likewise.
14609 * iconv/iconvconfig.c: Likewise.
14610 * locale/programs/locale.c: Likewise.
14611 * locale/programs/localedef.c: Likewise.
14612 * login/programs/pt_chown.c: Likewise.
14613 * malloc/memusage.sh: Likewise.
14614 * malloc/memusagestat.c: Likewise.
14615 * malloc/mtrace.pl: Likewise.
14616 * manual/libc.texinfo: Likewise.
14617 * nscd/nscd.c: Likewise.
14618 * nss/getent.c: Likewise.
14619 * nss/makedb.c: Likewise.
14620 * posix/getconf.c: Likewise.
14621 * scripts/test-installation.pl: Likewise.
14623 * All files with FSF copyright notices: Update copyright dates
14624 using scripts/update-copyrights.
14625 * intl/plural.c: Regenerated.
14626 * locale/programs/charmap-kw.h: Likewise.
14627 * locale/programs/locfile-kw.h: Likewise.
14629 2013-12-31 Mike Frysinger <vapier@gentoo.org>
14631 * sysdeps/unix/sysv/linux/configure: Regenerated.
14632 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14633 the linux/fanotify.h header.
14634 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14635 HAVE_LINUX_FANOTIFY_H is defined.
14637 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14639 * benchtests/cos-inputs: New inputs.
14640 * benchtests/sin-inputs: Likewise.
14642 * benchtests/atan-inputs: New inputs. Fix name of multiple
14643 precision fallback inputs.
14645 * benchtests/atanh-inputs: New inputs.
14646 * benchtests/tanh-inputs: Likewise.
14648 * benchtests/acosh-inputs: New inputs.
14649 * benchtests/asinh-inputs: Likewise.
14651 * benchtests/cosh-inputs: New inputs.
14652 * benchtests/sinh-inputs: Likewise.
14654 * benchtests/acos-inputs: Add more inputs.
14655 * benchtests/asin-inputs: Likewise.
14657 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14660 * manual/arith.texi: Fix spelling.
14661 * manual/charset.texi: Likewise.
14662 * manual/errno.texi: Likewise.
14663 * manual/filesys.texi: Likewise.
14664 * manual/lang.texi: Likewise.
14665 * manual/llio.texi: Likewise.
14666 * manual/locale.texi: Likewise.
14667 * manual/message.texi: Likewise.
14668 * manual/resource.texi: Likewise.
14669 * manual/search.texi: Likewise.
14670 * manual/setjmp.texi: Likewise.
14671 * manual/stdio.texi: Likewise.
14672 * manual/string.texi: Likewise.
14673 * manual/sysinfo.texi: Likewise.
14674 * manual/time.texi: Likewise.
14676 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14678 * po/sl.po: New file.
14680 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14682 * .gitignore: Add core/.gdbinit/.gdb_history.
14684 2013-12-27 Allan McRae <allan@archlinux.org>
14687 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14688 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14690 2013-12-24 Brooks Moses <bmoses@google.com>
14692 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14693 all compilers that claim C++98 compliance, not just GCC.
14694 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14697 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14699 * NEWS: Restore accidentally deleted bug-fix entries.
14701 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14702 Ondřej Bílka <neleai@seznam.cz>
14705 * malloc/malloc.c (_int_free): Perform sanity check only if we
14708 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14711 * manual/stdio.texi (String Input Conversions): Clarify that character
14712 classes are not supported.
14714 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14718 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14721 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14722 Calculate results for small negative arguments directly rather
14723 than using reflection formula with special underflow handling.
14725 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14726 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14727 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14728 (fchflags): Likewise.
14729 (revoke): Likewise.
14730 (setlogin): Likewise.
14731 (sigaltstack): Likewise.
14733 (sigblock): Remove.
14734 (sigsetmask): Likewise.
14736 (waitpid): Likewise.
14737 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14738 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14740 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14741 * sysdeps/unix/bsd/Makefile: ... here.
14742 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14743 * sysdeps/unix/bsd/Versions: ... here.
14744 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14745 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14746 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14747 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14748 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14749 * sysdeps/unix/bsd/sigblock.c: ... here.
14750 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14751 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14752 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14753 * sysdeps/unix/bsd/sigvec.c: ... here.
14754 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14755 * sysdeps/unix/bsd/tcdrain.c: ... here.
14756 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14757 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14758 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14759 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14760 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14761 * sysdeps/unix/bsd/wait.c: ... here.
14762 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14763 * sysdeps/unix/bsd/wait3.c: ... here.
14764 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14765 * sysdeps/unix/bsd/waitpid.c: ... here.
14767 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14770 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14771 round-to-nearest for [!USE_AS_EXPM1L].
14772 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14773 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14774 more tests of exp and exp10. Expect some exp10 tests to miss
14775 exceptions or fail in directed rounding modes.
14776 * math/auto-libm-test-out: Regenerated.
14777 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14778 (exp10_test_tonearest): New function.
14779 (exp10_towardzero_test_data): New array.
14780 (exp10_test_towardzero): New function.
14781 (exp10_downward_test_data): New array.
14782 (exp10_test_downward): New function.
14783 (exp10_upward_test_data): New array.
14784 (exp10_test_upward): New function.
14785 (main): Call the new functions.
14786 * sysdeps/i386/fpu/libm-test-ulps: Update.
14787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14789 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14791 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14792 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14793 * math/auto-libm-test-out: Regenerated.
14794 * math/libm-test.inc (acosh_test_data): Add more tests.
14795 (atanh_test_data): Likewise.
14796 (ceil_test_data): Likewise.
14797 (copysign_test_data): Likewise.
14798 * sysdeps/i386/fpu/libm-test-ulps: Update.
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14801 * timezone/checktab.awk: Update from tzcode 2013i.
14802 * timezone/private.h: Likewise.
14803 * timezone/scheck.c: Likewise.
14804 * timezone/tzfile.h: Likewise.
14805 * timezone/tzselect.ksh: Likewise.
14806 * timezone/zdump.c: Likewise.
14807 * timezone/zic.c: Likewise.
14809 * math/auto-libm-test-in: Add tests of cpow.
14810 * math/auto-libm-test-out: Regenerated.
14811 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14812 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14814 (func_calc_desc): Add mpc_cc_c union field.
14815 (test_functions): Add cpow.
14816 (special_fill_2pi): New function.
14817 (special_real_inputs): Add 2pi.
14818 (calc_generic_results): Handle mpc_cc_c.
14819 * sysdeps/i386/fpu/libm-test-ulps: Update.
14820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14822 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14823 csqrt, ctan and ctanh.
14824 * math/auto-libm-test-out: Regenerated.
14825 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14826 (TEST_COND_x86): Likewise.
14827 (ccos_test_data): Use AUTO_TESTS_c_c.
14828 (ccosh_test_data): Likewise.
14829 (cexp_test_data): Likewise.
14830 (clog_test_data): Likewise.
14831 (csqrt_test_data): Likewise.
14832 (ctan_test_data): Likewise.
14833 (ctan_tonearest_test_data): Likewise.
14834 (ctan_towardzero_test_data): Likewise.
14835 (ctan_downward_test_data): Likewise.
14836 (ctan_upward_test_data): Likewise.
14837 (ctanh_test_data): Likewise.
14838 (ctanh_tonearest_test_data): Likewise.
14839 (ctanh_towardzero_test_data): Likewise.
14840 (ctanh_downward_test_data): Likewise.
14841 (ctanh_upward_test_data): Likewise.
14842 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14844 (func_calc_desc): Add mpc_c_c union field.
14845 (FUNC_mpc_c_c): New macro.
14846 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14847 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14849 (special_fill_min_subnorm_p120): New function.
14850 (special_real_inputs): Add min_subnorm_p120.
14851 (calc_generic_results): Handle mpc_c_c.
14852 * sysdeps/i386/fpu/libm-test-ulps: Update.
14853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14855 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14857 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14858 (do_sin_slow): New functions.
14859 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14860 (cslow2, csloww1, csloww2): Use the new functions.
14862 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14863 Use M to change sign of result instead of X. Assume X is
14865 (csloww1): Likewise.
14869 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14870 arguments A and DA.
14874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14876 (sloww1): Don't adjust sign of DX.
14877 (csloww1): Likewise.
14878 (sloww2): Use X directly and don't adjust sign of DX.
14879 (csloww2): Likewise.
14881 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14883 * math/auto-libm-test-in: Add tests of cabs and carg.
14884 * math/auto-libm-test-out: Regenerated.
14885 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14886 (carg_test_data): Likewise.
14887 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14889 (func_calc_desc): Add mpc_c_f union field.
14890 (test_functions): Add cabs and carg.
14891 (calc_generic_results): Handle mpc_c_f.
14893 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14894 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14895 as a macro and a compat symbol.
14896 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14897 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14898 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14899 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14900 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14907 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14909 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14911 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14913 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14914 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14917 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14921 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14923 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14924 trailing whitespace removed.
14925 * scripts/config.guess: Update to version 2013-11-29.
14926 * scripts/config.sub: Update to version 2013-10-01.
14928 * math/auto-libm-test-in: Add tests of sincos.
14929 * math/auto-libm-test-out: Regenerated.
14930 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14931 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14933 (func_calc_desc): Add mpfr_f_11 union field.
14934 (test_functions): Add sincos.
14935 (calc_generic_results): Handle mpfr_f_11.
14936 * sysdeps/i386/fpu/libm-test-ulps: Update.
14937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14939 2013-12-19 Andreas Schwab <schwab@suse.de>
14941 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14943 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14944 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14945 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14947 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14949 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14950 * sysdeps/i386/fpu/libm-test-ulps: Update.
14951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14954 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14955 round-to-nearest mode when using frndint.
14956 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14957 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14958 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14960 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14962 * math/auto-libm-test-out: Regenerated.
14963 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14964 (TEST_COND_x86): Likewise.
14965 (expm1_tonearest_test_data): New array.
14966 (expm1_test_tonearest): New function.
14967 (expm1_towardzero_test_data): New array.
14968 (expm1_test_towardzero): New function.
14969 (expm1_downward_test_data): New array.
14970 (expm1_test_downward): New function.
14971 (expm1_upward_test_data): New array.
14972 (expm1_test_upward): New function.
14973 (main): Run the new test functions.
14974 * sysdeps/i386/fpu/libm-test-ulps: Update.
14975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14977 * include/features.h: Update comment documenting feature test
14978 macros. Mention _DEFAULT_SOURCE in comment.
14979 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14980 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14981 _BSD_SOURCE and _SVID_SOURCE.
14982 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14983 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14984 !_SVID_SOURCE]: Likewise.
14985 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14986 (__USE_POSIX_IMPLICITLY): Define.
14987 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14988 (_POSIX_SOURCE): Undefine and redefine.
14989 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14990 (_POSIX_C_SOURCE): Likewise.
14991 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14992 (Feature Test Macros): Update documentation of default features.
14994 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14996 * benchtests/Makefile: Add bench-strtok.
14997 * benchtests/bench-strtok.c: New file: strtok benchtest.
14999 2013-12-19 Allan McRae <allan@archlinux.org>
15001 * manual/install.texi: Suppress menu for plain text output.
15002 * INSTALL: Regenerated.
15004 2013-12-18 Brooks Moses <bmoses@google.com>
15007 * misc/getauxval.c: Include errno.h.
15008 (__getauxval): Set errno to ENOENT if the requested type is not
15010 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15011 don't declare with __attribute_const__.
15012 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15013 * manual/startup.texi: Document that getauxval sets errno.
15015 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15017 * math/auto-libm-test-in: Add tests of jn and yn.
15018 * math/auto-libm-test-out: Regenerated.
15019 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15020 (yn_test_data): Likewise.
15021 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15023 (func_calc_desc): Add mpfr_if_f union field.
15024 (FUNC_mpfr_if_f): New macro.
15025 (test_functions): Add jn and yn.
15026 (calc_generic_results): Assert type of second input for
15027 mpfr_ff_f. Handle mpfr_if_f.
15028 (output_for_one_input_case): Disable all checking for arguments
15029 fitting floating-point types in case of an integer argument.
15030 * sysdeps/i386/fpu/libm-test-ulps: Update.
15031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15034 Don't expect fegetround reference in libm.so.
15036 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15038 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15039 $(config-cflags-nofma).
15041 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15043 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15044 * math/auto-libm-test-out: Regenerated.
15047 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15048 to determine exponent and adjust argument to have exponent of -1.
15049 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15051 * math/auto-libm-test-out: Regenerated.
15052 * sysdeps/i386/fpu/libm-test-ulps: Update.
15053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15055 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
15057 * manual/probes.texi: Remove cases when per-thread arenas are
15060 2013-12-18 Andreas Schwab <schwab@suse.de>
15062 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15063 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15064 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15065 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15066 * sysdeps/i386/i686/multiarch/Makefile: Update.
15067 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15069 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15071 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15072 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15074 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15077 Support TZ transition times < 00:00:00.
15078 This is needed for version-3 tz-format files; it supports time
15079 stamps past 2037 for America/Godthab (the only entry in the tz
15080 database for which this change is relevant).
15081 * manual/time.texi (TZ Variable): Document transition times
15082 from -167:59:59 through -00:00:01.
15083 * time/tzset.c (tz_rule): Time of day is now signed.
15084 (__tzset_parse_tz): Parse negative time of day.
15086 Document TZ transition times >= 25:00:00.
15087 * manual/time.texi (TZ Variable): Document transition times from
15088 25:00:00 through 167:59:59. These are already supported, and this
15089 support will help with version-3 tz-format files.
15091 * manual/time.texi (TZ Variable): Modernize North America example
15092 to reflect current (i.e., 2007-and-later) daylight saving rules.
15094 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15096 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15098 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15099 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15101 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15102 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15103 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15104 * sysdeps/unix/bsd/clock.c: Likewise.
15105 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15106 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15107 * sysdeps/unix/bsd/init-posix.c: Likewise.
15108 * sysdeps/unix/bsd/poll.c: Likewise.
15109 * sysdeps/unix/bsd/ptsname.c: Likewise.
15110 * sysdeps/unix/bsd/seekdir.c: Likewise.
15111 * sysdeps/unix/bsd/setegid.c: Likewise.
15112 * sysdeps/unix/bsd/seteuid.c: Likewise.
15113 * sysdeps/unix/bsd/setgid.c: Likewise.
15114 * sysdeps/unix/bsd/setrgid.c: Likewise.
15115 * sysdeps/unix/bsd/setruid.c: Likewise.
15116 * sysdeps/unix/bsd/setsid.c: Likewise.
15117 * sysdeps/unix/bsd/setuid.c: Likewise.
15118 * sysdeps/unix/bsd/sigaction.c: Likewise.
15119 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15120 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15121 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15122 * sysdeps/unix/bsd/telldir.c: Likewise.
15123 * sysdeps/unix/bsd/times.c: Likewise.
15124 * sysdeps/unix/bsd/usleep.c: Likewise.
15126 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15127 ($(objpfx)libbsd-compat.a): Remove rule.
15129 * include/features.h (__FAVOR_BSD): Do not define.
15130 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15131 features conflicting with POSIX.
15132 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15133 (_BSD_SOURCE): Remove description of not being a subset of other
15134 feature test macros.
15135 * manual/job.texi (getpgrp): Do not document BSD version.
15136 (getpgid): Do not document by reference to BSD getpgrp.
15137 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15138 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15139 * signal/signal.h [__FAVOR_BSD]: Likewise.
15140 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15141 instead of making contents conditional on [__FAVOR_BSD].
15142 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15144 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15148 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15151 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15152 values below 2**-450, not 2**-500.
15153 * math/auto-libm-test-in: Don't allow spurious underflow from
15155 * math/auto-libm-test-out: Regenerated.
15159 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15160 values of ha and hb and sort them after adjusting subnormal
15162 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15164 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15165 values of ea and eb and sort them after adjusting subnormal
15167 * math/auto-libm-test-in: Do not expect some hypot tests of
15168 subnormals to fail. Add more hypot tests.
15169 * math/auto-libm-test-out: Regenerated.
15171 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15174 * sysdeps/sh/s_fma.c: New file.
15175 * sysdeps/sh/s_fmaf.c: New file.
15176 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15178 * sysdeps/sh/Implies: Add sh/soft-fp.
15180 2013-12-16 Roland McGrath <roland@hack.frob.com>
15182 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15183 level of indirection to members `objname', `errstring', `malloced'.
15184 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15185 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15186 it as the __longjmp argument (just pass 1 instead).
15187 (_dl_catch_error): Initialize C with argument pointers and address of
15188 volatile local ERRCODE rather than copying values out of C at return.
15190 2013-12-16 Joseph Myers <joseph@codesourcery.com>
15192 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15193 * math/auto-libm-test-out: Regenerated.
15194 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15195 (hypot_test_data): Likewise.
15196 (pow_test_data): Likewise.
15197 (pow_tonearest_test_data): Likewise.
15198 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15200 (func_calc_desc): Add mpfr_ff_f union field.
15201 (FUNC_mpfr_ff_f): New macro.
15202 (test_functions): Add atan2, hypot and pow.
15203 (special_fill_min): New function.
15204 (special_fill_minus_min): Likewise.
15205 (special_fill_min_subnorm): Likewise.
15206 (special_fill_minus_min_subnorm): Likewise.
15207 (special_real_inputs): Add min, -min, min_subnorm and
15209 (calc_generic_results): Handle mpfr_ff_f.
15210 * sysdeps/i386/fpu/libm-test-ulps: Update.
15211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15213 2013-12-16 Will Newton <will.newton@linaro.org>
15215 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15216 (Aligned Memory Blocks): Add documentation for aligned_alloc
15217 and suggest it as an alternative to posix_memalign.
15218 (Hooks for Malloc): Document __memalign_hook is also called
15219 for aligned_alloc. (Summary of Malloc): Add summary for
15220 aligned alloc. Document __memalign_hook is also called
15223 2013-12-16 Will Newton <will.newton@linaro.org>
15225 * manual/memory.texi (Malloc Examples): Clarify default
15226 alignment documentation. Suggest posix_memalign rather
15227 than memalign or valloc.
15228 (Aligned Memory Blocks): Remove suggestion to use memalign
15229 or valloc. Remove obsolete comment about BSD.
15230 Document memalign errno values and mark the function obsolete.
15231 Document posix_memalign returned error codes. Mark valloc
15232 as obsolete. (Hooks for Malloc): __memalign_hook is also
15233 called for posix_memalign and valloc.
15234 (Summary of Malloc): Add posix_memalign to function summary.
15235 __memalign_hook is also called for posix_memalign and valloc.
15237 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15239 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15243 (sloww): Use mynumber union. Expand ternary operator into
15244 if-else statements.
15245 (cslow): use mynumber union.
15247 2013-12-16 Allan McRae <allan@archlinux.org>
15249 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15250 * configure: Regenerated.
15252 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15255 * configure.ac: Added --enable-maintainer-mode. Check for
15256 autoconf when enabled.
15257 * configure: Regenerated.
15259 * nscd/nscd.service: New file.
15260 * nscd/nscd.tmpfiles: New file.
15262 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
15265 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15266 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15267 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15268 (strstr): Add __strstr_sse2_unaligned ifunc.
15269 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15270 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15271 (strcasestr): Remove __strcasestr_sse42 ifunc.
15272 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15276 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15278 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15279 * sysdeps/sh/bits/fenv.h: ... here.
15280 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15282 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15284 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15287 hypotf multiarch implementations.
15288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15291 multiarch hypot for PPC64.
15292 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15293 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15294 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15295 multiarch hypotf for PPC64.
15297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15298 modff multiarch implementations.
15299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15302 multiarch modf for PPC64.
15303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15306 multiarch modff for PPC64.
15308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15309 and logl multiarch implementations.
15310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15313 multiarch logb for PPC64.
15314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15317 multiarch logb for PPC64.
15318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15321 multiarch logb for PPC64.
15323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15324 isinff multiarch implementation.
15325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15329 multiarch isinf for PPC64.
15330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15333 multiarch isinff for PPC64.
15335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15336 finitef multiarch implementation.
15337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15341 multiarch finite for PPC64.
15342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15345 multiarch finitef for PPC64.
15347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15348 lrint multiarch implementation.
15349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15353 multiarch llrint for PPC64.
15354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15355 multiarch lrint for PPC64.
15357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15358 copysignf multiarch implementation.
15359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15364 multiarch copysign for PPC64.
15365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15366 multiarch copysignf for PPC64.
15368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15369 multiarch implementation.
15370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15378 multiarch llround for PPC64.
15379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15380 multiarch trunc for PPC64.
15381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15382 multiarch truncf for PPC64.
15384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15385 multiarch implementation.
15386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15394 multiarch llround for PPC64.
15395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15396 multiarch round for PPC64.
15397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15398 multiarch roundf for PPC64.
15400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15401 multiarch implementation.
15402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15410 multiarch llround for PPC64.
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15412 multiarch floor for PPC64.
15413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15414 multiarch floorf for PPC64.
15416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15417 multiarch implementation.
15418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15426 multiarch llround for PPC64.
15427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15428 multiarch ceil for PPC64.
15429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15430 multiarch ceilf for PPC64.
15432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15433 multiarch implementation.
15434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15441 multiarch llround for PPC64.
15442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15443 multiarch lround for PPC64.
15445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15446 multiarch implementation.
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15454 multiarch isnan for PPC64.
15455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15456 multiarch isnanf for PPC64.
15458 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15459 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15460 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15461 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15462 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15465 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15466 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15468 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15471 multiarch implementations.
15472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15473 (__libc_ifunc_impl_list): Likewise.
15474 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15475 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15476 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15477 multiarch stpcpy for PPC64.
15479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15480 multiarch implementations.
15481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15482 (__libc_ifunc_impl_list): Likewise.
15483 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15484 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15485 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15486 multiarch strcpy for PPC64.
15488 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15489 redefine function name.
15490 (_wordcopy_fwd_dest_aligned): Likewise.
15491 (_wordcopy_bwd_aligned): Likewise.
15492 (_wordcopy_bwd_dest_aligned): Likewise.
15493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15494 multiarch implementations.
15495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15496 (__libc_ifunc_impl_list): Likewise.
15497 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15498 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15499 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15500 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15501 multiarch wcscpy for PPC64.
15503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15504 multiarch implementations.
15505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15506 (__libc_ifunc_impl_list): Likewise.
15507 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15508 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15509 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15510 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15511 multiarch wcscpy for PPC64.
15513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15514 multiarch implementations.
15515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15516 (__libc_ifunc_impl_list): Likewise.
15517 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15518 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15519 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15520 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15521 multiarch wcsrchr for PPC64.
15523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15524 multiarch implementations.
15525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15526 (__libc_ifunc_impl_list): Likewise.
15527 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15528 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15529 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15530 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15531 multiarch wcschr for PPC64.
15533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15534 multiarch implementations.
15535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15536 (__libc_ifunc_impl_list): Likewise.
15537 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15538 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15539 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15540 multiarch strchrnul for PPC64.
15542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15545 (__libc_ifunc_impl_list): Likewise.
15546 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15547 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15548 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15549 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15555 (__libc_ifunc_impl_list): Likewise.
15556 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15557 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15558 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15559 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15563 multiarch implementations.
15564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15565 (__libc_ifunc_impl_list): Likewise.
15566 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15567 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15568 strncasecmp for PPC64.
15569 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15570 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15571 multiarch strncasecmp_l for PPC64.
15573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15574 multiarch implementations.
15575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15576 (__libc_ifunc_impl_list): Likewise.
15577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15579 multiarch strcasecmp for PPC64.
15580 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15583 multiarch strcasecmp_l for PPC64.
15585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15588 (__libc_ifunc_impl_list): Likewise.
15589 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15590 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15591 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15597 (__libc_ifunc_impl_list): Likewise.
15598 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15599 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15600 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15606 (__libc_ifunc_impl_list): Likewise.
15607 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15608 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15609 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15610 rawmemrchr for PPC64.
15612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15615 (__libc_ifunc_impl_list): Likewise.
15616 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15617 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15618 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15624 (__libc_ifunc_impl_list): Likewise.
15625 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15626 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15627 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15633 (__libc_ifunc_impl_list): Likewise.
15634 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15635 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15636 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15639 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15640 avoid cretion of __bzero symbol.
15641 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15643 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15645 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15648 multiarch implementations.
15649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15650 (__libc_ifunc_impl_list): Likewise.
15651 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15652 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15653 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15654 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15656 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15657 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15658 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15659 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15660 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15662 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15664 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15668 (__libc_ifunc_impl_list): Likewise.
15669 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15670 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15671 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15672 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15676 multiarch for POWER/PPC64.
15677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15678 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15684 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15685 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15688 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15689 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15690 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15691 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15692 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15693 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15694 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15695 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15696 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15697 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15698 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15699 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15700 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15701 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15702 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15711 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15713 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15715 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15717 * benchtests/Makefile (bench): Add exp2 and log2.
15718 (LDLIBS-bench-exp2): Add -lm.
15719 (LDLIBS-bench-log2): Likewise.
15720 * benchtests/exp2-inputs: New inputs file.
15721 * benchtests/log2-inputs: New inputs file.
15722 * benchtests/log-inputs: Add new inputs.
15723 * benchtests/tan-inputs: Likewise.
15725 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15727 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15729 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15730 (csloww2): ... from here.
15732 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15733 instead of structures.
15734 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15735 (POLYNOMIAL): Likewise.
15736 (TAYLOR_SLOW): Likewise.
15742 (sloww1); Likewise.
15743 (sloww2): Likewise.
15744 (bsloww1): Likewise.
15745 (bsloww2): Likewise.
15746 (cslow2): Likewise.
15747 (csloww): Likewise.
15748 (csloww1): Likewise.
15749 (csloww2): Likewise.
15751 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15753 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15754 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15755 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15756 * malloc/hooks.c (realloc_check): Likewise.
15758 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15759 * malloc/arena.c: Remove PER_THREAD conditional.
15760 [!PER_THREAD]: Remove code.
15761 (ptmalloc_unlock_all2): Likewise.
15762 (ptmalloc_init): Likewise.
15763 (_int_new_arena): Likewise.
15764 (arena_get2): Likewise.
15765 * malloc/hooks.c (__malloc_get_state): Likewise.
15766 (__malloc_set_state): Likewise.
15767 * malloc/malloc.c: Likewise.
15768 (struct malloc_state): Likewise.
15769 (struct malloc_par): Likewise.
15770 (__libc_realloc): Likewise.
15771 (__libc_mallopt): Likewise.
15773 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15775 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15777 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15779 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15780 macro to a function. Check for zero perturb_byte.
15781 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15783 * malloc/malloc.c: (force_reg): Remove.
15784 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15785 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15786 force_reg by atomic_forced_read.
15787 * malloc/arena.c (ptmalloc_init): Likewise.
15788 * malloc/hooks.c (top_check): Likewise.
15790 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15794 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15798 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15800 * math/auto-libm-test-in: Add tests of lgamma.
15801 * math/auto-libm-test-out: Regenerated.
15802 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15803 (M_LOG_2_SQRT_PIl): Likewise.
15804 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15807 (func_calc_desc): Add mpfr_f_f1 union field.
15808 (ARGS1): New macro.
15816 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15817 (test_functions): Add lgamma.
15818 (calc_generic_results): Handle mpfr_f_f1.
15819 * sysdeps/i386/fpu/libm-test-ulps: Update.
15820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15822 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15824 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15825 __mpn_add_n for PowerPC64/POWER7.
15826 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15827 __mpn_sub_n for PowerPC64/POWER7.
15829 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15830 __mpn_addmul_1 for PowerPC64.
15831 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15832 __mpn_submul_1 for PowerPC64.
15833 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15835 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15838 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15841 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15843 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15847 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15848 add multiarch folders.
15849 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15850 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15851 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15852 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15853 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15854 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15855 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15856 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15857 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15858 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15859 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15868 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15874 multiarch __ieee754_hypot for PowerPC32.
15875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15880 multiarch __ieee754_hypotf for PowerPC32.
15882 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15883 long_double_symbol only if __logbl is defined.
15884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15885 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15887 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15889 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15891 path for implementation.
15892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15893 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15895 logb, and logbl multiarch implementations for PowerPC32.
15896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15901 multiarch logb for PowerPC32.
15902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15907 multiarch logbf for PowerPC32.
15908 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15912 multiarch logbl implementation for PowerPC32.
15914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15915 and modff multiarch implementations.
15916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15921 multiarch modf for PowerPC32.
15922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15927 multiarch modff for PowerPC32.
15929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15930 and lrintf multiarch implementations.
15931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15936 multiarch lrint for PowerPC32.
15937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15938 file: multiarch lrintf for PowerPC32.
15940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15941 and lroundf multiarch implementations.
15942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15949 multiarch lround for PowerPC32.
15950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15951 file: multiarch lroundf for PowerPC32.
15953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15954 copysign and copysignf multiarch implementations.
15955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15960 file: multiarch copysign for PowerPC32.
15961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15962 file: multiarch copysignf for PowerPC32.
15964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15965 and truncf multiarch implementations.
15966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15971 multiarch trunc for PowerPC32.
15972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15977 multiarch truncf for PowerPC32.
15979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15980 and roundf multiarch implementations.
15981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15986 multiarch round for PowerPC32.
15987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15992 multiarch roundf for PowerPC32.
15994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15995 and floorf multiarch implementations.
15996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16001 multiarch floor for PowerPC32.
16002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16007 multiarch floorf for PowerPC32.
16009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16010 and ceilf multiarch implementations.
16011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16016 multiarch ceil for PowerPC32.
16017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16022 multiarch ceilf for PowerPC32.
16024 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16026 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16027 FINITEF is defined.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16029 and finitef multiarch implementations.
16030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16035 multiarch finite for PowerPC32.
16036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16039 file: multiarch finitef for PowerPC32.
16041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16042 and isinff multiarch implementations.
16043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16048 multiarch isinf for PowerPC32.
16049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16052 multiarch isinff for PowerPC32.
16054 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16055 alias when __isnan is defined.
16056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16057 and isnanf multiarch implementations.
16058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16067 multiarch isnan for PowerPC32.
16068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16073 multiarch isnanf for PowerPC32.
16075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16076 and sqrtf multiarch implementations.
16077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16082 multiarch sqrt for PowerPC32.
16083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16088 multiarch sqrtf for PowerPC32.
16090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16091 and llroundf multiarch implementations.
16092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16099 file: multiarch llround for PowerPC32.
16100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16101 file: multiarch llroundf for PowerPC32.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16104 multiarch PowerPC32 fpu implementations.
16105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16110 multiarch llrint for PowerPC32.
16111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16122 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16124 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16126 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16127 multiarch wordcopy for PPC32.
16128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16131 (__libc_ifunc_impl_list): Likewise.
16132 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16133 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16134 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16135 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16136 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16137 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16139 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16147 multiarch wcscpy for PPC32.
16148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16151 (__libc_ifunc_impl_list): Likewise.
16152 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16153 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16154 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16155 sysdeps/powerpc/power6/wcscpy.c.
16157 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16165 multiarch wcsrchr for PPC32.
16166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16169 (__libc_ifunc_impl_list): Likewise.
16170 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16171 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16172 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16173 sysdeps/powerpc/power6/wcsrchr.c.
16175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16179 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16181 multiarch wcschr for PPc32.
16182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16185 (__libc_ifunc_impl_list): Likewise.
16186 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16187 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16188 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16189 sysdeps/powerpc/power6/wcschr.c.
16191 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16192 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16194 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16195 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16196 file: multiarch strchr for PPC32.
16197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16200 (__libc_ifunc_impl_list): Likewise.
16202 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16204 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16206 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16208 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16209 multiarch strchrnul for PPC32.
16210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16213 (__libc_ifunc_impl_list): Likewise.
16215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16218 multiarch strncasecmp for PPC32.
16219 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16222 multiarch strncasecmp_l for PPC32.
16223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16224 strncasecmp multiarch objects.
16225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16226 (__libc_ifunc_impl_list): Likewise.
16228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16230 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16231 multiarch strncasecmp for PPC32.
16232 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16234 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16235 multiarch strcasecmp_l for PPC32.
16236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16239 (__libc_ifunc_impl_list): Likewise.
16241 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16243 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16246 multiarch strncmp for PPC32.
16247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16250 (__libc_ifunc_impl_list): Likewise.
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16253 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16255 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16260 (__libc_ifunc_impl_list): Likewise.
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16264 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16266 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16270 (__libc_ifunc_impl_list): Likewise.
16272 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16274 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16276 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16277 multiarch rawmemchr for PPC32.
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16281 (__libc_ifunc_impl_list): Likewise.
16283 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16285 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16287 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16288 file: memrchr multiarch for PPC32.
16289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16292 (__libc_ifunc_impl_list): Likewise.
16294 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16298 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16299 multiarch memchr for PPC32.
16300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16303 (__libc_ifunc_impl_list): Likewise.
16305 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16306 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16308 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16310 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16311 file: multiarch mempcpy for PPC32.
16312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16315 (__libc_ifunc_impl_list): Likewise.
16317 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16318 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16320 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16321 multiarch bzero for PPC32.
16322 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16324 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16327 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16328 file: multiarch memset for PPC32.
16329 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16331 memset multiarch objects.
16332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16333 (__libc_ifunc_impl_list): Likewise.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16340 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16344 (__libc_ifunc_impl_list): Likewise.
16346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16355 multiarch memcpy for PPC32.
16356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16359 (__libc_ifunc_impl_list): Likewise.
16361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16362 support multiarch for POWER/PPC32.
16363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16365 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16367 Implies file to make multiarch folder appers before the fpu and
16368 default folder for power4 configuration.
16370 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16372 * scripts/bench.pl: Append volatile keyword to type.
16374 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16376 * sysdeps/sh/sotruss-lib.c: New file.
16377 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16379 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16383 2013-12-05 Joseph Myers <joseph@codesourcery.com>
16386 * math/w_tgamma.c: Include <errno.h>.
16387 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16388 * math/w_tgammaf.c: Include <errno.h>.
16389 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16390 * math/w_tgammal.c: Include <errno.h>.
16391 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16392 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16393 underflow. Add more tgamma tests.
16394 * math/auto-libm-test-out: Regenerated.
16395 * sysdeps/i386/fpu/libm-test-ulps: Update.
16396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16398 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16399 sin, sinh, tan, tanh, tgamma, y0 and y1.
16400 * math/auto-libm-test-out: Regenerated.
16401 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16402 (TEST_COND_x86): Likewise.
16403 (M_E2l): Remove macro.
16405 (M_2_SQRT_PIl): Likewise.
16406 (M_SQRT_PIl): Likewise.
16407 (M_1_DIV_El): Likewise.
16408 (log_test_data): Use AUTO_TESTS_f_f.
16409 (log10_test_data): Likewise.
16410 (log1p_test_data): Likewise.
16411 (log2_test_data): Likewise.
16412 (sin_test_data): Likewise.
16413 (sin_tonearest_test_data): Likewise.
16414 (sin_towardzero_test_data): Likewise.
16415 (sin_downward_test_data): Likewise.
16416 (sin_upward_test_data): Likewise.
16417 (sinh_test_data): Likewise.
16418 (sinh_tonearest_test_data): Likewise.
16419 (sinh_towardzero_test_data): Likewise.
16420 (sinh_downward_test_data): Likewise.
16421 (sinh_upward_test_data): Likewise.
16422 (tan_test_data): Likewise.
16423 (tan_tonearest_test_data): Likewise.
16424 (tan_towardzero_test_data): Likewise.
16425 (tan_downward_test_data): Likewise.
16426 (tan_upward_test_data): Likewise.
16427 (tanh_test_data): Likewise.
16428 (tgamma_test_data): Likewise.
16429 (y0_test_data): Likewise.
16430 (y1_test_data): Likewise.
16431 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16432 (special_real_inputs): Add pi/4.
16433 * sysdeps/i386/fpu/libm-test-ulps: Update.
16434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16436 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16438 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16439 "longjmp_target" static probes.
16440 (__longjmp): Rename to __longjmp_symbol.
16441 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16442 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16443 on which longjmp to generate.
16444 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16445 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16447 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16448 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16449 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16450 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16451 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16452 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16454 __longjmp_symbol based on which __longjmp to generate.
16455 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16457 (setjmp): Rename to setjmp_symbol.
16458 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16459 (_setjmp): Rename to _setjmp_symbol.
16460 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16461 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16462 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16463 which setjmp to generate.
16464 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16465 "longjmp_target" static probes.
16467 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16469 * benchtests/README: Add note about output arguments.
16470 * benchtests/bench-sincos.c: Remove file.
16471 * benchtests/sincos-inputs: New file.
16472 * scripts/bench.pl: Identify output arguments and define
16473 static variables for them.
16475 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16478 * Makefile (INSTALL): Add install-plain.texi as the primary
16480 * manual/install-plain.texi: New file.
16481 * manual/install.texi: Include node directive only for
16482 non-plaintext output.
16484 2013-12-04 Joseph Myers <joseph@codesourcery.com>
16486 * stdlib/longlong.h: Update from GCC.
16490 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16491 * math/w_j0f.c (y0f): Likewise.
16492 * math/w_j0l.c (__y0l): Likewise.
16493 * math/w_j1.c (y1): Likewise.
16494 * math/w_j1f.c (y1f): Likewise.
16495 * math/w_j1l.c (__y1l): Likewise
16496 * math/w_jn.c (yn): Likewise.
16497 * math/w_jnf.c (ynf): Likewise.
16498 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16499 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16500 value for Bessel function domain errors outside _SVID_ mode.
16501 Adjust sign of return value for yn (negative integer, 0).
16502 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16503 by zero in return for negative x and set sign appropriately for
16505 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16506 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16507 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16508 expectations in error cases.
16509 (y1_test_data): Likewise.
16510 (yn_test_data): Likewise.
16511 * sysdeps/i386/fpu/libm-test-ulps: Update.
16512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16514 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16516 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16517 "64" to "64-v1". Add "64-v2".
16518 (abi-64-options): Rename to ...
16519 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16520 (abi-64-condition): Rename to ...
16521 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16522 (abi-64-ld-soname): Rename to ...
16523 (abi-64-v1-ld-soname): ... this.
16524 (abi-64-v2-options): Define.
16525 (abi-64-v2-condition): Likewise.
16526 (abi-64-v2-ld-soname): Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16528 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16533 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16534 Alan Modra <amodra@gmail.com>
16536 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16537 New versions for use with the ELFv2 ABI.
16538 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16539 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16541 (struct La_ppc64v2_retval): Likewise.
16542 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16543 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16544 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16545 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16546 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16547 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16548 Do not save or restore CR.
16549 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16550 (_dl_profile_resolve): Do no save or restore CR. Support extended
16551 return values for ELFv2 ABI. Fix location of FPR return registers.
16552 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16553 updated values for _CALL_ELF == 2.
16554 (La_regs, La_retval, int_retval): Likewise.
16556 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16558 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16559 (FRAME_MIN_SIZE_PARM): Likewise.
16560 (FRAME_BACKCHAIN): Likewise.
16561 (FRAME_CR_SAVE): Likewise.
16562 (FRAME_LR_SAVE): Likewise.
16563 (FRAME_TOC_SAVE): Likewise.
16564 (FRAME_PARM_SAVE): Likewise.
16565 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16566 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16567 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16568 (call_mcount_parm_offset): New macro.
16569 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16570 (PROF): Use symbolic stack frame offsets.
16571 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16572 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16573 Redefine in terms of FRAME_MIN_SIZE.
16574 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16575 (_dl_profile_resolve): Likewise. Update comment.
16576 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16577 symbols stack frame offsets.
16578 (__sigsetjmp): Likewise.
16579 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16580 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16581 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16582 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16585 (FRAME_BACKCHAIN): Remove.
16586 (FRAME_CR_SAVE): Likewise.
16587 (FRAME_LR_SAVE): Likewise.
16588 (FRAME_COMPILER_DW): Likewise.
16589 (FRAME_LINKER_DW): Likewise.
16590 (FRAME_TOC_SAVE): Likewise.
16591 (FRAME_PARM_SAVE): Likewise.
16592 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16593 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16594 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16596 (CHECK_SP): Use symbolic stack frame offsets.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16598 zone" instead of caller's parameter save area for temp storage.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16600 Likewise. Also, use symbolic stack frame offsets.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16602 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16603 our own stack frame instead of the caller's.
16604 (__socket): Use symbolic stack frame offsets.
16606 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16607 Alan Modra <amodra@gmail.com>
16609 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16611 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16612 (PPC64_LOCAL_ENTRY_OFFSET): Define.
16613 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16615 (elf_machine_fixup_plt): Call it.
16616 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16618 (elf_machine_rela): Update call to elf_machine_plt_conflict.
16619 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16620 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16621 r2 before calling target.
16623 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16624 Alan Modra <amodra@gmail.com>
16626 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16627 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16628 versions of macros to support ELFv2 ABI.
16629 (LOCALENTRY): New macro.
16630 (ENTRY, EALIGN): Use it.
16631 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16632 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16633 fall through into ENTRY entry point.
16634 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16635 Only define if _CALL_ELF != 2.
16637 (elf_machine_matches_host): Verify ABI version matches.
16638 (RTLD_START): Use LOCALENTRY.
16639 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16640 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16641 (PLT_ENTRY_WORDS): New macro.
16642 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16643 (elf_machine_runtime_setup): Support ELFv2 ABI.
16644 (elf_machine_fixup_plt): Likewise.
16645 (elf_machine_plt_conflict): Likewise.
16646 (resolve_ifunc): Likewise.
16647 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16648 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16651 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16653 (makecontext): Support ELFv2 ABI.
16654 * elf/elf.h (EF_PPC64_ABI): Define.
16656 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16658 * sysdeps/powerpc/powerpc64/sysdep.h
16659 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16660 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16661 (ENTRY) [ASSEMBLER]: ... but instead here ...
16662 (EALIGN) [ASSEMBLER]: ... and here.
16663 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16664 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16665 (ENTRY_2) [!ASSEMBLER]: Use it.
16666 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16667 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16668 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16669 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16670 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16672 Use PPC64_LOAD_FUNCPTR.
16674 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16676 2013-12-04 Alan Modra <amodra@gmail.com>
16678 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16679 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16680 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16681 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16684 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16685 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16686 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16687 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16688 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16690 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16693 (__makecontext): Fix incorrect CFI when backtracing out of
16694 context created via makecontext.
16695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16696 (__setcontext): Fix incorrect CFI during switch to new context.
16697 (__novec_setcontext): Likewise.
16699 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16702 * time/strptime_l.c (__strptime_internal): Allow modifiers
16704 * time/tst-strptime.c (day_tests): Add testcase.
16706 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16708 * scripts/bench.pl: Skip over blank lines.
16710 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16713 * manual/time.texi (Calendar Time): Clarify what timezone functions
16716 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16720 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16722 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16724 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16725 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16726 * debug/memset_chk.c (__memset_chk): Likewise.
16727 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16728 * debug/strncpy_chk.c: Likewise.
16730 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16734 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16735 (__ieee754_exp): For possibly underflowing results, check size of
16736 result and force underflow exception if required.
16737 * math/auto-libm-test-in: Add more tests of exp.
16738 * math/auto-libm-test-out: Regenerated.
16739 * sysdeps/i386/fpu/libm-test-ulps: Update.
16740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16743 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16744 * math/w_exp2f.c (__exp2f): Likewise.
16745 * math/w_exp2l.c (__exp2l): Likewise.
16746 * math/auto-libm-test-in: Do not allow missing errno on exp2
16748 * math/auto-libm-test-out: Regenerated.
16750 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16753 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16754 handle filename validation.
16755 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16758 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16761 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16762 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16763 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16765 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16766 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16767 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16768 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16769 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16770 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16771 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16772 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16773 Add more erfc tests.
16774 * math/auto-libm-test-out: Regenerated.
16775 * sysdeps/i386/fpu/libm-test-ulps: Update.
16776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16778 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16779 exp2, expm1, j0 and j1.
16780 * math/auto-libm-test-out: Regenerated.
16781 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16782 (erfc_test_data): Likewise.
16783 (exp_test_data): Likewise.
16784 (exp_tonearest_test_data): Likewise.
16785 (exp_towardzero_test_data): Likewise.
16786 (exp_downward_test_data): Likewise.
16787 (exp_upward_test_data): Likewise.
16788 (exp10_test_data): Likewise.
16789 (exp2_test_data): Likewise.
16790 (expm1_test_data): Likewise.
16791 (j0_test_data): Likewise.
16792 (j1_test_data): Likewise.
16793 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16794 (input_flag_type): Add flag_xfail_rounding.
16795 (input_flags): Add xfail-rounding.
16796 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16797 (output_for_one_input_case): Handle flag_xfail_rounding.
16798 * sysdeps/i386/fpu/libm-test-ulps: Update.
16799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16801 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16804 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16807 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16810 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16811 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16812 (STAP_PROBE0): New macro.
16813 (STAP_PROBE1): Likewise.
16814 (STAP_PROBE2): Likewise.
16815 (STAP_PROBE3): Likewise.
16816 (STAP_PROBE4): Likewise.
16818 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16820 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16822 2013-12-02 Steve Ellcey <sellcey@mips.com>
16824 * benchtests/Makefile (bench): Add sqrt.
16825 (LDLIBS-bench-sqrt): New.
16826 * benchtests/sqrt-input: New.
16828 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16830 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16831 (GAIH_EAI): Likewise.
16832 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16833 (gaih_inet): Likewise.
16834 (getaddrinfo): Don't use GAIH_EAI.
16836 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16837 (struct gaih): Remove definition.
16839 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16841 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16842 Use HERRNOP directly.
16844 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16848 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16850 * math/gen-auto-libm-tests.c (test_functions): Add more
16851 single-argument functions.
16852 (special_fill_pi_2): New function.
16853 (special_fill_minus_pi_2): Likewise.
16854 (special_fill_pi_6): Likewise.
16855 (special_fill_minus_pi_6): Likewise.
16856 (special_fill_pi_3): Likewise.
16857 (special_fill_2pi_3): Likewise.
16858 (special_fill_e): Likewise.
16859 (special_fill_1_e): Likewise.
16860 (special_fill_e_minus_1): Likewise.
16861 (special_real_inputs): Add more special inputs.
16862 (output_for_one_input_case): Do not require ERANGE on underflow to
16863 zero if round-to-nearest result does not underflow to zero, unless
16864 exact results required.
16865 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16866 atan, atanh, cbrt, cos and cosh.
16867 * math/auto-libm-test-out: Regenerated.
16868 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16869 (acos_tonearest_test_data): Likewise.
16870 (acos_towardzero_test_data): Likewise.
16871 (acos_downward_test_data): Likewise.
16872 (acos_upward_test_data): Likewise.
16873 (acosh_test_data): Likewise.
16874 (asin_test_data): Likewise.
16875 (asin_tonearest_test_data): Likewise.
16876 (asin_towardzero_test_data): Likewise.
16877 (asin_upward_test_data): Likewise.
16878 (asinh_test_data): Likewise.
16879 (atan_test_data): Likewise.
16880 (atanh_test_data): Likewise.
16881 (cbrt_test_data): Likewise.
16882 (cos_test_data): Likewise.
16883 (cos_tonearest_test_data): Likewise.
16884 (cos_towardzero_test_data): Likewise.
16885 (cos_downward_test_data): Likewise.
16886 (cos_upward_test_data): Likewise.
16887 (cosh_test_data): Likewise.
16888 (cosh_tonearest_test_data): Likewise.
16889 (cosh_towardzero_test_data): Likewise.
16890 (cosh_downward_test_data): Likewise.
16891 (cosh_upward_test_data): Likewise.
16892 * sysdeps/i386/fpu/libm-test-ulps: Update.
16893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16895 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16898 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16899 * math/w_exp10f.c (__exp10f): Likewise.
16900 * math/w_exp10l.c (__exp10l): Likewise.
16901 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16902 errno settings in existing tests.
16905 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16906 precision control set to double precision.
16907 * sysdeps/i386/fpu/w_sqrt.c: New file.
16908 * math/auto-libm-test-in: Add more tests.
16909 * math/auto-libm-test-out: Update.
16911 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16912 (sqrt_test_tonearest): New function.
16913 (sqrt_towardzero_test_data): New variable.
16914 (sqrt_test_towardzero): New function.
16915 (sqrt_downward_test_data): New variable.
16916 (sqrt_test_downward): New function.
16917 (sqrt_upward_test_data): New variable.
16918 (sqrt_test_upward): New function.
16919 (main): Call the new functions.
16921 * math/gen-auto-libm-tests.c: New file.
16922 * math/auto-libm-test-in: Likewise.
16923 * math/auto-libm-test-out: New generated file.
16924 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16926 (%beautify): Add generated representations of zero.
16927 (top level): Set $auto_input and call parse_auto_input.
16928 (beautify): Remove trailing "f" from hex float constants.
16929 (parse_args): Handle XFAIL_TEST.
16930 (convert_condition): New function.
16931 (or_value): Likewise.
16932 (or_cond_value): Likewise.
16933 (generate_testfile): Handle AUTO_TESTS_* lines.
16934 (parse_auto_input): New function.
16935 * math/libm-test.inc (XFAIL_TEST): New macro.
16936 (ERRNO_UNCHANGED): Update value.
16937 (ERRNO_EDOM): Likewise.
16938 (ERRNO_ERANGE): Likewise.
16939 (IGNORE_RESULT): Likewise.
16940 (TEST_COND_flt_32): New macro.
16941 (TEST_COND_dbl_64): Likewise.
16942 (TEST_COND_ldbl_96_intel): Likewise.
16943 (TEST_COND_ldbl_96_m68k): Likewise.
16944 (TEST_COND_ldbl_128): Likewise.
16945 (TEST_COND_ldbl_128ibm): Likewise.
16946 (TEST_COND_long32): Likewise.
16947 (TEST_COND_long64): Likewise.
16948 (TEST_COND_before_rounding): Likewise.
16949 (TEST_COND_after_rounding): Likewise.
16950 (enable_test): Handle XFAIL_TEST flag.
16951 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16952 with finite results.
16953 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16954 auto-libm-test-out.
16956 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16957 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16960 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16961 __tls_get_addr_internal instead of __tls_get_offset in order to
16962 avoid GOT pointer dependency. Make rtld export
16963 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16964 __tls_get_addr since we are a __tls_get_offset platform.
16965 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16966 GOT pointer being set up before.
16967 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16969 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16971 * manual/math.texi (Errors in Math Functions): Document accuracy
16975 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16976 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16978 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16979 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16980 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16981 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16982 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16983 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16984 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16985 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16986 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16987 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16988 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16989 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16990 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16992 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16993 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16994 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16995 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16996 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16998 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17000 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17002 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17003 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17004 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17005 atomic-feupdateenv and flt-rounds.
17006 * sysdeps/powerpc/nofpu/Versions (libc): Add
17007 __atomic_feholdexcept, __atomic_feclearexcept,
17008 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17009 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17010 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17011 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17012 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17017 * manual/arith.texi (FP Exceptions): Document that exceptions may
17018 not be raised when matherr is used.
17019 (Math Error Reporting): Document overflow in directed rounding
17020 modes. Document that errno may not be set when finite values are
17021 returned on overflow. Document intent to set errno on underflow
17022 only for underflow to zero.
17025 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17026 round-to-nearest then adjust result for other rounding modes.
17027 * include/fenv.h (fegetround): Use libm_hidden_proto.
17028 * math/fegetround.c (fegetround): Use libm_hidden_def.
17029 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17030 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17031 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17032 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17034 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17035 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17036 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17037 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17039 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17042 * nss/Versions (libnss_files): Add
17043 _nss_files_gethostbyname3_r.
17044 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17046 (HOST_DB_LOOKUP): Remove macro.
17047 (_nss_files_gethostbyname_r): Implement function without the
17048 HOST_DB_LOOKUP macro.
17049 (_nss_files_gethostbyname2_r): Likewise.
17051 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
17053 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17055 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
17057 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17058 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17061 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17063 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17064 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17065 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17066 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17067 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17068 __fe_nomask_env_priv and attribute_hidden.
17069 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17070 (libc_feupdateenv_test_ppc): Likewise.
17071 (libc_feresetround_ppc): Likewise.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17073 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17074 compat_symbol macro.
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17076 (__fe_nomask_env): Likewise.
17077 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17079 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17081 * string/Makefile: Remove ifunc tests.
17082 * string/test-string.h: Define TEST_IFUNC.
17083 * string/test-bcopy-ifunc.c: Remove.
17084 * string/test-bzero-ifunc.c: Likewise.
17085 * string/test-memccpy-ifunc.c: Likewise.
17086 * string/test-memchr-ifunc.c: Likewise.
17087 * string/test-memcmp-ifunc.c: Likewise.
17088 * string/test-memcpy-ifunc.c: Likewise.
17089 * string/test-memmem-ifunc.c: Likewise.
17090 * string/test-memmove-ifunc.c: Likewise.
17091 * string/test-mempcpy-ifunc.c: Likewise.
17092 * string/test-memrchr-ifunc.c: Likewise.
17093 * string/test-memset-ifunc.c: Likewise.
17094 * string/test-rawmemchr-ifunc.c: Likewise.
17095 * string/test-stpcpy-ifunc.c: Likewise.
17096 * string/test-stpncpy-ifunc.c: Likewise.
17097 * string/test-strcasecmp-ifunc.c: Likewise.
17098 * string/test-strcasestr-ifunc.c: Likewise.
17099 * string/test-strcat-ifunc.c: Likewise.
17100 * string/test-strchr-ifunc.c: Likewise.
17101 * string/test-strchrnul-ifunc.c: Likewise.
17102 * string/test-strcmp-ifunc.c: Likewise.
17103 * string/test-strcpy-ifunc.c: Likewise.
17104 * string/test-strcspn-ifunc.c: Likewise.
17105 * string/test-strlen-ifunc.c: Likewise.
17106 * string/test-strncasecmp-ifunc.c: Likewise.
17107 * string/test-strncat-ifunc.c: Likewise.
17108 * string/test-strncmp-ifunc.c: Likewise.
17109 * string/test-strncpy-ifunc.c: Likewise.
17110 * string/test-strnlen-ifunc.c: Likewise.
17111 * string/test-strpbrk-ifunc.c: Likewise.
17112 * string/test-strrchr-ifunc.c: Likewise.
17113 * string/test-strspn-ifunc.c: Likewise.
17114 * string/test-strstr-ifunc.c: Likewise.
17116 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17118 * benchtests/Makefile: Remove ifunc tests.
17119 * benchtests/bench-string.h: Define TEST_IFUNC.
17120 * benchtests/bench-bcopy-ifunc.c: Remove.
17121 * benchtests/bench-bzero-ifunc.c: Likewise.
17122 * benchtests/bench-memccpy-ifunc.c: Likewise.
17123 * benchtests/bench-memchr-ifunc.c: Likewise.
17124 * benchtests/bench-memcmp-ifunc.c: Likewise.
17125 * benchtests/bench-memcpy-ifunc.c: Likewise.
17126 * benchtests/bench-memmem-ifunc.c: Likewise.
17127 * benchtests/bench-memmove-ifunc.c: Likewise.
17128 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17129 * benchtests/bench-memrchr-ifunc.c: Likewise.
17130 * benchtests/bench-memset-ifunc.c: Likewise.
17131 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17132 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17133 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17134 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17135 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17136 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17137 * benchtests/bench-strcat-ifunc.c: Likewise.
17138 * benchtests/bench-strchr-ifunc.c: Likewise.
17139 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17140 * benchtests/bench-strcmp-ifunc.c: Likewise.
17141 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17142 * benchtests/bench-strcpy-ifunc.c: Likewise.
17143 * benchtests/bench-strcspn-ifunc.c: Likewise.
17144 * benchtests/bench-strlen-ifunc.c: Likewise.
17145 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17146 * benchtests/bench-strncat-ifunc.c: Likewise.
17147 * benchtests/bench-strncmp-ifunc.c: Likewise.
17148 * benchtests/bench-strncpy-ifunc.c: Likewise.
17149 * benchtests/bench-strnlen-ifunc.c: Likewise.
17150 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17151 * benchtests/bench-strrchr-ifunc.c: Likewise.
17152 * benchtests/bench-strsep-ifunc.c: Likewise.
17153 * benchtests/bench-strspn-ifunc.c: Likewise.
17154 * benchtests/bench-strstr-ifunc.c: Likewise.
17156 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17158 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17160 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17162 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17163 * rt/aio.h: Likewise.
17164 * sysdeps/gnu/bits/utmp.h: Likewise.
17165 * sysdeps/gnu/bits/utmpx.h: Likewise.
17166 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17167 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17168 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17169 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17170 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17171 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17172 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17173 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17174 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17175 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17176 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17177 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17178 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17180 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17181 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17182 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17183 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17184 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17185 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17186 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17187 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17188 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17189 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17190 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17192 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17193 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17194 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17195 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17196 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17197 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17198 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17199 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17200 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17201 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17202 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17203 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17204 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17205 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17206 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17207 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17209 2013-11-25 Carlos O'Donell <carlos@redhat.com>
17212 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17213 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17215 2013-11-25 Joseph Myers <joseph@codesourcery.com>
17217 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17218 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17221 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17224 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17225 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17226 (__fesetround): Remove define.
17227 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17228 rounding and exceptions handling.
17229 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17230 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17231 (__fe_nomask_env): Likewise.
17232 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17233 __fegetround instead of fegetround.
17234 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17235 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17237 2013-11-21 Roland McGrath <roland@hack.frob.com>
17239 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17242 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17244 2013-11-21 Meador Inge <meadori@codesourcery.com>
17247 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17248 (encrypt_r): Likewise.
17249 * malloc/obstack.h (obstack_free): Likewise.
17250 * posix/unistd.h (encrypt): Likewise.
17252 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17254 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17255 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17256 DL_CALL_DT_FINI() that call the functions directly.
17257 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17258 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17259 * elf/dl-fini.c: Likewise.
17261 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
17263 * malloc/hooks.c (memalign_check): Add alignment rounding.
17264 * malloc/malloc.c (_mid_memalign): New function.
17265 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17266 Implement by calling _mid_memalign.
17267 * manual/probes.texi (Memory Allocation Probes): Remove
17268 memory_valloc_retry and memory_pvalloc_retry.
17270 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * locale/programs/locarchive.c (open_archive): Add const
17273 qualifier to ARCHIVEFNAME and copy default fname to
17277 * libio/tst-widetext.input: Rename Oriya to Odia.
17278 * locale/iso-639.def: Likewise.
17280 * manual/probes.texi (Mathematical Function Probes): Add
17281 documentation for sin, cos, asin and acos probes.
17282 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17283 (__sin32): Add slowasin probe.
17284 (__cos32): Add slowacos probe.
17285 (__mpsin): Add slowsin probe.
17286 (__mpcos): Add slowcos probe.
17288 2013-11-19 Joseph Myers <joseph@codesourcery.com>
17291 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17292 thread-local __sim_exceptions_thread and global
17293 __sim_exceptions_global.
17294 (__sim_disabled_exceptions): Change to thread-local
17295 __sim_disabled_exceptions_thread and global
17296 __sim_disabled_exceptions_global.
17297 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17298 and global __sim_round_mode_global.
17299 (__simulate_exceptions): Use thread-local floating-point state and
17300 set global state from it as needed.
17301 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17302 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17303 __sim_round_mode_thread.
17304 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17305 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17306 and global __sim_exceptions_global.
17307 (__sim_disabled_exceptions): Change to thread-local
17308 __sim_disabled_exceptions_thread and global
17309 __sim_disabled_exceptions_global.
17310 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17311 and global __sim_round_mode_global.
17312 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17313 (SIM_SET_GLOBAL): Likewise.
17314 * sysdeps/powerpc/soft-fp/sfp-machine.h
17315 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17316 __sim_round_mode_thread.
17317 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17318 __sim_disabled_exceptions_thread.
17319 (__sim_exceptions): Change to __sim_exceptions_thread.
17320 (__sim_disabled_exceptions): Change to
17321 __sim_disabled_exceptions_thread.
17322 (__sim_round_mode): Change to __sim_round_mode_thread.
17323 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17324 thread-local floating-point state and set global state from it as
17326 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17327 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17328 (__sim_disabled_exceptions): Remove extern declaration.
17329 (feenableexcept): Use thread-local floating-point state and set
17330 global state from it as needed.
17331 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17332 extern declaration.
17333 (__sim_disabled_exceptions): Likewise.
17334 (__sim_round_mode): Likewise.
17335 (__fegetenv): Use thread-local floating-point state.
17336 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17337 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17338 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17339 floating-point state and set global state from it as needed.
17340 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17341 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17342 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17344 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17345 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17347 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17348 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17349 Use __sim_round_mode_thread.
17350 * math/test-fenv-tls.c: New file.
17351 * math/Makefile (tests): Add test-fenv-tls.
17352 ($(objpfx)test-fenv-tls): Depend on
17353 $(common-objpfx)nptl/libpthread.so.
17355 2013-11-19 Andreas Schwab <schwab@suse.de>
17357 * locale/programs/locale.c (show_info): Decode wordarray elements.
17358 * locale/categories.def (LC_MONETARY): Add element for
17359 _NL_MONETARY_CRNCYSTR.
17360 * locale/C-monetary.c (conversion_rate): New variable.
17361 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17364 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17366 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17367 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17369 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17371 * elf/Makefile (tst-auxv): New test.
17372 * elf/tst-auxv.c: New
17373 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17375 2013-11-18 Joseph Myers <joseph@codesourcery.com>
17377 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17378 (hidden_proto): Caller changed.
17379 (hidden_tls_proto): New macro.
17380 (libc_hidden_tls_proto): Likewise.
17381 (rtld_hidden_tls_proto): Likewise.
17382 (libm_hidden_tls_proto): Likewise.
17383 (libresolv_hidden_tls_proto): Likewise.
17384 (librt_hidden_tls_proto): Likewise.
17385 (libdl_hidden_tls_proto): Likewise.
17386 (libnss_files_hidden_tls_proto): Likewise.
17387 (libnsl_hidden_tls_proto): Likewise.
17388 (libnss_nisplus_hidden_tls_proto): Likewise.
17389 (libutil_hidden_tls_proto): Likewise.
17391 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
17394 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17395 (decompose_rpath): Defer expansion to fillin_rpath.
17396 (_dl_init_paths): Pass linkmap to fillin_rpath.
17398 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17400 * benchtests/Makefile: Add strsep.
17401 * benchtests/bench-strsep.c: New file: strsep benchtest.
17402 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17404 2013-11-18 Andreas Schwab <schwab@suse.de>
17406 * locale/programs/locale.c (show_info) [case byte]: Check for
17407 '\377' instead of '\177'.
17408 * locale/C-monetary.c (not_available): Always use "\377".
17409 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17410 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17411 detect unavailable sign_posn locale elements.
17412 * locale/localeconv.c (__localeconv): For grouping and
17413 mon_grouping handle "\177" and "\377" like no grouping.
17414 (INT_ELEM): New macro. Use it to set all numeric members.
17415 * locale/programs/ld-monetary.c (monetary_read)
17416 <tok_mon_grouping>: Normalize single -1 to the empty string.
17417 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17420 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17423 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17424 when we match (nil).
17425 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17427 2013-11-16 Joseph Myers <joseph@codesourcery.com>
17429 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17430 (NO_TEST_INLINE): Update value.
17431 (ERRNO_UNCHANGED): Likewise.
17432 (ERRNO_EDOM): Likewise.
17433 (ERRNO_ERANGE): Likewise.
17434 (IGNORE_RESULT): Likewise.
17435 (check_float_internal): Check signs of NaN results if
17436 TEST_NAN_SIGN used.
17437 (check_complex): Pass TEST_NAN_SIGN flag through to second
17438 check_float_internal call.
17439 (copysign_test_data): Add tests with quiet NaNs as second
17440 argument. Use TEST_NAN_SIGN.
17441 (fabs_test_data): Add test of negative quiet NaN argument. Use
17443 (signbit_test_data): Add tests of quiet NaN argument.
17444 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17446 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17448 (parse_args): Handle function results specified as IGNORE.
17449 * math/libm-test.inc (IGNORE_RESULT): New macro.
17450 (check_float_internal): Do not check numerical result if flag
17452 (check_complex): Pass through IGNORE_RESULT to second
17453 check_float_internal call.
17454 (check_int): Do not check numerical result if flag IGNORE_RESULT
17456 (check_long): Likewise.
17457 (check_bool): Likewise.
17458 (check_longlong): Likewise.
17459 (lrint_test_data): Add tests of infinite and NaN arguments.
17460 (lrint_tonearest_test_data): Likewise.
17461 (lrint_towardzero_test_data): Likewise.
17462 (lrint_downward_test_data): Likewise.
17463 (lrint_upward_test_data): Likewise.
17464 (llrint_test_data): Likewise.
17465 (llrint_tonearest_test_data): Likewise.
17466 (llrint_towardzero_test_data): Likewise.
17467 (llrint_downward_test_data): Likewise.
17468 (llrint_upward_test_data): Likewise.
17469 (lround_test_data): Likewise.
17470 (llround_test_data): Likewise.
17472 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17473 (ERRNO_UNCHANGED): Update value.
17474 (ERRNO_EDOM): Likewise.
17475 (ERRNO_ERANGE): Likewise.
17476 (NO_TEST_INLINE_FLOAT): New macro.
17477 (NO_TEST_INLINE_DOUBLE): Likewise.
17478 (enable_test): New function.
17479 (RUN_TEST_f_f): Check enable_test before running test.
17480 (RUN_TEST_2_f): Likewise.
17481 (RUN_TEST_fff_f): Likewise.
17482 (RUN_TEST_c_f): Likewise.
17483 (RUN_TEST_f_f1): Likewise.
17484 (RUN_TEST_fF_f1): Likewise.
17485 (RUN_TEST_fI_f1): Likewise.
17486 (RUN_TEST_ffI_f1): Likewise.
17487 (RUN_TEST_c_c): Likewise.
17488 (RUN_TEST_cc_c): Likewise.
17489 (RUN_TEST_f_i): Likewise.
17490 (RUN_TEST_f_i_tg): Likewise.
17491 (RUN_TEST_ff_i_tg): Likewise.
17492 (RUN_TEST_f_b): Likewise.
17493 (RUN_TEST_f_b_tg): Likewise.
17494 (RUN_TEST_f_l): Likewise.
17495 (RUN_TEST_f_L): Likewise.
17496 (RUN_TEST_fFF_11): Likewise.
17497 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17499 (cosh_test_data): Likewise.
17500 (exp_test_data): Likewise.
17501 (expm1_test_data): Likewise.
17502 (hypot_test_data): Likewise.
17503 (pow_test_data): Likewise.
17504 (sinh_test_data): Likewise.
17505 (tanh_test_data): Likewise.
17506 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17509 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17510 tests with quiet NaN input and output.
17511 (acosh_test_data): Likewise.
17512 (asin_test_data): Likewise.
17513 (asinh_test_data): Likewise.
17514 (atan_test_data): Likewise.
17515 (atanh_test_data): Likewise.
17516 (atan2_test_data): Likewise.
17517 (cbrt_test_data): Likewise.
17518 (cos_test_data): Likewise.
17519 (cosh_test_data): Likewise.
17520 (erf_test_data): Likewise.
17521 (erfc_test_data): Likewise.
17522 (exp_test_data): Likewise.
17523 (exp10_test_data): Likewise.
17524 (exp2_test_data): Likewise.
17525 (expm1_test_data): Likewise.
17526 (hypot_test_data): Likewise.
17527 (j0_test_data): Likewise.
17528 (j1_test_data): Likewise.
17529 (jn_test_data): Likewise.
17530 (lgamma_test_data): Likewise.
17531 (log_test_data): Likewise.
17532 (log10_test_data): Likewise.
17533 (log1p_test_data): Likewise.
17534 (log2_test_data): Likewise.
17535 (pow_test_data): Likewise.
17536 (scalb_test_data): Likewise.
17537 (sin_test_data): Likewise.
17538 (sincos_test_data): Likewise.
17539 (sinh_test_data): Likewise.
17540 (tan_test_data): Likewise.
17541 (tanh_test_data): Likewise.
17542 (tgamma_test_data): Likewise.
17543 (y0_test_data): Likewise.
17544 (y1_test_data): Likewise.
17545 (yn_test_data): Likewise.
17548 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17549 argument being NaN and avoid computations with second argument in
17551 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17552 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17553 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17555 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17557 * locale/iso-639.def: Add Chitwani Tharu (the).
17559 2013-11-14 Andreas Schwab <schwab@suse.de>
17561 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17562 word instead of empty string.
17564 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17567 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17569 (__fe_nomask_env): Likewise.
17571 2013-11-13 Steve Ellcey <sellcey@mips.com>
17573 * benchtests/bench-timing.h: Include time.h.
17575 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17578 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17580 * sysdeps/unix/sysv/linux/configure: Regenerated.
17582 2013-11-13 Joseph Myers <joseph@codesourcery.com>
17585 * stdlib/strtod_l.c (round_and_return): Do not consider
17586 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17587 exponent one less than half the least subnormal exponent.
17588 * stdlib/test-strtod-round-data: Add more tests.
17589 * stdlib/tst-strtod-round.c (tests): Regenerated.
17591 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17594 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17595 (__fe_mask_env): Likewise.
17596 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17597 libm_hidden_proto and add function prototype.
17598 (__fe_mask_env): Add function prototype.
17599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17600 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17602 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17604 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17606 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17608 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17609 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17611 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17613 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17614 of htab_find_slot().
17616 2013-11-11 David S. Miller <davem@davemloft.net>
17619 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17620 symbol in the non-vis3 case in static builds.
17621 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17622 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17623 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17624 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17626 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17629 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17632 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17634 * benchtests/Makefile: Add bench-strtod.
17635 * benchtests/bench-strtod.c: New file: strtod benchtest
17637 2013-11-11 Andreas Schwab <schwab@suse.de>
17640 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17641 terminating NUL in key length.
17643 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17646 Add artificial ODP entry for vDSO symbol for PPC64.
17647 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17648 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17650 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17653 * nss/getent.c (services_keys): Recognize services starting with digit.
17655 2013-11-06 David S. Miller <davem@davemloft.net>
17658 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17659 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17661 2013-11-06 Will Newton <will.newton@linaro.org>
17663 * manual/memory.texi (Malloc Examples): Remove register
17664 keyword from examples.
17666 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17668 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17670 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17673 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17674 depending on [__GCC_IEC_559 > 0].
17675 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17676 depending on [__GCC_IEC_559_COMPLEX > 0].
17678 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17680 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17683 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17685 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17687 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17690 * malloc/malloc (malloc_info): Do not handle first bin as
17693 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17695 * locale/iso-639.def: Add Central Nahuatl (nhn).
17697 2013-11-01 Bruno Haible <bruno@clisp.org>
17700 * manual/math.texi (BSD Random): Specify range upper bound as
17703 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17705 * locale/iso-639.def: Add Meadow Mari (mhr).
17707 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17709 [BZ #14752], [BZ #15763]
17710 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17712 * rt/tst_shm.c: Add test for escaping directory.
17714 2013-10-31 Andreas Schwab <schwab@suse.de>
17717 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17718 followed by 'x' as part of digit sequence.
17719 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17721 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17724 * configure.ac: allow GNU Make 4.0 and greater.
17725 * configure: Regenerated.
17727 2013-10-30 Will Newton <will.newton@linaro.org>
17730 * malloc/hooks.c (memalign_check): Limit alignment to the
17731 maximum representable power of two.
17732 * malloc/malloc.c (__libc_memalign): Likewise.
17733 * malloc/tst-memalign.c (do_test): Add test for very
17734 large alignment values.
17735 * malloc/tst-posix_memalign.c (do_test): Likewise.
17737 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17740 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17741 (munmap_chunk): Likewise.
17742 (mremap_chunk): Likewise.
17744 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17747 * stdlib/div.c (div): Remove obsolete code.
17748 * stdlib/ldiv.c (ldiv): Likewise.
17749 * stdlib/lldiv.c (lldiv): Likewise.
17751 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17754 * nss/nss_files/files-XXX.c (get_contents_ret): New
17756 (get_contents): New function.
17757 (internal_getent): Use it. Expand size of LINEBUFLEN.
17759 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17761 * configure.in: Moved to ...
17762 * configure.ac: ... here. Change reference to configure.in
17764 * sysdeps/arm/preconfigure.ac: ... here.
17765 configure.in to configure.ac.
17766 * sysdeps/gnu/configure.in: Moved to ...
17767 * sysdeps/gnu/configure.ac: ... here.
17768 * sysdeps/i386/configure.in: Moved to ...
17769 * sysdeps/i386/configure.ac: ... here.
17770 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17771 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17772 * sysdeps/mach/configure.in: Moved to ...
17773 * sysdeps/mach/configure.ac: ... here.
17774 * sysdeps/mach/hurd/configure.in: Moved to ...
17775 * sysdeps/mach/hurd/configure.ac: ... here.
17776 * sysdeps/powerpc/configure.in: Moved to ...
17777 * sysdeps/powerpc/configure.ac: ... here.
17778 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17779 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17780 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17781 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17782 * sysdeps/s390/s390-32/configure.in: Moved to ...
17783 * sysdeps/s390/s390-32/configure.ac: ... here.
17784 * sysdeps/s390/s390-64/configure.in: Moved to ...
17785 * sysdeps/s390/s390-64/configure.ac: ... here.
17786 * sysdeps/sh/configure.in: Moved to ...
17787 * sysdeps/sh/configure.ac: ... here.
17788 * sysdeps/sparc/configure.in: Moved to ...
17789 * sysdeps/sparc/configure.ac: ... here.
17790 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17791 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17792 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17793 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17794 * sysdeps/x86_64/configure.in: Moved to ...
17795 * sysdeps/x86_64/configure.ac: ... here.
17796 * sysdeps/x86_64/preconfigure.in: Moved to ...
17797 * sysdeps/x86_64/preconfigure.ac: ... here.
17798 * aclocal.m4: Change reference to configure.in to configure.ac.
17799 * config.h.in: Likewise.
17800 * manual/install.texi: Likewise.
17801 * manual/maint.texi: Likewise.
17802 * Makefile: Likewise.
17803 * malloc/Makefile: Likewise.
17804 * nscd/Makefile: Likewise.
17805 * Makeconfig: Change reference to configure.in and
17806 preconfigure.in to configure.ac and preconfigure.ac
17808 * INSTALL: Regenerated.
17809 * configure: Likewise.
17810 * sysdeps/gnu/configure: Likewise.
17811 * sysdeps/i386/configure: Likewise.
17812 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17813 * sysdeps/mach/configure: Likewise.
17814 * sysdeps/mach/hurd/configure: Likewise.
17815 * sysdeps/powerpc/configure: Likewise.
17816 * sysdeps/powerpc/powerpc32/configure: Likewise.
17817 * sysdeps/powerpc/powerpc64/configure: Likewise.
17818 * sysdeps/s390/s390-32/configure: Likewise.
17819 * sysdeps/s390/s390-64/configure: Likewise.
17820 * sysdeps/sh/configure: Likewise.
17821 * sysdeps/sparc/configure: Likewise.
17822 * sysdeps/unix/sysv/linux/configure: Likewise.
17823 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17824 * sysdeps/x86_64/configure: Likewise.
17825 * sysdeps/x86_64/preconfigure: Likewise.
17827 2013-10-29 Andreas Schwab <schwab@suse.de>
17829 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17831 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17833 * benchtests/pow-inputs: Add new inputs.
17835 * benchtests/exp-inputs: Add new inputs.
17837 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17838 conditional check for return value.
17839 (__cos32): Likewise.
17841 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17843 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17844 to provide a boost for large inputs with word alignment.
17845 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17846 implementation based on optimized PPC64 strcpy.
17847 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17848 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17849 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17850 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17852 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17855 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17857 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17860 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17861 * time/tst-strptime.c (day_tests): Add testcase.
17863 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17866 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17868 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17871 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17872 MAP_FAILED on error.
17874 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17877 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17878 heap for large requests.
17880 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17883 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17884 result if the result has no associated interface.
17885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17886 interface for all 127.X.Y.Z addresses.
17888 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17890 * locale/iso-639.def: Add Ligurian (lij)
17892 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17895 * sunrpc/rpc_main.c: Document rpcgen -5.
17897 2013-10-19 Michael Stahl <mstahl@redhat.com>
17899 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17901 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17904 * posix/glob.c: Match only directories when trailing slash is present.
17905 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17906 (main): Add testcase.
17908 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17911 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17913 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17915 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17916 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17917 AUTH_DES and cindex for FIPS 140-2.
17918 (DES Encryption): Add cindex FIPS 46-3.
17920 * locale/locarchive.h (struct locarhandle): Add fname.
17921 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17922 if an optional argument was specified to --list-archive,
17924 * locale/programs/locarchive.c (show_archive_content): Take new
17925 argument fname and pass it via ah.fname to open_archive.
17926 * locale/programs/localedef.h: Update decl.
17927 (open_archive): If AH->fname is non-null, open that file
17928 rather than the default file name, and don't ignore ENOENT.
17929 (create_archive): Set AH.fname to NULL.
17930 (delete_locales_from_archive): Likewise.
17931 (add_locales_to_archive): Likewise.
17932 * locale/programs/locfile.c (write_all_categories): Likewise.
17934 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17935 Aldy Hernandez <aldyh@redhat.com>
17937 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17938 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17939 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17940 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17941 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17942 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17943 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17944 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17945 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17946 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17947 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17948 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17949 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17950 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17953 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17955 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17957 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17959 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17960 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17962 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17963 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17964 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17965 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17967 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17968 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17969 * sysdeps/powerpc/preconfigure: Likewise.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17972 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17973 Replace contents of file by #include of <fenv_libc.h>.
17974 * sysdeps/powerpc/soft-fp/sfp-machine.h
17975 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17977 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17983 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17985 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17990 Allow copysignl PLT reference to be missing.
17992 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17993 Joseph Myers <joseph@codesourcery.com
17996 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17998 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18000 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18002 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18003 * elf/tst-tls1.c: Likewise.
18004 * elf/tst-tls10.h: Likewise.
18005 * elf/tst-tls14.c: Likewise.
18006 * elf/tst-tls2.c: Likewise.
18007 * elf/tst-tls3.c: Likewise.
18008 * elf/tst-tls4.c: Likewise.
18009 * elf/tst-tls5.c: Likewise.
18010 * elf/tst-tls6.c: Likewise.
18011 * elf/tst-tls7.c: Likewise.
18012 * elf/tst-tls8.c: Likewise.
18013 * elf/tst-tls9.c: Likewise.
18014 * elf/tst-tlsmod1.c: Likewise.
18015 * elf/tst-tlsmod13.c: Likewise.
18016 * elf/tst-tlsmod13a.c: Likewise.
18017 * elf/tst-tlsmod14a.c: Likewise.
18018 * elf/tst-tlsmod16a.c: Likewise.
18019 * elf/tst-tlsmod16b.c: Likewise.
18020 * elf/tst-tlsmod2.c: Likewise.
18021 * elf/tst-tlsmod3.c: Likewise.
18022 * elf/tst-tlsmod4.c: Likewise.
18023 * elf/tst-tlsmod5.c: Likewise.
18024 * elf/tst-tlsmod6.c: Likewise.
18026 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
18029 * malloc/malloc.c: remove checks for statistics.
18031 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18034 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18035 * inet/tst-network.c: Add testcase.
18037 2013-10-17 Andreas Schwab <schwab@suse.de>
18040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18041 to determine canonical name.
18043 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18045 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18046 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18069 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18070 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18104 2013-10-17 Joseph Myers <joseph@codesourcery.com>
18107 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18108 make result into a quiet NaN.
18110 2013-10-16 Joseph Myers <joseph@codesourcery.com>
18112 * soft-fp/adddf3.c: Fix horizontal whitespace.
18113 * soft-fp/addsf3.c: Likewise.
18114 * soft-fp/addtf3.c: Likewise.
18115 * soft-fp/divdf3.c: Likewise.
18116 * soft-fp/divsf3.c: Likewise.
18117 * soft-fp/divtf3.c: Likewise.
18118 * soft-fp/double.h: Likewise.
18119 * soft-fp/eqdf2.c: Likewise.
18120 * soft-fp/eqsf2.c: Likewise.
18121 * soft-fp/eqtf2.c: Likewise.
18122 * soft-fp/extenddftf2.c: Likewise.
18123 * soft-fp/extended.h: Likewise.
18124 * soft-fp/extendsfdf2.c: Likewise.
18125 * soft-fp/extendsftf2.c: Likewise.
18126 * soft-fp/extendxftf2.c: Likewise.
18127 * soft-fp/fixdfdi.c: Likewise.
18128 * soft-fp/fixdfsi.c: Likewise.
18129 * soft-fp/fixdfti.c: Likewise.
18130 * soft-fp/fixsfdi.c: Likewise.
18131 * soft-fp/fixsfsi.c: Likewise.
18132 * soft-fp/fixsfti.c: Likewise.
18133 * soft-fp/fixtfdi.c: Likewise.
18134 * soft-fp/fixtfsi.c: Likewise.
18135 * soft-fp/fixtfti.c: Likewise.
18136 * soft-fp/fixunsdfdi.c: Likewise.
18137 * soft-fp/fixunsdfsi.c: Likewise.
18138 * soft-fp/fixunsdfti.c: Likewise.
18139 * soft-fp/fixunssfdi.c: Likewise.
18140 * soft-fp/fixunssfsi.c: Likewise.
18141 * soft-fp/fixunssfti.c: Likewise.
18142 * soft-fp/fixunstfdi.c: Likewise.
18143 * soft-fp/fixunstfsi.c: Likewise.
18144 * soft-fp/fixunstfti.c: Likewise.
18145 * soft-fp/floatdidf.c: Likewise.
18146 * soft-fp/floatdisf.c: Likewise.
18147 * soft-fp/floatditf.c: Likewise.
18148 * soft-fp/floatsidf.c: Likewise.
18149 * soft-fp/floatsisf.c: Likewise.
18150 * soft-fp/floatsitf.c: Likewise.
18151 * soft-fp/floattidf.c: Likewise.
18152 * soft-fp/floattisf.c: Likewise.
18153 * soft-fp/floattitf.c: Likewise.
18154 * soft-fp/floatundidf.c: Likewise.
18155 * soft-fp/floatundisf.c: Likewise.
18156 * soft-fp/floatunditf.c: Likewise.
18157 * soft-fp/floatunsidf.c: Likewise.
18158 * soft-fp/floatunsisf.c: Likewise.
18159 * soft-fp/floatunsitf.c: Likewise.
18160 * soft-fp/floatuntidf.c: Likewise.
18161 * soft-fp/floatuntisf.c: Likewise.
18162 * soft-fp/floatuntitf.c: Likewise.
18163 * soft-fp/fmadf4.c: Likewise.
18164 * soft-fp/fmasf4.c: Likewise.
18165 * soft-fp/fmatf4.c: Likewise.
18166 * soft-fp/gedf2.c: Likewise.
18167 * soft-fp/gesf2.c: Likewise.
18168 * soft-fp/getf2.c: Likewise.
18169 * soft-fp/ledf2.c: Likewise.
18170 * soft-fp/lesf2.c: Likewise.
18171 * soft-fp/letf2.c: Likewise.
18172 * soft-fp/muldf3.c: Likewise.
18173 * soft-fp/mulsf3.c: Likewise.
18174 * soft-fp/multf3.c: Likewise.
18175 * soft-fp/negdf2.c: Likewise.
18176 * soft-fp/negsf2.c: Likewise.
18177 * soft-fp/negtf2.c: Likewise.
18178 * soft-fp/op-1.h: Likewise.
18179 * soft-fp/op-2.h: Likewise.
18180 * soft-fp/op-4.h: Likewise.
18181 * soft-fp/op-8.h: Likewise.
18182 * soft-fp/op-common.h: Likewise.
18183 * soft-fp/quad.h: Likewise.
18184 * soft-fp/single.h: Likewise.
18185 * soft-fp/soft-fp.h: Likewise.
18186 * soft-fp/sqrtdf2.c: Likewise.
18187 * soft-fp/sqrtsf2.c: Likewise.
18188 * soft-fp/sqrttf2.c: Likewise.
18189 * soft-fp/subdf3.c: Likewise.
18190 * soft-fp/subsf3.c: Likewise.
18191 * soft-fp/subtf3.c: Likewise.
18192 * soft-fp/truncdfsf2.c: Likewise.
18193 * soft-fp/trunctfdf2.c: Likewise.
18194 * soft-fp/trunctfsf2.c: Likewise.
18195 * soft-fp/trunctfxf2.c: Likewise.
18196 * soft-fp/unorddf2.c: Likewise.
18197 * soft-fp/unordsf2.c: Likewise.
18198 * soft-fp/unordtf2.c: Likewise.
18200 2013-10-15 Joseph Myers <joseph@codesourcery.com>
18202 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18203 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18205 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
18207 * elf/dl-libc.c: Clear initfini list after freeing.
18209 2013-10-14 Joseph Myers <joseph@codesourcery.com>
18211 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18212 * soft-fp/addsf3.c: Likewise.
18213 * soft-fp/addtf3.c: Likewise.
18214 * soft-fp/divdf3.c: Likewise.
18215 * soft-fp/divsf3.c: Likewise.
18216 * soft-fp/divtf3.c: Likewise.
18217 * soft-fp/double.h: Likewise.
18218 * soft-fp/eqdf2.c: Likewise.
18219 * soft-fp/eqsf2.c: Likewise.
18220 * soft-fp/eqtf2.c: Likewise.
18221 * soft-fp/extenddftf2.c: Likewise.
18222 * soft-fp/extended.h: Likewise.
18223 * soft-fp/extendsfdf2.c: Likewise.
18224 * soft-fp/extendsftf2.c: Likewise.
18225 * soft-fp/extendxftf2.c: Likewise.
18226 * soft-fp/fixdfdi.c: Likewise.
18227 * soft-fp/fixdfsi.c: Likewise.
18228 * soft-fp/fixdfti.c: Likewise.
18229 * soft-fp/fixsfdi.c: Likewise.
18230 * soft-fp/fixsfsi.c: Likewise.
18231 * soft-fp/fixsfti.c: Likewise.
18232 * soft-fp/fixtfdi.c: Likewise.
18233 * soft-fp/fixtfsi.c: Likewise.
18234 * soft-fp/fixtfti.c: Likewise.
18235 * soft-fp/fixunsdfdi.c: Likewise.
18236 * soft-fp/fixunsdfsi.c: Likewise.
18237 * soft-fp/fixunsdfti.c: Likewise.
18238 * soft-fp/fixunssfdi.c: Likewise.
18239 * soft-fp/fixunssfsi.c: Likewise.
18240 * soft-fp/fixunssfti.c: Likewise.
18241 * soft-fp/fixunstfdi.c: Likewise.
18242 * soft-fp/fixunstfsi.c: Likewise.
18243 * soft-fp/fixunstfti.c: Likewise.
18244 * soft-fp/floatdidf.c: Likewise.
18245 * soft-fp/floatdisf.c: Likewise.
18246 * soft-fp/floatditf.c: Likewise.
18247 * soft-fp/floatsidf.c: Likewise.
18248 * soft-fp/floatsisf.c: Likewise.
18249 * soft-fp/floatsitf.c: Likewise.
18250 * soft-fp/floattidf.c: Likewise.
18251 * soft-fp/floattisf.c: Likewise.
18252 * soft-fp/floattitf.c: Likewise.
18253 * soft-fp/floatundidf.c: Likewise.
18254 * soft-fp/floatundisf.c: Likewise.
18255 * soft-fp/floatunsidf.c: Likewise.
18256 * soft-fp/floatunsisf.c: Likewise.
18257 * soft-fp/floatuntidf.c: Likewise.
18258 * soft-fp/floatuntisf.c: Likewise.
18259 * soft-fp/floatuntitf.c: Likewise.
18260 * soft-fp/fmadf4.c: Likewise.
18261 * soft-fp/fmasf4.c: Likewise.
18262 * soft-fp/fmatf4.c: Likewise.
18263 * soft-fp/gedf2.c: Likewise.
18264 * soft-fp/gesf2.c: Likewise.
18265 * soft-fp/getf2.c: Likewise.
18266 * soft-fp/ledf2.c: Likewise.
18267 * soft-fp/lesf2.c: Likewise.
18268 * soft-fp/letf2.c: Likewise.
18269 * soft-fp/muldf3.c: Likewise.
18270 * soft-fp/mulsf3.c: Likewise.
18271 * soft-fp/multf3.c: Likewise.
18272 * soft-fp/negdf2.c: Likewise.
18273 * soft-fp/negsf2.c: Likewise.
18274 * soft-fp/negtf2.c: Likewise.
18275 * soft-fp/op-1.h: Likewise.
18276 * soft-fp/op-2.h: Likewise.
18277 * soft-fp/op-4.h: Likewise.
18278 * soft-fp/op-8.h: Likewise.
18279 * soft-fp/op-common.h: Likewise.
18280 * soft-fp/quad.h: Likewise.
18281 * soft-fp/single.h: Likewise.
18282 * soft-fp/soft-fp.h: Likewise.
18283 * soft-fp/sqrtdf2.c: Likewise.
18284 * soft-fp/sqrtsf2.c: Likewise.
18285 * soft-fp/sqrttf2.c: Likewise.
18286 * soft-fp/subdf3.c: Likewise.
18287 * soft-fp/subsf3.c: Likewise.
18288 * soft-fp/subtf3.c: Likewise.
18289 * soft-fp/truncdfsf2.c: Likewise.
18290 * soft-fp/trunctfdf2.c: Likewise.
18291 * soft-fp/trunctfsf2.c: Likewise.
18292 * soft-fp/trunctfxf2.c: Likewise.
18293 * soft-fp/unorddf2.c: Likewise.
18294 * soft-fp/unordsf2.c: Likewise.
18295 * soft-fp/unordtf2.c: Likewise.
18297 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
18300 * misc/error.c (error_tail): Fix possible buffer overflow.
18302 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18305 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18308 2013-10-14 P. J. McDermott <pj@pehjota.net>
18311 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18312 testing pipefail option.
18314 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18316 * soft-fp/double.h: Indent preprocessor directives inside #if.
18317 * soft-fp/extended.h: Likewise.
18318 * soft-fp/op-2.h: Likewise.
18319 * soft-fp/op-4.h: Likewise.
18320 * soft-fp/op-common.h: Likewise.
18321 * soft-fp/quad.h: Likewise.
18322 * soft-fp/single.h: Likewise.
18323 * soft-fp/soft-fp.h: Likewise.
18325 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18327 * iconv/iconv_prog.c: Fix typos.
18328 * stdio-common/psiginfo-data.h: Likewise.
18330 2013-10-12 Reuben Thomas <rrt@sc3d.org>
18333 * locale/setlocale.c: Fix typo.
18335 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18338 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18339 signaling NaN arguments.
18340 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18341 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18344 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18345 unordered operands.
18346 * soft-fp/gesf2.c (__gesf2): Likewise.
18347 * soft-fp/getf2.c (__getf2): Likewise.
18348 * soft-fp/ledf2.c (__ledf2): Likewise.
18349 * soft-fp/lesf2.c (__lesf2): Likewise.
18350 * soft-fp/letf2.c (__letf2): Likewise.
18352 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18353 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18354 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18355 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18356 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18357 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18358 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18359 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18360 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18361 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18362 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18363 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18364 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18365 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18366 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18367 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18368 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18369 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18370 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18371 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18372 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18373 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18374 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18375 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18376 * soft-fp/floattidf.c (__floattidf): Likewise.
18377 * soft-fp/floattisf.c (__floattisf): Likewise.
18378 * soft-fp/floattitf.c (__floattitf): Likewise.
18379 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18380 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18381 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18382 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18383 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18384 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18385 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18386 * soft-fp/gesf2.c (__gesf2): Likewise.
18387 * soft-fp/getf2.c (__getf2): Likewise.
18388 * soft-fp/ledf2.c (__ledf2): Likewise.
18389 * soft-fp/lesf2.c (__lesf2): Likewise.
18390 * soft-fp/letf2.c (__letf2): Likewise.
18392 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18393 Undefine and redefine.
18394 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18395 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18396 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18397 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18398 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18399 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18400 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18401 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18402 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18403 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18404 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18405 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18406 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18407 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18408 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18411 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18412 without decrementing exponent if mantissa >= that for the
18413 denominator, not >.
18414 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18415 denominator, not >. Decrement exponent in < case instead of
18416 incrementing in >= case.
18417 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18418 without decrementing exponent if mantissa >= that for the
18419 denominator, not >.
18421 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18422 computing saturated result for unsigned overflow.
18424 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18425 Jeff Law <law@redhat.com>
18427 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18428 (atan2Mp): Add systemtap probe marker.
18429 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18430 (__ieee754_log): Add systemtap probe marker.
18431 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18432 (atanMp): Add systemtap probe marker.
18433 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18434 (tanMp): Add systemtap probe marker.
18435 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18436 (__slowexp): Add systemtap probe marker.
18437 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18438 (__slowpow): Add systemtap probe marker.
18439 * manual/probes.texi: Document probes.
18441 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
18444 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18446 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18448 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18449 written to buffer but not flushed.
18450 * libio/iofwrite_u.c: Likewise.
18451 * libio/iopadn.c: Return bytes returned even if EOF was
18453 * libio/iowpadn.c: Likewise.
18454 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18455 if _IO_padn does not write the whole buffer.
18456 [!COMPILE_WPRINTF] (PAD): Likewise.
18458 2013-10-10 David S. Miller <davem@davemloft.net>
18460 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18463 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18465 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18466 instead of FSF address.
18467 * soft-fp/fixdfti.c: Likewise.
18468 * soft-fp/fixsfti.c: Likewise.
18469 * soft-fp/fixtfti.c: Likewise.
18470 * soft-fp/fixunsdfti.c: Likewise.
18471 * soft-fp/fixunssfti.c: Likewise.
18472 * soft-fp/fixunstfti.c: Likewise.
18473 * soft-fp/floattidf.c: Likewise.
18474 * soft-fp/floattisf.c: Likewise.
18475 * soft-fp/floattitf.c: Likewise.
18476 * soft-fp/floatuntidf.c: Likewise.
18477 * soft-fp/floatuntisf.c: Likewise.
18478 * soft-fp/floatuntitf.c: Likewise.
18479 * soft-fp/trunctfxf2.c: Likewise.
18481 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18482 * soft-fp/fixdfti.c: Likewise.
18483 * soft-fp/fixsfti.c: Likewise.
18484 * soft-fp/fixtfti.c: Likewise.
18485 * soft-fp/fixunsdfti.c: Likewise.
18486 * soft-fp/fixunssfti.c: Likewise.
18487 * soft-fp/fixunstfti.c: Likewise.
18488 * soft-fp/floattidf.c: Likewise.
18489 * soft-fp/floattisf.c: Likewise.
18490 * soft-fp/floattitf.c: Likewise.
18491 * soft-fp/floatuntidf.c: Likewise.
18492 * soft-fp/floatuntisf.c: Likewise.
18493 * soft-fp/floatuntitf.c: Likewise.
18494 * soft-fp/trunctfxf2.c: Likewise.
18496 2013-10-10 David S. Miller <davem@davemloft.net>
18498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18500 2013-10-10 Joseph Myers <joseph@codsourcery.com>
18502 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18503 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18504 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18505 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18506 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18507 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18508 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18511 for NaNs before doing comparisons on argument.
18512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18515 2013-10-10 Will Newton <will.newton@linaro.org>
18517 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18518 passed to _int_memalign does not overflow.
18520 2013-10-10 Torvald Riegel <triegel@redhat.com>
18522 * scripts/bench.pl: Add include-sources directive.
18523 * benchtests/README: Update documentation.
18525 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18527 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18528 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18529 instead of FP_INIT_ROUNDMODE.
18530 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18531 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18534 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18535 copy class of input value.
18536 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18537 not handle exceptions.
18538 * soft-fp/negsf2.c (__negsf2): Likewise.
18539 * soft-fp/negtf2.c (__negtf2): Likewise.
18540 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18542 2013-10-09 Joseph Myers <joseph@codesourcery.com>
18544 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18545 semicolon. From Linux kernel.
18547 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18549 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18551 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18554 * manual/socket.texi: Added statement about buffer
18555 for gethostbyname2_r.
18557 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
18559 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18560 Use .p2align directive instead, throughout.
18561 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18562 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18563 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18566 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18567 * sysdeps/x86_64/strchr.S: Likewise.
18568 * sysdeps/x86_64/strrchr.S: Likewise.
18570 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18572 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18574 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18576 * sysdeps/generic/math_private.h (__mpsin1): Remove
18578 (__mpcos1): Likewise.
18579 (__mpsin): New argument __range_reduce.
18580 (__mpcos): Likewise.
18581 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18582 (slow): Use __mpsin and __mpcos.
18586 (sloww1): Likewise.
18587 (sloww2): Likewise.
18588 (bsloww): Likewise.
18589 (bsloww1): Likewise.
18590 (bsloww2): Likewise.
18591 (cslow2): Likewise.
18592 (csloww): Likewise.
18593 (csloww1): Likewise.
18594 (csloww2): Likewise.
18595 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18596 range_reduce. Merge in __mpsin1.
18597 (__mpcos): Likewise.
18598 (__mpsin1): Remove.
18599 (__mpcos1): Likewise.
18601 2013-10-07 Joseph Myers <joseph@codesourcery.com>
18603 * locale/loadlocale.c (_nl_intern_locale_data): Use
18605 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18606 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18607 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18608 obstack data is appropriately aligned.
18609 (obstack_int32_grow_fast): Likewise.
18610 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18611 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18612 (add_locale_uint32_array): Likewise.
18614 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18616 * benchtests/Makefile: Remove ARGLIST and RET variables.
18617 ($(objpfx)bench-%.c): Pass only function name to the script.
18618 * benchtests/README: Update documentation.
18619 * benchtests/acos-inputs: Add new directives.
18620 * benchtests/acosh-inputs: Likewise.
18621 * benchtests/asin-inputs: Likewise.
18622 * benchtests/asinh-inputs: Likewise.
18623 * benchtests/atan-inputs: Likewise.
18624 * benchtests/atanh-inputs: Likewise.
18625 * benchtests/cos-inputs: Likewise.
18626 * benchtests/cosh-inputs: Likewise.
18627 * benchtests/exp-inputs: Likewise.
18628 * benchtests/log-inputs: Likewise.
18629 * benchtests/pow-inputs: Likewise.
18630 * benchtests/rint-inputs: Likewise.
18631 * benchtests/sin-inputs: Likewise.
18632 * benchtests/sinh-inputs: Likewise.
18633 * benchtests/tan-inputs: Likewise.
18634 * benchtests/tanh-inputs: Likewise.
18635 * scripts/bench.pl: Add support for new directives.
18637 2013-10-07 Alan Modra <amodra@gmail.com>
18639 * README: Fix careless merge.
18641 2013-10-05 Alan Modra <amodra@gmail.com>
18643 * NEWS: Mention powerpc64le support and bugs fixed.
18644 * README: Both big-endian and little-endian powerpc64 supported.
18646 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18648 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18649 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18650 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18651 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18653 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18655 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18658 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18660 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18661 Move -mhard-float appending from
18662 ports/sysdeps/powerpc/powerpc32/Makefile.
18663 [$(with-fp) = yes] (ASFLAGS): Likewise.
18664 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18665 * sysdeps/powerpc/nofpu: Move directory from
18666 ports/sysdeps/powerpc/nofpu.
18667 * sysdeps/powerpc/soft-fp: Move directory from
18668 ports/sysdeps/powerpc/soft-fp.
18669 * sysdeps/powerpc/powerpc32/405: Move directory from
18670 ports/sysdeps/powerpc/powerpc32/405.
18671 * sysdeps/powerpc/powerpc32/440: Move directory from
18672 ports/sysdeps/powerpc/powerpc32/440.
18673 * sysdeps/powerpc/powerpc32/464: Move directory from
18674 ports/sysdeps/powerpc/powerpc32/464.
18675 * sysdeps/powerpc/powerpc32/476: Move directory from
18676 ports/sysdeps/powerpc/powerpc32/476.
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18682 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18684 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18686 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18687 * README: Update for powerpc-*-linux-gnu software floating point
18690 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18691 case to powerpc/powerpc32*.
18692 * sysdeps/unix/sysv/linux/configure: Regenerated.
18694 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18695 (_FPU_MASK_OM): Define as 0x04.
18696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18704 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18707 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18710 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18711 and setcontext_e500.
18713 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18715 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18717 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18719 * manual/threads.texi (Default Thread Attributes): Fix typo.
18721 2013-10-04 Will Newton <will.newton@linaro.org>
18723 * malloc/Makefile: Add tst-memalign.
18724 * malloc/tst-memalign.c: New file.
18726 * malloc/tst-posix_memalign.c: Add comments.
18727 (do_test): Add comments and call free on all potentially
18728 allocated pointers. Add space after cast.
18730 * malloc/tst-pvalloc.c: Add comments.
18731 (do_test): Add comments and call free on all potentially
18732 allocated pointers. Remove duplicate check for NULL pointer.
18733 Add space after cast.
18735 * malloc/tst-valloc.c: Add comments.
18736 (do_test): Add comments and call free on all potentially
18737 allocated pointers. Remove duplicate check for NULL pointer.
18738 Add space after cast.
18740 2013-10-04 Alan Modra <amodra@gmail.com>
18742 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18743 Use stdint types in rather than __attribute__((mode())).
18744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18746 2013-10-04 Alan Modra <amodra@gmail.com>
18748 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18749 Correct handling of unaligned relocs for little-endian.
18750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18752 2013-10-04 Alan Modra <amodra@gmail.com>
18754 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18755 * configure: Regenerate.
18756 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18757 * shlib-versions: Likewise.
18759 2013-10-04 Alan Modra <amodra@gmail.com>
18761 * string/tester.c (test_memrchr): Increment reported test cycle.
18763 2013-10-04 Alan Modra <amodra@gmail.com>
18765 * string/test-memcpy.c (do_one_test): When reporting errors, print
18766 string address and don't overrun end of string.
18768 2013-10-04 Alan Modra <amodra@gmail.com>
18770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18771 insrdi. Make better use of reg selection to speed exit slightly.
18772 Schedule entry path a little better. Remove useless "are we done"
18773 checks on entry to main loop. Handle wrapping around zero address.
18774 Correct main loop count. Handle single left-over word from main
18775 loop inline rather than by using loop_small. Remove extra word
18776 case in loop_small caused by wrong loop count. Add little-endian
18778 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18781 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18782 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18783 support. Avoid rlwimi.
18784 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18786 2013-10-04 Alan Modra <amodra@gmail.com>
18788 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18789 insrdi. Formatting.
18790 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18791 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18792 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18793 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18794 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18795 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18797 2013-10-04 Alan Modra <amodra@gmail.com>
18799 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18800 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18801 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18802 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18803 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18804 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18806 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18807 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18808 use of regs. Use power7 mtocrf. Tidy function tails.
18810 2013-10-04 Alan Modra <amodra@gmail.com>
18812 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18813 Formatting. Consistently use rXXX register defines or rN defines.
18814 Use early exit labels that avoid restoring unused non-volatile regs.
18815 Make cr field use more consistent with rWORDn compares. Rename
18816 regs used as shift registers for unaligned loop, using rN defines
18817 for short lifetime/multiple use regs.
18818 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18820 addi 1,1,64 to pop stack frame. Simplify return value code.
18821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18823 2013-10-04 Alan Modra <amodra@gmail.com>
18825 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18826 support. Correct typos, formatting. Optimize tail. Use insrdi
18827 rather than rlwimi.
18828 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18829 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18830 little-endian support. Correct typos.
18831 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18832 rather than rlwimi.
18833 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18834 in loop and entry code to keep "and." results.
18835 (strchr): Add little-endian support. Comment. Move cntlzd
18837 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18839 2013-10-04 Alan Modra <amodra@gmail.com>
18841 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18842 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18843 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18844 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18846 2013-10-04 Alan Modra <amodra@gmail.com>
18848 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18849 (rTMP): Define as r11.
18850 (strcmp): Add little-endian support. Optimise tail.
18851 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18852 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18853 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18854 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18855 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18856 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18859 2013-10-04 Alan Modra <amodra@gmail.com>
18861 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18862 little-endian support. Remove unnecessary "are we done" tests.
18863 Handle "s" wrapping around zero and extremely large "size".
18864 Correct main loop count. Handle single left-over word from main
18865 loop inline rather than by using small_loop. Correct comments.
18866 Delete "zero" tail, use "end_max" instead.
18867 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18869 2013-10-04 Alan Modra <amodra@gmail.com>
18871 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18872 support. Don't branch over align.
18873 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18874 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18875 support. Rearrange tmp reg use to suit. Comment.
18876 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18878 2013-10-04 Alan Modra <amodra@gmail.com>
18880 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18882 2013-10-04 Alan Modra <amodra@gmail.com>
18884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18885 conditional form of branch and link when obtaining pc.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18888 2013-10-04 Alan Modra <amodra@gmail.com>
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18895 2013-10-04 Alan Modra <amodra@gmail.com>
18897 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18898 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18899 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18900 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18901 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18902 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18903 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18904 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18905 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18906 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18908 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18909 Alistair Popple <alistair@ozlabs.au.ibm.com>
18910 Alan Modra <amodra@gmail.com>
18913 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18914 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18915 _dl_hwcap access for little-endian.
18916 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18917 destroy vmx regs when saving unaligned.
18918 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18919 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18920 destroy vmx regs when saving unaligned.
18922 2013-10-04 Alan Modra <amodra@gmail.com>
18924 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18925 Don't use a union to pack hi/low value.
18927 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18929 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18931 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18932 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18933 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18934 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18935 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18937 2013-10-04 Alan Modra <amodra@gmail.com>
18939 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18940 constants to usual value for .cst8 section, and remove redundant
18942 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18943 constant for 0x1p52. Load little-endian words of double from
18944 correct stack offsets.
18946 2013-10-04 Alan Modra <amodra@gmail.com>
18948 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18949 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18950 words of double from correct stack offsets.
18951 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18952 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18953 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18956 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18958 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18959 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18960 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18961 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18963 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18964 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18965 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18966 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18967 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18969 2013-10-04 Alan Modra <amodra@gmail.com>
18971 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18972 64-bit int/double union.
18973 (_FPU_SETCW): Likewise.
18974 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18975 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18977 2013-10-04 Alan Modra <amodra@gmail.com>
18979 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18980 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18982 2013-10-04 Alan Modra <amodra@gmail.com>
18984 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18985 use vector int constants.
18986 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18988 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18990 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18991 array with long long.
18992 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18993 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18994 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18995 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18996 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18997 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18998 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18999 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19000 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19001 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19002 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19003 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19004 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19006 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19008 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19009 (__signbit): Likewise. Correct for little-endian.
19010 (__signbitl): Call __signbit.
19011 (lrint): Correct for little-endian.
19012 (lrintf): Call lrint.
19014 2013-10-04 Alan Modra <amodra@gmail.com>
19016 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19017 union 32-bit int array member with 64-bit int array.
19018 (t515, tm256): Double rather than long double.
19019 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19021 2013-10-04 Alan Modra <amodra@gmail.com>
19023 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19025 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19026 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19027 version of math_ldbl.h.
19029 2013-10-04 Alan Modra <amodra@gmail.com>
19031 [BZ #15734], [BZ #15735]
19032 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19033 all uses of ieee875 long double macros and unions. Simplify test
19034 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19035 ldbl_extract_mantissa value for ix,iy exponents. Properly
19036 normalize after ldbl_extract_mantissa, and don't add hidden bit
19037 already handled. Don't treat low word of ieee854 mantissa like
19038 low word of IBM long double and mask off bit when testing for
19040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19041 all uses of ieee875 long double macros and unions. Simplify tests
19042 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19043 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19044 two1022, instead use their values. Recognise that tests for large
19045 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19046 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19047 Rewrite all uses of ieee875 long double macros and unions. Simplify
19048 test for 0.0L and nan. Correct negation.
19049 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19050 ieee875 long double macros and unions. Correct output for large
19051 magnitude x. Correct absolute value calculation.
19052 (__erfcl): Likewise.
19053 * math/libm-test.inc: Add tests for errors discovered in IBM long
19054 double versions of fmodl, remainderl, erfl and erfcl.
19056 2013-10-04 Alan Modra <amodra@gmail.com>
19058 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19059 all uses of ieee854 long double macros and unions. Simplify tests
19060 for long doubles that are fully specified by the high double.
19061 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19063 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19064 Remove dead code too.
19065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19066 (__ieee754_ynl): Likewise.
19067 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19068 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19070 Remove dead code too.
19071 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19072 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19073 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19074 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19076 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19078 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19079 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19081 Comment on variable precision.
19082 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19085 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19086 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19089 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19091 2013-10-04 Alan Modra <amodra@gmail.com>
19093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19094 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19095 all uses of ieee854 long double macros and unions.
19096 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19097 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19098 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19104 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19105 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19109 Simplify sign and nan test too.
19110 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19111 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19115 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19119 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19121 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19122 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19125 2013-10-04 Alan Modra <amodra@gmail.com>
19127 * stdio-common/printf_size.c (__printf_size): Don't use
19128 union ieee854_long_double in fpnum union.
19129 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19130 signbit macro to retrieve sign from long double.
19131 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19132 retrieve sign from long double.
19133 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19134 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19135 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19136 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19137 * math/test-misc.c (main): Don't use union ieee854_long_double.
19139 2013-10-04 Alan Modra <amodra@gmail.com>
19142 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19143 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19144 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19145 calculation. Remove unnecessary test for denormal exponent.
19146 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19147 Correct handling of denormals. Avoid undefined shift behaviour.
19148 Correct normalisation of low mantissa when low double is denormal.
19149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19150 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19151 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19152 Correct normalisation of low mantissa. Test for overflow of high
19153 mantissa and normalise.
19154 (ldbl_nearbyint): Use more readable constant for two52.
19155 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19156 (__mpn_construct_long_double): Fix test for overflow of high
19157 mantissa and correct normalisation. Avoid undefined shift.
19159 2013-10-04 Alan Modra <amodra@gmail.com>
19161 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19162 (union ibm_extended_long_double): Define as an array of ieee754_double.
19163 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19164 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19165 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19166 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19170 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19172 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19173 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19175 2013-10-03 Joseph Myers <joseph@codesourcery.com>
19177 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19178 page size instead of calling getpagesize.
19180 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19181 (LOCFILE_ALIGN_MASK): Likewise.
19182 (LOCFILE_ALIGN_UP): Likewise.
19183 (LOCFILE_ALIGNED_P): Likewise.
19184 * locale/programs/ld-collate.c (collate_output): Use the new
19185 macros instead of __alignof__ (int32_t).
19186 * locale/weight.h (findidx): Likewise.
19188 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
19191 * manual/string.texi: Fix strncat and wcsncat.
19193 2013-10-03 Brooks Moses <bmoses@google.com>
19196 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19197 * Makerules: ...here, and adjust associated comments.
19199 2013-10-02 Will Newton <will.newton@linaro.org>
19201 * malloc/Makefile: Add tst-pvalloc.
19202 * malloc/tst-pvalloc.c: New file.
19204 2013-10-02 Will Newton <will.newton@linaro.org>
19206 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19207 improve test coverage.
19209 2013-10-02 Will Newton <will.newton@linaro.org>
19211 * malloc/Makefile: Add tst-posix_memalign.
19212 * malloc/tst-posix_memalign.c: New file.
19214 2013-10-01 Eric Blake <eblake@redhat.com>
19216 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19217 Use __THROWNL rather than __THROW on static functions.
19219 2013-09-30 Petr Machata <pmachata@redhat.com>
19221 * elf/elf.h (R_AARCH64_ABS16): New macro.
19222 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19223 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19224 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19225 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19226 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19227 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19228 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19229 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19230 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19231 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19232 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19233 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19234 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19235 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19236 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19237 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19238 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19239 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19240 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19241 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19242 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19243 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19244 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19245 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19246 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19247 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19248 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19249 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19250 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19251 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19252 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19253 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19254 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19255 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19256 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19257 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19258 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19259 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19260 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19261 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19262 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19263 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19264 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19265 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19266 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19267 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19268 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19269 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19270 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19271 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19272 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19273 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19274 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19275 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19276 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19277 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19278 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19279 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19280 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19281 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19282 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19283 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19284 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19285 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19286 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19287 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19288 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19289 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19290 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19291 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19292 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19293 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19294 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19295 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19296 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19297 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19298 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19299 (R_AARCH64_TLSDESC_LDR): Likewise.
19300 (R_AARCH64_TLSDESC_ADD): Likewise.
19301 (R_AARCH64_TLSDESC_CALL): Likewise.
19303 2013-09-30 Andreas Schwab <schwab@suse.de>
19306 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19307 the nss database lookup.
19308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19311 2013-09-28 Mike Frysinger <vapier@gentoo.org>
19313 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19315 2013-09-28 P. J. McDermott <pj@pehjota.net>
19317 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19318 ${Bash-specific parameter/pattern/string} parameter expansion.
19319 * sysdeps/unix/make-syscalls.sh: Likewise.
19321 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19323 * sysdeps/sh/stackguard-macros.h: New file.
19325 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
19327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19329 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19330 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19331 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19332 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19334 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19336 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19337 Fix thread ID register.
19339 2013-09-25 Joseph Myers <joseph@codesourcery.com>
19341 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19342 [POSIX || UNIX98]: Require rather than permitting all symbols from
19344 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19345 element of struct sched_param.
19346 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19347 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19348 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19349 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19352 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19354 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19355 argument calculation.
19357 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19359 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19361 [POSIX] (pthread_attr_t): Do not require type.
19362 [POSIX] (pthread_cond_t): Likewise.
19363 [POSIX] (pthread_condattr_t): Likewise.
19364 [POSIX] (pthread_key_t): Likewise.
19365 [POSIX] (pthread_mutex_t): Likewise.
19366 [POSIX] (pthread_mutexattr_t): Likewise.
19367 [POSIX] (pthread_once_t): Likewise.
19368 [POSIX] (pthread_t): Likewise.
19369 [POSIX-based standards] (pthread_atfork): Expect function.
19371 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19372 Richard Sandiford <richard@codesourcery.com>
19374 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19375 (swap_endianness_p): New extern variable.
19376 (set_big_endian): New inline function.
19377 (maybe_swap_uint32): Likewise.
19378 (maybe_swap_uint32_array): Likewise.
19379 (maybe_swap_uint32_obstack): Likewise.
19380 * locale/programs/locfile.c: Include <stdbool.h>.
19381 (swap_endianness_p): New variable.
19382 (add_locale_uint32): Call maybe_swap_uint32.
19383 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19384 (write_locale_data): Call maybe_swap_uint32_array.
19385 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19387 (obstack_int32_grow_fast): Likewise.
19388 (output_weightwc): Call maybe_swap_uint32_obstack.
19389 (collate_output): Likewise.
19390 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19391 (OPT_LITTLE_ENDIAN): Likewise.
19392 (options): Add --little-endian and --big-endian options.
19393 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19394 * locale/programs/locarchive.c: Include "locfile.h".
19398 (create_archive): Use the new macros to access fields of
19399 structures directly mapped from or written to locale archives.
19400 (oldlocrecentcmp): Likewise.
19401 (enlarge_archive): Likewise.
19402 (insert_name): Likewise.
19403 (add_alias): Likewise.
19404 (add_locale): Likewise.
19405 (delete_locales_from_archive): Likewise.
19406 (show_archive_content): Likewise.
19407 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19410 2013-09-24 Roland McGrath <roland@hack.frob.com>
19412 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19413 http://www.gnu.org/doc/freemanuals.texi.
19414 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19416 2013-09-24 Will Newton <will.newton@linaro.org>
19418 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19421 2013-09-23 Joseph Myers <joseph@codesourcery.com>
19423 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19426 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19428 * manual/threads.texi (POSIX Threads): Fix a typo.
19430 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19433 * string/tst-strcoll-overflow.c: New test case.
19434 * string/Makefile (xtests): Add tst-strcoll-overflow.
19435 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19436 cache if string sizes may cause integer overflow.
19439 * string/strcoll_l.c (coll_seq): New members rule, idx,
19440 save_idx and back_us.
19441 (get_next_seq_nocache): New function.
19442 (do_compare_nocache): New function.
19443 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19446 2013-09-23 Carlos O'Donell <carlos@redhat.com>
19449 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19450 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19451 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19454 * elf/Makefile (tests): Add tst-ptrguard1.
19455 (tests-static): Add tst-ptrguard1-static.
19456 (tst-ptrguard1-ARGS): Define.
19457 (tst-ptrguard1-static-ARGS): Define.
19458 * elf/tst-ptrguard1.c: New file.
19459 * elf/tst-ptrguard1-static.c: New file.
19460 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19461 * sysdeps/i386/stackguard-macros.h: Likewise.
19462 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19463 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19464 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19465 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19466 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19467 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19469 2013-09-23 Hector Marco <hecmargi@upv.es>
19470 Ismael Ripoll <iripoll@disca.upv.es>
19471 Carlos O'Donell <carlos@redhat.com>
19474 * sysdeps/generic/stackguard-macros.h: Define
19475 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19476 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19477 Define __pointer_chk_guard_local.
19478 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19479 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19481 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19484 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19486 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19488 * include/string.h (__ffs): Declare as hidden.
19489 * string/ffs.c (__ffs): Define as hidden.
19490 * sysdeps/i386/ffs.c (__ffs): Likewise.
19491 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19492 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19493 * sysdeps/s390/ffs.c (__ffs): Likewise.
19494 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19496 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
19498 * NEWS: Mention malloc probes.
19500 * malloc/arena.c (new_heap): New memory_heap_new probe.
19501 (grow_heap): New memory_heap_more probe.
19502 (shrink_heap): New memory_heap_less probe.
19503 (heap_trim): New memory_heap_free probe.
19504 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19505 (systrim): New memory_sbrk_less probe.
19506 * manual/probes.texi: Document them.
19508 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19509 * manual/probes.texi: Document it.
19511 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19512 (__libc_realloc): Add memory_realloc_retry probe.
19513 (__libc_memalign): Add memory_memalign_retry probe.
19514 (__libc_valloc): Add memory_valloc_retry probe.
19515 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19516 (__libc_calloc): Add memory_calloc_retry probe.
19517 * manual/probes.texi: Document them.
19519 * malloc/arena.c (get_free_list): Add probe
19520 memory_arena_reuse_free_list.
19521 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19522 and memory_arena_reuse.
19523 (arena_get2) [!PER_THREAD]: Likewise.
19524 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19525 memory_arena_reuse_realloc.
19526 * manual/probes.texi: Document them.
19528 * malloc/malloc.c (__libc_free): Add
19529 memory_mallopt_free_dyn_thresholds probe.
19530 (__libc_mallopt): Add multiple memory_mallopt probes.
19531 * manual/probes.texi: Document them.
19533 * malloc/malloc.c: Include stap-probe.h.
19534 (__libc_mallopt): Add memory_mallopt probe.
19535 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19536 * manual/probes.texi: New.
19537 * manual/Makefile (chapters): Add probes.
19538 * manual/threads.texi: Set next node.
19540 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
19542 [BZ #15963, #13985]
19543 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19544 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19545 Add `Chinese' to `nan' entry name.
19547 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19549 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19550 (POLYNOMIAL): Likewise.
19551 (TAYLOR_SINCOS): Likewise.
19552 (TAYLOR_SLOW): Likewise.
19553 (__sin): Use TAYLOR_SINCOS.
19555 (slow): Use TAYLOR_SLOW.
19557 (bsloww): Likewise.
19558 (csloww): Likewise.
19560 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19562 * stdlib/strtod_l.c: Fix buffer overrun.
19564 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19566 * benchtests/Makefile (bench): Add sincos.
19567 * benchtests/bench-sincos.c: New file.
19569 * math/libm-test.inc (cos_test_data): New test inputs.
19570 (sin_test_data): Likewise.
19572 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19578 (sloww1): Likewise.
19579 (sloww2): Likewise.
19580 (bsloww1): Likewise.
19581 (bsloww2): Likewise.
19582 (cslow2): Likewise.
19583 (csloww1): Likewise.
19584 (csloww2): Likewise.
19586 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19595 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19597 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19598 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19599 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19600 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19601 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19602 * elf/cache.c (print_entry): Handle the new cache flags.
19604 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19605 Aldy Hernandez <aldyh@redhat.com>
19607 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19608 Change condition to [_SOFT_FLOAT].
19609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19621 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19624 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19627 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19629 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19630 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19631 (__longjmp): Use LOAD_GP to load saved GPRs.
19632 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19633 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19634 (__sigsetjmp): Use SAVE_GP to save GPRs.
19636 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19637 Do not append -msoft-float.
19638 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19640 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19642 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19644 2013-09-17 Joseph Myers <joseph@codesourcery.com>
19647 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19648 (_FPU_GETCW): Use initial "__" on variable and field names but not
19649 on macro parameter name.
19650 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19651 parentheses around reference to macro parameter.
19653 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19655 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19657 (ctype_startup): Use uint32_t in cast and sizeof for
19660 2013-09-11 Jia Liu <proljc@gmail.com>
19662 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19664 [__FreeBSD__]: Likewise.
19666 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19669 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19670 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19671 (strchr): Remove __strchr_sse42 ifunc selection.
19672 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19673 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19675 2013-09-11 Will Newton <will.newton@linaro.org>
19677 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19678 parameter to RES. Remove hardcoded 1000 value.
19679 * benchtests/bench-skeleton.c (main): Pass RES parameter
19680 to TIMING_INIT and multiply result by 1000.
19682 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19686 2013-09-11 Andreas Schwab <schwab@suse.de>
19688 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19690 (O_TMPFILE) [__USE_GNU]: Define.
19691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19694 2013-09-11 Will Newton <will.newton@linaro.org>
19697 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19700 2013-09-11 Will Newton <will.newton@linaro.org>
19703 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19706 2013-09-11 Will Newton <will.newton@linaro.org>
19709 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19712 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19714 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19716 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19717 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19718 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19720 2013-09-10 Allan McRae <allan@archlinux.org>
19723 * manual/arith.texi (Parsing of Floats): Clarify
19727 * manual/install.texi (Running make install): Mention
19729 * INSTALL: Regenerated.
19731 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19733 * csu/init-first.c (_init): Remove the !SHARED condition around
19734 FPU control word initialization.
19735 * elf/dl-support.c (_dl_fpu_control): New variable.
19736 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19737 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19738 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19739 * math/test-fpucw-static.c: New file.
19740 * math/test-fpucw-ieee.c: New file.
19741 * math/test-fpucw-ieee-static.c: New file.
19742 * math/Makefile (tests): Add `test-fpucw-ieee' and
19744 (tests-static): New variable.
19745 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19747 [($(build-shared),yes)]
19748 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19750 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19753 2013-09-09 Allan McRae <allan@archlinux.org>
19756 * manual/string.texi (Collation Functions): Fix typo in
19758 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19761 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19764 * libio/memstream.c (open_memstream): Fix memory leak.
19765 * libio/wmemstream.c (open_wmemstream): Likewise.
19768 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19770 2013-09-09 Will Newton <will.newton@linaro.org>
19772 * malloc/Makefile: Add tst-realloc to tests.
19773 * malloc/tst-realloc.c: New file.
19775 2013-09-09 Allan McRae <allan@archlinux.org>
19778 * COPYING: Update from GNU website to fix FSF address.
19779 * COPYING.LIB: Likewise.
19781 2013-09-06 David S. Miller <davem@davemloft.net>
19783 * po/zh_TW.po: Update Chinese (traditional) translation from
19784 translation project.
19786 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19787 Joseph Myers <joseph@codesourcery.com>
19789 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19791 (obstack_chunk_alloc): New macro.
19792 (obstack_chunk_free): Likewise.
19793 (record_offset): New function.
19794 (init_locale_data): Likewise.
19795 (align_locale_data): Likewise.
19796 (add_locale_empty): Likewise.
19797 (add_locale_raw_data): Likewise.
19798 (add_locale_raw_obstack): Likewise.
19799 (add_locale_string): Likewise.
19800 (add_locale_wstring): Likewise.
19801 (add_locale_uint32): Likewise.
19802 (add_locale_uint32_array): Likewise.
19803 (add_locale_char): Likewise.
19804 (start_locale_structure): Likewise.
19805 (end_locale_structure): Likewise.
19806 (start_locale_prelude): Likewise.
19807 (end_locale_prelude): Likewise.
19808 (write_locale_data): Take locale_file structure rather than an
19810 * locale/programs/locfile.h: Include "obstack.h".
19811 (struct locale_file): Change to store locale file contents instead
19813 (init_locale_data): New prototype.
19814 (align_locale_data): Likewise.
19815 (add_locale_empty): Likewise.
19816 (add_locale_raw_data): Likewise.
19817 (add_locale_raw_obstack): Likewise.
19818 (add_locale_string): Likewise.
19819 (add_locale_wstring): Likewise.
19820 (add_locale_uint32): Likewise.
19821 (add_locale_uint32_array): Likewise.
19822 (add_locale_char): Likewise.
19823 (start_locale_structure): Likewise.
19824 (end_locale_structure): Likewise.
19825 (start_locale_prelude): Likewise.
19826 (end_locale_prelude): Likewise.
19827 (write_locale_data): Update prototype.
19828 * locale/programs/3level.h (struct TABLE): Remove result field.
19829 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19830 Use new locale_file interface.
19831 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19832 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19833 * locale/programs/ld-address.c (address_output): Use new
19834 locale_file interface.
19835 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19837 (collate_finish): Don't call collseq_table_finalize.
19838 (collate_output): Use new locale_file interface.
19839 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19841 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19842 (TABLE): Move defines earlier in file.
19843 (ELEMENT): Likewise.
19844 (DEFAULT): Likewise.
19845 (wctrans_table_add): Move macro and inline function earlier in
19847 (struct wctype_table): Move type earlier in file.
19848 (add_locale_wctype_table): New static prototype.
19849 (struct locale_ctype_t): Use logical types instead of struct iovec
19850 pointers for members.
19851 (ctype_output): Use new locale_file interface.
19852 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19853 new locale_file interface.
19854 (allocate_arrays): Update for use of new locale_file interface.
19855 * locale/programs/ld-identification.c (identification_output): Use
19856 new locale_file interface.
19857 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19858 * locale/programs/ld-messages.c (messages_output): Likewise.
19859 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19860 * locale/programs/ld-name.c (name_output): Likewise.
19861 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19862 * locale/programs/ld-paper.c (paper_output): Likewise.
19863 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19864 * locale/programs/ld-time.c (time_output): Likewise.
19866 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19868 * benchtests/Makefile: Add memrchr benchmark.
19869 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19870 benchmark as memrchr.
19871 * benchtests/bench-memrchr-ifunc.c: New file.
19872 * benchtests/bench-memrchr.c: New file.
19874 2013-09-06 Will Newton <will.newton@linaro.org>
19876 * benchtests/Makefile (string-bench): Add memcpy.
19878 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19879 Cong Wang <amwang@redhat.com>
19882 * sysdeps/unix/sysv/linux/bits/in.h
19883 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19884 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19885 before __USE_KERNEL_IPV6_DEFS uses.
19886 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19888 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19889 sockaddr_in6, or ipv6_mreq.
19891 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19893 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19894 memory access for final bytes in some large inputs.
19895 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19897 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19899 * string/test-memrchr.c: New file.
19900 * string/test-memrchr-ifunc.c: New file.
19901 * string/Makefile: Add new memrchr testcase.
19903 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19905 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19906 fanotify_init returns EPERM.
19908 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19910 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19912 (top level): Treat second token from macro or constant entries for
19913 allowed headers as allowed.
19914 * include/complex.h: Condition internal declarations on
19916 * include/fenv.h: Condition include of <stdbool.h> and internal
19917 declarations on [!_ISOMAC].
19919 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19922 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19924 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19926 * configure.in (--enable-versioning): Remove configure option.
19927 (libc_cv_asm_symver_directive): Remove configure test.
19928 (libc_cv_ld_version_script_option): Likewise.
19929 (VERSIONING): Remove variable and AC_SUBST.
19930 (DO_VERSIONING): Remove AC_DEFINE.
19931 * configure: Regenerated.
19932 * config.h.in (DO_VERSIONING): Remove macro.
19933 * Makerules [$(versioning) = yes]: Change conditionals to
19934 [$(build-shared) = yes].
19935 * config.make.in (versioning): Remove variable.
19936 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19937 [$(build-shared) = yes].
19938 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19939 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19940 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19941 [$(build-shared) = yes].
19942 * extra-lib.mk [$(versioning) = yes]: Likewise.
19943 * hurd/Makefile [$(versioning) = yes]: Likewise.
19944 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19946 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19948 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19949 [SHARED && !NO_HIDDEN].
19950 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19952 [SHARED && DO_VERSIONING]: Likewise..
19953 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19954 [$(build-shared) = yes].
19955 * manual/install.texi (--disable-versioning): Remove
19957 * INSTALL: Regenerated.
19958 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19960 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19961 [$(build-shared) = yes].
19962 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19963 * sysdeps/i386/i686/multiarch/strstr-c.c
19964 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19965 [SHARED && !NO_HIDDEN].
19966 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19967 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19968 * sysdeps/powerpc/powerpc32/dl-machine.c
19969 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19970 * sysdeps/powerpc/powerpc32/sysdep.h
19971 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19972 to [SHARED && PIC && !NO_HIDDEN].
19973 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19974 conditional to [SHARED].
19976 2013-09-04 Will Newton <will.newton@linaro.org>
19978 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19979 * benchtests/bench-string.h: Include bench-timing.h instead
19980 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19981 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19982 call to HP_TIMING_DIFF_INIT.
19983 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19984 instead of hp-timing.h macros.
19985 * benchtests/bench-memchr.c: Likewise.
19986 * benchtests/bench-memcmp.c: Likewise.
19987 * benchtests/bench-memcpy.c: Likewise.
19988 * benchtests/bench-memmem.c: Likewise.
19989 * benchtests/bench-memmove.c: Likewise.
19990 * benchtests/bench-memset.c: Likewise.
19991 * benchtests/bench-rawmemchr.c: Likewise.
19992 * benchtests/bench-strcasecmp.c: Likewise.
19993 * benchtests/bench-strcasestr.c: Likewise.
19994 * benchtests/bench-strcat.c: Likewise.
19995 * benchtests/bench-strchr.c: Likewise.
19996 * benchtests/bench-strcmp.c: Likewise.
19997 * benchtests/bench-strcpy.c: Likewise.
19998 * benchtests/bench-strcpy_chk.c: Likewise.
19999 * benchtests/bench-strlen.c: Likewise.
20000 * benchtests/bench-strncasecmp.c: Likewise.
20001 * benchtests/bench-strncat.c: Likewise.
20002 * benchtests/bench-strncmp.c: Likewise.
20003 * benchtests/bench-strncpy.c: Likewise.
20004 * benchtests/bench-strnlen.c: Likewise.
20005 * benchtests/bench-strpbrk.c: Likewise.
20006 * benchtests/bench-strrchr.c: Likewise.
20007 * benchtests/bench-strspn.c: Likewise.
20008 * benchtests/bench-strstr.c: Likewise.
20010 2013-09-04 Will Newton <will.newton@linaro.org>
20012 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20014 2013-09-03 Joseph Myers <joseph@codesourcery.com>
20017 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20018 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20019 * math/libm-test.inc (lgamma_test_data): Add more tests.
20020 * sysdeps/i386/fpu/libm-test-ulps: Update.
20021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20023 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
20025 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20029 Add strcmp-sse2-unaligned
20030 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20032 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20034 * Versions.def (libc): Add GLIBC_2.19.
20036 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20038 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20039 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20041 2013-09-02 Joseph Myers <joseph@codesourcery.com>
20044 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20045 intermediate calculations in recurrence.
20046 (__ieee754_ynf): Likewise.
20047 * math/libm-test.inc (jn_test_data): Do not allow spurious
20048 underflow exception. Add more tests.
20049 (yn_test_data): Add more tests.
20050 * sysdeps/i386/fpu/libm-test-ulps: Update.
20051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20053 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
20055 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20057 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20059 * csu/init-first.c: Fix then/than typos.
20060 * locale/programs/ld-collate.c: Likewise.
20061 * locale/programs/linereader.h: Likewise.
20062 * manual/charset.texi: Likewise.
20063 * manual/filesys.texi: Likewise.
20064 * manual/stdio.texi: Likewise.
20065 * manual/string.texi: Likewise.
20066 * stdlib/fmtmsg.c: Likewise.
20067 * sysdeps/i386/stpncpy.S: Likewise.
20068 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20069 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20070 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20071 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20073 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20075 * elf/dl-open.c: Fix typos.
20076 * iconvdata/gbbig5.c: Likewise.
20077 * iconvdata/iso-2022-jp.c: Likewise.
20078 * iconv/gconv_int.h: Likewise.
20079 * iconv/loop.c: Likewise.
20080 * nis/rpcsvc/nis.h: Likewise.
20081 * resolv/ns_name.c: Likewise.
20082 * stdio-common/vfscanf.c: Likewise.
20083 * streams/stropts.h: Likewise.
20084 * sunrpc/rpc_thread.c: Likewise.
20085 * sysdeps/i386/strpbrk.S: Likewise.
20086 * sysdeps/ieee754/k_standard.c: Likewise.
20087 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20088 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20089 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20090 * sysdeps/mach/hurd/profil.c: Likewise.
20091 * sysdeps/s390/dl-procinfo.h: Likewise.
20092 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20093 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20094 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20095 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20096 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20098 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20100 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20103 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20105 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20106 aix specific files.
20107 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20108 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20109 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20110 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20111 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20112 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20113 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20114 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20116 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20117 Roland McGrath <roland@hack.frob.com>
20119 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20120 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20122 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20124 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20125 __executable_start symbol instead of _start.
20127 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20129 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20130 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20132 * sysdeps/gnu/ldsodefs.h: ... this new file.
20134 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20135 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20136 instead of ELFOSABI_LINUX.
20138 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20139 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20140 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20141 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20143 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20144 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20145 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20147 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20148 (ibm_extended_long_double): Add ieee_nan member.
20149 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20150 (do_test): New function.
20152 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20154 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20155 functions, renamed from truncdfsf_test, trunctfsf_test,
20157 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20159 (do_test): Run all these.
20161 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20163 * argp/argp-help.c: Fix typos.
20164 * argp/argp-parse.c: Likewise.
20165 * debug/backtracesyms.c: Likewise.
20166 * elf/elf.h: Likewise.
20167 * malloc/malloc.c: Likewise.
20168 * nis/nis_print.c: Likewise.
20169 * resolv/res_comp.c: Likewise.
20170 * stdlib/stdlib.h: Likewise.
20171 * sunrpc/clnt_tcp.c: Likewise.
20172 * sunrpc/clnt_udp.c: Likewise.
20173 * sunrpc/clnt_unix.c: Likewise.
20174 * sysdeps/unix/bsd/ptsname.c: Likewise.
20175 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20176 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20183 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20185 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20187 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20190 2013-08-27 Mike Frysinger <vapier@gentoo.org>
20193 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20194 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20195 ($(objpfx)bug-dl-leaf): New rule.
20196 ($(objpfx)bug-dl-leaf.so): Likewise.
20197 ($(objpfx)bug-dl-leaf.out): Likewise.
20198 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20199 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20200 * dlfcn/bug-dl-leaf.c: New test.
20201 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20202 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20203 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20204 (dlclose): Likewise.
20205 (dlmopen): Likewise.
20207 2013-08-27 Roland McGrath <roland@hack.frob.com>
20209 * include/netdb.h [!_ISOMAC]:
20210 Don't include <tls.h>.
20211 (h_errno, __libc_h_errno): Move declaration and macros out of
20214 * include/resolv.h [_RESOLV_H_]:
20215 Don't include <tls.h>.
20216 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20217 * resolv/res_libc.c: Don't include <tls.h>.
20218 (_res): Use __attribute__ ((nocommon)) in place of
20219 __attribute__ ((section (".bss"))).
20221 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20222 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20224 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20226 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20227 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20229 * resolv/res_mkquery.c: Include <sys/time.h>.
20231 * inet/ifreq.c: Moved to ...
20232 * sysdeps/unix/ifreq.c: ... here.
20233 * inet/ifreq.c: New file, true stub version.
20235 * socket/sa_len.c: New file.
20236 * socket/Makefile (aux): Add it.
20237 * sysdeps/unix/sysv/linux/Makefile
20238 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20239 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20240 and #include <socket/sa_len.c>.
20241 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20242 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20244 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20245 * bits/socket.h: ... here.
20247 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20248 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20249 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20251 2013-08-27 Andreas Schwab <schwab@suse.de>
20254 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20255 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20256 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20257 * string/test-strcasecmp.c (test_main): Run tests in several
20259 * string/test-strncasecmp.c (test_main): Likewise.
20261 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20262 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20263 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20265 (__strncasecmp_ssse3) [PIC]: Likewise.
20267 2013-08-26 Roland McGrath <roland@hack.frob.com>
20269 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20271 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20272 instead of explicitly declaring xdecrypt.
20273 * nis/nss_nis/nis-publickey.c: Likewise.
20275 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20278 * nscd/aicache.c: Include res_hconf.h.
20279 (addhstaiX): Initialize res_hconf.
20281 2013-08-26 Andreas Schwab <schwab@suse.de>
20283 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20284 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20286 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20288 * nscd/aicache.c (addhstaiX): Fix indentation.
20290 2013-08-25 Mike Frysinger <vapier@gentoo.org>
20292 * configure.ac: Quote $build_pt_chown test.
20293 * configure: Regenerated.
20295 2013-08-23 Joseph Myers <joseph@codesourcery.com>
20298 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20299 * math/s_cexpf.c (__cexpf): Likewise.
20300 * math/s_cexpl.c (__cexpl): Likewise.
20301 * math/libm-test.inc (cexp_test_data): Correct expected return
20302 value for NaN + i0. Add another test.
20304 2013-08-22 David S. Miller <davem@davemloft.net>
20306 * po/ca.po: Update Catalan translation from translation project.
20307 * po/uk.po: Add Ukrainian translations from translation project.
20309 2013-08-21 Joseph Myers <joseph@codesourcery.com>
20312 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20313 is infinite, not alongside NaN test.
20314 * math/s_fdimf.c (__fdimf): Likewise.
20315 * math/s_fdiml.c (__fdiml): Likewise.
20316 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20317 errno is unchanged.
20319 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
20321 * argp/argp-help.c: Fix typos.
20322 * crypt/speeds.c: Likewise.
20323 * csu/check_fds.c: Likewise.
20324 * elf/dl-load.c: Likewise.
20325 * elf/dl-open.c: Likewise.
20326 * elf/reldep3.c: Likewise.
20327 * elf/reldep.c: Likewise.
20328 * elf/sprof.c: Likewise.
20329 * iconv/iconv_charmap.c: Likewise.
20330 * iconv/skeleton.c: Likewise.
20331 * iconv/strtab.c: Likewise.
20332 * io/lockf64.c: Likewise.
20333 * libio/libioP.h: Likewise.
20334 * resolv/gai_notify.c: Likewise.
20335 * resolv/ns_name.c: Likewise.
20336 * resolv/ns_samedomain.c: Likewise.
20337 * resolv/res_send.c: Likewise.
20338 * stdlib/random.c: Likewise.
20339 * sunrpc/rpc/xdr.h: Likewise.
20340 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20341 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20342 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20343 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20344 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20347 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20348 * sysdeps/mach/hurd/check_fds.c: Likewise.
20349 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20350 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20352 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20353 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20354 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20355 * sysdeps/pthread/aio_notify.c: Likewise.
20356 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20357 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20358 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20359 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20360 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20362 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20364 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20365 version if bit_Slow_SSE4_2 is set.
20366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20367 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20369 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20372 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20373 trampoline stack frame information.
20374 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20375 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20376 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20377 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20378 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20379 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20380 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20381 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20383 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20384 interrupting a syscall and set with option SA_SIGINFO.
20386 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20389 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20390 argument is infinite.
20391 * math/s_cprojf.c (__cprojf): Likewise.
20392 * math/s_cprojl.c (__cprojl): Likewise.
20393 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20394 * math/libm-test.inc (cproj_test_data): Add more tests.
20396 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20398 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20399 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20400 size. Use __ffs to determine corresponding shift.
20402 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20403 Roland McGrath <roland@hack.frob.com>
20405 * Makefile (INSTALL): Remove trailing blank lines from output of
20408 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20410 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20411 Align 32 bit compat elf_greg to 8 bytes.
20413 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20415 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20417 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20419 * string/strcoll_l.c (coll_seq): New structure.
20420 (get_next_seq_cached): New function.
20421 (get_next_seq): New function.
20422 (do_compare): New function.
20423 (STRCOLL): Use GNU style definition. Simplify implementation
20424 by using get_next_seq, get_next_seq_cached and do_compare.
20426 2013-08-16 Florian Weimer <fweimer@redhat.com>
20430 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20432 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20434 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20435 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20436 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20438 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20439 GETDENTS_64BIT_ALIGNED.
20440 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20441 * manual/filesys.texi (Reading/Closing Directory): Document
20442 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20444 * manual/conf.texi (Limits for Files): Add portability note to
20445 NAME_MAX, PATH_MAX.
20446 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20448 2013-08-13 Andreas Schwab <schwab@suse.de>
20451 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20453 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20454 LDBL_MAX_EXP >= 16384]: Add tests for it.
20456 2013-08-12 David S. Miller <davem@davemloft.net>
20458 * version.h (RELEASE): Set to "development".
20459 (VERSION): Set to "2.18.90".
20460 * NEWS: Add 2.19 section.
20462 2013-08-03 David S. Miller <davem@davemloft.net>
20464 * po/ko.po: Update Korean translation from translation project.
20466 2013-08-01 David S. Miller <davem@davemloft.net>
20468 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20469 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20472 2013-07-30 David S. Miller <davem@davemloft.net>
20474 * po/fr.po: Update French translation from translation project.
20476 2013-07-28 David S. Miller <davem@davemloft.net>
20478 * po/cs.po: Update Czech translation from translation project.
20480 * po/sv.po: Update Swedish translation from translation project.
20482 2013-07-27 David S. Miller <davem@davemloft.net>
20484 * po/eo.po: Update Esperanto translation from translation project.
20486 * po/vi.po: Update Vietnamese translation from translation project.
20488 * po/de.po: Update German translation from translation project.
20490 2013-07-26 David S. Miller <davem@davemloft.net>
20492 * po/bg.po: Update Bulgarian translation from translation project.
20494 * po/nl.po: Update Dutch translation from translation project.
20495 * po/pl.po: Update Polish translation from translation project.
20496 * po/ru.po: Update Russian translation from translation project.
20498 2013-07-24 David S. Miller <davem@davemloft.net>
20500 * po/libc.pot: Update.
20502 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20504 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20505 variable page size.
20506 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20507 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20508 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20510 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20512 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20514 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20515 Andreas Schwab <schwab@suse.de>
20516 Roland McGrath <roland@hack.frob.com>
20517 Joseph Myers <joseph@codesourcery.com>
20518 Carlos O'Donell <carlos@redhat.com>
20521 * config.h.in: Define HAVE_PT_CHOWN.
20522 * config.make.in (build-pt-chown): New variable.
20523 * configure.in (--enable-pt_chown): New configure option.
20524 * configure: Regenerate.
20525 * login/Makefile: Include Makeconfig. Build pt_chown only if
20526 build-pt-chown is enabled.
20527 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20528 pt_chown to fix pty ownership.
20529 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20531 * manual/install.texi (Configuring and compiling): Mention
20532 --enable-pt_chown. Add @findex for grantpt.
20533 * INSTALL: Regenerate.
20535 2013-07-20 David S. Miller <davem@davemloft.net>
20537 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20538 difference between 32-bit and 64-bit.
20540 2013-07-15 Carlos O'Donell <carlos@redhat.com>
20543 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20544 Avoid system header dependency with -ffreestanding.
20545 ($(objpfx)bits/syscall%d): Likewise.
20547 2013-07-13 David S. Miller <davem@davemloft.net>
20549 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20550 underflows from atanl/atan2l due to bug 15319.
20551 (casinh_test_data): Likewise.
20553 2013-07-07 David S. Miller <davem@davemloft.net>
20555 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20557 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20559 * sysdeps/i386/fpu/libm-test-ulps: Update.
20560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20562 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20564 * configure.in (--enable-lock-elision): Fix message text.
20565 * INSTALL: Regenerate.
20566 * configure: Regenerate.
20568 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20572 2013-07-03 Andreas Jaeger <aj@suse.de>
20574 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20576 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20577 (ptrace_peeksiginfo_args): Add.
20578 (__ptrace_peeksiginfo_flags): Add.
20579 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20583 2013-07-03 Allan McRae <allan@archlinux.org>
20585 * sysdeps/i386/fpu/libm-test-ulps: Update.
20587 2013-07-02 David S. Miller <davem@davemloft.net>
20589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20591 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20595 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20597 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20600 2013-07-02 Andi Kleen <ak@linux.intel.com>
20602 * config.h.in (ENABLE_LOCK_ELISION): Add.
20603 * configure.in (--enable-lock-elision): Add option.
20604 * manual/install.texi: Document --enable lock elision.
20605 * configure: Regenerate
20606 * INSTALL: Regenerate.
20608 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20610 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20611 SSE4.2 strcasecmp for libc.a.
20612 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20614 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20617 * soft-fp/op-common.h (_FP_FMA): New macro.
20618 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20619 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20620 (_FP_MUL_MEAT_1_imm): ... here.
20621 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20622 (_FP_MUL_MEAT_1_wide): ... here.
20623 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20624 (_FP_MUL_MEAT_1_hard): ... here.
20625 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20626 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20627 (_FP_MUL_MEAT_2_wide): ... here.
20628 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20629 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20630 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20631 (_FP_MUL_MEAT_2_gmp): ... here.
20632 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20633 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20634 (_FP_MUL_MEAT_4_wide): ... here.
20635 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20636 (_FP_MUL_MEAT_4_gmp): ... here.
20637 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20638 (_FP_WFRACBITS_DW_S): Likewise.
20639 (_FP_WFRACXBITS_DW_S): Likewise.
20640 (_FP_HIGHBIT_DW_S): Likewise.
20641 (FP_FMA_S): Likewise.
20642 (_FP_FRAC_HIGH_DW_S): Likewise.
20643 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20644 (_FP_WFRACBITS_DW_D): Likewise.
20645 (_FP_WFRACXBITS_DW_D): Likewise.
20646 (_FP_HIGHBIT_DW_D): Likewise.
20647 (FP_FMA_D): Likewise.
20648 (_FP_FRAC_HIGH_DW_D): Likewise.
20649 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20650 (_FP_WFRACBITS_DW_E): Likewise.
20651 (_FP_WFRACXBITS_DW_E): Likewise.
20652 (_FP_HIGHBIT_DW_E): Likewise.
20653 (FP_FMA_E): Likewise.
20654 (_FP_FRAC_HIGH_DW_E): Likewise.
20655 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20656 (_FP_WFRACBITS_DW_Q): Likewise.
20657 (_FP_WFRACXBITS_DW_Q): Likewise.
20658 (_FP_HIGHBIT_DW_Q): Likewise.
20659 (FP_FMA_Q): Likewise.
20660 (_FP_FRAC_HIGH_DW_Q): Likewise.
20661 * soft-fp/fmasf4.c: New file.
20662 * soft-fp/fmadf4.c: Likewise.
20663 * soft-fp/fmatf4.c: Likewise.
20665 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20668 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20670 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20672 (index_Slow_SSE4_2): Likewise.
20673 (index_Prefer_PMINUB_for_stringop): Likewise.
20674 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20675 bit_Slow_SSE4_2 is set.
20676 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20677 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20679 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20681 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20682 rtld_global._dl_hwcap2.
20683 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20685 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20686 POWER8 feature descriptions defined in _dl_hwcap2.
20687 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20688 string handling for POWER8 feature bits.
20689 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20690 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20691 _dl_powerpc_cap_flags.
20692 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20693 * sysdeps/powerpc/rtld-global-offsets.sym
20694 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20695 _dl_hwcap2 in the rtld_global_ro structure.
20697 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20699 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20700 hardware capabilities in support of AT_HWCAP2.
20701 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20702 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20704 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20705 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20706 explicitly the unknown a_type display mechanism is used.
20707 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20708 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20710 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20711 to macro prototype for AT_HWCAP2 support.
20712 * sysdeps/i386/dl-procinfo.h: Likewise.
20713 * sysdeps/s390/dl-procinfo.h: Likewise.
20714 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20715 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20716 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20717 return -1 for unknown a_type display fallback.
20718 * sysdeps/sparc/dl-procinfo.h: Likewise.
20719 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20720 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20722 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20724 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20725 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20727 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20730 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20731 mprotect making __stack_prot writable.
20733 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20734 Joseph Myers <joseph@codesourcery.com>
20736 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20737 as being properly aligned.
20739 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20741 * dlfcn/modstatic5.c: New file.
20742 * dlfcn/tststatic5.c: New file.
20743 * dlfcn/Makefile (tests): Add tststatic5.
20744 (tests-static): Likewise.
20745 (modules-names): Add modstatic5.
20746 (tststatic5-ENV): New variable.
20747 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20750 * elf/dl-support.c (_dl_main_map): New variable.
20751 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20752 (_dl_nns, _dl_load_adds): Set to 1.
20753 (_dl_initial_searchlist): Refer to _dl_main_map.
20754 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20755 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20756 call to _dl_get_origin.
20757 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20759 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20760 * dlfcn/modstatic3.c: New file.
20761 * dlfcn/tststatic3.c: New file.
20762 * dlfcn/tststatic4.c: New file.
20763 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20764 (tests-static): Likewise.
20765 (modules-names): Add modstatic3.
20766 (tststatic3-ENV, tststatic4-ENV): New variables.
20767 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20768 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20770 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20772 * configure.in (CC): Require GCC version 4.4 or later.
20773 * configure: Regenerated.
20774 * manual/install.texi (Tools for Compilation): Update GCC version
20776 * INSTALL: Regenerated.
20778 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20781 * string/test-memcmp.c (check2): New.
20782 (main): Call check2.
20784 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20786 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20789 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20791 (dl_open_worker) [!SHARED]: ... here.
20793 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20795 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20797 2013-06-25 Richard Henderson <rth@redhat.com>
20799 * locale/programs/locarchive.c: Include <libc-internal.h>
20801 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20803 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20804 trailing whitespace removed.
20806 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20809 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20810 * locale/programs/locarchive.c: Include libc-mmap.h.
20811 (prepare_address_space): Take two new outputs (the mmap base and len).
20812 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20814 (create_archive): Declare new mmap base and len values for
20815 prepare_address_space, and store the result in ah.
20816 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20817 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20818 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20819 Declare new mmap base and len values for
20820 prepare_address_space, and store the result in new_ah.
20821 (open_archive): Declare new mmap base and len values for
20822 prepare_address_space, and store the result in ah.
20823 (close_archive): If ah->mmap_base is not NULL, use that and
20824 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20825 * sysdeps/generic/libc-mmap.h: New file.
20827 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20829 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20830 (ALIGN_UP): Likewise.
20831 (PTR_ALIGN_DOWN): Likewise.
20832 (PTR_ALIGN_UP): Likewise.
20834 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20836 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20837 entry mapped to PPC_PLATFORM_POWER8.
20838 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20840 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20841 (_dl_string_platform): Add case for exporting platform position for
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20844 search path to sysdeps/powerpc/powerpc32/power8 directory.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20846 search path to sysdeps/powerpc/powerpc64/power8 directory.
20847 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20848 power7 directories.
20849 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20850 power7 directories.
20852 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20854 * INSTALL: Regenerate.
20856 * nscd/connections.c (nscd_init): Fix comment.
20858 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20860 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20863 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20864 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20866 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20868 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20870 (DL_DST_REQ_STATIC): Remove macro.
20872 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20875 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20876 with a shift of 0 bits.
20878 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20880 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20883 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20886 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20888 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20890 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20891 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20892 accepts -fno-tree-loop-distribute-patterns.
20893 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20894 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20896 * string/memset.c (memset): Likewise.
20897 * string/test-memmove.c (simple_memmove): Disable loop transformation
20899 * string/test-memset.c (simple_memset): Likewise.
20900 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20901 * benchtests/bench-memset.c (simple_memset): Likewise.
20902 * configure: Regenerated.
20904 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20906 * math/test-misc.c (main): Ignore fesetround failure when failures
20907 of subsequent rounding tests would be ignored.
20910 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20911 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20912 * math/fegetenv.c (__fegetenv): Return 0.
20913 * math/fegetexcept.c (fegetexcept): Return 0.
20914 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20916 * math/feholdexcpt.c (feholdexcept): Return 0.
20917 * math/fesetenv.c (__fesetenv): Return 0.
20918 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20919 argument FE_TONEAREST.
20920 * math/feupdateenv.c (__feupdateenv): Return 0.
20921 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20923 2013-06-18 Roland McGrath <roland@hack.frob.com>
20925 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20926 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20927 ($(objpfx)rtld-%.os rules): Use them.
20929 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20931 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20934 2013-06-17 Roland McGrath <roland@hack.frob.com>
20936 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20937 length of target pattern, then descending length of dependency pattern.
20938 * configure.in (AWK): Require gawk 3.1.2 or newer.
20939 * manual/install.texi (Tools for Compilation): Say that we do.
20940 * configure: Regenerated.
20942 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20943 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20944 * scripts/sysd-rules.awk: ... this new script.
20945 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20946 than a glob-style pattern.
20948 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20950 * math/test-misc.c (main): Do not treat incorrectly rounded
20951 conversions as failure unless ROUNDING_TESTS passes.
20953 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20956 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20957 restore exception state around main square root computation, then
20958 check for inexactness explicitly.
20960 * math/libm-test.inc (fma_test_data): Add another test.
20962 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20964 * manual/threads.texi (Non-POSIX Extensions): New document
20965 node. Document pthread_getattr_default_np and
20966 pthread_setattr_default_np.
20968 * Versions.def (libpthread): Add GLIBC_2.18.
20969 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20978 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20989 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20992 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20994 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20995 H.J. Lu <hjl.tools@gmail.com>
20998 * sysdeps/x86_64/rtld-memset.c: Remove file.
20999 * sysdeps/x86_64/rtld-memset.S: New file.
21001 2013-06-14 Joseph Myers <joseph@codesourcery.com>
21003 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21004 (test_in_one_mode): Take arguments for whether the rounding mode
21005 is supported for each floating-point type.
21006 (do_test): Pass new arguments to test_in_one_mode using
21009 2013-06-13 Roland McGrath <roland@hack.frob.com>
21011 * posix/tst-waitid.c (do_test): Distinguish different instances of
21012 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21013 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21014 before entering the kernel for waitpid.
21016 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21018 * NEWS: Fix note on clock function precision. Text by Roland
21021 2013-06-13 Roland McGrath <roland@hack.frob.com>
21023 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21024 it into place only when and if the sanity check passes.
21026 2013-06-13 Joseph Myers <joseph@codesourcery.com>
21028 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21029 output for whether conversion result is exact. Take argument
21030 indicating whether type is IBM long double.
21031 (round_for_all): Change need_exact field to ibm_ld.
21032 * stdlib/tst-strtod-round.c (struct exactness): New type.
21033 (struct test): Change bool ld_ok field to struct exactness exact.
21034 (TEST): Update all definitions for change to field.
21035 (tests): Regenerate array contents.
21036 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21037 field value. Check for IBM long double here.
21038 (do_test): Update calls to test_in_one_mode.
21040 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21043 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21044 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21046 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21049 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21050 generated by the compiler on loop optimizations.
21051 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21052 general definitions.
21054 2013-06-12 Joseph Myers <joseph@codesourcery.com>
21056 * math/bug-nextafter.c: Include <math-tests.h>.
21057 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21059 * math/bug-nexttoward.c: Include <math-tests.h>.
21060 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21062 * math/test-misc.c: Include <math-tests.h>.
21063 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21066 2013-06-12 Andreas Jaeger <aj@suse.de>
21068 * po/ia.po: Update Interlingua translation from translation
21071 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21073 * include/fenv.h: Include stdbool.h.
21074 (struct rm_ctx): New structure.
21075 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21077 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21078 (SET_RESTORE_ROUNDF): Likewise.
21079 (SET_RESTORE_ROUNDL): Likewise.
21080 (SET_RESTORE_ROUND_NOEX): Likewise.
21081 (SET_RESTORE_ROUND_NOEXF): Likewise.
21082 (SET_RESTORE_ROUND_NOEXL): Likewise.
21083 (SET_RESTORE_ROUND_53BIT): Likewise.
21084 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21085 (libc_feresetround_noexf_ctx): Likewise.
21086 (libc_feresetround_noexl_ctx): Likewise.
21087 (libc_feholdsetround_53bit_ctx): Likewise.
21088 (libc_feresetround_53bit_ctx): Likewise.
21089 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21090 (libc_feholdexcept_setround_sse_ctx): New function.
21091 (libc_fesetenv_sse_ctx): Likewise.
21092 (libc_feupdateenv_sse_ctx): Likewise.
21093 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21094 (libc_feholdexcept_setround_387_ctx): Likewise.
21095 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21096 (libc_feholdsetround_387_prec_ctx): Likewise.
21097 (libc_feholdsetround_387_ctx): Likewise.
21098 (libc_feholdsetround_387_53bit_ctx): Likewise.
21099 (libc_feholdsetround_sse_ctx): Likewise.
21100 (libc_feresetround_sse_ctx): Likewise.
21101 (libc_feresetround_387_ctx): Likewise.
21102 (libc_feupdateenv_387_ctx): Likewise.
21103 (libc_feholdexcept_setroundf_ctx): Define macro.
21104 (libc_fesetenvf_ctx): Likewise.
21105 (libc_feupdateenvf_ctx): Likewise.
21106 (libc_feholdsetroundf_ctx): Likewise.
21107 (libc_feresetroundf_ctx): Likewise.
21108 (libc_feholdexcept_setround_ctx): Likewise.
21109 (libc_fesetenv_ctx): Likewise.
21110 (libc_feupdateenv_ctx): Likewise.
21111 (libc_feholdsetround_ctx): Likewise.
21112 (libc_feresetround_ctx): Likewise.
21113 (libc_feholdexcept_setroundl_ctx): Likewise.
21114 (libc_feupdateenvl_ctx): Likewise.
21115 (libc_feholdsetroundl_ctx): Likewise.
21116 (libc_feresetroundl_ctx): Likewise.
21117 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21118 (libc_feresetround_53bit_ctx): Likewise.
21120 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21122 * locale/iso-639.def: Convert to UTF-8.
21124 2013-06-11 Joseph Myers <joseph@codesourcery.com>
21126 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21127 (EXCEPTION_TESTS_double): Likewise.
21128 (EXCEPTION_TESTS_long_double): Likewise.
21129 (EXCEPTION_TESTS): Likewise.
21130 * math/libm-test.inc (test_exceptions): Only test exceptions if
21131 EXCEPTION_TESTS (FLOAT).
21133 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21135 * benchtests/Makefile (string-bench): Add strcpy_chk and
21137 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21138 * benchtests/bench-stpcpy_chk.c: New file.
21139 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21140 * benchtests/bench-strcpy_chk.c: New file.
21141 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21143 (do_test): Likewise.
21145 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21147 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21148 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21149 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21150 with tabs where appropriate.
21151 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21153 [PPC_PLATFORM_PPC440]: Likewise.
21154 [PPC_PLATFORM_PPC464]: Likewise.
21155 [PPC_PLATFORM_PPC476]: Likewise.
21156 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21157 ppc464, and ppc476 platform strings merging from ports/
21160 2013-06-11 Andreas Schwab <schwab@suse.de>
21163 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21164 (from_ucs4_idx): Regenerate.
21165 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21166 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21167 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21168 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21169 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21170 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21171 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21172 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21173 from FROM_LOOP and TO_LOOP specific macros.
21174 (BODY): Handle combining characters.
21175 * iconvdata/BIG5HKSCS.irreversible: Update.
21176 * iconvdata/BIG5HKSCS.precomposed: New file.
21177 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21179 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21181 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21183 * include/sys/time.h: Fix indentation and add copyright header.
21185 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21186 (do_test): Likewise.
21187 * string/test-memchr.c (do_one_test): Likewise.
21188 (do_test): Likewise.
21189 * string/test-memcmp.c (do_one_test): Likewise.
21190 (do_test): Likewise.
21191 * string/test-memcpy.c (do_one_test): Likewise.
21192 (do_test): Likewise.
21193 * string/test-memmem.c (do_one_test): Likewise.
21194 (do_test): Likewise.
21195 (do_random_tests): Likewise.
21196 * string/test-memmove.c (do_one_test): Likewise.
21197 (do_test): Likewise.
21198 * string/test-memset.c (do_one_test): Likewise.
21199 (do_test): Likewise.
21200 * string/test-rawmemchr.c (do_one_test): Likewise.
21201 (do_test): Likewise.
21202 * string/test-strcasecmp.c (do_one_test): Likewise.
21203 (do_test): Likewise.
21204 * string/test-strcasestr.c (do_one_test): Likewise.
21205 (do_test): Likewise.
21206 * string/test-strcat.c (do_one_test): Likewise.
21207 (do_test): Likewise.
21208 * string/test-strchr.c (do_one_test): Likewise.
21209 (do_test): Likewise.
21210 * string/test-strcmp.c (do_one_test): Likewise.
21211 (do_test): Likewise.
21212 * string/test-strcpy.c (do_one_test): Likewise.
21213 (do_test): Likewise.
21214 * string/test-string.h: Likewise.
21215 (test_init): Likewise.
21216 * string/test-strlen.c (do_one_test): Likewise.
21217 (do_test): Likewise.
21218 * string/test-strncasecmp.c (do_one_test): Likewise.
21219 (do_test): Likewise.
21220 * string/test-strncat.c (do_one_test): Likewise.
21221 (do_test): Likewise.
21222 * string/test-strncmp.c (do_one_test): Likewise.
21223 (do_test_limit): Likewise.
21224 (do_test): Likewise.
21225 * string/test-strncpy.c (do_one_test): Likewise.
21226 (do_test): Likewise.
21227 * string/test-strnlen.c (do_one_test): Likewise.
21228 (do_test): Likewise.
21229 * string/test-strpbrk.c (do_one_test): Likewise.
21230 (do_test): Likewise.
21231 * string/test-strrchr.c (do_one_test): Likewise.
21232 (do_test): Likewise.
21233 * string/test-strspn.c (do_one_test): Likewise.
21234 (do_test): Likewise.
21235 * string/test-strstr.c (do_one_test): Likewise.
21236 (do_test): Likewise.
21238 * benchtests/Makefile (string-bench): Add string benchmarks.
21239 * benchtests/bench-bcopy-ifunc.c: New file.
21240 * benchtests/bench-bcopy.c: New file.
21241 * benchtests/bench-bzero-ifunc.c: New file.
21242 * benchtests/bench-bzero.c: New file.
21243 * benchtests/bench-memccpy-ifunc.c: New file.
21244 * benchtests/bench-memccpy.c: New file.
21245 * benchtests/bench-memchr-ifunc.c: New file.
21246 * benchtests/bench-memchr.c: New file.
21247 * benchtests/bench-memcmp-ifunc.c: New file.
21248 * benchtests/bench-memcmp.c: New file.
21249 * benchtests/bench-memmem-ifunc.c: New file.
21250 * benchtests/bench-memmem.c: New file.
21251 * benchtests/bench-memmove-ifunc.c: New file.
21252 * benchtests/bench-memmove.c: New file.
21253 * benchtests/bench-mempcpy-ifunc.c: New file.
21254 * benchtests/bench-mempcpy.c: New file.
21255 * benchtests/bench-memset-ifunc.c: New file.
21256 * benchtests/bench-memset.c: New file.
21257 * benchtests/bench-rawmemchr-ifunc.c: New file.
21258 * benchtests/bench-rawmemchr.c: New file.
21259 * benchtests/bench-stpcpy-ifunc.c: New file.
21260 * benchtests/bench-stpcpy.c: New file.
21261 * benchtests/bench-stpncpy-ifunc.c: New file.
21262 * benchtests/bench-stpncpy.c: New file.
21263 * benchtests/bench-strcasecmp-ifunc.c: New file.
21264 * benchtests/bench-strcasecmp.c: New file.
21265 * benchtests/bench-strcasestr-ifunc.c: New file.
21266 * benchtests/bench-strcasestr.c: New file.
21267 * benchtests/bench-strcat-ifunc.c: New file.
21268 * benchtests/bench-strcat.c: New file.
21269 * benchtests/bench-strchr-ifunc.c: New file.
21270 * benchtests/bench-strchr.c: New file.
21271 * benchtests/bench-strchrnul-ifunc.c: New file.
21272 * benchtests/bench-strchrnul.c: New file.
21273 * benchtests/bench-strcmp-ifunc.c: New file.
21274 * benchtests/bench-strcmp.c: New file.
21275 * benchtests/bench-strcpy-ifunc.c: New file.
21276 * benchtests/bench-strcpy.c: New file.
21277 * benchtests/bench-strcspn-ifunc.c: New file.
21278 * benchtests/bench-strcspn.c: New file.
21279 * benchtests/bench-strlen-ifunc.c: New file.
21280 * benchtests/bench-strlen.c: New file.
21281 * benchtests/bench-strncasecmp-ifunc.c: New file.
21282 * benchtests/bench-strncasecmp.c: New file.
21283 * benchtests/bench-strncat-ifunc.c: New file.
21284 * benchtests/bench-strncat.c: New file.
21285 * benchtests/bench-strncmp-ifunc.c: New file.
21286 * benchtests/bench-strncmp.c: New file.
21287 * benchtests/bench-strncpy-ifunc.c: New file.
21288 * benchtests/bench-strncpy.c: New file.
21289 * benchtests/bench-strnlen-ifunc.c: New file.
21290 * benchtests/bench-strnlen.c: New file.
21291 * benchtests/bench-strpbrk-ifunc.c: New file.
21292 * benchtests/bench-strpbrk.c: New file.
21293 * benchtests/bench-strrchr-ifunc.c: New file.
21294 * benchtests/bench-strrchr.c: New file.
21295 * benchtests/bench-strspn-ifunc.c: New file.
21296 * benchtests/bench-strspn.c: New file.
21297 * benchtests/bench-strstr-ifunc.c: New file.
21298 * benchtests/bench-strstr.c: New file.
21300 * benchtests/Makefile: Disable parallel execution of targets.
21301 (string-bench): Add memcpy.
21302 (benchset): New variable to store a list of benchmark sets.
21303 (bench-func): Renamed from bench.
21304 (bench-set): New target.
21305 (bench): Depend on bench-func and bench-set.
21306 * benchtests/README: Add section on benchmark sets.
21307 * benchtests/bench-memcpy-ifunc.c: New file.
21308 * benchtests/bench-memcpy.c: New file.
21309 * benchtests/bench-string.h: New file.
21311 2013-06-11 Andreas Schwab <schwab@suse.de>
21314 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21315 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21316 values in the triple.
21317 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21318 terminator in the group key.
21320 2013-06-11 Andreas Jaeger <aj@suse.de>
21322 * po/zh_TW.po: Update Chinese (traditional) translation from
21323 translation project.
21325 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21327 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21328 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21329 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21330 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21331 (clock_getcpuclockid): Likewise.
21332 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21333 Add weak_alias and libc_hidden_def.
21334 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21335 * rt/clock_gettime.c (clock_gettime): Rename to
21336 __clock_gettime. Add weak_alias and libc_hidden_def.
21337 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21338 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21339 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21340 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21341 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21343 * rt/clock_settime.c (clock_settime): Rename to
21344 __clock_settime. Add weak_alias and libc_hidden_def.
21345 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21347 2013-06-10 Joseph Myers <joseph@codesourcery.com>
21349 * mach/err_boot.sub: Remove trailing whitespace.
21350 * mach/err_ipc.sub: Likewise.
21351 * mach/err_mach.sub: Likewise.
21353 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21354 (ROUNDING_TESTS_double): Likewise.
21355 (ROUNDING_TESTS_long_double): Likewise.
21356 (ROUNDING_TESTS): Likewise.
21357 * math/libm-test.inc: Include <math-tests.h>.
21358 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21359 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21360 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21361 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21363 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21365 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21368 2013-06-08 Joseph Myers <joseph@codesourcery.com>
21370 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21371 otherwise empty TRANS lines.
21372 * sysdeps/gnu/errlist.c: Regenerated.
21374 * catgets/gencat.c (error_print): Use (void) in function
21376 * crypt/crypt_util.c (__init_des): Likewise.
21377 * crypt/speeds.c (Stop): Likewise.
21379 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21380 * inet/ruserpass.c (token): Likewise.
21381 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21382 * intl/localealias.c (extend_alias_table): Likewise.
21383 * intl/plural-exp.c (init_germanic_plural): Likewise.
21384 * libio/fcloseall.c (__fcloseall): Likewise.
21385 * libio/genops.c (_IO_flush_all): Likewise.
21386 (_IO_flush_all_linebuffered): Likewise.
21387 (_IO_cleanup): Likewise.
21388 (_IO_iter_begin): Likewise.
21389 (_IO_iter_end): Likewise.
21390 (_IO_list_lock): Likewise.
21391 (_IO_list_unlock): Likewise.
21392 (_IO_list_resetlock): Likewise.
21393 * libio/getchar.c (getchar): Likewise.
21394 * libio/getchar_u.c (getchar_unlocked): Likewise.
21395 * libio/getwchar.c (getwchar): Likewise.
21396 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21397 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21398 * login/getpt.c (__getpt): Likewise.
21399 * login/tst-utmp.c (main): Likewise.
21400 * malloc/hooks.c (__malloc_check_init): Likewise.
21401 * malloc/malloc.c (__malloc_stats): Likewise.
21402 * malloc/mtrace.c (tr_break): Likewise.
21403 (mtrace): Likewise.
21404 (muntrace): Likewise.
21405 * misc/fstab.c (endfsent): Likewise.
21406 * misc/getclktck.c (__getclktck): Likewise.
21407 * misc/getdtsz.c (__getdtablesize): Likewise.
21408 * misc/gethostid.c (gethostid): Likewise.
21409 * misc/getpagesize.c (__getpagesize): Likewise.
21410 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21411 (__get_nprocs): Likewise.
21412 (__get_phys_pages): Likewise.
21413 (__get_avphys_pages): Likewise.
21414 * misc/getttyent.c (getttyent): Likewise.
21415 (setttyent): Likewise.
21416 (endttyent): Likewise.
21417 * misc/getusershell.c (getusershell): Likewise.
21418 (endusershell): Likewise.
21419 (setusershell): Likewise.
21420 (initshells): Likewise.
21421 * misc/hsearch.c (__hdestroy): Likewise.
21422 * misc/sync.c (sync): Likewise.
21423 * misc/syslog.c (closelog_internal): Likewise.
21424 (closelog): Likewise.
21425 * misc/ttyslot.c (ttyslot): Likewise.
21426 * misc/vhangup.c (vhangup): Likewise.
21427 * posix/fork.c (__fork): Likewise.
21428 * posix/getegid.c (__getegid): Likewise.
21429 * posix/geteuid.c (__geteuid): Likewise.
21430 * posix/getgid.c (__getgid): Likewise.
21431 * posix/getpid.c (__getpid): Likewise.
21432 * posix/getppid.c (__getppid): Likewise.
21433 * posix/getuid.c (__getuid): Likewise.
21434 * posix/pause.c (pause): Likewise.
21435 * posix/setpgrp.c (setpgrp): Likewise.
21436 * posix/setsid.c (__setsid): Likewise.
21437 * posix/test-vfork.c (noop): Likewise.
21438 * resolv/gethnamaddr.c (_endhtent): Likewise.
21439 (_gethtent): Likewise.
21440 (ht_endhostent): Likewise.
21441 (gethostent): Likewise.
21442 (dns_service): Likewise.
21443 * stdlib/drand48.c (drand48): Likewise.
21444 * stdlib/lrand48.c (lrand48): Likewise.
21445 * stdlib/mrand48.c (mrand48): Likewise.
21446 * stdlib/rand.c (rand): Likewise.
21447 * stdlib/random.c (__random): Likewise.
21448 * stdlib/setenv.c (clearenv): Likewise.
21449 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21450 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21451 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21452 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21453 (__get_nprocs): Likewise.
21454 (__get_phys_pages): Likewise.
21455 (__get_avphys_pages): Likewise.
21456 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21457 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21458 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21459 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21460 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21461 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21462 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21463 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21464 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21465 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21466 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21467 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21468 * sysdeps/posix/clock.c (clock): Likewise.
21469 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21470 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21471 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21472 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21473 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21474 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21475 (__get_nprocs_conf): Likewise.
21476 (__get_phys_pages): Likewise.
21477 (__get_avphys_pages): Likewise.
21478 * time/clock.c (clock): Likewise.
21479 * time/tzset.c (__tzname_max): Likewise.
21481 2013-06-07 Joseph Myers <joseph@codesourcery.com>
21483 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21484 (__bswap_32): Do not use "register".
21485 * crypt/crypt.c (_ufc_doit_r): Likewise.
21486 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21487 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21488 * gmon/gmon.c (__monstartup): Likewise.
21489 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21490 * hurd/hurdmalloc.c (more_memory): Likewise.
21491 (malloc): Likewise.
21493 (realloc): Likewise.
21494 (malloc_fork_prepare): Likewise.
21495 (malloc_fork_parent): Likewise.
21496 (malloc_fork_child): Likewise.
21497 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21498 (_svcauth_des): Likewise.
21499 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21500 * inet/inet_net.c (inet_network): Likewise.
21501 * inet/inet_netof.c (inet_netof): Likewise.
21502 * inet/rcmd.c (__validuser2_sa): Likewise.
21503 * io/fts.c (fts_open): Likewise.
21504 (fts_load): Likewise.
21505 (fts_close): Likewise.
21506 (fts_read): Likewise.
21507 (fts_children): Likewise.
21508 (fts_build): Likewise.
21509 (fts_stat): Likewise.
21510 (fts_sort): Likewise.
21511 (fts_alloc): Likewise.
21512 (fts_lfree): Likewise.
21513 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21514 (_IO_file_xsgetn): Likewise.
21515 (_IO_file_xsgetn_mmap): Likewise.
21516 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21517 (_IO_cookie_write): Likewise.
21518 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21519 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21520 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21521 * malloc/obstack.c (_obstack_begin): Likewise.
21522 (_obstack_begin_1): Likewise.
21523 (_obstack_newchunk): Likewise.
21524 (_obstack_allocated_p): Likewise.
21525 (obstack_free): Likewise.
21526 (_obstack_memory_used): Likewise.
21527 * misc/getttyent.c (getttynam): Likewise.
21528 (getttyent): Likewise.
21531 * misc/getusershell.c (initshells): Likewise.
21532 * misc/syslog.c (__vsyslog_chk): Likewise.
21533 * misc/ttyslot.c (ttyslot): Likewise.
21534 * nis/nis_hash.c (__nis_hash): Likewise.
21535 * posix/fnmatch_loop.c (FCT): Likewise.
21536 * posix/getconf.c (print_all): Likewise.
21538 * posix/getopt.c (exchange): Likewise.
21539 * posix/glob.c (globfree): Likewise.
21540 (prefix_array): Likewise.
21541 (__glob_pattern_type): Likewise.
21542 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21543 (NS_GET32): Likewise.
21544 (NS_PUT16): Likewise.
21545 (NS_PUT32): Likewise.
21546 * resolv/gethnamaddr.c (getanswer): Likewise.
21547 (gethostbyname2): Likewise.
21548 (gethostbyaddr): Likewise.
21549 (_gethtent): Likewise.
21550 (_gethtbyname2): Likewise.
21551 (_gethtbyaddr): Likewise.
21552 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21553 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21554 * resolv/res_init.c (__res_vinit): Likewise.
21555 (net_mask): Likewise.
21556 * resolv/res_mkquery.c (outchar): Likewise.
21558 * stdio-common/printf_fp.c (outchar): Likewise.
21560 * stdio-common/printf_fphex.c (outchar): Likewise.
21562 * stdio-common/printf_size.c (outchar): Likewise.
21564 * stdio-common/test_rdwr.c (main): Likewise.
21565 * stdio-common/tfformat.c (matches): Likewise.
21566 * stdio-common/vfprintf.c (outchar): Likewise.
21567 (printf_unknown): Likewise.
21568 (buffered_vfprintf): Likewise.
21569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21570 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21571 (ReadFile): Likewise.
21572 * stdlib/qsort.c (SWAP): Likewise.
21573 (_quicksort): Likewise.
21574 * stdlib/setenv.c (__add_to_environ): Likewise.
21575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21576 * stdlib/strtol_l.c (__strtol_l): Likewise.
21577 * stdlib/tst-strtod.c (main): Likewise.
21578 * stdlib/tst-strtol.c (main): Likewise.
21579 * stdlib/tst-strtoll.c (main): Likewise.
21580 * string/bits/string2.h (__strcmp_cc): Likewise.
21581 (__strcmp_cg): Likewise.
21582 (__strcspn_c1): Likewise.
21583 (__strcspn_c2): Likewise.
21584 (__strcspn_c3): Likewise.
21585 (__strspn_c1): Likewise.
21586 (__strspn_c2): Likewise.
21587 (__strspn_c3): Likewise.
21588 (__strsep_1c): Likewise.
21589 (__strsep_2c): Likewise.
21590 (__strsep_3c): Likewise.
21591 * string/memccpy.c (__memccpy): Likewise.
21592 * string/stpcpy.c (__stpcpy): Likewise.
21593 * string/strcmp.c (strcmp): Likewise.
21594 * string/strrchr.c (strrchr): Likewise.
21595 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21597 * sysdeps/mach/hurd/getcwd.c
21598 (_hurd_canonicalize_directory_name_internal): Likewise.
21599 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21600 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21601 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21602 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21603 Likewise, in both definitions.
21604 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21606 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21607 64] (__bswap_64): Likewise.
21608 * time/test_time.c (main): Likewise.
21609 * time/tzfile.c (__tzfile_read): Likewise.
21610 (__tzfile_compute): Likewise.
21611 * time/tzset.c (__tzset_parse_tz): Likewise.
21612 (tzset_internal): Likewise.
21613 (compute_change): Likewise.
21614 * wcsmbs/wcscat.c (__wcscat): Likewise.
21615 * wcsmbs/wcschr.c (wcschr): Likewise.
21616 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21617 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21618 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21619 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21620 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21621 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21622 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21623 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21624 * wcsmbs/wmemset.c (wmemset): Likewise.
21626 2013-06-06 Joseph Myers <joseph@codesourcery.com>
21628 * scripts/config.guess: Update to version 2013-05-16.
21629 * scripts/config.sub: Update to version 2013-04-24.
21630 * scripts/install-sh: Update to version 2011-11-20.07.
21631 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21632 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21634 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
21636 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21637 * elf/sln.c: Likewise.
21638 * hurd/hurd/ioctl.h: Likewise.
21639 * hurd/hurdmalloc.c: Likewise.
21640 * hurd/xattr.c: Likewise.
21641 * include/shlib-compat.h: Likewise.
21642 * inet/ruserpass.c: Likewise.
21643 * libio/iofgets_u.c: Likewise.
21644 * libio/iofgetws_u.c: Likewise.
21645 * locale/programs/ld-identification.c: Likewise.
21646 * locale/programs/ld-time.c: Likewise.
21647 * mach/msg-destroy.c: Likewise.
21648 * nss/nss_files/files-netgrp.c: Likewise.
21649 * resolv/res_data.c: Likewise.
21650 * soft-fp/op-1.h: Likewise.
21651 * soft-fp/op-2.h: Likewise.
21652 * soft-fp/op-4.h: Likewise.
21653 * soft-fp/op-common.h: Likewise.
21654 * stdio-common/printf_fphex.c: Likewise.
21655 * stdlib/strtod_l.c: Likewise.
21656 * sunrpc/rpc/clnt.h: Likewise.
21657 * sysdeps/generic/framestate.c: Likewise.
21658 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21659 * sysdeps/i386/bsd-setjmp.S: Likewise.
21660 * sysdeps/i386/__longjmp.S: Likewise.
21661 * sysdeps/i386/setjmp.S: Likewise.
21662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21663 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21665 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21678 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21680 * sysdeps/ieee754/support.c: Likewise.
21681 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21682 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21683 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21684 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21685 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21686 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21687 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21688 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21689 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21690 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21691 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21692 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21693 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21694 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21695 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21696 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21697 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21700 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21702 * posix/transbug.c: Remove executable mode.
21704 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21706 * crypt/speeds.c: Remove trailing whitespace.
21707 * dlfcn/default.c: Likewise.
21708 * elf/ifuncdep2.c: Likewise.
21709 * elf/ifuncmain1.c: Likewise.
21710 * elf/ifuncmain1vis.c: Likewise.
21711 * elf/testobj.h: Likewise.
21712 * elf/tst-stackguard1.c: Likewise.
21713 * gmon/sys/gmon.h: Likewise.
21714 * hurd/hurdmsg.c: Likewise.
21715 * hurd/new-fd.c: Likewise.
21716 * hurd/ports-get.c: Likewise.
21717 * iconvdata/ibm1008_420.c: Likewise.
21718 * inet/tst-getni1.c: Likewise.
21719 * inet/tst-getni2.c: Likewise.
21720 * libio/ioungetc.c: Likewise.
21721 * libio/wfiledoalloc.c: Likewise.
21722 * manual/libm-err-tab.pl: Likewise.
21723 * math/w_dremf.c: Likewise.
21724 * misc/ftruncate.c: Likewise.
21725 * posix/bug-glob2.c: Likewise.
21726 * posix/tst-pcre.c: Likewise.
21727 * posix/wait4.c: Likewise.
21728 * resolv/README: Likewise.
21729 * resolv/res_debug.h: Likewise.
21730 * resolv/tst-inet_ntop.c: Likewise.
21731 * setjmp/bug269-setjmp.c: Likewise.
21732 * soft-fp/extended.h: Likewise.
21733 * soft-fp/op-1.h: Likewise.
21734 * soft-fp/op-2.h: Likewise.
21735 * soft-fp/op-4.h: Likewise.
21736 * soft-fp/op-8.h: Likewise.
21737 * soft-fp/testit.c: Likewise.
21738 * stdio-common/bug16.c: Likewise.
21739 * stdlib/random.c: Likewise.
21740 * sunrpc/rpcsvc/rquota.x: Likewise.
21741 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21742 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21744 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21745 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21746 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21747 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21748 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21749 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21750 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21751 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21770 * sysdeps/ieee754/s_lib_version.c: Likewise.
21771 * sysdeps/mach/hurd/check_fds.c: Likewise.
21772 * sysdeps/mach/hurd/getsockname.c: Likewise.
21773 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21774 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21775 * sysdeps/powerpc/bits/link.h: Likewise.
21776 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21777 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21778 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21779 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21780 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21781 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21782 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21783 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21784 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21785 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21786 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21787 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21788 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21789 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21790 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21791 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21792 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21793 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21794 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21795 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21796 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21797 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21799 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21800 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21801 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21802 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21803 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21804 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21805 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21806 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21807 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21809 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21810 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21812 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21813 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21814 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21815 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21816 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21817 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21818 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21819 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21820 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21821 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21822 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21823 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21824 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21825 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21828 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21829 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21830 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21831 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21832 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21833 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21834 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21835 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21836 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21837 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21838 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21839 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21840 * sysdeps/powerpc/sysdep.h: Likewise.
21841 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21842 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21843 * sysdeps/sh/dl-trampoline.S: Likewise.
21844 * sysdeps/sh/memset.S: Likewise.
21845 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21846 * sysdeps/sh/strlen.S: Likewise.
21847 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21848 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21849 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21850 * sysdeps/sparc/sparc32/rem.S: Likewise.
21851 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21852 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21853 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21854 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21855 * sysdeps/sparc/sparc32/urem.S: Likewise.
21856 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21857 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21858 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21859 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21860 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21861 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21862 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21863 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21864 * sysdeps/unix/bsd/times.c: Likewise.
21865 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21866 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21870 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21871 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21872 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21873 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21874 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21875 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21876 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21877 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21878 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21879 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21880 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21881 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21882 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21883 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21884 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21885 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21886 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21887 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21888 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21889 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21890 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21891 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21892 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21893 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21894 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21895 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21896 * sysdeps/x86_64/strcspn.S: Likewise.
21898 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21900 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21901 generated file. Regenerate properly from gen-translit.pl.
21902 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21903 locale/C-translit.h.
21905 2013-06-05 Andreas Schwab <schwab@suse.de>
21908 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21909 week as 6 instead of -1.
21910 * time/tst-strptime.c (day_tests): Add test case.
21912 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21914 * sysdeps/generic/math_private.h
21915 (libc_feholdexcept_setround_53bit): Replace with
21916 libc_feholdsetround_53bit.
21917 (libc_feupdateenv_53bit): Replace with
21918 libc_feresetround_53bit.
21919 (SET_RESTORE_ROUND_53BIT): Adjust.
21921 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21923 * string/test-strchrnul.c: Add copyright header.
21925 * posix/tst-getaddrinfo4.c: Increase test timeout.
21927 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21930 * math/libm-test.inc (MAX_EXP): Remove
21932 (ulp): Use MIN_EXP - MANT_DIG.
21933 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21935 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21937 * po/be.po: Revert last change.
21938 * po/zh_CN.po: Likewise.
21939 * po/header.pot: Likewise.
21941 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21943 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21944 link-libc-deps to empty as target-specific variable.
21945 * Makerules (link-libc-args): New variable.
21946 (libc-for-link): Likewise.
21947 (link-libc-deps): Likewise.
21948 (lib%.so): Depend on $(link-libc-deps). Link with
21950 (build-module): Link with $(link-libc-args).
21951 (build-module-asneeded): Likewise.
21952 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21954 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21955 target-specific variable.
21956 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21957 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21958 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21960 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21962 ($(objpfx)libpcprofile.so): Likewise.
21963 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21965 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21966 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21967 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21969 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21970 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21971 * login/Makefile ($(objpfx)libutil.so): Likewise.
21972 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21973 * math/Makefile ($(objpfx)libm.so): Likewise.
21974 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21975 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21976 variable instead of depending directly on libc.
21977 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21978 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21980 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21982 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21983 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21984 ($(objpfx)libanl.so): Likewise.
21985 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21987 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21989 * sysdeps/i386/fpu/Makefile: Remove file.
21990 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21991 ($(objpfx)libm.so): Remove dependency on ld.so.
21993 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21996 * nis/yp_xdr.c (XDRMAXNAME): Define.
21997 (XDRMAXRECORD): Define.
21998 (xdr_domainname): Use XDRMAXNAME.
21999 (xdr_mapname): Likewise.
22000 (xdr_peername): Likewise.
22001 (xdr_keydat): Use XDRMAXRECORD.
22002 (xdr_valdat): Likewise.
22004 2013-05-30 Jeff Law <law@redhat.com>
22007 * manual/errno.texi (ESTALE): Update to account for more than
22008 just NFS file systems.
22009 * sysdeps/gnu/errlist.c: Regenerated.
22011 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22014 * elf/Makefile (tests): Add tst-null-argv.
22015 (modules-names): Add tst-null-argv-lib.
22016 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22017 (tst-null-argv-ENV): Set environment for tst-null-argv.
22018 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22019 (RTLD_PROGNAME): New macro.
22020 * elf/tst-null-argv.c: New test case.
22021 * elf/tst-null-argv-lib.c: Library for test case.
22022 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22023 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22024 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22025 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22026 * elf/dl-init.c (call_init): Likewise.
22027 (_dl_init): Likewise.
22028 * elf/dl-load.c (print_search_path): Likewise.
22029 (_dl_map_object): Likewise.
22030 * elf/dl-lookup.c (do_lookup_x): Likewise.
22031 (add_dependency): Likewise.
22032 (_dl_lookup_symbol_x): Likewise.
22033 (_dl_debug_bindings): Likewise.
22034 * elf/dl-open.c (_dl_show_scope): Likewise.
22035 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22036 * elf/dl-version.c (match_symbol): Likewise.
22037 (_dl_check_map_versions): Likewise.
22038 * elf/rtld.c (dl_main): Likewise.
22039 (print_unresolved): Use RTLD_PROGNAME.
22040 (print_missing_version): Likewise.
22041 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22042 (elf_machine_rela): Likewise.
22043 * sysdeps/powerpc/powerpc32/dl-machine.c
22044 (__process_machine_rela): Likewise.
22045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22047 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22049 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22051 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22058 2013-05-28 Carlos O'Donell <carlos@redhat.com>
22060 * po/be.po: Add descriptive title.
22061 * po/zh_CN.po: Likewise.
22062 * po/header.pot: Likewise.
22064 2013-05-28 Mike Frysinger <vapier@gentoo.org>
22066 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22068 (enlarge_archive): Likewise.
22070 2013-05-28 Ben North <ben@redfrontdoor.org>
22072 * manual/arith.texi (frexp): It is the magnitude of the return
22073 value which lies in [0.5, 1), not the return value itself.
22075 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22079 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22081 * stdio-common/bug26.c (main): Correct fscanf template.
22083 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22084 declare _dl_skip_args.
22086 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22089 * manual/platform.texi: Add missing @end deftypefun.
22091 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22094 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22095 bit of mantissa of 2^16382.
22096 * math/libm-test.inc (hypot_test_data): Add more tests.
22098 * math/libm-test.inc: Add drem and pow10 to list of tested
22100 (pow10_test): New function.
22101 (drem_test): Likewise.
22102 (drem_test_tonearest): Likewise.
22103 (drem_test_towardzero): Likewise.
22104 (drem_test_downward): Likewise.
22105 (drem_test_upward): Likewise.
22106 (main): Call the new functions.
22108 * math/libm-test.inc (finite_test_data): Remove.
22109 (finite_test): Run tests from isfinite_test_data.
22110 (gamma_test_data): Remove.
22111 (gamma_test): Run tests from lgamma_test_data.
22112 * sysdeps/i386/fpu/libm-test-ulps: Update.
22113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22115 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22117 * manual/platform.texi: Add PowerPC PPR function set documentation.
22118 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22121 2013-05-24 Carlos O'Donell <carlos@redhat.com>
22123 * math/libm-test.inc (MAX_EXP): Define.
22125 (ulp): New function.
22126 (check_float_internal): Use ULPDIFF.
22127 (cpow_test): Disable failing test.
22128 (check_ulp): Test ulp() implemetnation.
22129 (main): Call check_ulp before starting tests.
22131 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22133 * math/gen-libm-test.pl (generate_testfile): Do not handle
22134 START_DATA and END_DATA.
22135 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22137 (acos_tonearest_test_data): Likewise.
22138 (acos_towardzero_test_data): Likewise.
22139 (acos_downward_test_data): Likewise.
22140 (acos_upward_test_data): Likewise.
22141 (acosh_test_data): Likewise.
22142 (asin_test_data): Likewise.
22143 (asin_tonearest_test_data): Likewise.
22144 (asin_towardzero_test_data): Likewise.
22145 (asin_downward_test_data): Likewise.
22146 (asin_upward_test_data): Likewise.
22147 (asinh_test_data): Likewise.
22148 (atan_test_data): Likewise.
22149 (atanh_test_data): Likewise.
22150 (atan2_test_data): Likewise.
22151 (cabs_test_data): Likewise.
22152 (cacos_test_data): Likewise.
22153 (cacosh_test_data): Likewise.
22154 (carg_test_data): Likewise.
22155 (casin_test_data): Likewise.
22156 (casinh_test_data): Likewise.
22157 (catan_test_data): Likewise.
22158 (catanh_test_data): Likewise.
22159 (cbrt_test_data): Likewise.
22160 (ccos_test_data): Likewise.
22161 (ccosh_test_data): Likewise.
22162 (ceil_test_data): Likewise.
22163 (cexp_test_data): Likewise.
22164 (cimag_test_data): Likewise.
22165 (clog_test_data): Likewise.
22166 (clog10_test_data): Likewise.
22167 (conj_test_data): Likewise.
22168 (copysign_test_data): Likewise.
22169 (cos_test_data): Likewise.
22170 (cos_tonearest_test_data): Likewise.
22171 (cos_towardzero_test_data): Likewise.
22172 (cos_downward_test_data): Likewise.
22173 (cos_upward_test_data): Likewise.
22174 (cosh_test_data): Likewise.
22175 (cosh_tonearest_test_data): Likewise.
22176 (cosh_towardzero_test_data): Likewise.
22177 (cosh_downward_test_data): Likewise.
22178 (cosh_upward_test_data): Likewise.
22179 (cpow_test_data): Likewise.
22180 (cproj_test_data): Likewise.
22181 (creal_test_data): Likewise.
22182 (csin_test_data): Likewise.
22183 (csinh_test_data): Likewise.
22184 (csqrt_test_data): Likewise.
22185 (ctan_test_data): Likewise.
22186 (ctan_tonearest_test_data): Likewise.
22187 (ctan_towardzero_test_data): Likewise.
22188 (ctan_downward_test_data): Likewise.
22189 (ctan_upward_test_data): Likewise.
22190 (ctanh_test_data): Likewise.
22191 (ctanh_tonearest_test_data): Likewise.
22192 (ctanh_towardzero_test_data): Likewise.
22193 (ctanh_downward_test_data): Likewise.
22194 (ctanh_upward_test_data): Likewise.
22195 (erf_test_data): Likewise.
22196 (erfc_test_data): Likewise.
22197 (exp_test_data): Likewise.
22198 (exp_tonearest_test_data): Likewise.
22199 (exp_towardzero_test_data): Likewise.
22200 (exp_downward_test_data): Likewise.
22201 (exp_upward_test_data): Likewise.
22202 (exp10_test_data): Likewise.
22203 (exp2_test_data): Likewise.
22204 (expm1_test_data): Likewise.
22205 (fabs_test_data): Likewise.
22206 (fdim_test_data): Likewise.
22207 (finite_test_data): Likewise.
22208 (floor_test_data): Likewise.
22209 (fma_test_data): Likewise.
22210 (fma_towardzero_test_data): Likewise.
22211 (fma_downward_test_data): Likewise.
22212 (fma_upward_test_data): Likewise.
22213 (fmax_test_data): Likewise.
22214 (fmin_test_data): Likewise.
22215 (fmod_test_data): Likewise.
22216 (fpclassify_test_data): Likewise.
22217 (frexp_test_data): Likewise.
22218 (gamma_test_data): Likewise.
22219 (hypot_test_data): Likewise.
22220 (ilogb_test_data): Likewise.
22221 (isfinite_test_data): Likewise.
22222 (isgreater_test_data): Likewise.
22223 (isgreaterequal_test_data): Likewise.
22224 (isinf_test_data): Likewise.
22225 (isless_test_data): Likewise.
22226 (islessequal_test_data): Likewise.
22227 (islessgreater_test_data): Likewise.
22228 (isnan_test_data): Likewise.
22229 (isnormal_test_data): Likewise.
22230 (issignaling_test_data): Likewise.
22231 (isunordered_test_data): Likewise.
22232 (j0_test_data): Likewise.
22233 (j1_test_data): Likewise.
22234 (jn_test_data): Likewise.
22235 (ldexp_test_data): Likewise.
22236 (lgamma_test_data): Likewise.
22237 (lrint_test_data): Likewise.
22238 (lrint_tonearest_test_data): Likewise.
22239 (lrint_towardzero_test_data): Likewise.
22240 (lrint_downward_test_data): Likewise.
22241 (lrint_upward_test_data): Likewise.
22242 (llrint_test_data): Likewise.
22243 (llrint_tonearest_test_data): Likewise.
22244 (llrint_towardzero_test_data): Likewise.
22245 (llrint_downward_test_data): Likewise.
22246 (llrint_upward_test_data): Likewise.
22247 (log_test_data): Likewise.
22248 (log10_test_data): Likewise.
22249 (log1p_test_data): Likewise.
22250 (log2_test_data): Likewise.
22251 (logb_test_data): Likewise.
22252 (logb_downward_test_data): Likewise.
22253 (lround_test_data): Likewise.
22254 (llround_test_data): Likewise.
22255 (modf_test_data): Likewise.
22256 (nearbyint_test_data): Likewise.
22257 (nextafter_test_data): Likewise.
22258 (nexttoward_test_data): Likewise.
22259 (pow_test_data): Likewise.
22260 (pow_tonearest_test_data): Likewise.
22261 (pow_towardzero_test_data): Likewise.
22262 (pow_downward_test_data): Likewise.
22263 (pow_upward_test_data): Likewise.
22264 (remainder_test_data): Likewise.
22265 (remainder_tonearest_test_data): Likewise.
22266 (remainder_towardzero_test_data): Likewise.
22267 (remainder_downward_test_data): Likewise.
22268 (remainder_upward_test_data): Likewise.
22269 (remquo_test_data): Likewise.
22270 (rint_test_data): Likewise.
22271 (rint_tonearest_test_data): Likewise.
22272 (rint_towardzero_test_data): Likewise.
22273 (rint_downward_test_data): Likewise.
22274 (rint_upward_test_data): Likewise.
22275 (round_test_data): Likewise.
22276 (scalb_test_data): Likewise.
22277 (scalbn_test_data): Likewise.
22278 (scalbln_test_data): Likewise.
22279 (signbit_test_data): Likewise.
22280 (sin_test_data): Likewise.
22281 (sin_tonearest_test_data): Likewise.
22282 (sin_towardzero_test_data): Likewise.
22283 (sin_downward_test_data): Likewise.
22284 (sin_upward_test_data): Likewise.
22285 (sincos_test_data): Likewise.
22286 (sinh_test_data): Likewise.
22287 (sinh_tonearest_test_data): Likewise.
22288 (sinh_towardzero_test_data): Likewise.
22289 (sinh_downward_test_data): Likewise.
22290 (sinh_upward_test_data): Likewise.
22291 (sqrt_test_data): Likewise.
22292 (tan_test_data): Likewise.
22293 (tan_tonearest_test_data): Likewise.
22294 (tan_towardzero_test_data): Likewise.
22295 (tan_downward_test_data): Likewise.
22296 (tan_upward_test_data): Likewise.
22297 (tanh_test_data): Likewise.
22298 (tgamma_test_data): Likewise.
22299 (trunc_test_data): Likewise.
22300 (y0_test_data): Likewise.
22301 (y1_test_data): Likewise.
22302 (yn_test_data): Likewise.
22303 (significand_test_data): Likewise.
22305 * math/gen-libm-test.pl (@functions): Remove variable.
22306 (generate_testfile): Don't handle START and END lines.
22307 * math/libm-test.inc (START): New macro.
22309 (END_COMPLEX): Likewise.
22310 (acos_test): Use END macro without arguments.
22311 (acos_test_tonearest): Likewise.
22312 (acos_test_towardzero): Likewise.
22313 (acos_test_downward): Likewise.
22314 (acos_test_upward): Likewise.
22315 (acosh_test): Likewise.
22316 (asin_test): Likewise.
22317 (asin_test_tonearest): Likewise.
22318 (asin_test_towardzero): Likewise.
22319 (asin_test_downward): Likewise.
22320 (asin_test_upward): Likewise.
22321 (asinh_test): Likewise.
22322 (atan_test): Likewise.
22323 (atanh_test): Likewise.
22324 (atan2_test): Likewise.
22325 (cabs_test): Likewise.
22326 (cacos_test): Use END_COMPLEX macro without arguments.
22327 (cacosh_test): Likewise.
22328 (carg_test): Use END macro without arguments.
22329 (casin_test): Use END_COMPLEX macro without arguments.
22330 (casinh_test): Likewise.
22331 (catan_test): Likewise.
22332 (catanh_test): Likewise.
22333 (cbrt_test): Use END macro without arguments.
22334 (ccos_test): Use END_COMPLEX macro without arguments.
22335 (ccosh_test): Likewise.
22336 (ceil_test): Use END macro without arguments.
22337 (cexp_test): Use END_COMPLEX macro without arguments.
22338 (cimag_test): Use END macro without arguments.
22339 (clog_test): Use END_COMPLEX macro without arguments.
22340 (clog10_test): Likewise.
22341 (conj_test): Likewise.
22342 (copysign_test): Use END macro without arguments.
22343 (cos_test): Likewise.
22344 (cos_test_tonearest): Likewise.
22345 (cos_test_towardzero): Likewise.
22346 (cos_test_downward): Likewise.
22347 (cos_test_upward): Likewise.
22348 (cosh_test): Likewise.
22349 (cosh_test_tonearest): Likewise.
22350 (cosh_test_towardzero): Likewise.
22351 (cosh_test_downward): Likewise.
22352 (cosh_test_upward): Likewise.
22353 (cpow_test): Use END_COMPLEX macro without arguments.
22354 (cproj_test): Likewise.
22355 (creal_test): Use END macro without arguments.
22356 (csin_test): Use END_COMPLEX macro without arguments.
22357 (csinh_test): Likewise.
22358 (csqrt_test): Likewise.
22359 (ctan_test): Likewise.
22360 (ctan_test_tonearest): Likewise.
22361 (ctan_test_towardzero): Likewise.
22362 (ctan_test_downward): Likewise.
22363 (ctan_test_upward): Likewise.
22364 (ctanh_test): Likewise.
22365 (ctanh_test_tonearest): Likewise.
22366 (ctanh_test_towardzero): Likewise.
22367 (ctanh_test_downward): Likewise.
22368 (ctanh_test_upward): Likewise.
22369 (erf_test): Use END macro without arguments.
22370 (erfc_test): Likewise.
22371 (exp_test): Likewise.
22372 (exp_test_tonearest): Likewise.
22373 (exp_test_towardzero): Likewise.
22374 (exp_test_downward): Likewise.
22375 (exp_test_upward): Likewise.
22376 (exp10_test): Likewise.
22377 (exp2_test): Likewise.
22378 (expm1_test): Likewise.
22379 (fabs_test): Likewise.
22380 (fdim_test): Likewise.
22381 (finite_test): Likewise.
22382 (floor_test): Likewise.
22383 (fma_test): Likewise.
22384 (fma_test_towardzero): Likewise.
22385 (fma_test_downward): Likewise.
22386 (fma_test_upward): Likewise.
22387 (fmax_test): Likewise.
22388 (fmin_test): Likewise.
22389 (fmod_test): Likewise.
22390 (fpclassify_test): Likewise.
22391 (frexp_test): Likewise.
22392 (gamma_test): Likewise.
22393 (hypot_test): Likewise.
22394 (ilogb_test): Likewise.
22395 (isfinite_test): Likewise.
22396 (isgreater_test): Likewise.
22397 (isgreaterequal_test): Likewise.
22398 (isinf_test): Likewise.
22399 (isless_test): Likewise.
22400 (islessequal_test): Likewise.
22401 (islessgreater_test): Likewise.
22402 (isnan_test): Likewise.
22403 (isnormal_test): Likewise.
22404 (issignaling_test): Likewise.
22405 (isunordered_test): Likewise.
22406 (j0_test): Likewise.
22407 (j1_test): Likewise.
22408 (jn_test): Likewise.
22409 (ldexp_test): Likewise.
22410 (lgamma_test): Likewise.
22411 (lrint_test): Likewise.
22412 (lrint_test_tonearest): Likewise.
22413 (lrint_test_towardzero): Likewise.
22414 (lrint_test_downward): Likewise.
22415 (lrint_test_upward): Likewise.
22416 (llrint_test): Likewise.
22417 (llrint_test_tonearest): Likewise.
22418 (llrint_test_towardzero): Likewise.
22419 (llrint_test_downward): Likewise.
22420 (llrint_test_upward): Likewise.
22421 (log_test): Likewise.
22422 (log10_test): Likewise.
22423 (log1p_test): Likewise.
22424 (log2_test): Likewise.
22425 (logb_test): Likewise.
22426 (logb_test_downward): Likewise.
22427 (lround_test): Likewise.
22428 (llround_test): Likewise.
22429 (modf_test): Likewise.
22430 (nearbyint_test): Likewise.
22431 (nextafter_test): Likewise.
22432 (nexttoward_test): Likewise.
22433 (pow_test): Likewise.
22434 (pow_test_tonearest): Likewise.
22435 (pow_test_towardzero): Likewise.
22436 (pow_test_downward): Likewise.
22437 (pow_test_upward): Likewise.
22438 (remainder_test): Likewise.
22439 (remainder_test_tonearest): Likewise.
22440 (remainder_test_towardzero): Likewise.
22441 (remainder_test_downward): Likewise.
22442 (remainder_test_upward): Likewise.
22443 (remquo_test): Likewise.
22444 (rint_test): Likewise.
22445 (rint_test_tonearest): Likewise.
22446 (rint_test_towardzero): Likewise.
22447 (rint_test_downward): Likewise.
22448 (rint_test_upward): Likewise.
22449 (round_test): Likewise.
22450 (scalb_test): Likewise.
22451 (scalbn_test): Likewise.
22452 (scalbln_test): Likewise.
22453 (signbit_test): Likewise.
22454 (sin_test): Likewise.
22455 (sin_test_tonearest): Likewise.
22456 (sin_test_towardzero): Likewise.
22457 (sin_test_downward): Likewise.
22458 (sin_test_upward): Likewise.
22459 (sincos_test): Likewise.
22460 (sinh_test): Likewise.
22461 (sinh_test_tonearest): Likewise.
22462 (sinh_test_towardzero): Likewise.
22463 (sinh_test_downward): Likewise.
22464 (sinh_test_upward): Likewise.
22465 (sqrt_test): Likewise.
22466 (tan_test): Likewise.
22467 (tan_test_tonearest): Likewise.
22468 (tan_test_towardzero): Likewise.
22469 (tan_test_downward): Likewise.
22470 (tan_test_upward): Likewise.
22471 (tanh_test): Likewise.
22472 (tgamma_test): Likewise.
22473 (trunc_test): Likewise.
22474 (y0_test): Likewise.
22475 (y1_test): Likewise.
22476 (yn_test): Likewise.
22477 (significand_test): Likewise.
22479 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
22482 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22484 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22487 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22488 __ppc_mdoio and __ppc_mdoom.
22489 * manual/platform.texi: Document new functions __ppc_yield,
22490 __ppc_mdoio and __ppc_mdoom.
22492 2013-05-22 Carlos O'Donell <carlos@redhat.com>
22494 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22495 (main): Mention "tls" pseudo-hwcap is legacy.
22496 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22498 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22500 * math/gen-libm-test.pl (parse_args): Output only string of
22501 arguments as text for test name, not full call or descriptions of
22502 tests for extra outputs.
22503 (generate_testfile): Do not pass function name to parse_args.
22504 Generate this_func variable from START.
22505 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22507 (struct test_ff_f_data): Likewise.
22508 (test_ff_f_data_nexttoward): Likewise.
22509 (struct test_fi_f_data): Likewise.
22510 (struct test_fl_f_data): Likewise.
22511 (struct test_if_f_data): Likewise.
22512 (struct test_fff_f_data): Likewise.
22513 (struct test_c_f_data): Likewise.
22514 (struct test_f_f1_data): Likewise. Remove field extra_name.
22515 (struct test_fF_f1_data): Likewise.
22516 (struct test_ffI_f1_data): Likewise.
22517 (struct test_c_c_data): Rename test_name field to arg_str.
22518 (struct test_cc_c_data): Likewise.
22519 (struct test_f_i_data): Likewise.
22520 (struct test_ff_i_data): Likewise.
22521 (struct test_f_l_data): Likewise.
22522 (struct test_f_L_data): Likewise.
22523 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22525 (COMMON_TEST_SETUP): New macro.
22526 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22527 (COMMON_TEST_CLEANUP): Likewise.
22528 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22529 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22531 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22532 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22534 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22535 (RUN_TEST_fff_f): Take argument string. Call new setup and
22537 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22538 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22540 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22541 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22543 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22544 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22546 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22547 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22549 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22550 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22552 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22553 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22555 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22556 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22558 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22559 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22561 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22562 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22564 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22565 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22567 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22568 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22570 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22571 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22573 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22574 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22576 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22577 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22579 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22580 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22582 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22584 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22586 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22587 to _sifields.sigfault.
22588 (si_addr_lsb): Define new macro.
22589 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22591 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22593 2013-05-03 Carlos O'Donell <carlos at redhat.com>
22596 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22598 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22600 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22601 loading the domain.
22603 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22605 * math/gen-libm-test.pl (parse_args): Do not include expected
22606 result in test name.
22607 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22609 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22610 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22611 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22614 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22616 * benchtests/Makefile: Sort function entries.
22618 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22619 tanh, asinh, acosh, atanh.
22620 * benchtests/acos-inputs: New file.
22621 * benchtests/acosh-inputs: New file.
22622 * benchtests/asin-inputs: New file.
22623 * benchtests/asinh-inputs: New file.
22624 * benchtests/atanh-inputs: New file.
22625 * benchtests/cosh-inputs: New file.
22626 * benchtests/log-inputs: New file.
22627 * benchtests/sinh-inputs: New file.
22628 * benchtests/tanh-inputs: New file.
22630 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22633 * posix/tst-getaddrinfo4.c: New test.
22634 * posix/Makefile (tests): Add it.
22636 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22639 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22640 when no services were used.
22641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22642 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22644 2013-05-21 Andreas Schwab <schwab@suse.de>
22647 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22648 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22650 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22651 redundant variable declarations and reallocation of buffer when
22652 parsing as IPv6 address. Always set NSS status when called from
22653 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22654 buffer too small. Correct computation of needed size.
22655 * nss/Makefile (tests): Add test-digits-dots.
22656 * nss/test-digits-dots.c: New test.
22658 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22660 * benchtests/Makefile: Remove instructions for adding
22662 * benchtests/README: New file to explain how to execute and
22663 enhance the benchmark tests.
22665 2013-05-21 Andreas Schwab <schwab@suse.de>
22668 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22669 * setjmp/tst-sigsetjmp.c: New test.
22671 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22673 * sysdeps/x86_64/memset.S (memset): New implementation.
22674 (__bzero): Likewise.
22675 (__memset_tail): New function.
22677 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22679 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22680 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22681 __memcpy_sse2_unaligned ifunc selection.
22682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22683 Add memcpy-sse2-unaligned.S.
22684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22685 Add: __memcpy_sse2_unaligned.
22687 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22690 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22691 math_force_eval before restoring floating-point envrionment.
22692 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22693 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22695 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22697 (__nearbyintl): Use math_force_eval before restoring
22698 floating-point environment.
22699 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22701 * math/gen-libm-test.pl (special_functions): Remove.
22702 (parse_args): Don't handle TEST_extra. Handle functions with no
22704 * math/libm-test.inc (struct test_sincos_data): Replace with
22705 struct test_fFF_11_data.
22706 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22707 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22708 (sincos_test_data): Change element type to struct
22709 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22710 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22711 RUN_TEST_LOOP_sincos.
22712 * math/README.libm-test: Don't mention special handling of
22713 individual functions.
22714 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22715 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22716 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22717 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22718 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22721 * math/gen-libm-test.pl (get_variable): Remove function.
22722 (parse_args): Don't show pointer parameters to call in test
22723 names. Use "extra output N" in test names for extra outputs
22724 rather than naming variables.
22726 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22729 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22730 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22731 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22733 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22735 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22738 * math/gen-libm-test.pl (@tests): Remove variable.
22739 ($count): Likewise.
22740 (new_test): Remove function.
22741 (show_exceptions): New function.
22742 (special_functions): Use show_exceptions instead of new_test.
22743 (parse_args): Likewise.
22744 (generate_testfile): Pass only function name in generated call to
22745 print_max_error or print_complex_max_error.
22746 (get_ulps): Do not handle complex tests specially.
22747 (output_test): Rename to ...
22748 (get_all_ulps_for_test): ... this. Return a string rather than
22749 printing to a file. Require ulps to be present.
22750 (output_ulps): Generate arrays rather than #defines.
22751 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22752 (struct ulp_data): New type.
22753 (BUILD_COMPLEX_ULP): Remove macro.
22754 (compare_ulp_data): New function.
22755 (find_ulps): Likewise.
22756 (find_test_ulps): Likewise.
22757 (find_function_ulps): Likewise.
22758 (find_complex_function_ulps): Likewise.
22759 (print_max_error): Determine allowed ulps using
22760 find_function_ulps.
22761 (print_complex_max_error): Determine allowed ulps using
22762 find_complex_function_ulps.
22763 (check_float_internal): Determine max ulps using find_test_ulps.
22764 (check_float): Do not take max_ulp parameter. Update call to
22765 check_float_internal.
22766 (check_complex): Likewise.
22767 (check_int): Do not take max_ulp parameter.
22768 (check_long): Likewise.
22769 (check_bool): Likewise.
22770 (check_longlong): Likewise.
22771 (struct test_f_f_data): Remove max_ulp field.
22772 (struct test_ff_f_data): Likewise.
22773 (struct test_ff_f_data_nexttoward): Likewise.
22774 (struct test_fi_f_data): Likewise.
22775 (struct test_fl_f_data): Likewise.
22776 (struct test_if_f_data): Likewise.
22777 (struct test_fff_f_data): Likewise.
22778 (struct test_c_f_data): Likewise.
22779 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22780 (struct test_fF_f1_data): Likewise.
22781 (struct test_ffI_f1_data): Likewise.
22782 (struct test_c_c_data): Remove max_ulp field.
22783 (struct test_cc_c_data): Likewise.
22784 (struct test_f_i_data): Likewise.
22785 (struct test_ff_i_data): Likewise.
22786 (struct test_f_l_data): Likewise.
22787 (struct test_f_L_data): Likewise.
22788 (struct test_sincos_data): Likewise.
22789 (RUN_TEST_f_f): Do not handle ulps.
22790 (RUN_TEST_LOOP_f_f): Likewise.
22791 (RUN_TEST_2_f): Likewise.
22792 (RUN_TEST_LOOP_2_f): Likewise.
22793 (RUN_TEST_fff_f): Likewise.
22794 (RUN_TEST_LOOP_fff_f): Likewise.
22795 (RUN_TEST_c_f): Likewise.
22796 (RUN_TEST_LOOP_c_f): Likewise.
22797 (RUN_TEST_f_f1): Likewise.
22798 (RUN_TEST_LOOP_f_f1): Likewise.
22799 (RUN_TEST_fF_f1): Likewise.
22800 (RUN_TEST_LOOP_fF_f1): Likewise.
22801 (RUN_TEST_fI_f1): Likewise.
22802 (RUN_TEST_LOOP_fI_f1): Likewise.
22803 (RUN_TEST_ffI_f1): Likewise.
22804 (RUN_TEST_LOOP_ffI_f1): Likewise.
22805 (RUN_TEST_c_c): Likewise.
22806 (RUN_TEST_LOOP_c_c): Likewise.
22807 (RUN_TEST_cc_c): Likewise.
22808 (RUN_TEST_LOOP_cc_c): Likewise.
22809 (RUN_TEST_f_i): Likewise.
22810 (RUN_TEST_LOOP_f_i): Likewise.
22811 (RUN_TEST_f_i_tg): Likewise.
22812 (RUN_TEST_LOOP_f_i_tg): Likewise.
22813 (RUN_TEST_ff_i_tg): Likewise.
22814 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22815 (RUN_TEST_f_b): Likewise.
22816 (RUN_TEST_LOOP_f_b): Likewise.
22817 (RUN_TEST_f_b_tg): Likewise.
22818 (RUN_TEST_LOOP_f_b_tg): Likewise.
22819 (RUN_TEST_f_l): Likewise.
22820 (RUN_TEST_LOOP_f_l): Likewise.
22821 (RUN_TEST_f_L): Likewise.
22822 (RUN_TEST_LOOP_f_L): Likewise.
22823 (RUN_TEST_sincos): Likewise.
22824 (RUN_TEST_LOOP_sincos): Likewise.
22826 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22830 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22831 main case of finite arguments, set rounding mode to FE_TONEAREST
22832 and discard exceptions.
22833 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22835 (remainder_tonearest_test_data): New variable.
22836 (remainder_test_tonearest): New function.
22837 (remainder_towardzero_test_data): New variable.
22838 (remainder_test_towardzero): New function.
22839 (remainder_downward_test_data): New variable.
22840 (remainder_test_downward): New function.
22841 (remainder_upward_test_data): New variable.
22842 (remainder_test_upward): New function.
22843 (main): Call the new test functions.
22845 * math/libm-test.inc (struct test_f_f1_data): Remove field
22847 (struct test_fF_f1_data): Likewise.
22848 (struct test_ffI_f1_data): Likewise.
22849 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22850 based on value of EXTRA_EXPECTED.
22851 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22852 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22853 EXTRA_VAR based on value of EXTRA_EXPECTED.
22854 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22855 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22856 EXTRA_VAR based on value of EXTRA_EXPECTED.
22857 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22858 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22859 EXTRA_VAR based on value of EXTRA_EXPECTED.
22860 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22861 * math/gen-libm-test.pl (parse_args): Don't output initializers
22862 for extra output values.
22864 * math/libm-test.inc (check_int): Expect result to be exactly
22865 equal to expected value and do not handle ulps.
22866 (check_long): Likewise.
22867 (check_longlong): Likewise.
22869 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22871 (cimag_test_data): Likewise.
22872 (conj_test_data): Likewise.
22873 (copysign_test_data): Likewise.
22874 (cproj_test_data): Likewise.
22875 (creal_test_data): Likewise.
22876 (fabs_test_data): Likewise.
22877 (fdim_test_data): Likewise.
22878 (finite_test_data): Likewise.
22879 (floor_test_data): Likewise.
22880 (fmax_test_data): Likewise.
22881 (fmin_test_data): Likewise.
22882 (fmod_test_data): Likewise.
22883 (fpclassify_test_data): Likewise.
22884 (frexp_test_data): Likewise.
22885 (ilogb_test_data): Likewise.
22886 (isfinite_test_data): Likewise.
22887 (isgreater_test_data): Likewise.
22888 (isgreaterequal_test_data): Likewise.
22889 (isinf_test_data): Likewise.
22890 (isless_test_data): Likewise.
22891 (islessequal_test_data): Likewise.
22892 (islessgreater_test_data): Likewise.
22893 (isnan_test_data): Likewise.
22894 (isnormal_test_data): Likewise.
22895 (issignaling_test_data): Likewise.
22896 (isunordered_test_data): Likewise.
22897 (ldexp_test_data): Likewise.
22898 (lrint_test_data): Likewise.
22899 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22900 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22901 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22902 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22903 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22904 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22906 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22907 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22908 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22909 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22911 (lrint_downward_test_data): Test for "inexact" exceptions.
22912 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22913 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22914 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22916 (lrint_upward_test_data): Test for "inexact" exceptions.
22917 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22919 (llrint_test_data): Test for "inexact" exceptions.
22920 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22921 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22922 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22923 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22924 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22925 (llrint_downward_test_data): Test for "inexact" exceptions.
22926 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22927 (llrint_upward_test_data): Test for "inexact" exceptions.
22928 (logb_test_data): Likewise.
22929 (logb_downward_test_data): Likewise.
22930 (nextafter_test_data): Likewise.
22931 (nexttoward_test_data): Likewise.
22932 (remainder_test_data): Likewise.
22933 (remquo_test_data): Likewise.
22934 (scalbn_test_data): Likewise.
22935 (scalbln_test_data): Likewise.
22936 (signbit_test_data): Likewise.
22937 (sqrt_test_data): Likewise.
22938 (significand_test_data): Likewise.
22940 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22943 * benchtests/bench-modf.c (struct args): Mark arg0 as
22945 * scripts/bench.pl: Mark members of struct args as volatile.
22947 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22950 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22951 negative infinity on POWER6 or lower.
22952 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22954 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22957 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22958 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22959 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22960 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22961 (_FP_SETQNAN): New macro.
22962 (_FP_SETQNAN_SEMIRAW): Likewise.
22963 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22964 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22965 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22966 (FP_EXTEND): Use _FP_FRAC_SNANP.
22967 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22968 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22970 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22972 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22975 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22977 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22978 with DIVIDE_BY_ZERO_EXCEPTION.
22979 (gamma_test_data): Likewise.
22980 (lgamma_test_data): Likewise.
22981 (log_test_data): Likewise.
22982 (log10_test_data): Likewise.
22983 (log2_test_data): Likewise.
22984 (tgamma_test_data): Likewise.
22986 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22987 (acos_test_tonearest): Likewise.
22988 (acos_test_towardzero): Likewise.
22989 (acos_test_downward): Likewise.
22990 (acos_test_upward): Likewise.
22991 (acosh_test): Likewise.
22992 (asin_test): Likewise.
22993 (asin_test_tonearest): Likewise.
22994 (asin_test_towardzero): Likewise.
22995 (asin_test_downward): Likewise.
22996 (asin_test_upward): Likewise.
22997 (asinh_test): Likewise.
22998 (atan_test): Likewise.
22999 (atanh_test): Likewise.
23000 (atan2_test): Likewise.
23001 (cabs_test): Likewise.
23002 (cacos_test): Likewise.
23003 (cacosh_test): Likewise.
23004 (casin_test): Likewise.
23005 (casinh_test): Likewise.
23006 (catan_test): Likewise.
23007 (catanh_test): Likewise.
23008 (cbrt_test): Likewise.
23009 (ccos_test): Likewise.
23010 (ccosh_test): Likewise.
23011 (cexp_test): Likewise.
23012 (clog_test): Likewise.
23013 (clog10_test): Likewise.
23014 (cos_test): Likewise.
23015 (cos_test_tonearest): Likewise.
23016 (cos_test_towardzero): Likewise.
23017 (cos_test_downward): Likewise.
23018 (cos_test_upward): Likewise.
23019 (cosh_test): Likewise.
23020 (cosh_test_tonearest): Likewise.
23021 (cosh_test_towardzero): Likewise.
23022 (cosh_test_downward): Likewise.
23023 (cosh_test_upward): Likewise.
23024 (cpow_test): Likewise.
23025 (csin_test): Likewise.
23026 (csinh_test): Likewise.
23027 (csqrt_test): Likewise.
23028 (ctan_test): Likewise.
23029 (ctan_test_tonearest): Likewise.
23030 (ctan_test_towardzero): Likewise.
23031 (ctan_test_downward): Likewise.
23032 (ctan_test_upward): Likewise.
23033 (ctanh_test): Likewise.
23034 (ctanh_test_tonearest): Likewise.
23035 (ctanh_test_towardzero): Likewise.
23036 (ctanh_test_downward): Likewise.
23037 (ctanh_test_upward): Likewise.
23038 (erf_test): Likewise.
23039 (erfc_test): Likewise.
23040 (exp_test): Likewise.
23041 (exp_test_tonearest): Likewise.
23042 (exp_test_towardzero): Likewise.
23043 (exp_test_downward): Likewise.
23044 (exp_test_upward): Likewise.
23045 (exp10_test): Likewise.
23046 (exp2_test): Likewise.
23047 (expm1_test): Likewise.
23048 (fmod_test): Likewise.
23049 (gamma_test): Likewise.
23050 (hypot_test): Likewise.
23051 (j0_test): Likewise.
23052 (j1_test): Likewise.
23053 (jn_test): Likewise.
23054 (lgamma_test): Likewise.
23055 (log_test): Likewise.
23056 (log10_test): Likewise.
23057 (log1p_test): Likewise.
23058 (log2_test): Likewise.
23059 (logb_test_downward): Likewise.
23060 (pow_test): Likewise.
23061 (pow_test_tonearest): Likewise.
23062 (pow_test_towardzero): Likewise.
23063 (pow_test_downward): Likewise.
23064 (pow_test_upward): Likewise.
23065 (remainder_test): Likewise.
23066 (remquo_test): Likewise.
23067 (sin_test): Likewise.
23068 (sin_test_tonearest): Likewise.
23069 (sin_test_towardzero): Likewise.
23070 (sin_test_downward): Likewise.
23071 (sin_test_upward): Likewise.
23072 (sincos_test): Likewise.
23073 (sinh_test): Likewise.
23074 (sinh_test_tonearest): Likewise.
23075 (sinh_test_towardzero): Likewise.
23076 (sinh_test_downward): Likewise.
23077 (sinh_test_upward): Likewise.
23078 (sqrt_test): Likewise.
23079 (tan_test): Likewise.
23080 (tan_test_tonearest): Likewise.
23081 (tan_test_towardzero): Likewise.
23082 (tan_test_downward): Likewise.
23083 (tan_test_upward): Likewise.
23084 (tanh_test): Likewise.
23085 (tgamma_test): Likewise.
23086 (y0_test): Likewise.
23087 (y1_test): Likewise.
23088 (yn_test): Likewise.
23090 * math/gen-libm-test.pl (adjust_arg): Remove function.
23091 (special_function): Remove argument $in_func. Only handle
23092 generating output for tables of tests, not inside functions.
23093 (parse_args): Likewise.
23094 (generate_testfile): Remove variable $in_func. Update call to
23096 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23097 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23098 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23099 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23100 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23101 (MAX_VALUE_INIT): Rename macro to max_value.
23102 (MIN_VALUE_INIT): Rename macro to min_value.
23103 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23104 (plus_zero): Remove variable.
23105 (minus_zero): Likewise.
23106 (plus_infty): Likewise.
23107 (minus_infty): Likewise.
23108 (qnan_value): Likewise.
23109 (max_value): Likewise.
23110 (min_value): Likewise.
23111 (min_subnorm_value): Likewise.
23113 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23115 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23116 uint64_t or uint32_t usage.
23117 * crypt/sha256-block.c: Likewise.
23118 * crypt/sha256-crypt.c: Likewise.
23119 * crypt/sha256.c: Likewise.
23120 * crypt/sha512-block.c: Likewise.
23121 * crypt/sha512-crypt.c: Likewise.
23122 * crypt/sha512.c: Likewise.
23123 * debug/backtrace-tst.c: Likewise.
23124 * debug/pcprofiledump.c: Likewise.
23125 * elf/cache.c: Likewise.
23126 * elf/dl-cache.c: Likewise.
23127 * elf/dl-misc.c: Likewise.
23128 * elf/dl-profile.c: Likewise.
23129 * elf/dl-support.c: Likewise.
23130 * elf/ldconfig.c: Likewise.
23131 * elf/sprof.c: Likewise.
23132 * iconv/dummy-repertoire.c: Likewise.
23133 * iconv/iconv_charmap.c: Likewise.
23134 * iconv/skeleton.c: Likewise.
23135 * iconvdata/8bit-generic.c: Likewise.
23136 * iconvdata/cp737.h: Likewise.
23137 * iconvdata/cp775.h: Likewise.
23138 * iconvdata/ibm1008.h: Likewise.
23139 * iconvdata/ibm1025.h: Likewise.
23140 * iconvdata/ibm1046.h: Likewise.
23141 * iconvdata/ibm1097.h: Likewise.
23142 * iconvdata/ibm1112.h: Likewise.
23143 * iconvdata/ibm1122.h: Likewise.
23144 * iconvdata/ibm1123.h: Likewise.
23145 * iconvdata/ibm1124.h: Likewise.
23146 * iconvdata/ibm1129.h: Likewise.
23147 * iconvdata/ibm1130.h: Likewise.
23148 * iconvdata/ibm1132.h: Likewise.
23149 * iconvdata/ibm1133.h: Likewise.
23150 * iconvdata/ibm1137.h: Likewise.
23151 * iconvdata/ibm1140.h: Likewise.
23152 * iconvdata/ibm1141.h: Likewise.
23153 * iconvdata/ibm1142.h: Likewise.
23154 * iconvdata/ibm1143.h: Likewise.
23155 * iconvdata/ibm1144.h: Likewise.
23156 * iconvdata/ibm1145.h: Likewise.
23157 * iconvdata/ibm1146.h: Likewise.
23158 * iconvdata/ibm1147.h: Likewise.
23159 * iconvdata/ibm1148.h: Likewise.
23160 * iconvdata/ibm1149.h: Likewise.
23161 * iconvdata/ibm1153.h: Likewise.
23162 * iconvdata/ibm1154.h: Likewise.
23163 * iconvdata/ibm1155.h: Likewise.
23164 * iconvdata/ibm1156.h: Likewise.
23165 * iconvdata/ibm1157.h: Likewise.
23166 * iconvdata/ibm1158.h: Likewise.
23167 * iconvdata/ibm1160.h: Likewise.
23168 * iconvdata/ibm1161.h: Likewise.
23169 * iconvdata/ibm1162.h: Likewise.
23170 * iconvdata/ibm1163.h: Likewise.
23171 * iconvdata/ibm1164.h: Likewise.
23172 * iconvdata/ibm1166.h: Likewise.
23173 * iconvdata/ibm1167.h: Likewise.
23174 * iconvdata/ibm12712.h: Likewise.
23175 * iconvdata/ibm1390.h: Likewise.
23176 * iconvdata/ibm1399.h: Likewise.
23177 * iconvdata/ibm16804.h: Likewise.
23178 * iconvdata/ibm4517.h: Likewise.
23179 * iconvdata/ibm4899.h: Likewise.
23180 * iconvdata/ibm4909.h: Likewise.
23181 * iconvdata/ibm4971.h: Likewise.
23182 * iconvdata/ibm5347.h: Likewise.
23183 * iconvdata/ibm803.h: Likewise.
23184 * iconvdata/ibm856.h: Likewise.
23185 * iconvdata/ibm901.h: Likewise.
23186 * iconvdata/ibm902.h: Likewise.
23187 * iconvdata/ibm9030.h: Likewise.
23188 * iconvdata/ibm9066.h: Likewise.
23189 * iconvdata/ibm921.h: Likewise.
23190 * iconvdata/ibm922.h: Likewise.
23191 * iconvdata/ibm9448.h: Likewise.
23192 * iconvdata/isiri-3342.h: Likewise.
23193 * iconvdata/jis0201.h: Likewise.
23194 * include/link.h: Likewise.
23195 * include/netdb.h: Likewise.
23196 * inet/check_native.c: Likewise.
23197 * inet/check_pf.c: Likewise.
23198 * inet/getipv4sourcefilter.c: Likewise.
23199 * inet/getnameinfo.c: Likewise.
23200 * inet/getsourcefilter.c: Likewise.
23201 * inet/htonl.c: Likewise.
23202 * inet/setipv4sourcefilter.c: Likewise.
23203 * inet/setsourcefilter.c: Likewise.
23204 * inet/test-inet6_opt.c: Likewise.
23205 * inet/tst-network.c: Likewise.
23206 * locale/C-collate.c: Likewise.
23207 * locale/C-ctype.c: Likewise.
23208 * locale/C-time.c: Likewise.
23209 * locale/C-translit.h: Likewise.
23210 * locale/loadarchive.c: Likewise.
23211 * locale/programs/3level.h: Likewise.
23212 * locale/programs/charmap.c: Likewise.
23213 * locale/programs/charmap.h: Likewise.
23214 * locale/programs/ld-address.c: Likewise.
23215 * locale/programs/ld-collate.c: Likewise.
23216 * locale/programs/ld-ctype.c: Likewise.
23217 * locale/programs/ld-identification.c: Likewise.
23218 * locale/programs/ld-measurement.c: Likewise.
23219 * locale/programs/ld-messages.c: Likewise.
23220 * locale/programs/ld-monetary.c: Likewise.
23221 * locale/programs/ld-name.c: Likewise.
23222 * locale/programs/ld-numeric.c: Likewise.
23223 * locale/programs/ld-paper.c: Likewise.
23224 * locale/programs/ld-telephone.c: Likewise.
23225 * locale/programs/ld-time.c: Likewise.
23226 * locale/programs/linereader.c: Likewise.
23227 * locale/programs/locale.c: Likewise.
23228 * locale/programs/locarchive.c: Likewise.
23229 * locale/programs/locfile.h: Likewise.
23230 * locale/programs/repertoire.c: Likewise.
23231 * locale/programs/simple-hash.c: Likewise.
23232 * locale/programs/simple-hash.h: Likewise.
23233 * malloc/memusage.c: Likewise.
23234 * malloc/memusagestat.c: Likewise.
23235 * nis/nis_defaults.c: Likewise.
23236 * nis/nis_hash.c: Likewise.
23237 * nis/nis_print.c: Likewise.
23238 * nis/nis_xdr.c: Likewise.
23239 * nscd/connections.c: Likewise.
23240 * nscd/hstcache.c: Likewise.
23241 * nscd/nscd_gethst_r.c: Likewise.
23242 * nscd/nscd_getserv_r.c: Likewise.
23243 * nscd/nscd_helper.c: Likewise.
23244 * nscd/servicescache.c: Likewise.
23245 * nss/makedb.c: Likewise.
23246 * nss/nss_db/db-XXX.c: Likewise.
23247 * nss/nss_db/db-initgroups.c: Likewise.
23248 * nss/nss_db/db-netgrp.c: Likewise.
23249 * nss/nss_files/files-network.c: Likewise.
23250 * nss/nss_files/files-parse.c: Likewise.
23251 * posix/bug-regex5.c: Likewise.
23252 * posix/fnmatch_loop.c: Likewise.
23253 * posix/regcomp.c: Likewise.
23254 * posix/regexec.c: Likewise.
23255 * posix/tst-rfc3484-2.c: Likewise.
23256 * posix/tst-rfc3484-3.c: Likewise.
23257 * posix/tst-rfc3484.c: Likewise.
23258 * resolv/nss_dns/dns-canon.c: Likewise.
23259 * resolv/nss_dns/dns-network.c: Likewise.
23260 * resolv/res_init.c: Likewise.
23261 * resolv/res_mkquery.c: Likewise.
23262 * resolv/tst-aton.c: Likewise.
23263 * stdlib/cxa_atexit.c: Likewise.
23264 * stdlib/cxa_finalize.c: Likewise.
23265 * stdlib/gen-fpioconst.c: Likewise.
23266 * stdlib/strtol_l.c: Likewise.
23267 * string/tst-endian.c: Likewise.
23268 * sunrpc/auth_des.c: Likewise.
23269 * sunrpc/clnt_udp.c: Likewise.
23270 * sunrpc/rtime.c: Likewise.
23271 * sunrpc/svcauth_des.c: Likewise.
23272 * sunrpc/xdr.c: Likewise.
23273 * sunrpc/xdr_intXX_t.c: Likewise.
23274 * sunrpc/xdr_rec.c: Likewise.
23275 * sysdeps/generic/ldconfig.h: Likewise.
23276 * sysdeps/generic/ldsodefs.h: Likewise.
23277 * sysdeps/generic/memusage.h: Likewise.
23278 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23281 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23282 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23288 * sysdeps/posix/getaddrinfo.c: Likewise.
23289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23291 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23292 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23293 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23294 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23295 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23296 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23297 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23298 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23299 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23300 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23301 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23302 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23303 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23304 * sysdeps/x86_64/dl-tls.h: Likewise.
23305 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23306 * time/alt_digit.c: Likewise.
23307 * time/era.c: Likewise.
23308 * wcsmbs/tst-c16c32-1.c: Likewise.
23310 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23312 * math/libm-test.inc (struct test_sincos_data): New type.
23313 (RUN_TEST_LOOP_sincos): New macro.
23314 (sincos_test_data): New variable.
23315 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23317 2013-05-16 Richard Henderson <rth@redhat.com>
23319 * math/atest-exp2.c (LIMB64): New macro.
23320 (CONSTSZ): New macro.
23321 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23323 (print_mpn_fp): ... to function scope.
23324 (read_mpn_hex): Remove.
23325 (get_log2): Remove.
23326 (exp2_mpn): Use mp_log2.
23327 (main): Use mp_exp1.
23329 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23331 * math/libm-test.inc: Remove comment about not testing "inexact"
23333 (INEXACT_EXCEPTION): New macro.
23334 (NO_INEXACT_EXCEPTION): Likewise.
23335 (INVALID_EXCEPTION_OK): Update value.
23336 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23337 (OVERFLOW_EXCEPTION_OK): Likewise.
23338 (UNDERFLOW_EXCEPTION_OK): Likewise.
23339 (IGNORE_ZERO_INF_SIGN): Likewise.
23340 (ERRNO_UNCHANGED): Likewise.
23341 (ERRNO_EDOM): Likewise.
23342 (ERRNO_ERANGE): Likewise.
23343 (test_exceptions): Handle testing "inexact" exceptions.
23344 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23345 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23346 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23347 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23349 (rint_towardzero_test_data): Likewise.
23350 (rint_downward_test_data): Likewise.
23351 (rint_upward_test_data): Likewise.
23353 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23354 with OVERFLOW_EXCEPTION.
23355 (exp10_test_data): Likewise.
23356 (exp2_test_data): Likewise.
23357 (expm1_test_data): Likewise.
23358 (lgamma_test_data): Likewise.
23359 (pow_test_data): Likewise.
23360 (tgamma_test_data): Likewise.
23361 (yn_test_data): Remove duplicate test of overflow.
23363 * math/libm-test.inc (struct test_cc_c_data): New type.
23364 (RUN_TEST_LOOP_cc_c): New macro.
23365 (cpow_test_data): New variable.
23366 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23368 * math/libm-test.inc (struct test_f_L_data): New type.
23369 (RUN_TEST_LOOP_f_L): New macro.
23370 (llrint_test_data): New variable.
23371 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23372 (llrint_tonearest_test_data): New variable.
23373 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23374 (llrint_towardzero_test_data): New variable.
23375 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23376 (llrint_downward_test_data): New variable.
23377 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23378 (llrint_upward_test_data): New variable.
23379 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23380 (llround_test_data): New variable.
23381 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23383 2013-05-13 Peter Collingbourne <pcc@google.com>
23385 * math/atest-exp2.c (get_log2): Remove const attribute.
23387 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23389 * math/libm-test.inc (struct test_f_l_data): New type.
23390 (RUN_TEST_LOOP_f_l): New macro.
23391 (lrint_test_data): New variable.
23392 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23393 (lrint_tonearest_test_data): New variable.
23394 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23395 (lrint_towardzero_test_data): New variable.
23396 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23397 (lrint_downward_test_data): New variable.
23398 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23399 (lrint_upward_test_data): New variable.
23400 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23401 (lround_test_data): New variable.
23402 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23404 2013-05-15 Peter Collingbourne <pcc@google.com>
23406 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23407 (EXTRACT_WORDS64) Use where appropriate.
23408 (INSERT_WORDS64) Likewise.
23410 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23411 constraints with x constraints.
23412 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23414 * malloc/obstack.c (_obstack_compat): Add initializer.
23416 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23418 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23419 si_trapno and add si_addr_lsb to _sifields.sigfault.
23420 (si_trapno): Remove macro.
23421 (si_addr_lsb): Define new macro.
23422 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23424 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23426 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23427 instead of TEST_f_l.
23428 (llrint_test_tonearest): Likewise.
23429 (llrint_test_towardzero): Likewise.
23430 (llrint_test_downward): Likewise.
23431 (llrint_test_upward): Likewise.
23432 (llround_test): Likewise.
23434 * math/libm-test.inc (struct test_f_i_data): Add comment.
23435 (RUN_TEST_LOOP_f_b): New macro.
23436 (RUN_TEST_LOOP_f_b_tg): Likewise.
23437 (finite_test_data): New variable.
23438 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23439 (isfinite_test_data): New variable.
23440 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23441 (isinf_test_data): New variable.
23442 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23443 (isnan_test_data): New variable.
23444 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23445 (isnormal_test_data): New variable.
23446 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23447 (issignaling_test_data): New variable.
23448 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23449 (signbit_test_data): New variable.
23450 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23452 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23453 with INVALID_EXCEPTION.
23454 (acosh_test_data): Likewise.
23455 (asin_test_data): Likewise.
23456 (atanh_test_data): Likewise.
23457 (fmod_test_data): Likewise.
23458 (log_test_data): Likewise.
23459 (log10_test_data): Likewise.
23460 (log2_test_data): Likewise.
23461 (pow_test_data): Likewise.
23462 (sqrt_test_data): Likewise.
23463 (y0_test_data): Likewise.
23464 (y1_test_data): Likewise.
23465 (yn_test_data): Likewise.
23467 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23470 * math/libm-test.inc (struct test_ff_i_data): New type.
23471 (RUN_TEST_LOOP_ff_i_tg): New macro.
23472 (isgreater_test_data): New variable.
23473 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23474 (isgreaterequal_test_data): New variable.
23475 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23476 (isless_test_data): New variable.
23477 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23478 (islessequal_test_data): New variable.
23479 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23480 (islessgreater_test_data): New variable.
23481 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23482 (isunordered_test_data): New variable.
23483 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23485 2013-05-14 David S. Miller <davem@davemloft.net>
23487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23489 2013-05-14 Joseph Myers <joseph@codesourcery.com>
23491 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23493 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23495 (struct test_f_i_data): Change type of max_ulp to int.
23497 * math/libm-test.inc (test_ffI_f1_data): New type.
23498 (RUN_TEST_LOOP_ffI_f1): New macro.
23499 (remquo_test_data): New variable.
23500 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23502 * setjmp/tst-setjmp-fp.c: New file.
23503 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23504 (link-libm): New variable.
23505 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23507 * math/libm-test.inc (struct test_f_i_data): New type.
23508 (RUN_TEST_LOOP_f_i): New macro.
23509 (RUN_TEST_LOOP_f_i_tg): Likewise.
23510 (fpclassify_test_data): New variable.
23511 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23512 (ilogb_test_data): New variable.
23513 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23515 * math/libm-test.inc (scalbln_test): Correct function name in END
23518 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23519 (RUN_TEST_LOOP_fI_f1): New macro.
23520 (frexp_test_data): New variable.
23521 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23523 * math/libm-test.inc (struct test_fF_f1_data): New type.
23524 (RUN_TEST_LOOP_fF_f1): New macro.
23525 (modf_test_data): New variable.
23526 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23528 * math/libm-test.inc (struct test_f_f1_data): New type.
23529 (RUN_TEST_LOOP_f_f1): New macro.
23530 (gamma_test_data): New variable.
23531 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23532 (lgamma_test_data): New variable.
23533 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23535 2013-05-13 Carlos O'Donell <carlos@redhat.com>
23537 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23538 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23539 (main): Comment "tls" pseudo-hwcap.
23541 2013-05-13 Joseph Myers <joseph@codesourcery.com>
23543 * math/libm-test.inc (struct test_fl_f_data): New type.
23544 (RUN_TEST_LOOP_fl_f): New variable.
23545 (scalbln_test_data): New variable.
23546 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23548 * math/libm-test.inc (struct test_fi_f_data): New type.
23549 (RUN_TEST_LOOP_fi_f): New macro.
23550 (ldexp_test_data): New variable.
23551 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23552 (scalbn_test_data): New variable.
23553 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23555 * math/libm-test.inc (struct test_c_f_data): New type.
23556 (RUN_TEST_LOOP_c_f): New macro.
23557 (cabs_test_data): New variable.
23558 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23559 (carg_test_data): New variable.
23560 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23561 (cimag_test_data): New variable.
23562 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23563 (creal_test_data): New variable.
23564 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23566 * math/libm-test.inc (struct test_if_f_data): New type.
23567 (RUN_TEST_LOOP_if_f): New macro.
23568 (jn_test_data): New variable.
23569 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23570 (yn_test_data): New variable.
23571 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23573 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23575 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23577 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23578 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23580 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23582 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23583 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23584 (bench-deps): Add bench-timing.h.
23585 * benchtests-bench-skeleton.c: Include bench-timing.h.
23586 (main): Use TIMING_* macros instead of clock_gettime.
23587 * benchtests/bench-timing.h: New file.
23590 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23591 Renamed from _LIB_VERSION.
23592 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23594 2013-05-12 Joseph Myers <joseph@codesourcery.com>
23596 * math/libm-test.inc (struct test_fff_f_data): New type.
23597 (RUN_TEST_LOOP_fff_f): New macro.
23598 (fma_test_data): New variable.
23599 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23600 (fma_towardzero_test_data): New variable.
23601 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23602 (fma_downward_test_data): New variable.
23603 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23604 (fma_upward_test_data): New variable.
23605 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23607 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23608 (struct test_c_c_data): New type.
23609 (RUN_TEST_LOOP_c_c): New macro.
23610 (cacos_test_data): New variable.
23611 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23612 (cacosh_test_data): New variable.
23613 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23614 (casin_test_data): New variable.
23615 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23616 (casinh_test_data): New variable.
23617 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23618 (catan_test_data): New variable.
23619 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23620 (catanh_test_data): New variable.
23621 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23622 (ccos_test_data): New variable.
23623 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23624 (ccosh_test_data): New variable.
23625 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23626 (cexp_test_data): New variable.
23627 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23628 (clog_test_data): New variable.
23629 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23630 (clog10_test_data): New variable.
23631 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23632 (conj_test_data): New variable.
23633 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23634 (cproj_test_data): New variable.
23635 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23636 (csin_test_data): New variable.
23637 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23638 (csinh_test_data): New variable.
23639 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23640 (csqrt_test_data): New variable.
23641 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23642 (ctan_test_data): New variable.
23643 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23644 (ctan_tonearest_test_data): New variable.
23645 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23646 (ctan_towardzero_test_data): New variable.
23647 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23648 (ctan_downward_test_data): New variable.
23649 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23650 (ctan_upward_test_data): New variable.
23651 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23652 (ctanh_test_data): New variable.
23653 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23654 (ctanh_tonearest_test_data): New variable.
23655 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23656 (ctanh_towardzero_test_data): New variable.
23657 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23658 (ctanh_downward_test_data): New variable.
23659 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23660 (ctanh_upward_test_data): New variable.
23661 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23662 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23665 * math/libm-test.inc (struct test_ff_f_data): New type.
23666 (struct test_ff_f_data_nexttoward): Likewise.
23667 (RUN_TEST_LOOP_2_f): New macro.
23668 (RUN_TEST_LOOP_ff_f): Likewise.
23669 (atan2_test_data): New variable.
23670 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23671 (copysign_test_data): New variable.
23672 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23673 (fdim_test_data): New variable.
23674 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23675 (fmax_test_data): New variable.
23676 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23677 (fmin_test_data): New variable.
23678 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23679 (fmod_test_data): New variable.
23680 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23681 (hypot_test_data): New variable.
23682 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23683 (nextafter_test_data): New variable.
23684 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23685 (nexttoward_test_data): New variable.
23686 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23687 (pow_test_data): New variable.
23688 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23689 (pow_tonearest_test_data): New variable.
23690 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23691 (pow_towardzero_test_data): New variable.
23692 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23693 (pow_downward_test_data): New variable.
23694 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23695 (pow_upward_test_data): New variable.
23696 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23697 (remainder_test_data): New variable.
23698 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23699 (scalb_test_data): New variable.
23700 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23701 * sysdeps/i386/fpu/libm-test-ulps: Update.
23703 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23705 * math/libm-test.inc (fma_test): Use max_value instead of local
23707 (nextafter_test): Likewise.
23709 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23710 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23711 (acos_downward_test_data): New variable.
23712 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23713 (acos_upward_test_data): New variable.
23714 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23715 (acosh_test_data): New variable.
23716 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23717 (asin_test_data): New variable.
23718 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23719 (asin_tonearest_test_data): New variable.
23720 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23721 (asin_towardzero_test_data): New variable.
23722 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23723 (asin_downward_test_data): New variable.
23724 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23725 (asin_upward_test_data): New variable.
23726 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23727 (asinh_test_data): New variable.
23728 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23729 (atan_test_data): New variable.
23730 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23731 (atanh_test_data): New variable.
23732 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23733 (cbrt_test_data): New variable.
23734 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23735 (ceil_test_data): New variable.
23736 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23737 (cos_test_data): New variable.
23738 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23739 (cos_tonearest_test_data): New variable.
23740 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23741 (cos_towardzero_test_data): New variable.
23742 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23743 (cos_downward_test_data): New variable.
23744 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23745 (cos_upward_test_data): New variable.
23746 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23747 (cosh_test_data): New variable.
23748 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23749 (cosh_tonearest_test_data): New variable.
23750 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23751 (cosh_towardzero_test_data): New variable.
23752 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23753 (cosh_downward_test_data): New variable.
23754 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23755 (cosh_upward_test_data): New variable.
23756 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23757 (erf_test_data): New variable.
23758 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23759 (erfc_test_data): New variable.
23760 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23761 (exp_test_data): New variable.
23762 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23763 (exp_tonearest_test_data): New variable.
23764 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23765 (exp_towardzero_test_data): New variable.
23766 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23767 (exp_downward_test_data): New variable.
23768 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23769 (exp_upward_test_data): New variable.
23770 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23771 (exp10_test_data): New variable.
23772 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23773 (exp2_test_data): New variable.
23774 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23775 (expm1_test_data): New variable.
23776 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23777 (fabs_test_data): New variable.
23778 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23779 (floor_test_data): New variable.
23780 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23781 (j0_test_data): New variable.
23782 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23783 (j1_test_data): New variable.
23784 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23785 (log_test_data): New variable.
23786 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23787 (log10_test_data): New variable.
23788 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23789 (log1p_test_data): New variable.
23790 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23791 (log2_test_data): New variable.
23792 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23793 (logb_test_data): New variable.
23794 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23795 (logb_downward_test_data): New variable.
23796 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23797 (nearbyint_test_data): New variable.
23798 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23799 (rint_test_data): New variable.
23800 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23801 (rint_tonearest_test_data): New variable.
23802 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23803 (rint_towardzero_test_data): New variable.
23804 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23805 (rint_downward_test_data): New variable.
23806 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23807 (rint_upward_test_data): New variable.
23808 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23809 (round_test_data): New variable.
23810 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23811 (sin_test_data): New variable.
23812 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23813 (sin_tonearest_test_data): New variable.
23814 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23815 (sin_towardzero_test_data): New variable.
23816 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23817 (sin_downward_test_data): New variable.
23818 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23819 (sin_upward_test_data): New variable.
23820 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23821 (sinh_test_data): New variable.
23822 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23823 (sinh_tonearest_test_data): New variable.
23824 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23825 (sinh_towardzero_test_data): New variable.
23826 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23827 (sinh_downward_test_data): New variable.
23828 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23829 (sinh_upward_test_data): New variable.
23830 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23831 (sqrt_test_data): New variable.
23832 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23833 (tan_test_data): New variable.
23834 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23835 (tan_tonearest_test_data): New variable.
23836 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23837 (tan_towardzero_test_data): New variable.
23838 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23839 (tan_downward_test_data): New variable.
23840 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23841 (tan_upward_test_data): New variable.
23842 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23843 (tanh_test_data): New variable.
23844 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23845 (tgamma_test_data): New variable.
23846 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23847 (trunc_test_data): New variable.
23848 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23849 (y0_test_data): New variable.
23850 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23851 (y1_test_data): New variable.
23852 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23853 (significand_test_data): New variable.
23854 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23856 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23859 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23861 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23863 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23865 2013-05-10 Andreas Jaeger <aj@suse.de>
23868 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23869 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23871 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23873 * math/gen-libm-test.pl (adjust_arg): New function.
23874 (special_functions): Handle generating output in both functions
23876 (parse_args): Likewise.
23877 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23878 $in_func argument to parse_args.
23879 * math/libm-test.inc (struct test_f_f_data): New type.
23880 (IF_ROUND_INIT_): New macro.
23881 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23882 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23883 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23884 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23885 (ROUND_RESTORE_): Likewise.
23886 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23887 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23888 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23889 (ROUND_RESTORE_FE_UPWARD): Likewise.
23890 (RUN_TEST_LOOP_f_f): New macro.
23891 (acos_test_data): New variable.
23892 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23893 (acos_tonearest_test_data): New variable.
23894 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23896 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23898 * benchtests/bench-skeleton.c (startup): Fix coding style.
23900 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23903 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23904 negative infinity argument.
23905 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23906 negative infinity argument.
23907 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23908 negative infinity argument.
23909 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23912 2013-05-10 Florian Weimer <fweimer@redhat.com>
23914 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23915 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23916 * iconv/iconv_prog.c (main): Likewise.
23917 * locale/programs/charmap-dir.c (charmap_readdir)
23918 (fopen_uncompressed): Likewise.
23919 * locale/programs/locfile.c (siblings_uncached)
23920 (write_locale_data): Use lstat64 instead of lstat.
23921 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23924 2013-05-10 Andreas Jaeger <aj@suse.de>
23927 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23929 Include <locale.h>.
23931 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23933 * elf/dl-close.c (_dl_close_worker): Add comments.
23935 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23938 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23940 (__ieee754_rem_pio2l): Update comments.
23943 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23945 (__ieee754_rem_pio2l): Update comments.
23947 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23948 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23950 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23953 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23954 (M_PI_34_LOG10El): Likewise.
23955 (M_PI2_LOG10El): Likewise.
23956 (M_PI4_LOG10El): Likewise.
23957 (M_PI_LOG10El): Likewise.
23959 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23963 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23965 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23966 (MINUS_ZERO_INIT): Likewise.
23967 (PLUS_INFTY_INIT): Likewise.
23968 (MINUS_INFTY_INIT): Likewise.
23969 (QNAN_VALUE_INIT): Likewise.
23970 (MAX_VALUE_INIT): Likewise.
23971 (MIN_VALUE_INIT): Likewise.
23972 (MIN_SUBNORM_VALUE_INIT): Likewise.
23973 (plus_zero): Initialize with PLUS_ZERO_INIT.
23974 (minus_zero): Initialize with MINUS_ZERO_INIT.
23975 (plus_infty): Initialize with PLUS_INFTY_INIT.
23976 (minus_infty): Initialize with MINUS_INFTY_INIT.
23977 (qnan_value): Initialize with QNAN_VALUE_INIT.
23978 (max_value): Initialize with MAX_VALUE_INIT.
23979 (min_value): Initialize with MIN_VALUE_INIT.
23980 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23982 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23983 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23984 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23985 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23987 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23988 (RUN_TEST_2_f): Likewise.
23989 (RUN_TEST_ff_f): Likewise.
23990 (RUN_TEST_fi_f): Likewise.
23991 (RUN_TEST_fl_f): Likewise.
23992 (RUN_TEST_fff_f): Likewise.
23993 (RUN_TEST_c_f): Likewise.
23994 (RUN_TEST_f_f1): Likewise.
23995 (RUN_TEST_fF_f1): Likewise.
23996 (RUN_TEST_fI_f1): Likewise.
23997 (RUN_TEST_ffI_f1): Likewise.
23998 (RUN_TEST_c_c): Likewise.
23999 (RUN_TEST_cc_c): Likewise.
24000 (RUN_TEST_f_i): Likewise.
24001 (RUN_TEST_f_i_tg): Likewise.
24002 (RUN_TEST_ff_i_tg): Likewise.
24003 (RUN_TEST_f_b): Likewise.
24004 (RUN_TEST_f_b_tg): Likewise.
24005 (RUN_TEST_f_l): Likewise.
24006 (RUN_TEST_f_L): Likewise.
24007 (RUN_TEST_sincos): Likewise.
24008 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24009 whether to show exceptions. Do not include ");\n" in return
24011 (special_functions): Output call to RUN_TEST_sincos instead of
24012 check_float calls. Update calls to new_test.
24013 (parse_args): Output call to single RUN_TEST_* macro instead of
24014 check_* calls and other assignments. Update calls to new_test.
24020 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24021 input to result for tgamma overflow.
24022 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24023 (gamma_coeff): New variable.
24024 (NCOEFF): New macro.
24025 (gamma_positive): New function.
24026 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24027 underflow here. Use gamma_positive instead of exp (lgamma) for
24029 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24030 (gamma_coeff): New variable.
24031 (NCOEFF): New macro.
24032 (gammaf_positive): New function.
24033 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24034 underflow here. Use gamma_positive instead of exp (lgamma) for
24036 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24037 (gamma_coeff): New variable.
24038 (NCOEFF): New macro.
24039 (gammal_positive): New function.
24040 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24041 underflow here. Use gamma_positive instead of exp (lgamma) for
24043 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24044 (gamma_coeff): New variable.
24045 (NCOEFF): New macro.
24046 (gammal_positive): New function.
24047 (__ieee754_gammal_r): Handle positive infinity, overflow and
24048 underflow here. Handle NaN the same as positive infinity. Remove
24049 check x < 0xffffffff for negative integers. Use gamma_positive
24050 instead of exp (lgamma) for other arguments.
24051 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24052 (gamma_coeff): New variable.
24053 (NCOEFF): New macro.
24054 (gammal_positive): New function.
24055 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24056 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24059 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24060 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24061 * sysdeps/generic/math_private.h (__gamma_productf): New
24063 (__gamma_product): Likewise.
24064 (__gamma_productl): Likewise.
24065 * math/Makefile (libm-calls): Add gamma_product.
24066 * math/libm-test.inc (tgamma_test): Add more tests.
24067 * sysdeps/i386/fpu/libm-test-ulps: Update.
24068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24070 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
24072 * benchtests/bench-skeleton.c (main): Preheat CPU.
24074 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24076 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24078 2013-05-07 Roland McGrath <roland@hack.frob.com>
24080 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24081 and _dl_skip_args_internal.
24083 2013-05-07 Carlos O'Donell <carlos@redhat.com>
24085 * manual/message.texi (Message Translation): Talk about users.
24086 Message to key mapping impacts design.
24088 2013-05-06 Roland McGrath <roland@hack.frob.com>
24090 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24092 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24094 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24095 * sysdeps/wordsize-64/glob64.c: ... here.
24097 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24098 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24101 * debug/getlogin_r_chk.c: Moved to ...
24102 * login/getlogin_r_chk.c: ... here.
24103 * debug/Makefile (routines): Move getlogin_r_chk to ...
24104 * login/Makefile (routines): ... here.
24105 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24106 * login/Versions (libc: GLIBC_2.4): ... here.
24108 * io/poll.c (__poll): Renamed from poll.
24109 Add libc_hidden_def.
24110 (poll): Define as weak alias.
24112 * debug/ptsname_r_chk.c: Moved to ...
24113 * login/ptsname_r_chk.c: ... here.
24114 * debug/Makefile (routines): Move ptsname_r_chk to ...
24115 * login/Makefile (routines): ... here.
24116 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24117 * login/Versions (libc: GLIBC_2.4): ... here.
24119 * posix/getlogin.c: Moved to ...
24120 * login/getlogin.c: ... here.
24121 * posix/getlogin_r.c: Moved to ...
24122 * login/getlogin_r.c: ... here.
24123 * posix/getlogin_r.c: Moved to ...
24124 * login/getlogin_r.c: ... here.
24125 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24126 * login/Makefile (routines): ... here.
24127 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24128 * login/Versions (libc: GLIBC_2.0): ... here.
24130 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24131 (setrlimit): Define as weak alias.
24133 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24134 Call __ names for open, ftruncate, and close.
24135 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24136 (truncate): Define as weak alias.
24138 2013-05-06 Joseph Myers <joseph@codesourcery.com>
24140 * math/gen-libm-test.pl (parse_args): Initialize x before each
24141 test of frexp, modf and remquo.
24143 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24144 test signgam value.
24146 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24150 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24152 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24154 2013-05-06 Roland McGrath <roland@hack.frob.com>
24156 * elf/dl-writev.h: New file.
24157 * elf/dl-misc.c: Include it.
24158 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24159 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24161 2013-05-04 Joseph Myers <joseph@codesourcery.com>
24163 * math/libm-test.inc (noXFails): Remove variable.
24164 (noXPasses): Likewise.
24165 (BUILD_COMPLEX_INT): Remove macro.
24166 (print_screen): Remove xfail argument.
24167 (print_screen_max_error): Likewise.
24168 (update_stats): Likewise.
24169 (print_max_error): Likewise. Update calls to other affected
24171 (print_complex_max_error): Likewise.
24172 (test_single_exception): Update calls to print_screen.
24173 (test_single_errno): Likewise.
24174 (check_float_internal): Remove xfail argument. Update calls to
24175 other affected functions.
24176 (check_float): Likewise.
24177 (check_complex): Likewise.
24178 (check_int): Likewise.
24179 (check_long): Likewise.
24180 (check_bool): Likewise.
24181 (check_longlong): Likewise.
24182 (main): Don't print noXFails and noXPasses.
24183 * math/gen-libm-test.pl (top level): Don't mention expected
24184 failure handling in comment.
24185 (new_test): Don't handle expected failures.
24186 (parse_args): Don't mention expected failure handling in comment.
24187 (generate_testfile): Don't handle expected failures.
24188 (parse_ulps): Likewise.
24189 (print_ulps_file): Likewise.
24190 (get_failure): Remove function.
24191 (output_test): Don't handle expected failures.
24192 * make/README.libm-test: Don't mention expected failure handling.
24194 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24195 (minus_zero): Likewise.
24196 (plus_infty): Likewise.
24197 (minus_infty): Likewise.
24198 (qnan_value): Likewise.
24199 (max_value): Likewise.
24200 (min_value): Likewise.
24201 (min_subnorm_value): Likewise.
24202 (initialize): Do not initialize those variables dynamically.
24204 2013-05-03 Roland McGrath <roland@hack.frob.com>
24206 * io/open.c (__open_2): Moved to ...
24207 * io/open_2.c: ... this new file.
24208 * io/open64.c (__open64_2): Moved to ...
24209 * io/open64_2.c: ... this new file.
24210 * io/openat.c (__openat_2): Moved to ...
24211 * io/openat_2.c: ... this new file.
24212 * io/openat64.c (__openat64_2): Moved to ...
24213 * io/openat64_2.c: ... this new file.
24214 * io/Makefile (routines): Add them.
24215 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24216 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24217 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24218 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24219 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24220 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24221 (__openat64): Add hidden_ver.
24222 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24223 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24225 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24226 Separately conditionalize setting of GLRO(dl_sysinfo) so
24227 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24228 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24230 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24232 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24235 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24236 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24237 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24238 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24239 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24241 2013-05-03 Joseph Myers <joseph@codesourcery.com>
24243 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24244 test signgam value.
24246 * math/libm-test.inc (hypot_test): Do not use
24247 IGNORE_ZERO_INF_SIGN.
24249 2013-05-03 Andreas Jaeger <aj@suse.de>
24251 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24253 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24254 (PF_MAX): Adjust for VSOCK change.
24256 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24260 2013-05-02 Carlos O'Donell <carlos@redhat.com>
24263 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24264 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24265 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24267 2013-05-02 David S. Miller <davem@davemloft.net>
24269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24271 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
24273 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24275 2013-05-01 Roland McGrath <roland@hack.frob.com>
24277 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24279 2013-05-01 Richard Smith <richard@metafoo.co.uk>
24282 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24283 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24284 Use __attribute__ ((__gnu_inline__)).
24285 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24286 Don't use __attribute__ ((__gnu_inline__)).
24288 2013-05-01 Joseph Myers <joseph@codesourcery.com>
24291 * math/s_catan.c (__catan): Handle small real or imaginary part of
24292 input specially to avoid spurious underflow.
24293 * math/s_catanf.c (__catanf): Likewise.
24294 * math/s_catanh.c (__catanh): Likewise.
24295 * math/s_catanhf.c (__catanhf): Likewise.
24296 * math/s_catanhl.c (__catanhl): Likewise.
24297 * math/s_catanl.c (__catanl): Likewise.
24298 * math/libm-test.inc (catan_test): Add more tests.
24299 (catanh_test): Likewise.
24300 * sysdeps/i386/fpu/libm-test-ulps: Update.
24301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24303 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24307 2013-04-30 Joseph Myers <joseph@codesourcery.com>
24310 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24311 accurately for denominator in atan2.
24312 * math/s_catanf.c (__catanf): Likewise.
24313 * math/s_catanh.c (__catanh): Likewise.
24314 * math/s_catanhf.c (__catanhf): Likewise.
24315 * math/s_catanhl.c (__catanhl): Likewise.
24316 * math/s_catanl.c (__catanl): Likewise.
24317 * math/libm-test.inc (catan_test): Add more tests.
24318 (catanh_test): Likewise.
24319 * sysdeps/i386/fpu/libm-test-ulps: Update.
24320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24322 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24324 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24326 * benchtests/Makefile (bench): Remove slow benchmarks.
24327 * benchtests/atan-inputs: Add slow benchmark inputs.
24328 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24329 (BENCH_FUNC): Accept variant offset.
24331 * benchtests/bench-skeleton.c (main): Run benchmark for each
24333 * benchtests/cos-inputs: Add slow benchmark inputs.
24334 * benchtests/exp-inputs: Likewise.
24335 * benchtests/pow-inputs: Likewise.
24336 * benchtests/sin-inputs: Likewise.
24337 * benchtests/slowatan-inputs: Remove.
24338 * benchtests/slowatan.c: Remove.
24339 * benchtests/slowcos-inputs: Remove.
24340 * benchtests/slowcos.c: Remove.
24341 * benchtests/slowexp-inputs: Remove.
24342 * benchtests/slowexp.c: Remove.
24343 * benchtests/slowpow-inputs: Remove.
24344 * benchtests/slowpow.c: Remove.
24345 * benchtests/slowsin-inputs: Remove.
24346 * benchtests/slowsin.c: Remove.
24347 * benchtests/slowtan-inputs: Remove.
24348 * benchtests/slowtan.c: Remove.
24349 * benchtests/tan-inputs: Add slow benchmark inputs.
24350 * scripts/bench.pl: Parse comments and directives.
24352 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24354 ($(objpfx)bench-%.c): Remove *-ITER.
24355 * benchtests/bench-modf.c: Remove definition of ITER.
24356 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24357 (main): Loop for DURATION seconds instead of fixed number of
24359 * scripts/bench.pl: Don't expect iterations in parameters.
24361 2013-04-29 Roland McGrath <roland@hack.frob.com>
24363 * io/fchdir.c (__fchdir): Renamed from fchdir.
24364 (fchdir): Define as weak alias.
24366 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24368 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24369 (ERRNO_EDOM): Likewise.
24370 (ERRNO_ERANGE): Likewise.
24371 (noErrnoTests): New variable.
24372 (init_max_error): Set errno to 0.
24373 (test_single_errno): New function.
24374 (test_errno): Likewise.
24375 (check_float_internal): Call test_errno. Set errno to 0.
24376 (check_complex): Refer to errno tests in comment.
24377 (check_int): Call test_errno. Set errno to 0.
24378 (check_long): Likewise.
24379 (check_bool): Likewise.
24380 (check_longlong): Likewise.
24381 (cos_test): Use ERRNO_* flags for errno tests instead of
24383 (expm1_test): Likewise.
24384 (fmod_test): Likewise.
24385 (ilogb_test): Likewise.
24386 (lgamma_test): Likewise.
24387 (pow_test): Likewise.
24388 (remainder_test): Likewise.
24389 (sin_test): Likewise.
24390 (tan_test): Likewise.
24391 (yn_test): Likewise.
24392 (initialize): Set errno to 0.
24393 (main): Print number of errno tests.
24394 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24396 2013-04-29 Andreas Jaeger <aj@suse.de>
24399 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24403 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24404 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24408 * stdlib/random.c (__initstate): Return NULL if
24412 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24413 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24416 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24420 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24422 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24423 of individual tests.
24424 (casin_test): Likewise.
24425 (casinh_test): Likewise.
24427 2013-04-27 Joseph Myers <joseph@codesourcery.com>
24430 * math/s_catan.c (__catan): Handle arguments with large real or
24431 imaginary part separately without squaring.
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 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24437 (__catanhl): Handle arguments with large real or imaginary part
24438 separately without squaring.
24439 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24441 (__catanl): Handle arguments with large real or imaginary part
24442 separately without squaring.
24443 * math/libm-test.inc (catan_test): Add more tests.
24444 (catanh_test): Likewise.
24445 * sysdeps/i386/fpu/libm-test-ulps: Update.
24446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24448 2013-04-27 Andreas Jaeger <aj@suse.de>
24451 * stdlib/stdlib.h: Update guards for qecvt.
24452 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24455 2013-04-27 Allan McRae <allan@archlinux.org>
24457 * sysdeps/i386/fpu/libm-test-ulps: Update.
24459 2013-04-26 Joseph Myers <joseph@codesourcery.com>
24462 * math/s_catan.c: Include <float.h>.
24463 (__catan): Ensure underflow exception occurs for underflowed
24465 * math/s_catanf.c: Include <float.h>.
24466 (__catanf): Ensure underflow exception occurs for underflowed
24468 * math/s_catanh.c: Include <float.h>.
24469 (__catanh): Ensure underflow exception occurs for underflowed
24471 * math/s_catanhf.c: Include <float.h>.
24472 (__catanhf): Ensure underflow exception occurs for underflowed
24474 * math/s_catanhl.c: Include <float.h>.
24475 (__catanhl): Ensure underflow exception occurs for underflowed
24477 * math/s_catanl.c: Include <float.h>.
24478 (__catanl): Ensure underflow exception occurs for underflowed
24480 * math/libm-test.inc (catan_test): Add more tests.
24481 (catanh_test): Likewise.
24484 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24485 underflowed result.
24486 * math/s_ccoshf.c (__ccoshf): Likewise.
24487 * math/s_ccoshl.c (__ccoshl): Likewise.
24488 * math/s_csin.c (__csin): Likewise.
24489 * math/s_csinf.c (__csinf): Likewise.
24490 * math/s_csinh.c (__csinh): Likewise.
24491 * math/s_csinhf.c (__csinhf): Likewise.
24492 * math/s_csinhl.c (__csinhl): Likewise.
24493 * math/s_csinl.c (__csinl): Likewise.
24494 * math/libm-test.inc (ccos_test): Add more tests.
24495 (ccosh_test): Likewise.
24496 (csin_test): Likewise.
24497 (csinh_test): Likewise.
24499 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24501 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24502 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24503 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24504 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24505 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24506 powerpc/power5+/fpu folders.
24507 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24510 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24514 2013-04-25 Joseph Myers <joseph@codesourcery.com>
24516 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24517 additions to variable.
24518 [$(config-machine) = x86_64] (modules-names): Likewise.
24519 ($(objpfx)tst-audit3): Remove dependency.
24520 ($(objpfx)tst-audit3.out): Likewise.
24521 ($(objpfx)tst-audit4): Likewise.
24522 ($(objpfx)tst-audit4.out): Likewise.
24523 ($(objpfx)tst-audit5): Likewise.
24524 ($(objpfx)tst-audit5.out): Likewise.
24525 ($(objpfx)tst-audit6): Likewise.
24526 ($(objpfx)tst-audit6.out): Likewise.
24527 ($(objpfx)tst-audit7): Likewise.
24528 ($(objpfx)tst-audit7.out): Likewise.
24529 (tst-audit3-ENV): Remove variable.
24530 (tst-audit4-ENV): Likewise.
24531 (tst-audit5-ENV): Likewise.
24532 (tst-audit6-ENV): Likewise.
24533 (tst-audit7-ENV): Likewise.
24534 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24535 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24536 addition to variable.
24537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24538 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24539 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24540 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24541 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24542 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24543 tst-audit3, tst-audit4 and tst-audit5.
24544 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24545 tst-audit6 and tst-audit7.
24546 [$(subdir) = elf] (modules-names): Add audit modules for those
24548 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24549 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24550 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24551 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24552 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24553 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24554 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24555 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24556 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24557 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24558 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24559 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24560 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24561 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24562 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24563 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24565 [$(subdir) = elf && $(config-cflags-avx) = yes]
24566 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24567 [$(subdir) = elf && $(config-cflags-avx) = yes]
24568 (CFLAGS-tst-auditmod4a.c): Likewise.
24569 [$(subdir) = elf && $(config-cflags-avx) = yes]
24570 (CFLAGS-tst-auditmod4b.c): Likewise.
24571 [$(subdir) = elf && $(config-cflags-avx) = yes]
24572 (CFLAGS-tst-auditmod6b.c): Likewise.
24573 [$(subdir) = elf && $(config-cflags-avx) = yes]
24574 (CFLAGS-tst-auditmod6c.c): Likewise.
24575 [$(subdir) = elf && $(config-cflags-avx) = yes]
24576 (CFLAGS-tst-auditmod7b.c): Likewise.
24577 * elf/tst-audit3.c: Move to ...
24578 * sysdeps/x86_64/tst-audit3.c: ... here.
24579 * elf/tst-audit4.c: Move to ...
24580 * sysdeps/x86_64/tst-audit4.c: ... here.
24581 * elf/tst-audit5.c: Move to ...
24582 * sysdeps/x86_64/tst-audit5.c: ... here.
24583 * elf/tst-audit6.c: Move to ...
24584 * sysdeps/x86_64/tst-audit6.c: ... here.
24585 * elf/tst-audit7.c: Move to ...
24586 * sysdeps/x86_64/tst-audit7.c: ... here.
24587 * elf/tst-auditmod3a.c: Move to ...
24588 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24589 * elf/tst-auditmod3b.c: Move to ...
24590 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24591 * elf/tst-auditmod4a.c: Move to ...
24592 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24593 * elf/tst-auditmod4b.c: Move to ...
24594 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24595 * elf/tst-auditmod5a.c: Move to ...
24596 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24597 * elf/tst-auditmod5b.c: Move to ...
24598 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24599 * elf/tst-auditmod6a.c: Move to ...
24600 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24601 * elf/tst-auditmod6b.c: Move to ...
24602 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24603 * elf/tst-auditmod6c.c: Move to ...
24604 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24605 * elf/tst-auditmod7a.c: Move to ...
24606 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24607 * elf/tst-auditmod7b.c: Move to ...
24608 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24610 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24613 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24614 define unconditionally.
24615 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24616 define unconditionally.
24617 (INT8_C, INT16_C, etc.): Likewise.
24619 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24621 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24622 __ehdr_start with hidden visibility.
24624 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24626 2013-04-24 Carlos O'Donell <carlos@redhat.com>
24628 * math/libm-test.inc (cos_test): Use accurate hex constants.
24629 (sincost_test): Likewise.
24631 2013-04-24 Joseph Myers <joseph@codesourcery.com>
24633 * math/libm-test.inc (catan_test): Add more tests.
24634 (catanh_test): Likewise.
24636 * math/s_catanf.c (__catanf): Use suffixed floating-point
24638 * math/s_catanhf.c (__catanhf): Likewise.
24639 * math/s_catanhl.c (__catanhl): Likewise.
24640 * math/s_catanl.c (__catanl): Likewise.
24643 * math/s_catan.c (__catan): Calculate imaginary part of result
24644 with log1p not log unless computing log of number close to 0.
24645 * math/s_catanf.c (__catanf): Likewise.
24646 * math/s_catanl.c (__catanl): Likewise.
24647 * math/s_catanh.c (__catanh): Calculate real part of result with
24648 log1p not log unless computing log of number close to 0.
24649 * math/s_catanhf.c (__catanhf): Likewise.
24650 * math/s_catanhl.c (__catanhl): Likewise.
24651 * math/libm-test.inc (catan_test): Add more tests.
24652 (catanh_test): Likewise.
24653 * sysdeps/i386/fpu/libm-test-ulps: Update.
24654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24656 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24658 * benchtests/Makefile: Mention files in which fast and slow
24659 paths of math functions are implemented.
24661 2013-04-23 Roland McGrath <roland@hack.frob.com>
24663 * sysdeps/posix/timespec_get.c: New file.
24665 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24667 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24669 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24671 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24672 powerpc/power5/fpu folders.
24673 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24674 * benchtests/Makefile: Add modf testcase.
24675 * benchtests/bench-modf.c: New file: Benchmark test for mo
24677 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24680 * time/Makefile (tests): Add tst-strptime-whitespace.
24681 * time/strptime_l.c (get_number): Use ISSPACE.
24682 (__strptime_internal): Likewise.
24683 * time/tst-strptime-whitespace.c: New test case.
24685 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24687 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24689 (_nss_files_init): Set it here.
24691 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24693 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24694 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24697 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24699 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24701 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24703 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24706 2013-04-21 David S. Miller <davem@davemloft.net>
24708 * po/ru.po: Update Russion translation from translation project.
24710 2013-04-17 Adam Conrad <adconrad@0c3.net>
24712 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24715 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24717 * configure.in: Remove i386 configure warning. Remove i386 case.
24718 * configure: Regenerate.
24719 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24720 Add example to error message.
24721 * sysdeps/i386/configure: Regenerate.
24723 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24725 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24727 * benchtests/cos-inputs: New file.
24728 * benchtests/slowcos-inputs: New file.
24729 * benchtests/slowcos.c: New file.
24730 * benchtests/slowtan-inputs: New file.
24731 * benchtests/slowtan.c: New file.
24732 * benchtests/tan-inputs: New file.
24734 2013-04-16 Roland McGrath <roland@hack.frob.com>
24736 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24739 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24741 * benchtests/Makefile: Include cppflags-iterator.mk to add
24742 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24744 * Makefile.in (bench-clean): New target.
24745 * benchtests/Makefile (bench-clean): Likewise.
24747 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24749 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24751 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24753 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24755 2013-04-15 Andreas Schwab <schwab@suse.de>
24757 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24759 * nscd/pwdcache.c (cache_addpw): Likewise.
24760 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24763 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24765 * benchtests/Makefile (bench): Write all output to
24766 bench-out.tmp together.
24768 2013-04-15 Andreas Schwab <schwab@suse.de>
24770 * nscd/nscd.c (main): Don't fork again after closing files.
24772 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24774 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24776 * benchtests/Rules (bench-deps): Collect dependencies into a
24777 single variable. Add Makefile to dependencies.
24778 ($(objpfx)bench-%.c): Depend on bench-deps.
24780 2013-04-12 Roland McGrath <roland@hack.frob.com>
24781 Xavier Roche <roche+kml2@exalead.com>
24784 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24785 just that it's a file descriptor.
24786 * manual/llio.texi (Synchronizing AIO Operations): Update description
24787 for EBADF error from aio_fsync.
24789 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24791 * Rules (bench): Move target definition...
24792 * benchtests/Makefile: ... here.
24794 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24796 * math/libm-test.inc (cos_test): Fix PI/2 test.
24797 (sincos_test): Likewise.
24798 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24799 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24801 2013-04-11 Andreas Schwab <schwab@suse.de>
24804 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24805 accept exponent character only when digits were seen.
24806 * stdio-common/Makefile (tests): Add bug26.
24807 * stdio-common/bug26.c: New file.
24810 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24813 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24815 * Makeconfig (rtld-prefix): Define built linker prefix.
24816 * Rules (run-bench): Use it.
24817 * math/Makefile (run-regen-ulps): Likewise.
24819 * Rules (bench): Remove eval.
24821 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24822 Roland McGrath <roland@hack.frob.com>
24823 Ondrej Bilka <neleai@seznam.cz>
24826 * time/getdate.c: Include ctype.h and alloca.h.
24827 (__getdate_r): Trim leading and trailing spaces of input.
24828 * time/tst-getdate.c (tests): Add tests with leading and
24831 2013-04-08 Roland McGrath <roland@hack.frob.com>
24834 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24835 when computing value.
24837 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24839 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24840 Use testrun.sh to run libm tests.
24843 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24845 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24848 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24850 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24852 * Makefile.in (regen-ulps): New target.
24853 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24854 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24855 [ifneq (no,$(PERL)] (regen-ulps): New target.
24856 [ifeq (no,$(PERL)] (regen-ulps): New target.
24857 * math/libm-test.inc (ulps_file_name): Define.
24858 (output_dir): New variable.
24859 (options): Add "output-dir" option.
24860 (parse_opt): Handle 'o' case.
24861 (main): If output_dir is non-NULL use it as a prefix
24863 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24865 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24867 [BZ #10060, #10062]
24868 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24869 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24870 fail configure if __sync_val_compare_and_swap is not inlined.
24871 * sysdeps/i386/configure: Regenerate.
24872 * configure.in: Build for i686 when configured for i386.
24873 * configure: Regenerate.
24874 * README: Remove i386 reference.
24876 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24878 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24881 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24883 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24884 (lmsnanval): New variables.
24885 (F): Add conversion tests.
24886 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24887 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24889 * stdio-common/tstdiomisc.c (F): Properly collect individual
24892 [BZ #14686, #15336]
24893 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24894 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24895 Instead, use input NaN values or generate a qNaN by arithmetic
24896 operation. Also fix bugs to comply with the standard.
24897 * math/libm-test.inc (remainder_test): Add more tests.
24899 [BZ #15335, #15342]
24900 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24902 input NaN values or generate a qNaN by arithmetic operation.
24904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24907 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24910 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24913 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24914 underflowed result.
24915 * math/s_cexpf.c (__cexpf): Likewise.
24916 * math/s_cexpl.c (__cexpl): Likewise.
24917 * math/libm-test.inc (cexp_test): Add more tests.
24919 2013-04-03 Andreas Schwab <schwab@suse.de>
24922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24923 order arrays from heap if bigger than alloca cutoff.
24925 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24927 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24928 (SNAN_TESTS_double): Refer to GCC PR56831.
24929 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24932 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24934 * Rules (bench): Move bench.out after the run is complete.
24936 * Rules (bench): Echo currently running benchmark.
24938 * benchtests/Makefile (bench): Add atan and slowatan.
24939 * benchtests/atan-inputs: New file.
24940 * benchtests/slowatan-inputs: New file.
24941 * benchtests/slowatan.c: New file.
24943 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24948 * sysdeps/unix/sysv/linux/kernel-features.h
24949 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24950 __ASSUME_XFS_RESTRICTED_CHOWN.
24951 * sysdeps/unix/sysv/linux/pathconf.c
24952 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24953 Save and restore errno.
24955 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24958 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24959 arguments using __kernel_casinh.
24960 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24961 arguments using __kernel_casinhf.
24962 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24963 arguments using __kernel_casinhl.
24964 * math/libm-test.inc (cacosh_test): Add more tests.
24965 * sysdeps/i386/fpu/libm-test-ulps: Update.
24966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24968 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24970 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24973 * bench/Makefile (bench): Add sin and slowsin.
24974 * benchtests/sin-inputs: New file.
24975 * benchtests/slowsin-inputs: New file.
24976 * benchtests/slowsin.c: New file.
24978 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24979 (bench): Add slowexp and slowpow.
24980 (exp-ITER): Increase iterations.
24981 (pow-ITER): Likewise.
24982 * benchtests/exp-inputs: Change input.
24983 * benchtests/pow-inputs: Likewise.
24984 * benchtests/slowexp-inputs: New file.
24985 * benchtests/slowexp.c: New file.
24986 * benchtests/slowpow-inputs: New file.
24987 * benchtests/slowpow.c: New file.
24989 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24991 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24993 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24994 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24995 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24996 * benchtests/Makefile: Add rint benchtest.
24997 * benchtests/rint-inputs: Input for rint benchtest.
24999 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25001 * Versions.def (libm): Add GLIBC_2.18.
25002 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25003 hidden libm prototypes.
25004 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25005 * math/Makefile (libm-calls): Add s_issignaling.
25006 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25007 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25008 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25010 * math/math.h [__USE_GNU] (issignaling): New macro.
25011 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25012 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25014 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25015 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25016 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25017 * manual/arith.texi (issignaling): New section.
25018 * manual/libm-err-tab.pl (@all_functions): Update comment.
25019 * math/gen-libm-test.pl (parse_args): Apply special handling for
25021 * math/libm-test.inc (print_float, issignaling_test): New
25023 (check_float_internal): Add issignaling checks.
25024 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25025 default definition.
25026 * sysdeps/powerpc/math-tests.h: New file.
25027 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25029 * math/test-snan.c (TEST_FUNC): Likewise.
25031 2013-03-30 David S. Miller <davem@davemloft.net>
25033 * po/de.po: Update from translation team.
25035 2013-03-30 Joseph Myers <joseph@codesourcery.com>
25038 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25039 imaginary part less than 1.0 and real part less than 0.5
25041 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25042 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25043 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25044 (cacos_test): Add more tests.
25045 (casin_test): Likewise.
25046 (casinh_test): Likewise.
25047 * sysdeps/i386/fpu/libm-test-ulps: Update.
25048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25050 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25052 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25053 ONE with its value.
25055 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25056 (__pow_mp): Replace ONE and MONE with their values.
25057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25058 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25059 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25060 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25061 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25062 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25064 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25066 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25067 (__pow_mp): Replace ZERO and MZERO with their values.
25068 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25069 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25070 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25072 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25073 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25076 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25078 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25080 2013-03-28 Roland McGrath <roland@hack.frob.com>
25082 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25083 Declare with __attribute__ ((weak)).
25084 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25085 Call __call_tls_dtors only if it's not NULL.
25087 2013-03-28 Roland McGrath <roland@hack.frob.com>
25089 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25090 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25091 magic __ehdr_start linker symbol if it's defined.
25092 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25093 them up here if it was already done.
25095 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25096 (_dl_aux_init): Use const in cast when setting it.
25097 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25098 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25099 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25101 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25103 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25104 * csu/libc-tls.c: Nor here.
25105 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25107 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25108 (__libc_message): Never call vsyslog.
25110 2013-03-28 Alan Modra <amodra@gmail.com>
25112 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25114 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25117 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25120 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25124 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25127 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25128 Don't add gid passed as argument.
25130 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25132 2013-03-27 Joseph Myers <joseph@codesourcery.com>
25135 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25136 imaginary part between 1.0 and 1.5 and real part less than 0.5
25138 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25139 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25140 * math/libm-test.inc (cacos_test): Add more tests.
25141 (casin_test): Likewise.
25142 (casinh_test): Likewise.
25143 * sysdeps/i386/fpu/libm-test-ulps: Update.
25144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25146 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25148 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25151 (denorm): Likewise.
25152 (__dbl_mp): Likewise.
25153 (add_magnitudes): Likewise.
25154 (sub_magnitudes): Likewise.
25162 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25164 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25165 (__dubcos): Likewise.
25166 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25167 (__ieee754_acos): Likewise.
25168 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25169 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25170 (__exp1): Likewise.
25171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25174 (my_log2): Likewise.
25175 (checkint): Likewise.
25176 * sysdeps/ieee754/dbl-64/e_remainder.c
25177 (__ieee754_remainder): Likewise.
25178 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25180 (bsloww): Likewise.
25181 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25183 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25184 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25185 MANTISSA_STORE_T to store computations on mantissa. Use
25186 macros for rounding and division.
25187 (denorm): Likewise.
25188 (__dbl_mp): Likewise.
25189 (add_magnitudes): Likewise.
25190 (sub_magnitudes): Likewise.
25193 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25194 powers of two in terms of TWOPOW macro.
25195 (mp_no): Make type of mantissa as MANTISSA_T.
25196 [!RADIXI]: Define RADIXI.
25197 [!TWO52]: Define TWO52.
25198 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25200 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25202 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25203 llroundl symbol when building for PPC32.
25205 2013-03-24 Mark H Weaver <mhw@netris.org>
25207 * manual/arith.texi (Normalization Functions): Fix prototypes for
25208 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25210 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25213 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25214 high value to check if expl overflow.
25215 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25216 to check for underflow and overflow.
25217 * math/libm-test.inc: Add exp test.
25219 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25222 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25225 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25227 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25230 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25232 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25233 wrap blocks consisting of several statements.
25235 * sysdeps/generic/math-tests.h: New file.
25236 * sysdeps/i386/fpu/math-tests.h: Likewise.
25237 * math/test-snan.c: Include it.
25238 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25240 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25243 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25244 (__ieee754_j0l): Do not improve calculations using cos of twice
25245 input for inputs above LDBL_MAX / 2.0L.
25246 (__ieee754_y0l): Likewise.
25247 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25248 (__ieee754_j1l): Do not improve calculations using cos of twice
25249 input for inputs above LDBL_MAX / 2.0L.
25250 (__ieee754_y1l): Likewise.
25251 * math/libm-test.inc (j0_test): Add another test.
25252 (j1_test): Likewise.
25253 (y0_test): Likewise.
25254 (y1_test): Likewise.
25255 * sysdeps/i386/fpu/libm-test-ulps: Update.
25257 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25259 * Rules ($(objpfx)bench-%.c): Include code from a C source
25262 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25265 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25266 imaginary part 1.0 and real part less than 0.5 specially.
25267 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25268 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25269 * math/libm-test.inc (cacos_test): Add more tests.
25270 (casin_test): Likewise.
25271 (casinh_test): Likewise.
25272 * sysdeps/i386/fpu/libm-test-ulps: Update.
25273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25275 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25277 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25278 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25280 2013-03-20 Joseph Myers <joseph@codesourcery.com>
25282 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25283 * config.make.in (config-cflags-sse4): Remove variable.
25284 (config-cflags-avx): Likewise.
25285 (config-cflags-sse2avx): Likewise.
25286 (config-cflags-novzeroupper): Likewise.
25287 (config-asflags-i686): Likewise.
25288 (have-mfma4): Likewise.
25289 (have-as-vis3): Likewise.
25291 * configure.in (MIG): Do not AC_SUBST.
25292 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25293 (libc_cv_cc_sse4): Do not AC_SUBST.
25294 (libc_cv_cc_avx): Likewise.
25295 (libc_cv_cc_sse2avx): Likewise.
25296 (libc_cv_cc_novzeroupper): Likewise.
25297 (libc_cv_cc_fma4): Likewise.
25298 (libc_cv_as_i686): Likewise.
25299 (libc_cv_sparc_as_vis3): Likewise.
25300 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25302 (config-asflags-i686): Likewise.
25303 (config-cflags-avx): Likewise.
25304 (config-cflags-sse2avx): Likewise.
25305 (have-mfma4): Likewise.
25306 (config-cflags-novzeroupper): Likewise.
25307 * sysdeps/mach/configure.in (MIG): Likewise.
25308 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25309 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25311 (config-cflags-avx): Likewise.
25312 (config-cflags-sse2avx): Likewise.
25313 (have-mfma4): Likewise.
25314 (config-cflags-novzeroupper): Likewise.
25315 * configure: Regenerated.
25316 * sysdeps/i386/configure: Likewise.
25317 * sysdeps/mach/configure: Likewise.
25318 * sysdeps/sparc/configure: Likewise.
25319 * sysdeps/x86_64/configure: Likewise.
25321 2013-03-20 Roland McGrath <roland@hack.frob.com>
25324 * locale/programs/localedef.c (options): Put N_ translation marker
25325 on argument names, not just descriptions.
25327 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25329 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25331 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
25334 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25336 2013-03-19 Roland McGrath <roland@hack.frob.com>
25338 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25339 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25340 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25341 [!BEFORE_ABORT] (before_abort): New function.
25342 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25343 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25344 (writev_for_fatal): New function.
25345 (WRITEV_FOR_FATAL): New macro; call that.
25346 (backtrace_and_maps): New function.
25347 (BEFORE_ABORT): New macro; call that.
25348 (struct str_list): Type removed.
25349 (__libc_message, __libc_fatal): Functions removed.
25350 Include <sysdeps/posix/libc_fatal.c> instead.
25352 2013-03-19 Joseph Myers <joseph@codesourcery.com>
25354 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25356 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25359 2013-03-19 Andreas Schwab <schwab@suse.de>
25361 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25362 * sysdeps/gnu/configure: Regenerate.
25364 * configure.in: Substitute libc_cv_rtlddir.
25365 * configure: Regenerate.
25366 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25367 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25368 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25369 * elf/Makefile (install-others, CFLAGS-interp.c)
25370 (ldso_install, common-ldd-rewrite): Likewise.
25371 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25372 $(inst_slibdir)/$(rtld-installed-name).
25373 * scripts/rellns-sh: Add -p option.
25374 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25377 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25379 * manual/nptl.texi: Renamed to ...
25380 * manual/threads.texi: ... this.
25381 * manual/Makefile (chapters): Update.
25383 2013-03-18 Roland McGrath <roland@hack.frob.com>
25386 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25387 on argument names, not just descriptions.
25388 * malloc/memusagestat.c (options): Likewise.
25389 * nss/getent.c (options): Likewise.
25391 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
25394 * iconv/iconv_prog.c (options): Put N_ translation marker
25395 on argument names, not just descriptions.
25396 * iconv/iconvconfig.c (options): Likewise.
25398 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
25400 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25401 implementation which is faster on all x86_64 architectures.
25402 Tested on AMD, Intel Nehalem, SNB, IVB.
25403 * sysdeps/x86_64/strnlen.S: Likewise.
25405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25406 Remove all multiarch strlen and strnlen versions.
25407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25408 Remove strlen and strnlen related parts.
25410 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25411 Inline strlen part.
25412 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25414 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25415 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25416 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25417 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25418 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25419 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25421 2013-03-17 Carlos O'Donell <carlos@redhat.com>
25423 * manual/memory.texi (Malloc Tunable Parameters):
25424 Sort parameters alphabetically. Add comments for missing entries.
25426 2013-03-17 David S. Miller <davem@davemloft.net>
25428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25430 2013-03-16 Joseph Myers <joseph@codesourcery.com>
25433 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25434 for arguments at most half maximum finite value.
25435 * math/libm-test.inc (j0_test): Add more tests.
25436 (j1_test): Likewise.
25437 (y0_test): Likewise.
25438 (y1_test): Likewise.
25439 * sysdeps/i386/fpu/libm-test-ulps: Update.
25440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25443 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25444 1 / x and functions P and Q for arguments above 0x1p256L.
25445 (__ieee754_y0l): Likewise.
25446 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25447 (__ieee754_y1l): Likewise.
25448 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25449 (j1_test): Likewise.
25450 (y0_test): Likewise.
25451 (y1_test): Likewise.
25453 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25455 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25458 2013-03-15 Roland McGrath <roland@hack.frob.com>
25460 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25461 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25462 zero since it's initialized to EXEC_PAGESIZE.
25464 * sysdeps/unix/sysv/linux/ldsodefs.h
25465 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25466 * sysdeps/generic/ldsodefs.h: ... here.
25468 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25470 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25472 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25474 * math/test-snan.c: Renamed from
25475 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25476 * math/Makefile (tests): Add test-snan.
25477 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25480 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25481 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25483 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25484 __builtin_nan family of functions.
25485 * math/libm-test.inc (initialize): Initialize qnan_value with
25486 __builtin_nan family of functions.
25487 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25489 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25491 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25492 storage class. Initialize qNaN_var and sNaN_var with
25493 __builtin_nan and __builtin_nans families of functions,
25496 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25497 (sqrt_test): Remove duplicate test with qNaN input.
25498 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25499 (round_test, signbit_test, significand_test): Note missing +/-Inf
25500 as well as qNaN tests.
25502 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25503 qNaN_var. Fix a few strings, too.
25504 * math/libm-test.inc (nan_value): Rename to qnan_value.
25505 * math/gen-libm-test.pl (%beautify): Adjust to that.
25506 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25507 * math/test-misc.c (main): Likewise.
25508 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25509 to __qnan_bytes, and __qnan_union, respectively.
25510 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25512 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25513 and lqnanval, respectively.
25514 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25515 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25516 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25517 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25519 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25520 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25523 * math/test-misc.c (main): Fix copy'n'pastos.
25524 * misc/tst-efgcvt.c (special): Likewise.
25526 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25527 Remove declarations.
25529 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25531 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25532 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25533 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25534 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25536 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25538 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25539 macro to return vdso values correctly in IFUNC implementations.
25540 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25541 Optimization by using IFUNC.
25543 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25544 Richard Henderson <rth@redhat.com>
25545 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25547 * Makefile.in (bench): New target.
25548 * NEWS: Mention the benchmark framework.
25549 * Rules (bench): Likewise.
25550 (binaries-bench): Generate binaries for functions to
25552 * benchtests/Makefile: New makefile for benchmark tests.
25553 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25555 * benchtests/exp-inputs: New input file for EXP function.
25556 * benchtests/pow-inputs: New input file for POW function.
25557 * scripts/bench.pl: New script to generate source files for
25558 benchmark programs.
25560 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25562 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25563 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25564 computations on mantissa. Use macros for rounding and
25566 (denorm): Likewise.
25567 (__dbl_mp): Likewise.
25568 (add_magnitudes): Likewise.
25569 (sub_magnitudes): Likewise.
25572 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25573 powers of two in terms of TWOPOW macro.
25574 (mp_no): Make type of mantissa as MANTISSA_T.
25575 [!RADIXI]: Define RADIXI.
25576 [!TWO52]: Define TWO52.
25577 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25579 * manual/nptl.texi (cindex): Modify threads to pthreads.
25581 2013-03-15 Joseph Myers <joseph@codesourcery.com>
25583 * sysdeps/x86_64/preconfigure: Regenerated.
25585 2013-03-14 Joseph Myers <joseph@codesourcery.com>
25588 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25590 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25591 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25593 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25594 * math/libm-test.inc (j0_test): Do not allow one spurious
25595 underflow exception.
25596 (y1_test): Likewise.
25598 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25600 * manual/Makefile (chapters): Add nptl.
25601 * manual/debug.texi (Debugging Support): Add link to Threads
25603 * manual/nptl.texi: New file.
25605 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25607 2013-03-14 Petr Baudis <pasky@ucw.cz>
25609 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25610 for non-NULL pointer before the memory validity test. Pointed
25611 out by Holger Brunck <holger.brunck@keymile.com>.
25613 2013-03-13 Andreas Schwab <schwab@suse.de>
25615 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25618 2013-03-13 Joseph Myers <joseph@codesourcery.com>
25620 * timezone/zic.c: Update from tzcode 2013b.
25622 2013-03-12 Carlos O'Donell <carlos@redhat.com>
25624 * manual/install.texi (Configuring and compiling):
25625 Mention i686 and i586.
25626 * INSTALL: Regenerate.
25628 2013-03-12 Roland McGrath <roland@hack.frob.com>
25630 * sysdeps/init_array/elf-init.c: New file.
25632 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25633 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25635 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25636 __gmon_start__ as global, but as static with a .preinit_array pointer.
25637 * sysdeps/init_array/gmon-start.c: New file. Use that.
25638 * sysdeps/init_array/crti.S: New file, empty except for comments.
25639 * sysdeps/init_array/crtn.S: Likewise.
25641 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
25643 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25646 Remove Prefer_SSE_for_memop.
25647 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25648 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25649 HAS_PREFER_SSE_FOR_MEMOP.
25650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25653 Remove bzero, memset ifunc support.
25654 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25655 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25656 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25657 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25659 2013-03-11 Andreas Schwab <schwab@suse.de>
25662 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25665 (GLIBC_2.16): Remove pthread_atfork.
25667 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25669 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25670 (ptestcases.h): Likewise.
25672 2013-03-08 Roland McGrath <roland@hack.frob.com>
25674 * Makeconfig ($(common-objpfx)config.status): Depend on
25675 sysdeps/*/preconfigure{,.in} too.
25677 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25679 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25680 (__free_hook): Use void * instead of __malloc_ptr_t.
25681 (__malloc_hook): Likewise.
25682 (__realloc_hook): Likewise.
25683 (__memalign_hook): Likewise.
25684 (__after_morecore_hook): Likewise.
25685 * malloc/arena.c (save_malloc_hook): Likewise.
25686 (save_free_hook): Likewise.
25687 * malloc/hooks.c (malloc_hook_ini): Likewise.
25688 (realloc_hook_ini): Likewise.
25689 (memalign_hook_ini): Likewise.
25690 * malloc/malloc.c (malloc_hook_ini): Likewise.
25691 (realloc_hook_ini): Likewise.
25692 (memalign_hook_ini): Likewise.
25693 (__free_hook): Likewise.
25694 (__malloc_hook): Likewise.
25695 (__realloc_hook): Likewise.
25696 (__memalign_hook): Likewise.
25697 (__libc_malloc): Likewise.
25698 (__libc_free): Likewise.
25699 (__libc_realloc): Likewise.
25700 (__libc_memalign): Likewise.
25701 (__libc_valloc): Likewise.
25702 (__libc_pvalloc): Likewise.
25703 (__libc_calloc): Likewise.
25704 (__posix_memalign): Likewise.
25705 * malloc/morecore.c (__sbrk): Likewise.
25706 (__default_morecore): Likewise.
25708 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25710 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25711 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25712 __malloc_ptrdiff_t.
25714 * malloc/malloc.h (__malloc_size_t): Remove macro.
25715 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25717 (old_memalign_hook): Likewise.
25718 (old_realloc_hook): Likewise.
25719 (struct hdr): Likewise.
25721 (mallochook): Likewise.
25722 (memalignhook): Likewise.
25723 (reallochook): Likewise.
25724 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25725 (tr_old_realloc_hook): Likewise.
25726 (tr_old_memalign_hook): Likewise.
25727 (tr_mallochook): Likewise.
25728 (tr_reallochook): Likewise.
25729 (tr_memalignhook): Likewise.
25731 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25733 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25734 default_ldbl_pack and using as default implementation.
25735 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25737 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25738 redundant definition.
25739 (ldbl_insert_mantissa): Likewise.
25740 (ldbl_canonicalize): Likewise.
25741 (ldbl_nearbyint): Likewise.
25742 (ldbl_pack): Rename to ldbl_pack_ppc.
25743 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25744 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25745 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25747 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25750 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25751 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25752 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25754 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25755 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25756 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25758 2013-03-07 Andreas Jaeger <aj@suse.de>
25760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25763 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25765 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25766 Include mpa.h and declare __MPEXP.
25767 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25768 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25769 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25770 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25771 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25772 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25773 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25775 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25776 (__slowpow): Use long double EXPL and LOGL functions to
25778 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25779 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25780 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25781 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25782 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25783 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25786 intermediate variable to calculate exponent.
25788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25792 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25793 [!NO__SQR]: Define __sqr.
25794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25795 and NO__SQR. Remove all code except __mul and __sqr. Include
25796 sysdeps/ieee754/dbl-64/mpa.c.
25797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25800 * posix/Makefile (tests): Add tst-pathconf.
25801 * posix/tst-pathconf.c: New test case.
25802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25804 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25806 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25808 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25810 2013-03-06 Andreas Jaeger <aj@suse.de>
25812 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25813 definition via __MAP_ANONYMOUS.
25815 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25816 it's not part of Linux headers.
25818 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25819 (MAP_HUGE_MASK): Define.
25821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25824 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25827 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25829 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25832 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25834 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25835 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25836 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25837 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25838 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25839 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25845 Handle f2fs and efivarfs.
25847 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25850 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25851 (EFIVARFS_MAGIC): Add.
25852 (F2FS_LINK_MAX): Add.
25854 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25856 * stdio-common/vfprintf.c: Replace __builtin_expect with
25859 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25862 * sysdeps/generic/bp-sym.h: Remove file.
25863 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25864 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25865 <bp-sym.h> and <bp-asm.h>.
25866 (__longjmp): Don't use BP_SYM.
25867 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25869 (memcpy): Don't use BP_SYM.
25870 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25871 <bp-sym.h> and <bp-asm.h>.
25872 (memcpy): Don't use BP_SYM.
25873 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25875 (memcpy): Don't use BP_SYM.
25876 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25878 (memset): Don't use BP_SYM.
25879 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25880 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25881 (__bzero): Don't use BP_SYM.
25882 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25883 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25884 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25885 <bp-sym.h> and <bp-asm.h>.
25886 (memcmp): Don't use BP_SYM. Remove comment about bounded
25888 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25889 <bp-sym.h> and <bp-asm.h>.
25890 (memcpy): Don't use BP_SYM.
25891 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25892 <bp-sym.h> and <bp-asm.h>.
25893 (memset): Don't use BP_SYM.
25894 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25895 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25896 (__bzero): Don't use BP_SYM.
25897 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25898 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25899 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25900 <bp-sym.h> and <bp-asm.h>.
25901 (strncmp): Don't use BP_SYM. Remove comment about bounded
25903 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25904 <bp-sym.h> and <bp-asm.h>.
25905 (memcpy): Don't use BP_SYM.
25906 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25907 <bp-sym.h> and <bp-asm.h>.
25908 (memset): Don't use BP_SYM.
25909 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25910 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25911 (__bzero): Don't use BP_SYM.
25912 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25913 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25915 <bp-sym.h> and <bp-asm.h>.
25916 (__memchr): Don't use BP_SYM.
25917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25918 <bp-sym.h> and <bp-asm.h>.
25919 (memcmp): Don't use BP_SYM. Remove comment about bounded
25921 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25922 <bp-sym.h> and <bp-asm.h>.
25923 (memcpy): Don't use BP_SYM.
25924 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25925 <bp-sym.h> and <bp-asm.h>.
25926 (__mempcpy): Don't use BP_SYM.
25927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25928 <bp-sym.h> and <bp-asm.h>.
25929 (__memrchr): Don't use BP_SYM.
25930 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25931 <bp-sym.h> and <bp-asm.h>.
25932 (memset): Don't use BP_SYM.
25933 (__bzero): Likewise.
25934 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25935 <bp-sym.h> and <bp-asm.h>.
25936 (__rawmemchr): Don't use BP_SYM.
25937 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25938 <bp-sym.h> and <bp-asm.h>.
25939 (__STRCMP): Don't use BP_SYM.
25940 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25941 <bp-sym.h> and <bp-asm.h>.
25942 (strchr): Don't use BP_SYM.
25943 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25944 <bp-sym.h> and <bp-asm.h>.
25945 (__strchrnul): Don't use BP_SYM.
25946 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25947 <bp-sym.h> and <bp-asm.h>.
25948 (strlen): Don't use BP_SYM.
25949 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25950 <bp-sym.h> and <bp-asm.h>.
25951 (strncmp): Don't use BP_SYM. Remove comment about bounded
25953 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25954 <bp-sym.h> and <bp-asm.h>.
25955 (__strnlen): Don't use BP_SYM.
25956 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25957 <bp-sym.h> and <bp-asm.h>.
25958 (__GI__setjmp): Don't use BP_SYM.
25959 (_setjmp): Likewise.
25960 (__sigsetjmp): Likewise.
25961 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25962 (L(start_addresses)): Don't use BP_SYM.
25963 (_start): Likewise.
25964 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25966 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25967 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25968 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25969 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25970 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25972 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25973 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25974 about bounded pointers.
25975 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25976 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25977 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25979 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25980 about bounded pointers. Remove GKM FIXME comments.
25981 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25982 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25984 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25985 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25986 Remove GKM FIXME comments.
25987 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25988 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25989 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25991 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25992 about bounded pointers. Remove GKM FIXME comment.
25993 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25995 (strncmp): Don't use BP_SYM. Remove comment about bounded
25997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25998 <bp-sym.h> and <bp-asm.h>.
25999 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26001 <bp-sym.h> and <bp-asm.h>.
26002 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26005 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26007 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26010 2013-03-05 David S. Miller <davem@davemloft.net>
26012 * po/es.po: Update from translation team.
26014 2013-03-05 Andreas Jaeger <aj@suse.de>
26016 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26017 <bits/mman-linux.h>.
26018 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26020 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26021 <bits/mman-linux.h> to end of file.
26022 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26024 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26025 <bits/mman-linux.h> to end of file.
26026 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26029 <bits/mman-linux.h> to end of file.
26031 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26032 (MCL_CURRENT, MCL_FUTURE): Define here.
26034 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26037 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26039 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26041 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26043 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26044 fourth parameter needed for rt_sigprocmask syscall.
26045 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26046 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26047 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26048 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26049 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26050 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26052 2013-03-04 Joseph Myers <joseph@codesourcery.com>
26055 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26056 comment about bounded pointers.
26057 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26058 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26060 2013-03-04 Andreas Jaeger <aj@suse.de>
26062 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26063 common definitions.
26065 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26066 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26067 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26068 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26069 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26070 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26072 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26075 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26076 __ieee754_sqrl instead of __sqrl.
26078 2013-03-01 Joseph Myers <joseph@codesourcery.com>
26080 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26081 * sysdeps/powerpc/fpu_control.h: ... here.
26082 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26083 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26084 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26085 * sysdeps/powerpc/bits/mathinline.h: ... here.
26087 2013-03-01 Roland McGrath <roland@hack.frob.com>
26089 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26090 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26091 to just [NEED_DL_SYSINFO_DSO].
26092 * elf/dl-support.c: Likewise.
26093 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26094 * elf/rtld.c (dl_main): Likewise.
26095 * elf/setup-vdso.h (setup_vdso): Likewise.
26096 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26097 * sysdeps/unix/sysv/linux/dl-sysdep.c
26098 (_dl_discover_osversion): Likewise.
26100 2013-03-01 Carlos O'Donell <carlos@redhat.com>
26102 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26103 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26105 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26107 * NEWS: Mention libm performance improvements and non-x86 PI
26110 * csu/libc-start.c (__pthread_initialize_minimal): Change
26111 function arguments.
26112 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26114 2013-02-28 Joseph Myers <joseph@codesourcery.com>
26117 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26118 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26119 <bp-sym.h> and <bp-asm.h>.
26120 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26121 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26123 (memcpy): Don't use BP_SYM.
26124 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26126 (__mpn_add_n): Don't use BP_SYM.
26127 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26128 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26130 (__mpn_addmul_1): Don't use BP_SYM.
26131 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26132 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26134 (_setjmp): Don't use BP_SYM.
26135 (__novmx_setjmp): Likewise.
26136 (__GI__setjmp): Likewise.
26137 (__vmx_setjmp): Likewise.
26138 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26140 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26141 (__bzero): Don't use BP_SYM.
26142 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26143 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26144 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26145 <bp-sym.h> and <bp-asm.h>.
26146 (memcpy): Don't use BP_SYM.
26147 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26148 <bp-sym.h> and <bp-asm.h>.
26149 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26150 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26151 <bp-sym.h> and <bp-asm.h>.
26152 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26153 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26155 (__mpn_lshift): Don't use BP_SYM.
26156 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26157 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26159 (memset): Don't use BP_SYM.
26160 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26161 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26162 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26164 (__mpn_mul_1): Don't use BP_SYM.
26165 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26166 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26167 <bp-sym.h> and <bp-asm.h>.
26168 (memcmp): Don't use BP_SYM.
26169 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26170 <bp-sym.h> and <bp-asm.h>.
26171 (memcpy): Don't use BP_SYM.
26172 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26173 <bp-sym.h> and <bp-asm.h>.
26174 (memset): Don't use BP_SYM.
26175 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26176 <bp-sym.h> and <bp-asm.h>.
26177 (strncmp): Don't use BP_SYM.
26178 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26179 <bp-sym.h> and <bp-asm.h>.
26180 (memcpy): Don't use BP_SYM.
26181 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26182 <bp-sym.h> and <bp-asm.h>.
26183 (memset): Don't use BP_SYM.
26184 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26185 <bp-sym.h> and <bp-asm.h>.
26186 (__memchr): Don't use BP_SYM.
26187 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26188 <bp-sym.h> and <bp-asm.h>.
26189 (memcmp): Don't use BP_SYM.
26190 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26191 <bp-sym.h> and <bp-asm.h>.
26192 (memcpy): Don't use BP_SYM.
26193 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26194 <bp-sym.h> and <bp-asm.h>.
26195 (__mempcpy): Don't use BP_SYM.
26196 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26197 <bp-sym.h> and <bp-asm.h>.
26198 (__memrchr): Don't use BP_SYM.
26199 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26200 <bp-sym.h> and <bp-asm.h>.
26201 (memset): Don't use BP_SYM.
26202 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26203 <bp-sym.h> and <bp-asm.h>.
26204 (__rawmemchr): Don't use BP_SYM.
26205 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26206 <bp-sym.h> and <bp-asm.h>.
26207 (__STRCMP): Don't use BP_SYM.
26208 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26209 <bp-sym.h> and <bp-asm.h>.
26210 (strchr): Don't use BP_SYM.
26211 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26212 <bp-sym.h> and <bp-asm.h>.
26213 (__strchrnul): Don't use BP_SYM.
26214 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26215 <bp-sym.h> and <bp-asm.h>.
26216 (strlen): Don't use BP_SYM.
26217 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26218 <bp-sym.h> and <bp-asm.h>.
26219 (strncmp): Don't use BP_SYM.
26220 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26221 <bp-sym.h> and <bp-asm.h>.
26222 (__strnlen): Don't use BP_SYM.
26223 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26225 (__mpn_rshift): Don't use BP_SYM.
26226 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26227 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26228 <bp-sym.h> and <bp-asm.h>.
26229 (__sigsetjmp): Don't use BP_SYM.
26230 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26231 (L(start_addresses)): Don't use BP_SYM.
26232 (_start): Likewise.
26233 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26235 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26236 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26237 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26238 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26240 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26241 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26242 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26243 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26245 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26247 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26248 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26250 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26252 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26253 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26254 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26256 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26258 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26260 (strncmp): Don't use BP_SYM,
26261 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26263 (__mpn_sub_n): Don't use BP_SYM.
26264 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26265 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26267 (__mpn_submul_1): Don't use BP_SYM.
26268 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26270 <bp-sym.h> and <bp-asm.h>.
26271 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26273 <bp-sym.h> and <bp-asm.h>.
26274 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26277 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26280 Use ZK to minimize writes to Z.
26281 (sub_magnitudes): Simplify code a bit.
26282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26283 Use ZK to minimize writes to Z.
26284 (sub_magnitudes): Simplify code a bit.
26286 2013-02-27 Roland McGrath <roland@hack.frob.com>
26288 * csu/gmon-start.c: Add special exception to license text.
26290 2013-02-27 Richard Henderson <rth@redhat.com>
26292 * scripts/config.guess: Update from config.git.
26293 * scripts/config.sub: Likewise.
26295 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26297 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26299 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26301 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26303 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26305 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26307 2013-02-26 Roland McGrath <roland@hack.frob.com>
26309 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26310 [$(build-shared = yes].
26312 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26314 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26315 (__mul): Reduce iterations for calculating mantissa.
26317 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26319 (__mpranred): Likewise.
26322 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26323 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26325 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26327 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26328 Define __attribute__.
26330 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26332 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26334 * posix/regex_internal.h (__attribute): Remove.
26335 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26336 (re_string_context_at): Likewise.
26337 (bitset_not): Use __attribute__ and mark function as possibly
26339 (bitset_merge): Likewise.
26340 (bitset_mask): Likewise.
26341 (re_string_char_size_at): Likewise.
26342 (re_string_wchar_at): Likewise.
26343 (re_string_elem_size_at): Likewise.
26345 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26347 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26351 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26355 (denorm): Likewise.
26356 (__dbl_mp): Likewise.
26357 (add_magnitudes): Likewise.
26358 (sub_magnitudes): Likewise.
26362 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26365 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26368 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26372 up changes with default code.
26373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26376 2013-02-24 Allan McRae <allan@archlinux.org>
26378 * manual/socket.texi (The Internet Namespace): Order menu items
26379 to match that in the file.
26381 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26382 node listing of the info page menu.
26384 2013-02-21 Joseph Myers <joseph@codesourcery.com>
26387 * sysdeps/i386/bp-asm.h: Remove file.
26388 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26389 (PARMS): Do not use macros from bp-asm.h.
26393 (__mpn_add_n): Do not use BP_SYM
26394 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26396 (PARMS): Do not use macros from bp-asm.h.
26399 (__mpn_addmul_1): Do not use BP_SYM
26400 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26402 (PARMS): Do not use macros from bp-asm.h.
26403 (SIGMSK): Likewise.
26404 (_setjmp): Likewise. Do not use BP_SYM.
26405 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26407 (PARMS): Do not use macros from bp-asm.h.
26408 (SIGMSK): Likewise.
26409 (setjmp): Likewise. Do not use BP_SYM.
26410 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26412 (PARMS): Do not use macros from bp-asm.h.
26413 (__frexp): Do not use BP_SYM.
26415 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26417 (PARMS): Do not use macros from bp-asm.h.
26418 (__frexpf): Do not use BP_SYM.
26419 (frexpf): Likewise.
26420 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26422 (PARMS): Do not use macros from bp-asm.h.
26423 (__frexpl): Do not use BP_SYM.
26424 (frexpl): Likewise.
26425 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26427 (PARMS): Do not use macros from bp-asm.h.
26428 (__remquo): Do not use BP_SYM.
26429 (remquo): Likewise.
26430 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26432 (PARMS): Do not use macros from bp-asm.h.
26433 (__remquof): Do not use BP_SYM.
26434 (remquof): Likewise.
26435 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26437 (PARMS): Do not use macros from bp-asm.h.
26438 (__remquol): Do not use BP_SYM.
26439 (remquol): Likewise.
26440 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26442 (PARMS): Do not use macros from bp-asm.h.
26445 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26446 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26448 (PARMS): Do not use macros from bp-asm.h.
26449 (strlen): Do not use BP_SYM.
26450 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26452 (PARMS): Do not use macros from bp-asm.h.
26456 (__mpn_add_n): Do not use BP_SYM.
26457 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26459 (PARMS): Do not use macros from bp-asm.h.
26462 (__mpn_addmul_1): Do not use BP_SYM.
26463 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26466 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26468 (PARMS): Do not use macros from bp-asm.h.
26471 (__mpn_lshift): Do not use BP_SYM.
26472 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26474 (PARMS): Do not use macros from bp-asm.h.
26478 (memcpy): Likewise. Do not use BP_SYM.
26479 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26480 libc_hidden_def and weak_alias.
26481 (mempcpy): Do not use BP_SYM in weak_alias.
26482 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26484 (PARMS): Do not use macros from bp-asm.h.
26487 [!BZERO_P] (CHR): Likewise.
26488 (memset): Likewise. Do not use BP_SYM.
26489 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26491 (PARMS): Do not use macros from bp-asm.h.
26494 (__mpn_mul_1): Do not use BP_SYM.
26495 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26497 (PARMS): Do not use macros from bp-asm.h.
26500 (__mpn_rshift): Do not use BP_SYM.
26501 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26503 (PARMS): Do not use macros from bp-asm.h.
26506 (strchr): Likewise. Do not use BP_SYM.
26507 (index): Do not use BP_SYM in weak_alias.
26508 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26510 (PARMS): Do not use macros from bp-asm.h.
26513 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26514 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26516 (PARMS): Do not use macros from bp-asm.h.
26517 (strlen): Do not use BP_SYM.
26518 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26520 (PARMS): Do not use macros from bp-asm.h.
26524 (__mpn_sub_n): Do not use BP_SYM.
26525 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26527 (PARMS): Do not use macros from bp-asm.h.
26530 (__mpn_submul_1): Do not use BP_SYM.
26531 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26533 (PARMS): Do not use macros from bp-asm.h.
26537 (__mpn_add_n): Do not use BP_SYM.
26538 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26541 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26543 (PARMS): Do not use macros from bp-asm.h.
26546 (memcmp): Do not use BP_SYM.
26547 (bcmp): Do not use BP_SYM in weak_alias.
26548 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26550 (PARMS): Do not use macros from bp-asm.h.
26554 (memcpy): Likewise. Do not use BP_SYM.
26555 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26557 (PARMS): Do not use macros from bp-asm.h.
26561 (memmove): Likewise. Do not use BP_SYM.
26562 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26564 (PARMS): Do not use macros from bp-asm.h.
26568 (__mempcpy): Likewise. Do not use BP_SYM.
26569 (mempcpy): Do not use BP_SYM in weak_alias.
26570 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26572 (PARMS): Do not use macros from bp-asm.h.
26575 [!BZERO_P] (CHR): Likewise.
26576 (memset): Likewise. Do not use BP_SYM.
26577 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26579 (PARMS): Do not use macros from bp-asm.h.
26581 (strcmp): Do not use BP_SYM.
26582 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26584 (PARMS): Do not use macros from bp-asm.h.
26587 [USE_AS_STRTOK_R] (SAVE): Likewise.
26588 (FUNCTION): Likewise. Do not use BP_SYM.
26589 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26591 (strtok_r): Likewise.
26592 (__GI___strtok_r): Likewise.
26593 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26594 (PARMS): Do not use macros from bp-asm.h.
26597 (__mpn_lshift): Do not use BP_SYM.
26598 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26599 (PARMS): Do not use macros from bp-asm.h.
26602 (__memchr): Do not use BP_SYM.
26603 (memchr): Do not use BP_SYM in weak_alias.
26604 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26605 (PARMS): Do not use macros from bp-asm.h.
26608 (memcmp): Do not use BP_SYM.
26609 (bcmp): Do not use BP_SYM in weak_alias.
26610 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26611 (PARMS): Do not use macros from bp-asm.h.
26614 (__mpn_mul_1): Do not use BP_SYM.
26615 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26617 (PARMS): Do not use macros from bp-asm.h.
26620 (__rawmemchr): Do not use BP_SYM.
26621 (rawmemchr): Do not use BP_SYM in weak_alias.
26622 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26623 (PARMS): Do not use macros from bp-asm.h.
26626 (__mpn_rshift): Do not use BP_SYM.
26627 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26628 (PARMS): Do not use macros from bp-asm.h.
26629 (SIGMSK): Likewise.
26630 (__sigsetjmp): Likewise. Do not use BP_SYM.
26631 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26632 (_start): Do not use BP_SYM.
26633 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26634 (PARMS): Do not use macros from bp-asm.h.
26637 (__stpcpy): Likewise. Do not use BP_SYM.
26638 (stpcpy): Do not use BP_SYM in weak_alias.
26639 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26641 (PARMS): Do not use macros from bp-asm.h.
26645 (__stpncpy): Likewise. Do not use BP_SYM.
26646 (stpncpy): Do not use BP_SYM in weak_alias.
26647 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26648 (PARMS): Do not use macros from bp-asm.h.
26651 (strchr): Likewise. Do not use BP_SYM.
26652 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26654 (PARMS): Do not use macros from bp-asm.h.
26657 (__strchrnul): Likewise. Do not use BP_SYM.
26658 (strchrnul): Do not use BP_SYM in weak_alias.
26659 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26661 (PARMS): Do not use macros from bp-asm.h.
26663 (strcspn): Do not use BP_SYM.
26664 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26666 (PARMS): Do not use macros from bp-asm.h.
26669 (strpbrk): Likewise. Do not use BP_SYM.
26670 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26672 (PARMS): Do not use macros from bp-asm.h.
26675 (strrchr): Likewise. Do not use BP_SYM.
26676 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26677 (PARMS): Do not use macros from bp-asm.h.
26679 (strspn): Do not use BP_SYM.
26680 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26681 (PARMS): Do not use macros from bp-asm.h.
26685 (FUNCTION): Likewise. Do not use BP_SYM.
26686 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26688 (strtok_r): Likewise.
26689 (__GI___strtok_r): Likewise.
26690 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26691 (PARMS): Do not use macros from bp-asm.h.
26695 (__mpn_sub_n): Do not use BP_SYM.
26696 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26698 (PARMS): Do not use macros from bp-asm.h.
26701 (__mpn_submul_1): Do not use BP_SYM.
26702 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26704 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26706 (PARMS): Do not use macros from bp-asm.h.
26711 (__clone): Do not use BP_SYM.
26712 (clone): Do not use BP_SYM in weak_alias.
26713 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26715 (PARMS): Do not use macros from bp-asm.h.
26717 (__mmap64): Do not use BP_SYM.
26718 (mmap64): Do not use BP_SYM in weak_alias.
26719 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26720 <bp-sym.h> and <bp-asm.h>.
26721 (PARMS): Do not use macros from bp-asm.h.
26722 (__posix_fadvise64_l64): Do not use BP_SYM.
26723 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26724 (PARMS): Do not use macros from bp-asm.h.
26726 (semtimedop): Do not use BP_SYM.
26727 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26730 2013-02-21 Allan McRae <allan@archlinux.org>
26732 * manual/message.texi (Charset conversion in gettext):
26733 Move @end statement to beginning of line.
26735 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26742 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26743 (denorm): Likewise.
26744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26747 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26749 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26750 tail-call to the resolved function if pltexit isn't needed.
26752 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26755 or Y being zero as being unlikely.
26756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26759 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26761 * manual/nss.texi (System Databases and Name Service Switch):
26762 Remove frobnicate @pxref.
26764 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26766 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26767 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26769 2013-02-20 Petr Machata <pmachata@redhat.com>
26771 * elf/elf.h (R_ARM_TARGET1): New macro.
26772 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26773 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26774 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26775 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26776 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26777 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26778 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26779 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26780 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26781 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26782 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26783 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26784 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26785 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26786 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26787 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26788 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26789 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26790 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26791 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26792 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26793 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26794 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26795 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26796 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26797 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26798 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26799 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26800 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26801 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26802 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26803 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26804 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26805 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26806 (R_ARM_THM_GOT_BREL12): Likewise.
26807 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26808 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26809 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26810 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26811 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26812 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26813 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26814 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26815 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26817 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26819 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26820 __attribute_used__ to __attribute__ ((unused)).
26822 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26824 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26827 comment formatting.
26828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26830 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26833 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26835 (ENTER): Remove both macro definitions.
26837 (CHECK_BOUNDS_LOW): Likewise.
26838 (CHECK_BOUNDS_HIGH): Likewise.
26839 (CHECK_BOUNDS_BOTH): Likewise.
26840 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26841 (RETURN_BOUNDED_POINTER): Likewise.
26842 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26843 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26844 (POP_ERRNO_LOCATION_RETURN): Likewise.
26845 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26846 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26847 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26849 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26850 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26851 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26852 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26853 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26854 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26855 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26856 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26857 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26858 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26859 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26860 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26861 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26862 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26864 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26865 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26867 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26868 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26869 * sysdeps/i386/i586/memset.S (memset): Likewise.
26870 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26871 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26872 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26874 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26875 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26876 Change uses of L(2) to L(out).
26877 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26878 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26879 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26880 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26881 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26883 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26884 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26886 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26887 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26888 (RETURN): Do not use macro LEAVE.
26889 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26890 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26891 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26892 * sysdeps/i386/i686/memset.S (memset): Likewise.
26893 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26894 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26895 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26896 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26898 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26899 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26900 L(1_2) and L(1_3) into L(1).
26901 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26902 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26903 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26904 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26905 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26906 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26907 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26908 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26909 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26911 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26912 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26913 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26914 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26915 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26916 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26917 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26918 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26919 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26920 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26921 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26922 * sysdeps/i386/strspn.S (strspn): Likewise.
26923 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26925 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26926 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26927 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26928 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26929 L(1_3) into L(1_1).
26930 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26931 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26932 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26934 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26936 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26938 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26941 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26943 * math/atest-exp.c (exp_mpn): Remove ROUND.
26944 * math/atest-exp2.c (exp_mpn): Likewise.
26945 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26947 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26948 * stdlib/tst-tls-atexit-lib.c: Likewise.
26949 * stdlib/tst-tls-atexit.c: Likewise.
26951 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26953 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26954 and __attribute_alloc_size__.
26956 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26958 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26959 __attribute_alloc_size__.
26960 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26961 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26963 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26965 * include/programs/xmalloc.h: New file.
26966 * catgets/gencat.c: Include it.
26967 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26968 * elf/pldd.c: Likewise.
26969 * iconv/iconv_charmap.c: Likewise.
26970 * iconv/iconvconfig.c: Likewise.
26971 * iconv/strtab.c: Likewise.
26972 * locale/programs/locale.c: Likewise.
26973 * locale/programs/localedef.h: Likewise.
26974 * locale/programs/simple-hash.c: Likewise.
26975 * nscd/nscd.h: Likewise.
26976 * nss/makedb.c: Likewise.
26977 * sysdeps/generic/ldconfig.h: Likewise.
26979 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26981 * Versions.def: Add GLIBC_2.18.
26982 * include/link.h (struct link_map): New member l_tls_dtor_count.
26983 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26984 (__call_tls_dtors): Likewise.
26985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26986 __cxa_thread_atexit_impl.
26987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27003 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27004 (tests): Add test case tst-tls-atexit.
27005 (modules-names): Add shared library for tst-tls-atexit.
27006 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27007 (GLIBC_PRIVATE): Add __call_tls_dtors.
27008 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27010 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27011 * stdlib/tst-tls-atexit.c: New test case.
27012 * stdlib/tst-tls-atexit-lib.c: New test case.
27014 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27016 * elf/Versions (ld): Add _dl_find_dso_for_object.
27017 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27018 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27019 (dl_open_worker): Use _dl_find_dso_for_object.
27020 * elf/dl-sym.c (do_sym): Likewise.
27021 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27023 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27025 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27026 Syntactic changes only.
27027 (_dl_runtime_profile): Do a tail-call to the resolved function.
27029 2013-02-17 Joseph Myers <joseph@codesourcery.com>
27032 * sysdeps/x86_64/bp-asm.h: Remove file.
27033 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27034 <bp-sym.h> and <bp-asm.h>.
27035 (__clone): Do not use BP_SYM.
27036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27037 <bp-sym.h> and <bp-asm.h>.
27038 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27039 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27041 (_setjmp): Do not use BP_SYM.
27042 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27044 (setjmp): Do not use BP_SYM.
27045 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27047 (mempcpy): Do not use BP_SYM in weak_alias.
27048 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27050 (strchr): Do not use BP_SYM.
27051 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27053 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27054 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27055 (_start): Do not use BP_SYM.
27056 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27058 (strcat): Do not use BP_SYM.
27059 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27061 (STRCMP): Do not use BP_SYM.
27062 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27064 (STRCPY): Do not use BP_SYM.
27065 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27067 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27069 (FUNCTION): Do not use BP_SYM.
27070 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27072 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27074 2013-02-17 Andreas Jaeger <aj@suse.de>
27076 * time/Versions: Sort entries.
27077 * string/Versions: Likewise.
27078 * resolv/Versions: Likewise.
27079 * posix/Versions: Likewise.
27080 * iconv/Versions: Likewise.
27081 * elf/Versions: Likewise.
27082 * wcsmbs/Versions: Likewise.
27084 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27086 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27087 loop termination condition.
27089 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27090 variable to calculate EZ.
27093 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27094 the lower precision input.
27096 2013-02-15 Joseph Myers <joseph@codesourcery.com>
27099 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27100 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27101 (run-via-rtld-prefix): Do not handle %-bp tests.
27102 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27103 (all-object-suffixes): Remove .ob.
27104 (bppfx): Remove variable.
27105 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27106 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27107 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27108 [$(build-bounded) = yes] (libtype.ob): Likewise.
27109 * Makerules (elide-routines.ob): Remove variable.
27110 (do-tests-clean): Do not handle *-bp.out.
27111 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27112 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27113 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27114 (tests): Do not include $(tests-bp.out).
27115 (xtests): Do not include $(xtests-bp.out).
27116 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27117 [$(build-bounded) = yes] ($(addprefix
27118 $(objpfx),$(binaries-bounded))): Remove rule.
27119 ($(objpfx)%-bp.out): Remove rule.
27120 * config.make.in (build-bounded): Remove variable.
27121 * crypt/Makefile [$(build-bounded) = yes]
27122 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27123 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27124 append to variable.
27125 [$(build-bounded) = yes] (install-lib): Likewise.
27126 [$(build-bounded) = yes] (generated): Likewise.
27127 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27129 * intl/Makefile [$(build-bounded) = yes]
27130 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27131 * math/Makefile [$(build-bounded) = yes]
27132 ($(tests:%=$(objpfx)%-bp): Likewise.
27133 * misc/Makefile [$(build-bounded) = yes]
27134 ($(objpfx)tst-tsearch-bp): Likewise.
27135 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27136 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27138 * string/Makefile (o-objects.ob): Remove variable.
27139 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27140 (CFLAGS-.ob): Remove variable.
27141 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27142 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27143 both definitions of variable.
27144 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27145 (ASFLAGS-.ob): Remove variable.
27147 2013-02-14 Joseph Myers <joseph@codesourcery.com>
27150 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27151 Remove __BOUNDED_POINTERS__ from condition.
27152 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27153 * string/bits/string2.h [!__NO_STRING_INLINES &&
27154 !__BOUNDED_POINTERS__]: Likewise.
27155 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27157 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27158 Remove conditional code.
27159 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27160 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27161 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27165 * csu/libc-start.c: Do not include <bp-sym.h>.
27166 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27167 * elf/dl-open.c: Do not include <bp-sym.h>.
27168 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27169 * math/fegetenv.c: Do not include <bp-sym.h>.
27170 (fegetenv): Do not use BP_SYM in versioned symbols.
27171 * nptl/sysdeps/pthread/bits/libc-lockP.h
27172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27175 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27177 (__pthread_mutex_destroy): Likewise.
27178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27179 (__pthread_mutex_lock): Likewise.
27180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27181 (__pthread_mutex_trylock): Likewise.
27182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27183 (__pthread_mutex_unlock): Likewise.
27184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27185 (__pthread_mutexattr_init): Likewise.
27186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27187 (__pthread_mutexattr_destroy): Likewise.
27188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27189 (__pthread_mutexattr_settype): Likewise.
27190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27191 (__pthread_rwlock_init): Likewise.
27192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27193 (__pthread_rwlock_destroy): Likewise.
27194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27195 (__pthread_rwlock_rdlock): Likewise.
27196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27197 (__pthread_rwlock_tryrdlock): Likewise.
27198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27199 (__pthread_rwlock_wrlock): Likewise.
27200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27201 (__pthread_rwlock_trywrlock): Likewise.
27202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27203 (__pthread_rwlock_unlock): Likewise.
27204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27205 (__pthread_key_create): Likewise.
27206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27207 (__pthread_setspecific): Likewise.
27208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27209 (__pthread_getspecific): Likewise.
27210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27213 (_pthread_cleanup_push_defer): Likewise.
27214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27215 (_pthread_cleanup_pop_restore): Likewise.
27216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27217 (pthread_setcancelstate): Likewise.
27218 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27220 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27221 (memchr): Do not use BP_SYM in weak_alias.
27222 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27223 (fegetenv): Do not use BP_SYM in versioned symbols.
27224 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27225 (fesetenv): Do not use BP_SYM in versioned symbols.
27226 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27227 (feupdateenv): Do not use BP_SYM in versioned symbols.
27228 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27229 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27230 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27231 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27232 (open64): Do not use BP_SYM in weak_alias.
27233 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27234 (fegetenv): Do not use BP_SYM in versioned symbols.
27235 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27236 (fesetenv): Do not use BP_SYM in versioned symbols.
27237 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27238 (feupdateenv): Do not use BP_SYM in versioned symbols.
27239 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27240 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27241 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27242 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27243 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27244 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27245 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27247 (__libc_start_main): Do not use BP_SYM.
27249 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27252 redundant return line.
27254 (denorm): Likewise.
27255 (dbl_mp): Likewise.
27256 (sub_magnitudes): Likewise.
27262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27264 (denorm): Likewise.
27265 (dbl_mp): Likewise.
27266 (sub_magnitudes): Likewise.
27273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27275 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27276 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27279 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27280 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27282 of __mul for squares.
27283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27287 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27288 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27290 2013-02-13 Joseph Myers <joseph@codesourcery.com>
27293 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27295 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27296 prototype or function definition. Rename ubp_* variables and
27297 parameters. Remove argv definitions conditional on
27298 [__BOUNDED_POINTERS__].
27299 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27300 * elf/dl-runtime.c (_dl_fixup): Likewise.
27301 * include/set-hooks.h (RUN_HOOK): Likewise.
27302 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27304 * string/strcpy.c (strcpy): Do not use __unbounded.
27305 * sysdeps/generic/frame.h (struct layout): Likewise.
27306 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27307 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27308 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27309 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27310 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27311 (__backtrace): Likewise.
27312 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27314 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27315 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27316 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27318 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27319 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27320 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27321 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27322 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27323 Do not use __unbounded.
27324 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27325 Rename __unboundedrlimits parameter to rlimits in prototype.
27326 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27327 Do not use __unbounded.
27328 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27329 not use __ptrvalue.
27330 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27331 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27332 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27333 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27334 __ptrvalue or __unbounded.
27335 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27336 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27338 (__new_msgctl): Do not use __ptrvalue.
27339 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27341 (__libc_msgrcv): Do not use __ptrvalue.
27342 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27343 startup_info): Do not use __unbounded.
27344 (__libc_start_main): Likewise. Rename ubp_* variables and
27345 parameters. Remove argv definitions conditional on
27346 [__BOUNDED_POINTERS__].
27347 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27349 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27351 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27353 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27355 (__new_shmctl): Do not use __ptrvalue.
27356 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27357 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27359 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27360 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27361 (__libc_sigaction): Likewise.
27362 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27363 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27365 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27367 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
27369 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27371 * string/mempcpy.c: Implement by calling memcpy.
27373 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27380 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27381 values in the mantissa.
27383 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27384 minimize writes to Z.
27385 (sub_magnitudes): Simplify code a bit.
27387 2013-02-12 Roland McGrath <roland@hack.frob.com>
27389 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27390 from the message. The linker prefixes all warnings with that already.
27392 2013-02-12 Andreas Schwab <schwab@suse.de>
27395 * posix/regexec.c (extend_buffers): Add parameter min_len.
27396 (check_matching): Pass minimum needed length.
27397 (clean_state_log_if_needed): Likewise.
27398 (get_subexp): Likewise.
27399 * posix/Makefile (tests): Add bug-regex34.
27400 (bug-regex34-ENV): Define.
27401 * posix/bug-regex34.c: New file.
27404 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27405 elements compare against the byte sequence of it, not its name.
27406 * posix/Makefile (tests): Add bug-regex35.
27407 (bug-regex35-ENV): Define.
27408 * posix/bug-regex35.c: New file.
27410 2013-02-11 Tom de Vries <tom@codesourcery.com>
27412 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27414 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27415 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27416 (CHECK_EOL): Add undef.
27418 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
27420 * bits/stdlib-bsearch.h: New file.
27421 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27422 * stdlib/stdlib.h: Likewise.
27424 2013-02-11 Roland McGrath <roland@hack.frob.com>
27426 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27427 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27429 * manual/search.texi (Array Search Function): Add missing const in
27431 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27432 declaration to use rlim_t.
27433 (Basic Scheduling Functions): Remove erroneous const from
27434 sched_getparam prototype. Remove erroneous * from
27435 sched_get_priority_max and sched_get_priority_min prototypes.
27436 (Resource Usage): Fix summary @comment on vtimes to refer to
27437 sys/vtimes.h rather than vtimes.h.
27438 Add missing *s in vtimes prototype.
27439 (Limits on Resources): Fix ulimit prototype to return long int.
27440 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27441 prototypes to use long int rather than double.
27442 (BSD Random): Fix initstate and setstate to use char *, not void *.
27443 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27444 prototype to make second argument 'struct aiocb64 *const[]'.
27445 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27446 (Status of AIO Operations): Remove erroneous const in aio_return and
27447 aio_return64 prototypes.
27448 (Synchronizing I/O): Fix sync prototype to return void.
27449 * manual/startup.texi (Suboptions): Remove an erroneous const in
27450 getsubopt prototype.
27451 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27452 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27453 use size_t rather than int.
27454 (Scanning All Users): Likewise for getpwent_r.
27455 (Setting Groups): Add missing const to setgroups prototype.
27456 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27457 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27458 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27459 'const void *' rather than 'const char *'.
27460 (Host Address Functions): Likewise for inet_ntop.
27461 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27462 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27463 ssize_t for return value.
27464 (Sending Data): Likewise for send, sendto, sendmsg.
27465 (Socket Option Functions): Add a missing const in setsockopt prototype.
27466 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27467 use wchar_t for the argument.
27468 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27469 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27471 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27472 double/float/long double for second argument.
27473 Fix return types of significand, significandf, significandl.
27474 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27475 argument in fchmod prototype.
27476 (File Owner): Use uid_t and gid_t in fchown prototype.
27477 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27478 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27479 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27480 use 'const struct dirent **' as argument types to CMP function pointer
27482 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27483 (File Times): Fix summary magic @comment for struct utimbuf and utime
27484 to refer to utime.h, not time.h.
27485 * manual/string.texi (Argz Functions): Add missing const in
27486 argz_extract and argz_next prototypes.
27487 (Finding Tokens in a String): Likewise for basename.
27488 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27489 (Copying and Concatenation): Fix typo in wmemmove prototype.
27490 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27491 (Signal Stack): Remove erroneous const in sigstack prototype.
27492 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27494 (Simple Calendar Time): Likewise for stime.
27495 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27497 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27498 say sys/sysctl.h instead.
27499 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27500 and vsyslog prototypes.
27502 2013-02-11 Tom de Vries <tom@codesourcery.com>
27504 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27507 2013-02-11 Roland McGrath <roland@hack.frob.com>
27509 * misc/sys/mman.h: Fix typo in mremap comment.
27511 2013-02-08 Roland McGrath <roland@hack.frob.com>
27513 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27514 the '\0' terminator.
27516 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27519 * debug/segfault.c: Don't include <bp-checks.h>.
27520 * sysdeps/generic/bp-checks.h: Remove file.
27521 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27522 (__GETDENTS): Don't use CHECK_N.
27523 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27524 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27525 (__getgroups): Don't use CHECK_N.
27526 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27527 (setgroups): Don't use CHECK_N.
27528 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27529 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27530 (__libc_msgrcv): Don't use CHECK_N.
27531 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27532 (__libc_msgsnd): Don't use CHECK_N.
27533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27535 (__libc_pread): Don't use CHECK_N.
27536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27537 include <bp-checks.h>.
27538 (__libc_pread64): Don't use CHECK_N.
27539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27540 include <bp-checks.h>.
27541 (__libc_pwrite): Don't use CHECK_N.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27543 include <bp-checks.h>.
27544 (__libc_pwrite64): Don't use CHECK_N.
27545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27547 (__libc_pread): Don't use CHECK_N.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27549 include <bp-checks.h>.
27550 (__libc_pread64): Don't use CHECK_N.
27551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27552 include <bp-checks.h>.
27553 (__libc_pwrite): Don't use CHECK_N.
27554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27555 include <bp-checks.h>.
27556 (__libc_pwrite64): Don't use CHECK_N.
27557 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27558 (do_pread): Don't use CHECK_N.
27559 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27560 (do_pread64): Don't use CHECK_N.
27561 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27562 (do_pwrite): Don't use CHECK_N.
27563 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27564 (do_pwrite64): Don't use CHECK_N.
27565 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27566 (__libc_readv): Don't use CHECK_N.
27567 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27568 (semop): Don't use CHECK_N.
27569 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27571 (semtimedop): Don't use CHECK_N.
27572 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27573 (__libc_pread): Don't use CHECK_N.
27574 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27576 (__libc_pread64): Don't use CHECK_N.
27577 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27579 (__libc_pwrite): Don't use CHECK_N.
27580 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27582 (__libc_pwrite64): Don't use CHECK_N.
27583 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27585 (__libc_msgrcv): Don't use CHECK_N.
27586 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27587 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27588 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27589 (__libc_writev): Don't use CHECK_N.
27591 2013-02-08 Roland McGrath <roland@hack.frob.com>
27593 * string/strcpy.c: Removed unused variable.
27595 * Makeconfig (+sysdep-includes): Define with := rather than =.
27596 Use an existing include/ subdir of each sysdeps dir before it.
27598 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27600 * nscd/connection.c (register_traced_file): Comment function.
27601 [HAVE_INOTIFY] (union __inev): Define.
27602 [HAVE_INOTIFY] (inotify_check_files): New function.
27603 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27604 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27606 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27608 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27610 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27611 loaded if not already and that a failure is permanent.
27613 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27616 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27617 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27619 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27622 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27623 (CHECK_1_NULL_OK): Likewise.
27624 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27625 (__fxstat): Do not use CHECK_1.
27626 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27628 (___fxstat64): Do not use CHECK_1.
27629 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27631 (__fxstatat): Do not use CHECK_1.
27632 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27634 (__fxstatat64): Do not use CHECK_1.
27635 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27637 (__fxstat): Do not use CHECK_1.
27638 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27640 (__fxstatat): Do not use CHECK_1.
27641 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27643 (__getresgid): Do not use CHECK_1.
27644 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27646 (__getresuid): Do not use CHECK_1.
27647 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27649 (__lxstat): Do not use CHECK_1.
27650 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27652 (__old_msgctl): Do not use CHECK_1.
27653 (__new_msgctl): Likewise.
27654 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27656 (__new_setrlimit): Do not use CHECK_1.
27657 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27659 (__old_shmctl): Do not use CHECK_1.
27660 (__new_shmctl): Likewise.
27661 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27663 (__xstat): Do not use CHECK_1.
27664 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27665 (__lxstat): Do not use CHECK_1.
27666 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27668 (___lxstat64): Do not use CHECK_1.
27669 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27670 (__old_msgctl): Do not use CHECK_1.
27671 (__new_msgctl): Likewise.
27672 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27674 (__gettimeofday): Do not use CHECK_1.
27675 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27676 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27677 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27679 (__gettimeofday): Do not use CHECK_1.
27680 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27681 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27682 (__new_shmctl): Do not use CHECK_1.
27683 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27685 (do_sigtimedwait): Do not use CHECK_1.
27686 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27688 (do_sigwaitinfo): Do not use CHECK_1.
27689 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27691 (msgctl): Do not use CHECK_1.
27692 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27694 (shmctl): Do not use CHECK_1.
27695 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27696 (ustat): Do not use CHECK_1.
27697 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27699 (__fxstat): Do not use CHECK_1.
27700 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27702 (__fxstatat): Do not use CHECK_1.
27703 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27705 (__lxstat): Do not use CHECK_1.
27706 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27708 (__xstat): Do not use CHECK_1.
27709 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27710 (__xstat): Do not use CHECK_1.
27711 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27712 (___xstat64): Do not use CHECK_1.
27715 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27717 (CHECK_BOUNDS_HIGH): Likewise.
27718 * string/strcpy.c: Do not include <bp-checks.h>.
27719 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27721 2013-02-07 Roland McGrath <roland@hack.frob.com>
27723 * nscd/nscd-client.h (__nscd_drop_map_ref):
27724 Add __attribute__ ((unused)).
27725 * nis/nss-nisplus.h (niserr2nss): Likewise.
27727 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27728 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27730 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27731 Remove inline keyword.
27732 * include/rounding-mode.h (round_away): Likewise.
27733 * libio/wfileops.c (adjust_wide_data): Likewise.
27734 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27735 (__m128i_strloadu_tolower): Likewise.
27736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27737 (__m128i_strloadu_tolower): Likewise.
27738 * time/mktime.c (ydhms_diff): Likewise.
27739 * locale/elem-hash.h (elem_hash): Likewise.
27740 * locale/setlocale.c (setdata): Likewise.
27741 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27742 (re_string_wchar_at): Likewise.
27743 (bitset_not, bitset_merge, bitset_mask): Likewise.
27744 [!(__GNUC__ > 3)] (inline): Remove macro.
27745 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27746 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27747 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27748 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27749 * string/memcmp.c (memcmp_bytes): Likewise.
27750 * locale/programs/locarchive.c (compute_hashval): Likewise.
27751 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27752 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27753 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27754 * nss/getent.c (print_rpc, print_protocols): Likewise.
27755 (print_passwd, print_group, print_aliases): Likewise.
27756 * nis/nss-nisplus.h (niserr2nss): Likewise.
27757 * nscd/connections.c (restart_p): Likewise.
27758 Change return type to bool.
27760 2013-02-05 Roland McGrath <roland@hack.frob.com>
27762 * Makeconfig (all-Depend-files): Add existing
27763 $(sorted-subdirs:=/Depend) files.
27764 (all-subdirs): Remove nss.
27765 * sysdeps/unix/inet/Subdirs: Add it here instead.
27766 * hesiod/Depend: New file.
27768 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27769 instead of calling alloca.
27771 * io/lseek.c (__lseek): Rename to __libc_lseek.
27772 Define __lseek as an alias.
27774 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27776 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27778 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27779 else clause and remove check for non-standard endianness.
27781 2013-02-04 David S. Miller <davem@davemloft.net>
27783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27785 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27788 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27789 (__ubp_memchr): Remove prototype.
27790 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27791 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27792 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27793 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27794 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27796 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27797 (__ubp_memchr): Likewise.
27798 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27799 (__ubp_memchr): Likewise.
27800 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27801 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27802 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27803 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27805 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27806 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27807 (__getcwd): Do not use CHECK_STRING.
27808 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27810 (__real_chown): Do not use CHECK_STRING.
27811 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27813 (fchownat): Do not use CHECK_STRING.
27814 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27816 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27818 (__lchown): Do not use CHECK_STRING.
27819 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27820 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27821 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27822 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27824 include <bp-checks.h>.
27825 (truncate64): Do not use CHECK_STRING.
27826 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27828 (__real_chown): Do not use CHECK_STRING.
27829 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27831 (__lchown): Do not use CHECK_STRING.
27832 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27834 (__chown): Do not use CHECK_STRING.
27835 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27837 (truncate64): Do not use CHECK_STRING.
27838 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27840 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27841 (__xmknod): Do not use CHECK_STRING.
27842 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27844 (__xmknodat): Do not use CHECK_STRING.
27845 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27846 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27848 2013-02-04 Andreas Schwab <schwab@suse.de>
27851 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27852 * include/netdb.h: Likewise for h_errno.
27853 * elf/tst-stackguard1.c: Include <tls.h>.
27855 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27857 * elf/link.h (struct link_map): Extend the l_addr comment.
27858 * include/link.h (struct link_map): Likewise.
27860 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27863 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27864 (BOUNDED_1): Remove macro.
27865 * debug/backtrace.c: Don't include <bp-checks.h>.
27866 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27867 (__backtrace): Likewise.
27868 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27870 (__backtrace): Don't use BOUNDED_1.
27871 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27873 (__backtrace): Don't use BOUNDED_1.
27874 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27875 (__backtrace): Don't use BOUNDED_1.
27876 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27877 (shmat): Don't use BOUNDED_N.
27879 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27882 * sysdeps/generic/bp-start.h: Remove file.
27883 * csu/libc-start.c: Don't include <bp-start.h>.
27884 (LIBC_START_MAIN): Set up __environ directly instead of using
27885 INIT_ARGV_and_ENVIRON.
27886 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27890 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27892 (CHECK_FCNTL): Likewise.
27893 (CHECK_N_PAGES): Likewise.
27896 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27898 (CHECK_SIGSET_NULL_OK): Likewise.
27899 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27901 (sigpending): Don't use CHECK_SIGSET.
27902 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27904 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27905 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27907 (do_sigsuspend): Don't use CHECK_SIGSET.
27908 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27910 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27911 (do_sigwait): Don't use CHECK_SIGSET.
27912 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27915 include <bp-checks.h>.
27916 (sigpending): Don't use CHECK_SIGSET.
27917 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27918 include <bp-checks.h>.
27919 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27920 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27922 (sigpending): Don't use CHECK_SIGSET.
27923 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27925 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27928 * sysdeps/generic/bp-semctl.h: Remove file.
27929 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27930 <bp-checks.h> and <bp-semctl.h>.
27931 (__old_semctl): Don't use CHECK_SEMCTL.
27932 (__new_semctl): Likewise.
27933 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27935 (__old_semctl): Don't use CHECK_SEMCTL.
27936 (__new_semctl): Likewise.
27937 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27938 <bp-checks.h> and <bp-semctl.h>.
27939 (__old_semctl): Don't use CHECK_SEMCTL.
27940 (__new_semctl): Likewise.
27941 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27942 <bp-checks.h> and <bp-semctl.h>.
27943 (semctl): Don't use CHECK_SEMCTL.
27946 * Makerules (elide-bp-thunks): Remove variable.
27947 (elide-routines.oS): Don't use $(elide-bp-thunks).
27948 (elide-routines.os): Likewise.
27949 (elide-routines.o): Likewise.
27950 (elide-routines.op): Likewise.
27951 (elide-routines.og): Likewise.
27952 (objects): Don't use $(bp-thunks).
27953 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27955 (common-generated): Do not add s-proto-bp.d.
27956 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27959 Do not generate makefile rules for bounded-pointer thunks.
27960 * sysdeps/generic/bp-thunks.h: Remove file.
27961 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27962 * sysdeps/unix/s-proto-bp.S: Likewise.
27965 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27966 parts of result separately when argument is not close to line from
27967 -i to i and one part of argument is small.
27968 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27969 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27970 * math/libm-test.inc (cacos_test): Add more tests.
27971 (casin_test): Likewise.
27972 (casinh_test): Likewise.
27973 * sysdeps/i386/fpu/libm-test-ulps: Update.
27974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27976 2013-01-31 David S. Miller <davem@davemloft.net>
27978 * po/de.po: Update from translation team.
27980 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27982 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27984 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27986 * configure.in (_AC_PROG_CC_C89): New definition.
27987 * configure: Regenerate.
27989 * configure.in (AC_PROG_CPP): New definition.
27990 * configure: Regenerate.
27992 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27994 * debug/tst-backtrace.h: New file.
27995 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27996 (ret): Remove variable.
27998 (FAIL): Remove macro.
27999 (NO_INLINE): Likewise.
28000 (fn1): Use match function instead of strstr.
28001 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28002 (ret): Remove variable.
28004 (FAIL): Remove macro.
28005 (NO_INLINE): Likewise.
28006 (fn): Use match function instead of strstr.
28007 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28008 (ret): Remove variable.
28010 (FAIL): Remove macro.
28011 (NO_INLINE): Likewise.
28012 (handle_signal): Use match function instead of strstr.
28013 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28014 (ret): Remove variable.
28016 (FAIL): Remove macro.
28017 (NO_INLINE): Likewise.
28018 (handle_signal): Use match function instead of strstr.
28020 2013-01-23 Roland McGrath <roland@hack.frob.com>
28022 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28024 2013-01-23 David S. Miller <davem@davemloft.net>
28026 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28027 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28028 argument of CAS if possible.
28029 * sysdeps/sparc/sparc64/bits/atomic.h
28030 (__arch_compare_and_exchange_val_32_acq): Likewise.
28031 (__arch_compare_and_exchange_val_64_acq): Likewise.
28033 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28035 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28036 * sysdeps/posix/ulimit.c: ... this.
28037 Include <limits.h>.
28038 * sysdeps/unix/bsd/ulimit.c: Remove file.
28040 2013-01-23 Adam Conrad <adconrad@0c3.net>
28042 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28043 (LDFLAGS-tst-array5): Likewise.
28045 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28048 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28049 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28050 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28051 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28053 2013-01-21 David S. Miller <davem@davemloft.net>
28055 * sysdeps/sparc/backtrace.c: New file.
28056 * sysdeps/sparc/sparc32/backtrace.h: New file.
28057 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28058 * sysdeps/sparc/sparc64/backtrace.h: New file.
28059 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28060 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28063 2013-01-21 Andreas Schwab <schwab@suse.de>
28066 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28069 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28075 2013-01-18 Joseph Myers <joseph@codesourcery.com>
28076 Mark Mitchell <mark@codesourcery.com>
28077 Tom de Vries <tom@codesourcery.com>
28078 Paul Pluzhnikov <ppluzhnikov@google.com>
28080 * debug/tst-backtrace2.c: New file.
28081 * debug/tst-backtrace3.c: Likewise.
28082 * debug/tst-backtrace4.c: Likewise.
28083 * debug/tst-backtrace5.c: Likewise.
28084 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28085 (CFLAGS-tst-backtrace3.c): Likewise.
28086 (CFLAGS-tst-backtrace4.c): Likewise.
28087 (CFLAGS-tst-backtrace5.c): Likewise.
28088 (LDFLAGS-tst-backtrace2): Likewise.
28089 (LDFLAGS-tst-backtrace3): Likewise.
28090 (LDFLAGS-tst-backtrace4): Likewise.
28091 (LDFLAGS-tst-backtrace5): Likewise.
28092 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28093 tst-backtrace4 and tst-backtrace5.
28095 2013-01-18 Anton Blanchard <anton@samba.org>
28096 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28098 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28099 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28100 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28101 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28103 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28104 "+r" and remove output regs list as redundant. Add explicit inline
28105 asm to specify register of return val to work around compiler codegen
28106 bug. Remove (int) cast on return value. Add return type parameter to
28107 use in macro so that this macro does not truncate return value for
28109 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28110 pass to INTERNAL_VSYSCALL_NCS.
28111 (INLINE_VSYSCALL): Add 'long int' as return type to
28112 INTERNAL_VSYSCALL_NCS macro invocation.
28113 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28114 INTERNAL_VSYSCALL_NCS macro invocation.
28115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28117 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28120 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28121 Fix application of SIMD FP exception mask.
28123 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28124 mp_no from a power of two.
28125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28126 __mpexp_twomm1. Use __pow_mp.
28128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28131 2013-01-17 David S. Miller <davem@davemloft.net>
28133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28135 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28138 * include/complex.h: Condition contents on [!_COMPLEX_H].
28139 (__kernel_casinhf): New prototype.
28140 (__kernel_casinh): Likewise.
28141 (__kernel_casinhl): Likewise.
28142 * math/Makefile (libm_calls): Add k_casinh.
28143 * math/k_casinh.c: New file.
28144 * math/k_casinhf.c: Likewise.
28145 * math/k_casinhl.c: Likewise.
28146 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28147 finite nonzero arguments.
28148 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28149 finite nonzero arguments.
28150 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28151 finite nonzero arguments.
28152 * math/s_casinh.c: Do not include <float.h>.
28153 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28154 * math/s_casinhf.c: Do not include <float.h>.
28155 (__casinhf): Move code for finite nonzero arguments to
28157 * math/s_casinhl.c: Do not include <float.h>.
28158 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28160 (__casinhl): Move code for finite nonzero arguments to
28162 * math/libm-test.inc (cacos_test): Add more tests.
28163 * sysdeps/i386/fpu/libm-test-ulps: Update.
28164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28166 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28168 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28169 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28170 [!HAVE_MREMAP]: Remove [defined linux] case.
28171 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28173 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28175 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28177 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
28179 * elf/elf.h (R_386_SIZE32): New relocation.
28180 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28182 (elf_machine_rela): Likewise.
28183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28184 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28186 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28188 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28189 (FP_FAST_FMA): Do not define.
28190 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28191 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28192 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28193 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28194 !_SOFT_FLOAT]: Likewise.
28195 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28198 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28199 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28200 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28201 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28202 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28203 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28206 2013-01-16 Andreas Schwab <schwab@suse.de>
28209 * include/stdlib.h (__mktemp): Add declaration.
28210 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28211 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28213 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28215 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28217 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28218 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28219 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28221 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28222 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28224 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28226 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28227 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28228 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28230 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28231 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28233 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28235 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28237 2013-01-15 David S. Miller <davem@davemloft.net>
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28240 trunc{,f} to libm-sysdep_routes.
28241 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28251 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28252 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28253 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28254 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28255 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28256 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28259 nearbyint{,f} to libm-sysdep_routes.
28260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28273 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28274 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28276 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28280 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28281 libc_feholdexcept and libc_fesetenv.
28283 2013-01-15 Mike Frysinger <vapier@gentoo.org>
28285 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28287 2013-01-14 David S. Miller <davem@davemloft.net>
28289 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28290 (SPARC_ASM_VIS2_IFUNC): Likewise.
28291 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28293 use of 'siam' instruction.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28327 routines to libm-sysdep_routines.
28328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28331 fdim/fdimf to libm-sysdep_routines.
28332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28340 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28341 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28342 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28343 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28345 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28347 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28348 to optimize copies.
28350 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28355 local variable MPTWO.
28356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28359 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28361 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28364 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28366 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28368 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28370 * manual/pattern.texi (glob_t): Document gl_flags.
28371 (glob64_t): Likewise.
28373 2013-01-11 David S. Miller <davem@davemloft.net>
28375 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28376 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28377 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
28378 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28379 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28380 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28381 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28382 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28383 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28384 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28385 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28386 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28387 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28389 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28390 sparc V9 rather than using V8 code.
28391 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28392 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28394 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28396 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28399 2013-01-11 Roland McGrath <roland@hack.frob.com>
28401 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28402 not in the main loop.
28403 * configure: Regenerated.
28405 2013-01-11 Joseph Myers <joseph@codesourcery.com>
28407 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28408 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28410 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28411 [!__GLIBC_HAVE_LONG_LONG] case.
28412 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28413 condition to just #else.
28414 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28415 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28416 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28417 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28419 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28420 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28421 #elif condition to just #else.
28422 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28423 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28424 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28425 #elif condition to just #else.
28427 2013-01-11 Steve Ellcey <sellcey@mips.com>
28429 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28430 (EF_MIPS_ARCH_64): Fix value.
28431 (EF_MIPS_ARCH_32R2): New.
28432 (EF_MIPS_ARCH_64R2): New.
28434 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28436 * Makeconfig (+link-pie-before-libc): New.
28437 (+link-pie-after-libc): Likewise.
28438 (+link-pie-tests): Likewise.
28439 (+link-pie): Rewritten.
28440 (link-before-libc): Remove $(config-LDFLAGS).
28441 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28442 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28443 (config-LDFLAGS): Renamed to ...
28444 (rtld-LDFLAGS): This.
28445 (rtld-tests-LDFLAGS): New macro.
28446 (link-libc-rpath-link): Likewise.
28447 (link-libc-tests-rpath-link): Likewise.
28448 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28449 (link-libc): Prepand $(link-libc-rpath-link).
28450 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28451 (test-program-prefix): New macro.
28452 (test-via-rtld-prefix): Likewise.
28453 (test-program-cmd): Likewise.
28454 (host-test-program-cmd): Likewise.
28455 * Makefile ($(common-objpfx)testrun.sh): Replace
28456 $(run-program-prefix) with $(test-program-prefix).
28457 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28459 ($(common-objpfx)shlib.lds): Likewise.
28460 (build-module-helper): Likewise.
28461 ($(common-objpfx)format.lds): Likewise.
28462 * Rules (binaries-pie-tests): New.
28463 (binaries-pie-notests): Likewise.
28464 (binaries-pie): Rewritten.
28465 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28466 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28467 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28468 (make-test-out): Replace $(host-built-program-cmd) with
28469 $(host-test-program-cmd).
28470 * config.make.in (build-hardcoded-path-in-tests): New variable.
28471 * configure.in (--enable-hardcoded-path-in-tests): New configure
28473 (hardcoded_path_in_tests): New AC_SUBST.
28474 * configure: Regenerated.
28475 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28476 $(built-program-cmd) with $(test-program-cmd).
28477 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28478 (test_program_cmd): This.
28479 * elf/Makefile ($(objpfx)order.out): Run test with
28480 $(test-program-prefix).
28481 ($(objpfx)order2.out): Likewise.
28482 ($(objpfx)tst-initorder.out): Likewise.
28483 ($(objpfx)tst-initorder2.out): Likewise.
28484 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28485 $(test-program-cmd).
28486 ($(objpfx)tst-array1-static.out): Likewise.
28487 ($(objpfx)tst-array2.out): Likewise.
28488 ($(objpfx)tst-array3.out): Likewise.
28489 ($(objpfx)tst-array4.out): Likewise.
28490 ($(objpfx)tst-array5.out): Likewise.
28491 ($(objpfx)tst-array5-static.out): Likewise.
28492 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28493 $(test-program-cmd).
28494 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28495 $(run-program-prefix) with $(test-program-prefix).
28496 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28497 (test_program_prefix): This.
28498 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28499 $(run-program-prefix) with $(test-program-prefix).
28500 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28501 (test_program_prefix): This.
28502 * iconvdata/tst-tables.sh: Likewise.
28503 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28504 $(run-program-prefix) with $(test-program-prefix).
28505 ($(objpfx)tst-translit.out): Likewise.
28506 ($(objpfx)tst-gettext2.out): Likewise.
28507 ($(objpfx)tst-gettext4.out): Likewise.
28508 ($(objpfx)tst-gettext6.out): Likewise.
28509 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28510 (test_program_prefix): This.
28511 * intl/tst-gettext2.sh: Likewise.
28512 * intl/tst-gettext4.sh Likewise.
28513 * intl/tst-gettext6.sh: Likewise.
28514 * intl/tst-translit.sh: Likewise.
28515 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28516 with $(test-program-cmd).
28517 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28518 $(run-program-prefix) with $(test-program-prefix).
28519 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28520 (test_program_prefix): This.
28521 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28522 $(run-program-prefix) with $(test-program-prefix).
28523 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28524 (test_program_prefix): This.
28525 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28526 * posix/Makefile ($(objpfx)globtest.out): Replace
28527 $(run-via-rtld-prefix) and $(test-wrapper) with
28528 $(test-program-prefix) and $(test-via-rtld-prefix).
28529 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28530 $(test-program-prefix).
28531 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28532 $(host-test-program-cmd).
28533 (tst-spawn-ARGS): Likewise.
28534 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28535 $(test-program-prefix).
28536 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28537 (test_via_rtld_prefix): This.
28538 (test_wrapper): Renamed to ...
28539 (test_program_prefix): This.
28540 (run_program_prefix): Replaced by test_program_prefix.
28541 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28542 (test_program_prefix): This.
28543 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28544 with $(host-test-program-cmd).
28545 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28546 $(run-program-prefix) with $(test-program-prefix).
28547 ($(objpfx)tst-printf.out): Likewise.
28548 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28549 $(test-program-cmd).
28550 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28551 (test_program_prefix): This.
28552 * stdio-common/tst-unbputc.sh: Likewise.
28553 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28554 $(run-program-prefix) with $(test-program-prefix).
28555 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28556 (test_program_prefix): This.
28557 * string/Makefile ($(objpfx)tst-svc.out): Replace
28558 $(built-program-cmd) with $(test-program-cmd).
28560 2013-01-11 Andreas Jaeger <aj@suse.de>
28563 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28564 value. Sync with Linux 3.7.
28566 2013-01-10 David S. Miller <davem@davemloft.net>
28568 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28569 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28570 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28572 2013-01-10 Roland McGrath <roland@hack.frob.com>
28574 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28576 * configure: Regenerated.
28578 2013-01-10 David S. Miller <davem@davemloft.net>
28580 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28581 sparc V9 rather than using V8 code.
28582 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28583 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28585 2013-01-10 Roland McGrath <roland@hack.frob.com>
28587 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28588 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28589 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28590 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28591 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28592 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28593 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28594 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28595 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28596 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28597 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28598 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28599 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28600 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28601 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28602 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28603 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28604 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28605 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28606 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28607 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28608 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28609 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28610 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28611 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28612 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28613 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28615 2013-01-10 David S. Miller <davem@davemloft.net>
28617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28619 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28621 * posix/Makefile (tests-static): New variable.
28622 (tests): Add $(tests-static).
28623 (tst-exec-static-ARGS): New variable.
28624 (tst-spawn-static-ARGS): Likewise.
28625 * posix/tst-exec-static.c: New file.
28626 * posix/tst-spawn-static.c: Likewise.
28627 * posix/tst-exec.c: Support run directly.
28628 * posix/tst-spawn.c: Likewise.
28630 2013-01-10 Joseph Myers <joseph@codesourcery.com>
28632 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28634 * math/bits/mathcalls.h (llrint): Likewise.
28635 (llround): Likewise.
28636 * stdlib/stdlib.h (struct drand48_data): Likewise.
28637 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28638 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28639 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28641 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28643 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28644 (elf_greg_t): Likewise.
28645 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28646 (__jmp_buf): Likewise.
28647 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28649 (llrint): Likewise, for all definitions.
28650 (llrintl): Likewise.
28652 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28653 Remove [__GNUC__] condition.
28654 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28655 condition to just [__USE_ISOC99].
28656 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28658 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28661 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28662 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28664 (_POSIX_V6_ILP32_OFF32): Likewise.
28665 (_XBS5_ILP32_OFF32): Likewise.
28666 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28667 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28669 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28671 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28674 doubles __mpexp_twomm1. Adjust usage.
28675 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28678 2013-01-10 Andreas Schwab <schwab@suse.de>
28681 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28682 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28684 2013-01-09 David S. Miller <davem@davemloft.net>
28687 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28688 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28689 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28690 (TCP_FASTOPEN): Define.
28691 (tcp_repair_opt): New structure.
28692 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28694 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28695 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28696 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28697 (tcp_cookie_transactions): New structure.
28699 2013-01-09 Anton Blanchard <anton@samba.org>
28701 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28702 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28703 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28704 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28706 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28708 * include/features.h (__USE_ANSI): Remove.
28710 2013-01-09 Roland McGrath <roland@hack.frob.com>
28712 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28714 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28716 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28718 * sysdeps/s390/fpu/libm-test-ulps: Update.
28720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28722 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28726 (denorm): Likewise.
28727 (__mp_dbl): Likewise.
28728 (__dbl_mp): Likewise.
28729 (add_magnitudes): Likewise.
28730 (sub_magnitudes): Likewise.
28736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28740 (denorm): Likewise.
28741 (__mp_dbl): Likewise.
28742 (__dbl_mp): Likewise.
28743 (add_magnitudes): Likewise.
28744 (sub_magnitudes): Likewise.
28750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28754 (denorm): Likewise.
28755 (__mp_dbl): Likewise.
28756 (__dbl_mp): Likewise.
28757 (add_magnitudes): Likewise.
28758 (sub_magnitudes): Likewise.
28765 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28767 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28768 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28769 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28770 2 && __USE_EXTERN_INLINES]: Likewise.
28772 2013-01-08 Andreas Jaeger <aj@suse.de>
28775 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28777 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28778 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28780 2013-01-07 Anton Blanchard <anton@samba.org>
28782 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28783 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28784 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28785 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28786 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28787 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28788 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28789 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28791 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28793 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28795 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28796 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28799 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28800 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28801 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28802 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28803 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28804 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28805 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28806 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28807 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28808 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28809 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28811 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28812 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28815 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28816 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28818 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28819 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28820 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28821 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28822 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28823 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28824 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28826 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28828 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28829 (__MALLOC_PMT): Likewise.
28830 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28831 [__GNUC__], only on [_LIBC].
28832 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28833 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28834 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28835 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28836 forward declaration.
28837 (realloc_hook_ini): Likewise.
28838 (memalign_hook_ini): Likewise.
28839 (__libc_memalign): Do not use __MALLOC_PMT in variable
28841 (__libc_valloc): Likewise.
28842 (__libc_pvalloc): Likewise.
28843 (__libc_calloc): Likewise.
28844 (__posix_memalign): Likewise.
28847 * math/s_casinh.c: Include <float.h>.
28848 (__casinh): Do not do computation with squaring and square root
28849 for large arguments.
28850 * math/s_casinhf.c: Include <float.h>.
28851 (__casinhf): Do not do computation with squaring and square root
28852 for large arguments.
28853 * math/s_casinhl.c: Include <float.h>.
28854 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28855 (__casinhl): Do not do computation with squaring and square root
28856 for large arguments.
28857 * math/libm-test.inc (casin_test): Add more tests.
28858 (casinh_test): Likewise.
28859 * sysdeps/i386/fpu/libm-test-ulps: Update.
28860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28862 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28864 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28865 (__x86_64_raw_data_cache_size): Likewise.
28866 (__x86_64_data_cache_size_half): Likewise.
28867 (__x86_64_raw_data_cache_size_half): Likewise.
28868 (__x86_64_shared_cache_size): Likewise.
28869 (__x86_64_raw_shared_cache_size): Likewise.
28870 (__x86_64_shared_cache_size_half): Likewise.
28871 (__x86_64_raw_shared_cache_size_half): Likewise.
28872 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28874 (__x86_data_cache_size): This.
28875 (__x86_64_raw_data_cache_size): Renamed to ...
28876 (__x86_raw_data_cache_size): This.
28877 (__x86_64_data_cache_size_half): Renamed to ...
28878 (__x86_data_cache_size_half): This.
28879 (__x86_64_raw_data_cache_size_half): Renamed to ...
28880 (__x86_raw_data_cache_size_half): This.
28881 (__x86_64_shared_cache_size): Renamed to ...
28882 (__x86_shared_cache_size): This.
28883 (__x86_64_raw_shared_cache_size): Renamed to ...
28884 (__x86_raw_shared_cache_size): This.
28885 (__x86_64_shared_cache_size_half): Renamed to ...
28886 (__x86_shared_cache_size_half): This.
28887 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28888 (__x86_raw_shared_cache_size_half): This.
28889 * sysdeps/x86_64/memcpy.S: Updated.
28890 * sysdeps/x86_64/memset.S: Likewise.
28891 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28892 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28893 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28895 2013-01-04 David S. Miller <davem@davemloft.net>
28897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28899 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28901 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28902 1 to avoid redefinition warning.
28903 (__USE_GNU): Don't define.
28904 (init_signaling_nan): Protoize.
28906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28908 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28910 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28912 (__cpymn): Likewise.
28913 (norm): Remove commented code.
28914 (denorm): Likewise.
28915 (__mp_dbl): Likewise.
28917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28918 (__cpymn): Likewise.
28919 (norm): Remove commented code.
28920 (denorm): Likewise.
28921 (__mp_dbl): Likewise.
28924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28925 mp_no value for 1.0 and 2.0.
28926 (norm): Use RADIXI instead of radixi.d.
28927 (denorm): Likewise.
28928 (__mul): Use 0.0 instead of zero.d.
28929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28930 mp_no value for 1.0 and 2.0.
28931 (norm): Use RADIXI instead of radixi.d.
28932 (denorm): Likewise.
28933 (__mul): Use 0.0 instead of zero.d.
28935 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28938 * math/s_casinh.c (__casinh): Reduce finite argument to first
28939 quadrant then set signs of results at the end.
28940 * math/s_casinhf.c (__casinhf): Likewise.
28941 * math/s_casinhl.c (__casinhl): Likewise.
28942 * math/libm-test.inc (casin_test): Add more tests.
28943 (casinh_test): Likewise.
28944 * sysdeps/i386/fpu/libm-test-ulps: Update.
28945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28947 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28949 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28951 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28953 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28955 (denorm): Likewise.
28956 (__mp_dbl): Likewise.
28959 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28960 and adjust the header comment.
28962 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28963 variable name from declaration.
28965 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28968 Initialize COMMON_CPUID_INDEX_7 element.
28969 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28970 (CPUID_RTM): Likewise.
28971 (HAS_RTM): Likewise.
28972 (COMMON_CPUID_INDEX_7): New enum.
28974 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28977 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28978 size is zero, record memory as freed.
28980 2013-01-03 Andreas Jaeger <aj@suse.de>
28982 * po/ia.po: Add new Interlingua translation.
28984 2012-01-03 Allan McRae <allan@archlinux.org>
28986 * locale/programs/localedef.c: Fix description of '--posix' flag.
28988 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28990 * NEWS: Update dates in second copyright notice.
28991 * README: Update copyright dates in example.
28992 * manual/libc.texinfo: Update copyright dates.
28993 * scripts/test-installation.pl: Update copyright date in --version
28996 * hurd/ctty-input.c: Fix copyright notice formatting.
28997 * hurd/ctty-output.c: Likewise.
28998 * hurd/dtable.c: Likewise.
28999 * hurd/hurd-raise.c: Likewise.
29000 * hurd/hurdprio.c: Likewise.
29001 * hurd/msgportdemux.c: Likewise.
29002 * misc/sys/file.h: Likewise.
29003 * misc/sys/ioctl.h: Likewise.
29004 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29005 * sysdeps/mach/hurd/chdir.c: Likewise.
29006 * sysdeps/mach/hurd/fchdir.c: Likewise.
29007 * sysdeps/mach/hurd/rename.c: Likewise.
29008 * sysdeps/mach/hurd/rmdir.c: Likewise.
29009 * sysdeps/mach/hurd/seekdir.c: Likewise.
29010 * sysdeps/mach/hurd/setsid.c: Likewise.
29011 * sysdeps/posix/wait3.c: Likewise.
29013 * All files with FSF copyright notices: Update copyright dates
29014 using scripts/update-copyrights.
29015 * intl/plural.c: Regenerated.
29016 * locale/programs/charmap-kw.h: Likewise.
29017 * locale/programs/locfile-kw.h: Likewise.
29019 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29021 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29024 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29025 calculation loop and add branch prediction.
29027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29028 check access beyond bounds of m1np.
29030 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29032 (__inv): Remove local variable MPTWO to use the global
29034 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29035 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29037 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29038 MP3HALFS static const.
29040 2013-01-01 David S. Miller <davem@davemloft.net>
29042 * po/ca.po: Update from translation team.
29044 2013-01-01 Joseph Myers <joseph@codesourcery.com>
29046 * scripts/update-copyrights: New file.
29047 * Makeconfig: Reformat copyright notice.
29048 * ctype/ctype.h: Likewise.
29049 * debug/swprintf_chk.c: Likewise.
29050 * elf/dl-cache.c: Likewise.
29051 * elf/dl-debug.c: Likewise.
29052 * elf/dl-object.c: Likewise.
29053 * grp/initgroups.c: Likewise.
29054 * hurd/Makefile: Likewise.
29055 * hurd/hurd/signal.h: Likewise.
29056 * hurd/hurdfault.c: Likewise.
29057 * hurd/hurdioctl.c: Likewise.
29058 * hurd/hurdlookup.c: Likewise.
29059 * hurd/intr-msg.c: Likewise.
29060 * iconv/gconv_open.c: Likewise.
29061 * libio/swprintf.c: Likewise.
29062 * locale/lc-ctype.c: Likewise.
29063 * locale/nl_langinfo.c: Likewise.
29064 * mach/Machrules: Likewise.
29065 * mach/Makefile: Likewise.
29066 * malloc/obstack.h: Likewise.
29067 * manual/Makefile: Likewise.
29068 * manual/tsort.awk: Likewise.
29069 * misc/bits/stab.def: Likewise.
29070 * nis/nis_print_group_entry.c: Likewise.
29071 * nis/nis_table.c: Likewise.
29072 * nis/nss_compat/compat-pwd.c: Likewise.
29073 * nis/nss_compat/compat-spwd.c: Likewise.
29074 * po/Makefile: Likewise.
29075 * posix/fnmatch.c: Likewise.
29076 * posix/regex.h: Likewise.
29077 * resolv/Makefile: Likewise.
29078 * resolv/nss_dns/dns-network.c: Likewise.
29079 * resolv/res_hconf.c: Likewise.
29080 * scripts/gen-sorted.awk: Likewise.
29081 * soft-fp/soft-fp.h: Likewise.
29082 * stdio-common/printf.h: Likewise.
29083 * stdlib/monetary.h: Likewise.
29084 * stdlib/random.c: Likewise.
29085 * stdlib/random_r.c: Likewise.
29086 * sysdeps/generic/Makefile: Likewise.
29087 * sysdeps/gnu/Makefile: Likewise.
29088 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29111 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29112 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29113 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29114 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29115 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29116 * sysdeps/mach/hurd/errnos.awk: Likewise.
29117 * sysdeps/mach/hurd/fork.c: Likewise.
29118 * sysdeps/mach/hurd/getcwd.c: Likewise.
29119 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29120 * sysdeps/mach/hurd/mmap.c: Likewise.
29121 * sysdeps/mach/hurd/utimes.c: Likewise.
29122 * sysdeps/mach/hurd/xmknod.c: Likewise.
29123 * sysdeps/posix/profil.c: Likewise.
29124 * sysdeps/posix/readdir_r.c: Likewise.
29125 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29126 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29127 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29128 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29130 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29131 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29132 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29134 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29135 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29136 * sysdeps/pthread/lio_listio.c: Likewise.
29137 * sysdeps/sparc/dl-procinfo.h: Likewise.
29138 * sysdeps/unix/i386/sysdep.S: Likewise.
29139 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29140 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29141 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29142 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29144 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29145 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29146 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29147 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29148 * sysdeps/wordsize-32/divdi3.c: Likewise.
29149 * time/sys/time.h: Likewise.
29150 * wcsmbs/Makefile: Likewise.
29152 2013-01-01 David S. Miller <davem@davemloft.net>
29154 * po/fr.po: Update from translation team.
29156 * catgets/gencat.c: Update copyright year.
29157 * csu/version.c: Likewise.
29158 * debug/catchsegv.sh: Likewise.
29159 * debug/pcprofiledump.c: Likewise.
29160 * debug/xtrace.sh: Likewise.
29161 * elf/ldconfig.c: Likewise.
29162 * elf/ldd.bash.in: Likewise.
29163 * elf/pldd.c: Likewise.
29164 * elf/sotruss.ksh: Likewise.
29165 * elf/sprof.c: Likewise.
29166 * iconv/iconv_prog.c: Likewise.
29167 * iconv/iconvconfig.c: Likewise.
29168 * locale/programs/locale.c: Likewise.
29169 * locale/programs/localedef.c: Likewise.
29170 * login/programs/pt_chown.c: Likewise.
29171 * malloc/memusage.sh: Likewise.
29172 * malloc/memusagestat.c: Likewise.
29173 * malloc/mtrace.pl: Likewise.
29174 * nscd/nscd.c: Likewise.
29175 * nss/getent.c: Likewise.
29176 * nss/makedb.c: Likewise.
29177 * posix/getconf.c: Likewise.
29179 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29181 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29184 2012-12-30 Mike Frysinger <vapier@gentoo.org>
29186 * math/bits/mathcalls.h (modf): Use __nonnull.
29188 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29190 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29191 (split): Use macro CN instead of the bare value.
29192 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29195 instead of the bare value.
29196 (power1): Likewise.
29198 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29202 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29204 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29206 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29208 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29209 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29211 2012-12-28 Andreas Jaeger <aj@suse.de>
29213 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29214 values are from Linux 3.7.
29216 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29217 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29219 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29221 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29224 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29226 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29227 variables with preprocessor constants.
29228 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29229 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29230 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29232 2012-12-27 Bruno Haible <bruno@clisp.org>
29235 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29238 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29241 and use variable directly.
29242 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29244 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29246 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29247 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29249 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29251 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29252 include directive. Remove local variable MPONE.
29253 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29254 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29255 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29257 2012-12-25 David S. Miller <davem@davemloft.net>
29259 * version.h (RELEASE): Set to "development".
29260 (VERSION): Set to "2.17.90".
29261 * NEWS: Add 2.18 section.
29263 2012-12-21 David S. Miller <davem@davemloft.net>
29265 * po/hr.po: Update from translation team.
29267 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29269 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29271 2012-12-19 Steve Ellcey <sellcey@mips.com>
29273 * NEWS: Mention new memcpy for MIPS.
29275 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29277 * manual/contrib.texi (Contributors): Spelling correction.
29279 2012-12-15 David S. Miller <davem@davemloft.net>
29281 * po/ru.po: Update from translation team.
29283 2012-12-13 David S. Miller <davem@davemloft.net>
29285 * NEWS: Mention IFUNC testsuite enhancements.
29287 * po/pl.po: Update from translation team.
29288 * po/bg.po: Likewise.
29290 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29291 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29293 2012-12-11 David S. Miller <davem@davemloft.net>
29295 * po/sv.po: Update from translation team.
29297 * po/vi.po: Update from translation team.
29299 * po/cs.po: Update from translation team.
29301 * po/de.po: Update from translation team.
29302 * po/eo.po: Likewise.
29303 * po/nl.po: Likewise.
29305 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29308 * manual/argp.texi (Argp Helper Functions): Move node to follow
29309 Argp Parsing State.
29312 * manual/conf.texi (Limits on File System Capacity): Mention if
29313 terminating null is included in the max size.
29315 2012-12-10 Andreas Jaeger <aj@suse.de>
29317 * po/cs.po: Update from translation team.
29319 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29321 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29322 void pointer and cast to uintptr_t.
29323 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29325 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29326 * sysdeps/s390/s390-64/memset.S: Likewise.
29328 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
29331 * menual/message.texi (Message Translation): Fix typos.
29332 (Helper programs for gettext): Likewise.
29334 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29337 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29340 2012-12-07 David S. Miller <davem@davemloft.net>
29342 * po/libc.pot: Update.
29344 2012-12-07 Richard Henderson <rth@redhat.com>
29347 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29348 normal/normal case to before the switch.
29349 (_FP_DIV): Likewise.
29351 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29352 Mike Frysinger <vapier@gentoo.org>
29354 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29355 check for __NR_fadvise64_64.
29357 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29359 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29360 0, not just to plain "0" as a statement.
29361 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29364 2012-12-06 Joseph Myers <joseph@codesourcery.com>
29366 * NEWS: Use sourceware.org in Bugzilla URL.
29368 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29371 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29373 * stdio-common/tst-put-error.c (do_test): Add newline to the
29374 padded test to ensure flush.
29376 2012-12-05 Jeff Law <law@redhat.com>
29378 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29380 2012-12-05 Joseph Myers <joseph@codesourcery.com>
29382 * README: Don't refer to ports add-on as distributed separately.
29383 Mention AArch64 in list of systems supported in the ports add-on.
29385 * LICENSES: Add more non-FSF copyright and license notices.
29387 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29390 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29392 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29393 10000 as width of padded output.
29395 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29397 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29399 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29400 variable LX with __attribute__ ((unused)).
29401 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29403 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29405 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29406 with __attribute__ ((unused)).
29408 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
29410 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29412 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29414 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29415 (CFLAGS-nldbl-acos.c): New variable.
29416 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29417 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29418 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29419 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29420 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29421 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29422 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29423 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29424 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29425 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29426 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29427 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29428 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29429 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29430 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29431 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29432 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29433 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29434 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29435 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29436 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29437 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29438 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29439 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29440 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29441 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29442 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29443 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29444 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29445 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29446 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29447 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29448 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29449 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29450 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29451 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29452 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29453 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29454 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29455 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29456 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29457 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29458 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29459 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29460 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29461 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29462 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29463 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29464 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29465 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29466 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29467 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29468 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29469 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29470 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29471 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29472 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29473 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29474 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29475 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29476 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29477 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29478 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29479 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29480 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29481 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29482 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29483 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29484 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29485 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29486 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29487 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29488 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29489 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29490 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29491 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29492 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29493 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29494 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29495 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29496 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29497 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29498 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29499 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29500 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29501 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29502 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29503 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29504 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29505 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29506 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29507 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29508 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29509 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29510 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29511 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29512 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29515 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29518 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29519 whole low double instead of just low 47 bits when splitting values
29522 2012-12-03 Allan McRae <allan@archlinux.org>
29524 * manual/stdio.texi (Predefined Printf Handlers): Remove
29525 @hsep and @vsep usage.
29527 2012-12-03 Mike Frysinger <vapier@gentoo.org>
29529 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29530 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29532 2012-12-03 Jeff Law <law@redhat.com>
29534 * time/sys/time.h (settimeofday): Do not mark TV argument
29537 2012-12-01 Mike Frysinger <vapier@gentoo.org>
29539 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29540 when currently writing and seek to current position when not.
29541 * libio/Makefile (tests): Remove bug-fclose1.
29542 * libio/bug-fclose1.c: Delete.
29544 2012-12-01 Joseph Myers <joseph@codesourcery.com>
29546 * manual/arith.texi (feenableexcept): Fix typo.
29547 (fedisableexcept): Likewise.
29549 2012-11-30 Roland McGrath <roland@hack.frob.com>
29551 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29552 second, differently-typed declaration, rather than a cast.
29554 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29556 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29557 * include/rpc/svc.h: ... here.
29559 2012-11-30 Aurelien Jarno <aurel32@debian.org>
29562 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29563 depending n and resplen2 to catch cases where answer
29566 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29568 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29569 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29571 2012-11-29 Mike Frysinger <vapier@gentoo.org>
29573 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29575 2012-11-29 Roland McGrath <roland@hack.frob.com>
29577 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29579 2012-11-28 Jeff Law <law@redhat.com>
29582 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29583 dataset_temporary. Track alloca usage into alloca_used.
29584 If dataset is large allocate and release it via malloc/free.
29586 2012-06-04 Florian Weimer <fweimer@redhat.com>
29589 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29591 2012-11-28 David S. Miller <davem@davemloft.net>
29593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29595 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29598 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29599 of pi/2 rounded to nearest to 64 bits.
29600 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29601 nearest to 64 bits.
29602 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29605 2012-11-28 Jeff Law <law@redhat.com>
29606 Martin Osvald <mosvald@redhat.com>
29609 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29610 * sunrpc/svc.c: Include time.h.
29611 (__svc_accept_failed): New function.
29612 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29613 any reason other than EINTR, call __svc_accept_failed.
29614 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29615 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29617 2012-11-28 Andreas Schwab <schwab@suse.de>
29619 * scripts/abilist.awk: Also handle indirect functions in .opd
29622 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29625 * sysdeps/x86/fpu/powl_helper.c: New file.
29626 * sysdeps/x86/fpu/Makefile: Likewise.
29627 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29629 (__ieee754_powl): Use __powl_helper for finite arguments except
29630 integer exponents below 8.
29631 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29633 (__ieee754_powl): Use __powl_helper for finite arguments except
29634 integer exponents below 8.
29635 * math/libm-test.inc (pow_test): Add more tests and enable some
29636 previously disabled tests.
29637 * sysdeps/i386/fpu/libm-test-ulps: Update.
29638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29640 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29641 Carlos O'Donell <carlos_odonell@mentor.com>
29643 * nss/makedb.c (is_prime): Assert that input is odd and greater
29644 than 4. Note that fact in a comment too.
29645 (next_prime): Add 4 to input.
29647 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29650 * libio/Makefile (tests): Add test case tst-fwrite-error.
29651 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29652 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29653 * libio/tst-fwrite-error.c: New test case.
29655 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29657 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29658 before casting to void *.
29659 * include/libc-internal.h (__pointer_type): New macro.
29660 (__integer_if_pointer_type_sub): Likewise.
29661 (__integer_if_pointer_type): Likewise.
29662 (cast_to_integer): Likewise.
29663 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29664 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29665 before casting to atomic64_t.
29666 (atomic_exchange_acq): Likewise.
29667 (__arch_exchange_and_add_body): Likewise.
29668 (__arch_add_body): Likewise.
29669 (atomic_add_negative): Likewise.
29670 (atomic_add_zero): Likewise.
29672 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29674 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29675 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29676 (add_fdes): Likewise.
29677 (linear_search_fdes): Likewise.
29678 (binary_search_unencoded_fdes): Likewise.
29680 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29682 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29684 2012-11-24 Adam Conrad <adconrad@0c3.net>
29686 * configure.in: Autodetect C++ header directories.
29687 * configure: Regenerated.
29689 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29691 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29693 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29697 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29699 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29700 LDBL_MANT_DIG == 106]: Disable some tests.
29701 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29703 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29707 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29708 input for small inputs. Return +/- pi/2 for large inputs.
29709 * math/libm-test.inc (atan_test): Add more tests.
29711 * sysdeps/generic/unwind-dw2-fde-glibc.c
29712 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29713 __attribute__ ((unused)).
29716 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29717 x * y if x and y are nonzero and z is zero.
29720 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29721 nonzero exponents with absolute value below 0x1p-117 to +/-
29725 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29726 up arguments below 2**-450, not just those below 2**-500.
29727 * math/libm-test.inc (hypot_test): Add another test.
29730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29731 Return a+b for ratio over 2**120, not 2**60.
29732 * math/libm-test.inc (hypot_test): Add another test.
29734 * math/libm-test.inc (clog_test): Use
29735 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29736 (clog10_test): Likewise.
29739 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29741 2012-11-22 Andreas Schwab <schwab@suse.de>
29743 * sysdeps/i386/fpu/libm-test-ulps: Update.
29745 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29747 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29748 printf output with newline.
29750 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29753 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29754 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29755 -z nodlopen, -z initfirst and -z execstack support.
29756 * configure: Regenerated.
29758 * elf/elf.h (DF_1_NODIRECT): New macro.
29759 (DF_1_IGNMULDEF): Likewise.
29760 (DF_1_NOKSYMS): Likewise.
29761 (DF_1_NOHDR): Likewise.
29762 (DF_1_EDITED): Likewise.
29763 (DF_1_NORELOC): Likewise.
29764 (DF_1_SYMINTPOSE): Likewise.
29765 (DF_1_GLOBAUDIT): Likewise.
29766 (DF_1_SINGLETON): Likewise.
29767 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29768 DT_1_SUPPORTED_MASK bits.
29769 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29771 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29773 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29775 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29777 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29780 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29781 (sendmmsg): Move declarations...
29782 * socket/sys/socket.h: ... here.
29783 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29784 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29786 * socket/recvmmsg.c: ... this new file.
29787 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29788 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29789 definition of __sendmmsg hidden.
29790 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29791 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29792 Move ENOSYS stub into and include it from...
29793 * socket/sendmmsg.c: ... this new file.
29794 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29795 (sysdep_routines): Move recvmmsg and sendmmsg...
29796 * socket/Makefile (routines): ... here.
29797 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29798 (GLIBC_PRIVATE): Add __sendmmsg.
29799 * include/sys/socket.h (__sendmmsg): Add declarations.
29800 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29803 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29806 variable I1 with __attribute__ ((unused)).
29807 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29809 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29811 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29812 DUMMY variables with __attribute__ ((unused)).
29814 * bits/byteswap.h: Include <bits/types.h>.
29815 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29817 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29819 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29820 string_t. Do not manually set errno.
29821 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29822 length with __strnlen. Make sure to both set errno and return it on
29825 2012-11-19 David S. Miller <davem@davemloft.net>
29827 With help from Joseph Myers.
29828 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29829 very large arguments properly.
29830 * math/libm-test.inc (atan_test): New tests.
29831 (atan2_test): New tests.
29832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29835 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29838 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29841 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29842 [POSIX] (EADDRNOTAVAIL): Likewise.
29843 [POSIX] (EAFNOSUPPORT): Likewise.
29844 [POSIX] (EALREADY): Likewise.
29845 [POSIX] (ECONNABORTED): Likewise.
29846 [POSIX] (ECONNREFUSED): Likewise.
29847 [POSIX] (ECONNRESET): Likewise.
29848 [POSIX] (EDESTADDRREQ): Likewise.
29849 [POSIX] (EDQUOT): Likewise.
29850 [POSIX] (EHOSTUNREACH): Likewise.
29851 [POSIX] (EIDRM): Likewise.
29852 [POSIX] (EISCONN): Likewise.
29853 [POSIX] (ELOOP): Likewise.
29854 [POSIX] (EMULTIHOP): Likewise.
29855 [POSIX] (ENETDOWN): Likewise.
29856 [POSIX] (ENETUNREACH): Likewise.
29857 [POSIX] (ENOBUFS): Likewise.
29858 [POSIX] (ENODATA): Likewise.
29859 [POSIX] (ENOLINK): Likewise.
29860 [POSIX] (ENOMSG): Likewise.
29861 [POSIX] (ENOPROTOOPT): Likewise.
29862 [POSIX] (ENOSR): Likewise.
29863 [POSIX] (ENOSTR): Likewise.
29864 [POSIX] (ENOTCONN): Likewise.
29865 [POSIX] (ENOTSOCK): Likewise.
29866 [POSIX] (EOPNOTSUPP): Likewise.
29867 [POSIX] (EOVERFLOW): Likewise.
29868 [POSIX] (EPROTO): Likewise.
29869 [POSIX] (EPROTONOSUPPORT): Likewise.
29870 [POSIX] (EPROTOTYPE): Likewise.
29871 [POSIX] (ESTALE): Likewise.
29872 [POSIX] (ETIME): Likewise.
29873 [POSIX] (ETXTBSY): Likewise.
29874 [POSIX] (EWOULDBLOCK): Likewise.
29875 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29876 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29877 [POSIX] (SEEK_CUR): Likewise.
29878 [POSIX] (SEEK_END): Likewise.
29879 [POSIX || UNIX98] (mode_t): Do not require.
29880 [POSIX] (off_t): Likewise.
29881 [POSIX] (pid_t): Likewise.
29882 [POSIX] (sys/stat.h): Do not allow header.
29883 [POSIX] (unistd.h): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29885 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29886 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29887 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29889 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29890 sigevent): Specify elements.
29891 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29893 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29894 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29896 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29897 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29898 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29899 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29900 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29901 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29902 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29903 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29905 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29906 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29907 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29908 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29911 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29913 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29915 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29917 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29918 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29919 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29920 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29922 Specify lower bound on value.
29923 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29928 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29929 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29930 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29932 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29934 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29937 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29938 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29942 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29943 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29944 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29945 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29946 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29951 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29953 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29960 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29962 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29965 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29966 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29968 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29969 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29970 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29971 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29972 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29973 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29974 specify as optional.
29975 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29976 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29977 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29978 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29979 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29980 [XPG3] (NL_LANGMAX): Likewise.
29981 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29982 [POSIX || XPG3] (NL_NMAX): Likewise.
29983 [POSIX || XPG3] (NL_SETMAX): Likewise.
29984 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29985 [XPG3] (NZERO): Likewise.
29986 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29987 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29988 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29989 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29990 (REG_ERANGE): Expect.
29991 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29993 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29994 Use (void) in prototype.
29995 [POSIX] (*_t): Allow.
29996 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29997 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29998 (WRDE_BADVAL): Expect.
30000 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30002 [XPG3 || XPG4] (O_RSYNC): Likewise.
30003 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30005 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30006 [XPG3 || XPG4] (sigqueue): Likewise.
30007 [XPG3 || XPG4] (sigtimedwait): Likewise.
30008 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30009 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30010 [XPG3 || XPG4] (vsnprintf): Likewise.
30011 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30013 [XPG3 || XPG4] (blksize_t): Likewise.
30014 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30016 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30017 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30018 [XPG3 || XPG4] (struct itimerspec): Likewise.
30019 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30020 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30021 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30022 [XPG3 || XPG4] (clockid_t): Likewise.
30023 [XPG3 || XPG4] (timer_t): Likewise.
30024 [XPG3 || XPG4] (clock_getres): Likewise.
30025 [XPG3 || XPG4] (clock_gettime): Likewise.
30026 [XPG3 || XPG4] (clock_settime): Likewise.
30027 [XPG3 || XPG4] (nanosleep): Likewise.
30028 [XPG3 || XPG4] (timer_create): Likewise.
30029 [XPG3 || XPG4] (timer_delete): Likewise.
30030 [XPG3 || XPG4] (timer_gettime): Likewise.
30031 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30032 [XPG3 || XPG4] (timer_settime): Likewise.
30033 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30034 [XPG3 || XPG4] (getlogin_r): Likewise.
30035 [XPG3 || XPG4] (pread): Likewise.
30036 [XPG3 || XPG4] (pthread_atfork): Likewise.
30037 [XPG3 || XPG4] (pwrite): Likewise.
30040 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30043 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30045 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30046 finalizing MALLSTREAM.
30048 * sysdeps/mach/hurd/syncfs.c: New file.
30050 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30053 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30054 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30055 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30056 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30057 (_nss_dns_gethostbyname4_r): Likewise.
30058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30059 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30061 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30064 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30066 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30068 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30069 * elf/cache.c (print_entry): Print ",AArch64" for
30072 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30073 * elf/cache.c (print_entry): Print ",hard-float" for
30076 2012-11-18 David S. Miller <davem@davemloft.net>
30078 With help from Joseph Myers.
30079 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30081 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30083 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30084 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30086 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30087 * math/libm-test.inc (y0_test): New tests.
30088 (y1_test): New tests.
30089 * sysdeps/i386/fpu/libm-test-ulps: Update.
30090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30093 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30095 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30097 * configure: Regenerated.
30099 2012-11-17 David S. Miller <davem@davemloft.net>
30102 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30103 nonzero exponents with absolute value below 0x1p-128 to +/-
30106 2012-11-17 Joseph Myers <joseph@codesourcery.com>
30108 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30110 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30112 * posix/getconf-speclist.c: New file.
30113 * posix/posix-envs.def: Likewise.
30114 * posix/confstr.c (START_ENV_GROUP): New macro.
30115 (END_ENV_GROUP): Likewise.
30116 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30117 (KNOWN_PRESENT_ENV_STRING): Likewise.
30118 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30119 (UNKNOWN_ENVIRONMENT): Likewise.
30120 (confstr): Include posix-envs.def instead of handling
30121 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30122 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30123 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30124 (END_ENV_GROUP): Likewise.
30125 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30126 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30127 (UNKNOWN_ENVIRONMENT): Likewise.
30128 (__sysconf): Include posix-envs.def instead of handling associated
30129 cases directly here.
30130 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30131 preprocessing getconf-speclist.c rather than running getconf or
30132 generating empty file.
30134 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30136 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30138 2012-11-16 Andrej Lajovic <natrij@gmail.com>
30141 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30143 2012-11-16 David S. Miller <davem@davemloft.net>
30145 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30146 smaller than LDBL_EPSILON/2.0L, just return xm1.
30148 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30150 * elf/tst-array1.c (init): Set constructor priority to 1000.
30151 (fini): Set destructor priority to 1000.
30152 * elf/tst-array2dep.c: Likewise.
30154 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30157 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30158 (_IO_new_file_xsputn): Also return EOF if none of the input
30159 data was written when overflow failed.
30160 * libio/iopadn.c (_IO_padn): Likewise.
30161 * libio/iowpadn.c (_IO_wpadn): Likewise.
30162 * stdio-common/tst-put-error.c: Add copyright notice.
30163 (do_test): Add case for printing padded string.
30164 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30165 _IO_padn returned error.
30166 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30167 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30170 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30172 * libio/libioP.h: Add comment note that the references to C++
30173 bits are now obsolete.
30175 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30177 * math/libm-test.inc (check_complex): Use asprintf.
30179 2012-11-14 Joseph Myers <joseph@codesourcery.com>
30181 * debug/pcprofiledump.c (print_version): Update copyright year.
30182 * malloc/memusagestat.c (print_version): Likewise.
30184 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30187 * elf/Makefile (tests): Add tst-audit8.
30188 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30189 ($(objpfx)tst-audit8.out): New target.
30190 (tst-audit8-ENV): New variable.
30191 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30192 audit if l_reloc_result is NULL.
30193 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30194 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30195 * elf/tst-audit8.c: New file.
30197 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30199 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30200 * misc/Makefile (CFLAGS-select.c): Define.
30201 * posix/Makefile (CFLAGS-pause.c): Define.
30203 2012-11-13 David S. Miller <davem@davemloft.net>
30205 * crypt/Makefile: Move test targets after toplevel Rules
30206 inclusion. Grab any necessary sysdep routines when linking.
30207 * crypt/md5.c (md5_process_block): Remove define, we will always
30208 name it __md5_process_block.
30209 (md5_finish_ctx): Update md5_process_block call.
30210 (md5_stream): Likewise.
30211 (md5_process_bytes): Likewise.
30212 (md5_process_block): Rename to __md5_process_block and move to ...
30213 * crypt/md5-block.c: ... here.
30214 * crypt/sha256.c (sha256_process_block): Move to ...
30215 * crypt/sha256-block.c: ... here.
30216 * crypt/sha512.c (sha512_process_block): Move to ...
30217 * crypt/sha512-block.c: ... here.
30218 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30220 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30221 * sysdeps/sparc/sparc64/multiarch/Makefile
30222 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30224 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30225 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30227 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30228 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30229 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30230 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30231 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30232 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30233 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30234 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30237 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30238 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30240 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30242 2012-11-13 Joseph Myers <joseph@codesourcery.com>
30244 * timezone/tzselect.ksh: Update from tzcode git revision
30245 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30246 * timezone/zdump.c: Likewise.
30247 * timezone/zic.c: Likewise.
30248 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30249 in TZVERSION setting, not $(PKGVERSION).
30250 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30251 REPORT_BUGS_TO settings.
30254 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30257 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30259 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30260 detection to immediately after _FP_ROUND().
30261 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30264 2012-11-11 David S. Miller <davem@davemloft.net>
30266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30268 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30269 __close rather than their public counterparts.
30271 2012-11-10 Joseph Myers <joseph@codesourcery.com>
30273 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30275 [UNIX98] (sem_timedwait): Do not expect.
30276 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30277 [XPG4 || UNIX98] (sockatmark): Do not expect.
30278 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30279 (clock_getcpuclockid): Do not expect.
30280 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30281 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30283 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30284 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30285 [UNIX98] (vwscanf): Likewise.
30286 [UNIX98] (vswscanf): Likewise.
30288 2012-11-09 Joseph Myers <joseph@codesourcery.com>
30290 * timezone/version.h: Remove file.
30291 * timezone/README: Do not refer to version.h.
30292 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30293 $(objpfx)version.h.
30294 ($(objpfx)zdump.o): Likewise.
30295 ($(objpfx)version.h): New target.
30297 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30299 * timezone/README: Don't mention modification to tzselect.ksh.
30300 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30301 work on unmodified tzselect.ksh. Substitute version numbers in
30304 * Makefile (format-me): Remove.
30305 (INSTALL): Adjust indentation. Use commands directly instead of
30306 using $(format-me).
30308 * aclocal.m4 (ACX_PKGVERSION): New macro.
30309 (ACX_BUGURL): Likewise.
30310 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30311 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30312 (REPORT_BUGS_TO): Likewise.
30313 * configure: Regenerated.
30314 * config.h.in (PKGVERSION): New macro.
30315 (REPORT_BUGS_TO): Likewise.
30316 * config.make.in (PKGVERSION): New variable.
30317 (PKGVERSION_TEXI): Likewise.
30318 (REPORT_BUGS_TO): Likewise.
30319 (REPORT_BUGS_TEXI): Likewise.
30320 * Makefile (format-me): Use -I$(common-objpfx)manual.
30321 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30322 ($(common-objpfx)manual/%): New target.
30323 (manual/%): Remove target.
30324 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30325 (print_version): Use PKGVERSION.
30326 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30327 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30328 and REPORT_BUGS_TO.
30329 ($(objpfx)xtrace): Likewise.
30330 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30331 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30332 (print_version): Use PKGVERSION.
30333 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30334 (do_version): Use PKGVERSION.
30335 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30337 (common-ldd-rewrite): Likewise.
30338 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30339 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30340 (print_version): Use PKGVERSION.
30341 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30342 * elf/pldd.c (argp_program_bug_address): Remove variable.
30343 (more_help): New function.
30344 (argp): Use more_help.
30345 (print_version): Use PKGVERSION.
30346 * elf/sln.c (main): Use PKGVERSION.
30347 (usage): Use REPORT_BUGS_TO.
30348 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30349 (top level): Use PKGVERSION.
30350 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30351 (print_version): Use PKGVERSION.
30352 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30353 (print_version): Use PKGVERSION.
30354 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30355 (print_version): Use PKGVERSION.
30356 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30357 (print_version): Use PKGVERSION.
30358 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30359 (print_version): Use PKGVERSION.
30360 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30361 (print_version): Use PKGVERSION.
30362 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30364 ($(objpfx)memusage): Likewise.
30365 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30366 (do_version): Use PKGVERSION.
30367 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30368 (print_version): Use PKGVERSION.
30369 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30370 ($PKGVERSION): New variable.
30371 ($REPORT_BUGS_TO): Likewise.
30372 (usage): Use $REPORT_BUGS_TO.
30373 (top level): Use $PKGVERSION.
30374 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30375 ($(objpfx)pkgvers.texi): New rule.
30376 ($(objpfx)stamp-pkgvers): Likewise.
30377 * manual/install.texi: Include pkgvers.texi.
30378 (--with-pkgversion): Document new configure option.
30379 (--with-bugurl): Likewise.
30380 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30381 than necessarily for this particular distribution. Use
30382 REPORT_BUGS_TO for where to report bugs.
30383 * INSTALL: Regenerated.
30384 * manual/libc.texinfo: Include pkgvers.texi.
30385 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30386 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30387 (print_version): Use PKGVERSION.
30388 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30389 (print_version): Use PKGVERSION.
30390 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30391 (print_version): Use PKGVERSION.
30392 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30393 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30395 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30396 (print_version): Use PKGVERSION.
30397 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30398 (print_version): Use PKGVERSION.
30399 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30402 * timezone/checktab.awk: Update from tzcode 2012i.
30403 * timezone/ialloc.c: Likewise.
30404 * timezone/private.h: Likewise.
30405 * timezone/scheck.c: Likewise.
30406 * timezone/tzfile.h: Likewise.
30407 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30408 (TZVERSION): Hardcode tzcode version number.
30409 * timezone/zdump.c: Update from tzcode 2012i.
30410 * timezone/zic.c: Likewise.
30411 * timezone/version.h: New file.
30412 * timezone/README: Describe version.h. Update upstream location.
30415 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30416 (mktemp): Enable declaration.
30417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30434 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30435 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30436 for copies of such integer values.
30437 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30438 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30440 2012-11-09 Andreas Jaeger <aj@suse.de>
30442 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30443 definitions and declarations that are provided by
30444 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30446 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30448 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30449 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30450 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30453 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30455 * elf/elf.h: Update comment before AArch64 relocations.
30457 2012-11-07 David S. Miller <davem@davemloft.net>
30459 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30460 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30461 (__start_context): Declare.
30462 (__makecontext_ret): Delete.
30463 (__makecontext): Hook up __start_context instead of
30465 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30466 (sysdep_routines): Add __start_context when in stdlib.
30468 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30470 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30471 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30472 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30474 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30475 (READELF): New variable. Use it instead of hardcoded "readelf".
30477 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30479 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30480 * sysdeps/x86/Makefile: Here.
30481 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30482 * sysdeps/x86/tst-xmmymm.sh: This.
30484 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30486 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30488 [UNIX98] (pthread_barrier_t): Do not expect.
30489 [UNIX98] (pthread_barrierattr_t): Likewise.
30490 [UNIX98] (pthread_spinlock_t): Likewise.
30491 [UNIX98] (pthread_barrier_destroy): Likewise.
30492 [UNIX98] (pthread_barrier_init): Likewise.
30493 [UNIX98] (pthread_barrier_wait): Likewise.
30494 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30495 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30496 [UNIX98] (pthread_barrierattr_init): Likewise.
30497 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30498 [UNIX98] (pthread_getcpuclockid): Likewise.
30499 [UNIX98] (pthread_mutex_timedlock): Likewise.
30500 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30501 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30502 [UNIX98] (pthread_sigmask): Likewise.
30503 [UNIX98] (pthread_spin_destroy): Likewise.
30504 [UNIX98] (pthread_spin_init): Likewise.
30505 [UNIX98] (pthread_spin_lock): Likewise.
30506 [UNIX98] (pthread_spin_trylock): Likewise.
30507 [UNIX98] (pthread_spin_unlock): Likewise.
30508 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30510 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30511 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30512 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30513 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30514 [XPG3 || XPG4] (pthread_key_t): Likewise.
30515 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30516 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30517 [XPG3 || XPG4] (pthread_once_t): Likewise.
30518 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30519 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30520 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30521 [XPG3 || XPG4] (pthread_t): Likewise.
30523 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30525 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30527 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30528 Change function return type to int.
30530 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30531 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30532 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30533 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30534 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30535 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30536 [!POSIX] (posix_madvise): Likewise.
30537 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30539 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30540 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30541 (mode_t): Likewise.
30542 (posix_mem_offset): Likewise.
30543 (posix_typed_mem_get_info): Likewise.
30544 (posix_typed_mem_open): Likewise.
30546 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30547 Change condition to [XOPEN2K8].
30549 * conform/conformtest.pl: Preprocess allow-header data with -x c
30550 instead of from stdin.
30551 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30552 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30553 [C99-based standards] (cerfc): Likewise.
30554 [C99-based standards] (cexp2): Likewise.
30555 [C99-based standards] (cexpm1): Likewise.
30556 [C99-based standards] (clog10): Likewise.
30557 [C99-based standards] (clog1p): Likewise.
30558 [C99-based standards] (clog2): Likewise.
30559 [C99-based standards] (clgamma): Likewise.
30560 [C99-based standards] (ctgamma): Likewise.
30561 [C99-based standards] (cerff): Likewise.
30562 [C99-based standards] (cerfcf): Likewise.
30563 [C99-based standards] (cexp2f): Likewise.
30564 [C99-based standards] (cexpm1f): Likewise.
30565 [C99-based standards] (clog10f): Likewise.
30566 [C99-based standards] (clog1pf): Likewise.
30567 [C99-based standards] (clog2f): Likewise.
30568 [C99-based standards] (clgammaf): Likewise.
30569 [C99-based standards] (ctgammaf): Likewise.
30570 [C99-based standards] (cerfl): Likewise.
30571 [C99-based standards] (cerfcl): Likewise.
30572 [C99-based standards] (cexp2l): Likewise.
30573 [C99-based standards] (cexpm1l): Likewise.
30574 [C99-based standards] (clog10l): Likewise.
30575 [C99-based standards] (clog1pl): Likewise.
30576 [C99-based standards] (clog2l): Likewise.
30577 [C99-based standards] (clgammal): Likewise.
30578 [C99-based standards] (ctgammal): Likewise.
30579 * conform/data/inttypes.h-data [C99-based standards]: Include
30580 stdint.h-data. Remove all expectations for stdint.h contents.
30581 [C99-based standards] (PRI*): Do not allow.
30582 [C99-based standards] (SCN*): Likewise.
30583 [C99-based standards] (*_t): Likewise.
30584 [C99-based-standards] (PRId8): Expect macro.
30585 [C99-based-standards] (PRIi8): Likewise.
30586 [C99-based-standards] (PRIo8): Likewise.
30587 [C99-based-standards] (PRIu8): Likewise.
30588 [C99-based-standards] (PRIx8): Likewise.
30589 [C99-based-standards] (PRIX8): Likewise.
30590 [C99-based-standards] (SCNd8): Likewise.
30591 [C99-based-standards] (SCNi8): Likewise.
30592 [C99-based-standards] (SCNo8): Likewise.
30593 [C99-based-standards] (SCNu8): Likewise.
30594 [C99-based-standards] (SCNx8): Likewise.
30595 [C99-based-standards] (PRIdLEAST8): Likewise.
30596 [C99-based-standards] (PRIiLEAST8): Likewise.
30597 [C99-based-standards] (PRIoLEAST8): Likewise.
30598 [C99-based-standards] (PRIuLEAST8): Likewise.
30599 [C99-based-standards] (PRIxLEAST8): Likewise.
30600 [C99-based-standards] (PRIXLEAST8): Likewise.
30601 [C99-based-standards] (SCNdLEAST8): Likewise.
30602 [C99-based-standards] (SCNiLEAST8): Likewise.
30603 [C99-based-standards] (SCNoLEAST8): Likewise.
30604 [C99-based-standards] (SCNuLEAST8): Likewise.
30605 [C99-based-standards] (SCNxLEAST8): Likewise.
30606 [C99-based-standards] (PRIdFAST8): Likewise.
30607 [C99-based-standards] (PRIiFAST8): Likewise.
30608 [C99-based-standards] (PRIoFAST8): Likewise.
30609 [C99-based-standards] (PRIuFAST8): Likewise.
30610 [C99-based-standards] (PRIxFAST8): Likewise.
30611 [C99-based-standards] (PRIXFAST8): Likewise.
30612 [C99-based-standards] (SCNdFAST8): Likewise.
30613 [C99-based-standards] (SCNiFAST8): Likewise.
30614 [C99-based-standards] (SCNoFAST8): Likewise.
30615 [C99-based-standards] (SCNuFAST8): Likewise.
30616 [C99-based-standards] (SCNxFAST8): Likewise.
30617 [C99-based-standards] (PRId16): Likewise.
30618 [C99-based-standards] (PRIi16): Likewise.
30619 [C99-based-standards] (PRIo16): Likewise.
30620 [C99-based-standards] (PRIu16): Likewise.
30621 [C99-based-standards] (PRIx16): Likewise.
30622 [C99-based-standards] (PRIX16): Likewise.
30623 [C99-based-standards] (SCNd16): Likewise.
30624 [C99-based-standards] (SCNi16): Likewise.
30625 [C99-based-standards] (SCNo16): Likewise.
30626 [C99-based-standards] (SCNu16): Likewise.
30627 [C99-based-standards] (SCNx16): Likewise.
30628 [C99-based-standards] (PRIdLEAST16): Likewise.
30629 [C99-based-standards] (PRIiLEAST16): Likewise.
30630 [C99-based-standards] (PRIoLEAST16): Likewise.
30631 [C99-based-standards] (PRIuLEAST16): Likewise.
30632 [C99-based-standards] (PRIxLEAST16): Likewise.
30633 [C99-based-standards] (PRIXLEAST16): Likewise.
30634 [C99-based-standards] (SCNdLEAST16): Likewise.
30635 [C99-based-standards] (SCNiLEAST16): Likewise.
30636 [C99-based-standards] (SCNoLEAST16): Likewise.
30637 [C99-based-standards] (SCNuLEAST16): Likewise.
30638 [C99-based-standards] (SCNxLEAST16): Likewise.
30639 [C99-based-standards] (PRIdFAST16): Likewise.
30640 [C99-based-standards] (PRIiFAST16): Likewise.
30641 [C99-based-standards] (PRIoFAST16): Likewise.
30642 [C99-based-standards] (PRIuFAST16): Likewise.
30643 [C99-based-standards] (PRIxFAST16): Likewise.
30644 [C99-based-standards] (PRIXFAST16): Likewise.
30645 [C99-based-standards] (SCNdFAST16): Likewise.
30646 [C99-based-standards] (SCNiFAST16): Likewise.
30647 [C99-based-standards] (SCNoFAST16): Likewise.
30648 [C99-based-standards] (SCNuFAST16): Likewise.
30649 [C99-based-standards] (SCNxFAST16): Likewise.
30650 [C99-based-standards] (PRId32): Likewise.
30651 [C99-based-standards] (PRIi32): Likewise.
30652 [C99-based-standards] (PRIo32): Likewise.
30653 [C99-based-standards] (PRIu32): Likewise.
30654 [C99-based-standards] (PRIx32): Likewise.
30655 [C99-based-standards] (PRIX32): Likewise.
30656 [C99-based-standards] (SCNd32): Likewise.
30657 [C99-based-standards] (SCNi32): Likewise.
30658 [C99-based-standards] (SCNo32): Likewise.
30659 [C99-based-standards] (SCNu32): Likewise.
30660 [C99-based-standards] (SCNx32): Likewise.
30661 [C99-based-standards] (PRIdLEAST32): Likewise.
30662 [C99-based-standards] (PRIiLEAST32): Likewise.
30663 [C99-based-standards] (PRIoLEAST32): Likewise.
30664 [C99-based-standards] (PRIuLEAST32): Likewise.
30665 [C99-based-standards] (PRIxLEAST32): Likewise.
30666 [C99-based-standards] (PRIXLEAST32): Likewise.
30667 [C99-based-standards] (SCNdLEAST32): Likewise.
30668 [C99-based-standards] (SCNiLEAST32): Likewise.
30669 [C99-based-standards] (SCNoLEAST32): Likewise.
30670 [C99-based-standards] (SCNuLEAST32): Likewise.
30671 [C99-based-standards] (SCNxLEAST32): Likewise.
30672 [C99-based-standards] (PRIdFAST32): Likewise.
30673 [C99-based-standards] (PRIiFAST32): Likewise.
30674 [C99-based-standards] (PRIoFAST32): Likewise.
30675 [C99-based-standards] (PRIuFAST32): Likewise.
30676 [C99-based-standards] (PRIxFAST32): Likewise.
30677 [C99-based-standards] (PRIXFAST32): Likewise.
30678 [C99-based-standards] (SCNdFAST32): Likewise.
30679 [C99-based-standards] (SCNiFAST32): Likewise.
30680 [C99-based-standards] (SCNoFAST32): Likewise.
30681 [C99-based-standards] (SCNuFAST32): Likewise.
30682 [C99-based-standards] (SCNxFAST32): Likewise.
30683 [C99-based-standards] (PRId64): Likewise.
30684 [C99-based-standards] (PRIi64): Likewise.
30685 [C99-based-standards] (PRIo64): Likewise.
30686 [C99-based-standards] (PRIu64): Likewise.
30687 [C99-based-standards] (PRIx64): Likewise.
30688 [C99-based-standards] (PRIX64): Likewise.
30689 [C99-based-standards] (SCNd64): Likewise.
30690 [C99-based-standards] (SCNi64): Likewise.
30691 [C99-based-standards] (SCNo64): Likewise.
30692 [C99-based-standards] (SCNu64): Likewise.
30693 [C99-based-standards] (SCNx64): Likewise.
30694 [C99-based-standards] (PRIdLEAST64): Likewise.
30695 [C99-based-standards] (PRIiLEAST64): Likewise.
30696 [C99-based-standards] (PRIoLEAST64): Likewise.
30697 [C99-based-standards] (PRIuLEAST64): Likewise.
30698 [C99-based-standards] (PRIxLEAST64): Likewise.
30699 [C99-based-standards] (PRIXLEAST64): Likewise.
30700 [C99-based-standards] (SCNdLEAST64): Likewise.
30701 [C99-based-standards] (SCNiLEAST64): Likewise.
30702 [C99-based-standards] (SCNoLEAST64): Likewise.
30703 [C99-based-standards] (SCNuLEAST64): Likewise.
30704 [C99-based-standards] (SCNxLEAST64): Likewise.
30705 [C99-based-standards] (PRIdFAST64): Likewise.
30706 [C99-based-standards] (PRIiFAST64): Likewise.
30707 [C99-based-standards] (PRIoFAST64): Likewise.
30708 [C99-based-standards] (PRIuFAST64): Likewise.
30709 [C99-based-standards] (PRIxFAST64): Likewise.
30710 [C99-based-standards] (PRIXFAST64): Likewise.
30711 [C99-based-standards] (SCNdFAST64): Likewise.
30712 [C99-based-standards] (SCNiFAST64): Likewise.
30713 [C99-based-standards] (SCNoFAST64): Likewise.
30714 [C99-based-standards] (SCNuFAST64): Likewise.
30715 [C99-based-standards] (SCNxFAST64): Likewise.
30716 [C99-based-standards] (PRIdMAX): Likewise.
30717 [C99-based-standards] (PRIiMAX): Likewise.
30718 [C99-based-standards] (PRIoMAX): Likewise.
30719 [C99-based-standards] (PRIuMAX): Likewise.
30720 [C99-based-standards] (PRIxMAX): Likewise.
30721 [C99-based-standards] (PRIXMAX): Likewise.
30722 [C99-based-standards] (SCNdMAX): Likewise.
30723 [C99-based-standards] (SCNiMAX): Likewise.
30724 [C99-based-standards] (SCNoMAX): Likewise.
30725 [C99-based-standards] (SCNuMAX): Likewise.
30726 [C99-based-standards] (SCNxMAX): Likewise.
30727 [C99-based-standards] (PRIdPTR): Likewise.
30728 [C99-based-standards] (PRIiPTR): Likewise.
30729 [C99-based-standards] (PRIoPTR): Likewise.
30730 [C99-based-standards] (PRIuPTR): Likewise.
30731 [C99-based-standards] (PRIxPTR): Likewise.
30732 [C99-based-standards] (PRIXPTR): Likewise.
30733 [C99-based-standards] (SCNdPTR): Likewise.
30734 [C99-based-standards] (SCNiPTR): Likewise.
30735 [C99-based-standards] (SCNoPTR): Likewise.
30736 [C99-based-standards] (SCNuPTR): Likewise.
30737 [C99-based-standards] (SCNxPTR): Likewise.
30738 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30740 * conform/data/stdint.h-data: Update comments to clarify
30742 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30744 [C99-based standards] (INT8_MAX): Likewise.
30745 [C99-based standards] (INT16_MIN): Likewise.
30746 [C99-based standards] (INT16_MAX): Likewise.
30747 [C99-based standards] (INT32_MIN): Likewise.
30748 [C99-based standards] (INT32_MAX): Likewise.
30749 [C99-based standards] (INT64_MIN): Likewise.
30750 [C99-based standards] (INT64_MAX): Likewise.
30751 [C99-based standards] (UINT8_MAX): Likewise.
30752 [C99-based standards] (UINT16_MAX): Likewise.
30753 [C99-based standards] (UINT32_MAX): Likewise.
30754 [C99-based standards] (UINT64_MAX): Likewise.
30755 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30756 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30757 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30758 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30759 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30760 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30761 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30762 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30763 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30764 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30765 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30766 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30767 [C99-based standards] (INT_FAST8_MIN): Likewise.
30768 [C99-based standards] (INT_FAST8_MAX): Likewise.
30769 [C99-based standards] (INT_FAST16_MIN): Likewise.
30770 [C99-based standards] (INT_FAST16_MAX): Likewise.
30771 [C99-based standards] (INT_FAST32_MIN): Likewise.
30772 [C99-based standards] (INT_FAST32_MAX): Likewise.
30773 [C99-based standards] (INT_FAST64_MIN): Likewise.
30774 [C99-based standards] (INT_FAST64_MAX): Likewise.
30775 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30776 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30777 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30778 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30779 [C99-based standards] (INTPTR_MIN): Likewise.
30780 [C99-based standards] (INTPTR_MAX): Likewise.
30781 [C99-based standards] (UINTPTR_MAX): Likewise.
30782 [C99-based standards] (INTMAX_MIN): Likewise.
30783 [C99-based standards] (INTMAX_MAX): Likewise.
30784 [C99-based standards] (UINTMAX_MAX): Likewise.
30785 [C99-based standards] (PTRDIFF_MIN): Likewise.
30786 [C99-based standards] (PTRDIFF_MAX): Likewise.
30787 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30788 [C99-based standards] (SIZE_MAX): Likewise.
30789 [C99-based standards] (WCHAR_MAX): Likewise.
30790 [C99-based standards] (WINT_MAX): Likewise.
30791 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30792 constraint on value.
30793 [C99-based standards] (WCHAR_MIN): Likewise.
30794 [C99-based standards] (WINT_MIN): Likewise.
30795 [C99-based standards] (*_t): Allow.
30796 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30797 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30798 Include math.h-data and complex.h-data. Remove all expectations
30799 of math.h and complex.h contents.
30800 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30802 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30803 (struct tm): Expect tag.
30804 [C99-based-standards] (wcstof): Expect function.
30805 [C99-based-standards] (wcstold): Likewise.
30806 [C99-based-standards] (wcstoll): Likewise.
30807 [C99-based-standards] (wcstoull): Likewise.
30808 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30809 macro-int-constant. Specify type.
30810 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30811 constraint on value.
30812 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30814 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30816 [ISO C standards]: Do not allow headers.
30817 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30818 wcs[abcdefghijklmnopqrstuvwxyz]*.
30819 [ISO C standards] (*_t): Do not allow.
30820 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30822 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30823 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30825 [ISO C standards]: Do not allow headers.
30826 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30827 is[abcdefghijklmnopqrstuvwxyz]*.
30828 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30829 to[abcdefghijklmnopqrstuvwxyz]*.
30830 [ISO C standards] (*_t): Do not allow.
30831 * conform/data/stdalign.h-data: New file.
30832 * conform/data/stdbool.h-data: Likewise.
30833 * conform/data/stdnoreturn.h-data: Likewise.
30835 2012-11-07 Roland McGrath <roland@hack.frob.com>
30838 * manual/filesys.texi (Directory Entries): Typo fix.
30839 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30841 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30843 * elf/elf.h (EM_AARCH64): New macro.
30844 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30845 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30846 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30847 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30848 (R_AARCH64_TLSDESC): Likewise.
30849 (NT_ARM_TLS): Likewise.
30850 (NT_ARM_HW_BREAK): Likewise.
30851 (NT_ARM_HW_WATCH): Likewise.
30853 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30856 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30857 (__ieee754_powl): Saturate nonzero exponents with absolute value
30858 below 0x1p-79 to +/- 0x1p-79.
30859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30860 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30861 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30862 nonzero exponents with absolute value below 0x1p-32 to +/-
30864 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30865 (__ieee754_powl): Saturate nonzero exponents with absolute value
30866 below 0x1p-79 to +/- 0x1p-79.
30867 * math/libm-test.inc (pow_test): Add more tests.
30869 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30871 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30872 _dl_s390_cap_flags with kernel. Increase string length.
30873 (_dl_s390_platforms): Add z196 and zEC12.
30875 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30877 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30878 Change XOPEN21K to XOPEN2K.
30880 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30882 * string/memmove.c: Use memcpy when possible.
30884 2012-11-06 Andreas Jaeger <aj@suse.de>
30886 * po/eo.po: Update from translation team.
30888 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30892 exponent and small x and y exponents, scale x or y up. Increase
30893 by 2 the exponent used in scaling up.
30894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30895 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30896 * math/libm-test.inc (fma_test): Add more tests.
30897 (fma_test_towardzero): Likewise.
30898 (fma_test_downward): Likewise.
30899 (fma_test_upward): Likewise.
30901 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30904 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30908 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30909 namespace for names of struct fields.
30910 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30912 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30913 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30915 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30918 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30920 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30922 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30926 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30929 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30933 definitely overflow as x * y not x * y + z.
30934 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30935 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30936 * math/libm-test.inc (fma_test): Add more tests.
30937 (fma_test_towardzero): Likewise.
30938 (fma_test_downward): Likewise.
30939 (fma_test_upward): Likewise.
30941 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30945 * include/stub-tag.h: Remove file.
30946 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30948 * manual/maint.texi (Porting): Don't reference it.
30949 * Makerules ($(objpfx)stubs): Likewise.
30950 * dirent/closedir.c: Don't include <stub-tag.h>.
30951 * dirent/dirfd.c: Likewise.
30952 * dirent/fdopendir.c: Likewise.
30953 * dirent/getdents.c: Likewise.
30954 * dirent/getdents64.c: Likewise.
30955 * dirent/opendir.c: Likewise.
30956 * dirent/readdir.c: Likewise.
30957 * dirent/readdir64.c: Likewise.
30958 * dirent/readdir64_r.c: Likewise.
30959 * dirent/readdir_r.c: Likewise.
30960 * dirent/rewinddir.c: Likewise.
30961 * dirent/seekdir.c: Likewise.
30962 * dirent/telldir.c: Likewise.
30963 * gmon/profil.c: Likewise.
30964 * grp/setgroups.c: Likewise.
30965 * inet/if_index.c: Likewise.
30966 * io/access.c: Likewise.
30967 * io/chdir.c: Likewise.
30968 * io/chmod.c: Likewise.
30969 * io/chown.c: Likewise.
30970 * io/close.c: Likewise.
30971 * io/dup.c: Likewise.
30972 * io/dup2.c: Likewise.
30973 * io/dup3.c: Likewise.
30974 * io/euidaccess.c: Likewise.
30975 * io/faccessat.c: Likewise.
30976 * io/fchdir.c: Likewise.
30977 * io/fchmod.c: Likewise.
30978 * io/fchmodat.c: Likewise.
30979 * io/fchown.c: Likewise.
30980 * io/fchownat.c: Likewise.
30981 * io/fcntl.c: Likewise.
30982 * io/flock.c: Likewise.
30983 * io/fstatfs.c: Likewise.
30984 * io/fstatfs64.c: Likewise.
30985 * io/fstatvfs.c: Likewise.
30986 * io/fstatvfs64.c: Likewise.
30987 * io/futimens.c: Likewise.
30988 * io/fxstat.c: Likewise.
30989 * io/fxstat64.c: Likewise.
30990 * io/fxstatat.c: Likewise.
30991 * io/fxstatat64.c: Likewise.
30992 * io/getcwd.c: Likewise.
30993 * io/isatty.c: Likewise.
30994 * io/lchmod.c: Likewise.
30995 * io/lchown.c: Likewise.
30996 * io/link.c: Likewise.
30997 * io/linkat.c: Likewise.
30998 * io/lseek.c: Likewise.
30999 * io/lseek64.c: Likewise.
31000 * io/lxstat64.c: Likewise.
31001 * io/mkdir.c: Likewise.
31002 * io/mkdirat.c: Likewise.
31003 * io/mkfifo.c: Likewise.
31004 * io/mkfifoat.c: Likewise.
31005 * io/open.c: Likewise.
31006 * io/open64.c: Likewise.
31007 * io/openat.c: Likewise.
31008 * io/openat64.c: Likewise.
31009 * io/pipe.c: Likewise.
31010 * io/pipe2.c: Likewise.
31011 * io/poll.c: Likewise.
31012 * io/posix_fadvise.c: Likewise.
31013 * io/posix_fadvise64.c: Likewise.
31014 * io/posix_fallocate.c: Likewise.
31015 * io/posix_fallocate64.c: Likewise.
31016 * io/read.c: Likewise.
31017 * io/readlink.c: Likewise.
31018 * io/readlinkat.c: Likewise.
31019 * io/rmdir.c: Likewise.
31020 * io/sendfile.c: Likewise.
31021 * io/sendfile64.c: Likewise.
31022 * io/statfs.c: Likewise.
31023 * io/statfs64.c: Likewise.
31024 * io/statvfs.c: Likewise.
31025 * io/statvfs64.c: Likewise.
31026 * io/symlink.c: Likewise.
31027 * io/symlinkat.c: Likewise.
31028 * io/ttyname.c: Likewise.
31029 * io/ttyname_r.c: Likewise.
31030 * io/umask.c: Likewise.
31031 * io/unlink.c: Likewise.
31032 * io/unlinkat.c: Likewise.
31033 * io/utime.c: Likewise.
31034 * io/utimensat.c: Likewise.
31035 * io/write.c: Likewise.
31036 * io/xmknod.c: Likewise.
31037 * io/xmknodat.c: Likewise.
31038 * io/xstat.c: Likewise.
31039 * io/xstat64.c: Likewise.
31040 * login/getpt.c: Likewise.
31041 * login/grantpt.c: Likewise.
31042 * login/unlockpt.c: Likewise.
31043 * math/e_acoshl.c: Likewise.
31044 * math/e_acosl.c: Likewise.
31045 * math/e_asinl.c: Likewise.
31046 * math/e_atan2l.c: Likewise.
31047 * math/e_atanhl.c: Likewise.
31048 * math/e_coshl.c: Likewise.
31049 * math/e_expl.c: Likewise.
31050 * math/e_fmodl.c: Likewise.
31051 * math/e_gammal_r.c: Likewise.
31052 * math/e_hypotl.c: Likewise.
31053 * math/e_j0l.c: Likewise.
31054 * math/e_j1l.c: Likewise.
31055 * math/e_jnl.c: Likewise.
31056 * math/e_lgammal_r.c: Likewise.
31057 * math/e_log10l.c: Likewise.
31058 * math/e_log2l.c: Likewise.
31059 * math/e_logl.c: Likewise.
31060 * math/e_powl.c: Likewise.
31061 * math/e_rem_pio2l.c: Likewise.
31062 * math/e_sinhl.c: Likewise.
31063 * math/e_sqrtl.c: Likewise.
31064 * math/fclrexcpt.c: Likewise.
31065 * math/fedisblxcpt.c: Likewise.
31066 * math/feenablxcpt.c: Likewise.
31067 * math/fegetenv.c: Likewise.
31068 * math/fegetexcept.c: Likewise.
31069 * math/fegetround.c: Likewise.
31070 * math/feholdexcpt.c: Likewise.
31071 * math/fesetenv.c: Likewise.
31072 * math/fesetround.c: Likewise.
31073 * math/feupdateenv.c: Likewise.
31074 * math/fgetexcptflg.c: Likewise.
31075 * math/fraiseexcpt.c: Likewise.
31076 * math/fsetexcptflg.c: Likewise.
31077 * math/ftestexcept.c: Likewise.
31078 * math/k_cosl.c: Likewise.
31079 * math/k_rem_pio2l.c: Likewise.
31080 * math/k_sinl.c: Likewise.
31081 * math/k_tanl.c: Likewise.
31082 * math/s_asinhl.c: Likewise.
31083 * math/s_atanl.c: Likewise.
31084 * math/s_cbrtl.c: Likewise.
31085 * math/s_erfl.c: Likewise.
31086 * math/s_expm1l.c: Likewise.
31087 * math/s_log1pl.c: Likewise.
31088 * math/s_tanhl.c: Likewise.
31089 * misc/acct.c: Likewise.
31090 * misc/brk.c: Likewise.
31091 * misc/chflags.c: Likewise.
31092 * misc/chroot.c: Likewise.
31093 * misc/fchflags.c: Likewise.
31094 * misc/fgetxattr.c: Likewise.
31095 * misc/flistxattr.c: Likewise.
31096 * misc/fremovexattr.c: Likewise.
31097 * misc/fsetxattr.c: Likewise.
31098 * misc/fsync.c: Likewise.
31099 * misc/ftruncate.c: Likewise.
31100 * misc/futimes.c: Likewise.
31101 * misc/futimesat.c: Likewise.
31102 * misc/getdomain.c: Likewise.
31103 * misc/getdtsz.c: Likewise.
31104 * misc/gethostid.c: Likewise.
31105 * misc/gethostname.c: Likewise.
31106 * misc/getloadavg.c: Likewise.
31107 * misc/getpagesize.c: Likewise.
31108 * misc/getsysstats.c: Likewise.
31109 * misc/getxattr.c: Likewise.
31110 * misc/gtty.c: Likewise.
31111 * misc/ioctl.c: Likewise.
31112 * misc/lgetxattr.c: Likewise.
31113 * misc/listxattr.c: Likewise.
31114 * misc/llistxattr.c: Likewise.
31115 * misc/lremovexattr.c: Likewise.
31116 * misc/lsetxattr.c: Likewise.
31117 * misc/lutimes.c: Likewise.
31118 * misc/madvise.c: Likewise.
31119 * misc/mincore.c: Likewise.
31120 * misc/mlock.c: Likewise.
31121 * misc/mlockall.c: Likewise.
31122 * misc/mmap.c: Likewise.
31123 * misc/mprotect.c: Likewise.
31124 * misc/msync.c: Likewise.
31125 * misc/munlock.c: Likewise.
31126 * misc/munlockall.c: Likewise.
31127 * misc/munmap.c: Likewise.
31128 * misc/preadv.c: Likewise.
31129 * misc/preadv64.c: Likewise.
31130 * misc/ptrace.c: Likewise.
31131 * misc/pwritev.c: Likewise.
31132 * misc/pwritev64.c: Likewise.
31133 * misc/readv.c: Likewise.
31134 * misc/reboot.c: Likewise.
31135 * misc/remap_file_pages.c: Likewise.
31136 * misc/removexattr.c: Likewise.
31137 * misc/revoke.c: Likewise.
31138 * misc/select.c: Likewise.
31139 * misc/setdomain.c: Likewise.
31140 * misc/setegid.c: Likewise.
31141 * misc/seteuid.c: Likewise.
31142 * misc/sethostid.c: Likewise.
31143 * misc/sethostname.c: Likewise.
31144 * misc/setregid.c: Likewise.
31145 * misc/setreuid.c: Likewise.
31146 * misc/setxattr.c: Likewise.
31147 * misc/sstk.c: Likewise.
31148 * misc/stty.c: Likewise.
31149 * misc/swapoff.c: Likewise.
31150 * misc/swapon.c: Likewise.
31151 * misc/sync.c: Likewise.
31152 * misc/syncfs.c: Likewise.
31153 * misc/syscall.c: Likewise.
31154 * misc/truncate.c: Likewise.
31155 * misc/ualarm.c: Likewise.
31156 * misc/usleep.c: Likewise.
31157 * misc/ustat.c: Likewise.
31158 * misc/utimes.c: Likewise.
31159 * misc/vhangup.c: Likewise.
31160 * misc/writev.c: Likewise.
31161 * posix/_exit.c: Likewise.
31162 * posix/alarm.c: Likewise.
31163 * posix/execve.c: Likewise.
31164 * posix/fexecve.c: Likewise.
31165 * posix/fork.c: Likewise.
31166 * posix/fpathconf.c: Likewise.
31167 * posix/getaddrinfo.c: Likewise.
31168 * posix/getegid.c: Likewise.
31169 * posix/geteuid.c: Likewise.
31170 * posix/getgid.c: Likewise.
31171 * posix/getgroups.c: Likewise.
31172 * posix/getlogin.c: Likewise.
31173 * posix/getlogin_r.c: Likewise.
31174 * posix/getpgid.c: Likewise.
31175 * posix/getpid.c: Likewise.
31176 * posix/getppid.c: Likewise.
31177 * posix/getresgid.c: Likewise.
31178 * posix/getresuid.c: Likewise.
31179 * posix/getsid.c: Likewise.
31180 * posix/getuid.c: Likewise.
31181 * posix/glob64.c: Likewise.
31182 * posix/nanosleep.c: Likewise.
31183 * posix/pathconf.c: Likewise.
31184 * posix/pause.c: Likewise.
31185 * posix/posix_madvise.c: Likewise.
31186 * posix/pread.c: Likewise.
31187 * posix/pread64.c: Likewise.
31188 * posix/pwrite.c: Likewise.
31189 * posix/pwrite64.c: Likewise.
31190 * posix/sched_getaffinity.c: Likewise.
31191 * posix/sched_getp.c: Likewise.
31192 * posix/sched_gets.c: Likewise.
31193 * posix/sched_primax.c: Likewise.
31194 * posix/sched_primin.c: Likewise.
31195 * posix/sched_rr_gi.c: Likewise.
31196 * posix/sched_setaffinity.c: Likewise.
31197 * posix/sched_setp.c: Likewise.
31198 * posix/sched_sets.c: Likewise.
31199 * posix/sched_yield.c: Likewise.
31200 * posix/setgid.c: Likewise.
31201 * posix/setlogin.c: Likewise.
31202 * posix/setpgid.c: Likewise.
31203 * posix/setresgid.c: Likewise.
31204 * posix/setresuid.c: Likewise.
31205 * posix/setsid.c: Likewise.
31206 * posix/setuid.c: Likewise.
31207 * posix/sleep.c: Likewise.
31208 * posix/spawni.c: Likewise.
31209 * posix/sysconf.c: Likewise.
31210 * posix/times.c: Likewise.
31211 * posix/wait.c: Likewise.
31212 * posix/wait3.c: Likewise.
31213 * posix/wait4.c: Likewise.
31214 * posix/waitpid.c: Likewise.
31215 * resolv/gai_sigqueue.c: Likewise.
31216 * resource/getpriority.c: Likewise.
31217 * resource/getrlimit.c: Likewise.
31218 * resource/getrusage.c: Likewise.
31219 * resource/nice.c: Likewise.
31220 * resource/setpriority.c: Likewise.
31221 * resource/setrlimit.c: Likewise.
31222 * resource/ulimit.c: Likewise.
31223 * rt/aio_cancel.c: Likewise.
31224 * rt/aio_fsync.c: Likewise.
31225 * rt/aio_read.c: Likewise.
31226 * rt/aio_sigqueue.c: Likewise.
31227 * rt/aio_suspend.c: Likewise.
31228 * rt/aio_write.c: Likewise.
31229 * rt/clock_getres.c: Likewise.
31230 * rt/clock_gettime.c: Likewise.
31231 * rt/clock_nanosleep.c: Likewise.
31232 * rt/clock_settime.c: Likewise.
31233 * rt/lio_listio.c: Likewise.
31234 * rt/mq_close.c: Likewise.
31235 * rt/mq_getattr.c: Likewise.
31236 * rt/mq_notify.c: Likewise.
31237 * rt/mq_open.c: Likewise.
31238 * rt/mq_receive.c: Likewise.
31239 * rt/mq_send.c: Likewise.
31240 * rt/mq_setattr.c: Likewise.
31241 * rt/mq_timedreceive.c: Likewise.
31242 * rt/mq_timedsend.c: Likewise.
31243 * rt/mq_unlink.c: Likewise.
31244 * rt/shm_open.c: Likewise.
31245 * rt/shm_unlink.c: Likewise.
31246 * rt/timer_create.c: Likewise.
31247 * rt/timer_delete.c: Likewise.
31248 * rt/timer_getoverr.c: Likewise.
31249 * rt/timer_gettime.c: Likewise.
31250 * rt/timer_settime.c: Likewise.
31251 * setjmp/__longjmp.c: Likewise.
31252 * setjmp/setjmp.c: Likewise.
31253 * signal/kill.c: Likewise.
31254 * signal/killpg.c: Likewise.
31255 * signal/raise.c: Likewise.
31256 * signal/sigaction.c: Likewise.
31257 * signal/sigaltstack.c: Likewise.
31258 * signal/sigblock.c: Likewise.
31259 * signal/sigignore.c: Likewise.
31260 * signal/sigintr.c: Likewise.
31261 * signal/signal.c: Likewise.
31262 * signal/sigpause.c: Likewise.
31263 * signal/sigpending.c: Likewise.
31264 * signal/sigqueue.c: Likewise.
31265 * signal/sigreturn.c: Likewise.
31266 * signal/sigset.c: Likewise.
31267 * signal/sigsetmask.c: Likewise.
31268 * signal/sigstack.c: Likewise.
31269 * signal/sigsuspend.c: Likewise.
31270 * signal/sigtimedwait.c: Likewise.
31271 * signal/sigvec.c: Likewise.
31272 * signal/sigwait.c: Likewise.
31273 * signal/sigwaitinfo.c: Likewise.
31274 * signal/sysv_signal.c: Likewise.
31275 * socket/accept.c: Likewise.
31276 * socket/accept4.c: Likewise.
31277 * socket/bind.c: Likewise.
31278 * socket/connect.c: Likewise.
31279 * socket/getpeername.c: Likewise.
31280 * socket/getsockname.c: Likewise.
31281 * socket/getsockopt.c: Likewise.
31282 * socket/isfdtype.c: Likewise.
31283 * socket/listen.c: Likewise.
31284 * socket/recv.c: Likewise.
31285 * socket/recvfrom.c: Likewise.
31286 * socket/recvmsg.c: Likewise.
31287 * socket/send.c: Likewise.
31288 * socket/sendmsg.c: Likewise.
31289 * socket/sendto.c: Likewise.
31290 * socket/setsockopt.c: Likewise.
31291 * socket/shutdown.c: Likewise.
31292 * socket/sockatmark.c: Likewise.
31293 * socket/socket.c: Likewise.
31294 * socket/socketpair.c: Likewise.
31295 * stdio-common/ctermid.c: Likewise.
31296 * stdio-common/cuserid.c: Likewise.
31297 * stdio-common/remove.c: Likewise.
31298 * stdio-common/rename.c: Likewise.
31299 * stdio-common/renameat.c: Likewise.
31300 * stdio-common/tempname.c: Likewise.
31301 * stdlib/getcontext.c: Likewise.
31302 * stdlib/makecontext.c: Likewise.
31303 * stdlib/setcontext.c: Likewise.
31304 * stdlib/swapcontext.c: Likewise.
31305 * stdlib/system.c: Likewise.
31306 * streams/fattach.c: Likewise.
31307 * streams/fdetach.c: Likewise.
31308 * streams/getmsg.c: Likewise.
31309 * streams/getpmsg.c: Likewise.
31310 * streams/putmsg.c: Likewise.
31311 * streams/putpmsg.c: Likewise.
31312 * sysdeps/unix/bsd/getpt.c: Likewise.
31313 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31314 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31315 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31318 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31319 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31320 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31321 * sysvipc/msgctl.c: Likewise.
31322 * sysvipc/msgget.c: Likewise.
31323 * sysvipc/msgrcv.c: Likewise.
31324 * sysvipc/msgsnd.c: Likewise.
31325 * sysvipc/semctl.c: Likewise.
31326 * sysvipc/semget.c: Likewise.
31327 * sysvipc/semop.c: Likewise.
31328 * sysvipc/semtimedop.c: Likewise.
31329 * sysvipc/shmat.c: Likewise.
31330 * sysvipc/shmctl.c: Likewise.
31331 * sysvipc/shmdt.c: Likewise.
31332 * sysvipc/shmget.c: Likewise.
31333 * termios/tcdrain.c: Likewise.
31334 * termios/tcflow.c: Likewise.
31335 * termios/tcflush.c: Likewise.
31336 * termios/tcgetattr.c: Likewise.
31337 * termios/tcgetpgrp.c: Likewise.
31338 * termios/tcsendbrk.c: Likewise.
31339 * termios/tcsetattr.c: Likewise.
31340 * termios/tcsetpgrp.c: Likewise.
31341 * time/adjtime.c: Likewise.
31342 * time/clock.c: Likewise.
31343 * time/getitimer.c: Likewise.
31344 * time/gettimeofday.c: Likewise.
31345 * time/setitimer.c: Likewise.
31346 * time/settimeofday.c: Likewise.
31347 * time/stime.c: Likewise.
31348 * time/time.c: Likewise.
31350 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
31352 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31355 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31357 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31359 2012-11-03 Joseph Myers <joseph@codesourcery.com>
31362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31363 FE_TONEAREST before applying Dekker multiplication and Knuth
31364 addition. Clear inexact exceptions and check for exact zero
31365 results afterwards.
31366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31367 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31368 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31369 * math/libm-test.inc (fma_test): Add more tests.
31370 (fma_test_towardzero): Likewise.
31371 (fma_test_downward): Likewise.
31372 (fma_test_upward): Likewise.
31373 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31375 (libc_fesetround): New macro.
31376 (libc_fesetroundf): Likewise.
31377 (libc_fesetroundl): Likewise.
31378 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31380 (libc_fesetround_387): Likewise.
31381 (libc_fesetroundf): New macro.
31382 (libc_fesetround): Likewise.
31383 (libc_fesetroundl): Likewise.
31384 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31386 (libc_fesetroundf): New macro.
31387 (libc_fesetround): Likewise.
31388 (libc_fesetroundl): Likewise.
31389 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31390 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31391 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31393 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31394 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31396 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31397 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31399 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31403 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31404 integer constant usable in #if and use that to give value to enum
31406 (FE_DIVBYZERO): Likewise.
31407 (FE_UNDERFLOW): Likewise.
31408 (FE_OVERFLOW): Likewise.
31409 (FE_INVALID): Likewise.
31410 (FE_INVALID_SNAN): Likewise.
31411 (FE_INVALID_ISI): Likewise.
31412 (FE_INVALID_IDI): Likewise.
31413 (FE_INVALID_ZDZ): Likewise.
31414 (FE_INVALID_IMZ): Likewise.
31415 (FE_INVALID_COMPARE): Likewise.
31416 (FE_INVALID_SOFTWARE): Likewise.
31417 (FE_INVALID_SQRT): Likewise.
31418 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31419 (FE_TONEAREST): Likewise.
31420 (FE_TOWARDZERO): Likewise.
31421 (FE_UPWARD): Likewise.
31422 (FE_DOWNWARD): Likewise.
31423 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31424 (FE_DIVBYZERO): Likewise.
31425 (FE_OVERFLOW): Likewise.
31426 (FE_UNDERFLOW): Likewise.
31427 (FE_INEXACT): Likewise.
31428 (FE_TONEAREST): Likewise.
31429 (FE_DOWNWARD): Likewise.
31430 (FE_UPWARD): Likewise.
31431 (FE_TOWARDZERO): Likewise.
31432 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31433 (FE_UNDERFLOW): Likewise.
31434 (FE_OVERFLOW): Likewise.
31435 (FE_DIVBYZERO): Likewise.
31436 (FE_INVALID): Likewise.
31437 (FE_TONEAREST): Likewise.
31438 (FE_TOWARDZERO): Likewise.
31439 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31440 (FE_OVERFLOW): Likewise.
31441 (FE_UNDERFLOW): Likewise.
31442 (FE_DIVBYZERO): Likewise.
31443 (FE_INEXACT): Likewise.
31444 (FE_TONEAREST): Likewise.
31445 (FE_TOWARDZERO): Likewise.
31446 (FE_UPWARD): Likewise.
31447 (FE_DOWNWARD): Likewise.
31448 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31449 (FE_DIVBYZERO): Likewise.
31450 (FE_OVERFLOW): Likewise.
31451 (FE_UNDERFLOW): Likewise.
31452 (FE_INEXACT): Likewise.
31453 (FE_TONEAREST): Likewise.
31454 (FE_DOWNWARD): Likewise.
31455 (FE_UPWARD): Likewise.
31456 (FE_TOWARDZERO): Likewise.
31458 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31460 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31462 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31464 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31465 commands. Quote $PWD.
31466 (blacklist_exports): Don't use remove_newlines. Replace "declare
31468 (remove_newlines): Remove.
31470 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31472 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31473 * stdlib/stdlib.h (atof): Moved to ...
31474 * include/bits/stdlib-float.h: Here. New file.
31475 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31476 * stdlib/bits/stdlib-float.h: New file.
31477 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31482 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31484 * conform/conformtest.pl (@headers): Add fenv.h.
31485 * conform/data/fenv.h-data: New file.
31486 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31487 include of <math/fenv.h>.
31489 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31490 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31491 && !UNIX98]. Enables tests for XOPEN2K8.
31492 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31493 POSIX2008]: Likewise.
31495 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31496 (struct rusage): Do not expect type or its members.
31499 * math/math.h (FP_NAN): Define macro to integer constant usable in
31500 #if and use that to give value to enum constant.
31501 (FP_INFINITE): Likewise.
31502 (FP_ZERO): Likewise.
31503 (FP_SUBNORMAL): Likewise.
31504 (FP_NORMAL): Likewise.
31506 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31508 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31509 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31512 2012-11-02 Roland McGrath <roland@hack.frob.com>
31514 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31515 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31516 autoconf-time if not.
31517 * configure.in: Remove AC_PREREQ.
31519 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31521 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31522 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31523 of the internal implementation.
31525 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31527 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31528 except include of <misc/sys/syslog.h>.
31530 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31533 function returns with a NULL context exit with zero.
31535 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31537 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31539 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31541 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31542 (run_program_cmd): This.
31543 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31544 (tst_langinfo): New variable. Use it.
31546 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31548 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31549 floating point opcodes.
31551 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31553 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31556 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31558 * sysdeps/mach/hurd/powerpc: Remove directory.
31559 * sysdeps/mach/powerpc: Likewise.
31561 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31563 * scripts/check-local-headers.sh: Ignore c++ headers.
31565 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31567 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31568 __libc_cleanup_region_start argument.
31570 2012-11-01 Joseph Myers <joseph@codesourcery.com>
31574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31575 x * y using scaling, not as x * y + z.
31576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31578 * math/libm-test.inc (fma_test): Add more tests.
31579 (fma_test_towardzero): Likewise.
31580 (fma_test_downward): Likewise.
31581 (fma_test_upward): Likewise.
31583 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31585 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31587 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31589 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31592 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31594 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31596 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31603 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31606 Fix the order of the list for glibc 2.17.
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31610 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31614 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31617 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31618 for low part of x being zero before using __atanl (y).
31619 * math/libm-test.inc (atan2_test): Add another test.
31621 * manual/install.texi (Configuring and compiling): Document
31622 general use of test-wrapper and test-wrapper-env.
31623 * INSTALL: Regenerated.
31625 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31626 (__fma): Do not extract and scale down low bits on after-rounding
31627 systems when result rounded to normal precision would have normal
31629 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31630 (__fmal): Do not extract and scale down low bits on after-rounding
31631 systems when result rounded to normal precision would have normal
31633 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31634 (__fmal): Do not extract and scale down low bits on after-rounding
31635 systems when result rounded to normal precision would have normal
31637 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31639 (fma_test): Add more tests.
31640 (fma_test_towardzero): Likewise.
31641 (fma_test_downward): Likewise.
31642 (fma_test_upward): Likewise.
31644 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31646 * sysdeps/i386/tininess.h: Renamed to ...
31647 * sysdeps/x86/tininess.h: This.
31648 * sysdeps/x86_64/tininess.h: Removed.
31650 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31652 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31653 input. Use $(build-program-cmd).
31654 ($(objpfx)tst-array1-static.out): Likewise.
31655 ($(objpfx)tst-array2.out): Likewise.
31656 ($(objpfx)tst-array3.out): Likewise.
31657 ($(objpfx)tst-array4.out): Likewise.
31658 ($(objpfx)tst-array5.out): Likewise.
31659 ($(objpfx)tst-array5-static.out): Likewise.
31661 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31663 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31666 * nss/nsswitch.h (nss_interface_function): Provide new
31667 macro for use with NSS functions.
31668 * grp/initgroups.c: Use new macro.
31669 * nss/getXXbyYY.c: Likewise.
31670 * nss/getXXbyYY_r.c: Likewise.
31671 * nss/getXXent.c: Likewise.
31672 * nss/getXXent_r.c: Likewise.
31673 * sysdeps/posix/getaddrinfo.c: Likewise.
31675 2012-10-30 Andreas Jaeger <aj@suse.de>
31677 * po/ru.po: Update Russion translation from translation project.
31679 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31684 result and shift together with sticky bit instead of replicating
31685 round-to-nearest rounding.
31686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31687 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31688 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31689 missing underflow exceptions.
31690 (fma_test_towardzero): Add more tests.
31691 (fma_test_downward): Likewise.
31692 (fma_test_upward): Likewise.
31695 * sysdeps/generic/tininess.h: New file.
31696 * sysdeps/i386/tininess.h: Likewise.
31697 * sysdeps/sh/tininess.h: Likewise.
31698 * sysdeps/x86_64/tininess.h: Likewise.
31699 * stdlib/tst-strtod-underflow.c: Likewise.
31700 * stdlib/tst-tininess.c: Likewise.
31701 * stdlib/strtod_l.c: Include <tininess.h>.
31702 (round_and_return): Do not set errno for exact underflow cases.
31703 Force an underflow exception when setting errno for underflow.
31704 Determine underflow based on rounding to normal precision if
31705 TININESS_AFTER_ROUNDING.
31706 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31707 ERANGE for exact underflow cases.
31708 * stdlib/Makefile (tests): Add tst-tininess and
31709 tst-strtod-underflow.
31710 ($(objpfx)tst-tininess): Use $(link-libm).
31711 ($(objpfx)tst-strtod-underflow): Likewise.
31713 2012-10-30 Andreas Jaeger <aj@suse.de>
31716 * elf/Makefile (tests): Remove conditional for have-initfini-array
31717 since this is now always required and the variable does not exist
31719 (tests-static): Likewise.
31720 (modules-names): Likewise.
31722 * po/eo.po: Add Esperanto translation from translation project.
31724 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31725 merged with constructor/destructor.
31726 (init_array): Likewise.
31727 * elf/tst-array2dep.c (fini_array): Likewise.
31728 (init_array): Likewise.
31730 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31732 * manual/message.texi: Delete @cartouche tags.
31734 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31736 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31738 * sysdeps/mach/hurd/fsync.c: Likewise.
31740 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31741 [_POSIX_REALTIME_SIGNALS]: Change condition to
31742 [_POSIX_REALTIME_SIGNALS > 0].
31744 2012-10-27 Andreas Jaeger <aj@suse.de>
31746 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31747 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31749 [__WORDSIZE != 64]: Likewise.
31751 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31753 * iconvdata/tst-table.sh: Remove ${SHELL}.
31754 * iconvdata/tst-tables.sh: Likewise.
31756 2012-10-25 David S. Miller <davem@davemloft.net>
31758 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31759 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31764 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31765 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31766 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31769 2012-10-25 Roland McGrath <roland@hack.frob.com>
31771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31772 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31775 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31776 Jim Blandy <jimb@codesourcery.com>
31778 * scripts/cross-test-ssh.sh: New file.
31779 * manual/install.texi (Configuring and compiling): Document use of
31781 * INSTALL: Regenerated.
31783 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31785 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31788 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31790 * Makeconfig (run-program-prefix): Fix comment.
31792 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31793 Jim Blandy <jimb@codesourcery.com>
31795 * Makeconfig (test-wrapper): New variable,
31796 (test-wrapper-env): Likewise.
31797 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31798 (run-built-tests): Define to yes.
31799 (run-program-prefix): Use $(test-wrapper).
31800 (built-program-cmd): Likewise.
31801 * Rules (make-test-out): Use $(test-wrapper-env) and
31802 $(host-built-program-cmd).
31803 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31804 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31806 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31807 $(test-wrapper-env) to tst-rtld-load-self.sh.
31808 ($(objpfx)order2.out): Use $(test-wrapper).
31809 ($(objpfx)tst-initorder.out): Likewise.
31810 ($(objpfx)tst-initorder2.out): Likewise.
31811 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31812 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31813 (test_wrapper_env): New variable. Use it to run ld.so.
31814 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31815 Use it to run ld.so.
31816 (test_wrapper_env): Likewise.
31817 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31818 $(test-wrapper) to run-iconv-test.sh.
31819 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31820 (ICONV): Use $test_wrapper.
31821 * posix/Makefile ($(objpfx)globtest.out): Pass
31822 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31823 globtest.sh, not $(run-program-prefix).
31824 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31825 (test_wrapper): Likewise.
31826 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31827 set together with run_via_rtld_prefix.
31828 (run_program_prefix): Define in terms of test_wrapper and
31829 run_via_rtld_prefix.
31831 2012-10-24 Roland McGrath <roland@hack.frob.com>
31833 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31834 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31838 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31839 Declare __clock_getres, __clock_gettime, __clock_settime,
31840 __clock_nanosleep, and __clock_getcpuclockid.
31841 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31842 Remove librt_hidden_def (clock_gettime).
31843 * sysdeps/unix/clock_gettime.c: Likewise.
31844 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31845 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31846 * rt/clock_getres.c: Define __clock_getres as an alias.
31847 * sysdeps/posix/clock_getres.c: Likewise.
31848 * rt/clock_settime.c: Define __clock_settime as an alias.
31849 * sysdeps/unix/clock_settime.c: Likewise.
31850 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31851 * sysdeps/unix/clock_nanosleep.c: Likewise.
31852 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31853 * rt/clock-compat.c: New file.
31854 * rt/Makefile (librt-routines): Add clock-compat and move
31855 $(clock-routines) to ...
31856 (routines): ... here, new variable.
31857 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31858 Don't add get_clockfreq here.
31859 * rt/Versions (libc: GLIBC_2.17): New version set.
31860 Add clock_* symbols here.
31861 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31862 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31863 (GLIBC_2.17): Add clock_* symbols.
31864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31875 * NEWS: Mention the move.
31877 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31878 Use __open, __read, __close rather than their public counterparts.
31879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31880 (__get_clockfreq_via_cpuinfo): Likewise.
31881 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31882 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31884 * config.h.in (HAVE_IFUNC): New #undef.
31885 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31887 * configure: Regenerated.
31889 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31891 * configure.in: Move READELF check to start of file.
31892 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31893 libc_cv_asm_gnu_indirect_function in the process.
31894 * configure: Regenerated.
31896 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31898 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31899 send the output to /dev/null.
31900 (libc_cv_cc_with_libunwind): Likewise.
31901 (libc_cv_as_noexecstack): Likewise.
31902 * configure: Regenerate.
31904 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31906 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31908 * posix/globtest.sh (TMPDIR): Do not set.
31909 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31910 (testout): Likewise.
31912 2012-10-24 Andreas Jaeger <aj@suse.de>
31914 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31915 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31916 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31917 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31918 posix_fadvise64, posix_fallocate64.
31920 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31921 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31922 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31924 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31926 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31929 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31930 <bits/fcntl-linux.h>.
31931 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31934 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31935 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31936 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31937 [__WORDSIZE != 64]: Likewise.
31939 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31941 * Makeconfig (run-built-tests): New variable.
31942 * Rules [$(cross-compiling) = yes]: Change condition to
31943 [$(run-built-tests) = no].
31944 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31945 to [$(run-built-tests) = yes].
31946 * elf/Makefile [$(cross-compiling) = no]: Likewise
31947 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31948 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31949 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31950 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31951 * io/Makefile [$(cross-compiling) = no]: Likewise.
31952 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31953 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31954 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31955 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31956 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31957 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31958 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31959 * string/Makefile [$(cross-compiling) = no]: Likewise.
31961 * posix/Makefile ($(objpfx)globtest.out): Pass
31962 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31963 $(rtld-installed-name).
31964 * posix/globtest.sh (elf_objpfx): Remove variable.
31965 (rtld_installed_name): Likewise.
31966 (library_path): Likewise.
31967 (run_program_prefix): New variable. Use for running globtest
31970 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31971 Joseph Myers <joseph@codesourcery.com>
31973 * Makeconfig (host-built-program-cmd): New variable.
31974 * elf/Makefile (tst-stackguard1-ARGS): Use
31975 $(host-built-program-cmd).
31976 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31977 (tst-spawn-ARGS): Likewise.
31978 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31980 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31981 Jim Blandy <jimb@codesourcery.com>
31983 * Makeconfig (run-via-rtld-prefix): New variable.
31984 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31985 (built-program-cmd): Likewise.
31987 2012-10-22 Andreas Jaeger <aj@suse.de>
31989 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31990 __O_RSYNC if it exists, otherwise to O_SYNC.
31992 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31993 Joseph Myers <joseph@codesourcery.com>
31995 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31997 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31999 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32002 2012-10-22 Andreas Jaeger <aj@suse.de>
32004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32006 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32009 bits/fcntl-linux.h.
32011 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32012 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32014 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32019 2012-10-21 Jim Blandy <jimb@codesourcery.com>
32020 Joseph Myers <joseph@codesourcery.com>
32022 * config.make.in (NM): New variable.
32024 2012-10-21 Andreas Jaeger <aj@suse.de>
32026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32027 definitions and declarations that are provided by
32028 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32030 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32033 * elf/Makefile (tests-static): Add tst-leaks1-static.
32034 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32035 ($(objpfx)tst-leaks1-static): New rule.
32036 ($(objpfx)tst-leaks1-static-mem): Likewise.
32037 (tst-leaks1-static-ENV): New macro.
32038 * elf/dl-open.c (dl_open_worker): Check the main application
32039 only if SHARED is defined.
32040 * elf/tst-leaks1-static.c: New file.
32042 2012-10-20 Andreas Jaeger <aj@suse.de>
32044 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32045 generic values for Linux.
32046 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32047 and declarations that are provided by <bits/fcntl-linux.h> and
32048 include <bits/fcntl-linux.h>.
32049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32052 2012-10-20 Roland McGrath <roland@hack.frob.com>
32054 * io/fcntl.h: Move include of <bits/types.h> to the top and
32055 include it unconditionally.
32057 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32059 * wcsmbs/Makefile (tests-ifunc): New variable.
32060 (tests): Add $(tests-ifunc).
32061 * wcsmbs/test-wcschr-ifunc.c: New file.
32062 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32063 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32064 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32065 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32066 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32068 * string/Makefile (tests-ifunc): New variable.
32069 (tests): Add $(tests-ifunc).
32070 * string/test-memccpy.c (TEST_NAME): New macro.
32071 * string/test-memchr.c (TEST_NAME): Likewise.
32072 * string/test-memcmp.c (TEST_NAME): Likewise.
32073 * string/test-memcpy.c (TEST_NAME): Likewise.
32074 * string/test-memmem.c (TEST_NAME): Likewise.
32075 * string/test-memmove.c (TEST_NAME): Likewise.
32076 * string/test-memset.c (TEST_NAME): Likewise.
32077 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32078 * string/test-stpcpy.c (TEST_NAME): Likewise.
32079 * string/test-stpncpy.c (TEST_NAME): Likewise.
32080 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32081 * string/test-strcasestr.c (TEST_NAME): Likewise.
32082 * string/test-strcat.c (TEST_NAME): Likewise.
32083 * string/test-strchr.c (TEST_NAME): Likewise.
32084 * string/test-strcmp.c(TEST_NAME): Likewise.
32085 * string/test-strcpy.c (TEST_NAME): Likewise.
32086 * string/test-strcspn.c (TEST_NAME): Likewise.
32087 * string/test-strlen.c (TEST_NAME): Likewise.
32088 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32089 * string/test-strncmp.c (TEST_NAME): Likewise.
32090 * string/test-strncpy.c (TEST_NAME): Likewise.
32091 * string/test-strnlen.c (TEST_NAME): Likewise.
32092 * string/test-strpbrk.c (TEST_NAME): Likewise.
32093 * string/test-strrchr.c (TEST_NAME): Likewise.
32094 * string/test-strspn.c (TEST_NAME): Likewise.
32095 * string/test-strstr.c (TEST_NAME): Likewise.
32096 * string/test-bcopy-ifunc.c: New file.
32097 * string/test-bzero-ifunc.c: Likewise.
32098 * string/test-memccpy-ifunc.c: Likewise.
32099 * string/test-memchr-ifunc.c: Likewise.
32100 * string/test-memcmp-ifunc.c: Likewise.
32101 * string/test-memcpy-ifunc.c: Likewise.
32102 * string/test-memmem-ifunc.c: Likewise.
32103 * string/test-memmove-ifunc.c: Likewise.
32104 * string/test-mempcpy-ifunc.c: Likewise.
32105 * string/test-memset-ifunc.c: Likewise.
32106 * string/test-rawmemchr-ifunc.c: Likewise.
32107 * string/test-stpcpy-ifunc.c: Likewise.
32108 * string/test-stpncpy-ifunc.c: Likewise.
32109 * string/test-strcasecmp-ifunc.c: Likewise.
32110 * string/test-strcasestr-ifunc.c: Likewise.
32111 * string/test-strcat-ifunc.c: Likewise.
32112 * string/test-strchr-ifunc.c: Likewise.
32113 * string/test-strchrnul-ifunc.c: Likewise.
32114 * string/test-strcmp-ifunc.c: Likewise.
32115 * string/test-strcpy-ifunc.c: Likewise.
32116 * string/test-strcspn-ifunc.c: Likewise.
32117 * string/test-strlen-ifunc.c: Likewise.
32118 * string/test-strncasecmp-ifunc.c: Likewise.
32119 * string/test-strncat-ifunc.c: Likewise.
32120 * string/test-strncmp-ifunc.c: Likewise.
32121 * string/test-strncpy-ifunc.c: Likewise.
32122 * string/test-strnlen-ifunc.c: Likewise.
32123 * string/test-strpbrk-ifunc.c: Likewise.
32124 * string/test-strrchr-ifunc.c: Likewise.
32125 * string/test-strspn-ifunc.c: Likewise.
32126 * string/test-strstr-ifunc.c: Likewise.
32128 * debug/Makefile (tests-ifunc): New variable.
32129 (tests): Add $(tests-ifunc).
32130 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32131 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32132 * debug/test-stpcpy_chk-ifunc.c: New file.
32133 * debug/test-strcpy_chk-ifunc.c: Likewise.
32135 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32138 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32139 header is not read in.
32141 2012-10-19 Joseph Myers <joseph@codesourcery.com>
32143 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32144 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32145 directly. Pass built executable to script as
32146 $(built-program-cmd).
32147 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32148 $testprogram without using LD_LIBRARY_PATH and $ldso.
32150 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32151 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32152 $(rtld-installed-name).
32153 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32154 (rtld_installed_name): Likewise.
32155 (library_path): Likewise.
32156 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32157 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32158 $(run-program-prefix) to tst-tables.sh.
32159 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32160 it to run tst-table-from and tst-table-to.
32161 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32162 Pass it to tst-table.sh.
32163 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32164 $(run-program-prefix) to tst-gettext.sh.
32165 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32167 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32169 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32170 to run tst-gettext.
32171 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32172 to run tst-gettext2.
32173 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32174 to run tst-translit.
32175 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32176 $(run-program-prefix) to tst-mtrace.sh.
32177 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32179 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32180 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32181 $(rtld-installed-name).
32182 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32183 (rtld_installed_name): Likewise.
32184 (run_program_prefix): New variable. Use it to run wordexp-test.
32186 * Makeconfig (ARCH): Remove all definitions.
32187 (machine): Likewise.
32188 [ARCH]: Remove conditional code.
32189 [!objdir]: Give error.
32190 [!objdir] (objpfx): Remove.
32191 [!objdir] (common-objpfx): Likewise.
32192 [!objdir] (common-objdir): Likewise.
32193 * configure.in (config_makefile): Remove. Hardcode Makefile in
32194 AC_CONFIG_FILES call.
32195 * configure: Regenerated.
32198 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32200 (testout): Likewise.
32202 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32203 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32204 $(rtld-installed-name).
32205 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32206 (rtld_installed_name): Likwise.
32207 (runit): Remove function.
32208 (run_getconf): New variable, Use it for running getconf binary.
32210 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32213 * string/test-memmem.c (check_result): New function.
32214 (do_one_test): Use it.
32215 (check1): New function.
32216 (test_main): Use it.
32218 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32220 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32222 2012-10-18 Joseph Myers <joseph@codesourcery.com>
32224 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32225 (_G_LSEEK64): Likewise.
32226 (_G_MMAP64): Likewise.
32227 (_G_FSTAT64): Likewise.
32228 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32229 (_G_LSEEK64): Likewise.
32230 (_G_MMAP64): Likewise.
32231 (_G_FSTAT64): Likewise.
32232 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32233 unconditional. Call __mmap64 directly.
32234 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32235 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32236 __lseek64 directly.
32237 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32238 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32240 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32241 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32242 __lseek64 directly.
32243 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32244 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32245 __lseek64 directly.
32246 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32247 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32248 __lseek64 directly.
32249 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32250 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32251 __fxstat64 directly.
32252 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32253 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32255 (freopen64) [!_G_OPEN64]: Remove conditional code.
32256 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32258 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32259 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32261 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32262 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32264 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32265 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32267 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32268 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32270 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32271 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32273 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32274 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32276 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32278 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32281 * manual/memory.texi (Malloc Tunable Parameters): Add note
32282 about free list pointers overwriting some perturb bytes.
32283 Wording suggested by Roland McGrath.
32285 2012-10-17 Joseph Myers <joseph@codesourcery.com>
32287 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32288 (lgamma_test): Likewise.
32289 (tgamma_test): Likewise.
32291 2012-10-16 Florian Weimer <fweimer@redhat.com>
32294 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32295 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32297 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32299 * NEWS: Mention BZ #14716.
32300 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32301 when removing AVAILABLE1_USES_J macro.
32303 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32305 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32306 (__bswap_64): __uint64_t for unsigned 64-bit int.
32308 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32310 * include/string.h (memmem): Declare libc hidden alias.
32311 * string/memmem.c (memmem): Define libc hidden alias.
32312 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32313 __read, __close instead of open, read, close.
32315 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32318 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32320 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32321 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32322 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32324 (__rawmemchr_sse2): Likewise.
32325 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32326 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32327 (__strchr_sse2): Likewise.
32328 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32329 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32330 (__strcasecmp_sse2): Likewise.
32331 (__strncasecmp_sse2): Likewise.
32332 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32333 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32334 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32335 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32336 (__strrchr_sse2): Likewise.
32337 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32339 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32340 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32341 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32342 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32343 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32344 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32345 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32346 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32347 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32348 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32349 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32350 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32351 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32352 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32353 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32354 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32355 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32356 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32357 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32358 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32359 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32360 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32361 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32362 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32363 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32364 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32365 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32366 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32367 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32368 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32370 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32372 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32373 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32374 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32375 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32377 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32379 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32380 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32381 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32382 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32384 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32385 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32386 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32387 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32388 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32389 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32390 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32391 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32392 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32393 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32394 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32395 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32396 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32397 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32398 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32399 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32400 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32401 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32402 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32403 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32405 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32406 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32407 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32408 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32409 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32410 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32411 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32412 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32413 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32414 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32415 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32416 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32417 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32418 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32419 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32420 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32421 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32422 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32423 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32424 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32426 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32427 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32428 * include/ifunc-impl-list.h: New file.
32429 * misc/ifunc-impl-list.c: Likewise.
32430 * misc/Makefile (routines): Add ifunc-impl-list.
32431 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32432 * string/test-string.h: Include <ifunc-impl-list.h>.
32433 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32434 TEST_NAME]: New variables.
32435 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32437 (test_init): Call __libc_ifunc_impl_list to initialize
32438 func_list if TEST_IFUNC and TEST_NAME are defined.
32440 * string/Makefile (strop-tests): Add bcopy and bzero.
32441 * string/test-bcopy.c: New file.
32442 * string/test-bzero.c: Likewise.
32443 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32445 * string/test-memset.c: Support bzero test if TEST_BZERO is
32447 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32449 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32451 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32454 2012-10-10 Joseph Myers <joseph@codesourcery.com>
32456 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32457 * configure: Regenerated.
32459 * Makeconfig (+link-static-before-libc): Don't include
32460 $(link-static-libc).
32462 * libio/libio.h (_IO_pos_t): Remove.
32464 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32466 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32469 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32471 * crypt/crypt-entry.c: Include fips-private.h.
32472 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32473 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32474 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32475 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32477 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32479 * crypt/crypt-private.h: Include stdbool.h.
32480 (_ufc_setup_salt_r): Return bool.
32481 * crypt/crypt-entry.c: Include errno.h.
32482 (__crypt_r): Return NULL with EINVAL for bad salt.
32483 * crypt/crypt_util.c (bad_for_salt): New.
32484 (_ufc_setup_salt_r): Check that salt is long enough and within
32485 the specified alphabet.
32486 * crypt/badsalttest.c: New file.
32487 * crypt/Makefile (tests): Add it.
32488 ($(objpfx)badsalttest): New.
32490 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32492 * NEWS: Add entry for BZ #14602.
32494 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32496 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32498 * math/libm-test.inc: Update comment listing what functions and
32500 (isgreater_test): New function.
32501 (isgreaterequal_test): Likewise.
32502 (isless_test): Likewise.
32503 (islessequal_test): Likewise.
32504 (islessgreater_test): Likewise.
32505 (isunordered_test): Likewise.
32506 (main): Call the new functions.
32508 2012-10-09 Roland McGrath <roland@hack.frob.com>
32510 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32511 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32512 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32513 * sysdeps/i386/configure: Regenerated.
32514 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32515 * sysdeps/mach/configure: Regenerated.
32516 * sysdeps/mach/hurd/configure: Regenerated.
32517 * sysdeps/powerpc/configure: Regenerated.
32518 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32519 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32520 * sysdeps/s390/s390-32/configure: Regenerated.
32521 * sysdeps/s390/s390-64/configure: Regenerated.
32522 * sysdeps/sh/configure: Regenerated.
32523 * sysdeps/sparc/configure: Regenerated.
32524 * sysdeps/unix/sysv/linux/configure: Regenerated.
32525 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32526 * sysdeps/x86_64/configure: Regenerated.
32528 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32529 defined. Don't check if MAP is NULL.
32531 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32533 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32534 (_G_stat64): Likewise.
32535 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32536 (_G_stat64): Likewise.
32537 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32538 instead of struct _G_stat64.
32539 * libio/fileops.c (mmap_remap_check): Likewise.
32540 (decide_maybe_mmap): Likewise.
32541 (_IO_new_file_seekoff): Likewise.
32542 (_IO_file_stat): Likewise.
32543 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32545 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32546 instead of struct _G_stat64.
32547 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32549 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32552 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32554 (CHECK_EOL): New macro.
32555 (two_way_short_needle): Check beginning of haystack for EOL. Use
32557 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32558 Replace with CHECK_EOL.
32559 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32560 Replace with CHECK_EOL.
32562 2012-10-08 Joseph Myers <joseph@codesourcery.com>
32564 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32566 * math/libm-test.inc: Update comment listing what functions and
32568 (finite_test): New function.
32569 (isinf_test): Likewise.
32570 (isnan_test): Likewise.
32571 (fpclassify_test): Test subnormal input.
32572 (isfinite_test): Likewise.
32573 (isnormal_test): Likewise.
32574 (main): Call the new functions.
32576 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32579 * Makerules (%.dynsym): Force C locale when running
32580 $(OBJDUMP) --dynamic-syms.
32582 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32584 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32587 2012-10-06 David S. Miller <davem@davemloft.net>
32589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32590 upper 32-bits of the length value in %o2 since we use branch-on-register
32591 tests which consider the entire 64-bit register.
32593 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32595 * string/test-strstr.c (check2): Add a test for page boundary.
32597 2012-10-05 David S. Miller <davem@davemloft.net>
32599 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32600 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32602 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32604 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32605 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32606 and bzero when HWCAP_SPARC_CRYPTO is present.
32608 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32611 * string/test-strstr.c (check2): New function.
32612 (test_main): Call check2.
32614 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32616 * string/bug-strcasestr1.c (do_test): Moved to ...
32617 * string/test-strcasestr.c (check1): Here. New function.
32618 (do_one_test): Break out result checking code into ...
32619 (check_result): This. New function.
32620 (do_one_test): Call check_result.
32621 (test_main): Call check1.
32622 * string/bug-strchr1.c (do_test): Moved to ...
32623 * string/test-strchr.c (check1): Here. New function.
32624 (do_one_test): Break out result checking code into ...
32625 (check_result): This. New function.
32626 (do_one_test): Call check_result.
32627 (test_main): Call check1.
32628 * string/bug-strstr1.c (main): Moved to ...
32629 * string/test-strstr.c (check1): Here. New function.
32630 (do_one_test): Break out result checking code into ...
32631 (check_result): This. New function.
32632 (do_one_test): Call check_result.
32633 (test_main): Call check1.
32634 * string/bug-strcasestr1.c: Removed.
32635 * string/bug-strchr1.c: Likewise.
32636 * string/bug-strstr1.c: Likewise.
32638 * elf/Makefile (dl-routines): Add hwcaps.
32639 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32640 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32641 (_dl_important_hwcaps): Moved to ...
32642 * elf/dl-hwcaps.c: Here. New file.
32643 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32646 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32647 if IS_IN_rtld isn't defined.
32649 * elf/dl-support.c (_dl_sysinfo_map): New.
32650 Include "get-dynamic-info.h" and "setup-vdso.h".
32651 (_dl_non_dynamic_init): Call setup_vdso.
32652 * elf/dynamic-link.h: Don't include <assert.h>.
32653 (elf_get_dynamic_info): Moved to ...
32654 * elf/get-dynamic-info.h: Here. New file.
32655 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32656 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32657 * elf/setup-vdso.h: Here. New file.
32658 * elf/rtld.c: Include "setup-vdso.h".
32659 (dl_main): Call setup_vdso.
32661 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32663 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32664 creal in comment listing functions tested. List finite, isinf,
32665 isnan, isless, islessequal, isgreater, isgreaterequal,
32666 islessgreater, isunordered, lgamma_r and pow10 as functions and
32667 macros not tested. Mention which functions not tested are aliases
32668 for other functions. Fix typo. Note that signs of NaNs are not
32671 * scripts/config.guess: Update from config.git.
32672 * scripts/config.sub: Likewise.
32674 2012-10-04 Roland McGrath <roland@hack.frob.com>
32676 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32677 * misc/madvise.c (madvise): Renamed to __madvise.
32678 Make madvise a weak alias.
32679 * include/sys/mman.h: Declare __madvise.
32680 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32681 * sysdeps/unix/syscalls.list
32682 (madvise): Make __madvise the strong name, and madvise a weak alias.
32683 * sysdeps/unix/sysv/linux/syscalls.list
32684 (madvise, mmap): Remove redundant entries.
32685 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32686 * malloc/malloc.c (mtrim): Likewise.
32687 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32689 2012-10-03 Roland McGrath <roland@hack.frob.com>
32691 * sysdeps/mach/hurd/dl-cache.c: File removed.
32692 * config.h.in (USE_LDCONFIG): New #undef.
32693 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32694 * configure: Regenerated.
32695 * elf/Makefile (dl-routines): Add dl-cache only under
32696 [$(use-ldconfig) = yes].
32697 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32698 cache on [USE_LDCONFIG].
32699 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32701 * elf/rtld.c (dl_main): Likewise.
32703 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32705 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32706 _SC_LEVEL4_CACHE_LINESIZE.
32708 2012-10-03 Roland McGrath <roland@hack.frob.com>
32710 * sysdeps/unix/bsd/confstr.h: File removed.
32712 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32714 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32717 2012-10-02 Roland McGrath <roland@hack.frob.com>
32719 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32720 Make 'mapoff' field ElfW(Off) rather than off_t.
32722 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32724 * nscd/Makefile: Remove nscd-cflags and all its users.
32725 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32726 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32729 * malloc.c (malloc_printerr): Clarify error message.
32731 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32735 Set bit_FMA_Usable if FMA is supported.
32736 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32738 (bit_FMA4_Usable): Updated.
32739 (index_FMA_Usable): New macro.
32740 (CPUID_FMA): Likewise
32741 (HAS_FMA): Defined with bit_FMA_Usable.
32743 2012-10-01 Roland McGrath <roland@hack.frob.com>
32745 * bits/types.h (__swblk_t): Type removed.
32746 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32747 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32748 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32749 (__SWBLK_T_TYPE): Likewise.
32750 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32751 (__SWBLK_T_TYPE): Likewise.
32752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32753 (__SWBLK_T_TYPE): Likewise.
32754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32755 (__SWBLK_T_TYPE): Likewise.
32757 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32758 Honza Horak <hhorak@redhat.com>
32760 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32761 (xdr_mapname): Use YPMAXMAP as maxsize.
32762 (xdr_peername): Use YPMAXPEER as maxsize.
32763 (xdr_keydat): Use YPAXRECORD as maxsize.
32764 (xdr_valdat): Use YPMAXRECORD as maxsize.
32766 2012-10-01 Roland McGrath <roland@hack.frob.com>
32768 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32770 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32771 * csu/init-first.c: ... here.
32772 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32773 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32774 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32775 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32776 * sysdeps/i386/init-first.c: File removed.
32777 * sysdeps/sh/init-first.c: File removed.
32779 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32783 if x * y might underflow to zero and z is zero.
32784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32785 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32786 * math/libm-test.inc (min_subnorm_value): New variable.
32787 (fma_test): Add more tests.
32788 (fma_test_towardzero): Likewise.
32789 (fma_test_downward): Likewise
32790 (fma_test_upward): Likewise.
32791 (initialize): Set min_subnorm_value.
32793 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32799 mode for addition resulting in exact zero.
32800 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32803 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32805 * math/libm-test.inc (fma_test): Add more tests.
32806 (fma_test_towardzero): New function.
32807 (fma_test_downward): Likewise.
32808 (fma_test_upward): Likewise.
32809 (main): Call the new functions.
32811 2012-09-28 David S. Miller <davem@davemloft.net>
32813 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32815 2012-09-28 Roland McGrath <roland@hack.frob.com>
32817 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32818 instead of SIGALRM.
32820 * sysdeps/gnu/_G_config.h: Moved to ...
32821 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32822 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32823 * sysdeps/generic/_G_config.h: ... here.
32825 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32827 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32829 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32830 Conditionalize target on [libnss_test1.so-version].
32832 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32834 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32835 (elfobjdir): Move out of conditionals.
32837 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32838 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32839 (__nss_lookup_function): Conditionalize label remove_from_tree on
32840 [!DO_STATIC_NSS || SHARED], matching its only use.
32842 2012-09-28 David S. Miller <davem@davemloft.net>
32844 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32845 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32847 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32849 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32851 when HWCAP_SPARC_CRYPTO is present.
32853 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32855 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32857 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32860 * stdio-common/vfprintf.c (process_string_arg): Revert
32863 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32865 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32867 * stdio-common/tst-sprintf.c: Include <locale.h>
32868 (main): Test sprintf's handling of incomplete multibyte
32871 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32873 * elf/dl-runtime.c (VERSYMIDX): Removed.
32874 * elf/dl-version.c (VERSYMIDX): Likewise.
32875 * elf/do-rel.h (VERSYMIDX): Likewise.
32876 (VALIDX): Likewise.
32877 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32878 * elf/rtld.c (VALIDX): Likewise.
32879 (ADDRIDX): Likewise.
32880 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32881 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32882 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32883 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32884 (VALIDX): Likewise.
32885 (ADDRIDX): Likewise.
32887 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32889 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32891 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32894 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32896 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32897 addresses are in the same scope as 192.0.2/24.
32898 * posix/gai.conf: Document new scope table defaults.
32900 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32903 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32904 for ftell. Compute offsets from write pointers instead.
32905 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32907 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32910 * libio/Makefile (tests): New test case tst-fseek.
32911 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32912 combination works in wide mode.
32913 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32914 state when the external buffer state changes.
32916 2012-09-27 David S. Miller <davem@davemloft.net>
32919 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32920 pass reloc->r_addend in as the 'high' argument to
32921 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32925 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32927 * rt/tst-aio2.c: Include <pthread.h>.
32928 * rt/tst-aio3.c: Likewise.
32930 2012-09-27 Steve Ellcey <sellcey@mips.com>
32932 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32934 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32936 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32937 contents on [SHARED].
32939 2012-09-26 Marek Polacek <polacek@redhat.com>
32943 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32944 for C++ and GCC <4.3 as well as for non GCC compilers.
32946 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32950 2012-09-25 Roland McGrath <roland@hack.frob.com>
32952 * Makefile.in (all, install): Declare with .PHONY.
32953 Reported by Michael Hope <michael.hope@linaro.org>.
32955 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32957 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32958 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32960 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32962 (sydep_routines): Add the new and the internal functions.
32963 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32964 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32966 (GLIBC_2.17): Add the new function.
32967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32968 (GLIBC_2.17): Likewise.
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32970 (GLIBC_2.17): Likewise.
32971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32972 (GLIBC_2.17): Likewise.
32973 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32975 2012-09-25 Alan Modra <amodra@gmail.com>
32977 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32978 Add release barrier before setting once_control to say
32979 initialisation is done. Add hints on lwarx. Use macro in
32981 (clear_once_control): Add release barrier.
32983 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32986 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32988 * math/s_clog10.c (__clog10): Likewise.
32989 * math/s_clog10f.c (__clog10f): Likewise.
32990 * math/s_clog10l.c (__clog10l): Likewise.
32991 * math/s_clogf.c (__clogf): Likewise.
32992 * math/s_clogl.c (__clogl): Likewise.
32993 * math/Makefile (libm-calls): Add x2y2m1.
32994 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32995 (__x2y2m1): Likewise.
32996 (__x2y2m1l): Likewise.
32997 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32998 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32999 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33000 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33001 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33002 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33003 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33004 * sysdeps/i386/fpu/libm-test-ulps: Update.
33005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33008 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33009 int as type of variable DEPTH.
33010 (glob): Use size_t instead of int as type of variables NEWCOUNT
33013 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33015 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33016 Add s_sincosf-sse2.
33017 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33018 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33019 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33020 macros for using routine as __sincosf_ia32.
33021 Use macro for function declaration and weak_alias.
33022 * sysdeps/i386/fpu/libm-test-ulps: Update.
33024 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33027 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33028 subnormal argument.
33029 * math/s_cexpf.c (__cexpf): Likewise.
33030 * math/s_csinf.c (__csinf): Likewise.
33031 * math/s_csinhf.c (__csinhf): Likewise.
33032 * math/s_ctanf.c (__ctanf): Likewise.
33033 * math/s_ctanhf.c (__ctanhf): Likewise.
33034 * math/s_ccosh.c (__ccoshf): Likewise.
33035 * math/s_cexp.c (__cexpl): Likewise.
33036 * math/s_csin.c (__csin): Likewise.
33037 * math/s_csinh.c (__csinh): Likewise.
33038 * math/s_ctan.c (__ctan): Likewise.
33039 * math/s_ctanh.c (ctanh): Likewise.
33040 * math/s_ccoshl.c (__ccoshl): Likewise.
33041 * math/s_cexpl.c (__cexpl): Likewise.
33042 * math/s_csinl.c (__csinl): Likewise.
33043 * math/s_csinhl.c (__csinhl): Likewise.
33044 * math/s_ctanl.c (__ctanl): Likewise.
33045 * math/s_ctanhl.c (__ctanhl): Likewise.
33047 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33049 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33050 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33051 (_IO_off_t): Define to __off_t, not _G_off_t.
33052 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33053 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33054 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33055 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33056 type of __dummy and __dummy2 fields.
33057 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33058 (_G_ssize_t): Likewise.
33059 (_G_off_t): Likewise.
33060 (_G_pid_t): Likewise.
33061 (_G_uid_t): Likewise.
33062 (_G_wchar_t): Likewise.
33063 (_G_wint_t): Likewise.
33064 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33065 (_G_ssize_t): Likewise.
33066 (_G_off_t): Likewise.
33067 (_G_pid_t): Likewise.
33068 (_G_uid_t): Likewise.
33069 (_G_wchar_t): Likewise.
33070 (_G_wint_t): Likewise.
33071 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33072 (_G_ssize_t): Likewise.
33073 (_G_off_t): Likewise.
33074 (_G_pid_t): Likewise.
33075 (_G_uid_t): Likewise.
33076 (_G_wchar_t): Likewise.
33077 (_G_wint_t): Likewise.
33079 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33081 * malloc/arena.c: Include malloc-sysdep.h.
33082 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33083 is sufficient to shrink the heap or an unmap is needed.
33084 * sysdeps/generic/malloc-sysdep.h: New file. Define
33085 new function check_may_shrink_heap.
33086 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33087 new function check_may_shrink_heap.
33089 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33091 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33094 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33096 * catgets/test-gencat.sh: Add "set -e".
33097 * elf/tst-pathopt.sh: Likewise.
33098 * grp/tst_fgetgrent.sh: Likewise.
33099 * iconvdata/run-iconv-test.sh: Likewise.
33100 * intl/tst-gettext.sh: Likewise.
33101 * intl/tst-gettext2.sh: Likewise.
33102 * intl/tst-gettext4.sh: Likewise.
33103 * intl/tst-gettext6.sh: Likewise.
33104 * intl/tst-translit.sh: Likewise.
33105 * io/ftwtest-sh: Likewise.
33106 * libio/test-freopen.sh: Likewise.
33107 * malloc/tst-mtrace.sh: Likewise.
33108 * posix/globtest.sh: Likewise.
33109 * posix/tst-getconf.sh: Likewise.
33110 * posix/wordexp-tst.sh: Likewise.
33111 * stdio-common/tst-printf.sh: Likewise.
33112 * stdio-common/tst-unbputc.sh: Likewise.
33113 * stdlib/tst-fmtmsg.sh: Likewise.
33114 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33115 * catgets/Makefile: Do not specify -e option when running
33116 testsuite shell scripts.
33117 * elf/Makefile: Likewise.
33118 * grp/Makefile: Likewise.
33119 * iconvdata/Makefile: Likewise.
33120 * intl/Makefile: Likewise.
33121 * io/Makefile: Likewise.
33122 * libio/Makefile: Likewise.
33123 * malloc/Makefile: Likewise.
33124 * posix/Makefile: Likewise.
33125 * stdio-common/Makefile: Likewise.
33126 * stdlib/Makefile: Likewise.
33127 * sysdeps/x86_64/Makefile: Likewise.
33129 * io/ftwtest-sh: Add copyright header.
33130 * posix/globtest.sh: Likewise.
33131 * posix/tst-getconf.sh: Likewise.
33132 * posix/wordexp-tst.sh: Likewise.
33133 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33135 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33138 * Makeconfig (+link): Defined as $(+link-static) if
33139 $(build-shared) isn't yes.
33140 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33142 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33144 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33147 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33148 new chunk size with MALLOC_ALIGN_MASK.
33150 2012-09-24 Joseph Myers <joseph@codesourcery.com>
33153 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33155 (__printf_fphex): Determine rounding using get_rounding_mode and
33157 * stdio-common/tst-printf-round.c (struct hex_test): New
33159 (hex_tests): New variable.
33160 (test_hex_in_one_mode): New function.
33161 (do_test): Also run tests for hex float output.
33163 2012-09-21 Joseph Myers <joseph@codesourcery.com>
33165 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33166 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33167 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33168 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33169 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33170 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33171 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33172 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33174 2012-09-20 Joseph Myers <joseph@codesourcery.com>
33176 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33177 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33178 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33179 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33181 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33184 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33186 * elf/tst-rtld-load-self.sh: New test.
33187 * elf/Makefile: Run it.
33189 2012-09-18 Joseph Myers <joseph@codesourcery.com>
33191 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33192 (tst-writev-ENV): Remove.
33193 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33195 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33197 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33199 2012-09-17 Joseph Myers <joseph@codesourcery.com>
33201 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33203 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33205 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33206 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33207 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33210 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33213 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33214 * config.make.in (have-cpp-asm-debuginfo): Removed.
33215 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33216 * configure: Regenerated.
33218 2012-09-14 Joseph Myers <joseph@codesourcery.com>
33221 * stdio-common/printf_fp.c: Include <stdbool.h> and
33223 (___printf_fp): Determine rounding using get_rounding_mode and
33225 * stdio-common/tst-printf-round.c: New file.
33226 * stdio-common/Makefile (tests): Add tst-printf-round.
33227 (link-libm): New variable.
33228 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33230 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33233 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33234 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33236 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33239 2012-09-13 Joseph Myers <joseph@codesourcery.com>
33241 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33242 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33243 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33244 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33246 2012-09-12 Joseph Myers <joseph@codesourcery.com>
33249 * include/rounding-mode.h: New file.
33250 * sysdeps/generic/get-rounding-mode.h: Likewise.
33251 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33252 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33253 (MAX_VALUE): New macro.
33254 (MIN_VALUE): Likewise.
33255 (overflow_value): New function.
33256 (underflow_value): Likewise.
33257 (round_and_return): Use overflow_value and underflow_value to
33258 determine return values in overflow and underflow cases. Use
33259 round_away to determine rounding depending on rounding mode.
33260 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33261 determine return values in overflow and underflow cases.
33262 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33263 (struct test_results): New structure.
33264 (struct test): Use struct test_results to store expected results
33265 for all rounding modes.
33266 (TEST): Include expected results for all rounding modes.
33267 (test_in_one_mode): New function.
33268 (do_test): Use test_in_one_mode to compute and check results.
33269 Check results for all rounding modes.
33270 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33273 2012-12-09 Allan McRae <allan@archlinux.org>
33275 * sysdeps/i386/fpu/libm-test-ulps: Update
33277 2012-09-11 Joseph Myers <joseph@codesourcery.com>
33279 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33280 (_G_int32_t): Likewise.
33281 (_G_uint16_t): Likewise.
33282 (_G_uint32_t): Likewise.
33283 (_G_HAVE_BOOL): Likewise.
33284 (_G_HAVE_ATEXIT): Likewise.
33285 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33286 (_G_HAVE_IO_FILE_OPEN): Likewise.
33287 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33288 (_G_int32_t): Likewise.
33289 (_G_uint16_t): Likewise.
33290 (_G_uint32_t): Likewise.
33291 (_G_HAVE_BOOL): Likewise.
33292 (_G_HAVE_ATEXIT): Likewise.
33293 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33294 (_G_HAVE_IO_FILE_OPEN): Likewise.
33295 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33296 (_G_int32_t): Likewise.
33297 (_G_uint16_t): Likewise.
33298 (_G_uint32_t): Likewise.
33299 (_G_HAVE_BOOL): Likewise.
33300 (_G_HAVE_ATEXIT): Likewise.
33301 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33302 (_G_HAVE_IO_FILE_OPEN): Likewise.
33304 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33306 * csu/libc-tls.c: Update copyright years.
33308 2012-09-10 Joseph Myers <joseph@codesourcery.com>
33310 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33311 [!_G_USING_THUNKS]: Remove conditional code.
33312 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33313 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33315 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33316 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33317 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33318 (_G_VTABLE_LABEL_PREFIX): Likewise.
33319 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33320 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33321 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33322 (_G_VTABLE_LABEL_PREFIX): Likewise.
33323 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33324 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33325 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33326 (_G_VTABLE_LABEL_PREFIX): Likewise.
33327 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33329 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33331 * libio/Makefile: Include ../Makeconfig before tests.
33332 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33333 only if $(build-shared) is yes.
33335 * iconv/gconv_db.c: Update copyright years.
33337 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33339 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33340 unwind info if defined PIC. Fix special cases description.
33341 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33343 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33345 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33347 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33349 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33351 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33354 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33355 (LDLIBS-tst-chk4): This.
33356 (LDFLAGS-tst-chk5): Renamed to ...
33357 (LDLIBS-tst-chk5): This.
33358 (LDFLAGS-tst-chk6): Renamed to ...
33359 (LDLIBS-tst-chk6): This.
33360 (LDFLAGS-tst-lfschk4): Renamed to ...
33361 (LDLIBS-tst-lfschk4): This.
33362 (LDFLAGS-tst-lfschk5): Renamed to ...
33363 (LDLIBS-tst-lfschk5): This.
33364 (LDFLAGS-tst-lfschk6): Renamed to ...
33365 (LDLIBS-tst-lfschk6): This.
33367 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33368 on $(common-objpfx)soversions.mk.
33370 2012-09-07 Joseph Myers <joseph@codesourcery.com>
33373 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33376 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33378 * malloc/arena.c (arena_get_retry): New function that gets
33379 another arena for the caller to try its request on.
33380 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33381 current arena cannot fulfill the request.
33382 (__libc_memalign): Likewise.
33383 (__libc_memalign): Likewise.
33384 (__libc_pvalloc): Likewise.
33385 (__libc_calloc): Likewise.
33387 2012-09-05 John Tobey <john.tobey@gmail.com>
33390 * manual/arith.texi (Operations on Complex): Fix description
33391 of carg branch cut.
33393 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33396 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33400 * manual/memory.texi (Memory): Make order of menu items match
33403 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33405 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33406 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33407 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33409 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33411 * csu/libc-tls.c (static_dtv): Renamed to ...
33412 (_dl_static_dtv): This. Make it global.
33413 (_dl_initial_dtv): Removed.
33414 (__libc_setup_tls): Updated.
33415 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33416 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33419 2012-09-06 Petr Machata <pmachata@redhat.com>
33421 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33422 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33423 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33424 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33426 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33429 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33430 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33433 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33436 * Makeconfig (link-static-before-libc): Replace $(+prector)
33438 (link-static-after-libc): Replace $(+postctor) with
33440 (link-bounded): Replace $(+prector)/$(+postctor) with
33441 $(+prectorT)/$(+postctorT).
33442 (+prectorT): New macro.
33443 (+postctorT): Likewise.
33445 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33447 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33448 (round_str): Handle values above the maximum for IBM long double
33450 * stdlib/tst-strtod-round.c (tests): Regenerated.
33452 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33454 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33456 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33457 zarch_nohighgprs around the zarch optimized routines.
33458 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33459 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33460 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33463 2012-09-05 David S. Miller <davem@davemloft.net>
33465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33467 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33468 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33469 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33470 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33473 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33475 * malloc/arena.c: Fold copyright years.
33476 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33478 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33480 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33482 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33484 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33486 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33488 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33489 change internal state upon failure.
33491 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33493 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33494 * malloc/memusage.c (mmap): Likewise.
33495 (mmap64, mremap): Likewise. Adjust name in comment.
33497 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33499 * libio/fileops.c: Fix typos in comments.
33500 * libio/oldfileops.c: Likewise.
33501 * libio/wfileops.c: Likewise.
33503 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33506 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33507 (tst-malloc-usable-ENV): Set environment for test case.
33508 * malloc/hooks.c (malloc_check_get_size): New function to get
33510 * malloc/malloc.c (musable): Use malloc_check_get_size.
33511 * malloc/tst-malloc-usable.c: New test case.
33513 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33515 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33517 2012-09-05 Allan McRae <allan@archlinux.org>
33520 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33521 determine header location.
33522 * configure: Regenerated.
33524 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33526 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33528 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33529 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33531 (test): Regenerate.
33533 2012-09-04 David S. Miller <davem@davemloft.net>
33535 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33536 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33537 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33539 2012-09-04 Florian Weimer <fweimer@redhat.com>
33541 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33544 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33546 2012-09-04 Joseph Myers <joseph@codesourcery.com>
33549 * libio/iogetdelim.c: Include <limits.h>.
33550 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33551 + len + 1 would overflow.
33553 2012-09-03 Andreas Jaeger <aj@suse.de>
33555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33556 * sysdeps/i386/fpu/libm-test-ulps: Update.
33558 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33560 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33561 Add s_sinf-sse2, s_conf-sse2.
33563 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33564 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33565 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33566 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33568 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33569 for using routine as __sinf_ia32.
33570 Use macro for function declaration and weak_alias.
33571 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33572 for using routine as __cosf_ia32.
33573 Use macro for function declaration and weak_alias.
33575 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33576 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33578 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33579 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33582 * math/libm-test.inc (cos_test): Add more test cases.
33583 (sin_test): Likewise.
33584 (sincos_test): Likewise.
33586 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33588 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33589 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33591 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33593 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33596 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33597 first element of the GOT.
33598 (elf_machine_load_address): Return the difference between
33599 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33601 2012-09-01 Allan McRae <allan@archlinux.org>
33604 * configure.in (AWK): Require gawk version 3.0 or later.
33605 * configure: Regenerated.
33607 2012-09-01 Joseph Myers <joseph@codesourcery.com>
33609 * sysdeps/unix/sysv/linux/kernel-features.h
33610 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33612 [__NR_clock_getres]: Make code unconditional.
33613 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33614 (clock_getcpuclockid): Remove code left unreachable by removal of
33616 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33617 code unconditional.
33618 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33619 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33620 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33621 Make code unconditional.
33622 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33623 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33624 * sysdeps/unix/sysv/linux/clock_settime.c
33625 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33627 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33628 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33630 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33633 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33634 scripts/test-installation.pl.
33636 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33637 and $ld_so_version if it is set.
33639 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33642 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33643 failure if reading from procfs failed.
33644 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33646 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33648 * sysdeps/unix/sysv/linux/kernel-features.h
33649 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33650 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33651 Remove conditional code.
33652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33653 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33654 Remove conditional code.
33655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33656 * sysdeps/unix/sysv/linux/i386/fxstat.c
33657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33659 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33660 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33662 * sysdeps/unix/sysv/linux/i386/lxstat.c
33663 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33665 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33666 Remove conditional code.
33667 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33668 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33669 Remove conditional code.
33670 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33671 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33672 <kernel-features.h>.
33673 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33675 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33676 Remove conditional code.
33677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33678 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33679 Remove conditional.
33681 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33684 * NEWS: Add fixed bug number.
33686 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33689 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33690 underflowing exponent in case of negative sign.
33691 * stdlib/tst-strtod-round-data: Add more tests.
33692 * stdlib/tst-strtod-round.c (tests): Regenerated.
33695 * stdlib/strtod_l.c (NDIG): Remove.
33696 (HEXNDIG): Likewise.
33697 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33698 smallest representable value.
33699 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33700 lie within an exact representation of 1/2 ulp of the result.
33701 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33703 (TENS_P9_IDX): Define unconditionally.
33704 (TENS_P9_SIZE): Likewise.
33705 (TENS_P10_IDX): Likewise.
33706 (TENS_P10_SIZE): Likewise.
33707 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33708 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33709 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33710 entries for 10^2^13 and 10^2^14.
33711 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33712 (TENS_P13_IDX): Define.
33713 (TENS_P13_SIZE): Likewise.
33714 (TENS_P14_IDX): Likewise.
33715 (TENS_P14_SIZE): Likewise.
33716 (_fpioconst_pow10): Change array size to
33717 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33719 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33720 1024]: Add entries for 10^2^13 and 10^2^14.
33721 [LAST_POW10 > _LAST_POW10]: Remove #error.
33722 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33723 (_fpioconst_pow10): Change array size to
33724 FPIOCONST_POW10_ARRAY_SIZE.
33725 * stdlib/gen-fpioconst.c: New file.
33726 * stdlib/gen-tst-strtod-round.c: Likewise.
33727 * stdlib/tst-strtod-round-data: Likewise.
33728 * stdlib/tst-strtod-round.c: Likewise.
33729 * stdlib/Makefile (tests): Add tst-strtod-round.
33732 * stdlib/strtod_l.c: Include <stdint.h>.
33733 (NDEBUG): Do not define.
33734 (round_and_return): Change EXPONENT parameter to type intmax_t.
33735 Rearrange calculations to avoid internal overflow possibilities.
33736 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33737 Rearrange calculations to avoid internal overflow possibilities.
33738 Assert that number fits inside MPNSIZE limbs.
33739 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33740 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33741 calculations and add assertions to avoid internal overflow
33742 possibilities. Add casts to avoid signed/unsigned operations.
33743 * stdlib/tst-strtod-overflow.c: New file.
33744 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33746 2012-08-25 Marek Polacek <polacek@redhat.com>
33748 * time/time.h: Fix some typos in comments.
33750 2012-08-23 Roland McGrath <roland@hack.frob.com>
33752 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33753 * posix/tst-rfc3484-2.c: Likewise.
33754 * posix/tst-rfc3484-3.c: Likewise.
33756 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33758 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33759 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33761 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33763 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33764 #include of fxstatat64.c.
33766 2012-08-22 Roland McGrath <roland@hack.frob.com>
33768 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33769 * shadow/getspent_r.c: Likewise.
33770 * shadow/getspnam.c: Likewise.
33771 * shadow/getspnam_r.c: Likewise.
33772 * gshadow/getsgent.c: Likewise.
33773 * gshadow/getsgent_r.c: Likewise.
33774 * gshadow/getsgnam.c: Likewise.
33775 * gshadow/getsgnam_r.c: Likewise.
33776 * inet/getnetbyad.c: Likewise.
33777 * inet/getnetbyad_r.c: Likewise.
33778 * inet/getnetbynm.c: Likewise.
33779 * inet/getnetbynm_r.c: Likewise.
33780 * inet/getnetent.c: Likewise.
33781 * inet/getnetent_r.c: Likewise.
33782 * inet/getproto.c: Likewise.
33783 * inet/getproto_r.c: Likewise.
33784 * inet/getprtent.c: Likewise.
33785 * inet/getprtent_r.c: Likewise.
33786 * inet/getprtname.c: Likewise.
33787 * inet/getprtname_r.c: Likewise.
33788 * inet/getrpcbyname.c: Likewise.
33789 * inet/getrpcbyname_r.c: Likewise.
33790 * inet/getrpcbynumber.c: Likewise.
33791 * inet/getrpcbynumber_r.c: Likewise.
33792 * inet/getrpcent.c: Likewise.
33793 * inet/getrpcent_r.c: Likewise.
33794 * inet/getaliasent.c: Likewise.
33795 * inet/getaliasent_r.c: Likewise.
33796 * inet/getaliasname.c: Likewise.
33797 * inet/getaliasname_r.c: Likewise.
33798 * nscd/getgrgid_r.c: Likewise.
33799 * nscd/getgrnam_r.c: Likewise.
33800 * nscd/gethstbyad_r.c: Likewise.
33801 * nscd/gethstbynm3_r.c: Likewise.
33802 * nscd/getpwnam_r.c: Likewise.
33803 * nscd/getpwuid_r.c: Likewise.
33804 * nscd/getsrvbynm_r.c: Likewise.
33805 * nscd/getsrvbypt_r.c: Likewise.
33806 * nscd/gai.c: Likewise.
33808 * configure.in (build_nscd): New substituted variable, set
33809 by --disable-build-nscd and defaults to $use_nscd.
33810 * configure: Regenerated.
33811 * config.make.in (build-nscd): New substituted variable.
33812 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33813 Change conditional to require [$(build-nscd) = yes] as well.
33814 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33817 * configure.in (use_nscd): New substituted variable, set by
33818 --disable-nscd. If enabled, define USE_NSCD.
33819 * configure: Regenerated.
33820 * config.h.in: Add USE_NSCD.
33821 * config.make.in (use-nscd): New substituted variable.
33822 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33823 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33824 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33825 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33826 (CFLAGS-getgrnam_r.c): Likewise.
33827 (CFLAGS-initgroups.c): Likewise.
33828 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33829 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33831 * inet/getnetgrent_r.c
33832 (nscd_setnetgrent): New function, broken out of ...
33833 (setnetgrent): ... here. Call it.
33834 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33835 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33836 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33837 * nscd/Makefile (routines, aux): Move definitions after include of
33838 Makeconfig. Conditionalize on [$(use-nscd) != no].
33839 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33840 Conditionalize on [USE_NSCD].
33841 (is_nscd, nscd_init_cb): Likewise.
33842 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33843 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33844 * nss/nss_db/db-init.c: Likewise.
33845 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33847 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33848 (make_request): Use it.
33849 (cache_valid_p): New function.
33850 (__check_pf): Use it.
33851 * NEWS: Add item for --disable-nscd.
33853 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33855 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33856 to support sed >= 4.2.1-20-ga9bf076.
33857 * configure: Regenerated.
33859 2012-08-22 Roland McGrath <roland@hack.frob.com>
33861 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33862 Conditionalize whole body on [IREL].
33864 2012-08-22 Jeff Law <law@redhat.com>
33867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33868 if the family is PF_UNSPEC.
33870 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33872 * Makerules (lib-version): Rename from V.
33873 (install-lib-nosubdir): Change V to lib-version.
33875 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33878 * powerpc32/power6/wcschr.c: New file.
33879 * powerpc32/power6/wcscpy.c: New file.
33880 * powerpc32/power6/wcsrchr.c: New file.
33881 * powerpc64/power6/wcschr.c: New file.
33882 * powerpc64/power6/wcscpy.c: New file.
33883 * powerpc64/power6/wcsrchr.c: New file.
33885 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33887 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33888 (two_way_short_needle): Use it.
33889 * string/strstr.c (AVAILABLE1_USES_J): Define.
33890 * string/strcasestr.c: Likewise.
33892 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33894 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33897 * NEWS: Add an entry.
33898 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33899 define their defaults.
33900 (two_way_short_needle): Detect end-of-string on-the-fly.
33901 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33902 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33903 * string/bug-strcasestr1.c: New test.
33904 * string/Makefile: Run it.
33906 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33909 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33910 the first character.
33912 2012-08-21 Roland McGrath <roland@hack.frob.com>
33914 * csu/elf-init.c (__libc_csu_irel): Function removed.
33915 * csu/libc-start.c (apply_irel): New function.
33916 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33918 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33920 * sysdeps/unix/sysv/linux/kernel-features.h
33921 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33922 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33923 <kernel-features.h>.
33924 [__NR_fadvise64_64]: Make code unconditional.
33925 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33926 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33927 !__NR_fadvise64_64)]: Likewise.
33928 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33929 !__NR_fadvise64_64))]: Likewise.
33930 [__NR_fadvise64]: Make code unconditional.
33931 [!__NR_fadvise64]: Remove conditional code.
33932 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33933 <kernel-features.h>.
33934 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33936 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33939 not include <kernel-features.h>.
33940 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33942 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33944 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33945 include <kernel-features.h>.
33946 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33948 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33951 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33953 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33954 slight instruction rearrangements per scrollpipe analysis.
33955 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33957 2012-08-20 Roland McGrath <roland@hack.frob.com>
33959 * manual/syslog.texi (syslog; vsyslog, closelog):
33960 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33961 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33963 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33964 DSOCAPS to match condition on defining it.
33966 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33968 * sysdeps/unix/sysv/linux/kernel-features.h
33969 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33974 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33975 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33977 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33978 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33980 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33981 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33983 * sysdeps/unix/sysv/linux/kernel-features.h
33984 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33985 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33987 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33988 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33989 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33990 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33991 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33992 Make code unconditional.
33993 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33994 (__mmap64) [!__NR_mmap2]: Likewise.
33995 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33996 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33997 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33998 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33999 [__NR_mmap2]: Make code unconditional.
34000 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34001 (__mmap64) [!__NR_mmap2]: Likewise.
34003 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34005 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34007 2012-08-18 Andreas Jaeger <aj@suse.de>
34009 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34011 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34013 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34014 * include/unistd.h (__have_sock_cloexec): Likewise.
34015 (__have_pipe2): Likewise.
34016 (__have_dup3): Likewise.
34018 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34021 * include/unistd.h (__have_pipe2): Change define into an extern int.
34022 (__have_dup3): Likewise.
34023 * socket/have_sock_cloexec.c: Include fcntl.h.
34024 (__have_pipe2): New variable.
34025 (__have_dup3): Likewise.
34027 2012-08-17 Mike Frysinger <vapier@gentoo.org>
34029 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34031 2012-08-17 Marek Polacek <polacek@redhat.com>
34033 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34034 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34036 2012-08-17 Roland McGrath <roland@hack.frob.com>
34038 * configure.in: Add AC_SUBST for sysheaders.
34039 * configure: Regenerated.
34040 * config.make.in (sysheaders): New substituted variable.
34042 * sysdeps/unix/mkfifo.c: Moved ...
34043 * sysdeps/posix/mkfifo.c: ... here.
34044 * sysdeps/unix/mkfifoat.c: Moved ...
34045 * sysdeps/posix/mkfifoat.c: ... here.
34047 * sysdeps/unix/utime.c: Moved ...
34048 * sysdeps/posix/utime.c: ... here.
34050 * sysdeps/unix/time.c: Moved ...
34051 * sysdeps/posix/time.c: ... here.
34052 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34053 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34055 * sysdeps/unix/nice.c: Moved ...
34056 * sysdeps/posix/nice.c: ... here.
34058 * sysdeps/unix/alarm.c: Moved ...
34059 * sysdeps/posix/alarm.c: ... here.
34061 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34063 2012-08-17 Jeff Law <law@redhat.com>
34065 * intl/Makefile (codeset_mo): New variable.
34066 ($(codeset_mo)): New target.
34067 (tst-codeset.out): Depend on that. Remove explicit rule.
34068 (tst-gettext3.out, tst-gettext5.out): Likewise.
34069 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34070 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34071 * intl/tst-codeset.sh: Remove.
34072 * intl/tst-gettext3.sh: Likewise.
34073 * intl/tst-gettext5.sh: Likewise.
34075 2012-08-17 Roland McGrath <roland@hack.frob.com>
34077 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34078 * sysdeps/unix/syscalls.list: ... here.
34080 * sysdeps/posix/getaddrinfo.c
34081 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34082 (gaiconf_init, gaiconf_reload): Use them.
34083 [!_STATBUF_ST_NSEC]
34084 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34085 Define using time_t rather than struct timespec.
34087 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34088 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34090 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34092 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34093 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34096 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34097 __libc_cleanup_push argument.
34099 * bits/param.h: New file.
34100 * misc/sys/param.h: New file.
34101 * include/sys/param.h: New file.
34102 * misc/Makefile (headers): Add bits/param.h.
34103 * sysdeps/generic/sys/param.h: File removed.
34104 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34105 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34106 * sysdeps/mach/hurd/bits/param.h: New file.
34107 * sysdeps/mach/hurd/sys/param.h: File removed.
34109 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34112 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34114 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34115 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34118 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34119 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34120 rather than -D_IO_MTSAFE_IO conditionally.
34121 * stdio-common/Makefile (CPPFLAGS): Likewise.
34122 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34123 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34124 Use $(libio-mtsafe).
34125 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34126 of -D_IO_MTSAFE_IO.
34127 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34128 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34129 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34130 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34131 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34132 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34133 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34134 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34135 (CFLAGS-fread_u_chk.c): Likewise.
34136 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34137 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34138 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34139 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34140 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34141 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34142 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34143 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34144 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34146 * libio/Makefile: Test [$(libc-reentrant) = yes]
34147 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34150 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34151 * sysdeps/pthread/configure: File removed.
34152 * sysdeps/pthread/Makeconfig: New file.
34153 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34154 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34156 2012-08-16 Gary Benson <gbenson@redhat.com>
34158 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34159 unmapping the first object in a namespace.
34161 2012-08-16 Roland McGrath <roland@hack.frob.com>
34163 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34164 (__internal_setnetgrent): ... this. Add internal_function to
34165 definition. Add libc_hidden_def.
34166 (setnetgrent): Update caller.
34167 (internal_endnetgrent): Renamed to ...
34168 (__internal_endnetgrent): ... this. Add internal_function to
34169 definition. Add libc_hidden_def.
34170 (endnetgrent): Update caller.
34171 (internal_getnetgrent_r): Renamed to ...
34172 (__internal_getnetgrent_r): ... this. Add internal_function to
34173 definition. Add libc_hidden_def.
34174 (__getnetgrent_r): Update caller.
34175 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34177 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34179 * stdlib/longlong.h: Update from GCC.
34181 2012-08-16 Roland McGrath <roland@hack.frob.com>
34183 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34184 on _QL, which is set by umul_ppmm but never used.
34185 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34186 variables, which are set by GMP macros but never used.
34187 * stdio-common/_itowa.c (_itowa): Likewise.
34188 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34189 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34191 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34193 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34194 struct La_sh_regs is not constant.
34195 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34196 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34197 and struct La_sparc64_regs are not constant.
34199 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34201 * sysdeps/unix/sysv/linux/kernel-features.h
34202 (__ASSUME_POSIX_TIMERS): Remove.
34203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34205 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34206 Make code unconditional.
34207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34208 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34209 Make code unconditional.
34210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34211 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34212 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34213 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34214 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34215 Make code unconditional.
34216 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34217 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34218 (__libc_missing_posix_timers): Remove.
34220 2012-08-15 Roland McGrath <roland@hack.frob.com>
34222 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34223 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34225 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34227 * elf/dl-sym.c: Include <stdlib.h>.
34229 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34230 constants, which avoids warnings in 32-bit builds.
34232 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34233 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34235 * misc/lseek.c: File moved to ...
34236 * io/lseek.c: ... here.
34238 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34240 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34241 shifting LEN more than 31 bits at once.
34243 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34246 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34247 segmentation fault for a case of two empty input strings.
34248 * string/test-strncasecmp.c (check1): Renamed to...
34249 (bz12205): ...this.
34250 (bz14195): Add new testcase for two empty input strings and N > 0.
34251 (test_main): Call new testcase, adapt for renamed function.
34253 2012-08-15 Andreas Jaeger <aj@suse.de>
34256 * crypt/md5test2.c: New test, based on test supplied by Serge
34257 Belyshev <belyshev@depni.sinp.msu.ru>.
34258 * crypt/Makefile (xtests): Add md5test-giant..
34259 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34261 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34264 * crypt/md5.c (md5_process_block): Don't assume the buffer
34265 length is less than 2**32.
34266 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34267 length is less than 2**64.
34269 2012-08-15 Roland McGrath <roland@hack.frob.com>
34271 * string/str-two-way.h: Include <sys/param.h>.
34272 (MAX): Macro removed.
34274 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34275 Move #define and #undef of memmove to just before and after
34276 including <string.h>.
34278 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34279 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34280 and after including <string.h>. Move declarations of
34281 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34282 to before #include "string/memmove.c".
34284 * include/dirent.h: Declare __getdirentries.
34286 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34287 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34289 2012-08-14 Mike Frysinger <vapier@gentoo.org>
34291 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34292 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34293 * sysdeps/i386/configure: Regenerated.
34294 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34295 STABS_CURRENT_FILE, and STABS_FUN.
34296 (END): Remove call to STABS_FUN_END.
34297 (STABS_CURRENT_FILE1): Delete.
34298 (STABS_CURRENT_FILE): Likewise.
34299 (STABS_FUN): Likewise.
34300 (STABS_FUN_END): Likewise.
34301 (STABS_FUN2): Likewise.
34302 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34303 * sysdeps/x86_64/configure: Regenerated.
34305 2012-08-14 Roland McGrath <roland@hack.frob.com>
34307 * elf/dl-open.c: Include <atomic.h>.
34308 * elf/dl-lookup.c: Likewise.
34310 2012-08-14 Joseph Myers <joseph@codesourcery.com>
34312 * sysdeps/unix/sysv/linux/kernel-features.h
34313 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34314 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34316 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34318 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34319 condition on __ASSUME_CLONE_THREAD_FLAGS.
34321 2012-08-14 Andreas Jaeger <aj@suse.de>
34323 * sysdeps/i386/fpu/libm-test-ulps: Update.
34325 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34327 * include/atomic.h (atomic_exchange_and_add): Split into ...
34328 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34331 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34335 2012-08-13 Jeff Law <law@redhat.com>
34337 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34338 null byte in the output string.
34340 2012-08-10 Joseph Myers <joseph@codesourcery.com>
34342 * sysdeps/unix/sysv/linux/kernel-features.h
34343 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34344 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34345 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34346 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34347 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34348 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34349 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34351 2012-08-09 Jeff Law <law@redhat.com>
34354 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34355 When avoid_arena is set, don't retry in the that arena. Pick the
34356 next one, whatever it might be.
34357 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34358 (arena_lock): Pass in new parameter to arena_get2.
34359 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34361 (__libc_malloc): Unify retrying after main arena failure with
34362 __libc_memalign version.
34363 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34365 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34368 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34369 to __redirect_strstr.
34370 (__strstr_sse42): Use typeof __redirect_strstr.
34371 (__strstr_ia32): Likewise.
34372 (__libc_strstr): New prototype.
34373 (strstr): Renamed to ...
34374 (__libc_strstr): This.
34375 (strstr): New strong alias of __libc_strstr.
34376 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34377 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34380 (__libc_time): New prototype.
34381 (time_ifunc): Replace time with __libc_time.
34382 (time): New strong alias and hidden definition of __libc_time.
34383 (__GI_time): Remove strong alias.
34384 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34385 Include <stddef.h>.
34386 (memmove): Redefined to __redirect_memmove.
34387 (__memmove_sse2): Use typeof __redirect_memmove.
34388 (__memmove_ssse3): Likewise.
34389 (__memmove_ssse3_back): Likewise.
34390 (__libc_memmove): New prototype.
34391 (memmove): Renamed to ...
34392 (__libc_memmove): This.
34393 (memmove): New strong alias of __libc_memmove.
34395 2012-08-08 Mark Salter <msalter@redhat.com>
34398 (R_MN10300_TLS_GD): Define.
34399 (R_MN10300_TLS_LD): Likewise.
34400 (R_MN10300_TLS_LDO): Likewise.
34401 (R_MN10300_TLS_GOTIE): Likewise.
34402 (R_MN10300_TLS_IE): Likewise.
34403 (R_MN10300_TLS_LE): Likewise.
34404 (R_MN10300_TLS_DTPMOD): Likewise.
34405 (R_MN10300_TLS_DTPOFF): Likewise.
34406 (R_MN10300_TLS_TPOFF): Likewise.
34407 (R_MN10300_SYM_DIFF): Likewise.
34408 (R_MN10300_ALIGN): Likewise.
34409 (R_MN10300_NUM): Update.
34411 2012-08-08 Joseph Myers <joseph@codesourcery.com>
34413 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34416 2012-08-08 Roland McGrath <roland@hack.frob.com>
34418 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34420 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34421 sysdeps/unix -> sysdeps/posix move.
34422 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34424 2012-08-07 Allan McRae <allan@archlinux.org>
34427 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34428 (SUNOS_CPP): Likewise.
34429 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34431 (open_input): Call CPP using execvp.
34433 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34435 * sysdeps/unix/sysv/linux/kernel-features.h
34436 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34437 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34438 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34439 (__ASSUME_WAITID_SYSCALL): Likewise.
34440 * sysdeps/unix/sysv/linux/dl-execstack.c
34441 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34442 code unconditional.
34443 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34445 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34446 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34447 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34449 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34451 [__ASSUME_WAITID_SYSCALL]: Likewise.
34452 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34454 2012-08-07 Roland McGrath <roland@hack.frob.com>
34456 * sysdeps/unix/closedir.c: Renamed to ...
34457 * sysdeps/posix/closedir.c: ... here.
34458 * sysdeps/unix/dirfd.c: Renamed to ...
34459 * sysdeps/posix/dirfd.c: ... here.
34460 * sysdeps/unix/dirstream.h: Renamed to ...
34461 * sysdeps/posix/dirstream.h: ... here.
34462 * sysdeps/unix/fdopendir.c: Renamed to ...
34463 * sysdeps/posix/fdopendir.c: ... here.
34464 * sysdeps/unix/opendir.c: Renamed to ...
34465 * sysdeps/posix/opendir.c: ... here.
34466 * sysdeps/unix/readdir.c: Renamed to ...
34467 * sysdeps/posix/readdir.c: ... here.
34468 * sysdeps/unix/readdir_r.c: Renamed to ...
34469 * sysdeps/posix/readdir_r.c: ... here.
34470 * sysdeps/unix/rewinddir.c: Renamed to ...
34471 * sysdeps/posix/rewinddir.c: ... here.
34472 * sysdeps/unix/seekdir.c: Renamed to ...
34473 * sysdeps/posix/seekdir.c: ... here.
34474 * sysdeps/unix/telldir.c: Renamed to ...
34475 * sysdeps/posix/telldir.c: ... here.
34476 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34477 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34478 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34479 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34481 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34482 * bits/fcntl.h: ... here.
34484 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34486 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34487 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34488 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34489 (struct flock): Move l_start, l_len to the beginning.
34490 Use __pid_t for l_pid.
34491 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34492 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34493 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34494 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34495 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34496 [__USE_LARGEFILE64] (struct flock64): New type.
34497 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34499 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34500 * bits/dirent.h: ... here.
34502 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34503 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34505 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34508 Change from 2.6.0 to 2.6.16.
34509 * sysdeps/unix/sysv/linux/configure: Regenerated.
34510 * sysdeps/unix/sysv/linux/kernel-features.h
34511 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34512 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34514 (__ASSUME_UTIMES): Likewise.
34515 (__ASSUME_CLONE_STOPPED): Remove.
34516 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34517 architectures, not kernel version.
34518 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34519 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34520 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34521 (__ASSUME_WAITID_SYSCALL): Likewise.
34522 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34523 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34524 * README: State 2.6.16 as minimum Linux kernel version. Do not
34525 refer to older versions.
34527 2012-08-06 Roland McGrath <roland@hack.frob.com>
34529 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34530 Define alphasort64 as an alias.
34531 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34532 Define versionsort64 as an alias.
34533 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34534 Define scandir64 as an alias.
34535 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34536 Define scandirat64 as an alias.
34537 * dirent/alphasort64.c (alphasort64):
34538 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34539 * dirent/versionsort64.c: Likewise.
34540 * dirent/scandir64.c: Likewise.
34541 * dirent/scandirat64.c: Likewise.
34542 * sysdeps/wordsize-64/alphasort.c: File removed.
34543 * sysdeps/wordsize-64/alphasort64.c: File removed.
34544 * sysdeps/wordsize-64/scandir.c: File removed.
34545 * sysdeps/wordsize-64/scandir64.c: File removed.
34546 * sysdeps/wordsize-64/scandirat.c: File removed.
34547 * sysdeps/wordsize-64/scandirat64.c: File removed.
34548 * sysdeps/wordsize-64/versionsort.c: File removed.
34549 * sysdeps/wordsize-64/versionsort64.c: File removed.
34550 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34551 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34552 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34553 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34554 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34555 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34556 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34557 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34559 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34560 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34561 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34562 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34563 [defined __arch64__ || defined __sparcv9]
34564 (__INO_T_MATCHES_INO64_T): New macro.
34565 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34566 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34567 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34568 * sysdeps/unix/sysv/linux/bits/dirent.h
34569 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34570 (_DIRENT_MATCHES_DIRENT64): New macro.
34572 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34573 Define lockf64 as an alias.
34574 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34575 Define fseeko64 as an alias.
34576 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34577 Define ftello64 as an alias.
34578 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34579 Define _IO_fgetpos64 and fgetpos64 as aliases.
34580 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34581 Define _IO_fsetpos64 and fsetpos64 as aliases.
34582 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34583 Conditionalize body on this.
34584 * libio/fseeko64.c: Likewise.
34585 * libio/ftello64.c: Likewise.
34586 * libio/iofgetpos64.c: Likewise.
34587 * libio/iofsetpos64.c: Likewise.
34588 * sysdeps/wordsize-64/lockf.c: File removed.
34589 * sysdeps/wordsize-64/lockf64.c: File removed.
34590 * sysdeps/wordsize-64/fseeko.c: File removed.
34591 * sysdeps/wordsize-64/fseeko64.c: File removed.
34592 * sysdeps/wordsize-64/ftello.c: File removed.
34593 * sysdeps/wordsize-64/ftello64.c: File removed.
34594 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34595 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34596 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34597 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34598 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34599 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34600 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34601 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34602 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34603 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34604 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34605 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34607 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34609 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34611 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34613 [defined __arch64__ || defined __sparcv9]
34614 (__OFF_T_MATCHES_OFF64_T): New macro.
34615 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34616 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34618 (__OFF_T_MATCHES_OFF64_T): New macro.
34620 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34622 * stdlib/secure-getenv.c (__secure_getenv): Replace
34623 GLIBC_2_16 with GLIBC_2_17.
34625 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34627 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34628 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34630 2012-08-03 David S. Miller <davem@davemloft.net>
34632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34634 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34636 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34638 (__ASSUME_CORRECT_SI_PID): Likewise.
34639 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34640 (__ASSUME_TMPFS_NAME): Likewise.
34641 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34642 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34643 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34644 (HAVE_AUX_SECURE): Make definition unconditional.
34645 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34646 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34648 2012-08-03 Roland McGrath <roland@hack.frob.com>
34650 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34651 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34652 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34653 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34654 __eloop_threshold instead of SYMLOOP_MAX.
34656 * sysdeps/generic/eloop-threshold.h: New file.
34657 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34659 * elf/chroot_canon.c (chroot_canon): Likewise.
34661 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34665 Change to 2.6.0 everywhere.
34666 * sysdeps/unix/sysv/linux/configure: Regenerated.
34667 * sysdeps/unix/sysv/linux/kernel-features.h
34668 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34669 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34671 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34672 (__ASSUME_FUTEX_REQUEUE): Remove.
34673 (__ASSUME_STATFS64): Define unconditionally.
34674 (__ASSUME_AT_SECURE): Likewise.
34675 (__ASSUME_CORRECT_SI_PID): Likewise.
34676 (__ASSUME_TGKILL): Define without depending on kernel version for
34678 (__ASSUME_UTIMES): Likewise.
34679 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34681 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34682 (__ASSUME_TMPFS_NAME): Likewise.
34683 * README: Update reference to Linux kernel versions.
34685 2012-08-02 Marek Polacek <polacek@redhat.com>
34688 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34689 libc_cv_asm_type_prefix with %.
34690 * configure: Regenerated.
34691 * include/libc-symbols.h: Remove comment about
34692 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34693 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34694 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34695 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34696 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34697 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34698 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34699 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34700 * elf/tst-unique2mod1.c: Likewise.
34701 * elf/tst-unique1mod2.c: Likewise.
34702 * elf/tst-unique1mod1.c: Likewise.
34703 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34704 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34705 Replace ASM_TYPE_DIRECTIVE with .type.
34706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34707 * sysdeps/i386/sysdep.h: Likewise.
34708 * sysdeps/x86_64/sysdep.h: Likewise.
34709 * sysdeps/sh/sysdep.h: Likewise.
34710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34711 Do not define ASM_TYPE_DIRECTIVE.
34712 * sysdeps/powerpc/sysdep.h: Likewise.
34713 * sysdeps/powerpc/powerpc32/sysdep.h:
34714 Replace ASM_TYPE_DIRECTIVE with .type.
34715 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34716 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34717 * sysdeps/i386/fpu/e_powf.S: Likewise.
34718 * sysdeps/i386/fpu/e_expl.S: Likewise.
34719 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34720 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34721 * sysdeps/i386/fpu/e_pow.S: Likewise.
34722 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34723 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34724 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34725 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34726 * sysdeps/i386/fpu/e_log2.S: Likewise.
34727 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34728 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34729 * sysdeps/i386/fpu/e_powl.S: Likewise.
34730 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34731 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34732 * sysdeps/i386/fpu/e_logl.S: Likewise.
34733 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34734 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34735 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34736 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34737 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34738 * sysdeps/i386/fpu/e_log.S: Likewise.
34739 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34740 * sysdeps/i386/fpu/e_logf.S: Likewise.
34741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34743 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34744 * sysdeps/i386/fpu/e_log10.S: Likewise.
34745 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34746 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34747 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34748 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34749 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34750 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34751 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34752 * sysdeps/i386/i686/strtok.S: Likewise.
34753 * sysdeps/i386/i386-mcount.S: Likewise.
34754 * sysdeps/i386/strtok.S: Likewise.
34755 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34756 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34757 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34758 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34760 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34761 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34762 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34763 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34764 * sysdeps/x86_64/_mcount.S: Likewise.
34765 * sysdeps/x86_64/strtok.S: Likewise.
34766 * sysdeps/sh/_mcount.S: Likewise.
34768 2012-08-01 Roland McGrath <roland@hack.frob.com>
34770 * libio/iofopen.c: Include <fcntl.h>.
34771 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34772 (_IO_fopen64, fopen64): Define as aliases.
34773 * libio/iofopen64.c: Include <fcntl.h>.
34774 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34775 Conditionalize body on this.
34776 * sysdeps/wordsize-64/iofopen.c: File removed.
34777 * sysdeps/wordsize-64/iofopen64.c: File removed.
34779 2012-08-01 Marek Polacek <polacek@redhat.com>
34781 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34782 Use dlfcn directly instead of a variable.
34783 (binfmt-subdir): Do not define.
34786 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34788 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34789 Remove all definitions.
34790 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34791 <kernel-features.h>.
34792 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34793 (miss_F_GETOWN_EX): Remove all definitions.
34794 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34796 [!__ASSUME_FCNTL64]: Remove conditional code.
34797 [__ASSUME_FCNTL64]: Make code unconditional.
34798 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34799 <kernel-features.h>.
34800 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34801 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34802 (lockf64) [__NR_fcntl64]: Make code unconditional.
34803 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34805 * sysdeps/unix/sysv/linux/kernel-features.h
34806 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34807 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34808 Make code unconditional.
34809 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34810 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34812 [__NR_vfork]: Make code unconditional.
34813 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34814 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34816 [__NR_vfork]: Make code unconditional.
34817 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34818 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34820 2012-08-01 Roland McGrath <roland@hack.frob.com>
34822 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34823 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34825 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34826 Define mkstemp64 as an alias.
34827 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34828 Define mkstemps64 as an alias.
34829 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34830 Define mkostemp64 as an alias.
34831 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34832 Define mkostemps64 as an alias.
34833 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34834 Conditionalize body on this.
34835 * misc/mkostemp64.c: Likewise.
34836 * misc/mkostemps64.c: Likewise.
34837 * misc/mkstemps64.c: Likewise.
34838 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34839 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34840 * sysdeps/wordsize-64/mkostemp.c: File removed.
34841 * sysdeps/wordsize-64/mkstemp.c: File removed.
34842 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34843 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34844 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34845 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34848 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34849 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34850 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34851 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34853 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34854 compat_symbol macros from <shlib-compat.h> rather than the underlying
34855 default_symbol_version and symbol_version macros, so that DEFAULT
34856 lines in shlib-versions are respected.
34857 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34859 2012-08-01 Florian Weimer <fweimer@redhat.com>
34861 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34862 Declare with warn_unused_result.
34863 (setgid, setregid, setegid, setresgid): Likewise.
34864 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34866 * WUR-REPORT: Remove set*id functions.
34868 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34870 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34872 2012-07-31 Roland McGrath <roland@hack.frob.com>
34875 * include/sys/socket.h (__libc_accept, __libc_accept4):
34876 Add attribute_hidden.
34877 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34879 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34881 * inet/getnetgrent_r.c (setup): Likewise.
34883 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34885 2012-07-31 David S. Miller <davem@davemloft.net>
34887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34889 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34892 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34893 value between 1.0 and 2.0 and smaller part has absolute value less
34895 * math/s_clog10.c (__clog10): Likewise.
34896 * math/s_clog10f.c (__clog10f): Likewise.
34897 * math/s_clog10l.c (__clog10l): Likewise.
34898 * math/s_clogf.c (__clogf): Likewise.
34899 * math/s_clogl.c (__clogl): Likewise.
34900 * math/libm-test.inc (clog_test): Add more tests.
34901 (clog10_test): Likewise.
34902 * sysdeps/i386/fpu/libm-test-ulps: Update.
34903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34905 2012-07-31 Florian Weimer <fweimer@redhat.com>
34907 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34908 Exit with zero in case no suitable GID is found, and write a
34909 message to standard error.
34911 2012-07-30 Roland McGrath <roland@hack.frob.com>
34913 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34915 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34916 (MAXPATHLEN): Removed.
34917 (NOGROUP, NODEV): New macros.
34918 (setbit, clrbit, isset, isclr): New macros.
34919 (howmany, roundup, powerof2): New macros.
34920 (DEV_BSIZE): New macro.
34922 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34923 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34925 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34926 definition on [!__NO_LONG_DOUBLE_MATH].
34928 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34929 PTR_MANGLE and PTR_DEMANGLE.
34931 * socket/accept4.c (accept4): Rename to __libc_accept4.
34932 Define accept4 as a weak alias.
34934 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34935 on [_DIRENT_HAVE_D_TYPE].
34936 * io/ftw.c (ftw_dir): Likewise.
34938 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34940 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34942 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34943 Use the BSD numbers rather than the arbitrary ones we had.
34944 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34945 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34946 (SIGXCPU, SIGXFSZ): New macros.
34949 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34950 initializer on [_LIBC_REENTRANT].
34952 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34953 definitions inside [_POSIX_MAPPED_FILES].
34955 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34957 * dirent/opendir.c: Include <fcntl.h>.
34959 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34960 (__libc_getspecific): Likewise.
34961 (__libc_key_create): Likewise.
34963 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34964 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34965 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34966 (tmpfile64): Define as alias.
34967 * sysdeps/wordsize-64/tmpfile.c: File removed.
34968 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34969 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34970 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34972 * stdio-common/vfscanf.c: Include <stdbool.h>.
34973 * nss/makedb.c: Likewise.
34974 * stdio-common/_i18n_number.h: Likewise.
34975 * argp/argp-help.c: Likewise.
34976 * posix/wordexp.c: Likewise.
34977 * sysdeps/posix/spawni.c: Likewise.
34978 * nss/nss_files/files-initgroups.c: Likewise.
34979 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34980 * nss/nss_files/files-initgroups.c: Likewise.
34981 * nss/nss_db/db-netgrp.c: Likewise.
34982 * nss/nss_db/db-initgroups.c: Likewise.
34983 * io/fchmodat.c: Include <sys/stat.h>.
34985 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34986 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34988 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34991 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34992 Add multiple inclusion protection.
34994 2012-07-27 David S. Miller <davem@davemloft.net>
34996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34998 2012-07-27 Gary Benson <gbenson@redhat.com>
35001 * elf/rtld.c: Include <stap-probe.h>.
35002 (dl_main): Added static probes "init_start" and "init_complete".
35003 * elf/dl-load.c: Include <stap-probe.h>.
35004 (lose): Take new parameter "nsid".
35005 Added static probe "map_failed".
35006 (_dl_map_object_from_fd): Pass namespace id to lose.
35007 Added static probe "map_start".
35008 (open_verify): Pass namespace id to lose.
35009 * elf/dl-open.c: Include <stap-probe.h>.
35010 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35011 and "reloc_complete".
35012 * elf/dl-close.c: Include <stap-probe.h>.
35013 (_dl_close_worker): Added static probes "unmap_start" and
35015 * elf/rtld-debugger-interface.txt: New file documenting the above.
35017 2012-07-26 Roland McGrath <roland@hack.frob.com>
35019 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35020 rather than a string variable.
35021 * sunrpc/rpc_main.c (h_output): Likewise.
35022 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35024 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35026 * inet/check_native.c: New file.
35028 2012-07-26 Joseph Myers <joseph@codesourcery.com>
35031 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35032 if larger part has absolute value 1.0.
35033 * math/s_clog10.c (__clog10): Likewise.
35034 * math/s_clog10f.c (__clog10f): Likewise.
35035 * math/s_clog10l.c (__clog10l): Likewise.
35036 * math/s_clogf.c (__clogf): Likewise.
35037 * math/s_clogl.c (__clogl): Likewise.
35038 * math/libm-test.inc (clog_test): Add more tests.
35039 (clog10_test): Likewise.
35040 * sysdeps/i386/fpu/libm-test-ulps: Update.
35041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35043 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35044 (pltexit): Likewise.
35045 (La_regs): Likewise.
35046 (La_retval): Likewise.
35047 (int_retval): Likewise.
35048 Update #error for removed macros to refer only to definitions in
35050 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35052 (pltexit): Likewise.
35053 (La_regs): Likewise.
35054 (La_retval): Likewise.
35055 (int_retval): Likewise.
35056 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35058 (pltexit): Likewise.
35059 (La_regs): Likewise.
35060 (La_retval): Likewise.
35061 (int_retval): Likewise.
35062 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35064 (pltexit): Likewise.
35065 (La_regs): Likewise.
35066 (La_retval): Likewise.
35067 (int_retval): Likewise.
35068 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35070 (pltexit): Likewise.
35071 (La_regs): Likewise.
35072 (La_retval): Likewise.
35073 (int_retval): Likewise.
35074 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35076 (pltexit): Likewise.
35077 (La_regs): Likewise.
35078 (La_retval): Likewise.
35079 (int_retval): Likewise.
35080 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35082 (pltexit): Likewise.
35083 (La_regs): Likewise.
35084 (La_retval): Likewise.
35085 (int_retval): Likewise.
35086 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35087 macro definitions in tst-audit.h.
35088 * sysdeps/i386/tst-audit.h: New file.
35089 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35090 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35091 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35092 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35093 * sysdeps/sh/tst-audit.h: Likewise.
35094 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35095 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35096 * sysdeps/x86_64/tst-audit.h: Likewise.
35098 2012-07-26 Andreas Jaeger <aj@suse.de>
35100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35103 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35104 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35105 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35107 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35108 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35109 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35111 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35114 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35116 (si_call_addr, si_syscall, si_arch): Define new macro.
35117 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35119 (si_call_addr, si_syscall, si_arch): Define new marcro.
35120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35122 (si_call_addr, si_syscall, si_arch): Define new macro.
35123 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35125 (si_call_addr, si_syscall, si_arch): Define new macro.
35127 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35130 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35131 Change to 2.4.21 where previously 2.4.1.
35132 * sysdeps/unix/sysv/linux/configure: Regenerated.
35133 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35134 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35135 Linux kernel version.
35136 (__ASSUME_STD_AUXV): Remove.
35137 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35139 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35140 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35141 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35142 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35143 (__ASSUME_NETLINK_SUPPORT): Likewise.
35144 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35145 (__no_netlink_support): Remove conditional definition.
35146 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35148 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35149 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35150 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35151 (if_nameindex_ioctl): Remove.
35152 (if_nameindex_netlink): Do not handle __no_netlink_support.
35153 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35155 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35156 Remove conditional code.
35157 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35159 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35161 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35162 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35163 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35165 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35166 [!__ASSUME_STD_AUXV]: Remove conditional code.
35167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35168 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35169 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35171 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35172 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35174 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35176 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35177 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35179 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35181 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35184 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35187 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35188 code unconditional.
35189 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35191 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35193 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35196 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35198 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35201 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35202 code unconditional.
35203 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35205 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35207 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35210 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35211 code unconditional.
35212 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35214 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35216 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35219 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35221 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35222 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35223 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35224 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35225 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35226 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35227 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35228 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35229 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35230 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35231 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35232 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35233 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35234 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35235 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35236 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35237 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35238 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35239 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35241 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35242 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35243 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35245 2012-07-25 Florian Weimer <fweimer@redhat.com>
35247 * Versions.def: Add GLIBC_2.17.
35248 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35249 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35250 Introduce __libc_secure_getenv.
35251 * stdlib/Versions (2.17): Add secure_getenv
35252 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35253 * stdlib/secure-getenv.c: Rename __secure_getenv to
35254 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35255 symbol __secure_getenv for GLIBC_2.0.
35256 * stdlib/tst-secure-getenv.c: New.
35257 * stdlib/Makefile (tests): Add testcase.
35258 * manual/startup.texi (Environment Access): Document
35260 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35261 __libc_secure_getenv.
35262 * inet/ruserpass.c (ruserpass): Likewise.
35263 * malloc/mtrace.c (mtrace): Likewise.
35264 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35265 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35266 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35267 * sysdeps/posix/tempname.c: Likewise. Evaluate
35268 HAVE_SECURE_GETENV.
35269 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35270 __secure_getenv to __libc_secure_getenv.
35271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35284 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35286 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35287 (struct La_i86_retval): Likewise.
35288 (struct La_x86_64_regs): Likewise.
35289 (struct La_x86_64_retval): Likewise.
35290 (struct La_x32_regs): Likewise.
35291 (struct La_x32_retval): Likewise.
35292 (struct La_ppc32_regs): Likewise.
35293 (struct La_ppc32_retval): Likewise.
35294 (struct La_ppc64_regs): Likewise.
35295 (struct La_ppc64_retval): Likewise.
35296 (struct La_sh_regs): Likewise.
35297 (struct La_sh_retval): Likewise.
35298 (struct La_s390_32_regs): Likewise.
35299 (struct La_s390_32_retval): Likewise.
35300 (struct La_s390_64_regs): Likewise.
35301 (struct La_s390_64_retval): Likewise.
35302 (struct La_sparc32_regs): Likewise.
35303 (struct La_sparc32_retval): Likewise.
35304 (struct La_sparc64_regs): Likewise.
35305 (struct La_sparc64_retval): Likewise.
35306 (struct audit_ifaces): Remove architecture-specific pltenter and
35308 * sysdeps/i386/ldsodefs.h: New file.
35309 * sysdeps/powerpc/ldsodefs.h: Likewise.
35310 * sysdeps/s390/ldsodefs.h: Likewise.
35311 * sysdeps/sh/ldsodefs.h: Likewise.
35312 * sysdeps/sparc/ldsodefs.h: Likewise.
35313 * sysdeps/x86_64/ldsodefs.h: Likewise.
35315 2012-07-25 Marek Polacek <polacek@redhat.com>
35318 * math/libm-test.inc (yn_test): Add another test.
35319 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35320 to ERANGE when the result is +-Inf.
35321 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35322 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35323 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35324 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35326 2012-07-24 Joseph Myers <joseph@codesourcery.com>
35328 * conform/data/time.h-data (NULL): Use macro-constant. Require
35330 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35332 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35334 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35336 * configure.in <sysdeps resolving>: Correct printing
35338 * configure: Regenerate.
35340 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35342 * math/w_ilogb.c: Include <limits.h>.
35343 * math/w_ilogbl.c: Likewise.
35345 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35347 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35348 va_copy. Document allowing for unavailable va_copy only as
35349 pre-C99 compatibility.
35350 * manual/string.texi (Copying and Concatenation): Use va_copy
35351 instead of __va_copy in concat example.
35353 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35355 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35356 (__sendto): Use create_address_port. Initialize APORT and deallocate
35359 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35360 with O_NOLINK passed to __file_name_lookup.
35362 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35363 with O_NOLINK passed to __file_name_lookup.
35365 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35366 negative N or less than NGIDS.
35368 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35369 type to string_t. Set ERANGE as errno and return it if NAME is not big
35370 enough. Use memcpy instead of strncpy.
35372 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35374 * elf/Makefile (check-data): Remove.
35375 (localplt.data): New vpath directive.
35376 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35377 instead of $(check-data).
35378 * scripts/data/localplt-generic.data: Move to ...
35379 * sysdeps/generic/localplt.data: ... here.
35380 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35381 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35382 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35385 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35388 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35391 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35394 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35397 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35401 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35403 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35404 PPC32 and PPC64 files.
35405 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35406 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35408 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35410 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35411 __makecontext_ret to ...
35412 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35413 ... here and call exit if uc_link is NULL. New file.
35414 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35415 __makecontext_ret.S.
35416 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35417 __makecontext_ret to ...
35418 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35419 ... here and call exit if uc_link is NULL. New file.
35420 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35421 __makecontext_ret.S.
35423 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35425 * elf/elf.h (R_390_IRELATIVE): New definition.
35426 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35427 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35428 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35429 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35430 (elf_machine_lazy_rel): Likewise.
35431 * sysdeps/s390/dl-irel.h: New file.
35432 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35433 * sysdeps/s390/s390-64/memset.S: New asm code.
35434 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35435 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35436 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35437 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35438 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35439 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35440 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35441 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35442 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35443 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35444 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35445 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35446 * sysdeps/s390/s390-32/memset.S: New asm code.
35447 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35449 2012-07-17 Marek Polacek <polacek@redhat.com>
35452 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35453 * sysdeps/s390/s390-64/configure.in: Likewise.
35454 * sysdeps/sparc/configure.in: Likewise.
35455 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35456 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35457 * sysdeps/i386/configure.in: Likewise.
35458 * sysdeps/x86_64/configure.in: Likewise.
35459 * sysdeps/sh/configure.in: Likewise.
35460 * sysdeps/s390/s390-32/configure: Regenerated.
35461 * sysdeps/s390/s390-64/configure: Likewise.
35462 * sysdeps/x86_64/configure: Likewise.
35463 * sysdeps/sh/configure: Likewise.
35464 * sysdeps/powerpc/powerpc64/configure: Likewise.
35465 * sysdeps/powerpc/powerpc32/configure: Likewise.
35466 * sysdeps/sparc/configure: Likwise.
35467 * sysdeps/i386/configure: Likewise.
35469 * elf/dl-open.c: Comment fixes.
35471 2012-07-17 Joseph Myers <joseph@codesourcery.com>
35473 * Makefile [CXX] (check-data): Remove.
35474 [CXX] (c++-types.data): New vpath directive.
35475 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35476 vpath. Do not allow for C++ type data being missing.
35477 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35478 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35479 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35480 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35481 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35482 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35483 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35486 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35489 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35492 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35495 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35498 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35501 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35504 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35507 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35508 definitions to architecture-specific files.
35509 (TLS_IE): Likewise.
35510 (TLS_LD): Likewise.
35511 (TLS_GD): Likewise.
35512 * sysdeps/i386/tls-macros.h: New file.
35513 * sysdeps/powerpc/tls-macros.h: Likewise.
35514 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35515 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35516 * sysdeps/sh/tls-macros.h: Likewise.
35517 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35518 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35519 * sysdeps/x86_64/tls-macros.h: Likewise.
35521 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35524 zero value for regular exit case.
35526 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35527 (__start_context): Preserve zero value for regular exit case.
35529 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35530 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35532 * manual/setjmp.texi (setcontext): Clarify normal process
35533 termination when uc_link is the null pointer.
35534 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35537 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35539 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35540 preprocessor. Test for each exception mask separately.
35542 2012-07-16 Andreas Jaeger <aj@suse.de>
35544 * po/ru.po: Update from translation team.
35546 2012-07-15 Joseph Myers <joseph@codesourcery.com>
35548 * conform/data/string.h-data (NULL): Use macro-constant. Require
35550 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35551 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35552 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35553 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35556 2012-07-13 Andreas Jaeger <aj@suse.de>
35558 * po/fr.po: Update from translation team.
35560 2012-07-12 Marek Polacek <polacek@redhat.com>
35563 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35564 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35567 2012-07-12 Joseph Myers <joseph@codesourcery.com>
35570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35571 Change to 2.4.1 where previously 2.4.0.
35572 * sysdeps/unix/sysv/linux/configure: Regenerated.
35573 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35574 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35576 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35577 (__ASSUME_AT_CLKTCK): Remove.
35578 (__ASSUME_AT_PAGESIZE): Likewise.
35579 (__ASSUME_AT_XID): Likewise.
35580 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35581 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35582 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35584 (HAVE_AUX_PAGESIZE): Likewise.
35585 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35586 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35587 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35589 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35593 the temporary buffer used to invoke __gethostbyname2_r,
35594 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35595 host_data / struct gaih_addrtuple.
35596 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35597 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35598 header file nss/nsswitch.h.
35599 * nss/nsswitch.h (global scope): Add definition of implementation
35600 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35601 resolv/nss_dns/dns-host.c).
35603 2012-07-11 Andreas Jaeger <aj@suse.de>
35605 * po/fr.po: Update from translation team.
35607 * po/sv.po: Update from translation team
35608 * po/fr.po: Another update from translation team.
35610 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35612 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35613 for subnormals or multiply small sinh result by itself.
35614 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35617 2012-07-11 David S. Miller <davem@davemloft.net>
35619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35621 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35624 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35625 (INTERNAL_MARK): Shift it here.
35627 2012-07-10 Marek Polacek <polacek@redhat.com>
35630 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35631 libc_cv_asm_global_directive with .globl.
35632 * configure: Regenerated.
35633 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35635 * sysdeps/i386/configure: Regenerated.
35636 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35638 * sysdeps/x86_64/configure: Regenerated.
35639 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35640 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35641 * elf/tst-unique2mod2.c: Likewise.
35642 * elf/tst-unique2mod1.c: Likewise.
35643 * elf/tst-unique1mod2.c: Likewise.
35644 * elf/tst-unique1mod1.c: Likewise.
35645 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35646 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35647 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35648 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35649 * sysdeps/mach/sysdep.h: Likewise.
35650 * sysdeps/i386/sysdep.h: Likewise.
35651 * sysdeps/i386/i386-mcount.S: Likewise.
35652 * sysdeps/x86_64/_mcount.S: Likewise.
35653 * sysdeps/x86_64/sysdep.h: Likewise.
35654 * sysdeps/sh/_mcount.S: Likewise.
35655 * sysdeps/sh/sysdep.h: Likewise.
35656 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35657 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35658 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35659 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35660 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35661 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35662 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35663 * locale/localeinfo.h: Likewise.
35664 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35665 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35667 2012-07-09 Roland McGrath <roland@hack.frob.com>
35670 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35672 * manual/message.texi (The Uniforum approach): Likewise.
35673 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35674 (glibc iconv Implementation): Likewise.
35676 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35679 * math/s_clog.c (__clog): Avoid scaling a value down where that
35680 could result in underflow.
35681 * math/s_clog10.c (__clog10): Likewise.
35682 * math/s_clog10f.c (__clog10f): Likewise.
35683 * math/s_clog10l.c (__clog10l): Likewise.
35684 * math/s_clogf.c (__clogf): Likewise.
35685 * math/s_clogl.c (__clogl): Likewise.
35686 * math/libm-test.inc (clog_test): Add more tests.
35687 (clog10_test): Likewise.
35688 * sysdeps/i386/fpu/libm-test-ulps: Update.
35689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35691 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35694 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35695 by 7 not 8 to examine high bit of fractional part.
35698 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35699 for call to __mcount_internal.
35700 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35701 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35702 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35704 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35707 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35708 approximation for values within 0x1p-13f of an odd multiple of
35710 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35711 exception. Add more tests.
35712 * sysdeps/i386/fpu/libm-test-ulps: Update.
35715 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35716 inputs and return -1 for them. Do not check for +Inf in case not
35717 reachable for +Inf.
35718 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35719 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35721 and return -1 for them. Do not check for +Inf in case not
35722 reachable for +Inf.
35723 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35725 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35726 and return -1 for them. Do not check for +Inf in case not
35727 reachable for +Inf.
35728 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35729 spurious underflow.
35730 * sysdeps/i386/fpu/libm-test-ulps: Update.
35731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35733 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35735 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35737 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35741 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35742 could result in spurious underflow. Scale down values above
35743 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35744 * math/s_csqrtf.c (__csqrtf): Likewise.
35745 * math/s_csqrtl.c (__csqrtl): Likewise.
35746 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35747 spurious underflow.
35748 * sysdeps/i386/fpu/libm-test-ulps: Update.
35749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35751 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35753 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35755 * catgets/xopen-msg.awk: New file.
35756 * catgets/xopen-msg.sed: Removed.
35758 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35760 * intl/po2test.awk: New file.
35761 * intl/po2test.sed: Removed.
35763 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35766 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35767 or multiply small sinh result by itself.
35768 * math/s_ctanf.c (__ctanf): Likewise.
35769 * math/s_ctanh.c (__ctanh): Likewise.
35770 * math/s_ctanhf.c (__ctanhf): Likewise.
35771 * math/s_ctanhl.c (__ctanhl): Likewise.
35772 * math/s_ctanl.c (__ctanl): Likewise.
35773 * math/libm-test.inc (ctan_test_tonearest): New function.
35774 (ctan_test_towardzero): Likewise.
35775 (ctan_test_downward): Likewise.
35776 (ctan_test_upward): Likewise.
35777 (ctanh_test_tonearest): Likewise.
35778 (ctanh_test_towardzero): Likewise.
35779 (ctanh_test_downward): Likewise.
35780 (ctanh_test_upward): Likewise.
35781 (main): Call these new functions.
35782 * sysdeps/i386/fpu/libm-test-ulps: Update.
35783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35785 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35787 * .gitignore: Delete /ports entry.
35789 2012-07-03 Andreas Jaeger <aj@suse.de>
35791 * po/bg.po: Update from translation team.
35792 * po/cs.po: Likewise.
35793 * po/de.po: Likewise.
35794 * po/hr.po: Likewise.
35795 * po/nl.pl: Likewise.
35796 * po/pl.po: Likewise.
35797 * po/vi.po: Likewise.
35799 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35801 * Makeconfig [!+link] (+link-before-libc): New variable.
35802 [!+link] (+link-after-libc): Likewise.
35803 [!+link] (+link-tests): Likewise.
35804 [!+link] (+link): Define in terms of $(+link-before-libc) and
35805 $(+link-after-libc).
35806 [!+link-static] (+link-static-before-libc): New variable.
35807 [!+link-static] (+link-static-after-libc): Likewise.
35808 [!+link-static] (+link-static-tests): Likewise.
35809 [!+link-static] (+link-static): Define in terms of
35810 $(+link-static-before-libc) and $(+link-static-after-libc).
35811 [build-shared] (link-libc-before-gnulib): New variable.
35812 [build-shared] (link-libc-tests): Likewise.
35813 [build-shared] (link-libc): Define in terms of
35814 $(link-libc-before-gnulib).
35815 [!build-shared] (link-libc-tests): New variable.
35816 (link-libc-static-tests): New variable.
35817 [!gnulib] (gnulib-arch): New variable.
35818 [!gnulib] (gnulib-tests): Likewise.
35819 [!gnulib] (static-gnulib-arch): Likewise.
35820 [!gnulib] (static-gnulib-tests): Likewise.
35821 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35822 Define with "=" instead of ":=".
35823 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35824 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35825 * Rules (binaries-all-notests): New variable.
35826 (binaries-all-tests): Likewise.
35827 (binaries-static-notests): Likewise.
35828 (binaries-static-tests): Likewise.
35829 (binaries-all): Define using $(binaries-all-notests) and
35830 $(binaries-all-tests).
35831 (binaries-static): Define using $(binaries-static-notests) and
35832 $(binaries-static-tests).
35833 (binaries-shared-tests): New variable.
35834 (binaries-shared-notests): Likewise.
35835 (binaries-shared): Remove variable.
35836 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35837 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35838 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35839 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35840 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35841 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35842 * elf/Makefile (sln-modules): New variable.
35843 (extra-objs): Add $(sln-modules:=.o).
35844 (ldconfig-modules): Add static-stubs.
35845 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35846 * elf/static-stubs.c: New file.
35849 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35850 by 7 not 8 to examine high bit of fractional part. Use volatile
35851 variables when splitting into final array of floats if
35852 __FLT_EVAL_METHOD__ != 0.
35853 * math/libm-test.inc (cos_test): Add another test.
35854 (sin_test): Likewise.
35855 * sysdeps/i386/fpu/libm-test-ulps: Update.
35858 * math/libm-test.inc (cosh_test): Add more tests.
35860 * version.h (RELEASE): Set to "development".
35861 (VERSION): Set to "2.16.90".
35863 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35865 * NEWS: Update copyright. Remove last-updated date.
35866 Mention math library bug fixes and timezone data changes.
35867 * README: Mention GNU/Hurd, x32, and HPPA support status.
35869 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35871 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35873 2012-06-27 Andreas Jaeger <aj@suse.de>
35875 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35877 2012-06-25 Andreas Jaeger <aj@suse.de>
35879 * sysdeps/s390/fpu/libm-test-ulps: Update.
35881 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35882 Thomas Schwinge <thomas@codesourcery.com>
35884 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35885 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35889 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35891 * sysdeps/mach/start.c: Remove file.
35892 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35893 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35894 * sysdeps/sh/init-first.c: Likewise.
35896 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35897 registers for frame unwinding purposes, add CFI directives.
35898 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35899 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35900 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35903 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35904 __fortify_fail returning.
35905 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35907 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35908 sysdeps/sh/____longjmp_chk.S.
35909 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35910 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35911 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35912 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35914 * sysdeps/sh/abort-instr.h: New file.
35915 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35916 process in case exit returns.
35918 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35919 initialize the GOT register before use.
35921 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35922 calculation of ARGC > 4.
35924 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35925 meaningful names to some local labels.
35927 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35928 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35930 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35931 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35932 (__arch_compare_and_exchange_val_16_acq): Likewise.
35933 (__arch_compare_and_exchange_val_32_acq): Likewise.
35934 (atomic_exchange_and_add): Fix gUSA sequence.
35935 (atomic_add): Likewise.
35936 (atomic_add_negative): Likewise.
35937 (atomic_add_zero): Likewise.
35938 (atomic_bit_test_set): Likewise.
35940 2012-06-22 Andreas Schwab <schwab@redhat.com>
35943 * include/link.h (struct link_map): Add l_free_initfini.
35944 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35946 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35947 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35948 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35951 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35953 * configure.in: Use AC_LANG_SOURCE.
35954 * configure: Regenerate.
35956 2012-06-22 Roland McGrath <roland@hack.frob.com>
35958 * configure.in (libc_cv_localstatedir): New substituted variable.
35959 * configure: Regenerated.
35960 * config.make.in (localstatedir): New variable, substituted from
35961 libc_cv_localstatedir.
35962 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35963 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35964 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35965 * sysdeps/gnu/configure: Regenerated.
35967 2012-06-21 Jeff Law <law@redhat.com>
35970 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35971 free. Simplify list management for _LIBC case.
35973 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35976 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35977 Clear sign bit of 64-bit integer value before comparing against
35980 * sysdeps/mach/configure: Regenerated.
35982 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35987 2012-06-21 Jeff Law <law@redhat.com>
35990 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35991 uint16_t for elements in the "seen" array to avoid char overflows.
35992 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35993 * elf/dl-open.c (dl_open_worker): Likewise.
35995 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35997 * scripts/list-sources.sh: Scan PORTS for translations.
35998 * po/libc.pot: Regenerated.
36000 2012-06-21 Andreas Jaeger <aj@suse.de>
36003 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36005 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36006 * bits/byteswap-16.h (__bswap_16): Likewise.
36007 * bits/byteswap.h (__bswap_constant_16): Likewise.
36009 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36012 * sysdeps/i386/fpu_control.h: Removed.
36013 * sysdeps/x86_64/fpu_control.h: Moved to ...
36014 * sysdeps/x86/fpu_control.h: Here.
36016 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36017 (_FPU_SETCW): Likewise.
36019 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36022 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36023 * sysdeps/x86/fpu/bits/mathinline.h: This.
36024 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36028 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36029 functions if __x86_64__ is defined.
36031 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36033 * string/endian.h: Add !__ASSEMBLER__ condition for including
36034 conversion interfaces.
36036 2012-06-15 Joseph Myers <joseph@codesourcery.com>
36039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36040 of ABS(x) in calculating zero to negative powers other than odd
36042 * math/libm-test.inc (pow_test): Add more tests.
36044 2012-06-15 Andreas Jaeger <aj@suse.de>
36046 * manual/contrib.texi (Contributors): Update entry of Liubov
36047 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36050 2012-06-15 Cyril Hrubis <metan@ucw.cz>
36052 * string/string.h: Add __wur to GNU version of strerror_r.
36054 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36057 * string/Makefile (tests): Add tst-strtok_r.
36058 * string/tst-strtok_r.c: New file.
36059 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36060 RAX_LP/RDX_LP on SAVE_PTR.
36062 2012-06-14 Roland McGrath <roland@hack.frob.com>
36064 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36066 2012-06-14 Joseph Myers <joseph@codesourcery.com>
36068 * libm_test.inc (csqrt_test): Allow more spurious underflow
36070 (j0_test): Likewise.
36071 (j1_test): Likewise.
36072 (y0_test): Likewise.
36073 (y1_test): Likewise.
36075 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36077 * po/Makefile (libc.pot): Use UTF-8 charset.
36079 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36082 Suppress sign-conversion warning from FD_SET.
36083 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36084 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36085 not unsigned long int.
36086 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36088 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36092 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36093 __extern_always_inline instead of __extern_inline.
36094 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36095 (__signbit): Likewise.
36096 (__signbitl): Support C++ namespace.
36097 (lrintf): New inline function.
36099 (llrintf): Likewise.
36100 (llrint): Likewise.
36110 (floorf): Likewise.
36111 (nearbyint): Likewise.
36112 (nearbyintf): Likewise.
36114 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36116 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36117 non-default versions.
36119 2012-06-11 Roland McGrath <roland@hack.frob.com>
36122 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36124 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36126 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36127 (FE_UPWARD, FE_DOWNWARD): Don't define.
36128 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36129 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36133 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36134 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36136 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36138 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36140 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36141 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36143 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36146 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36147 * sysdeps/i386/fpu/Implies: New file.
36148 * sysdeps/x86_64/fpu/Implies: Likewise.
36149 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36150 * sysdeps/x86/fpu/bits/fenv.h: This.
36152 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36155 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36158 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36159 character 0xffff that matches the last element of the
36162 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36167 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36170 values higher than 25.6283.
36172 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36174 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36175 subnormal exponent extraction and add some __builtin_expect.
36176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36177 Fix for subnormal mantissa calculation.
36179 2012-06-04 Mike Frysinger <vapier@gentoo.org>
36181 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36182 cpu2 is -1 and errno is not ENOSYS.
36184 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36187 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36188 * sysdeps/x86/bits/string.h: This.
36189 * sysdeps/x86_64/bits/string.h: Removed.
36191 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36192 if not compiling for x86-64, but compiling for >= i486.
36194 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36195 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36197 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36198 New macro from Linux kernel 3.4.0.
36199 (FP_XSTATE_MAGIC2): Likewise.
36200 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36201 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36202 (struct _fpx_sw_bytes): New struct.
36203 (struct _xsave_hdr): Likewise.
36204 (struct _ymmh_state): Likewise.
36205 (struct _xstate): Likewise.
36207 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36208 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36209 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36210 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36211 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36212 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36214 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36215 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36216 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36217 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36218 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36219 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36221 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36224 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36225 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36226 (sysdep_headers): Include sys/platform/ppc.h.
36227 * sysdeps/powerpc/test-gettimebase.c: Test for
36228 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36229 * manual/Makefile (appendices): Include platform.texi.
36230 * manual/contrib.texi (Contributors): Update @node pointers.
36231 * manual/maint.texi (Maintenance): Likewise.
36232 (Platform): New node.
36233 * manual/platform.texi: New file. Document the new features.
36235 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36236 Jakub Jelinek <jakub@redhat.com>
36239 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36240 where __builtin_expect is unavailable.
36242 2012-06-03 David S. Miller <davem@davemloft.net>
36244 * stdlib/longlong.h: Updated from GCC.
36246 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36249 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36250 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36253 (GLIBC_2.16): Likewise.
36255 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36257 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36259 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36262 (default-abi): New variable.
36263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36264 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36266 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36268 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36270 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36273 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36274 definition. Document in comment.
36276 2012-06-01 David S. Miller <davem@davemloft.net>
36278 * stdlib/longlong.h: Updated from GCC.
36280 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36283 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36284 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36285 sys/debugreg.h sys/io.h here.
36286 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36287 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36289 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36290 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36291 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36292 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36293 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36294 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36296 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36297 Define only if __x86_64__ is defined.
36299 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36302 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36303 Use int64_t for variable i.
36304 * math/libm-test.inc (fmod_test): Add more tests.
36306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36307 z computation is not scheduled after fetestexcept.
36308 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36309 Use math_force_eval instead of asm to ensure calculation scheduled
36310 before exception test.
36311 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36312 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36314 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36317 computation is not scheduled after fetestexcept.
36319 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36322 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36323 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36325 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36327 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36328 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36330 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36333 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36335 (__WCHAR_MIN): Support __WORDSIZE == 64.
36336 (__WCHAR_MAX): Likewise.
36338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36339 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36342 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36343 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36346 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36347 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36349 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36350 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36352 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36353 Defined to 1 if __x86_64__ isn't defined.
36354 (_STAT_VER_LINUX_OLD): New.
36355 (st_atime): Remove duplicate.
36356 (st_mtime): Likewise.
36357 (st_ctime): Likewise.
36359 2012-05-31 David S. Miller <davem@davemloft.net>
36361 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36364 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36366 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36370 * elf/dl-reloc.c: Include <_itoa.h>.
36371 (_dl_reloc_bad_type): Remove use of INTUSE.
36372 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36373 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36374 * stdio-common/psiginfo.c (psiginfo): Likewise.
36375 * stdio-common/psignal.c (psignal): Likewise.
36376 * string/strsignal.c (strsignal): Likewise.
36377 * include/signal.h (_sys_siglist): Declare hidden proto.
36378 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36379 INTVARDEF with libc_hidden_data_def.
36380 * stdio-common/itoa-udigits.c: Likewise.
36381 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36382 (_itoa_lower_digits_internal): Remove declaration.
36383 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36384 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36385 (_sys_sigabbrev_internal): Remove aliases.
36386 (_sys_siglist): Define hidden alias.
36388 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36393 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36396 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36397 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36399 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36400 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36401 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36402 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36403 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36404 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36406 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36407 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36408 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36410 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36420 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36422 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36423 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36424 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36425 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36426 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36427 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36429 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36430 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36432 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36433 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36435 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36437 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36439 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36440 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36442 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36444 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36445 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36446 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36448 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36450 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36452 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36454 * math/math.h (M_El): Use two more decimal places.
36455 (M_LOG2El): Likewise.
36456 (M_LOG10El): Likewise.
36457 (M_LN2l): Likewise.
36458 (M_LN10l): Likewise.
36460 (M_PI_2l): Likewise.
36461 (M_PI_4l): Likewise.
36462 (M_1_PIl): Likewise.
36463 (M_2_PIl): Likewise.
36464 (M_2_SQRTPIl): Likewise.
36465 (M_SQRT2l): Likewise.
36466 (M_SQRT1_2l): Likewise.
36468 2012-05-31 David S. Miller <davem@davemloft.net>
36470 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36471 values between float registers.
36472 * sysdeps/sparc/sparc64/memset.S: Likewise.
36473 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36475 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36477 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36478 -D_FORTIFY_SOURCE=1.
36479 (CPPFLAGS-tst-longjmp_chk.c): Define.
36480 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36481 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36482 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36483 CFLAGS-tst-wchar-h.c.
36485 2012-05-31 Marek Polacek <polacek@redhat.com>
36488 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36489 __endmntent_internal): Remove declaration.
36490 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36491 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36492 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36494 2012-05-30 David S. Miller <davem@davemloft.net>
36496 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36497 (___Q_simulate_exceptions): Use real FP ops rather than writing
36499 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36502 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36505 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36506 * sysdeps/x86/bits/xtitypes.h: This.
36508 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36509 * sysdeps/x86/bits/wordsize.h: This.
36511 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36512 * sysdeps/x86/bits/huge_vall.h: This.
36514 * sysdeps/i386/bits/select.h: Removed.
36515 * sysdeps/x86_64/bits/select.h: Renamed to ...
36516 * sysdeps/x86/bits/select.h: This.
36518 * sysdeps/i386/bits/setjmp.h: Removed.
36519 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36520 * sysdeps/x86/bits/setjmp.h: This.
36522 * sysdeps/i386/bits/mathdef.h: Removed.
36523 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36524 * sysdeps/x86/bits/mathdef.h: This.
36526 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36529 * include/sys/socket.h (__connect_internal)
36530 (__libc_sa_len_internal): Remove declaration.
36531 (__connect, __libc_sa_len): Declare hidden_proto.
36532 (SA_LEN): Remove use of INTUSE.
36533 * socket/connect.c: Add libc_hidden_def.
36534 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36535 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36536 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36538 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36539 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36540 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36541 of adding _internal alias.
36543 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36546 * sysdeps/i386/bits/link.h: Removed.
36547 * sysdeps/i386/bits/linkmap.h: Likewise.
36548 * sysdeps/x86_64/bits/link.h: Renamed to ...
36549 * sysdeps/x86/bits/link.h: This.
36550 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36551 * sysdeps/x86/bits/linkmap.h: This.
36553 * sysdeps/i386/bits/endian.h: Removed.
36554 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36555 * sysdeps/x86/bits/endian.h: This.
36557 * sysdeps/i386/bits/byteswap.h: Removed.
36558 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36559 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36560 * sysdeps/x86/bits/byteswap.h: This.
36561 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36562 * sysdeps/x86/bits/byteswap-16.h: This.
36563 * sysdeps/i386/Implies: Add x86.
36564 * sysdeps/x86_64/Implies: Likewise.
36566 2012-05-30 David S. Miller <davem@davemloft.net>
36568 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36569 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36570 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36571 (FP_TRAPPING_EXCEPTIONS): Define.
36572 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36573 (FP_TRAPPING_EXCEPTIONS): Define.
36574 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36575 subnormals only when inexact has been signalled or underflow
36576 exceptions are enabled.
36577 (_FP_PACK_CANONICAL): Likewise.
36579 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36582 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36583 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36585 2012-05-30 Richard Henderson <rth@twiddle.net>
36587 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36588 with #ifndef NOT_IN_libc.
36590 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36591 marked to avoid plt entry.
36593 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36596 * Makeconfig (default-abi): New macro.
36597 (abi-includes): Likewise.
36598 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36599 $(abi-$(default-abi)-lib-soname) for soname if defined.
36600 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36602 * Makefile (installed-stubs): Likewise.
36603 * include/stubs-biarch.h: Removed.
36604 * scripts/lib-names.awk: Only handle one library at a time.
36605 * scripts/soversions.awk: Remove WORDSIZE support.
36606 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36608 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36610 (syscall-list-default-condition): Likewise.
36611 (syscall-list-default-condition): Likewise.
36612 (syscall-list-includes): Likewise.
36613 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36614 syscall-list-* with abi-*. Handle undefined abi-variants.
36615 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36616 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36617 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36618 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36619 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36620 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36622 (syscall-list-32-options): Likewise.
36623 (syscall-list-32-condition): Likewise.
36624 (syscall-list-64-options): Likewise.
36625 (syscall-list-64-condition): Likewise.
36626 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36628 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36631 (abi-64-ld-soname): New macro.
36632 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36633 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36636 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36637 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36639 2012-05-30 Joseph Myers <joseph@codesourcery.com>
36641 * sysdeps/unix/sysv/linux/kernel-features.h
36642 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36643 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36644 include <kernel-features.h>.
36645 [!__NR_ftruncate64]: Remove conditional code.
36646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36647 [__NR_ftruncate64]: Make code unconditional.
36648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36649 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36650 include <kernel-features.h>.
36651 [!__NR_ftruncate64]: Remove conditional code.
36652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36653 [__NR_ftruncate64]: Make code unconditional.
36654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36656 include <kernel-features.h>.
36657 [!__NR_ftruncate64]: Remove conditional code.
36658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36659 [__NR_ftruncate64]: Make code unconditional.
36660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36662 include <kernel-features.h>.
36663 [!__NR_ftruncate64]: Remove conditional code.
36664 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36665 [__NR_ftruncate64]: Make code unconditional.
36666 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36668 * configure.in (libc_cv_fpie): Weaken to a compile test using
36669 LIBC_TRY_CC_OPTION.
36670 * configure: Regenerated.
36672 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36687 2012-05-27 David S. Miller <davem@davemloft.net>
36689 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36691 (__Q_simulate_exceptions): Return void. Change to simulate
36692 exceptions by writing into the %fsr.
36693 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36694 (__Qp_handle_exceptions): Likewise.
36696 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36697 __Qp_handle_exceptions.
36698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36699 __Qp_handle_exceptions.
36700 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36701 as unused and give dummy FP_RND_NEAREST initializer.
36702 (FP_INHIBIT_RESULTS): Define.
36703 (___Q_simulate_exceptions): Update declaration.
36704 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36706 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36707 as unused and give dummy FP_RND_NEAREST initializer.
36708 (__Qp_handle_exceptions): Update declaration.
36709 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36712 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36714 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36715 the temporary FPU control word.
36716 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36717 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36718 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36719 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36720 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36721 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36722 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36723 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36724 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36725 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36726 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36728 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36730 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36733 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36735 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36736 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36737 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36738 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36740 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36741 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36744 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36746 * po/h.po: Update from translation team.
36748 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36750 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36752 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36753 handling of denormals.
36754 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36755 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36756 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36757 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36759 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36760 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36763 2012-05-26 Marek Polacek <polacek@redhat.com>
36766 * math/libm-test.inc (fma_test): Don't always expect underflow
36769 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36772 * elf/tst-execstack.c: Include stackinfo.h.
36773 (do_test): Adjust test case to ensure that pthread_getattr_np
36774 behaviour remains the same after marking stack executable.
36776 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36778 * sysdeps/unix/sysv/linux/kernel-features.h
36779 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36780 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36782 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36783 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36784 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36786 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36787 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36789 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36791 * configure.in: Define the default includes to being none.
36792 * configure: Regenerated.
36794 2012-05-25 Roland McGrath <roland@hack.frob.com>
36796 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36797 * sysdeps/x86_64/setjmp.S: Likewise.
36798 * sysdeps/i386/bsd-setjmp.S: Likewise.
36799 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36800 * sysdeps/i386/setjmp.S: Likewise.
36801 * sysdeps/i386/__longjmp.S: Likewise.
36802 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36803 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36805 * include/stap-probe.h: New file.
36806 * configure.in: Handle --enable-systemtap.
36807 * configure: Regenerated.
36808 * config.h.in (USE_STAP_PROBE): New #undef.
36809 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36810 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36811 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36813 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36816 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36817 to 2.4.0 where earlier.
36818 * sysdeps/unix/sysv/linux/configure: Regenerated.
36819 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36820 <kernel-features.h>.
36821 [__ASSUME_32BITUIDS]: Make code unconditional.
36822 [!__ASSUME_32BITUIDS]: Remove conditional code.
36823 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36824 <kernel-features.h>.
36825 [__ASSUME_32BITUIDS]: Make code unconditional.
36826 [!__ASSUME_32BITUIDS]: Remove conditional code.
36827 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36828 [__ASSUME_32BITUIDS]: Make code unconditional.
36829 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36830 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36831 <kernel-features.h>.
36832 [__ASSUME_32BITUIDS]: Make code unconditional.
36833 [!__ASSUME_32BITUIDS]: Remove conditional code.
36834 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36835 <kernel-features.h>.
36836 [__ASSUME_32BITUIDS]: Make code unconditional.
36837 [!__ASSUME_32BITUIDS]: Remove conditional code.
36838 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36839 <kernel-features.h>.
36840 [__ASSUME_32BITUIDS]: Make code unconditional.
36841 [!__ASSUME_32BITUIDS]: Remove conditional code.
36842 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36843 <kernel-features.h>.
36844 [__ASSUME_32BITUIDS]: Make code unconditional.
36845 [!__ASSUME_32BITUIDS]: Remove conditional code.
36846 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36847 <kernel-features.h>.
36848 [__ASSUME_32BITUIDS]: Make code unconditional.
36849 [!__ASSUME_32BITUIDS]: Remove conditional code.
36850 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36851 <kernel-features.h>.
36852 [__ASSUME_32BITUIDS]: Make code unconditional.
36853 [!__ASSUME_32BITUIDS]: Remove conditional code.
36854 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36855 <kernel-features.h>.
36856 [__ASSUME_32BITUIDS]: Make code unconditional.
36857 [!__ASSUME_32BITUIDS]: Remove conditional code.
36858 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36859 <kernel-features.h>.
36860 [__ASSUME_32BITUIDS]: Make code unconditional.
36861 [!__ASSUME_32BITUIDS]: Remove conditional code.
36862 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36863 <kernel-features.h>.
36864 [__ASSUME_32BITUIDS]: Make code unconditional.
36865 [!__ASSUME_32BITUIDS]: Remove conditional code.
36866 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36867 <kernel-features.h>.
36868 [__ASSUME_32BITUIDS]: Make code unconditional.
36869 [!__ASSUME_32BITUIDS]: Remove conditional code.
36870 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36871 <kernel-features.h>.
36872 [__NR_setresgid] (__setresgid): Do not declare.
36873 [__ASSUME_32BITUIDS]: Make code unconditional.
36874 [!__ASSUME_32BITUIDS]: Remove conditional code.
36875 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36876 <kernel-features.h>.
36877 [__NR_setresuid] (__setresuid): Do not declare.
36878 [__ASSUME_32BITUIDS]: Make code unconditional.
36879 [!__ASSUME_32BITUIDS]: Remove conditional code.
36880 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36881 <kernel-features.h>.
36882 [__ASSUME_32BITUIDS]: Make code unconditional.
36883 [!__ASSUME_32BITUIDS]: Remove conditional code.
36884 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36885 <kernel-features.h>.
36886 [__ASSUME_32BITUIDS]: Make code unconditional.
36887 [!__ASSUME_32BITUIDS]: Remove conditional code.
36888 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36889 <kernel-features.h>.
36890 [__ASSUME_32BITUIDS]: Make code unconditional.
36891 [!__ASSUME_32BITUIDS]: Remove conditional code.
36892 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36893 <kernel-features.h>.
36894 [__ASSUME_32BITUIDS]: Make code unconditional.
36895 [!__ASSUME_32BITUIDS]: Remove conditional code.
36896 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36897 <kernel-features.h>.
36898 [__ASSUME_32BITUIDS]: Make code unconditional.
36899 [!__ASSUME_32BITUIDS]: Remove conditional code.
36900 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36901 <kernel-features.h>.
36902 [__ASSUME_32BITUIDS]: Make code unconditional.
36903 [!__ASSUME_32BITUIDS]: Remove conditional code.
36904 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36905 <kernel-features.h>.
36906 [__ASSUME_32BITUIDS]: Make code unconditional.
36907 [!__ASSUME_32BITUIDS]: Remove conditional code.
36908 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36909 <kernel-features.h>.
36910 [__ASSUME_32BITUIDS]: Make code unconditional.
36911 [!__ASSUME_32BITUIDS]: Remove conditional code.
36912 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36913 <kernel-features.h>.
36914 [__ASSUME_32BITUIDS]: Make code unconditional.
36915 [!__ASSUME_32BITUIDS]: Remove conditional code.
36916 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36917 <kernel-features.h>.
36918 [__ASSUME_32BITUIDS]: Make code unconditional.
36919 [!__ASSUME_32BITUIDS]: Remove conditional code.
36920 * sysdeps/unix/sysv/linux/kernel-features.h
36921 (__ASSUME_SETRESUID_SYSCALL): Remove.
36922 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36923 (__ASSUME_32BITUIDS): Likewise.
36924 (__ASSUME_LDT_WORKS): Likewise.
36925 (__ASSUME_O_DIRECTORY): Likewise.
36926 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36927 architecture but not kernel version.
36928 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36929 (__ASSUME_MMAP2_SYSCALL): Likewise.
36930 (__ASSUME_STAT64_SYSCALL): Likewise.
36931 (__ASSUME_IPC64): Likewise.
36932 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36933 <kernel-features.h>.
36934 [__ASSUME_32BITUIDS]: Make code unconditional.
36935 [!__ASSUME_32BITUIDS]: Remove conditional code.
36936 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36937 <kernel-features.h>.
36938 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36939 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36940 132096]: Remove conditional code.
36941 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36942 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36943 <kernel-features.h>.
36944 [__ASSUME_32BITUIDS]: Make code unconditional.
36945 [!__ASSUME_32BITUIDS]: Remove conditional code.
36946 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36947 <kernel-features.h>.
36948 [__ASSUME_32BITUIDS]: Make code unconditional.
36949 [!__ASSUME_32BITUIDS]: Remove conditional code.
36950 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36951 <kernel-features.h>.
36952 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36954 (__setresgid): Do not declare.
36955 [__ASSUME_32BITUIDS]: Make code unconditional.
36956 [!__ASSUME_32BITUIDS]: Remove conditional code.
36957 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36958 <kernel-features.h>.
36959 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36961 (__setresuid): Do not declare.
36962 [__ASSUME_32BITUIDS]: Make code unconditional.
36963 [!__ASSUME_32BITUIDS]: Remove conditional code.
36964 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36965 <kernel-features.h>.
36966 [__ASSUME_32BITUIDS]: Make code unconditional.
36967 [!__ASSUME_32BITUIDS]: Remove conditional code.
36968 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36969 <kernel-features.h>.
36970 [__ASSUME_32BITUIDS]: Make code unconditional.
36971 [!__ASSUME_32BITUIDS]: Remove conditional code.
36973 2012-05-25 Richard Henderson <rth@twiddle.net>
36975 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36976 dl_hwcap to ifunc resolver.
36977 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36979 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36980 dl_hwcap to ifunc resolver.
36981 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36983 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36986 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36987 for |x| <= 2**-26, not 2**-57.
36988 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36991 2012-05-24 Jeff Law <law@redhat.com>
36993 * stdio-common/Makefile (tests): Add bug25.
36994 * stdio-common/bug25.c: New test.
36996 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36999 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37000 multiple of MALLOC_ALIGNMENT in size.
37001 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37003 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37005 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37007 (FILENAME_MAX): Use macro-int-constant.
37008 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37009 (_IOFBF): Use macro-int-constant.
37010 (_IOLBF): Likewise.
37011 (_IONBF): Likewise.
37012 (SEEK_CUR): Likewise.
37013 (SEEK_END): Likewise.
37014 (SEEK_SET): Likewise.
37015 (TMP_MAX): Likewise.
37016 (EOF): Use macro-int-constant. Require < 0.
37017 (NULL): Use macro-constant. Require == 0.
37018 (stdin): Require type to be FILE *.
37019 (stdout): Likewise.
37020 (stderr): Likewise.
37021 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37022 macro-int-constant.
37023 (EXIT_SUCCESS): Likewise.
37024 (NULL): Use macro-constant. Require == 0.
37025 (RAND_MAX): Use macro-int-constant.
37026 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37027 [C99-based standards] (strtof): Require function.
37028 [C99-based standards] (strtold): Likewise.
37029 [C99-based standards] (strtoll): Likewise.
37030 [C99-based standards] (strtoull): Likewise.
37031 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37032 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37033 [ISO || ISO99 || ISO11] (math.h): Likewise.
37034 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37035 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37038 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37041 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37042 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37043 * intl/dgettext.c (DCGETTEXT): Likewise.
37044 * intl/gettext.c (DCGETTEXT): Likewise.
37045 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37046 * posix/regex_internal.h (gettext): Likewise.
37047 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37048 Remove declaration.
37049 * include/argz.h (__argz_count_internal)
37050 (__argz_stringify_internal): Remove declaration.
37051 (__argz_count, __argz_stringify): Declare hidden proto.
37052 * intl/dcgettext.c: Remove use of INTDEF.
37053 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37054 * string/argz-stringify.c: Likewise.
37055 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37056 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37057 Declare hidden proto.
37058 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37059 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37060 Declare hidden proto.
37061 * include/stdio.h (__asprintf_internal): Don't declare.
37062 (__asprintf): Don't define as macro. Declare hidden proto.
37063 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37064 (__fsetlocking): Declare hidden proto.
37065 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37066 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37068 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37069 (_IO_setlinebuf): Remove use of INTUSE.
37070 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37071 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37072 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37073 Remove declaration.
37074 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37075 (_IO_do_flush): Remove use of INTUSE.
37076 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37077 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37078 (_IO_adjust_column, _IO_least_wmarker)
37079 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37080 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37081 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37082 (_IO_default_doallocate, _IO_wdefault_doallocate)
37083 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37084 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37085 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37086 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37087 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37088 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37089 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37090 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37091 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37092 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37093 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37094 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37095 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37097 (_IO_flush_all_internal, _IO_adjust_column_internal)
37098 (_IO_default_uflow_internal, _IO_default_finish_internal)
37099 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37100 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37101 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37102 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37103 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37104 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37105 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37106 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37107 (_IO_file_close_internal, _IO_file_close_it_internal)
37108 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37109 (_IO_file_init_internal, _IO_file_attach_internal)
37110 (_IO_file_fopen_internal, _IO_file_read_internal)
37111 (_IO_file_sync_internal, _IO_file_seek_internal)
37112 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37113 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37114 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37115 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37116 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37117 (_IO_list_all_internal, _IO_link_in_internal)
37118 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37119 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37120 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37121 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37122 (_IO_do_write_internal, _IO_padn_internal)
37123 (_IO_getline_info_internal, _IO_getline_internal)
37124 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37125 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37126 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37127 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37128 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37129 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37130 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37131 with libc_hidden_ver, remove use of INTUSE.
37132 * libio/genops.c: Likewise.
37133 * libio/freopen.c: Likewise.
37134 * libio/freopen64.c: Likewise.
37135 * libio/iofclose.c: Likewise.
37136 * libio/iofdopen.c: Likewise.
37137 * libio/iofflush.c: Likewise.
37138 * libio/iofflush_u.c: Likewise.
37139 * libio/iofgets.c: Likewise.
37140 * libio/iofgets_u.c: Likewise.
37141 * libio/iofopen.c: Likewise.
37142 * libio/iofopncook.c: Likewise.
37143 * libio/iofread.c: Likewise.
37144 * libio/iofread_u.c: Likewise.
37145 * libio/ioftell.c: Likewise.
37146 * libio/iofwrite.c: Likewise.
37147 * libio/iogetline.c: Likewise.
37148 * libio/iogets.c: Likewise.
37149 * libio/iogetwline.c: Likewise.
37150 * libio/iopadn.c: Likewise.
37151 * libio/iopopen.c: Likewise.
37152 * libio/ioseekoff.c: Likewise.
37153 * libio/ioseekpos.c: Likewise.
37154 * libio/iosetbuffer.c: Likewise.
37155 * libio/iosetvbuf.c: Likewise.
37156 * libio/ioungetc.c: Likewise.
37157 * libio/ioungetwc.c: Likewise.
37158 * libio/iovdprintf.c: Likewise.
37159 * libio/iovsprintf.c: Likewise.
37160 * libio/iovsscanf.c: Likewise.
37161 * libio/memstream.c: Likewise.
37162 * libio/obprintf.c: Likewise.
37163 * libio/oldfileops.c: Likewise.
37164 * libio/oldiofclose.c: Likewise.
37165 * libio/oldiofdopen.c: Likewise.
37166 * libio/oldiofopen.c: Likewise.
37167 * libio/oldiopopen.c: Likewise.
37168 * libio/oldstdfiles.c: Likewise.
37169 * libio/putc.c: Likewise.
37170 * libio/setbuf.c: Likewise.
37171 * libio/setlinebuf.c: Likewise.
37172 * libio/stdfiles.c: Likewise.
37173 * libio/strops.c: Likewise.
37174 * libio/vasprintf.c: Likewise.
37175 * libio/vscanf.c: Likewise.
37176 * libio/vsnprintf.c: Likewise.
37177 * libio/vswprintf.c: Likewise.
37178 * libio/wfiledoalloc.c: Likewise.
37179 * libio/wfileops.c: Likewise.
37180 * libio/wgenops.c: Likewise.
37181 * libio/wmemstream.c: Likewise.
37182 * libio/wstrops.c: Likewise.
37183 * libio/__fpurge.c: Likewise.
37184 * libio/__fsetlocking.c: Likewise.
37185 * assert/assert.c: Likewise.
37186 * debug/fgets_chk.c: Likewise.
37187 * debug/fgets_u_chk.c: Likewise.
37188 * debug/fread_chk.c: Likewise.
37189 * debug/fread_u_chk.c: Likewise.
37190 * debug/gets_chk.c: Likewise.
37191 * debug/obprintf_chk.c: Likewise.
37192 * debug/vasprintf_chk.c: Likewise.
37193 * debug/vdprintf_chk.c: Likewise.
37194 * debug/vsnprintf_chk.c: Likewise.
37195 * debug/vsprintf_chk.c: Likewise.
37196 * malloc/mtrace.c: Likewise.
37197 * misc/error.c: Likewise.
37198 * misc/syslog.c: Likewise.
37199 * stdio-common/asprintf.c: Likewise.
37200 * stdio-common/fxprintf.c: Likewise.
37201 * stdio-common/getw.c: Likewise.
37202 * stdio-common/isoc99_fscanf.c: Likewise.
37203 * stdio-common/isoc99_scanf.c: Likewise.
37204 * stdio-common/isoc99_vfscanf.c: Likewise.
37205 * stdio-common/isoc99_vscanf.c: Likewise.
37206 * stdio-common/isoc99_vsscanf.c: Likewise.
37207 * stdio-common/printf-prs.c: Likewise.
37208 * stdio-common/printf_fp.c: Likewise.
37209 * stdio-common/printf_fphex.c: Likewise.
37210 * stdio-common/printf_size.c: Likewise.
37211 * stdio-common/putw.c: Likewise.
37212 * stdio-common/scanf.c: Likewise.
37213 * stdio-common/sprintf.c: Likewise.
37214 * stdio-common/tmpfile.c: Likewise.
37215 * stdio-common/vfprintf.c: Likewise.
37216 * stdio-common/vfscanf.c: Likewise.
37217 * stdlib/strfmon_l.c: Likewise.
37218 * sunrpc/openchild.c: Likewise.
37219 * sunrpc/xdr_stdio.c: Likewise.
37220 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37221 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37223 2012-05-24 Roland McGrath <roland@hack.frob.com>
37225 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37227 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37228 in the third column, to generate for the shared library an IFUNC
37229 that uses _dl_vdso_vsym.
37230 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37231 * Makeconfig (object-suffixes-noshared): New variable.
37233 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37234 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37235 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37236 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37239 * include/sys/time.h (__gettimeofday): Remove macro.
37240 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37241 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37243 (__gettimeofday): Add libc_hidden_def.
37244 (gettimeofday): Add libc_hidden_weak.
37245 * sysdeps/mach/gettimeofday.c: Likewise.
37246 * sysdeps/posix/gettimeofday.c: Likewise.
37247 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37248 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37250 (__gettimeofday_internal): Remove strong_alias.
37251 (__gettimeofday): Add libc_hidden_def.
37252 (gettimeofday): Add libc_hidden_weak.
37253 * sysdeps/unix/syscalls.list (gettimeofday):
37254 Remove __gettimeofday_internal alias.
37256 2012-05-24 Daniel Jacobowitz <drow@false.org>
37257 H.J. Lu <hongjiu.lu@intel.com>
37260 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37261 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37262 (largebin_index_32_big): New.
37263 (largebin_index): Use it for 16-byte alignment.
37264 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37265 correction with front_misalign.
37267 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37295 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37296 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37298 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37302 * math/libm-test.inc (exp_test): Add test from bug 14036.
37303 (pow_test): Add test from bug 10846.
37305 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37307 (special_function): Do not include flags in test name.
37308 (parse_args): Likewise.
37309 * sysdeps/i386/fpu/libm-test-ulps: Update.
37310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37311 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37312 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37315 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37317 * math/libm-test.inc ("Philosophy"): Update comment about
37319 (UNDERFLOW_EXCEPTION): New macro.
37320 (UNDERFLOW_EXCEPTION_OK): Likewise.
37321 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37322 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37323 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37324 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37325 (INVALID_EXCEPTION_OK): Update value.
37326 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37327 (OVERFLOW_EXCEPTION_OK): Likewise.
37328 (IGNORE_ZERO_INF_SIGN): Likewise.
37329 (test_exceptions): Handle underflow exceptions.
37330 (acos_test): Update for underflow exception expectations.
37331 (cexp_test): Likewise.
37332 (clog_test): Likewise.
37333 (clog10_test): Likewise.
37334 (csqrt_test): Likewise.
37335 (ctan_test): Likewise.
37336 (ctanh_test): Likewise.
37337 (exp_test): Likewise.
37338 (exp10_test): Likewise.
37339 (exp2_test): Likewise.
37340 (expm1_test): Likewise.
37341 (fma_test): Likewise.
37342 (j0_test): Likewise.
37343 (jn_test): Likewise.
37344 (nexttoward_test): Likewise.
37345 (pow_test): Likewise.
37346 (scalbn_test): Likewise.
37347 (scalbln_test): Likewise.
37348 (tan_test): Likewise.
37349 (y1_test): Likewise.
37350 * sysdeps/i386/fpu/libm-test-ulps: Update.
37351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37353 2012-05-23 David S. Miller <davem@davemloft.net>
37355 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37356 (__libc_sigaction): Remove unused local variables.
37358 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37360 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37362 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37364 mktime: avoid signed integer overflow
37365 * time/mktime.c (__mktime_internal): Do not mishandle the case
37366 where diff == INT_MIN.
37368 mktime: simplify computation of average
37369 * time/mktime.c (ranged_convert): Use new time_t_avg function
37370 instead of rolling our own (probably-slower) code.
37372 mktime: do not assume signed right shift propagates sign bit
37373 * time/mktime.c (isdst_differ): New static function.
37374 (__mktime_internal): No need to normalize tm_isdst now.
37375 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37378 mktime: merge another wrapv change from gnulib
37379 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37380 from some compilers.
37382 mktime: remove incorrect attempt at unusual arithmetics
37383 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37384 The code didn't really work on such machines anyway.
37385 (TYPE_MINIMUM): Assume two's complement.
37386 (twos_complement_arithmetic): Verify that long_int and time_t
37387 are two's complement (or unsigned, in the latter case).
37389 mktime: check signed shifts on long_int and time_t, too
37390 * time/mktime.c (SHR): Check that shifts work as desired
37391 on the types long_int and time_t too, as SHR is used on
37394 mktime: do not assume 'long' is wide enough
37395 * time/mktime.c (verify): Move decl up.
37396 (long_int): New type.
37397 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37398 to remove assumption in the code that 'long' is wide enough to
37399 store year values. This assumption is not true on x32 and on
37400 some non-glibc platforms.
37402 mktime: merge wrapv change from gnulib
37403 * time/mktime.c (WRAPV): New macro.
37404 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37405 (guess_time_tm, __mktime_internal): Do not assume that signed
37406 integer overflow wraps around; modern compilers generate code
37407 where this assumption is no longer valid.
37409 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37411 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37412 Replace "jmp L(pseudo_end)" with "ret".
37413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37416 2012-05-23 Andreas Jaeger <aj@suse.de>
37418 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37419 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37421 2012-05-23 Andreas Jaeger <aj@suse.de>
37422 Maximilian Attems <max@stro.at>
37424 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37427 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37429 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37430 code so that pseudo_end is just ret and the stack pointer is
37431 correct also for static library in error case.
37433 2012-05-23 Joseph Myers <joseph@codesourcery.com>
37435 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37436 move to syscalls.list.
37437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37442 * manual/install.texi (Running make install): Do not mention Linux
37443 kernel version for which pt_chown is not needed.
37444 (Linux): Do not mention problems with nscd with 2.0 kernels.
37445 * INSTALL: Regenerated.
37447 2012-05-23 Andreas Jaeger <aj@suse.de>
37449 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37450 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37452 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37454 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37456 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37457 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37459 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37460 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37461 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37462 * sysdeps/unix/sysv/linux/bits/in.h
37463 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37465 2012-05-22 Roland McGrath <roland@hack.frob.com>
37467 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37468 (PREPARE_VERSION): Just use assert instead, it will be elided
37469 under [NDEBUG] anyway.
37471 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37473 * sysdeps/unix/sysv/linux/Makefile: Include
37474 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37475 (sysdep_routines): Remove sysctl.
37476 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37477 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37478 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37479 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37480 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37482 2012-05-22 Andreas Jaeger <aj@suse.de>
37484 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37485 that pseudo_end is just ret and the stack pointer is correct also
37486 for static library in error case.
37488 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37491 * nss/nsswitch.c (defconfig_entries): New variable.
37492 (__nss_database_lookup): Don't leak defconfig entries.
37493 (nss_parse_service_list): Don't leak on error paths.
37494 (free_database_entries): New function.
37495 (free_defconfig): New function.
37496 (free_mem): Move common code to free_database_entries.
37498 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37500 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37502 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37504 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37505 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37508 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37509 (INTERNAL_SYSCALL_TYPES): Likewise.
37510 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37511 (LOAD_REGS_TYPES_[1-6]): Likewise.
37512 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37513 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37515 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37517 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37518 copysignl for GLIBC_2_0.
37519 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37520 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37522 logbl for GLIBC_2_0.
37523 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37524 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37526 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37529 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37531 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37534 * time/mktime.c: Update copyright years.
37536 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37538 mktime: merge comment-quoting-style change from gnulib
37539 * time/mktime.c: Quote 'like this' in comments.
37540 The GNU coding standards suggest that we no longer quote `like this',
37541 as "`" and "'" are typically rendered asymmetrically nowadays.
37542 The typical gnulib style is to quote 'like this' when quoting
37543 code, and "like this" when quoting English.
37545 * time/mktime.c (compile-command): Add "-I.".
37547 mktime: merge mktime-internal.h change from gnulib
37548 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37550 mktime: merge time_r change from gnulib
37551 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37553 mktime: merge DEBUG change from gnulib
37554 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37555 case system <time.h> has a #define.
37557 mktime: merge <sys/types.h> change from gnulib
37558 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37559 since <time.t> is now guaranteed to define time_t.
37561 mktime: merge HAVE_CONFIG_H change from gnulib
37562 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37564 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37569 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37571 (struct rusage): Use anonymous union to pad each field to
37574 2012-05-21 David S. Miller <davem@davemloft.net>
37576 * Makefules (o-iterator): Remove .s cases.
37577 (compile-command.s): Delete.
37578 (COMPILE.s): Delete.
37579 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37581 2012-05-21 Joseph Myers <joseph@codesourcery.com>
37583 * configure.in (libc_cv_predef_stack_protector): Only consider
37584 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37585 * configure: Regenerated.
37587 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37590 New macro. Use R*LP on int and pointer.
37591 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37592 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37593 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37594 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37596 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37597 [__WORDSIZE_TIME64_COMPAT32] instead of
37598 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37599 (struct utmp): Likewise.
37600 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37601 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37603 (__WORDSIZE_TIME64_COMPAT32): This.
37604 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37605 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37606 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37607 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37608 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37609 (__WORDSIZE_TIME64_COMPAT32): New macro.
37611 2012-05-21 Andreas Jaeger <aj@suse.de>
37613 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37614 only if [SHARED]. Add prototype for __wcschr_ia32.
37616 2012-05-21 Roland McGrath <roland@hack.frob.com>
37618 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37619 of %rbp unmolested in the jmp_buf while mangling the low bits.
37620 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37621 unmolested high bits of %rbp while demangling the low bits.
37622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37624 2012-05-21 Andreas Jaeger <aj@suse.de>
37626 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37627 * sunrpc/svc_simple.c: Use it for registerrpc.
37628 * sunrpc/xcrypt.c: Use it for passwd2des.
37630 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37632 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37634 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37635 Don't define if [__SYSCALL_WORDSIZE != 32].
37636 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37639 2012-05-21 Bruno Haible <bruno@clisp.org>
37640 Andreas Jaeger <aj@suse.de>
37642 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37643 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37644 inptr and inend for must_buffer_ch.
37645 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37646 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37647 * stdio-common/Makefile (tests): Remove bug15.
37648 (bug15-ENV): Remove macro.
37649 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37652 2012-05-19 Andreas Jaeger <aj@suse.de>
37653 Roland McGrath <roland@hack.frob.com>
37655 * manual/contrib.texi: Completely rewritten. It contains now an
37656 alphabetical list of contributors and their contributions.
37658 2012-05-21 Richard Henderson <rth@twiddle.net>
37660 * misc/getauxval.c (__getauxval): Use unsigned long int.
37661 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37662 (getauxval): Use unsigned long int.
37664 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37666 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37668 2012-05-21 Roland McGrath <roland@hack.frob.com>
37670 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37671 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37672 __alignof__ (long double).
37674 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37678 2012-05-20 Richard Henderson <rth@twiddle.net>
37680 * misc/getauxval.c: New file.
37681 * misc/sys/auxv.h: New file.
37682 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37683 (routines): Add getauxval.
37684 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37685 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37686 * elf/dl-sysdep.c (_dl_auxv): Remove.
37687 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37688 * elf/dl-support.c (_dl_auxv): New variable.
37689 (_dl_aux_init): Initialize it.
37690 * manual/startup.texi (Auxiliary Vector): New node.
37691 * sysdeps/generic/bits/hwcap.h: New file.
37692 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37693 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37694 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37695 * sysdeps/sparc/sysdep.h: ... here. Include it.
37696 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37697 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37709 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37713 2012-05-19 David S. Miller <davem@davemloft.net>
37715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37717 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37720 * math/s_ccosh.c: Include <float.h>
37721 (__ccosh): Avoid internal overflow calculating sinh and cosh
37722 values before multiplying by sin and cos values.
37723 * math/s_ccoshf.c: Likewise.
37724 * math/s_ccoshl.c: Likewise.
37725 * math/s_csin.c: Likewise.
37726 * math/s_csinf.c: Likewise.
37727 * math/s_csinl.c: Likewise.
37728 * math/s_csinh.c: Likewise.
37729 * math/s_csinhf.c: Likewise.
37730 * math/s_csinhl.c: Likewise.
37731 * math/libm-test.inc (ccos_test): Add more tests.
37732 (ccosh_test): Likewise.
37733 (csin_test): Likewise.
37734 (csinh_test): Likewise.
37735 * sysdeps/i386/fpu/libm-test-ulps: Update.
37736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37738 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37740 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37741 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37743 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37745 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37747 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37748 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37749 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37750 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37751 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37752 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37753 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37754 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37755 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37756 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37757 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37758 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37759 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37760 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37761 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37762 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37763 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37764 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37765 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37766 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37767 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37768 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37769 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37770 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37771 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37772 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37773 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37774 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37775 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37776 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37777 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37779 2012-05-18 Andreas Jaeger <aj@suse.de>
37781 * csu/.gitignore: Delete.
37783 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37785 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37786 (timex): Use __syscall_slong_t.
37788 2012-05-18 Andreas Jaeger <aj@suse.de>
37789 Carlos O'Donell <carlos_odonell@mentor.com>
37791 * manual/install.texi (Configuring and compiling): Update
37792 description about files modified in the source directory.
37793 * INSTALL: Regenerated.
37795 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37797 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37798 value. Use "or" to set return value to -1.
37799 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37800 negate return value.
37802 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37804 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37805 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37806 failure if the compiler has Graphite support disabled.
37807 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37809 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37810 (CFLAGS-memmove.c): Likewise.
37811 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37814 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37816 * sysdeps/x86_64/x32/_itoa.h: New file.
37818 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37819 getdents system call only if kernel and user dirents have the
37820 same d_ino and d_off.
37822 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37823 LLONG_MAX != LONG_MAX.
37824 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37825 (_fitoa_word): Likewise.
37827 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37829 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37830 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37831 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37833 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37834 include <bits/wordsize.h>. Check __x86_64__ instead of
37836 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37837 if __x86_64__ is defined. Use anonymous union on fpstate.
37839 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37842 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37844 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37845 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37846 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37847 Refer to _rtld_local_ro instead of _rtld_global_ro.
37848 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37850 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37852 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37854 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37855 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37856 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37858 * sysdeps/powerpc/powerpc32/dl-machine.c
37859 (__elf_machine_runtime_setup) [PROF]: Don't reference
37862 2012-05-18 Andreas Jaeger <aj@suse.de>
37864 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37865 function only available for GCCs before 3.4 since GCC 3.4
37866 introduced a builtin.
37868 (llrintf): Likewise.
37869 (llrint): Likewise.
37876 (nearbyint): Likewise.
37877 (nearbyintf): Likewise.
37881 (floorf): Likewise.
37883 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37885 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37886 on both fields and cast pointer to __syscall_ulong_t.
37888 * bits/types.h (__fsword_t): New type.
37889 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37890 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37891 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37892 (__FSWORD_T_TYPE): Likewise.
37893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37894 (__FSWORD_T_TYPE): Likewise.
37895 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37896 (__FSWORD_T_TYPE): Likewise.
37897 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37898 (__FSWORD_T_TYPE): Likewise.
37899 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37900 __SWORD_TYPE with __fsword_t.
37901 (statfs64): Likewise.
37903 2012-05-17 David S. Miller <davem@davemloft.net>
37905 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37907 2012-05-17 Andreas Jaeger <aj@suse.de>
37909 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37912 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37914 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37916 2012-05-17 Andreas Jaeger <aj@suse.de>
37918 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37921 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37923 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37925 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37927 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37928 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37930 2012-05-17 Andreas Jaeger <aj@suse.de>
37931 Carlos O'Donell <carlos_odonell@mentor.com>
37934 * sysdeps/x86_64/multiarch/init-arch.h
37935 (bit_YMM_Usable): Rename to...
37936 (bit_AVX_Usable): ... this.
37937 (bit_FMA4_Usable): New macro.
37938 (bit_XMM_state): New macro.
37939 (bit_YMM_state): New macro.
37940 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37941 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37942 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37943 (CPUID_OSXSAVE): New macro.
37944 (CPUID_AVX): New macro.
37945 (CPUID_FMA4): New macro.
37946 (index_YMM_Usable): Rename to...
37947 (index_AVX_Usable): ... this.
37948 (HAS_AVX): Use HAS_ARCH_FEATURE.
37949 (HAS_FMA4): Likewise.
37950 (HAS_YMM_USABLE): Remove.
37951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37952 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37954 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37955 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37956 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37957 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37958 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37960 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37962 * math/libm-test.c: Support platforms without multiple rounding modes.
37963 * math/bug-nextafter.c: Support platforms without FP exceptions.
37964 * math/bug-nexttoward.c: Likewise.
37965 * math/test-fenv.c: Likewise.
37966 * math/test-misc.c: Likewise.
37967 * stdlib/bug-getcontext.c: Likewise.
37969 2012-05-17 Andreas Jaeger <aj@suse.de>
37971 * manual/examples/search.c (critter_cmp): Change signature to
37973 * manual/string.texi (Collation Functions): Likewise.
37975 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37977 * bits/types.h: Fold copyright years.
37978 * bits/typesizes.h: Likewise.
37979 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37981 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37983 * time/time.h: Likewise.
37985 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37988 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37989 in instead of returning them. Return void.
37990 (__libc_mallinfo): Accumulate over all arenas.
37991 (__malloc_stats): Adjust for change in int_mallinfo interface.
37993 2012-05-16 Roland McGrath <roland@hack.frob.com>
37996 * configure.in (NM): Add AC_CHECK_TOOL for it.
37997 (libc_extra_cflags): New substituted variable.
37998 Check for -fstack-protector being used implicitly.
37999 * configure: Regenerated.
38000 * config.make.in (config-extra-cflags): New variable,
38001 gets @libc_extra_cflags@.
38002 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38005 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38006 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38007 * configure: Regenerated.
38008 * config.make.in (CPPUNDEFS): New substituted variable.
38009 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38010 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38011 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38013 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38015 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38016 (mq_attr): Use __syscall_slong_t.
38018 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38020 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38021 Check __x86_64__ instead of __WORDSIZE.
38022 (_STAT_VER_LINUX): Likewise.
38023 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38024 __syscall_ulong_t and __syscall_slong_t.
38025 (stat64): Likewise.
38027 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38031 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38033 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38035 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38037 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38040 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38041 include <bits/wordsize.h>. Check __x86_64__ instead of
38043 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38045 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38047 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38048 include <bits/wordsize.h>. Check __x86_64__ instead of
38050 (user_regs_struct): Use "__extension__ unsigned long long"
38051 instead of "unsigned long" if __x86_64__ is defined.
38052 (user): Likewise. Pad after pointer field if __ILP32__ is
38055 2012-05-16 Joseph Myers <joseph@codesourcery.com>
38057 * configure.in (makeinfo): Require version 4.5 or later. Allow
38059 * configure: Regenerated.
38060 * manual/install.texi (texinfo): Increase version requirement to
38062 * INSTALL: Regenerated.
38064 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38066 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38068 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38070 * sysdeps/x86_64/x32/ffs.c: New file.
38072 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38074 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38075 defined. Use __syscall_ulong_t.
38076 (shminfo): Use __syscall_ulong_t.
38077 (shm_info): Likewise.
38079 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38082 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38084 (msgqnum_t): Use __syscall_ulong_t.
38085 (msglen_t): Likewise.
38086 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38089 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38090 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38092 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38094 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38095 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38097 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38100 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38101 include <bits/wordsize.h>. Check __x86_64__ instead of
38104 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38105 "unsigned long long int" if __x86_64__ is defined.
38106 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38108 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38109 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38110 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38112 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38114 (GET_PC): Cast to uintptr_t first.
38115 (GET_FRAME): Likewise.
38116 (GET_STACK): Likewise.
38118 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38119 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38120 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38122 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38124 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38125 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38126 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38127 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38128 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38129 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38130 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38131 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38132 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38133 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38134 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38135 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38136 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38137 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38138 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38139 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38140 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38141 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38142 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38144 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38145 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38146 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38148 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38150 * Makerules (+depfiles): Also collect depfiles from .oS in
38152 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38153 .oS, $(libnldbl-routines)).
38155 * Makerules (native-compile-mkdep-flags): Define.
38156 * sunrpc/Makefile (extra-objs): Add $(addprefix
38157 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38158 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38159 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38160 calling $(make-target-directory).
38162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38164 * bits/types.h (__snseconds_t): Removed.
38165 * time/time.h (struct timespec): Replace __snseconds_t with
38167 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38168 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38171 (__SNSECONDS_T_TYPE): Likewise.
38172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38173 (__SNSECONDS_T_TYPE): Likewise.
38174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38175 (__SNSECONDS_T_TYPE): Likewise.
38177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38179 * sysdeps/mach/hurd/bits/typesizes.h
38180 (__SYSCALL_SLONG_TYPE): New macro.
38181 (__SYSCALL_ULONG_TYPE): Likewise.
38183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38185 * bits/types.h (__syscall_slong_t): New type.
38186 (__syscall_ulong_t): Likewise.
38188 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38189 (__SYSCALL_ULONG_TYPE): Likewise.
38190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38191 (__SYSCALL_SLONG_TYPE): Likewise.
38192 (__SYSCALL_ULONG_TYPE): Likewise.
38193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38194 (__SYSCALL_SLONG_TYPE): Likewise.
38195 (__SYSCALL_ULONG_TYPE): Likewise.
38196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38197 (__SYSCALL_SLONG_TYPE): Likewise.
38198 (__SYSCALL_ULONG_TYPE): Likewise.
38200 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38202 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38203 Add sigaltstack-offsets.sym.
38204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38205 <sigaltstack-offsets.h>.
38206 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38207 longjmp_msg pointer.
38208 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38209 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38211 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38213 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38215 * elf/stackguard-macros.h: Remove file.
38216 * sysdeps/generic/stackguard-macros.h: New file.
38217 * sysdeps/i386/stackguard-macros.h: Likewise.
38218 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38219 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38220 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38221 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38222 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38223 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38224 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38225 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38226 <elf/stackguard-macros.h>.
38229 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38230 __aligned__ in attribute.
38231 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38232 (gregset_t): Likewise.
38234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38236 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38237 * sysdeps/x86_64/64/Implies-after: Here. New file.
38238 * sysdeps/x86_64/x32/Implies-after: New file.
38240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38242 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38243 and access return value for _dl_profile_fixup. Use R10_LP to
38246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38248 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38252 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38253 * sysdeps/x86_64/x32/sysdep.h: New file.
38255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38257 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38258 * sysdeps/x86_64/setjmp.S: Likewise.
38260 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38262 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38263 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38264 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38265 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38266 remove unused global constant.
38268 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38270 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38271 include of <not-cancel.h>.
38273 2012-05-15 Roland McGrath <roland@hack.frob.com>
38275 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38277 2012-05-15 Jeff Law <law@redhat.com>
38278 Andreas Jaeger <aj@suse.de>
38281 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38283 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38284 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38285 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38286 code changing __hst_map_handle.map.
38288 2012-05-15 Roland McGrath <roland@hack.frob.com>
38290 * configure.in (sysnames): Look for Implies-before and Implies-after
38292 * configure: Regenerated.
38294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38296 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38297 8-byte data alignment with LP_SIZE alignment.
38299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38301 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38306 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38310 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38311 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38312 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38314 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38318 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38319 (stackinfo_sub_sp): Likewise.
38321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38323 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38328 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38338 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38342 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38343 into R11_LP and load __x86_64_shared_cache_size_half into
38346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38351 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38360 powerpc32/power7/fpu/s_logb.c via #include.
38361 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38362 powerpc32/power7/fpu/s_logbf.c via #include.
38363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38364 powerpc32/power7/fpu/s_logbl.c via #include.
38366 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38368 * README.libm: Remove file.
38370 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38372 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38373 count for x32. Use R*_LP and omit operand-size suffix.
38375 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38377 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38378 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38379 * sysdeps/x86_64/x32/shlib-versions: New file.
38381 2012-05-14 Roland McGrath <roland@hack.frob.com>
38383 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38384 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38385 Use _dl_fatal_printf instead.
38387 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38389 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38390 set if not set by the user. Do not allow for being unset.
38391 * sysdeps/unix/sysv/linux/configure: Regenerated.
38393 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38395 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38396 the `q' suffix from lea and replace .quad with ASM_ADDR.
38398 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38401 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38403 (PTR_DEMANGLE): Likewise.
38405 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38407 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38409 (ASM_ADDR): Likewise.
38410 (RAX_LP): Likewise.
38411 (RBP_LP): Likewise.
38412 (RBX_LP): Likewise.
38413 (RCX_LP): Likewise.
38414 (RDI_LP): Likewise.
38415 (RSI_LP): Likewise.
38416 (RSP_LP): Likewise.
38419 (R10_LP): Likewise.
38420 (R10_LP): Likewise.
38421 (R11_LP): Likewise.
38422 (R12_LP): Likewise.
38423 (R13_LP): Likewise.
38424 (R14_LP): Likewise.
38425 (R15_LP): Likewise.
38427 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38429 * sysdeps/x86_64/x32/dl-machine.h: New file.
38431 2012-05-14 Andreas Jaeger <aj@suse.de>
38433 * manual/Makefile (subdir): Remove export of subdir.
38434 (all): Remove target.
38435 (.PHONY): Remove all from list.
38436 (mkinstalldirs): Remove.
38437 (.PHONY): Remove installdirs from list.
38438 ($(inst_infodir)/libc.info): Use make-target-directory.
38439 (installdirs): Remove.
38440 (subdir_%): Remove.
38441 (glibc-targets): Remove.
38444 ($(objpfx)stubs ../po/manual.pot): Remove.
38445 ($(objpfx)stamp%): Remove.
38446 (make-target-directory): Remove.
38447 (subdir_install): Remove.
38448 (routines): Remove.
38455 * manual/.gitignore: Remove, it's not needed anymore.
38456 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38458 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38460 (texis): Renamed to $(objpfx)texis.
38461 (texis-path): New, contains path to generated files.
38462 (chapters.%): Use texis-path for complete path, add extra argument
38464 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38465 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38466 (summary,texi, stamp-summary): Use complete path of
38467 files. Generate files in build dir.
38468 (dir-add.texi): Build in build dir.
38469 (libm-err.texi,stamp-libm-err): Likewise.
38470 (version.texi, stamp-version): Likewise.
38471 (.%c.texi): Likewise.
38472 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38473 (mostlyclean): Remove target.
38474 (realclean): Remove target.
38475 (generated): Add new variable with contents from mostlyclean and
38476 realclean, remove entries duplicated in common-mostlyclean, add
38477 stamp-libm-err and stamp-version.
38478 (generated-dirs): Add libc directory.
38479 ($(inst_infodir)/libc.info): Install files from build dir.
38481 * manual/install.texi (Configuring and compiling): Adjust since
38482 the info files are not part of the tar ball anymore.
38484 2012-05-14 Andreas Jaeger <aj@suse.de>
38486 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38489 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38493 to 2.2.0 where earlier.
38494 * sysdeps/unix/sysv/linux/configure: Regenerated.
38495 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38496 Remove conditional code.
38497 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38498 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38499 Remove conditional code.
38500 [!__NR_lchown]: Likewise.
38501 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38502 [__NR_lchown]: Likewise.
38503 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38504 comment referencing __ASSUME_LCHOWN_SYSCALL.
38505 * sysdeps/unix/sysv/linux/i386/sigaction.c
38506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38508 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38509 Remove conditional code.
38510 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38511 (__protocol_available): Remove #if 0 code.
38512 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38514 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38515 * sysdeps/unix/sysv/linux/kernel-features.h
38516 (__ASSUME_GETCWD_SYSCALL): Don't define.
38517 (__ASSUME_REALTIME_SIGNALS): Likewise.
38518 (__ASSUME_PREAD_SYSCALL): Likewise.
38519 (__ASSUME_PWRITE_SYSCALL): Likewise.
38520 (__ASSUME_POLL_SYSCALL): Likewise.
38521 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38522 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38524 (__ASSUME_SIOCGIFNAME): Don't define.
38525 (__ASSUME_MSG_NOSIGNAL): Likewise.
38526 (__ASSUME_SENDFILE): Define unconditionally.
38527 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38528 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38530 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38531 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38532 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38533 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38534 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38535 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38536 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38538 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38541 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38547 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38550 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38553 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38559 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38561 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38562 Remove conditional code.
38563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38564 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38565 Remove conditional code.
38566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38567 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38568 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38569 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38570 Remove conditional code.
38571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38572 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38573 Remove conditional code.
38574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38575 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38576 Remove conditional code.
38577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38578 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38579 Remove conditional code.
38580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38581 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38582 Remove conditional code.
38583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38584 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38587 * sysdeps/unix/sysv/linux/sigaction.c
38588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38590 * sysdeps/unix/sysv/linux/sigpending.c
38591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38593 * sysdeps/unix/sysv/linux/sigprocmask.c
38594 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38595 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38596 * sysdeps/unix/sysv/linux/sigsuspend.c
38597 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38598 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38599 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38600 (__libc_missing_rt_sigs): Remove.
38601 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38602 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38603 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38604 Remove conditional code.
38605 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38606 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38608 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38609 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38610 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38611 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38613 2012-05-14 Andreas Jaeger <aj@suse.de>
38615 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38616 it's not used in glibc.
38617 (__coshm1): Likewise.
38618 (__acosh1p): Likewise.
38621 * manual/string.texi (Copying and Concatenation): Add missing
38622 variable in concat example.
38623 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38628 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38629 __builtin_clzl with __builtin_clzll.
38631 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38634 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38637 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38639 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38640 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38641 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38642 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38644 2012-05-14 Mike Frysinger <vapier@gentoo.org>
38646 * NEWS: Update ia64 info.
38648 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38650 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38653 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38655 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38656 * sysdeps/unix/syscalls.list (dup3): Likewise.
38657 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38658 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38660 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38662 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38663 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38665 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38667 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38669 (TLS_IE): Use mov/add instead of movq/addq to load thread
38671 (TLS_GD_PREFIX): New.
38674 2012-05-11 David S. Miller <davem@davemloft.net>
38676 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38677 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38678 (_FPU_SETCW): Likewise.
38680 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38682 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38683 is 32-byte aligned.
38685 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38688 * iconvdata/gb18030.c: Update tables.
38689 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38690 characters specially.
38691 (BODY for TO_LOOP): Add encoding of missing ranges.
38693 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38696 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38697 * sysdeps/mach/hurd/dup3.c: Likewise.
38698 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38699 * sysdeps/powerpc/memmove.c:: Likewise.
38701 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38704 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38706 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38708 * elf/elf.h (R_X86_64_RELATIVE64): New.
38709 (R_X86_64_NUM): Updated.
38710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38711 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38712 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38713 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38714 tst-quad1pie tst-quad2pie
38715 (modules-names): Add tst-quadmod1 tst-quadmod2.
38716 ($(objpfx)tst-quad1): New dependency.
38717 ($(objpfx)tst-quad2): Likewise.
38718 ($(objpfx)tst-quad1pie): Likewise.
38719 ($(objpfx)tst-quad2pie): Likewise.
38720 * sysdeps/x86_64/tst-quad1.c: New file.
38721 * sysdeps/x86_64/tst-quad1pie.c: New file.
38722 * sysdeps/x86_64/tst-quad2.c: Likewise.
38723 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38724 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38725 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38726 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38727 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38729 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38731 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38732 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38733 * streams/stropts.h (t_scalar_t): Define type.
38735 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38736 (_PATH_PRESERVE): Set to "/var/lib".
38737 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38739 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38742 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38743 if __dir_mkfile succeeded.
38745 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38746 checking for _hurd_dtablesize. Unlock it right after having
38747 finished _hurd_dtable allocation.
38749 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38751 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38752 * sysdeps/mach/hurd/configure: Regenerated.
38753 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38754 special-casing to...
38755 * sysdeps/gnu/configure.in: ... this new file.
38756 * sysdeps/unix/sysv/linux/configure: Regenerated.
38757 * sysdeps/gnu/configure: New generated file.
38759 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38760 for Linux: use nsec instead of usec, as well as:
38761 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38762 members of type struct timespec.
38763 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38765 (struct stat64): Likewise.
38766 (_STATBUF_ST_NSEC): New macro.
38767 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38769 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38770 __strtoul_internal rather than strtoul.
38772 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38774 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38777 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38779 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38780 which preserves existing values.
38781 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38783 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38785 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38786 TIMEOUT values. Return EINVAL for NFDS values either negative or
38787 greater than FD_SETSIZE.
38789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38791 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38792 allocated, call __vm_protect to finish enabling the existing space, and
38793 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38794 allocate the remainder.
38796 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38798 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38799 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38803 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38804 sysdeps/mach/hurd/readlink.c.
38806 * posix/tst-sysconf.c (posix_options): Only use
38807 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38808 _POSIX_SYNCHRONIZED_IO when they are defined
38809 * sysdeps/mach/hurd/bits/posix_opt.h:
38810 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38811 (_XOPEN_REALTIME): Undefine macro.
38812 (_XOPEN_REALTIME_THREADS): Undefine macro.
38813 (_XOPEN_SHM): Undefine macro.
38814 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38816 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38818 (_POSIX_ASYNC_IO): Undefine macro.
38819 (_POSIX_PRIORITIZED_IO): Undefine macro.
38820 (_POSIX_SPIN_LOCKS): Define macro to -1.
38822 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38823 SA_NODEFER, SA_RESETHAND.
38824 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38825 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38828 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38830 * elf/Makefile (pldd-modules): Define unconditionally.
38832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38834 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38838 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38839 Return ENOENT when name is empty.
38840 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38844 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38846 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38850 Fix mlock in all cases except non-readable pages.
38851 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38852 instead of VM_PROT_ALL as parameter to __vm_wire function.
38854 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38855 (__mkdir): When path is `/', just fail with EEXIST.
38856 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38858 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38860 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38861 <sys/uio.h> (for writev).
38862 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38863 and <sys/param.h> (for MIN).
38865 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38867 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38868 REQUESTED_TIME. Properly set the remaining time and return EINTR
38871 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38873 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38874 Depend on against $(link-rpcuserlibs).
38876 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38878 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38879 (__libc_stack_end): Do not use attribute_relro.
38880 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38881 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38882 to libthread-provided value.
38883 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38886 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38889 * bits/libc-lock.h (__libc_once_get): New macro.
38890 * sysdeps/mach/bits/libc-lock.h: Likewise.
38891 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38892 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38893 instead of using implementation details.
38895 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38896 * libio/freopen.c: Likewise.
38897 * libio/freopen64.c: Likewise.
38898 * misc/syslog.c: Likewise.
38899 * nscd/connections.c: Likewise.
38900 * nscd/netgroupcache.c: Likewise.
38901 * sysdeps/posix/getcwd.c: Likewise.
38903 2012-05-10 Roland McGrath <roland@hack.frob.com>
38905 * math/w_ilogbf.c: Add #include <limits.h>.
38907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38909 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38910 path instead of returning without unlocking.
38912 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38913 immediate-write ioctls.
38914 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38916 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38918 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38919 __builtin_frame_address instead of making assumptions about the
38920 location of the return address relative to DATA. Force early load of
38921 the return address.
38922 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38923 __builtin_frame_address.
38926 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38927 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38928 implement dup3 and do some further code clean-ups.
38929 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38930 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38932 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38934 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38936 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38937 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38938 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38939 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38940 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38943 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38944 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38945 when handler == SIG_ERR, not when handler != SIG_ERR.
38947 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38949 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38950 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38953 accept4 for GNU Hurd.
38954 * include/sys/socket.h (__libc_accept4): New prototype.
38955 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38956 to implement __libc_accept4.
38957 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38959 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38961 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38962 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38963 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38964 signal-defines.sym.
38966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38968 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38970 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38972 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38973 assertion on O_CLOEXEC flag.
38974 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38975 * hurd/intern-fd.c: Likewise.
38976 * hurd/port2fd.c: Likewise.
38978 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38981 * bits/in.h (IPV6_PKTINFO): Define new macro.
38982 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38984 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38989 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38990 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38991 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38992 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38994 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38995 * math/libm-test.inc (logb_test) : Additional logb tests.
38997 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38998 Andreas Jaeger <aj@suse.de>
39000 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39001 * configure: Regenerated.
39002 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39003 * config.make.in (link-obsolete-rpc): New substituted variable.
39004 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39005 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39006 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39007 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39008 so that libc.a contains the symbols.
39009 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39010 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39011 * sunrpc/auth_none.c: Likewise.
39012 * sunrpc/auth_unix.c: Likewise.
39013 * sunrpc/authdes_prot.c: Likewise.
39014 * sunrpc/authuxprot.c: Likewise.
39015 * sunrpc/clnt_gen.c: Likewise.
39016 * sunrpc/clnt_perr.c: Likewise.
39017 * sunrpc/clnt_raw.c: Likewise.
39018 * sunrpc/clnt_simp.c: Likewise.
39019 * sunrpc/clnt_tcp.c: Likewise.
39020 * sunrpc/clnt_udp.c: Likewise.
39021 * sunrpc/clnt_unix.c: Likewise.
39022 * sunrpc/des_crypt.c: Likewise.
39023 * sunrpc/des_soft.c: Likewise.
39024 * sunrpc/get_myaddr.c: Likewise.
39025 * sunrpc/key_call.c: Likewise.
39026 * sunrpc/key_prot.c: Likewise.
39027 * sunrpc/netname.c: Likewise.
39028 * sunrpc/pm_getmaps.c: Likewise.
39029 * sunrpc/pm_getport.c: Likewise.
39030 * sunrpc/pmap_clnt.c: Likewise.
39031 * sunrpc/pmap_prot.c: Likewise.
39032 * sunrpc/pmap_prot2.c: Likewise.
39033 * sunrpc/pmap_rmt.c: Likewise.
39034 * sunrpc/publickey.c: Likewise.
39035 * sunrpc/rpc_cmsg.c: Likewise.
39036 * sunrpc/rpc_common.c: Likewise.
39037 * sunrpc/rpc_dtable.c: Likewise.
39038 * sunrpc/rpc_prot.c: Likewise.
39039 * sunrpc/rpc_thread.c: Likewise.
39040 * sunrpc/rtime.c: Likewise.
39041 * sunrpc/svc.c: Likewise.
39042 * sunrpc/svc_auth.c: Likewise.
39043 * sunrpc/svc_raw.c: Likewise.
39044 * sunrpc/svc_run.c: Likewise.
39045 * sunrpc/svc_tcp.c: Likewise.
39046 * sunrpc/svc_udp.c: Likewise.
39047 * sunrpc/svc_unix.c: Likewise.
39048 * sunrpc/svcauth_des.c: Likewise.
39049 * sunrpc/xcrypt.c: Likewise.
39050 * sunrpc/xdr.c: Likewise.
39051 * sunrpc/xdr_array.c: Likewise.
39052 * sunrpc/xdr_float.c: Likewise.
39053 * sunrpc/xdr_intXX_t.c: Likewise.
39054 * sunrpc/xdr_mem.c: Likewise.
39055 * sunrpc/xdr_rec.c: Likewise.
39056 * sunrpc/xdr_ref.c: Likewise.
39057 * sunrpc/xdr_sizeof.c: Likewise.
39058 * sunrpc/xdr_stdio.c: Likewise.
39060 2012-05-10 Roland McGrath <roland@hack.frob.com>
39062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39063 change. Update copyright years.
39065 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39067 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39069 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39070 Joseph Myers <joseph@codesourcery.com>
39071 Paul Pluzhnikov <ppluzhnikov@google.com>
39074 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39076 [cross-compiling] (extra-libs): Likewise.
39077 [cross-compiling] (extra-libs-others): Likewise.
39078 [cross-compiling] (librpcsvc-routines): Likewise.
39079 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39080 [cross-compiling] (omit-deps): Likewise.
39081 (sunrpc-CPPFLAGS): New variable.
39082 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39083 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39084 (cross-rpcgen-objs): New variable.
39085 (extra-objs): Append $(cross-rpcgen-objs).
39086 ($(cross-rpcgen-objs)): New rule.
39087 ($(objpfx)cross-rpcgen): Likewise.
39088 (rpcgen-cmd): Define to use $(built-program-file). Expand
39090 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39091 ($(objpfx)x%.stmp): Likewise.
39092 * sunrpc/proto.h [IS_IN_build] (_): Define.
39093 [IS_IN_build] (_libc_intl_domainname): Likewise.
39095 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39098 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39099 and R_X86_64_TPOFF64.
39101 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39103 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39104 sysdeps/unix/sysv/syscalls.list.
39107 * sysdeps/unix/sysv/syscalls.list: Remove file.
39109 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39112 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39113 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39114 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39115 (__LC_IDENTIFICATION): Make these macros useful in #if
39116 expressions, as required by C99.
39118 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39120 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39121 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39124 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39126 * stdlib/longlong.h: Updated from GCC.
39128 2012-05-09 Andreas Jaeger <aj@suse.de>
39130 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39131 default is first entry.
39132 (run_mode): Set type.
39133 (main): Remove informal message about syslog.
39134 (options): Fix typo.
39137 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39140 (llrintf): Likewise.
39141 (llrint): Likewise.
39144 (nearbyint): Likewise.
39145 (nearbyintf): Likewise.
39147 2012-05-09 Andreas Jaeger <aj@suse.de>
39148 Pedro Alves <palves@redhat.com>
39150 * nscd/nscd.c (run_mode): Use enum.
39151 (main): Cleanup coding style issue.
39153 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
39154 Andreas Jaeger <aj@suse.de>
39156 * nscd/nscd.c (go_background): Replaced with...
39157 (run_mode): ... this.
39158 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39159 (options): Add -F --foreground.
39160 (main): Implement it.
39161 (parse_opt): Parse it.
39163 2012-05-09 Andreas Jaeger <aj@suse.de>
39166 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39167 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39168 -Wconversion warning.
39169 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39172 2012-05-09 Joseph Myers <joseph@codesourcery.com>
39174 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39176 (LC_ALL): Use macro-int-constant.
39177 (LC_COLLATE): Likewise.
39178 (LC_CTYPE): Likewise.
39179 (LC_MESSAGES): Likewise.
39180 (LC_MONETARY): Likewise.
39181 (LC_NUMERIC): Likewise.
39182 (LC_TIME): Likewise.
39183 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39184 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39186 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39188 [C99-based standards] (float_t): Expect type.
39189 [C99-based standards] (double_t): Expect type.
39190 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39192 [C99-based standards] (HUGE_VALL): Likewise.
39193 [C99-based standards] (INFINITY): Likewise.
39194 [C99-based standards] (NAN): Likewise.
39195 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39196 [C99-based standards] (FP_NAN): Likewise.
39197 [C99-based standards] (FP_NORMAL): Likewise.
39198 [C99-based standards] (FP_SUBNORMAL): Likewise.
39199 [C99-based standards] (FP_ZERO): Likewise.
39200 [C99-based standards] (FP_FAST_FMA): Use
39201 optional-macro-int-constant. Specify type. Require == 1.
39202 [C99-based standards] (FP_FAST_FMAF): Likewise.
39203 [C99-based standards] (FP_FAST_FMAL): Likewise.
39204 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39205 [C99-based standards] (FP_ILOGBNAN): Likewise.
39206 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39208 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39209 [C99-based standards] (math_errhandling): Specify type.
39210 [ISO99 || ISO11] (signgam): Do not allow.
39211 [non-C99-based standards] (copysignf): Do not allow.
39212 [non-C99-based standards] (exp2f): Likewise.
39213 [non-C99-based standards] (log2f): Likewise.
39214 [non-C99-based standards] (modff): Allow.
39215 [non-C99-based standards] (erff): Do not allow.
39216 [non-C99-based standards] (erfcf): Likewise.
39217 [non-C99-based standards] (gammaf): Likewise.
39218 [non-C99-based standards] (hypotf): Likewise.
39219 [non-C99-based standards] (j0f): Likewise.
39220 [non-C99-based standards] (j1f): Likewise.
39221 [non-C99-based standards] (jnf): Likewise.
39222 [non-C99-based standards] (lgammaf): Likewise.
39223 [non-C99-based standards] (tgammaf): Likewise.
39224 [non-C99-based standards] (y0f): Likewise.
39225 [non-C99-based standards] (y1f): Likewise.
39226 [non-C99-based standards] (ynf): Likewise.
39227 [non-C99-based standards] (isnanf): Likewise.
39228 [non-C99-based standards] (acoshf): Likewise.
39229 [non-C99-based standards] (asinhf): Likewise.
39230 [non-C99-based standards] (atanhf): Likewise.
39231 [non-C99-based standards] (cbrtf): Likewise.
39232 [non-C99-based standards] (expm1f): Likewise.
39233 [non-C99-based standards] (ilogbf): Likewise.
39234 [non-C99-based standards] (log1pf): Likewise.
39235 [non-C99-based standards] (logbf): Likewise.
39236 [non-C99-based standards] (nextafterf): Likewise.
39237 [non-C99-based standards] (remainderf): Likewise.
39238 [non-C99-based standards] (rintf): Likewise.
39239 [non-C99-based standards] (scalbf): Likewise.
39240 [non-C99-based standards] (copysignl): Likewise.
39241 [non-C99-based standards] (exp2l): Likewise.
39242 [non-C99-based standards] (log2l): Likewise.
39243 [non-C99-based standards] (modfl): Allow.
39244 [non-C99-based standards] (erfl): Do not allow.
39245 [non-C99-based standards] (erfcl): Likewise.
39246 [non-C99-based standards] (gammal): Likewise.
39247 [non-C99-based standards] (hypotl): Likewise.
39248 [non-C99-based standards] (j0l): Likewise.
39249 [non-C99-based standards] (j1l): Likewise.
39250 [non-C99-based standards] (jnl): Likewise.
39251 [non-C99-based standards] (lgammal): Likewise.
39252 [non-C99-based standards] (tgammal): Likewise.
39253 [non-C99-based standards] (y0l): Likewise.
39254 [non-C99-based standards] (y1l): Likewise.
39255 [non-C99-based standards] (ynl): Likewise.
39256 [non-C99-based standards] (isnanl): Likewise.
39257 [non-C99-based standards] (acoshl): Likewise.
39258 [non-C99-based standards] (asinhl): Likewise.
39259 [non-C99-based standards] (atanhl): Likewise.
39260 [non-C99-based standards] (cbrtl): Likewise.
39261 [non-C99-based standards] (expm1l): Likewise.
39262 [non-C99-based standards] (ilogbl): Likewise.
39263 [non-C99-based standards] (log1pl): Likewise.
39264 [non-C99-based standards] (logbl): Likewise.
39265 [non-C99-based standards] (nextafterl): Likewise.
39266 [non-C99-based standards] (remainderl): Likewise.
39267 [non-C99-based standards] (rintl): Likewise.
39268 [non-C99-based standards] (scalbl): Likewise.
39269 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39270 [non-C99-based standards] (FP_*): Do not allow.
39271 [C99-based standards] (FP_*): Change to
39272 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39273 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39275 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39276 (SIG_ERR): Likewise.
39277 [X/Open-based standards] (SIG_HOLD): Likewise.
39278 (SIG_IGN): Likewise.
39279 (SIGABRT): Use macro-int-constant. Specify type. Require
39281 (SIGFPE): Likewise.
39282 (SIGILL): Likewise.
39283 (SIGINT): Likewise.
39284 (SIGSEGV): Likewise.
39285 (SIGTER): Likewise.
39286 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39287 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39288 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39289 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39290 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39291 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39292 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39293 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39294 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39295 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39296 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39297 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39298 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39299 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39300 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39301 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39302 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39303 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39304 [X/Open-based standards] (SIGTRAP): Likewise.
39305 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39306 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39307 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39308 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39309 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39312 2012-05-08 Ian Wienand <ianw@vmware.com>
39315 * time/tzset.c (__tzset_parse_tz): Update default rules for
39316 daylight time changes in the Energy Policy Act of 2005.
39318 2012-05-09 Andreas Jaeger <aj@suse.de>
39321 * elf/ldconfig.c (parse_conf): Change string to make clear that
39322 ldconfig only issued a warning if ld.so.conf does not exist.
39324 2012-05-08 David S. Miller <davem@davemloft.net>
39326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39327 movxtod instead of popping the value on the stack.
39329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39331 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39333 * config.h.in: Add HAVE_ARM_PCS_VFP.
39335 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
39338 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39339 checking but the checks are disabled for any reason.
39341 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39343 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39344 and ELF64_R_TYPE with ELFW(R_TYPE).
39346 2012-05-08 Joseph Myers <joseph@codesourcery.com>
39348 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39349 (ulimit): Likewise.
39351 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39352 (settimeofday): Likewise.
39354 2012-05-08 Mike Frysinger <vapier@gentoo.org>
39356 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39357 a struct th_u2 inside the union, and move tu_block/tu_code into
39358 a new th_u3 union of tu_block/tu_code inside of that. Move
39359 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39360 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39361 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39362 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39363 (th_stuff): Change to th_u1.tu_stuff.
39365 (th_msg): Change to th_u1.th_u2.tu_data.
39367 2012-05-07 David S. Miller <davem@davemloft.net>
39369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39372 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39373 (SETUP_PIC_REG): Use it.
39374 (SETUP_PIC_REG_LEAF): Use it.
39376 2012-05-07 Joseph Myers <joseph@codesourcery.com>
39380 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39382 (EXPL_FINITE): Likewise.
39383 (FLDLOG): Likewise.
39384 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39385 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39387 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39389 (EXPL_FINITE): Likewise.
39390 (FLDLOG): Likewise.
39391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39392 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39394 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39395 test of -max_value argument for long double.
39396 * sysdeps/i386/fpu/libm-test-ulps: Update.
39397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39399 2012-05-06 David S. Miller <davem@davemloft.net>
39401 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39402 quad soft-float symbols whose references which are compiler
39404 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39406 2012-05-06 Joseph Myers <joseph@codesourcery.com>
39410 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39412 (EXPL_FINITE): Likewise.
39413 (FLDLOG): Likewise.
39416 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39417 Adjust comments for base varying.
39418 (__expl_finite): Change alias to EXPL_FINITE.
39419 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39421 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39422 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39423 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39424 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39425 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39427 (EXPL_FINITE): Likewise.
39428 (FLDLOG): Likewise.
39431 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39432 Adjust comments for base varying.
39433 (__expl_finite): Change alias to EXPL_FINITE.
39434 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39439 * math/libm-test.inc (check_float_internal): Correct ulp
39440 calculation for subnormal expected results.
39442 2012-05-06 Andreas Jaeger <aj@suse.de>
39444 * Makeconfig (+math-flags): New, set to -frounding-math.
39445 (+cflags): Add +math-flags so that all of glibc gets compiled with
39448 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39450 2012-05-05 Joseph Myers <joseph@codesourcery.com>
39452 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39458 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39459 (__ieee754_expl): Allow for and saturate large arguments.
39460 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39461 (u_threshold): Likewise.
39462 (__exp): Call __ieee754_exp before checking for overflow and
39464 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39465 (u_threshold): Likewise.
39466 (__expf): Call __ieee754_expf before checking for overflow and
39468 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39469 (u_threshold): Likewise.
39470 (__expl): Call __ieee754_expl before checking for overflow and
39472 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39473 (__ieee754_expl): Allow for and saturate large arguments.
39474 * math/libm-test.inc (exp_test): Add another test. Do not allow
39475 missing overflow exception on overflow.
39476 (expm1_test): Do not allow missing overflow exception on overflow.
39478 * sysdeps/i386/fpu/e_expl.c: Move to ...
39479 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39480 rather than using inline asm.
39481 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39482 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39483 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39485 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39488 (signal): Likewise.
39492 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39494 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39495 sysdeps/unix/common/syscalls.list.
39496 (fchmod): Likewise.
39497 (fchown): Likewise.
39498 (ftruncate): Likewise.
39499 (getrusage): Likewise.
39500 (gettimeofday): Likewise.
39501 (setpgid): Likewise.
39502 (setregid): Likewise.
39503 (setreuid): Likewise.
39504 (sigaction): Likewise.
39505 (truncate): Likewise.
39506 (vhangup): Likewise.
39507 * sysdeps/unix/common/syscalls.list: Remove file.
39508 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39509 * sysdeps/unix/sysv/linux/Implies: Likewise.
39511 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39513 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39515 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39519 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39522 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39525 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39528 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39531 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39534 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39537 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39541 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39545 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39548 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39552 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39556 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39558 * sysdeps/unix/common/bits/dirent.h: Remove file.
39559 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39561 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39562 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39563 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39564 * sysdeps/unix/bsd/isatty.c: Likewise.
39565 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39566 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39567 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39569 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39572 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39573 long double comparison inaccuracies.
39574 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39577 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39579 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39582 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39585 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39586 nonzero digits before rounding a hex value.
39587 * stdlib/tst-strtod.c (tests): Add another test.
39589 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39591 * sysdeps/s390/fpu/libm-test-ulps: Update.
39593 2012-05-03 Andreas Jaeger <aj@suse.de>
39595 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39596 does not get optimized out.
39597 (malloc_opt_barrier): New.
39599 2012-05-03 Andreas Jaeger <aj@suse.de>
39600 Roland McGrath <roland@hack.frob.com>
39602 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39603 intermediate file deletion.
39604 (generated): Add .symlist files.
39606 2012-05-03 Joseph Myers <joseph@codesourcery.com>
39609 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39610 Redirect under this condition.
39611 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39612 [__USE_GNU] (__dprintf_chk): Not under this condition.
39613 [__USE_GNU] (__vdprintf_chk): Likewise.
39614 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39615 under this condition.
39616 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39617 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39618 [__USE_XOPEN2K8] (vdprintf): Likewise.
39619 [__USE_GNU] (__dprintf_chk): Not under this condition.
39620 [__USE_GNU] (__vdprintf_chk): Likewise.
39621 [__USE_GNU] (dprintf): Likewise.
39622 [__USE_GNU] (vdprintf): Likewise.
39624 2012-05-03 Roland McGrath <roland@hack.frob.com>
39626 * elf/Makefile (common-generated): Set this instead of generated for
39627 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39628 $(all-built-dso)-derived lists.
39630 2012-05-03 Andreas Jaeger <aj@suse.de>
39632 * sysdeps/i386/fpu/libm-test-ulps: Update.
39635 * FAQ.in: Likewise.
39636 * scripts/gen-FAQ.pl: Likewise.
39637 * manual/install.texi (Installation): Point to online location of
39639 * Makefile (files-for-dist): Remove FAQ.
39642 2012-05-02 Allan McRae <allan@archlinux.org>
39644 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39645 (LDFLAGS-reldepmod5.so): Likewise.
39646 (LDFLAGS-reldep6mod1.so): Likewise.
39647 (LDFLAGS-reldep6mod4.so): Likewise.
39648 (LDFLAGS-reldep8mod3.so): Likewise.
39649 (LDFLAGS-unload4mod1.so): Likewise.
39650 (LDFLAGS-unload4mod2.so): Likewise.
39651 (LDFLAGS-tst-initorder): Likewise.
39652 (LDFLAGS-tst-initordera2.so): Likewise.
39653 (LDFLAGS-tst-initordera3.so): Likewise.
39654 (LDFLAGS-tst-initordera4.so): Likewise.
39655 (LDFLAGS-tst-initorderb2.so): Likewise.
39656 (LDFLAGS-noload): Likewise.
39657 (LDFLAGS-next): Likewise.
39658 (LDFLAGS-order2mod1.so): Likewise.
39659 (LDFLAGS-order2mod2.so): Likewise.
39660 (LDFLAGS-tst-initorder2): Likewise.
39661 (LDFLAGS-tst-initorder2a.so): Likewise.
39662 (LDFLAGS-tst-initorder2b.so): Likewise.
39663 (LDFLAGS-tst-initorder2c.so): Likewise.
39664 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39666 2012-05-02 David S. Miller <davem@davemloft.net>
39668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39670 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39673 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39675 2012-05-02 Andreas Jaeger <aj@suse.de>
39677 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39678 since we manipulate rounding mode.
39679 (CPPFLAGS-test-idouble.c): Likewise.
39680 (CPPFLAGS-test-ifloat.c): Likewise.
39681 (CFLAGS-test-ldouble.c): Likewise.
39682 (CFLAGS-test-double.c): Likewise.
39683 (CFLAGS-test-float.c): Likewise.
39684 (CFLAGS-test-misc.c): Likewise.
39685 (CFLAGS-test-test-fenv.c): Likewise.
39687 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39692 comparisons to determine direction to adjust input.
39694 2012-05-01 Roland McGrath <roland@hack.frob.com>
39696 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39697 output to the target.
39699 * scripts/localplt.awk: New file.
39700 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39701 (check-localplt-CFLAGS): Variable removed.
39702 ($(all-built-dso:=.jmprel)): New static pattern rule.
39703 (generated): Add those targets.
39704 (localplt-built-dso): New variable.
39705 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39707 * elf/check-localplt.c: File removed.
39709 * scripts/check-execstack.awk: New file.
39710 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39711 (check-execstack-CFLAGS): Variable removed.
39712 ($(objpfx)check-execstack.h): Target removed.
39713 ($(objpfx)execstack-default): New target.
39714 (generated): Add that instead of check-execstack.h.
39715 ($(all-built-dso:=.phdr)): New static pattern rule.
39716 (generated): Add those targets.
39717 * elf/check-execstack.c: File removed.
39719 * scripts/check-textrel.awk: New file.
39720 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39721 (check-textrel-CFLAGS): Variable removed.
39722 (all-built-dso): Use := to define.o
39723 ($(all-built-dso:=.dyn)): New static pattern rule.
39724 (generated): Add those targets.
39725 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39726 * config.make.in (READELF): New substituted variable.
39727 * elf/check-textrel.c: File removed.
39729 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39731 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39733 * conform/data/ctype.h-data [C99-based standards] (isblank):
39735 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39736 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39738 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39739 Specify type. Require positive value.
39740 (EILSEQ): Likewise.
39741 (ERANGE): Likewise.
39742 [ISO || POSIX] (EILSEQ): Do not expect.
39743 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39744 Specify type. Require positive value.
39745 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39746 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39747 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39748 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39749 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39750 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39751 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39752 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39753 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39754 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39755 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39756 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39757 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39758 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39759 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39760 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39761 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39762 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39763 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39764 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39765 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39766 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39767 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39768 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39769 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39770 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39771 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39772 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39773 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39774 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39775 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39776 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39777 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39778 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39779 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39780 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39781 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39782 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39783 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39784 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39785 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39786 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39787 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39788 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39789 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39790 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39791 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39792 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39793 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39794 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39795 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39796 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39797 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39798 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39799 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39800 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39801 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39802 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39803 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39804 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39805 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39806 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39807 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39808 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39809 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39810 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39811 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39812 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39813 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39814 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39815 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39816 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39817 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39818 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39819 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39820 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39821 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39823 (FLT_ROUNDS): Expect as macro, not constant.
39824 (FLT_MANT_DIG): Use macro-int-constant.
39825 (DBL_MANT_DIG): Likewise.
39826 (LDBL_MANT_DIG): Likewise.
39827 (FLT_DIG): Likewise.
39828 (DBL_DIG): Likewise.
39829 (LDBL_DIG): Likewise.
39830 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39831 (DBL_MIN_EXP): Likewise.
39832 (LDBL_MIN_EXP): Likewise.
39833 (FLT_MAX_EXP): Use macro-int-constant.
39834 (DBL_MAX_EXP): Likewise.
39835 (LDBL_MAX_EXP): Likewise.
39836 (FLT_MAX_10_EXP): Likewise.
39837 (DBL_MAX_10_EXP): Likewise.
39838 (LDBL_MAX_10_EXP): Likewise.
39839 (FLT_MAX): Use macro-constant.
39840 (DBL_MAX): Likewise.
39841 (LDBL_MAX): Likewise.
39842 (FLT_EPSILON): Use macro-constant. Give upper bound.
39843 (DBL_EPSILON): Likewise.
39844 (LDBL_EPSILON): Likewise.
39845 (FLT_MIN): Likewise.
39846 (DBL_MIN): Likewise.
39847 (LDBL_MIN): Likewise.
39848 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39849 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39850 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39851 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39852 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39853 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39854 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39855 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39856 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39857 [ISO11] (FLT_TRUE_MIN): Likewise.
39858 [ISO11] (LDBL_TRUE_MIN): Likewise.
39859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39860 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39861 (SCHAR_MIN): Use macro-int-constant. Specify type.
39862 (SCHAR_MAX): Likewise.
39863 (UCHAR_MAX): Likewise.
39864 (CHAR_MIN): Likewise.
39865 (CHAR_MAX): Likewise.
39866 (MB_LEN_MAX): Use macro-int-constant.
39867 (SHRT_MIN): Use macro-int-constant. Specify type.
39868 (SHRT_MAX): Likewise.
39869 (USHRT_MAX): Likewise.
39870 (INT_MAX): Likewise.
39871 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39873 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39875 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39877 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39878 bound negative. Suffix upper bound with "L".
39879 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39881 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39883 [C99-based standards] (LLONG_MAX): Likewise.
39884 [C99-based standards] (ULLONG_MAX): Likewise.
39885 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39887 [ISO11] (max_align_t): Require type.
39888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39890 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39891 from $CFLAGS, without defining away __attribute__ calls.
39892 (checknamespace): Use $CFLAGS_namespace.
39894 * conform/conformtest.pl (@keywords): Only include C99 keywords
39895 for standards based on C99 or C11.
39897 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39899 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39902 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39903 usability of symbols in #if.
39905 * conform/conformtest.pl: If macro or constant types start
39906 "promoted:", expect the symbol to be of the following type
39907 promoted by the integer promotions.
39909 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39910 in one place. Also handle "macro-constant".
39912 * conform/conformtest.pl: Only accept expected macro values with
39913 "==". Parse all "macro" lines in one place.
39914 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39916 * conform/conformtest.pl: Handle braced types on "constant" lines
39917 instead of handling "typed-constant".
39918 * conform/data/signal.h-data: Use "constant" instead of
39921 * conform/conformtest.pl: Handle "optional-" at start of lines in
39922 one place rather than duplicating several cases. Handle each
39923 format of "macro" line with initial "optional-".
39925 * conform/conformtest.pl: Only accept expected constant or
39926 optional-constant values with "==". Parse all "constant" lines in
39927 one place. Parse all "optional-constant" lines in one place.
39928 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39929 * conform/data/fmtmsg.h-data: Likewise.
39930 * conform/data/netinet/in.h-data: Likewise.
39931 * conform/data/tar.h-data: Likewise.
39932 * conform/data/limits.h-data: Use "==" form on "constant" and
39933 "optional-constant" lines.
39935 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39936 Use -std=c99 for XOPEN2K.
39937 (@knownproblems): Remove.
39938 (newtoken): Don't check %isknown.
39940 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39941 Do not expect macro.
39942 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39943 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39944 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39945 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39946 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39947 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39948 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39949 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39950 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39951 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39952 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39953 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39954 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39955 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39956 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39957 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39958 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39961 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39962 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39963 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39964 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39967 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39968 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39969 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39970 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39971 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39972 [XPG3] (acosh): Likewise.
39973 [XPG3] (asinh): Likewise.
39974 [XPG3] (atanh): Likewise.
39975 [XPG3] (cbrt): Likewise.
39976 [XPG3] (expm1): Likewise.
39977 [XPG3] (ilogb): Likewise.
39978 [XPG3] (log1p): Likewise.
39979 [XPG3] (logb): Likewise.
39980 [XPG3] (nextafter): Likewise.
39981 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39982 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39983 [XPG3] (remainder): Likewise.
39984 [XPG3] (rint): Likewise.
39985 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39986 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39987 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39988 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39989 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39991 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39992 [UNIX98 || XOPEN2K] (scalb): Expect.
39993 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39994 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40011 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40012 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40029 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40030 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40031 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40032 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40035 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40036 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40040 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40041 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40044 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40045 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40046 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40047 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40048 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40049 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40050 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40051 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40052 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40053 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40054 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40113 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40114 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40128 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40131 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40132 _XOPEN_SOURCE_EXTENDED for XPG4.
40134 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40136 * Makeconfig (localtime): Remove variable.
40137 (inst_localtime-file): Likewise.
40139 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40160 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40164 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40165 comparisons to determine direction to adjust input.
40166 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40167 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40168 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40177 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40179 * math/libm-test.inc (nexttoward_test): Add more tests.
40181 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40184 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40185 in version GLIBC_2.1, not GLIBC_2.0.
40186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40189 2012-04-30 Joseph Myers <joseph@codesourcery.com>
40192 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40194 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40195 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40196 * math/libm-test.inc (acos_test): Add more tests.
40197 (asin_test): Likewise.
40198 * sysdeps/i386/fpu/libm-test-ulps: Update.
40199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40202 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40204 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40205 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40206 * math/libm-test.inc (acos_test_tonearest): New function.
40207 (acos_test_towardzero): Likewise.
40208 (acos_test_downward): Likewise.
40209 (acos_test_upward): Likewise.
40210 (asin_test_tonearest): Likewise.
40211 (asin_test_towardzero): Likewise.
40212 (asin_test_downward): Likewise.
40213 (asin_test_upward): Likewise.
40214 (main): Call the new functions.
40215 * sysdeps/i386/fpu/libm-test-ulps: Update.
40216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40220 * math/e_exp10.c: Include <float.h>.
40221 (__ieee754_exp10): Handle underflow here rather than multiplying
40222 large negative argument by M_LN10.
40223 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40225 * math/e_exp10l.c: Include <float.h>.
40226 (__ieee754_exp10l): Handle underflow here rather than multiplying
40227 large negative argument by M_LN10l.
40228 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40229 spurious overflow exception on underflow.
40231 2012-04-29 Marek Polacek <polacek@redhat.com>
40233 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40234 (__fortify_function): New macro.
40235 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40236 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40237 __extern_always_inline.
40238 * libio/bits/stdio2.h: Likewise.
40239 * libio/bits/stdio.h: Likewise.
40240 * string/string.h: Likewise.
40241 * string/bits/string3.h: Likewise.
40242 * include/stdio.h: Likewise.
40243 * stdlib/bits/stdlib.h: Likewise.
40244 * stdlib/stdlib.h: Likewise.
40245 * rt/bits/mqueue2.h: Likewise.
40246 * rt/mqueue.h: Likewise.
40247 * posix/bits/unistd.h: Likewise.
40248 * posix/unistd.h: Likewise.
40249 * io/bits/poll2.h: Likewise.
40250 * io/bits/fcntl2.h: Likewise.
40251 * io/fcntl.h: Likewise.
40252 * io/sys/poll.h: Likewise.
40253 * misc/bits/syslog.h: Likewise.
40254 * misc/bits/syslog-ldbl.h: Likewise.
40255 * misc/sys/syslog.h: Likewise.
40256 * socket/bits/socket2.h: Likewise.
40257 * socket/sys/socket.h: Likewise.
40258 * debug/tst-chk1.c: Likewise.
40259 * wcsmbs/bits/wchar2.h: Likewise.
40260 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40261 * wcsmbs/wchar.h: Likewise.
40263 2012-04-29 Andreas Jaeger <aj@suse.de>
40265 * Makerules (tests): Remove enable-check-abi protection.
40266 (check-abi-warn): Remove.
40267 (check-abi-%): Remove check-abi-warn usage.
40269 * configure.in: Remove check-abi configure option.
40270 * configure: Regenerated.
40271 * config.make.in (enable-check-abi): Remove.
40273 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40276 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40277 double functions to double *_finite functions.
40280 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40281 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40283 * stdio-common/Makefile (tests): Add tst-sprintf3.
40284 * stdio-common/tst-sprintf3.c: New file.
40286 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40287 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40289 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40291 * conform/conformtest.pl: Remove duplicate typed-constant
40294 2012-04-28 David S. Miller <davem@davemloft.net>
40296 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40297 (check-abi-%): Remove AWK script prerequisite and explicit
40299 (check-abi): Rewrite to just diff the symlist with the abilist.
40300 (config-tls, config-abi-config): Delete, no longer used.
40301 (update-abi-%): Remove AWK script and explicit abilist directory.
40302 (update-abi): Rewrite to simply compare and conditionally copy the
40303 symlist and the sysdep abilist file. Remove update-abi-config
40305 * abilist/ld.abilist: Remove.
40306 * abilist/libBrokenLocale.abilist: Remove.
40307 * abilist/libanl.abilist: Remove.
40308 * abilist/libcrypt.abilist: Remove.
40309 * abilist/libdl.abilist: Remove.
40310 * abilist/librt.abilist: Remove.
40311 * abilist/libthread_db.abilist: Remove.
40312 * abilist/libutil.abilist: Remove.
40313 * scripts/extract-abilist.awk: Remove.
40314 * scripts/merge-abilist.awk: Remove.
40315 * sysdeps/generic/libcidn.abilist: New file.
40316 * sysdeps/generic/libnss_compat.abilist: New file.
40317 * sysdeps/generic/libnss_db.abilist: New file.
40318 * sysdeps/generic/libnss_dns.abilist: New file.
40319 * sysdeps/generic/libnss_files.abilist: New file.
40320 * sysdeps/generic/libnss_hesiod.abilist: New file.
40321 * sysdeps/generic/libnss_nis.abilist: New file.
40322 * sysdeps/generic/libnss_nisplus.abilist: New file.
40323 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40324 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40325 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40327 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40328 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40329 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40330 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40331 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40332 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40333 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40334 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40335 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40337 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40338 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40339 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40340 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40342 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40343 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40344 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40345 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40346 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40347 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40349 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40350 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40351 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40353 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40456 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40457 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40458 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40461 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40462 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40463 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40464 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40465 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40466 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40467 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40468 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40469 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40521 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40523 * conform/conformtest.pl: Fix typo in handling typed-constant from
40526 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40528 * README: Cut down references to pre-2.6 Linux kernels and
40529 Linuxthreads. Update lists of configurations in libc and ports
40530 and sort alphabetically. Say "or newer" with Linux kernel version
40533 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40535 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40538 * math/libm-test.inc (logb_test_downward): New test to expose
40539 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40542 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40545 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40547 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40548 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40550 2012-04-26 Joseph Myers <joseph@codesourcery.com>
40552 * sysdeps/unix/i386/brk.S: Remove file.
40553 * sysdeps/unix/i386/dl-brk.S: Likewise.
40554 * sysdeps/unix/i386/pipe.S: Likewise.
40555 * sysdeps/unix/i386/sigreturn.S: Likewise.
40556 * sysdeps/unix/i386/syscall.S: Likewise.
40557 * sysdeps/unix/i386/vfork.S: Likewise.
40558 * sysdeps/unix/i386/wait.S: Likewise.
40560 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40561 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40563 * configure.in (arm*-none*): Do not allow without
40564 --enable-hacker-mode.
40565 (netbsd*): Remove case setting base_os.
40566 (386bsd*): Likewise.
40567 (freebsd*): Likewise.
40570 (sunos*): Likewise.
40571 (ultrix*): Likewise.
40572 (newsos*): Likewise.
40573 (dynix*): Likewise.
40579 (minix*): Likewise.
40580 (irix4*): Likewise.
40581 (irix6*): Likewise.
40582 (solaris[2-9]*): Likewise.
40584 * configure: Regenerated.
40586 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40590 overflow or cancellation in calculating denominator.
40591 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40592 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40593 down expression to avoid unexpected rounding in newer GCCs.
40594 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40596 2012-04-26 David S. Miller <davem@davemloft.net>
40598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40599 long-double compat symbols.
40600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40614 2012-04-25 David S. Miller <davem@davemloft.net>
40616 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40617 HWCAP_* values only after the memory barriers have been defined.
40618 (atomic_full_barrier): Define.
40619 (atomic_read_barrier): Define.
40620 (atomic_write_barrier): Define.
40622 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40624 * shlib-versions: Add libgcc_s version information.
40625 * sysdeps/generic/libgcc_s.h: Remove.
40626 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40628 * sysdeps/gnu/unwind-resume.c: Likewise.
40629 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40631 2012-04-25 David S. Miller <davem@davemloft.net>
40633 * sysdeps/unix/sparc/brk.S: Delete.
40634 * sysdeps/unix/sparc/dl-brk.S: Delete.
40635 * sysdeps/unix/sparc/pipe.S: Delete.
40636 * sysdeps/unix/sparc/sysdep.S: Delete.
40637 * sysdeps/unix/sparc/sysdep.h: Delete.
40638 * sysdeps/unix/sparc/vfork.S: Delete.
40639 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40640 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40642 (ret_ERRVAL, r0, r1, MOVE): Define.
40643 (JUMPTARGET): Remove.
40644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40645 sysdeps/unix/sparc/sysdep.h
40646 (ENTRY, END): Remove.
40647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40649 2012-04-25 Joseph Myers <joseph@codesourcery.com>
40651 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40652 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40655 * timezone/README: Update upstream location and email address for
40657 * timezone/zdump.c: Update from tzcode 2012b.
40658 * timezone/zic.c: Likewise.
40660 * configure.in (libc_cv_as_needed): Remove test.
40661 * configure: Regenerated.
40662 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40663 conditional definition.
40664 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40665 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40666 * config.make.in (have-as-needed): Remove variable.
40668 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40669 Paul Pluzhnikov <ppluzhnikov@google.com>
40671 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40674 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40676 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40677 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40678 * sysdeps/sh/strlen.S: Likewise.
40680 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40682 * sysdeps/unix/fork.S: Remove file.
40683 * sysdeps/unix/i386/fork.S: Likewise.
40684 * sysdeps/unix/sparc/fork.S: Likewise.
40686 * sysdeps/unix/system.c: Remove file.
40687 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40689 * sysdeps/unix/getegid.S: Remove file.
40690 * sysdeps/unix/geteuid.S: Likewise.
40692 2012-04-24 Roland McGrath <roland@hack.frob.com>
40694 * scripts/check-localplt.awk: New file.
40695 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40697 * scripts/data/localplt-generic.data: Add a comment.
40699 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40700 NODE when __dir_mkfile failed.
40701 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40702 Reported by Ludovic Courtès <ludo@gnu.org>.
40704 2012-04-24 Andreas Jaeger <aj@suse.de>
40706 * Makerules (common-clean): Also remove gen-as-const-headers
40709 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40711 * Makerules (native-compile): Do not change working directory for
40712 build. Use $(OUTPUT_OPTION) in command.
40713 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40715 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40718 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40719 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40720 * math/libm-test.inc (floor_test): Add more tests.
40721 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40723 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40725 * sysdeps/unix/getdents.c: Remove file.
40726 * sysdeps/unix/sysv/getdents.c: Likewise.
40727 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40729 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40730 sysdeps/unix/mman/syscalls.list.
40732 (mprotect): Likewise.
40734 (munmap): Likewise.
40735 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40736 * sysdeps/unix/mman/syscalls.list: Remove.
40737 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40739 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40740 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40741 * configure: Regenerated.
40742 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40743 $(libgcc_s_suffix).
40744 * config.make.in (libgcc_s_suffix): Remove variable.
40746 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40748 * sysdeps/unix/sysv/gethostname.c: Move to ...
40749 * sysdeps/posix/gethostname.c: ... here.
40751 * sysdeps/unix/execve.S: Remove file.
40753 * sysdeps/unix/_exit.S: Remove file.
40755 2012-04-23 Andreas Jaeger <aj@suse.de>
40758 * manual/Makefile: Remove make dist support, there's no
40759 need for a stand-alone documentation tar ball.
40760 (TEXI2DVI): Define always, it's not in Makeconfig.
40763 (edition): Removed.
40764 (glibc-doc-$(edition).tar): Removed
40768 (ETAGS): Remove, it's in Makeconfig.
40769 (move-if-change): Remove, it's in Makeconfig.
40771 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40774 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40775 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40776 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40777 (strtod_l, strtof_l, strtold_l): Remove __wur.
40778 It is not necessarily an error to ignore strtol's return value.
40779 One can reliably look at the stored endptr to decide whether
40780 the number had valid syntax.
40782 2012-04-21 Andreas Jaeger <aj@suse.de>
40785 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40787 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40789 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40790 * sysdeps/unix/sysv/Versions: Remove file.
40792 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40797 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40801 version from __vm86.
40803 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40805 * sysdeps/unix/common/lxstat.c: Remove file.
40806 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40808 * sysdeps/unix/sysv/Makefile: Remove file.
40810 * sysdeps/unix/sysv/direct.h: Remove file.
40812 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40813 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40814 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40815 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40816 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40817 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40818 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40820 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40822 * sysdeps/unix/xmknod.c: Remove file.
40823 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40825 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40827 * sysdeps/unix/sysv/i386/time.S: Remove file.
40829 * sysdeps/unix/fxstat.c: Remove file.
40830 * sysdeps/unix/xstat.c: Likewise.
40831 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40833 * sysdeps/unix/sysv/sigaction.c: Remove file.
40835 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40836 (sysdep_headers): Remove variable.
40837 [termio.h not in sysdep_headers] (generated): Likewise.
40838 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40839 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40840 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40841 * sysdeps/unix/sysv/tcflow.c: Likewise.
40842 * sysdeps/unix/sysv/tcflush.c: Likewise.
40843 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40844 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40845 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40846 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40847 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40849 * sysdeps/unix/siglist.c: Remove file.
40851 * sysdeps/unix/getppid.S: Remove file.
40853 * sysdeps/unix/mkdir.c: Remove file.
40854 * sysdeps/unix/rmdir.c: Likewise.
40856 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40858 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40860 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40861 errlist-compat value.
40863 2012-04-18 David S. Miller <davem@davemloft.net>
40865 * sysdeps/generic/memcopy.h (reg_char): Delete.
40866 * debug/strcat_chk.c: Use char, not reg_char.
40867 * debug/strcpy_chk.c: Likewise.
40868 * debug/strncat_chk.c: Likewise.
40869 * debug/strncpy_chk.c: Likewise.
40870 * string/memchr.c: Likewise.
40871 * string/memrchr.c: Likewise.
40872 * string/rawmemchr.c: Likewise.
40873 * string/strcat.c: Likewise.
40874 * string/strchr.c: Likewise.
40875 * string/strchrnul.c: Likewise.
40876 * string/strcmp.c: Likewise.
40877 * string/strcpy.c: Likewise.
40878 * string/strncat.c: Likewise.
40879 * string/strncmp.c: Likewise.
40880 * string/strncpy.c: Likewise.
40882 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40884 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40885 __builtin_memcopy is called when src and dest ranges are known to not
40888 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40890 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40891 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40892 fwd_align_merge macro call.
40893 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40894 bwd_align_merge macro call.
40895 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40897 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40899 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40900 bwd_align_merge macros.
40901 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40902 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40905 2012-04-18 David S. Miller <davem@davemloft.net>
40907 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40909 2012-04-18 Andreas Jaeger <aj@suse.de>
40912 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40913 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40914 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40916 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40917 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40918 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40920 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40921 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40922 Adjust for changed ldbl-128 files.
40924 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40925 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40926 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40928 2012-04-17 David S. Miller <davem@davemloft.net>
40930 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40932 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40934 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40935 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40936 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40937 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40938 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40939 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40941 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40944 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40945 * math/libm-test.inc: Add ilogb errno and exception tests.
40946 * math/w_ilogb.c: New file: ilogb wrapper.
40947 * math/w_ilogbf.c: New file: ilogbf wrapper.
40948 * math/w_ilogbl.c: New file: ilogbl wrapper.
40949 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40950 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40951 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40952 exception being thrown with 0.0 as argument.
40953 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40954 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40955 exception being thrown with 0.0 as argument.
40956 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40957 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40958 exception being thrown with 0.0 as argument.
40959 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40960 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40961 exception being thrown with 0.0 as argument.
40962 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40963 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40964 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40965 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40966 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40967 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40968 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40969 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40970 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40972 2012-04-17 Petr Baudis <pasky@ucw.cz>
40974 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40977 2012-04-16 Marek Polacek <polacek@redhat.com>
40979 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40981 2012-04-16 Marek Polacek <polacek@redhat.com>
40983 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40984 operands of fdivp instruction.
40986 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40988 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40989 * elf/tst-auditmod3b.c: Likewise.
40990 * elf/tst-auditmod4b.c: Likewise.
40991 * elf/tst-auditmod5b.c: Likewise.
40992 * elf/tst-auditmod6b.c: Likewise.
40993 * elf/tst-auditmod6c.c: Likewise.
40994 * elf/tst-auditmod7b.c: Likewise.
40995 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40996 * sysdeps/x86_64/preconfigure.in: Likewise.
40997 * sysdeps/x86_64/preconfigure: Regenerated.
40999 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41001 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41004 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
41006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41007 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41009 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41012 * locale/iso-639.def: Fix gl language name. Spotted by
41015 2012-04-12 Roland McGrath <roland@hack.frob.com>
41018 * libio/libio.h (__io_write_fn): Update comment.
41020 2012-04-12 Petr Baudis <pasky@ucw.cz>
41023 * stdio.texi (Hook Functions): The user provided writer function
41024 is not allowed to return -1.
41026 2012-04-11 David S. Miller <davem@davemloft.net>
41028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41030 2012-04-11 Mike Frysinger <vapier@gentoo.org>
41032 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41033 Add a leading slash to rtkaio.
41035 2012-04-11 Jim Meyering <meyering@redhat.com>
41038 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41039 It is not necessarily an error to ignore fwrite's return
41040 value. One can reliably use ferror to test for errors after
41043 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41045 * bits/types.h (__snseconds_t): New type.
41046 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41048 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41050 (__SNSECONDS_T_TYPE): Likewise.
41051 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41052 (__SNSECONDS_T_TYPE): Likewise.
41053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41054 (__SNSECONDS_T_TYPE): Likewise.
41056 2012-04-10 Andreas Jaeger <aj@suse.de>
41059 * manual/time.texi (Processor Time): Return type of times is
41060 elapsed real time since an arbitrary point in the past.
41061 (CPU Time): Move CLK_TCK from here...
41062 (Processor Time): ...to here. Correct description.
41063 * manual/conf.texi (Constants for Sysconf): Correct description of
41066 2012-04-10 David S. Miller <davem@davemloft.net>
41069 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41070 where the is a gap between DT_REL(A) and DT_JMPREL.
41072 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41074 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41075 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41076 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41078 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41080 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41081 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41082 (dl_main): Handle --inhibit-cache.
41083 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41085 * elf/dl-load.c (_dl_map_object): Use it.
41086 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41088 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41091 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41092 (__ieee754_powl): Saturate large exponents rather than testing for
41093 overflow of y*log2(x).
41094 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41095 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41099 * math/s_ctan.c: Include <float.h>.
41100 (__ctan): Avoid internal overflow or cancellation in calculating
41102 * math/s_ctanf.c: Likewise.
41103 * math/s_ctanl.c: Likewise.
41104 * math/s_ctanh.c: Likewise.
41105 * math/s_ctanhf.c: Likewise.
41106 * math/s_ctanhl.c: Likewise.
41107 * math/libm-test.inc (ctan_test): Add more tests.
41108 (ctanh_test): Likewise.
41109 * sysdeps/i386/fpu/libm-test-ulps: Update.
41110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41112 2012-04-09 Andreas Jaeger <aj@suse.de>
41115 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41116 is an optional BSD extension.
41119 * manual/stdio.texi (Opening Streams): Document additional fopen
41122 2012-04-09 Roland McGrath <roland@hack.frob.com>
41124 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41125 %eax without telling the compiler.
41127 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41130 * manual/install.texi: Use sourceware.org.
41132 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41135 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41136 (__ieee754_pow): Generate overflow and underflow using huge*huge
41137 and tiny*tiny rather than just returning constant infinity or zero
41138 for large exponents.
41139 * math/libm-test.inc (pow_test): Require overflow exceptions for
41140 applicable cases of large exponents.
41143 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41144 (__ieee754_pow): Use iterative multiplication algorithm only for
41145 integer exponents with absolute value below 1024. Check for odd
41146 integer exponents when using algorithm for real exponents.
41147 * math/libm-test.inc (pow_test): Add more tests.
41148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41150 2012-04-08 Joseph Myers <joseph@codesourcery.com>
41153 * math/libm-test.inc (exp_test): Do not allow overflow exception
41156 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41159 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41160 instead of __kernel_standard_f.
41162 2012-04-08 Mike Frysinger <vapier@gentoo.org>
41164 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41165 * sysdeps/x86_64/memset_chk.S: Likewise.
41167 2012-04-08 Andreas Jaeger <aj@suse.de>
41170 * manual/startup.texi (Environment Access): Describe return value
41171 for putenv and setenv.
41174 * manual/filesys.texi (Directory Entries): Add description for
41178 * manual/filesys.texi (Directory Entries): Clarify that it's file
41179 system not operating system in the description of DT_UNKNOWN.
41182 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41184 2012-04-08 Stephen Compall <s11@member.fsf.org>
41187 * manual/llio.texi (Opening and Closing Files): Add cross
41188 reference to explain mode argument.
41190 2012-04-07 Mike Frysinger <vapier@gentoo.org>
41192 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41193 * sysdeps/x86_64/memset_chk.S: Likewise.
41195 2012-04-07 David S. Miller <davem@davemloft.net>
41197 * elf/elf.h (R_SPARC_WDISP10): Define.
41198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41201 R_SPARC_SIZE64 and R_SPARC_H34.
41203 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41205 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41206 conditions and remove no longer applicable assertion.
41208 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41210 * bits/byteswap.h: Include <features.h>.
41211 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41212 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41214 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41216 * bits/byteswap.h (__bswap_16): Removed.
41217 Include <bits/byteswap-16.h> to get __bswap_16.
41218 * sysdeps/i386/bits/byteswap.h: Likewise.
41219 * sysdeps/s390/bits/byteswap.h: Likewise.
41220 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41221 * bits/byteswap-16.h: New file.
41222 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41223 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41224 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41225 * string/Makefile (headers): Add bits/byteswap-16.h.
41227 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41230 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41232 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41233 * nss/tst-nss-static.c: New.
41235 2012-04-06 Robert Millan <rmh@gnu.org>
41238 * manual/llio.texi (File Position Primitive): lseek
41239 refers to WHENCE when it really means OFFSET.
41241 2012-04-06 Andreas Jaeger <aj@suse.de>
41243 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41244 strncmp declarations.
41246 * abilist/libc.abilist: Add __poll and __ppoll.
41248 2012-04-05 David S. Miller <davem@davemloft.net>
41250 * scripts/check-local-headers.sh: Accept a host triplet in the
41251 path matched by the exclude regexp.
41253 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41255 * sysdeps/powerpc/powerpc32/dl-machine.h
41256 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41257 * sysdeps/s390/s390-32/dl-machine.h
41258 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41259 * sysdeps/sparc/sparc32/dl-machine.h
41260 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41261 * sysdeps/sparc/sparc64/dl-machine.h
41262 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41264 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41266 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41267 undefined symbol errors.
41269 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41272 2012-04-05 Michael Matz <matz@suse.de>
41275 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41277 2012-04-05 Andreas Jaeger <aj@suse.de>
41280 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41283 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41285 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41286 which ROUND is no valid rounding mode.
41288 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41290 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41292 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41294 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41296 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41297 an exception using FPU order intentionally.
41299 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41301 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41302 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41303 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41304 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41306 2012-04-05 Simon Josefsson <simon@josefsson.org>
41309 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41310 EINVAL when BUFLEN is too smal.
41312 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41315 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41316 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41318 2012-04-03 Andreas Jaeger <aj@suse.de>
41321 * manual/setjmp.texi (System V contexts): Fix sentence.
41324 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41325 New macro for this case.
41326 [!__GNUC__] (__bswap_64): New inline function for this case.
41327 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41328 * bits/byteswap.h: Likewise.
41329 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41330 ull, guard with __GLIBC_HAVE_LONG_LONG.
41332 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41333 __GLIBC_HAVE_LONG_LONG.
41335 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41336 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41338 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41341 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41342 inptr and inend, rather than using last_ch.
41344 2012-04-02 David S. Miller <davem@davemloft.net>
41346 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41347 * stdio-common/printf-parse.h (read_int): Change return type to
41348 'int', return -1 on INT_MAX overflow.
41349 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41350 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41351 overflows INT_MAX. Check for overflow of in-format-string precision
41352 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41353 SIZE_MAX not INT_MAX for integer overflow test.
41354 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41355 skip the construct in the format string but do not record anything.
41356 * stdio-common/bug22.c: Adjust to test both width/prevision
41357 INT_MAX overflow as well as total length INT_MAX overflow. Check
41358 explicitly for proper errno values.
41360 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41362 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41364 * string/test-strcmp.c [! WIDE]: Likewise.
41365 * time/tst-mktime2.c: Likewise for INT_MAX.
41366 * string/test-string.h: #include <sys/param.h> for MIN.
41368 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41369 * sysdeps/i386/init-first.c (init): Likewise.
41370 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41371 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41372 * sysdeps/sh/init-first.c (init): Likewise.
41374 2012-04-01 Ulrich Drepper <drepper@gmail.com>
41376 * po/ru.po: Update from translation team.
41377 * po/vi.po: Likewise.
41379 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41381 * resolv/nss_dns/dns-host.c: Merge copyright years.
41383 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41386 Optimize memcpy with prefetch if
41387 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41388 src, dst pointers have unequal 16 byte alignments.
41390 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41393 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41394 from a CNAME entry and return the minimum ttl for the query.
41395 (gaih_getanswer_slice): Likewise.
41397 2012-03-30 Jeff Law <law@redhat.com>
41399 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41401 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41402 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41404 * resolv/nss_dns/dns-host.c: Update copyright year.
41406 2012-03-30 Ulrich Drepper <drepper@gmail.com>
41408 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41409 requests to save a system call. Fix check that all bytes are sent.
41411 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41412 comments for sendmmsg.
41414 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41417 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41418 with only 1 character between 0x0041 and 0x01b0.
41419 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41420 * wcsmbs/tst-mbsnrtowcs.c: New file.
41422 2012-03-29 David S. Miller <davem@davemloft.net>
41424 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41425 small copies by hand.
41427 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41430 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41431 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41434 2012-03-28 David S. Miller <davem@davemloft.net>
41436 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41437 that branches into memcpy.
41438 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41440 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41441 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41444 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41445 implementation too.
41446 * sysdeps/sparc/mempcpy.S: New file.
41448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41449 the IFUNC routine in the libc case.
41450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41452 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41453 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41454 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41455 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41456 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41457 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41458 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41459 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41461 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41462 loop to 256 bytes instead of 64 bytes and fix test signedness.
41464 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41465 * sysdeps/sparc/sparc32/Makefile: rather than here...
41466 * sysdeps/sparc/sparc64/Makefile: and here.
41468 2012-03-28 Ulrich Drepper <drepper@gmail.com>
41470 * malloc/mallocbug.c: Avoid warnings about unused variables.
41472 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41475 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41476 in the right place. Discard and retry query if response is
41477 larger than input buffer size.
41479 2012-03-28 Joseph Myers <joseph@codesourcery.com>
41484 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41485 x for large integer exponent.
41486 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41487 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41488 sign of result as needed afterwards.
41489 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41490 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41491 result for underflowing pow the same as for overflow.
41492 (__kernel_standard_l): Handle powl overflow and underflow here
41493 rather than calling __kernel_standard.
41494 * math/libm-test.inc (pow_test): Add more tests.
41509 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41510 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41511 (__kernel_standard_l): New function.
41512 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41514 * math/w_acosl.c (__acosl): Likewise.
41515 * math/w_asinl.c (__asinl): Likewise.
41516 * math/w_atan2l.c (__atan2l): Likewise.
41517 * math/w_atanhl.c (__atanhl): Likewise.
41518 * math/w_coshl.c (__coshl): Likewise.
41519 * math/w_exp10l.c (__exp10l): Likewise.
41520 * math/w_exp2l.c (__exp2l): Likewise.
41521 * math/w_fmodl.c (__fmodl): Likewise.
41522 * math/w_hypotl.c (__hypotl): Likewise.
41523 * math/w_j0l.c (__j0l, __y0l): Likewise.
41524 * math/w_j1l.c (__j1l, __y1l): Likewise.
41525 * math/w_jnl.c (__jnl, __ynl): Likewise.
41526 * math/w_lgammal.c (__lgammal): Likewise.
41527 * math/w_log10l.c (__log10l): Likewise.
41528 * math/w_log2l.c (__log2l): Likewise.
41529 * math/w_logl.c (__logl): Likewise.
41530 * math/w_powl.c (__powl): Likewise.
41531 * math/w_remainderl.c (__remainderl): Likewise.
41532 * math/w_scalbl.c (sysv_scalbl): Likewise.
41533 * math/w_sinhl.c (__sinhl): Likewise.
41534 * math/w_sqrtl.c (__sqrtl): Likewise.
41535 * math/w_tgammal.c (__tgammal): Likewise.
41536 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41537 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41538 * math/libm-test.inc (acos_test): Add more tests.
41539 (acosh_test): Likewise.
41540 (asin_test): Likewise.
41541 (atanh_test): Likewise.
41542 (exp_test): Likewise.
41543 (exp10_test): Likewise.
41544 (exp2_test): Likewise.
41545 (expm1_test): Likewise.
41546 (lgamma_test): Likewise.
41547 (log_test): Likewise.
41548 (log10_test): Likewise.
41549 (log1p_test): Likewise.
41550 (log2_test): Likewise.
41551 (pow_test): Do not allow some spurious overflow exceptions.
41552 (sqrt_test): Add more tests.
41553 (tgamma_test): Likewise.
41554 (y0_test): Likewise.
41555 (y1_test): Likewise.
41556 (yn_test): Likewise.
41558 2012-03-27 Anton Blanchard <anton@samba.org>
41560 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41562 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41563 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41566 2012-03-27 David S. Miller <davem@davemloft.net>
41568 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41570 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41571 have-as-vis3 check.
41573 2012-03-27 Andreas Jaeger <aj@suse.de>
41575 * sysdeps/x86_64/elf/configure.in: Moved to ...
41576 * sysdeps/x86_64/configure.in: ... here.
41577 * sysdeps/x86_64/elf/start.S: Moved to ...
41578 * sysdeps/x86_64/start.S: ... here.
41579 * sysdeps/x86_64/elf/configure: Delete.
41581 * sysdeps/x86_64/configure.in: Merge contents from
41582 sysdeps/i386/configure.in (without i686 check).
41584 * sysdeps/i386/elf/Versions: Merge into ...
41585 * sysdeps/i386/Versions: ... this.
41586 * sysdeps/i386/elf/Versions: Delete file.
41587 * sysdeps/i386/elf/start.S: Moved to ...
41588 * sysdeps/i386/start.S: ...here.
41589 * sysdeps/i386/elf/configure.in: Merge into...
41590 * sysdeps/i386/configure.in: ...here.
41591 * sysdeps/i386/elf/configure.in: Delete file.
41592 * sysdeps/i386/elf/configure: Delete file.
41594 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41595 * debug/backtracesyms.c: ... here.
41596 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41597 * debug/backtracesymsfd.c: ... here.
41598 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41599 * sysdeps/generic/ifunc-sel.h: ... here.
41601 * sysdeps/unix/i386/start.c: Delete file.
41602 * sysdeps/unix/sparc/start.c: Delete file.
41603 * sysdeps/unix/start.c: Delete file.
41605 * sysdeps/sh/elf/configure.in: Moved to ...
41606 * sysdeps/sh/configure.in: ... here.
41607 * sysdeps/sh/elf/start.S: Moved to ...
41608 * sysdeps/sh/start.S: ... here.
41609 * sysdeps/sh/elf/configure: Delete file.
41611 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41612 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41613 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41614 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41615 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41616 * sysdeps/powerpc/powerpc64/start.S: here.
41617 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41618 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41619 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41620 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41621 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41623 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41624 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41625 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41626 * sysdeps/powerpc/powerpc32/start.S: ... here.
41627 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41628 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41629 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41631 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41632 * sysdeps/powerpc/ifunc-sel.h: ... here.
41633 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41634 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41636 * sysdeps/sparc/elf/configure.in: Moved to ...
41637 * sysdeps/sparc/configure.in: ... here.
41638 * sysdeps/sparc/elf/configure: Delete file.
41639 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41640 * sysdeps/sparc/sparc32/start.S: ... here.
41641 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41642 * sysdeps/sparc/sparc64/start.S: ... here.
41643 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41644 * sysdeps/sparc/sparc32/Makefile: ... this.
41645 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41646 * sysdeps/sparc/sparc64/Makefile: ... this.
41648 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41649 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41650 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41651 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41652 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41653 * sysdeps/s390/s390-32/setjmp.S: ... here.
41654 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41655 * sysdeps/s390/s390-32/configure.in: ... here.
41656 * sysdeps/s390/s390-32/elf/configure: Delete file.
41657 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41658 * sysdeps/s390/s390-32/start.S: ... here.
41660 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41661 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41662 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41663 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41664 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41665 * sysdeps/s390/s390-64/setjmp.S: ... here.
41666 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41667 * sysdeps/s390/s390-64/configure.in: ... here
41668 * sysdeps/s390/s390-64/elf/configure: Delete file.
41669 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41670 * sysdeps/s390/s390-64/start.S: ... here.
41671 * sysdeps/s390/s390-64/elf/configure: Delete.
41673 * configure.in: Remove support for elf directories in sysdeps.
41675 * configure: Regenerated.
41676 * sysdeps/i386/configure: Regenerated.
41677 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41678 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41679 * sysdeps/s390/s390-32/configure: Regenerated.
41680 * sysdeps/s390/s390-64/configure: Regenerated.
41681 * sysdeps/sh/configure: Regenerated.
41682 * sysdeps/sparc/configure: Regenerated.
41683 * sysdeps/x86_64/configure: Regenerated.
41685 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41690 denormal result into account.
41692 2012-03-25 Roland McGrath <roland@hack.frob.com>
41694 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41695 Reported by Allan McRae <allan@archlinux.org>.
41697 2012-03-23 Jeff Law <law@redhat.com>
41699 * nss/getnssent.c (__nss_getent): Fix typo.
41701 2012-03-23 David S. Miller <davem@davemloft.net>
41703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41705 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41707 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41708 to pad to uint64_t for each field.
41709 (dl_tls_index): Replace unsigned long with uint64_t.
41711 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41712 Paul Pluzhnikov <ppluzhnikov@google.com>
41715 * grp/Makefile (otherlibs): Don't set it.
41716 * inet/Makefile (otherlibs): Likewise.
41717 * login/Makefile (otherlibs): Likewise.
41718 * nscd/Makefile (otherlibs): Likewise.
41719 * posix/Makefile (otherlibs): Likewise.
41720 * pwd/Makefile (otherlibs): Likewise.
41721 * rt/Makefile (otherlibs): Likewise.
41722 * sunrpc/Makefile (otherlibs): Likewise.
41723 * nss/Makefile (otherlibs): Likewise.
41724 Add libnss_files to routines and static-only-routines.
41725 ($(objpfx)getent): Remove rule.
41726 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41727 static-only-routines.
41729 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41732 * math/s_cexp.c: Include <float.h>.
41733 (__cexp): Handle exp result overflowing not necessarily
41734 overflowing both real and imaginary parts of result.
41735 * math/s_cexpf.c: Likewise.
41736 * math/s_cexpl.c: Likewise.
41737 * math/libm-test.inc (cexp_test): Add more tests.
41738 * sysdeps/i386/fpu/libm-test-ulps: Update.
41739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41741 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41743 * include/link.h (ELFW): New macro.
41744 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41745 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41747 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41749 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41752 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41754 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41756 (struct La_x32_retval): Likewise.
41758 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41760 * sysdeps/x86_64/preconfigure.in: New file.
41761 * sysdeps/x86_64/preconfigure: New generated file.
41763 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41766 * math/e_exp2l.c: Include <float.h>.
41767 (__ieee754_exp2l): Handle overflow and underflow cases
41768 separately. Only pass fractional part of argument to
41770 * math/libm-test.inc (exp2_test): Add more tests.
41772 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41773 negating x to take absolute value.
41774 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41776 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41777 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41779 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41780 computing low part if x was negated.
41781 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41783 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41785 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41786 la_x32_gnu_pltexit.
41787 (pltexit): Cast int_retval to ptrdiff_t.
41788 * elf/tst-auditmod3b.c: Likewise.
41789 * elf/tst-auditmod4b.c: Likewise.
41790 * elf/tst-auditmod5b.c: Likewise.
41791 * elf/tst-auditmod6b.c: Likewise.
41792 * elf/tst-auditmod6c.c: Likewise.
41793 * elf/tst-auditmod7b.c: Likewise.
41795 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41796 and x32_gnu_pltexit.
41798 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41799 __ELF_NATIVE_CLASS.
41800 (La_x32_regs): New macro.
41801 (La_x32_retval): Likewise.
41802 (la_x32_gnu_pltenter): New function prototype.
41803 (la_x32_gnu_pltexit): Likewise.
41805 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41812 * configure.in (libc_cv_cc_nofma): Check for option to disable
41813 generation of FMA instructions.
41814 * configure: Regenerate.
41815 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41816 * sysdeps/ieee754/dbl-64/Makefile: New file.
41817 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41818 Remove brandred-fma4.
41819 (CFLAGS-brandred-fma4.c): Remove.
41820 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41823 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41826 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41828 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41829 LLONG_MAX != LONG_MAX.
41830 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41831 (_fitoa_word): Likewise.
41832 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41833 LLONG_MAX != LONG_MAX.
41834 * stdio-common/_itowa.h: Include <_itoa.h>.
41835 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41836 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41837 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41838 only if not defined.
41839 (_ITOA_WORD_TYPE): Likewise.
41840 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41841 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41843 2012-03-21 David S. Miller <davem@davemloft.net>
41845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41847 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41849 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41850 of x86_64 when setting libc_cv_slibdir, libdir and
41852 * sysdeps/unix/sysv/linux/configure: Regenerated.
41854 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41856 * manual/lang.texi (Old Varargs): Remove section.
41857 (How Variadic): Update menu.
41858 (va_start): Do not mention varargs.h.
41860 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41861 Joseph Myers <joseph@codesourcery.com>
41863 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41865 * configure: Regenerated.
41867 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41869 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41870 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41873 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41876 * Makefile (files-for-dist): Remove NOTES.
41877 (NOTES): Remove rule.
41878 * README: Don't refer to NOTES.
41879 * manual/creature.texi: Don't include macros.texi.
41880 * manual/intro.texi (creature.texi): Remove comment referring to
41883 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41884 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41885 * configure: Regenerated.
41886 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41887 LIBC_TRY_CC_OPTION.
41888 (libc_cv_as_i686): Likewise.
41889 (libc_cv_cc_avx): Likewise.
41890 (libc_cv_cc_sse2avx): Likewise.
41891 (libc_cv_cc_fma4): Likewise.
41892 (libc_cv_cc_novzeroupper): Likewise.
41893 * sysdeps/i386/configure: Regenerated.
41896 * sysdeps/i386/fpu/s_cexp.S: Remove.
41897 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41898 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41899 * math/libm-test.inc (cexp_test): Add more tests.
41900 * sysdeps/i386/fpu/libm-test-ulps: Update.
41901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41903 2012-03-21 Allan McRae <allan@archlinux.org>
41905 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41907 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41910 * math/w_exp2.c: Do not include <float.h>.
41911 (o_threshold, u_threshold): Remove.
41912 (__exp2): Calculate result before checking finiteness and calling
41914 * math/w_exp2f.c: Likewise.
41915 * math/w_exp2l.c: Likewise.
41916 * math/libm-test.inc (exp2_test): Require overflow exception for
41920 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41921 range of signed 64-bit integers before using fistpll. Remove
41922 checks for whether integers fit in mantissa bits.
41923 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41924 the range of signed 32-bit integers before using fistpl. Remove
41925 checks for whether integers fit in mantissa bits.
41926 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41927 (__ieee754_powl): Test for y outside the range of signed 64-bit
41928 integers before using fistpll. Reduce 64-bit values to 63-bit
41930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41931 divide-by-zero is raised for zero to large negative powers.
41932 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41933 (__ieee754_powl): Test for y outside the range of signed 64-bit
41934 integers before using fistpll. Reduce 64-bit values to 63-bit
41936 * math/libm-test.inc (pow_test): Add more tests.
41938 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41940 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41941 <stdio-common/_itoa.h>.
41942 * debug/segfault.c: Likewise.
41943 * elf/dl-cache.c: Likewise.
41944 * elf/dl-minimal.c: Likewise.
41945 * elf/dl-misc.c: Likewise.
41946 * elf/dl-sysdep.c: Likewise.
41947 * elf/dl-version.c: Likewise.
41948 * elf/rtld.c: Likewise.
41949 * hurd/hurdsock.c: Likewise.
41950 * hurd/lookup-retry.c: Likewise.
41951 * malloc/malloc.c: Likewise.
41952 * malloc/mtrace.c: Likewise.
41953 * nscd/nscd_getgr_r.c: Likewise.
41954 * nscd/nscd_getpw_r.c: Likewise.
41955 * nscd/nscd_getserv_r.c: Likewise.
41956 * posix/getopt_init.c: Likewise.
41957 * posix/wordexp.c: Likewise.
41958 * stdio-common/_itoa.c: Likewise.
41959 * stdio-common/printf_fphex.c: Likewise.
41960 * stdio-common/vfprintf.c: Likewise.
41961 * string/_strerror.c: Likewise.
41962 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41963 * sysdeps/i386/i686/hp-timing.h: Likewise.
41964 * sysdeps/mach/_strerror.c: Likewise.
41965 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41966 * sysdeps/mach/hurd/sethostid.c: Likewise.
41967 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41968 * sysdeps/mach/xpg-strerror.c: Likewise.
41969 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41971 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41972 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41973 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41974 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41975 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41976 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41977 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41978 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41979 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41980 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41981 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41982 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41983 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41984 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41985 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41986 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41987 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41988 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41989 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41991 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41993 * stdio-common/_itoa.h: Moved to ...
41994 * sysdeps/generic/_itoa.h: Here.
41996 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41998 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41999 instead of "_itoa.h" and "_itowa.h".
42000 * stdio-common/vfprintf.: Likewise.
42002 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42004 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42006 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42007 (__signbit): Likwise.
42008 (llrintf): Likwise.
42011 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42013 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42016 2012-03-20 Joseph Myers <joseph@codesourcery.com>
42018 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42019 OVERFLOW_EXCEPTION_OK.
42020 * math/libm-test.inc ("Philosophy"): Update comment about
42022 (OVERFLOW_EXCEPTION): Define.
42023 (OVERFLOW_EXCEPTION_OK): Likewise.
42024 (INVALID_EXCEPTION_OK): Renumber.
42025 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42026 (IGNORE_ZERO_INF_SIGN): Likewise.
42027 (test_exceptions): Handle FE_OVERFLOW.
42028 (exp10_test): Expect overflow exceptions.
42029 (exp2_test): Likewise.
42030 (expm1_test): Likewise.
42031 (nextafter_test): Likewise.
42032 (pow_test): Likewise.
42033 (scalbn_test): Likewise.
42034 (scalbln_test): Likewise.
42036 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42038 * sysdeps/x86_64/bits/atomic.h
42039 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42041 (atomic_exchange_acq): Likewise.
42042 (__arch_exchange_and_add_body): Likewise.
42043 (__arch_add_body): Likewise.
42044 (atomic_add_negative): Likewise.
42045 (atomic_add_zero): Likewise.
42047 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42049 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42050 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42052 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42054 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42055 Check __x86_64__ instead of __WORDSIZE.
42057 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42059 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42061 2012-03-19 David S. Miller <davem@davemloft.net>
42063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42065 * sysdeps/sparc/fpu/fenv_private.h: New file.
42066 * sysdeps/sparc/fpu/math_private.h: Use it.
42067 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42069 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42070 (libc_feholdexcept_setroundl): Remove.
42071 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42073 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42074 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42076 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42078 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42079 int64_t instead of long int.
42080 (INSERT_WORDS64): Likwise.
42082 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42084 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42085 _Unwind_GetCFA return to _Unwind_Ptr first.
42087 2012-03-19 Joseph Myers <joseph@codesourcery.com>
42090 * math/s_clog.c: Include <float.h>.
42091 (__clog): Scale large or subnormal inputs.
42092 * math/s_clogf.c: Likewise.
42093 * math/s_clogl.c: Likewise.
42094 * math/s_clog10.c: Include <float.h>.
42095 (M_LOG10_2): Define.
42096 (__clog10): Scale large or subnormal inputs.
42097 * math/s_clog10f.c: Likewise.
42098 * math/s_clog10l.c: Likewise.
42099 * math/libm-test.inc (clog_test): Add more tests.
42100 (clog10_test): Likewise.
42101 * sysdeps/i386/fpu/libm-test-ulps: Update.
42102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42105 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42107 * math/libm-test.inc (atan2_test): Add another test.
42109 * Makerules (common-objdir-compile): Remove.
42110 * sysdeps/unix/Makefile (config-generated): Do not add
42111 $(unix-generated) to variable.
42112 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42113 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42115 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42117 [generic bits/local_lim.h] (before-compile): Do not append to
42119 [generic bits/local_lim.h] (common-generated): Likewise.
42120 [generic sys/param.h] (before-compile): Do not append to variable.
42121 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42122 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42123 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42124 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42126 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42127 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42128 [generic sys/param.h] ($(addprefix
42129 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42130 [generic sys/param.h] (common-generated): Do not append to
42132 [generic sys/param.h] (sysdep_headers): Likewise.
42133 [generic bits/errno.h] (before-compile): Do not append to
42135 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42137 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42138 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42139 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42140 [generic bits/errno.h] (common-generated): Do not append to
42142 [generic bits/ioctls.h] (before-compile): Do not append to
42144 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42146 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42147 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42148 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42150 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42151 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42152 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42153 [generic bits/ioctls.h] (common-generated): Do not append to
42155 [generic sys/syscall.h] (syscall.h): Remove variable.
42156 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42158 [generic sys/syscall.h] (before-compile): Do not append to
42160 [generic sys/syscall.h] (common-generated): Likewise.
42161 * sysdeps/unix/errnos-tmpl.c: Remove file.
42162 * sysdeps/unix/errnos.awk: Likewise.
42163 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42164 * sysdeps/unix/ioctls.awk: Likewise.
42165 * sysdeps/unix/mk-local_lim.c: Likewise.
42166 * sysdeps/unix/snarf-ioctls: Likewise.
42168 2012-03-19 Richard Henderson <rth@twiddle.net>
42170 * sysdeps/i386/fpu/fenv_private.h: New file.
42171 * sysdeps/i386/fpu/math_private.h: Use it.
42172 (math_opt_barrier, math_force_eval): Remove.
42173 (libc_feholdexcept_setround_53bit): Remove.
42174 (libc_feupdateenv_53bit): Remove.
42175 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42176 (math_opt_barrier, math_force_eval): Remove.
42177 (libc_feholdexcept): Remove.
42178 (libc_feholdexcept_setround): Remove.
42179 (libc_fetestexcept, libc_fesetenv): Remove.
42180 (libc_feupdateenv_test): Remove.
42181 (libc_feupdateenv, libc_feholdsetround): Remove.
42182 (libc_feresetround): Remove.
42184 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42185 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42187 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42188 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42189 (libc_feupdateenv_testl): New.
42190 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42191 (libc_feupdateenv_testf): New.
42192 (libc_feupdateenv): Use libc_feupdateenv_test.
42193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42194 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42196 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42197 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42198 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42199 (libc_feresetround_noex): New.
42200 (libc_feresetround_noexf): New.
42201 (libc_feresetround_noexl): New.
42202 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42203 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42204 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42205 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42208 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42210 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42211 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42212 SET_RESTORE_ROUND_NOEX.
42213 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42214 SET_RESTORE_ROUND_NOEXF.
42215 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42216 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42217 (libc_feholdsetroundf): New.
42218 (libc_feresetround, libc_feresetroundf): New.
42220 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42221 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42222 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42224 * sysdeps/generic/math_private.h: Include <fenv.h>.
42225 (default_libc_feholdexcept): New.
42226 (default_libc_feholdexcept_setround): New.
42227 (default_libc_fesetenv, default_libc_feupdateenv): New.
42228 (libc_feholdexcept): Only define if undefined.
42229 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42230 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42231 (libc_feholdexcept_setroundl): Likewise.
42232 (libc_feholdexcept_setround_53bit): Likewise.
42233 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42234 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42235 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42236 (libc_feupdateenv_53bit): Likewise.
42237 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42238 (libc_feholdexcept): Convert from macro to inline function.
42239 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42240 (libc_fesetenv, libc_feupdateenv): Likewise.
42242 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42243 not previously defined.
42244 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42245 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42246 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42247 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42248 * sysdeps/ieee754/flt-32/math_private.h: New file.
42249 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42250 math_private.h below SET_FLOAT_WORD.
42251 (__isnan, __isinf_ns, __finite): Remove.
42252 (__isnanf, __isinf_nsf, __finitef): Remove.
42254 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42258 2012-03-17 David S. Miller <davem@davemloft.net>
42261 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42264 2012-03-16 David S. Miller <davem@davemloft.net>
42266 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42270 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42272 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42273 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42274 sysdep_routines when subdir is sysvipc.
42275 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42276 __getshmlba helper.
42278 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42280 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42282 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42285 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42287 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42288 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42289 (__lround): Renamed to ...
42290 (__llround): This. Replace long int with long long int.
42291 Define lround functions as aliases of llround functions.
42292 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42294 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42296 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42297 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42298 adresses to uintptr_t. Replace "long int" and "unsigned long
42299 int" with "greg_t" on va_arg.
42301 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42303 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42304 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42306 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42307 Move e_machine check before EI_CLASS check. Handle x32
42308 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42309 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42310 SKIP_EM_IA_64 and include
42311 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42313 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42314 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42315 (add_system_dir): New macro.
42317 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42318 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42320 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42331 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42333 * math/w_j0f.c (j0f): Likewise.
42335 * math/w_j0l.c (__j0l): Likewise.
42337 * math/w_j1.c (j1): Likewise.
42339 * math/w_j1f.c (j1f): Likewise.
42341 * math/w_j1l.c (__j1l): Likewise.
42343 * math/w_jn.c (jn): Likewise.
42345 * math/w_jnf.c (jnf): Likewise.
42347 * math/w_jnl.c (__jnl): Likewise.
42349 * math/libm-test.inc (j0_test): Add more tests.
42350 (j1_test): Likewise.
42351 (jn_test): Likewise. Add trailing semicolon to existing test.
42352 (y0_test): Likewise.
42353 (y1_test): Likewise.
42354 * sysdeps/i386/fpu/libm-test-ulps: Update.
42355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42359 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42360 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42361 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42363 (__tanl): Set errno for infinite argument.
42364 * sysdeps/i386/fpu/mptan.c: Remove.
42365 * sysdeps/i386/fpu/s_tan.S: Likewise.
42366 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42367 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42368 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42369 * math/libm-test.inc (tan_test): Add more tests and enable more
42370 tests for double and long double.
42371 * sysdeps/i386/fpu/libm-test-ulps: Update.
42372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42374 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42376 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42377 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42379 2012-03-16 Roland McGrath <roland@hack.frob.com>
42381 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42382 * configure.in: Use it for both main tree and add-ons.
42383 * configure: Regenerated.
42385 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42387 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42389 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42391 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42395 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42396 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42401 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42403 != 0 for prec == 2.
42404 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42405 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42406 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42407 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42408 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42409 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42410 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42411 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42412 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42413 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42414 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42415 * math/libm-test.inc (cos_test): Add more tests and enable more
42416 tests for long double.
42417 (sin_test): Likewise.
42418 (sincos_test): Likewise.
42419 * sysdeps/i386/fpu/libm-test-ulps: Update.
42420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42422 2012-03-16 David S. Miller <davem@davemloft.net>
42424 * sysdeps/sparc/fpu/math_private.h: New file.
42426 2012-03-15 David S. Miller <davem@davemloft.net>
42428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42442 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42443 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42445 * sysdeps/sparc/sparc-ifunc.h: New file.
42446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42484 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42485 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42486 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42487 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42491 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42493 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42497 2012-03-15 Andreas Jaeger <aj@suse.de>
42500 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42501 ieee754/flt-32 implementation for sin, cos and sincos.
42502 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42503 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42504 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42505 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42506 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42507 ieee754/flt-32 implementation for tan.
42509 * math/libm-test.inc (cos_test): Enable some large input tests for
42511 (sin_test): Likewise.
42512 (sincos_test): Likewise.
42513 (tan_test): Add tests for large input.
42515 * sysdeps/i386/fpu/libm-test-ulps: Update.
42517 2012-03-15 Andreas Jaeger <aj@suse.de>
42520 * math/libm-test.inc (cos_test): Add more test cases.
42521 (sin_test): Likewise.
42522 (sincos_test): Likewise.
42524 2012-03-15 Andreas Jaeger <aj@suse.de>
42527 * math/libm-test.inc (cos_test): Add a test case for large input
42529 (sin_test): Likewise.
42530 (sincos_test): Likewise.
42532 2012-03-15 Andreas Jaeger <aj@suse.de>
42533 Joseph Myers <joseph@codesourcery.com>
42536 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42537 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42538 * sysdeps/i386/fpu/branred.c: Likewise.
42539 * sysdeps/i386/fpu/dosincos.c: Likewise.
42540 * sysdeps/i386/fpu/mpa.c: Likewise.
42541 * sysdeps/i386/fpu/s_cos.S: Likewise.
42542 * sysdeps/i386/fpu/s_sin.S: Likewise.
42543 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42544 * sysdeps/i386/fpu/sincos32.c: Likewise.
42546 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42548 (libc_feupdateenv_53bit): Define.
42549 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42551 (libc_feupdateenv_53bit): Define.
42553 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42554 53 bit (without extend i386 double precision).
42556 * math/libm-test.inc (sincos_test): Add tests for large input.
42560 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42562 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42566 2012-03-15 David S. Miller <davem@davemloft.net>
42568 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42569 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42570 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42571 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42596 fmin/fmax sysdep routines.
42597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42599 2012-03-14 David S. Miller <davem@davemloft.net>
42601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42606 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42673 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42678 * sysdeps/sparc/configure.in: New file.
42679 * sysdeps/sparc/configure: Generate.
42680 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42681 * configure: Regenerate.
42682 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42683 * config.make.in (have-as-vis3): New.
42684 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42685 available use -Av9d instead of -Av9a.
42686 * sysdeps/sparc/sparc64/Makefile: Likewise.
42687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42699 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42700 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42702 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42703 fzeros/fnegs to load 0x80000000 into a float register instead of
42705 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42707 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42711 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42712 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42713 ($(inst_includedir)/bits/syscall.h): Remove rule.
42714 ($(objpfx)bits/syscall.d): Include instead of
42715 $(objpfx)syscall-list.d.
42716 (generated): Change syscall-list.h and syscall-list.d to
42717 bits/syscall.h and bits/syscall.d.
42719 2012-03-14 Roland McGrath <roland@hack.frob.com>
42722 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42724 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42727 * math/s_csqrt.c: Include <float.h>.
42728 (__csqrt): Scale large or subnormal inputs.
42729 * math/s_csqrtf.c: Likewise.
42730 * math/s_csqrtl.c: Likewise.
42731 * math/libm-test.inc (csqrt_test): Add more tests.
42732 * sysdeps/i386/fpu/libm-test-ulps: Update.
42733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42736 * math/libm-test.inc (hypot_test): Add more tests.
42738 2012-03-13 David S. Miller <davem@davemloft.net>
42741 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42742 double-precision for the calculation instead of scaling.
42744 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42746 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42747 manipulate bits before adding and subtracting TWO52[sx].
42748 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42751 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42753 2012-03-13 David S. Miller <davem@davemloft.net>
42755 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42756 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42758 rtld-global-offsets.h
42759 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42761 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42764 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42766 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42767 'err' in the ifdef scope in which it is actually used.
42769 * nss/nss_db/db-init.c: Include string.h
42771 2012-03-12 David S. Miller <davem@davemloft.net>
42773 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42774 masking out of the most significant byte of random value used.
42775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42776 Fix coding style in previous change.
42778 * sysdeps/unix/sysv/linux/kernel-features.h
42779 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42780 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42782 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42785 2012-03-11 David S. Miller <davem@davemloft.net>
42787 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42788 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42789 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42790 for 'resultvar' otherwise things get truncated on 64-bit.
42792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42793 Fix masking out of the most significant byte of random value used.
42795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42797 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42801 2012-03-09 David S. Miller <davem@davemloft.net>
42803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42804 variables with appropriate CPP guards.
42805 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42806 from the frame pointer, not the stack pointer. Correct layout
42807 comments. Fix test on resulting framesize and the management of
42808 the outregs buffer for pltexit. Preserve floating point return
42809 values across _dl_call_pltexit call.
42810 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42811 framesize and the management of the outregs buffer for pltexit.
42812 Preserve floating point return values across _dl_call_pltexit
42814 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42815 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42816 (la_sparc64_gnu_pltexit): New functions.
42817 (print_exit): Fix format string for return register value.
42819 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42821 * sunrpc/Makefile (others): Add rpcgen.
42822 ($(objpfx)rpcgen): Remove special build rule and dependency on
42824 * sunrpc/rpcgen.c: New file.
42826 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42829 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42830 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42831 * sysdeps/i386/crti.S: Likewise.
42832 * sysdeps/i386/crtn.S: Likewise.
42833 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42834 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42835 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42836 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42837 * sysdeps/sh/crti.S: Likewise.
42838 * sysdeps/sh/crtn.S: Likewise.
42839 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42842 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42844 * locale/programs/locfile-kw.gperf: Likewise.
42845 * locale/programs/charmap-kw.h: Regenerated.
42846 * locale/programs/locfile-kw.h: Likewise.
42849 * intl/plural.y: Replace FSF snail mail address with URL.
42850 * intl/plural.c: Regenerated.
42852 2012-03-09 Richard Henderson <rth@twiddle.net>
42854 * include/math_private.h: Remove file.
42855 * math/math_private.h: Move file ...
42856 * sysdeps/generic/math_private.h: ... here.
42858 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42859 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42860 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42862 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42863 and <math_private.h>.
42864 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42865 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42866 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42867 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42868 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42869 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42870 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42872 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42873 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42875 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42876 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42885 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42912 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42913 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42914 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42915 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42916 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42917 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42918 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42945 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42946 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42947 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42949 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42951 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42952 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42953 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42954 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42955 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42956 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42957 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42958 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42959 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42960 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42961 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42962 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42963 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42964 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42965 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42966 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42967 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42968 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42969 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42970 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42971 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42976 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42977 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42978 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42979 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42980 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42981 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42982 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42983 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42985 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42986 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42987 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42988 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42992 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42993 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42994 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42995 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42996 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42997 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42998 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42999 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43000 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43001 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43002 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43003 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43005 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43006 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43007 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43008 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43009 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43010 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43011 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43012 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43013 * sysdeps/ieee754/k_standard.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43065 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43105 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43107 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43112 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43113 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43117 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43118 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43125 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43128 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43129 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43133 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43134 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43136 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43138 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43141 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43142 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43143 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43146 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43159 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43162 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43163 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43164 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43169 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43170 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43171 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43173 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43174 * sysdeps/ieee754/s_lib_version.c: Likewise.
43175 * sysdeps/ieee754/s_matherr.c: Likewise.
43176 * sysdeps/ieee754/s_signgam.c: Likewise.
43177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43179 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43180 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43181 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43182 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43183 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43184 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43185 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43186 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43187 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43188 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43189 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43190 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43191 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43192 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43193 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43194 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43195 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43197 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43199 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43201 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43202 * sunrpc/rpc_main.c: Likewise.
43203 * sunrpc/rpc_svcout.c: Likewise.
43205 2012-03-09 David S. Miller <davem@davemloft.net>
43207 * include/math_private.h: New file.
43209 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43211 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43212 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43213 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43214 from <bits/socket_type.h>.
43215 (enum __socket_type): Don't define here.
43216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43218 bits/socket_type.h.
43221 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43222 checking __USE_GNU.
43224 * Makerules ($(inst_includedir)/%.h): New rule.
43225 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43226 (install-others): Remove variable setting.
43227 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43229 2012-03-08 Richard Henderson <rth@twiddle.net>
43231 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43232 from macro to inline function; merge with the
43233 !__LIBC_INTERNAL_MATH_INLINES version.
43234 (__ieee754_sqrtf): Likewise.
43236 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43237 to inline function.
43238 (__rintf, __floor, __floorf): Likewise.
43240 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43241 macro to inline function.
43242 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43244 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43245 not <math/math_private.h>.
43247 2012-03-08 David S. Miller <davem@davemloft.net>
43249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43251 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43253 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43255 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43257 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43258 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43260 2012-03-08 Ulrich Drepper <drepper@gmail.com>
43262 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43263 be defined individually, they must be defined as a block. Define
43264 S for printing a string instead of hidint the different by using a
43265 macro for adding the 'l'.
43266 * stdio-common/tst-fphex-wide.c: Adjust.
43268 2012-03-07 Marek Polacek <polacek@redhat.com>
43270 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43272 2012-03-08 Marek Polacek <polacek@redhat.com>
43275 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43276 * stdio-common/tst-fphex.c: Define a few macros to make the
43277 test reusable. Use them.
43278 * stdio-common/tst-fphex-wide.c: New file.
43280 2012-03-08 Joseph Myers <joseph@codesourcery.com>
43283 * manual/macros.texi (gnusystems): New macro.
43284 (nongnusystems): Likewise.
43285 (gnulinuxhurdsystems): Likewise.
43286 (gnuhurdsystems): Likewise..
43287 (gnulinuxsystems): Likewise.
43288 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43289 variants of the GNU system, not "GNU system".
43290 * manual/conf.texi: Likewise.
43291 * manual/errno.texi: Likewise. Update example of errno macro
43293 * manual/filesys.texi: Likewise.
43294 (getumask): Document as specific to GNU/Hurd.
43295 * manual/install.texi: Likewise. Reword some references to
43297 * manual/intro.texi: Likewise.
43298 * manual/io.texi: Likewise.
43299 (File Name Portability): Detail which constraints are inapplicable
43300 to all GNU systems and which are only inapplicable to GNU/Hurd.
43301 * manual/job.texi: Likewise.
43302 * manual/llio.texi: Likewise.
43303 (O_NOCTTY): Document as present on GNU/Linux.
43304 * manual/maint.texi: Likewise.
43305 * manual/memory.texi: Likewise.
43306 * manual/pattern.texi: Likewise.
43307 * manual/pipe.texi: Likewise.
43308 * manual/process.texi: Likewise.
43309 * manual/resource.texi: Likewise.
43310 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43312 * manual/setjmp.texi: Likewise.
43313 * manual/signal.texi: Likewise.
43314 * manual/startup.texi: Likewise.
43315 * manual/stdio.texi: Likewise.
43316 * manual/terminal.texi: Likewise.
43317 (ONLCR): Document as POSIX.
43318 (OXTABS): Document availability on GNU/Linux as XTABS.
43319 (ONOEOT): Document availability separately from other bits.
43320 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43321 * manual/time.texi: Likewise.
43322 * manual/users.texi: Likewise.
43323 * INSTALL: Regenerated.
43324 * sysdeps/gnu/errlist.c: Regenerated.
43326 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43327 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43328 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43330 * configure: Regenerated.
43332 2012-03-07 Joseph Myers <joseph@codesourcery.com>
43334 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43335 default includes instead of AC_HEADER_CHECK.
43336 * sysdeps/i386/configure: Regenerated.
43339 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43340 * math/s_cacoshf.c (__cacoshf): Likewise.
43341 * math/s_cacoshl.c (__cacoshl): Likewise.
43342 * math/s_casinh.c (__casinh): Set signs of result from argument.
43343 * math/s_casinhf.c (__casinhf): Likewise.
43344 * math/s_casinhl.c (__casinhl): Likewise.
43345 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43346 (casinh_test): Add more tests.
43347 * sysdeps/i386/fpu/libm-test-ulps: Update.
43348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43350 2012-03-07 Ulrich Drepper <drepper@gmail.com>
43352 * po/zh_TW.po: Update from translation team.
43354 * login/Makefile (distribute): Remove variable.
43355 * catgets/Makefile: Likewise.
43356 * mach/Makefile: Likewise.
43357 * malloc/Makefile: Likewise.
43358 * misc/Makefile: Likewise.
43359 * iconv/Makefile: Likewise.
43360 * nscd/Makefile: Likewise.
43361 * hurd/Makefile: Likewise.
43362 * manual/Makefile: Likewise.
43363 * locale/Makefile: Likewise.
43364 * intl/Makefile: Likewise.
43365 * conform/Makefile: Likewise.
43366 * nss/Makefile: Likewise.
43367 * time/Makefile: Likewise.
43368 * soft-fp/Makefile: Likewise.
43369 * dirent/Makefile: Likewise.
43370 * gmon/Makefile: Likewise.
43371 * po/Makefile: Likewise.
43372 * rt/Makefile: Likewise.
43373 * socket/Makefile: Likewise.
43374 * math/Makefile: Likewise.
43375 * signal/Makefile: Likewise.
43376 * debug/Makefile: Likewise.
43377 * elf/Makefile: Likewise.
43378 * timezone/Makefile: Likewise.
43379 * stdlib/Makefile: Likewise.
43380 * iconvdata/Makefile: Likewise.
43381 * sunrpc/Makefile: Likewise.
43382 * io/Makefile: Likewise.
43383 * argp/Makefile: Likewise.
43384 * inet/Makefile: Likewise.
43385 * hesiod/Makefile: Likewise.
43386 * grp/Makefile: Likewise.
43387 * csu/Makefile: Likewise.
43388 * wctype/Makefile: Likewise.
43389 * crypt/Makefile: Likewise.
43390 * libio/Makefile: Likewise.
43391 * string/Makefile: Likewise.
43392 * nis/Makefile: Likewise.
43393 * resolv/Makefile: Likewise.
43394 * stdio-common/Makefile: Likewise.
43395 * wcsmbs/Makefile: Likewise.
43396 * dlfcn/Makefile: Likewise.
43397 * posix/Makefile: Likewise.
43400 * timezone/Makefile: Don't install timezone files, just the programs
43403 2012-03-06 Ulrich Drepper <drepper@gmail.com>
43405 * nss/databases.def: Add missing gshadow entry.
43407 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43409 2012-03-06 Marek Polacek <polacek@redhat.com>
43412 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43413 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43414 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43415 * stdio-common/tst-long-dbl-fphex.c: New file.
43417 2012-03-06 David S. Miller <davem@davemloft.net>
43419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43420 (set_obp_int): New function.
43421 (get_obp_int): New function.
43422 (__get_clockfreq_via_dev_openprom): Likewise.
43423 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43424 Avoid unused variable warnings on 'val' and use builtin_expect.
43425 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43427 (INLINE_CLONE_SYSCALL): Likewise.
43429 2012-03-05 David S. Miller <davem@davemloft.net>
43431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43433 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43437 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43438 only for |x| >= 40.
43439 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43441 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
43443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43444 Replace gettimeofday with __vdso_gettimeofday.
43446 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43447 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43448 __vdso_clock_gettime and __vdso_getcpu.
43450 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43451 time with __vdso_time.
43453 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43455 * manual/lang.texi (size_t): Note types to which size_t may be
43456 equivalent with the GNU C Library, but do not describe when
43457 differences between them are significant.
43459 2012-03-05 Andreas Jaeger <aj@suse.de>
43461 * sysdeps/i386/fpu/libm-test-ulps: Update.
43463 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43466 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43467 (__ieee754_pow): Save and restore rounding mode and use
43468 round-to-nearest for main computations.
43469 * math/libm-test.inc (pow_test_tonearest): New function.
43470 (pow_test_towardzero): Likewise.
43471 (pow_test_downward): Likewise.
43472 (pow_test_upward): Likewise.
43473 (main): Call the new functions.
43474 * sysdeps/i386/fpu/libm-test-ulps: Update.
43475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43478 * math/libm-test.inc (cosh_test_tonearest): New function.
43479 (cosh_test_towardzero): Likewise.
43480 (cosh_test_downward): Likewise.
43481 (cosh_test_upward): Likewise.
43482 (sinh_test_tonearest): Likewise.
43483 (sinh_test_towardzero): Likewise.
43484 (sinh_test_downward): Likewise.
43485 (sinh_test_upward): Likewise.
43486 (main): Call the new functions.
43487 * sysdeps/i386/fpu/libm-test-ulps: Update.
43488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43490 2012-03-05 Tom de Vries <tom@codesourcery.com>
43492 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43493 default stack guard is set in last bytes.
43494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43496 2012-03-05 Kees Cook <keescook@chromium.org>
43498 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43501 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43502 possibly allocate from heap instead of stack.
43503 * stdio-common/bug-vfprintf-nargs.c: New file.
43504 * stdio-common/Makefile (tests): Add nargs overflow test.
43506 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43510 2012-03-03 Marek Polacek <polacek@redhat.com>
43512 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43513 * math/math_private.h: Likewise.
43514 * stdlib/tst-strtod.c: Likewise.
43515 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43516 * sysdeps/x86_64/bits/atomic.h: Likewise.
43518 2012-03-02 David S. Miller <davem@davemloft.net>
43520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43524 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43525 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43526 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43527 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43529 2012-03-02 Roland McGrath <roland@hack.frob.com>
43532 * manual/examples/README: New file, says the example source files
43533 can be used under GPL>=2.
43534 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43535 line containing just "*/".
43536 * manual/examples/add.c: Add copyright header (GPL>=2).
43537 * manual/examples/argp-ex1.c: Likewise.
43538 * manual/examples/argp-ex2.c: Likewise.
43539 * manual/examples/argp-ex3.c: Likewise.
43540 * manual/examples/argp-ex4.c: Likewise.
43541 * manual/examples/atexit.c: Likewise.
43542 * manual/examples/db.c: Likewise.
43543 * manual/examples/dir.c: Likewise.
43544 * manual/examples/dir2.c: Likewise.
43545 * manual/examples/execinfo.c: Likewise.
43546 * manual/examples/filecli.c: Likewise.
43547 * manual/examples/filesrv.c: Likewise.
43548 * manual/examples/fmtmsgexpl.c: Likewise.
43549 * manual/examples/genpass.c: Likewise.
43550 * manual/examples/inetcli.c: Likewise.
43551 * manual/examples/inetsrv.c: Likewise.
43552 * manual/examples/isockad.c: Likewise.
43553 * manual/examples/longopt.c: Likewise.
43554 * manual/examples/memopen.c: Likewise.
43555 * manual/examples/memstrm.c: Likewise.
43556 * manual/examples/mkfsock.c: Likewise.
43557 * manual/examples/mkisock.c: Likewise.
43558 * manual/examples/mygetpass.c: Likewise.
43559 * manual/examples/pipe.c: Likewise.
43560 * manual/examples/popen.c: Likewise.
43561 * manual/examples/rprintf.c: Likewise.
43562 * manual/examples/search.c: Likewise.
43563 * manual/examples/select.c: Likewise.
43564 * manual/examples/setjmp.c: Likewise.
43565 * manual/examples/sigh1.c: Likewise.
43566 * manual/examples/sigusr.c: Likewise.
43567 * manual/examples/stpcpy.c: Likewise.
43568 * manual/examples/strdupa.c: Likewise.
43569 * manual/examples/strftim.c: Likewise.
43570 * manual/examples/strncat.c: Likewise.
43571 * manual/examples/subopt.c: Likewise.
43572 * manual/examples/swapcontext.c: Likewise.
43573 * manual/examples/termios.c: Likewise.
43574 * manual/examples/testopt.c: Likewise.
43575 * manual/examples/testpass.c: Likewise.
43576 * manual/examples/timeval_subtract.c: Likewise.
43579 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43581 * manual/timeval_subtract.c.texi: ... here, new file.
43583 2012-03-02 David S. Miller <davem@davemloft.net>
43585 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43587 2012-03-02 Joseph Myers <joseph@codesourcery.com>
43590 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43591 (__sin): Save and restore rounding mode and use round-to-nearest
43592 for all computations.
43593 (__cos): Save and restore rounding mode and use round-to-nearest
43594 for all computations.
43595 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43597 (tan): Save and restore rounding mode and use round-to-nearest for
43599 * math/libm-test.inc (cos_test_tonearest): New function.
43600 (cos_test_towardzero): Likewise.
43601 (cos_test_downward): Likewise.
43602 (cos_test_upward): Likewise.
43603 (sin_test_tonearest): Likewise.
43604 (sin_test_towardzero): Likewise.
43605 (sin_test_downward): Likewise.
43606 (sin_test_upward): Likewise.
43607 (tan_test_tonearest): Likewise.
43608 (tan_test_towardzero): Likewise.
43609 (tan_test_downward): Likewise.
43610 (tan_test_upward): Likewise.
43611 (main): Call the new functions.
43612 * sysdeps/i386/fpu/libm-test-ulps: Update.
43613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43616 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43617 small n, then large n, before computing and testing k+n.
43618 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43619 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43623 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43624 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43625 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43626 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43627 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43628 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43629 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43630 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43631 * math/libm-test.inc (scalbn_test): Add more tests.
43632 (scalbln_test): Likewise.
43634 * manual/filesys.texi (mode_t): Describe constraints on size and
43635 signedness, not exact equivalence to a particular type.
43637 (ino64_t): Likewise.
43639 (nlink_t): Likewise.
43640 (blkcnt_t): Likewise.
43641 (blkcnt64_t): Likewise.
43642 * manual/llio.texi (off_t): Likewise.
43645 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43646 (__ieee754_exp): Save and restore rounding mode and use
43647 round-to-nearest for all computations.
43648 * math/libm-test.inc (exp_test_tonearest): New function.
43649 (exp_test_towardzero): Likewise.
43650 (exp_test_downward): Likewise.
43651 (exp_test_upward): Likewise.
43652 (main): Call the new functions.
43653 * sysdeps/i386/fpu/libm-test-ulps: Update.
43654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43656 2012-03-01 Chris Demetriou <cgd@google.com>
43658 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43659 have predictable order.
43661 2012-03-01 David S. Miller <davem@davemloft.net>
43663 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43665 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43666 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43667 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43668 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43670 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43671 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43672 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43674 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43675 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43676 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43677 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43678 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43682 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43683 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43684 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43686 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43687 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43688 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43689 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43690 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43692 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43693 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43694 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43695 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43696 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43699 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43700 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43702 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43703 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43704 * sysdeps/sparc/elf/configure: Regenerated.
43706 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43708 * configure.in (AS, LD): Require binutils 2.20 or later.
43709 * configure: Regenerated.
43710 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43711 as required minimum version.
43712 * INSTALL: Regenerated.
43716 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43717 before squaring exponent.
43718 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43719 bottom long double and 27 bits of top long double before squaring
43721 * math/libm-test.inc (erfc_test): Add more tests.
43722 * sysdeps/i386/fpu/libm-test-ulps: Update.
43723 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43726 2012-03-01 Kai Tietz <ktietz@redhat.com>
43728 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43729 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43730 containing bit-fields.
43731 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43732 * soft-fp/single.h (_FP_UNION_S): Likewise.
43733 * soft-fp/double.h (_FP_UNION_D): Likewise.
43735 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43738 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43739 not include ../strcmp.S.
43740 [USE_AS_STRNCASECMP_L]: Likewise.
43741 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43742 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43743 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43744 (__strncasecmp_l_ia32): Define as alias to
43745 __strncasecmp_l_nonascii.
43748 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43749 * sysdeps/i386/fpu/libm-test-ulps: Update.
43750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43752 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43755 2012-02-29 Jeff Law <law@redhat.com>
43757 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43758 out of bounds read.
43760 2012-02-29 Marek Polacek <polacek@redhat.com>
43763 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43764 * elf/Makefile: Add rules to run tst-unused-dep.out.
43766 2012-02-28 David S. Miller <davem@davemloft.net>
43768 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43769 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43770 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43771 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43772 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43773 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43775 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43777 * math/libm-test.inc (llround_test): Move one test from
43778 lround_test. Use TEST_f_L in moved test.
43779 (lround_test): Move misplaced test to llround_test. Add testcase
43782 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43784 * sysdeps/x86_64/fpu/e_expf.S: New file.
43785 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43787 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43790 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43791 of remain_len that may cause incomplete multi-byte character and
43793 * posix/bug-regex33.c: New file.
43794 * posix/Makefile (tests): Add bug-regex33.
43796 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43798 * manual/macros.texi: New file.
43799 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43800 * manual/libc.texinfo: Include macros.texi.
43801 * manual/creatute.texi: Likewise.
43802 * manual/install.texi: Likewise.
43803 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43804 @glibcadj{} in references to the GNU C Library.
43805 * manual/charset.texi: Likewise.
43806 * manual/conf.texi: Likewise.
43807 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43808 when not using those macros.
43809 * manual/creature.texi: Likewise.
43810 * manual/crypt.texi: Likewise.
43811 * manual/errno.texi: Likewise.
43812 * manual/filesys.texi: Likewise.
43813 * manual/header.texi: Likewise.
43814 * manual/install.texi: Likewise.
43815 * manual/intro.texi: Likewise.
43816 * manual/io.texi: Likewise.
43817 * manual/job.texi: Likewise.
43818 * manual/lang.texi: Likewise.
43819 * manual/libc.texiinfo: Likewise.
43820 * manual/llio.texi: Likewise.
43821 * manual/locale.texi: Likewise.
43822 * manual/maint.texi: Likewise.
43823 * manual/math.texi: Likewise.
43824 * manual/memory.texi: Likewise.
43825 * manual/message.texi: Likewise.
43826 * manual/nss.texi: Likewise.
43827 * manual/pattern.texi: Likewise.
43828 * manual/process.texi: Likewise.
43829 * manual/resource.texi: Likewise.
43830 * manual/search.texi: Likewise.
43831 * manual/setjmp.texi: Likewise.
43832 * manual/signal.texi: Likewise.
43833 * manual/socket.texi: Likewise.
43834 * manual/startup.texi: Likewise.
43835 * manual/stdio.texi: Likewise.
43836 * manual/string.texi: Likewise.
43837 * manual/sysinfo.texi: Likewise.
43838 * manual/syslog.texi: Likewise.
43839 * manual/terminal.texi: Likewise.
43840 * manual/time.texi: Likewise.
43841 * manual/users.texi: Likewise.
43842 * INSTALL: Regenerated.
43843 * NOTES: Regenerated.
43844 * sysdeps/gnu/errlist.c: Regenerated.
43846 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43848 * include/dirent.h: Include <dirstream.h> before
43851 2012-02-28 David S. Miller <davem@davemloft.net>
43853 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43854 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43855 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43856 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43858 2012-02-27 David S. Miller <davem@davemloft.net>
43860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43862 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43863 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43866 frame pointer instead of stack pointer relative arg slot.
43867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43868 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43869 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43871 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43874 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43876 2012-02-27 David S. Miller <davem@davemloft.net>
43878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43882 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43883 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43884 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43885 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43887 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43889 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43890 later. Allow versions 5-9.
43891 * configure: Regenerated.
43892 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43893 required minimum version and 4.6 as recommended version. Do not
43894 mention bugs in GCC 2.7 and 2.8.
43895 * INSTALL: Regenerated.
43897 2012-02-27 David S. Miller <davem@davemloft.net>
43899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43903 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43904 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43905 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43906 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43908 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43909 manipulate bits before adding and subtracting TWO112[sx].
43910 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43912 2012-02-27 Roland McGrath <roland@hack.frob.com>
43915 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43916 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43917 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43918 being in POSIX, because they are in 1003.1-2008.
43920 * rt/tst-aio.c: Include <fcntl.h>.
43921 * rt/tst-aio7.c: Likewise.
43922 * rt/tst-aio64.c: Likewise.
43924 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43926 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43928 * manual/install.texi (--with-headers): Describe headers as
43929 interface headers, not private headers.
43930 (Specific advice for GNU/Linux systems): Describe use of headers
43931 from "make headers_install", not private headers from older
43933 * INSTALL: Regenerated.
43934 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43936 * sysdeps/unix/sysv/linux/configure: Regenerated.
43938 * manual/llio.texi (fclean): Remove documentation.
43940 * manual/Makefile (libc-texi-generated): New variable. Include
43942 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43943 $(libc-texi-generated), not duplicated list of files.
43944 (version.texi, stamp-version): New rules.
43945 (realclean): Remove $(libc-texi-generated), not individual files
43946 from that list. Do not remove dir-add.texinfo.
43947 * manual/libc.texinfo: Comment out uses of edition numbers and
43948 references to printed manual. Remove last-updated dates.
43949 (EDITION): Comment out.
43951 (VERSION, UPDATED): Remove.
43952 (version.texi): Include.
43954 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43956 * sysdeps/posix/spawni.c: Include <signal.h>.
43957 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43958 * sysdeps/pthread/aio_fsync.c: Likewise.
43960 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43962 * conform/Makefile (tests): Run only when not cross-compiling and
43963 when fast-check is not defined.
43965 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43966 * conform/data/limits.h-data: Fixes for POSIX2008.
43967 * conform/run-conformtest.sh: Run all tests.
43968 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43970 * include/bits/dlfcn.h: Likewise.
43971 * include/langinfo.h: Likewise.
43972 * include/monetary.h: Likewise.
43973 * include/sys/poll.h: Likewise.
43975 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43977 * posix/spawn.h: Define __need_sigset_t.
43978 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43979 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43980 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43981 to get sigevent_t only.
43982 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43983 only for __USE_GNU.
43984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43985 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43986 process_vm_writev only for __USE_GNU.
43987 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43989 * conform/Makefile: For now ignore errors from run-conformtest.
43990 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43991 POSIX to avoid namespace pollution. Don't prepend headers.
43992 * conform/data/aio.h-data: Fixes for POSIX testing.
43993 * conform/data/fcntl.h-data: Likewise.
43994 * conform/data/glob.h-data: Likewise.
43995 * conform/data/grp.h-data: Likewise.
43996 * conform/data/pthread.h-data: Likewise.
43997 * conform/data/pwd.h-data: Likewise.
43998 * conform/data/signal.h-data: Likewise.
43999 * conform/data/spawn.h-data: Likewise.
44000 * conform/data/stdio.h-data: Likewise.
44001 * conform/data/stdlib.h-data: Likewise.
44002 * conform/data/stropts.h-data: Likewise.
44003 * conform/data/sys/mman.h-data: Likewise.
44004 * conform/data/sys/stat.h-data: Likewise.
44005 * conform/data/sys/types.h-data: Likewise.
44006 * conform/data/sys/wait.h-data: Likewise.
44007 * conform/data/time.h-data: Likewise.
44008 * conform/data/unistd.h-data: Likewise.
44009 * conform/data/utime.h-data: Likewise.
44011 * io/sys/stat.h: fchmod was always in POSIX.
44012 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44013 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44014 * rt/aio.h: Define __need_timespec before including <time.h>.
44015 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44016 struct. Add forward declaration of pthread_attr_t and use it in
44018 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44019 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44020 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44021 always remove CLK_TCK definition.
44023 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44025 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44027 2012-02-25 Ulrich Drepper <drepper@gmail.com>
44029 * conform/run-conformtest.sh: New file.
44030 * conform/Makefile: Run run-conformtest for tests.
44031 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44034 * conform/data/uchar.h-data: New file.
44035 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44036 * conform/data/arpa/inet.h-data: Likewise.
44037 * conform/data/assert.h-data: Likewise.
44038 * conform/data/complex.h-data: Likewise.
44039 * conform/data/cpio.h-data: Likewise.
44040 * conform/data/ctype.h-data: Likewise.
44041 * conform/data/dirent.h-data: Likewise.
44042 * conform/data/dlfcn.h-data: Likewise.
44043 * conform/data/errno.h-data: Likewise.
44044 * conform/data/fcntl.h-data: Likewise.
44045 * conform/data/float.h-data: Likewise.
44046 * conform/data/fmtmsg.h-data: Likewise.
44047 * conform/data/fnmatch.h-data: Likewise.
44048 * conform/data/ftw.h-data: Likewise.
44049 * conform/data/glob.h-data: Likewise.
44050 * conform/data/grp.h-data: Likewise.
44051 * conform/data/iconv.h-data: Likewise.
44052 * conform/data/inttypes.h-data: Likewise.
44053 * conform/data/langinfo.h-data: Likewise.
44054 * conform/data/libgen.h-data: Likewise.
44055 * conform/data/limits.h-data: Likewise.
44056 * conform/data/locale.h-data: Likewise.
44057 * conform/data/math.h-data: Likewise.
44058 * conform/data/monetary.h-data: Likewise.
44059 * conform/data/mqueue.h-data: Likewise.
44060 * conform/data/ndbm.h-data: Likewise.
44061 * conform/data/net/if.h-data: Likewise.
44062 * conform/data/netdb.h-data: Likewise.
44063 * conform/data/netinet/in.h-data: Likewise.
44064 * conform/data/nl_types.h-data: Likewise.
44065 * conform/data/poll.h-data: Likewise.
44066 * conform/data/pthread.h-data: Likewise.
44067 * conform/data/pwd.h-data: Likewise.
44068 * conform/data/regex.h-data: Likewise.
44069 * conform/data/sched.h-data: Likewise.
44070 * conform/data/search.h-data: Likewise.
44071 * conform/data/semaphore.h-data: Likewise.
44072 * conform/data/setjmp.h-data: Likewise.
44073 * conform/data/signal.h-data: Likewise.
44074 * conform/data/spawn.h-data: Likewise.
44075 * conform/data/stdarg.h-data: Likewise.
44076 * conform/data/stdio.h-data: Likewise.
44077 * conform/data/stdlib.h-data: Likewise.
44078 * conform/data/string.h-data: Likewise.
44079 * conform/data/strings.h-data: Likewise.
44080 * conform/data/stropts.h-data: Likewise.
44081 * conform/data/sys/ipc.h-data: Likewise.
44082 * conform/data/sys/mman.h-data: Likewise.
44083 * conform/data/sys/msg.h-data: Likewise.
44084 * conform/data/sys/resource.h-data: Likewise.
44085 * conform/data/sys/select.h-data: Likewise.
44086 * conform/data/sys/sem.h-data: Likewise.
44087 * conform/data/sys/shm.h-data: Likewise.
44088 * conform/data/sys/socket.h-data: Likewise.
44089 * conform/data/sys/stat.h-data: Likewise.
44090 * conform/data/sys/statvfs.h-data: Likewise.
44091 * conform/data/sys/time.h-data: Likewise.
44092 * conform/data/sys/timeb.h-data: Likewise.
44093 * conform/data/sys/times.h-data: Likewise.
44094 * conform/data/sys/types.h-data: Likewise.
44095 * conform/data/sys/uio.h-data: Likewise.
44096 * conform/data/sys/un.h-data: Likewise.
44097 * conform/data/sys/utsname.h-data: Likewise.
44098 * conform/data/sys/wait.h-data: Likewise.
44099 * conform/data/syslog.h-data: Likewise.
44100 * conform/data/tar.h-data: Likewise.
44101 * conform/data/termios.h-data: Likewise.
44102 * conform/data/utime.h-data: Likewise.
44103 * conform/data/utmpx.h-data: Likewise.
44104 * conform/data/varargs.h-data: Likewise.
44105 * conform/data/wchar.h-data: Likewise.
44106 * conform/data/wctype.h-data: Likewise.
44107 * conform/data/wordexp.h-data: Likewise.
44109 * include/stropts.h: New file.
44110 * include/uchar.h: New file.
44111 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44112 * include/assert.h: Likewise.
44113 * include/ctype.h: Likewise.
44114 * include/dirent.h: Likewise.
44115 * include/dlfcn.h: Likewise.
44116 * include/fcntl.h: Likewise.
44117 * include/fnmatch.h: Likewise.
44118 * include/glob.h: Likewise.
44119 * include/grp.h: Likewise.
44120 * include/libio.h: Likewise.
44121 * include/locale.h: Likewise.
44122 * include/math.h: Likewise.
44123 * include/net/if.h: Likewise.
44124 * include/netdb.h: Likewise.
44125 * include/netinet/in.h: Likewise.
44126 * include/pthread.h: Likewise.
44127 * include/pwd.h: Likewise.
44128 * include/regex.h: Likewise.
44129 * include/sched.h: Likewise.
44130 * include/search.h: Likewise.
44131 * include/setjmp.h: Likewise.
44132 * include/signal.h: Likewise.
44133 * include/stdio.h: Likewise.
44134 * include/stdlib.h: Likewise.
44135 * include/string.h: Likewise.
44136 * include/sys/cdefs.h: Likewise.
44137 * include/sys/mman.h: Likewise.
44138 * include/sys/msg.h: Likewise.
44139 * include/sys/resource.h: Likewise.
44140 * include/sys/select.h: Likewise.
44141 * include/sys/socket.h: Likewise.
44142 * include/sys/stat.h: Likewise.
44143 * include/sys/statvfs.h: Likewise.
44144 * include/sys/time.h: Likewise.
44145 * include/sys/times.h: Likewise.
44146 * include/sys/uio.h: Likewise.
44147 * include/sys/utsname.h: Likewise.
44148 * include/sys/wait.h: Likewise.
44149 * include/termios.h: Likewise.
44150 * include/time.h: Likewise.
44151 * include/ulimit.h: Likewise.
44152 * include/unistd.h: Likewise.
44153 * include/utime.h: Likewise.
44154 * include/wchar.h: Likewise.
44155 * include/wctype.h: Likewise.
44156 * include/wordexp.h: Likewise.
44158 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44160 * time/time.h: TIME_UTC must be a macro.
44161 Make timespec_get available for ISO C11 only as well.
44163 2012-02-24 Ulrich Drepper <drepper@gmail.com>
44165 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44166 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44168 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44170 * configure.in: Use -o not -a in test for unsupported multi-arch.
44172 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44174 * manual/texinfo.tex: Update to version 2012-01-19.16.
44176 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44178 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44180 2012-02-24 Roland McGrath <roland@hack.frob.com>
44183 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44184 * manual/fdl-1.3.texi: New file.
44185 * manual/fdl-1.1.texi: File removed.
44188 * manual/libc.texinfo (FDL_VERSION): New @set.
44189 Use it for mention of FDL in cover text.
44190 (Documentation License): Use it in @include file name.
44192 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44193 Roland McGrath <roland@hack.frob.com>
44196 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44197 (not LONG_LONG_MAX and LONG_LONG_MIN.
44198 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44199 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44201 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44203 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44207 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44208 manipulate bits before adding and subtracting TWO23[sx].
44209 * math/libm-test.inc (nearbyint_test): Add more tests.
44211 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44214 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44215 bits before adding and subtracting TWO23[sx].
44216 * math/libm-test.inc (rint_test): Add more tests.
44217 (rint_test_tonearest): Likewise.
44218 (rint_test_towardzero): Likewise.
44219 (rint_test_downward): Likewise.
44220 (rint_test_upward: Likewise.
44222 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44225 * include/stdc-predef.h: New file. Extracted from features.h.
44226 * include/features.h: Include stdc-predef.h.
44227 * Makefile (headers): Add stdc-predef.h.
44228 * CONFORMANCE (Compiler limitations): Update.
44230 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44232 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44234 2012-02-21 David S. Miller <davem@davemloft.net>
44236 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44237 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44239 2012-02-20 David S. Miller <davem@davemloft.net>
44241 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44242 using a normal save/restore sequence, rather than allocating a
44243 dummy stack frame just to store a frame pointer and restore.
44244 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44246 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44248 * manual/install.texi: Fix stray word in line-wrapped comment.
44250 2012-02-20 David S. Miller <davem@davemloft.net>
44252 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44253 both binutils and gcc support GOTDATA.
44255 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44256 "rd %pc" in the PIC register setup sequences.
44258 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44259 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44260 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44261 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44262 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44264 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44267 (SYSCALL_ERROR_HANDLER): Likewise.
44268 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44269 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44271 (SYSCALL_ERROR_HANDLER): Likewise.
44273 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44274 (HAVE_GCC_GOTDATA): New.
44275 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44276 relocation support in both binutils and gcc.
44277 * sysdeps/sparc/elf/configure: Regenerate.
44279 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44280 * sysdeps/sparc/sparc32/elf/configure: Delete.
44281 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44282 * sysdeps/sparc/sparc64/elf/configure: Delete.
44283 * sysdeps/sparc/elf/configure.in: New file.
44284 * sysdeps/sparc/elf/configure: Generate.
44286 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44287 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44288 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44289 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44290 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44292 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44294 * manual/install.texi: Do not mention specific glibc version
44296 * manual/libc.texinfo (VERSION, UPDATED): Update.
44297 (@copying): Use @copyright{} and range of years.
44299 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44302 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44303 [crti.S not in sysdirs] (generated): Do not append.
44304 [crti.S not in sysdirs] (omit-deps): Likewise.
44305 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44306 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44307 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44308 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44309 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44311 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44312 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44313 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44314 * csu/defs.awk: Remove file.
44315 * sysdeps/generic/initfini.c: Likewise.
44316 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44318 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44321 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44323 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44324 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44325 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44326 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44327 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44328 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44330 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44331 (__EPOLL_PACKED): Define to empty if not defined by
44333 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44337 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44339 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44340 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44341 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44342 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44344 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44348 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44350 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44352 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44353 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44357 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44360 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44362 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44364 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44365 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44367 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44369 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44372 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44374 * math/w_acos.c: Use non-signaling floating-point comparisons.
44375 * math/w_acosf.c: Likewise.
44376 * math/w_acosh.c: Likewise.
44377 * math/w_acoshf.c: Likewise.
44378 * math/w_acoshl.c: Likewise.
44379 * math/w_acosl.c: Likewise.
44380 * math/w_asin.c: Likewise.
44381 * math/w_asinf.c: Likewise.
44382 * math/w_asinl.c: Likewise.
44383 * math/w_atanh.c: Likewise.
44384 * math/w_atanhf.c: Likewise.
44385 * math/w_atanhl.c: Likewise.
44386 * math/w_exp2.c: Likewise.
44387 * math/w_exp2f.c: Likewise.
44388 * math/w_exp2l.c: Likewise.
44389 * math/w_j0.c: Likewise.
44390 * math/w_j0f.c: Likewise.
44391 * math/w_j0l.c: Likewise.
44392 * math/w_j1.c: Likewise.
44393 * math/w_j1f.c: Likewise.
44394 * math/w_j1l.c: Likewise.
44395 * math/w_jn.c: Likewise.
44396 * math/w_jnf.c: Likewise.
44397 * math/w_log.c: Likewise.
44398 * math/w_log10.c: Likewise.
44399 * math/w_log10f.c: Likewise.
44400 * math/w_log10l.c: Likewise.
44401 * math/w_log2.c: Likewise.
44402 * math/w_log2f.c: Likewise.
44403 * math/w_log2l.c: Likewise.
44404 * math/w_logf.c: Likewise.
44405 * math/w_logl.c: Likewise.
44406 * math/w_sqrt.c: Likewise.
44407 * math/w_sqrtf.c: Likewise.
44408 * math/w_sqrtl.c: Likewise.
44409 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44410 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44411 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44412 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44413 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44415 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44418 * manual/string.texi (strnlen): Use correct parameter name in
44419 equivalent expression.
44421 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44424 * manual/users.texi (seteuid): Consistently use neweuid for
44427 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44430 * manual/nss.texi (Services in the NSS configuration): Correct
44431 list of services in example configuration file.
44433 2012-02-19 Nick Bowler <nbowler@draconx.ca>
44436 * manual/arith.texi: Remove statements about negative zero
44437 behaving identically to zero.
44439 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44442 * manual/install.texi: Do not document upgrading from libc5.
44444 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44447 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44449 2012-02-18 David S. Miller <davem@davemloft.net>
44451 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44452 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44453 %o7 across the call.
44454 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44457 SETUP_PIC_REG_LEAF.
44458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44459 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44460 * sysdeps/sparc/crtn.S: Likewise.
44462 2012-02-17 Ulrich Drepper <drepper@gmail.com>
44464 * aout/Makefile: Remove.
44466 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44469 * manual/examples/argp-ex1.c (main): Format definition in GNU
44471 * manual/examples/argp-ex2.c (main): Likewise.
44472 * manual/examples/argp-ex3.c (main): Likewise.
44473 * manual/examples/argp-ex4.c (main): Likewise.
44474 * manual/examples/longopt.c (main): Use new-style prototype
44476 * manual/examples/strncat.c (main): Specify return type and use
44477 (void) for arguments.
44478 * manual/examples/subopt.c (main): Use char **argv argument.
44480 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44483 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44486 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44489 * manual/string.texi (strchr): Change when strchrnul is
44492 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44495 * manual/locale.texi (setlocale): Document LOCPATH.
44497 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44500 * manual/process.texi (execle): Move @dots{} before last argument.
44502 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
44505 * manual/charset.texi (Generic Charset Conversion): Fix typo
44506 (LC_TYPE -> LC_CTYPE).
44508 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44511 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44512 (scalbnf): Likewise.
44513 (scalbnl): Likewise.
44514 (scalbln): Likewise.
44515 (scalblnf): Likewise.
44516 (scalblnl): Likewise.
44517 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44518 (vwarnx): Likewise.
44521 * manual/filesys.texi (telldir): Use braces around return type.
44522 * manual/llio.texi (mmap): Add space after comma.
44523 (mmap64): Likewise.
44524 * manual/math.texi (jn): Use @var{} on parameter names.
44530 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44532 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44534 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44535 (sched_get_priority_max): Likewise.
44536 * manual/signal.texi (sigvec): Add space after comma.
44537 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44539 (if_indextoname): Likewise.
44540 (if_freenameindex): Likewise.
44541 (sendto): Use ',' instead of '.' in prototype.
44542 * manual/startup.texi (syscall): Use @dots{} instead of literal
44544 * manual/stdio.texi (__fpending): Separate initial words of
44545 paragraph from @deftypefun line.
44546 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44548 (vsyslog): Use @var{} on parameter names.
44549 * manual/terminal.texi (stty): Use @var{} on parameter names.
44550 * manual/users.texi (getutmp): Use @var{} on parameter names.
44551 (getutmpx): Likewise.
44553 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44556 * manual/stdio.texi (fopen): Fix typos in description of
44559 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44562 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44563 get clock_id definition.
44565 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
44568 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44569 (madvise): Cast every argument to void on its own.
44571 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44574 * manual/startup.texi (Exit Status): Fix typo.
44576 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44579 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44580 * manual/examples/argp-ex2.c: Likewise.
44581 * manual/examples/argp-ex3.c: Likewise.
44583 2012-02-16 Richard Henderson <rth@redhat.com>
44585 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44586 * sysdeps/s390/s390-32/initfini.c: Remove.
44587 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44588 * sysdeps/s390/s390-64/initfini.c: Remove.
44590 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44592 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44593 compiler output for sysdeps/generic/initfini.c.
44594 * sysdeps/sh/elf/initfini.c: Remove file.
44596 2012-02-16 David S. Miller <davem@davemloft.net>
44599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44601 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44602 * sysdeps/sparc/crti.S: New file.
44603 * sysdeps/sparc/crtn.S: New file.
44604 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44605 * sysdeps/sparc/sparc64/Makefile: Likewise.
44607 2012-02-15 Mike Frysinger <vapier@gentoo.org>
44610 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44612 2012-02-15 Roland McGrath <roland@hack.frob.com>
44615 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44617 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44618 (write, read, close): Likewise.
44619 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44621 2012-02-15 Joseph Myers <joseph@codesourcery.com>
44623 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44624 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44625 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44626 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44628 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44632 2012-02-14 Marek Polacek <polacek@redhat.com>
44634 * sysdeps/x86_64/crti.S: New file.
44635 * sysdeps/x86_64/crtn.S: New file.
44636 * sysdeps/x86_64/elf/initfini.c: Remove file.
44638 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44640 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44641 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44642 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44643 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44645 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44649 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44651 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44652 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44653 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44654 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44656 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44660 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44662 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44663 __feraiseexcept instead of feraiseexcept.
44665 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44666 nanosleep invocations.
44667 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44668 strings, and add error checking for a nanosleep invocations.
44670 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44672 Replace FSF snail mail address with URLs, as per GNU coding standards.
44673 Most of the snail mail addresses were wrong anyway, and omitting
44674 them makes the source code easier to maintain. Almost all of the
44675 changes are to license notices and to locale LC_IDENTIFICATION
44676 addresses, except for this one:
44677 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44678 not its snail mail address.
44680 2012-02-09 Richard Henderson <rth@twiddle.net>
44682 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44683 of kernel-features.h.
44685 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44687 2012-02-08 Marek Polacek <polacek@redhat.com>
44689 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44690 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44691 * sysdeps/gnu/_G_config.h: Likewise.
44692 * sysdeps/generic/_G_config.h: Likewise.
44694 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44696 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44700 * sysdeps/powerpc/powerpc32/crti.S: New file.
44701 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44702 * sysdeps/powerpc/powerpc64/crti.S: New file.
44703 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44705 * Makeconfig (have-initfini): Don't set.
44706 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44707 * configure.in (nopic_initfini): Don't substitute.
44708 * config.h.in (HAVE_INITFINI): Don't #undef.
44709 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44710 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44712 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44714 Support crti.S and crtn.S provided directly by architectures.
44715 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44716 [crti.S in sysdirs] (omit-deps): Likewise.
44717 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44718 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44719 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44720 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44721 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44722 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44723 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44724 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44725 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44726 compiler output for sysdeps/generic/initfini.c.
44727 * sysdeps/i386/elf/Makefile: Remove file.
44728 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44730 2012-02-07 Marek Polacek <polacek@redhat.com>
44732 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44733 * sysdeps/gnu/_G_config.h: Likewise.
44734 * sysdeps/mach/hurd/_G_config.h: Likewise.
44736 2012-02-07 Marek Polacek <polacek@redhat.com>
44738 * math/Makefile (tests): Add tst-CMPLX2.
44739 * math/tst-CMPLX2.c: New file.
44741 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44743 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44745 * math/libm-test.inc (jn_test): Add missing L suffix.
44747 2012-02-06 Marek Polacek <polacek@redhat.com>
44749 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44750 * sysdeps/i386/fpu/e_powf.S: Likewise.
44751 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44752 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44753 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44754 * sysdeps/i386/fpu/e_pow.S: Likewise.
44755 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44756 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44757 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44758 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44759 * sysdeps/i386/fpu/e_log2.S: Likewise.
44760 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44761 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44762 * sysdeps/i386/fpu/e_powl.S: Likewise.
44763 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44764 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44765 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44766 * sysdeps/i386/fpu/e_logl.S: Likewise.
44767 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44768 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44769 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44770 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44771 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44772 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44773 * sysdeps/i386/fpu/e_log.S: Likewise.
44774 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44775 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44776 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44777 * sysdeps/i386/fpu/e_logf.S: Likewise.
44778 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44779 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44780 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44781 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44782 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44783 * sysdeps/i386/fpu/e_log10.S: Likewise.
44784 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44785 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44786 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44787 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44788 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44789 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44790 * sysdeps/i386/asm-syntax.h: Likewise.
44791 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44792 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44793 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44794 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44795 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44796 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44797 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44798 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44799 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44800 * sysdeps/powerpc/sysdep.h: Likewise.
44801 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44802 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44804 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44807 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44809 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44811 * sysdeps/i386/sysdep.h: Include <features.h>.
44812 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44815 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44817 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44819 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44822 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44824 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44825 (SETUP_PIC_REG): Use GET_PC_THUNK.
44826 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44829 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44831 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44832 for non-PIC compilation.
44833 (SETUP_PIC_REG): Add .p2align directive.
44834 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44835 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44836 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44837 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44838 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44839 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44840 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44841 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44842 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44843 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44844 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44845 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44846 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44847 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44848 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44849 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44850 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44851 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44852 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44853 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44854 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44856 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44857 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44858 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44860 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44861 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44862 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44863 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44864 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44865 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44866 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44867 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44868 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44869 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44870 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44871 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44872 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44873 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44874 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44876 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44878 * math/tst-CMPLX.c: Include <stdio.h>.
44880 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44882 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44884 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44885 * sysdeps/sparc/bits/mathdef.h: Likewise.
44887 2012-01-31 Marek Polacek <polacek@redhat.com>
44889 * libio/libio.h: Don't define _PARAMS.
44890 * locale/programs/config.h: Don't define PARAMS.
44891 * stdlib/strtol_l.c: Likewise.
44892 (__strtol_l): Remove PARAMS from the prototype.
44894 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44896 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44897 names. Just use the correct names. Remove unnecessary wrapper
44899 * malloc/arena.c: Likewise.
44900 * malloc/hooks.c: Likewise.
44902 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44903 ARENA_TEST says not to. Simplify test for creation of a new arena.
44904 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44906 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44908 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44910 (update_get_addr): New function.
44911 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44912 GET_ADDR_MODULE parameter.
44914 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44916 * crypt/cert.c: Remove __STDC__ conditionals.
44917 * crypt/crypt-entry.c: Likewise.
44918 * crypt/crypt_util.c: Likewise.
44919 * libio/filedoalloc.c: Likewise.
44920 * libio/fileops.c: Likewise.
44921 * libio/genops.c: Likewise.
44922 * libio/iofclose.c: Likewise.
44923 * libio/iofdopen.c: Likewise.
44924 * libio/iofopen.c: Likewise.
44925 * libio/iofopen64.c: Likewise.
44926 * libio/iogetdelim.c: Likewise.
44927 * libio/iopopen.c: Likewise.
44928 * libio/obprintf.c: Likewise.
44929 * libio/oldfileops.c: Likewise.
44930 * libio/oldiofclose.c: Likewise.
44931 * libio/oldiofdopen.c: Likewise.
44932 * libio/oldiofopen.c: Likewise.
44933 * libio/oldiopopen.c: Likewise.
44934 * libio/wfiledoalloc.c: Likewise.
44935 * libio/wgenops.c: Likewise.
44936 * locale/programs/xmalloc.c: Likewise.
44937 * misc/syslog.c: Likewise.
44938 * stdio-common/xbug.c: Likewise.
44939 * string/memchr.c: Likewise.
44940 * string/memcmp.c: Likewise.
44941 * string/memrchr.c: Likewise.
44942 * string/rawmemchr.c: Likewise.
44943 * sysdeps/posix/getcwd.c: Likewise.
44944 * time/strftime_l.c: Likewise.
44946 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44948 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44949 * config.make.in (config-cflags-sse2avx): Define.
44950 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44953 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44955 * scripts/config.guess: Update from upstream config git repository.
44956 * scripts/config.sub: Likewise.
44958 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44960 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44962 (R_TILEPRO_*, R_TILEGX_*): New macros.
44964 * scripts/firstversions.awk: Fix bug in version range handling.
44966 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44968 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44970 * include/sys/epoll.h: New file.
44971 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44974 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44976 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44977 Avoid unnecessary __WORDSIZE == 64 test.
44978 (fmaxf): Use VEX format if possible.
44983 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44984 * math/math_private.h: Remove libc_fegetround* and
44986 * sysdeps/i386/configure.in: Check for -msse2avx.
44987 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44988 also if SSE2AVX is defined.
44989 Remove libc_fegetround* and libc_fesetround*.
44990 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44991 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44994 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44995 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44996 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44997 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44998 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45000 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45002 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45004 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45006 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45008 2012-01-27 Ulrich Drepper <drepper@gmail.com>
45011 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45013 * Makeconfig (libm): Define.
45014 * elf/Makefile: Add rules to build and run tst-relsort1.
45015 * elf/tst-relsort1.c: New file.
45016 * elf/tst-relsort1mod1.c: New file.
45017 * elf/tst-relsort1mod2.c: New file.
45019 2012-01-27 Joseph Myers <joseph@codesourcery.com>
45021 * math/s_ldexp.c: Remove __STDC__ conditionals.
45022 * math/s_ldexpf.c: Likewise.
45023 * math/s_ldexpl.c: Likewise.
45024 * math/s_nextafter.c: Likewise.
45025 * math/s_nexttowardf.c: Likewise.
45026 * math/s_significand.c: Likewise.
45027 * math/s_significandf.c: Likewise.
45028 * math/s_significandl.c: Likewise.
45029 * math/w_jnl.c: Likewise.
45030 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45031 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45032 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45033 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45034 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45036 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45037 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45038 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45039 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45040 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45041 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45042 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45043 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45044 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45045 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45046 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45047 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45049 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45050 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45056 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45057 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45058 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45059 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45061 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45062 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45063 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45064 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45065 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45066 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45067 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45068 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45069 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45070 * sysdeps/ieee754/k_standard.c: Likewise.
45071 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45072 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45073 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45074 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45075 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45076 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45077 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45078 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45079 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45080 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45081 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45082 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45083 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45084 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45085 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45086 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45088 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45089 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45090 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45091 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45092 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45093 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45094 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45095 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45096 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45097 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45098 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45100 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45101 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45102 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45103 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45104 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45105 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45106 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45107 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45108 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45109 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45110 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45111 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45113 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45114 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45115 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45116 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45117 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45118 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45119 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45120 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45121 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45122 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45123 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45124 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45125 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45126 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45127 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45128 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45129 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45130 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45131 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45132 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45133 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45134 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45135 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45136 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45137 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45138 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45139 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45140 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45141 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45142 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45143 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45144 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45145 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45146 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45147 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45148 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45149 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45150 * sysdeps/ieee754/s_matherr.c: Likewise.
45151 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45152 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45153 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45154 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45156 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45158 * crypt/md5.h: Remove __STDC__ conditionals.
45159 * libio/libioP.h: Likewise.
45160 * locale/programs/config.h: Likewise.
45161 * sysdeps/generic/sysdep.h: Likewise.
45162 * sysdeps/i386/asm-syntax.h: Likewise.
45163 * sysdeps/s390/asm-syntax.h: Likewise.
45164 * sysdeps/unix/sysdep.h: Likewise.
45165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45168 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45170 * libio/libio.h: Remove __STDC__ conditionals.
45171 * malloc/obstack.h: Likewise.
45172 * math/complex.h: Likewise.
45173 * math/math.h: Likewise.
45174 * sysdeps/generic/_G_config.h: Likewise.
45175 * sysdeps/gnu/_G_config.h: Likewise.
45176 * sysdeps/mach/hurd/_G_config.h: Likewise.
45177 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45178 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45179 * sysdeps/sparc/bits/mathdef.h: Likewise.
45181 2012-01-26 Ulrich Drepper <drepper@gmail.com>
45184 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45185 Clean up HAS_* macros.
45186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45187 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45189 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45191 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45192 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45193 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45194 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45195 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45197 2012-01-25 Joseph Myers <joseph@codesourcery.com>
45199 * elf/tst-unique3.cc (gets): Remove declaration.
45200 * elf/tst-unique3lib.cc (gets): Likewise.
45201 * elf/tst-unique3lib2.cc (gets): Likewise.
45202 * elf/tst-unique4.cc (gets): Likewise.
45204 2012-01-24 Ulrich Drepper <drepper@gmail.com>
45206 * include/stdio.h: Add C++ protection. Add gets declarations and
45208 * debug/tst-chk1.c: Don't declare gets here.
45209 * stdio-common/tst-gets.c: Likewise.
45211 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45213 * posix/glob: Remove directory.
45215 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45217 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45219 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45221 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45222 of the non-standard EPFNOSUPPORT.
45224 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45226 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45227 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45228 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45230 2012-01-21 Ulrich Drepper <drepper@gmail.com>
45232 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45234 2012-01-20 Ulrich Drepper <drepper@gmail.com>
45236 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45238 * nscd/grpcache.c (cache_addgr): Likewise.
45239 * nscd/hstcache.c (cache_addhst): Likewise.
45240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45241 * nscd/pwdcache.c (cache_addpw): Likewise.
45242 * nscd/servicescache.c (cache_addserv): Likewise.
45244 2012-01-16 Ulrich Drepper <drepper@gmail.com>
45246 * malloc/malloc.c: Various cleanups.
45247 * malloc/hooks.c: Likewise.
45249 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45250 * stdlib/bug-fmtmsg1.c: New file.
45252 * stdlib/fmtmsg.c (init): Add missing unlock.
45253 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45255 2012-01-12 Marek Polacek <polacek@redhat.com>
45257 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45260 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45262 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45263 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45264 macro to ensure uniqueness of label name.
45265 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45266 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45268 2012-01-11 Ulrich Drepper <drepper@gmail.com>
45270 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45272 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45273 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45274 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45275 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45277 2012-01-10 Ulrich Drepper <drepper@gmail.com>
45279 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45281 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45282 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45283 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45285 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45287 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45288 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45289 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45292 * math/bits/math-finite.h: Add ldexp support.
45294 2012-01-10 Marek Polacek <polacek@redhat.com>
45296 * locale/programs/localedef.h (show_archive_content): Add noreturn
45299 2012-01-09 Ulrich Drepper <drepper@gmail.com>
45301 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45303 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45305 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45307 * io/Makefile (headers): Add bits/poll2.h.
45309 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45312 typo #include statement.
45314 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45316 * include/sys/cdefs.h: Define __attribute_alloc_size.
45317 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45318 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45319 * elf/pldd.c: Likewise.
45320 * iconv/iconv_charmap.c: Likewise.
45321 * iconv/iconvconfig.c: Likewise.
45322 * iconv/strtab.c: Likewise.
45323 * locale/programs/locale.c: Likewise.
45324 * locale/programs/localedef.h: Likewise.
45325 * locale/programs/simple-hash.c: Likewise.
45326 * nscd/nscd.h: Likewise.
45327 * nss/makedb.c: Likewise.
45328 * sysdeps/generic/ldconfig.h: Likewise.
45329 * locale/programs/localedef.c: Remove xmalloc prototype.
45330 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45332 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45337 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45339 * math/Makefile (tests): Add tst-CMPLX.
45340 * math/tst-CMPLX.c: New file.
45342 * math/complex.h (CMPLXL): Fix typo.
45344 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45345 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45347 * debug/tst-chk1.c: Add poll and ppoll tests.
45348 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45349 * include/sys/poll.h: Add hidden proto for ppoll.
45350 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45351 * sysdeps/mach/hurd/ppoll.c: Likewise.
45352 * io/ppoll.c: Likewise.
45353 * debug/poll_chk.c: New file.
45354 * debug/ppoll_chk.c: New file.
45355 * include/bits/poll2.h: New file.
45356 * io/bits/poll2.h: New file.
45359 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45361 * configure.in: static is always set to yes. Remove.
45362 * config.make.in: Don't set build-static.
45363 * Makeconfig: Remove use of build-static.
45364 * dlfcn/Makefile: Likewise.
45365 * elf/Makefile: Likewise.
45366 * math/Makefile: Likewise.
45367 * misc/Makefile: Likewise.
45368 * nptl/Makefile: Likewise.
45369 * sysdeps/mach/hurd/Makefile: Likewise.
45371 * configure.in: PWD_P is not used anymore.
45372 * config.make.in: Remove PWD_P entry.
45374 * configure.in: Remove last remnants of RANLIB.
45375 No need to check for signed size_t anymore.
45376 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45378 Remove __builtin_expect test because we require at least gcc 3.4.
45379 * aclocal.m4: Likewise.
45381 * wcsmbs/mbrtoc16.c: Implement using towc function.
45382 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45383 * wcsmbs/wcsmbsload.c: Likewise.
45384 * iconv/gconv_simple.c: Likewise.
45385 * iconv/gconv_int.h: Likewise.
45386 * iconv/gconv_builtin.h: Likewise.
45387 * iconv/iconv_prog.c: Remove CHAR16 handling.
45389 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45391 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45393 * configure.in: Remove --with-elf and --enable-bounded options.
45394 Dont set base_machine for ia64. More non-ELF conditions removed.
45395 Remove testing and setting of leading underscore information.
45396 * config.make.in (build-bounded): Set to no.
45397 * config.h.in: Remove NO_UNDERSCORES entry.
45398 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45400 * csu/start.c: Remove !NO_UNDERSCORE code.
45401 * locale/localeinfo.h: Likewise.
45402 * sysdeps/generic/machine-gmon.h: Likewise.
45403 * sysdeps/generic/sysdep.h: Likewise.
45404 * sysdeps/i386/sysdep.h: Likewise.
45405 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45406 * sysdeps/mach/sysdep.h: Likewise.
45407 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45408 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45409 * sysdeps/sh/sysdep.h: Likewise.
45410 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45411 * sysdeps/unix/i386/sysdep.S: Likewise.
45412 * sysdeps/unix/sparc/start.c: Likewise.
45413 * sysdeps/unix/sparc/sysdep.S: Likewise.
45414 * sysdeps/unix/sparc/sysdep.h: Likewise.
45415 * sysdeps/unix/start.c: Likewise.
45416 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45417 * sysdeps/x86_64/sysdep.h: Likewise.
45419 2012-01-07 Ulrich Drepper <drepper@gmail.com>
45422 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45424 * argp/argp-fmtstream.h: Use const instead __const.
45425 * argp/argp.h: Likewise.
45426 * assert/assert.h: Likewise.
45427 * bits/fenv.h: Likewise.
45428 * bits/sched.h: Likewise.
45429 * bits/sigset.h: Likewise.
45430 * bits/sigthread.h: Likewise.
45431 * catgets/nl_types.h: Likewise.
45432 * conform/data/pthread.h-data: Likewise.
45433 * crypt/crypt-private.h: Likewise.
45434 * crypt/crypt.h: Likewise.
45435 * crypt/crypt_util.c: Likewise.
45436 * ctype/ctype.h: Likewise.
45437 * debug/execinfo.h: Likewise.
45438 * debug/mbsnrtowcs_chk.c: Likewise.
45439 * debug/mbsrtowcs_chk.c: Likewise.
45440 * debug/wcsnrtombs_chk.c: Likewise.
45441 * debug/wcsrtombs_chk.c: Likewise.
45442 * debug/wcstombs_chk.c: Likewise.
45443 * dirent/dirent.h: Likewise.
45444 * dlfcn/dlfcn.h: Likewise.
45445 * elf/neededtest4.c: Likewise.
45446 * grp/grp.h: Likewise.
45447 * gshadow/gshadow.h: Likewise.
45448 * iconv/gconv.h: Likewise.
45449 * iconv/gconv_int.h: Likewise.
45450 * iconv/gconv_simple.c: Likewise.
45451 * iconv/iconv.h: Likewise.
45452 * iconv/loop.c: Likewise.
45453 * iconv/skeleton.c: Likewise.
45454 * include/aio.h: Likewise.
45455 * include/aliases.h: Likewise.
45456 * include/argz.h: Likewise.
45457 * include/arpa/inet.h: Likewise.
45458 * include/assert.h: Likewise.
45459 * include/dirent.h: Likewise.
45460 * include/dlfcn.h: Likewise.
45461 * include/execinfo.h: Likewise.
45462 * include/fcntl.h: Likewise.
45463 * include/fenv.h: Likewise.
45464 * include/glob.h: Likewise.
45465 * include/grp.h: Likewise.
45466 * include/libintl.h: Likewise.
45467 * include/mntent.h: Likewise.
45468 * include/netdb.h: Likewise.
45469 * include/pwd.h: Likewise.
45470 * include/rpc/netdb.h: Likewise.
45471 * include/sched.h: Likewise.
45472 * include/search.h: Likewise.
45473 * include/shadow.h: Likewise.
45474 * include/signal.h: Likewise.
45475 * include/stdio.h: Likewise.
45476 * include/stdlib.h: Likewise.
45477 * include/string.h: Likewise.
45478 * include/sys/socket.h: Likewise.
45479 * include/sys/stat.h: Likewise.
45480 * include/sys/statfs.h: Likewise.
45481 * include/sys/statvfs.h: Likewise.
45482 * include/sys/syslog.h: Likewise.
45483 * include/sys/time.h: Likewise.
45484 * include/sys/uio.h: Likewise.
45485 * include/time.h: Likewise.
45486 * include/unistd.h: Likewise.
45487 * include/utmp.h: Likewise.
45488 * include/wchar.h: Likewise.
45489 * include/wctype.h: Likewise.
45490 * inet/aliases.h: Likewise.
45491 * inet/arpa/inet.h: Likewise.
45492 * inet/netinet/ether.h: Likewise.
45493 * inet/netinet/in.h: Likewise.
45494 * intl/libintl.h: Likewise.
45495 * io/bits/fcntl2.h: Likewise.
45496 * io/fcntl.h: Likewise.
45497 * io/ftw.h: Likewise.
45498 * io/sys/poll.h: Likewise.
45499 * io/sys/stat.h: Likewise.
45500 * io/sys/statfs.h: Likewise.
45501 * io/sys/statvfs.h: Likewise.
45502 * io/utime.h: Likewise.
45503 * libio/bits/stdio.h: Likewise.
45504 * libio/bits/stdio2.h: Likewise.
45505 * libio/libio.h: Likewise.
45506 * libio/libioP.h: Likewise.
45507 * libio/stdio.h: Likewise.
45508 * locale/lc-ctype.c: Likewise.
45509 * locale/locale.h: Likewise.
45510 * login/utmp.h: Likewise.
45511 * malloc/arena.c: Likewise.
45512 * malloc/malloc.c: Likewise.
45513 * malloc/malloc.h: Likewise.
45514 * malloc/mcheck.c: Likewise.
45515 * malloc/mtrace.c: Likewise.
45516 * math/bits/mathcalls.h: Likewise.
45517 * math/fenv.h: Likewise.
45518 * math/math_private.h: Likewise.
45519 * misc/bits/error.h: Likewise.
45520 * misc/bits/syslog.h: Likewise.
45521 * misc/err.h: Likewise.
45522 * misc/error.h: Likewise.
45523 * misc/fstab.h: Likewise.
45524 * misc/mntent.h: Likewise.
45525 * misc/regexp.h: Likewise.
45526 * misc/search.h: Likewise.
45527 * misc/sgtty.h: Likewise.
45528 * misc/sys/mman.h: Likewise.
45529 * misc/sys/syslog.h: Likewise.
45530 * misc/sys/uio.h: Likewise.
45531 * misc/sys/xattr.h: Likewise.
45532 * misc/ttyent.h: Likewise.
45533 * nis/rpcsvc/ypclnt.h: Likewise.
45534 * nss/nss.h: Likewise.
45535 * posix/bits/unistd.h: Likewise.
45536 * posix/fnmatch.h: Likewise.
45537 * posix/glob.h: Likewise.
45538 * posix/sched.h: Likewise.
45539 * posix/spawn.h: Likewise.
45540 * posix/sys/wait.h: Likewise.
45541 * posix/unistd.h: Likewise.
45542 * posix/wordexp.h: Likewise.
45543 * pwd/pwd.h: Likewise.
45544 * resolv/netdb.h: Likewise.
45545 * resource/sys/resource.h: Likewise.
45546 * rt/aio.h: Likewise.
45547 * rt/bits/mqueue2.h: Likewise.
45548 * rt/mqueue.h: Likewise.
45549 * shadow/shadow.h: Likewise.
45550 * signal/signal.h: Likewise.
45551 * socket/send.c: Likewise.
45552 * socket/sendto.c: Likewise.
45553 * socket/sys/socket.h: Likewise.
45554 * stdio-common/printf.h: Likewise.
45555 * stdlib/bits/stdlib.h: Likewise.
45556 * stdlib/fmtmsg.h: Likewise.
45557 * stdlib/monetary.h: Likewise.
45558 * stdlib/stdlib.h: Likewise.
45559 * stdlib/ucontext.h: Likewise.
45560 * streams/stropts.h: Likewise.
45561 * string/argz.h: Likewise.
45562 * string/bits/string2.h: Likewise.
45563 * string/string.h: Likewise.
45564 * string/strings.h: Likewise.
45565 * sunrpc/rpc/auth.h: Likewise.
45566 * sunrpc/rpc/auth_des.h: Likewise.
45567 * sunrpc/rpc/clnt.h: Likewise.
45568 * sunrpc/rpc/netdb.h: Likewise.
45569 * sunrpc/rpc/pmap_clnt.h: Likewise.
45570 * sunrpc/rpc/xdr.h: Likewise.
45571 * sysdeps/generic/inttypes.h: Likewise.
45572 * sysdeps/generic/net/if.h: Likewise.
45573 * sysdeps/generic/sys/swap.h: Likewise.
45574 * sysdeps/gnu/net/if.h: Likewise.
45575 * sysdeps/gnu/utmpx.h: Likewise.
45576 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45577 * sysdeps/i386/i486/bits/string.h: Likewise.
45578 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45579 * sysdeps/s390/bits/string.h: Likewise.
45580 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45581 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45582 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45583 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45584 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45585 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45586 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45587 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45588 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45589 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45590 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45591 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45592 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45593 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45594 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45595 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45596 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45598 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45600 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45601 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45602 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45603 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45604 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45605 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45606 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45607 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45608 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45609 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45610 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45611 * sysvipc/sys/ipc.h: Likewise.
45612 * sysvipc/sys/msg.h: Likewise.
45613 * sysvipc/sys/sem.h: Likewise.
45614 * sysvipc/sys/shm.h: Likewise.
45615 * termios/termios.h: Likewise.
45616 * time/sys/time.h: Likewise.
45617 * time/time.h: Likewise.
45618 * wcsmbs/bits/wchar2.h: Likewise.
45619 * wcsmbs/uchar.h: Likewise.
45620 * wcsmbs/wchar.h: Likewise.
45621 * wctype/wctype.h: Likewise.
45624 * Makeconfig: Remove all but ELF support including AIX support.
45625 * Makerules: Likewise.
45626 * config.h.in: Likewise.
45627 * config.make.in: Likewise.
45628 * configure: Likewise.
45629 * configure.in: Likewise.
45630 * csu/Makefile: Likewise.
45631 * csu/version.c: Likewise.
45632 * debug/Makefile: Likewise.
45633 * dlfcn/Makefile: Likewise.
45634 * elf/Makefile: Likewise.
45635 * extra-lib.mk: Likewise.
45636 * iconv/Makefile: Likewise.
45637 * include/libc-symbols.h: Likewise.
45638 * include/shlib-compat.h: Likewise.
45639 * resolv/Makefile: Likewise.
45640 * resolv/res_libc.c: Likewise.
45641 * rt/Makefile: Likewise.
45642 * sysdeps/i386/asm-syntax.h: Likewise.
45643 * sysdeps/i386/sysdep.h: Likewise.
45644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45645 * sysdeps/mach/sysdep.h: Likewise.
45646 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45647 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45648 * sysdeps/s390/asm-syntax.h: Likewise.
45649 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45650 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45651 * sysdeps/sh/sysdep.h: Likewise.
45652 * sysdeps/unix/sparc/sysdep.h: Likewise.
45653 * sysdeps/wordsize-32/divdi3.c: Likewise.
45654 * sysdeps/x86_64/sysdep.h: Likewise.
45656 * argp/Versions: Remove _argp_unlock_xxx.
45659 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45660 * abilist/libBrokenLocale.abilist: Likewise.
45661 * abilist/libanl.abilist: Likewise.
45662 * abilist/libc.abilist: Likewise.
45663 * abilist/libcrypt.abilist: Likewise.
45664 * abilist/libdl.abilist: Likewise.
45665 * abilist/libm.abilist: Likewise.
45666 * abilist/libnsl.abilist: Likewise.
45667 * abilist/libpthread.abilist: Likewise.
45668 * abilist/libresolv.abilist: Likewise.
45669 * abilist/librt.abilist: Likewise.
45670 * abilist/libthread_db.abilist: Likewise.
45671 * abilist/libutil.abilist: Likewise.
45672 * abilist/libnss_db.abilist: New file.
45674 * scripts/abilist.awk: Add support for indirect functions.
45676 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45678 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45680 * shlib-versions: Remove entries for ports architectures.
45682 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45684 * elf/stackguard-macros.h: Remove support for IA-64.
45685 * elf/tst-auditmod1.c: Likewise.
45686 * sysdeps/generic/ldsodefs.h: Likewise.
45688 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45689 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45693 * configure.in: Remove --enable-omitfp support.
45695 * config.make.in: Likewise.
45696 * Makeconfig: Likewise.
45697 * manual/install.texi: Likewise.
45699 In case anyone cares, the IA-64 architecture could move to ports.
45700 * sysdeps/ia64/*: Removed.
45701 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45702 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45705 * configure.in: Remove entries for unsupported architectures.
45708 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45709 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45711 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45712 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45713 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45714 fall back to using wcrtomb.
45715 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45716 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45718 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45719 * wcsmbs/tst-c16c32-1.c: New file.
45721 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45724 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45726 * elf/tst-unique3.cc: Add explicit declaration of gets.
45727 * elf/tst-unique3lib.cc: Likewise.
45728 * elf/tst-unique3lib2.cc: Likewise.
45729 * elf/tst-unique4.cc: Likewise.
45731 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45733 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45736 * assert/assert.h (static_assert): Don't define for C++.
45737 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45738 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45740 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45742 * iconv/loop.c (single loop): Fix assertion in storing of
45745 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45747 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45749 * posix/getconf.c: Update copyright year.
45750 * nss/getent.c: Likewise.
45751 * nss/makedb.c: Likewise.
45752 * iconv/iconvconfig.c: Likewise.
45753 * iconv/iconv_prog.c: Likewise.
45754 * elf/ldconfig.c: Likewise.
45755 * elf/pldd.c: Likewise.
45756 * elf/sotruss.ksh: Likewise.
45757 * catgets/gencat.c: Likewise.
45758 * csu/version.c: Likewise.
45759 * elf/ldd.bash.in: Likewise.
45760 * elf/sprof.c (print_version): Likewise.
45761 * locale/programs/locale.c: Likewise.
45762 * locale/programs/localedef.c: Likewise.
45763 * login/programs/pt_chown.c: Likewise.
45764 * nscd/nscd.c (print_version): Likewise.
45765 * debug/xtrace.sh: Likewise.
45766 * malloc/memusage.sh: Likewise.
45767 * malloc/mtrace.pl: Likewise.
45768 * debug/catchsegv.sh: Likewise.
45770 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45772 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45775 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45778 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45779 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45781 * iconv/gconv_int.h: Likewise.
45782 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45783 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45784 from libc for GLIBC_2.16.
45785 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45786 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45787 * wcsmbs/uchar.h: Really define mbstate_t.
45788 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45789 * wcsmbs/c16rtomb.c: New file.
45790 * wcsmbs/mbrtoc16.c: New file.
45791 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45792 for C/POSIX locale.
45793 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45794 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45796 * wcsmbs/wchar.h: Add missing __restrict.
45798 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45801 * time/Makefile (routines): Add timespec_get.
45802 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45803 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45804 timespec for ISO C11.
45805 * time/timespec_get.c: New file.
45806 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45807 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45810 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45811 * stdlib/stdlib.h: Declare aligned_alloc.
45812 * Versions.def: Add GLIBC_2.16 for libc.
45813 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45816 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45819 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45823 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45826 * assert/assert.h (static_assert): Define.
45828 * version.h: Update for 2.16 development version.
45831 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45834 * version.h (RELEASE): Bump for 2.15 release.
45835 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45837 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45838 Patch by Marek Polacek <mpolacek@redhat.com>.
45840 * bits/byteswap.h: Protect long long constants with __extension__.
45841 * sysdeps/i386/bits/byteswap.h: Likewise.
45842 * sysdeps/ia64/bits/byteswap.h: Likewise.
45843 * sysdeps/s390/bits/byteswap.h: Likewise.
45844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45846 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45849 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45850 destination buffer.
45851 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45853 2011-12-23 Marek Polacek <polacek@redhat.com>
45855 * elf/dl-addr.c (determine_info): Add inline keyword.
45856 * elf/tst-auditmod4b.c (check_avx): Likewise.
45857 * elf/tst-auditmod6b.c (check_avx): Likewise.
45858 * elf/tst-auditmod6c.c (check_avx): Likewise.
45859 * elf/tst-auditmod7b.c (check_avx): Likewise.
45861 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45863 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45866 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45869 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45870 processing for last bytes.
45872 2011-08-06 Bruno Haible <bruno@clisp.org>
45875 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45876 U+0385, not to U+1FEE.
45879 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45880 entry for U+00A5 U+0301.
45882 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45885 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45886 buffer for the output is too small.
45888 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45892 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45893 SSE flags if possible.
45895 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45899 processing for last bytes.
45901 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45903 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45904 (syscall-list-default-options, syscall-list-default-condition)
45905 (syscall-list-includes): Define.
45906 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45907 list of ABIs and options and #if conditions for each ABI. Do not
45908 handle common syscalls between ABIs specially.
45909 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45911 (syscall-list-variants, syscall-list-32bit-options)
45912 (syscall-list-32bit-condition, syscall-list-64bit-options)
45913 (syscall-list-64bit-condition): Define.
45914 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45915 (syscall-list-variants, syscall-list-32bit-options)
45916 (syscall-list-32bit-condition, syscall-list-64bit-options)
45917 (syscall-list-64bit-condition): Define.
45918 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45920 (syscall-list-variants, syscall-list-32bit-options)
45921 (syscall-list-32bit-condition, syscall-list-64bit-options)
45922 (syscall-list-64bit-condition): Define.
45923 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45925 (syscall-list-variants, syscall-list-32bit-options)
45926 (syscall-list-32bit-condition, syscall-list-64bit-options)
45927 (syscall-list-64bit-condition): Define.
45929 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45931 * locale/iso-639.def: Add brx entry.
45934 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45935 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45937 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45938 __feraiseexcept_renamed.
45940 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45943 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45944 EPOLLET with unsigned values.
45945 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45946 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45948 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45949 to large cancellation.
45950 * math/s_cacoshf.c: Likewise.
45951 * math/s_cacoshl.c: Likewise.
45953 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45957 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45958 * math/s_cacoshf.c: Likewise.
45959 * math/s_cacoshl.c: Likewise.
45961 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45964 * iconv/gconv.h: Define __GCONV_SWAP.
45965 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45966 * iconvdata/utf-16.c: Likewise.
45967 * iconvdata/utf-32.c: Likewise.
45969 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45972 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45973 numerator after shifting it by one limb.
45975 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45977 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45978 under [__USE_EXTERN_INLINES].
45980 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45983 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45985 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45987 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45988 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45990 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45991 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45992 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45993 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45994 for strncasecmp/strncasecmp_l compilation.
45995 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45996 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45998 2011-12-08 Marek Polacek <mpolacek@redhat.com>
46001 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46004 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46007 * time/tzfile.c (__tzfile_read): Check values from file header.
46009 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46011 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46012 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46013 * powerpc/powerpc32/dl-start.S: Likewise.
46014 * powerpc/powerpc32/elf/start.S: Likewise.
46015 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46016 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46017 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46018 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46019 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46020 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46021 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46022 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46023 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46024 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46025 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46026 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46027 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46028 * powerpc/powerpc32/memset.S: Likewise.
46029 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46030 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46031 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46032 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46033 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46034 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46035 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46036 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46037 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46038 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46039 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46040 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46041 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46043 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46045 * math/libm-test.inc: Added more nearbyint tests.
46046 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46047 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46049 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46051 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46053 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46056 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46058 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46059 Add wcscpy-ssse3 wcscpy-c.
46060 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46061 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46062 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46063 * sysdeps/x86_64/wcschr.S: New file.
46064 * sysdeps/x86_64/wcsrchr.S: New file.
46065 * string/test-strcmp.c: Remove checking of wcscmp function for
46067 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46068 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46069 wcsrchr-sse2 wcsrchr-c.
46070 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46071 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46072 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46073 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46074 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46075 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46076 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46077 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46078 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46079 * wcsmbc/wcschr.c (WCSCHR): New macro.
46081 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46083 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46084 * wcsmbs/test-wcsrchr.c: New file.
46085 * string/test-strrchr.c: Add wcsrchr support.
46087 * wcsmbs/test-wcscpy.c: New file.
46088 * string/test-strcpy.c: Add wcscpy support.
46091 2011-12-10 Ulrich Drepper <drepper@gmail.com>
46093 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46096 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46099 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46101 2011-12-04 Ulrich Drepper <drepper@gmail.com>
46103 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46104 Minor optimizations.
46106 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46107 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46108 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46110 2011-12-03 Ulrich Drepper <drepper@gmail.com>
46112 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46113 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46114 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46115 for gcc to avoid warnings.
46116 * inet/Makefile (tests): Add tst-checks.
46117 * inet/tst-checks.c: New file.
46119 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46122 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46125 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46126 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46128 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46130 2011-12-02 Ulrich Drepper <drepper@gmail.com>
46132 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46135 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46137 2011-11-29 Joseph Myers <joseph@codesourcery.com>
46139 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46140 conditional on GCC version.
46141 (__arch_compare_and_exchange_val_8_acq)
46142 (__arch_compare_and_exchange_val_16_acq)
46143 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46144 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46145 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46147 2011-12-02 Joseph Myers <joseph@codesourcery.com>
46149 * sysdeps/sh/backtrace.c: New file.
46151 2011-12-02 Andreas Schwab <schwab@redhat.com>
46153 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46156 2011-12-01 Andreas Schwab <schwab@redhat.com>
46158 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46159 falling back to utime.
46161 2011-11-30 Andreas Schwab <schwab@redhat.com>
46163 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46164 expectations for float.
46166 2011-11-29 Andreas Schwab <schwab@redhat.com>
46168 * locale/weight.h (findidx): Add parameter len.
46169 * locale/weightwc.h (findidx): Likewise.
46170 * posix/fnmatch_loop.c (FCT): Adjust caller.
46171 * posix/regcomp.c (build_equiv_class): Likewise.
46172 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46173 * posix/regexec.c (check_node_accept_bytes): Likewise.
46174 * string/strcoll_l.c (STRCOLL): Likewise.
46175 * string/strxfrm_l.c (STRXFRM): Likewise.
46177 2011-11-17 Ulrich Drepper <drepper@gmail.com>
46179 * Makefile.in: Remove CVSOPT handling.
46180 * configure.in: Remove use of AC_REVISION.
46181 * iconvdata/Makefile (distribute): No need to filter out CVS.
46182 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46185 2011-11-16 Andreas Schwab <schwab@redhat.com>
46187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46188 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46189 [USE_AS_STRNCASECMP_L]: Likewise.
46190 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46191 NO_TLS_DIRECT_SEG_REFS.
46192 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46193 Fix argument offsets for non-PIC.
46194 [USE_AS_STRNCASECMP_L]: Likewise.
46195 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46196 NO_TLS_DIRECT_SEG_REFS.
46198 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46200 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46202 * locale/loadlocale.c (_nl_load_locale): Likewise.
46204 2011-11-15 Andreas Schwab <schwab@redhat.com>
46206 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46207 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46208 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46209 (SYSCALL_GETTIME): Set errno on error.
46211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46212 count references to noai6ai_cached.
46214 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46216 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46218 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46219 FD_CLOEXEC for /proc/self/maps.
46221 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46222 FD_CLOEXEC for /proc/meminfo.
46224 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46227 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46228 FD_CLOEXEC for given file.
46230 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46232 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46233 FD_CLOEXEC for /etc/hosts.
46234 (_gethtent): Likewise.
46236 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46238 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46239 cancellation and set FD_CLOEXEC for /etc/netgroup.
46241 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46242 reading /etc/publickey.
46244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46245 allow cancellation when reading /etc/group.
46247 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46249 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46251 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46252 when using data file.
46254 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46256 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46257 (write_nis_obj): Use "c" and "e" in fopen.
46259 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46261 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46263 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46265 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46267 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46270 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46272 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46274 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46276 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46277 file parsing and set FD_CLOEXEC.
46279 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46281 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46283 2011-11-14 Andreas Schwab <schwab@redhat.com>
46285 * malloc/arena.c (arena_get2): Don't call reused_arena when
46286 _int_new_arena failed.
46288 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46290 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46291 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46292 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46293 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46294 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46295 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46296 to compile strcasecmp and strncasecmp.
46297 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46298 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46302 2011-11-13 Ulrich Drepper <drepper@gmail.com>
46304 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46305 locale-defines.sym to gen-as-const-headers.
46306 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46307 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46309 to compile strcasecmp and strncasecmp.
46310 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46311 strcasecmp_l and strncasecmp_l.
46312 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46313 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46314 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46315 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46316 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46317 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46318 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46319 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46320 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46321 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46322 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46324 2011-11-12 Ulrich Drepper <drepper@gmail.com>
46326 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46327 result of SYSDEP_GETTIME_CPU to retval.
46328 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46329 parameter list to macro. Remove trailing semicolon. Adjust users.
46331 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46334 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46336 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46338 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46339 from unused variable.
46341 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46343 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46346 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46349 * sunrpc/rpc_prot.c (rejected): Fix case value.
46351 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46352 unsigned long long int to avoid warnings in shift.
46354 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46356 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46359 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46360 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46361 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46363 * nis/nis_table.c (nis_list): Use variable of correct type for
46364 result of __follow_path call.
46366 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46368 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46369 of math functions ceil, trunc, floor, round, and sqrt, when
46370 avaliable on the platform.
46371 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46373 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46374 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46375 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46377 2011-10-30 Marek Polacek <mpolacek@redhat.com>
46379 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46382 2011-11-11 Roland McGrath <roland@hack.frob.com>
46384 * include/unistd.h: Fix __readlink return type.
46385 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46387 2011-11-11 Ulrich Drepper <drepper@gmail.com>
46389 * stdlib/ucontext.h: Undo last change for makecontext.
46391 2011-11-11 Andreas Schwab <schwab@redhat.com>
46393 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46395 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46396 * setjmp/setjmp.h: Mark functions as non-leaf.
46397 * setjmp/bits/setjmp2.h: Likewise.
46398 * stdlib/ucontext.h: Likewise.
46400 2011-11-10 Andreas Schwab <schwab@redhat.com>
46402 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46403 (reused_arena): Don't check arena limit.
46404 (arena_get2): Atomically check arena limit.
46406 2011-11-08 Ulrich Drepper <drepper@gmail.com>
46408 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46409 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46414 2011-11-07 Andreas Schwab <schwab@redhat.com>
46416 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46417 handler when locking.
46419 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46420 Fix size of allocated buffer.
46422 2011-11-04 Andreas Schwab <schwab@redhat.com>
46425 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46426 declarations for long double functions.
46427 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46429 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46431 2011-11-03 Andreas Schwab <schwab@redhat.com>
46433 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46436 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46439 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46441 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46443 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46445 * include/alloca.h (stackinfo_alloca_round): Define.
46446 (extend_alloca): Use it.
46447 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46448 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46451 * scripts/check-local-headers.sh: Ignore libaudit.h.
46453 * nscd/Makefile (extra-objs): Make recursively expanded.
46455 2011-11-01 Ulrich Drepper <drepper@gmail.com>
46457 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46460 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46461 * posix/tst-rfc3484-2.c: Likewise.
46462 * posix/tst-rfc3484-3.c: Likewise.
46464 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46466 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46468 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46469 process_vm_writev from libc using GLIBC_2.15 version.
46471 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46473 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46475 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46478 2011-10-31 Ulrich Drepper <drepper@gmail.com>
46481 * nss/getent.c (initgroups_keys): Show error message in case no group
46484 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46485 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46486 __bump_nl_timestamp.
46487 * nscd/connections (nscd_init): When host database is served open
46488 netlink socket and request notification about configuration changes.
46489 (main_loop_poll): Track netlink file descriptor and bump timestamp
46490 in case data becomes available.
46491 (main_loop_epoll): Likewise.
46492 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46493 (database_pers_head): Add extra_data fileds.
46494 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46495 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46496 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46498 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46499 in6ai data, call __free_in6ai.
46500 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46501 Add -DHAVE_NETLINK.
46502 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46503 interface information. Reuse previous data if netlink timestamp
46505 (__bump_nl_timestamp): New function.
46506 (__free_in6ai): New function.
46508 2011-10-30 Ulrich Drepper <drepper@gmail.com>
46510 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46511 close_not_cancel_no_status here.
46512 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46514 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46517 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46520 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46521 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46522 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46524 2011-07-03 Andreas Jaeger <aj@suse.de>
46527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46528 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46529 * math/libm-test.inc (sin_test): Add test case.
46531 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46534 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46535 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46537 * elf/chroot_canon.c (chroot_canon): Cleanups.
46539 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46542 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46543 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46545 * string/test-strchr.c: Make usable for strchrnul testing.
46546 * string/test-strchrnul.c: New file.
46547 * string/Makefile (strop-tests): Add strchrnul.
46549 * po/it.po: Update from translation team.
46550 * po/es.po: Likewise.
46552 2011-10-28 Ulrich Drepper <drepper@gmail.com>
46554 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46555 the three constants needed as parameters. Drop the others.
46556 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46557 __m128i_strloadu_tolower.
46558 Create and initialize variable zero and use it in all the places
46559 where _mm_setzero_si128 was used.
46561 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46562 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46563 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46564 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46566 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46567 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46568 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46569 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46570 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46571 __mpranred, __mptan.
46572 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46573 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46574 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46575 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46576 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46577 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46578 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46579 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46580 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46582 2011-10-28 Andreas Schwab <schwab@redhat.com>
46584 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46585 redefine if SHARED.
46586 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46589 wide char related routines to wcsmbs subdir.
46591 2011-10-27 Andreas Schwab <schwab@redhat.com>
46594 * misc/sys/cdefs.h (__THROWNL): Define.
46595 * posix/unistd.h: Use __THREADNL instead of __THREAD
46596 for memory synchronization functions.
46598 2011-10-26 Roland McGrath <roland@hack.frob.com>
46601 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46603 * manual/stdio.texi (Obstack Streams): Node removed.
46605 2011-10-26 Andreas Schwab <schwab@redhat.com>
46607 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46608 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46609 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46611 * math/math_private.h (math_force_eval): Allow non-addressable
46613 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46615 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46617 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46618 file is not needed.
46620 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46622 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46623 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46624 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46625 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46626 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46627 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46629 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46630 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46631 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46632 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46633 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46634 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46635 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46636 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46637 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46638 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46639 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46640 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46641 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46642 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46643 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46644 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46645 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46646 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46647 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46649 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46650 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46652 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46653 place. Use VEX encoding when compiling for AVX.
46655 2011-10-25 Andreas Schwab <schwab@redhat.com>
46657 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46658 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46660 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46662 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46664 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46665 useless if() expression.
46666 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46667 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46668 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46669 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46670 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46671 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46673 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46674 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46675 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46677 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46678 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46679 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46680 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46682 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46683 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46684 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46686 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46688 2011-10-25 Andreas Schwab <schwab@redhat.com>
46690 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46694 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46696 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46697 .text section. Avoid duplicate constants.
46698 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46699 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46700 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46702 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46706 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46707 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46708 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46709 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46710 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46711 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46712 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46713 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46714 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46715 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46716 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46717 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46718 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46719 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46720 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46721 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46722 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46723 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46724 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46725 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46726 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46727 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46728 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46729 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46730 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46731 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46732 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46733 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46734 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46736 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46737 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46738 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46739 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46740 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46741 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46742 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46744 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46746 * sysdeps/x86_64/dla.h: Move to ...
46747 * sysdeps/x86_64/fpu/dla.h: ...here.
46748 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46749 situations. Use __builtin_fma only for gcc 4.6 and up.
46751 * config.make.in: Add have-mfma4 entry.
46752 * configure.in: Substitute libc_cv_cc_fma4.
46753 * math/Makefile (dbl-only-routines): Add sincostab.
46754 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46755 Use __sincostab not sincos.
46756 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46758 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46760 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46763 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46764 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46765 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46766 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46768 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46769 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46771 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46772 define aliases when function name is a macro.
46773 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46774 sysdeps/ieee754/dbl-64/sincos.tbl.
46775 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46776 fma4-enabled routines.
46777 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46778 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46779 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46780 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46781 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46782 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46783 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46786 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46787 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46788 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46789 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46790 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46791 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46792 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46793 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46794 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46795 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46797 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46798 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46800 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46801 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46802 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46804 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46805 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46806 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46808 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46819 2011-10-24 Andreas Schwab <schwab@redhat.com>
46821 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46823 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46825 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46827 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46829 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46831 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46832 Remove unused variable magic_bits.
46833 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46835 * string/strnlen.c: Define and use STRNLEN macro.
46836 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46837 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46838 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46839 * wcsmbs/wcslen.c: Define and use WCSLEN.
46840 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46841 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46842 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46843 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46844 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46845 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46846 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46848 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46851 strnlen-sse2-no-bsf.
46852 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46853 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46854 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46855 Add strnlen support.
46856 (USE_AS_STRNLEN): New macro.
46857 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46858 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46859 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46860 * sysdeps/x86_64/wcslen.S: New file.
46862 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46864 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46865 XMM-moves are used for copying on small sizes.
46867 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46869 * wcsmbs/Makefile (strop-tests): Add wcschr.
46870 * wcsmbs/test-wcschr.c: New file.
46871 * string/test-strchr.c: Update.
46872 Add wcschr support.
46875 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46877 * wcsmbs/Makefile (strop-tests): Add wcslen.
46878 * wcsmbs/test-wcslen.c: New file.
46879 * string/test-strlen.c: Update.
46880 Add wcslen support.
46883 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46885 * po/it.po: Update from translation team.
46887 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46889 * sysdeps/x86_64/wcscmp.S: Update.
46890 Fix wrong comparison semantics.
46891 wcscmp shall use signed comparison not unsigned.
46892 Don't use substraction to avoid overflow bug.
46893 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46894 * wcsmbc/wcscmp.c: Likewise.
46895 * string/test-strcmp.c: Likewise.
46896 Add new tests to check cases with negative values.
46898 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46900 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46901 * sysdeps/x86_64/dla.h: ...here. New file.
46902 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46912 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46915 __ynl_finite aliases.
46917 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46921 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46923 [DLA_FMA] (EMULV): Use DLA_FMA.
46924 [DLA_FMA] (MUL12): Use EMULV.
46925 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46926 that are not needed.
46927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46931 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46932 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46935 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46937 * math/s_nan.c: Undef __nan.
46938 * math/s_nanf.c: Undef __nanf.
46939 * math/s_nanl.c: Undef __nanl.
46940 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46943 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46945 * math/s_catan.c: Add branch predictions.
46946 * math/s_catanf.c: Likewise.
46947 * math/s_catanh.c: Likewise.
46948 * math/s_catanhf.c: Likewise.
46949 * math/s_catanhl.c: Likewise.
46950 * math/s_catanl.c: Likewise.
46951 * math/s_cexp.c: Likewise.
46952 * math/s_cexpf.c: Likewise.
46953 * math/s_cexpl.c: Likewise.
46954 * math/s_clog.c: Likewise.
46955 * math/s_clog10.c: Likewise.
46956 * math/s_clog10f.c: Likewise.
46957 * math/s_clog10l.c: Likewise.
46958 * math/s_clogf.c: Likewise.
46959 * math/s_clogl.c: Likewise.
46960 * math/s_csqrt.c: Likewise.
46961 * math/s_csqrtf.c: Likewise.
46962 * math/s_csqrtl.c: Likewise.
46963 * math/s_ctanf.c: Likewise.
46964 * math/s_ctanh.c: Likewise.
46965 * math/s_ctanhf.c: Likewise.
46966 * math/s_ctanhl.c: Likewise.
46967 * math/s_ctanl.c: Likewise.
46969 * math/math_private.h: Define __nan, __nanf, __nanl.
46970 * math/s_cacosh.c: Include <math_private.h>.
46971 * math/s_cacoshl.c: Likewise.
46972 * math/s_casinh.c: Likewise.
46973 * math/s_casinhf.c: Likewise.
46974 * math/s_casinhl.c: Likewise.
46975 * math/s_ccos.c: Rely entire on ccosh.
46976 * math/s_ccosf.c: Rely entire on ccoshf.
46977 * math/s_ccosl.c: Rely entirely on ccoshl.
46978 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46979 Remove tests for FE_INVALID.
46980 * math/s_ccoshf.c: Likewise.
46981 * math/s_ccoshl.c: Likewise.
46982 * math/s_csin.c: Likewise.
46983 * math/s_csinf.c: Likewise.
46984 * math/s_csinh.c Likewise.
46985 * math/s_csinhf.c: Likewise.
46986 * math/s_csinhl.c: Likewise.
46987 * math/s_csinl.c: Likewise.
46988 * math/s_ctan.c: Likewise.
46989 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46990 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46991 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46993 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46996 compilation problems.
46998 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47001 2011-10-20 Ulrich Drepper <drepper@gmail.com>
47003 * sysdeps/i386/configure.in: Test for -mfma4 option.
47004 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47005 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47006 COMMON_CPUID_INDEX_80000001.
47007 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47008 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47009 use it if FMA3 is not supported.
47010 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47012 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47013 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47015 2011-10-20 Andreas Schwab <schwab@redhat.com>
47018 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47019 it would create a cycle with a link time dependency.
47021 2011-10-19 Ulrich Drepper <drepper@gmail.com>
47023 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47025 * string/Makefile (strop-tests): Add rawmemchr.
47026 * string/test-rawmemchr.c: New file.
47028 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47029 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47030 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47031 when compiling str{,n}casecmp and when AVX is available. Hook up
47032 new optimized code in initializers.
47034 2011-10-19 Andreas Schwab <schwab@redhat.com>
47036 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47037 __feraiseexcept instead of feraiseexcept.
47039 2011-10-18 Ulrich Drepper <drepper@gmail.com>
47041 * math/math_private.h: Define defaults for libc_fetestexcept and
47043 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47044 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47045 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47046 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47047 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47048 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47049 libc_fetestexcept and libc_feupdateenv.
47051 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47052 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47053 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47054 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47055 libc_feholdexcept_setround.
47057 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47058 Add s_nearbyint-c and s_nearbyintf-c.
47059 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47060 nearbyintf inlines.
47061 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47062 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47063 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47064 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47066 * math/math_private.h: Define defaults for libc_fegetround,
47067 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47068 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47069 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47070 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47071 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47072 standard functions.
47073 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47074 Remove comments and hacks for old compiler versions.
47075 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47076 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47077 libc_feholdexceptl.
47079 2011-10-18 Andreas Schwab <schwab@redhat.com>
47081 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47082 (__feraiseexcept_renamed): Add __NTH.
47083 (feraiseexcept): Add __NTH. Rename local variables to fix
47084 namespace violations.
47086 2011-10-17 Ulrich Drepper <drepper@gmail.com>
47088 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47090 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47092 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47093 recently added interfaces.
47094 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47096 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47097 about macro parameter expansion.
47099 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47100 __NO_MATH_INLINES is defined. Cleanups.
47102 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47103 and __floorf is target has SSE4.1.
47104 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47106 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47107 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47109 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47111 (floorf): Likewise.
47113 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47115 2011-10-17 Andreas Schwab <schwab@redhat.com>
47117 * misc/sys/cdefs.h: Fix last change.
47119 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47122 2011-10-16 Ulrich Drepper <drepper@gmail.com>
47124 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47126 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47127 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47128 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47129 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47131 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47132 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47133 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47134 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47135 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47136 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47137 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47138 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47139 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47140 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47141 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47142 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47143 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47144 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47145 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47146 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47147 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47149 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47150 ceil, ceilf, floor, floorf.
47152 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47153 Perform IRELATIVE relocations last.
47155 * elf/do-rel.h: Add another parameter nrelative, replacing the
47156 local variable with the same name. Change name of the function
47157 to end in Rel or Rela (uppercase).
47158 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47159 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47160 elf_dynamic_do_##reloc function.
47162 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47164 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47165 is sufficient, at least on modern CPUs.
47167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47169 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47170 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47172 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47174 * math/bits/math-finite.h: Add entries for exp.
47175 * math/e_expl.c: Add __*_finite alias.
47176 * sysdeps/i386/fpu/e_exp.S: Likewise.
47177 * sysdeps/i386/fpu/e_expf.S: Likewise.
47178 * sysdeps/i386/fpu/e_expl.c: Likewise.
47179 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47180 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47183 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47184 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47185 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47187 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47188 is sufficient, at least on modern CPUs.
47190 * ctype/ctype-info.c (__ctype_init): Define.
47191 * include/ctype.h (__ctype_init): Declare.
47192 (__ctype_b_loc): The variable is always initialized.
47193 (__ctype_toupper_loc): Likewise.
47194 (__ctype_tolower_loc): Likewise.
47195 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47196 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47198 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47200 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47202 * configure.in: Also look in $cxxmachine/include for C++ system
47205 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47207 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47208 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47209 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47210 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47211 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47212 (USE_AS_WMEMCMP): New macro.
47214 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47215 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47216 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47217 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47219 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47220 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47221 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47222 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47223 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47224 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47225 (USE_AS_WMEMCMP): New macro.
47226 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47227 * sysdeps/string/test-memcmp.c: Update.
47228 Fix simple_wmemcmp.
47230 * wcsmbs/wmemcmp.c: Update.
47231 (WMEMCMP): New macro.
47234 2011-10-12 Andreas Jaeger <aj@suse.de>
47237 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47239 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47241 * libio/iofwide.c (do_length): Avoid warning.
47243 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47245 2011-10-14 Ulrich Drepper <drepper@gmail.com>
47247 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47249 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47250 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47251 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47252 * sysdeps/i386/i686/fpu/e_log.S: New file.
47253 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47254 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47256 * ctype/ctype.h: Add support for inlined isXXX functions when
47257 compiling C++ code.
47259 2011-10-14 Andreas Schwab <schwab@redhat.com>
47261 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47263 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47265 2011-10-13 Roland McGrath <roland@hack.frob.com>
47268 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47270 2011-10-13 Andreas Schwab <schwab@redhat.com>
47272 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47273 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47276 * sysdeps/x86_64/memrchr.S: Check for zero size.
47278 * string/stratcliff.c: Add memrchr tests.
47280 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47283 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47284 rawmemchr-sse2 rawmemchr-sse2-bsf.
47285 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47286 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47287 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47288 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47289 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47290 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47291 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47292 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47293 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47294 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47295 * string/memrchr.c (MEMRCHR): New macro.
47297 2011-10-12 Ulrich Drepper <drepper@gmail.com>
47299 Add integration with gcc's -ffinite-math-only and optimize wrapper
47301 * Versions.def: Define GLIBC_2.15 version for libm.
47302 * math/Makefile (headers): Add bits/math-finite.h.
47303 * math/bits/math-finite.h: New file.
47304 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47305 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47306 * math/e_acoshl.c: Add __*_finite alias.
47307 * math/e_acosl.c: Likewise.
47308 * math/e_asinl.c: Likewise.
47309 * math/e_atan2l.c: Likewise.
47310 * math/e_atanhl.c: Likewise.
47311 * math/e_coshl.c: Likewise.
47312 * math/e_exp10.c: Likewise.
47313 * math/e_exp10f.c: Likewise.
47314 * math/e_exp10l.c: Likewise.
47315 * math/e_exp2l.c: Likewise.
47316 * math/e_fmodl.c: Likewise.
47317 * math/e_gammal_r.c: Likewise.
47318 * math/e_hypotl.c: Likewise.
47319 * math/e_j0l.c: Likewise.
47320 * math/e_j1l.c: Likewise.
47321 * math/e_jnl.c: Likewise.
47322 * math/e_lgammal_r.c: Likewise.
47323 * math/e_log10l.c: Likewise.
47324 * math/e_log2l.c: Likewise.
47325 * math/e_logl.c: Likewise.
47326 * math/e_powl.c: Likewise.
47327 * math/e_sinhl.c: Likewise.
47328 * math/e_sqrtl.c: Likewise.
47329 * math/e_scalb.c: Completely rewritten and optimized.
47330 * math/e_scalbf.c: Likewise.
47331 * math/e_scalbl.c: Likewise.
47332 * math/w_acos.c: Likewise.
47333 * math/w_acosf.c: Likewise.
47334 * math/w_acosl.c: Likewise.
47335 * math/w_acosh.c: Likewise.
47336 * math/w_acoshf.c: Likewise.
47337 * math/w_acoshl.c: Likewise.
47338 * math/w_asin.c: Likewise.
47339 * math/w_asinf.c: Likewise.
47340 * math/w_asinl.c: Likewise.
47341 * math/w_atan2.c: Likewise.
47342 * math/w_atan2f.c: Likewise.
47343 * math/w_atan2l.c: Likewise.
47344 * math/w_atanh.c: Likewise.
47345 * math/w_atanhf.c: Likewise.
47346 * math/w_atanhl.c: Likewise.
47347 * math/w_exp10.c: Likewise.
47348 * math/w_exp10f.c: Likewise.
47349 * math/w_exp10l.c: Likewise.
47350 * math/w_fmod.c: Likewise.
47351 * math/w_fmodf.c: Likewise.
47352 * math/w_fmodl.c: Likewise.
47353 * math/w_j0.c: Likewise.
47354 * math/w_j0f.c: Likewise.
47355 * math/w_j0l.c: Likewise.
47356 * math/w_j1.c: Likewise.
47357 * math/w_j1f.c: Likewise.
47358 * math/w_j1l.c: Likewise.
47359 * math/w_jn.c: Likewise.
47360 * math/w_jnf.c: Likewise.
47361 * math/w_log.c: Likewise.
47362 * math/w_logf.c: Likewise.
47363 * math/w_logl.c: Likewise.
47364 * math/w_log10.c: Likewise.
47365 * math/w_log10f.c: Likewise.
47366 * math/w_log10l.c: Likewise.
47367 * math/w_log2.c: Likewise.
47368 * math/w_log2f.c: Likewise.
47369 * math/w_log2l.c: Likewise.
47370 * math/w_pow.c: Likewise.
47371 * math/w_powf.c: Likewise.
47372 * math/w_powl.c: Likewise.
47373 * math/w_remainder.c: Likewise.
47374 * math/w_remainderf.c: Likewise.
47375 * math/w_remainderl.c: Likewise.
47376 * math/w_scalb.c: Likewise.
47377 * math/w_scalbf.c: Likewise.
47378 * math/w_scalbl.c: Likewise.
47379 * math/w_sqrt.c: Likewise.
47380 * math/w_sqrtf.c: Likewise.
47381 * math/w_sqrtl.c: Likewise.
47382 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47383 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47385 * math/math_private.h: Declare __kernel_standard_f.
47386 * math/w_cosh.c: Remove cruft and optimize a bit.
47387 * math/w_coshf.c: Likewise.
47388 * math/w_coshl.c: Likewise.
47389 * math/w_exp2.c: Likewise.
47390 * math/w_exp2f.c: Likewise.
47391 * math/w_exp2l.c: Likewise.
47392 * math/w_hypot.c: Likewise.
47393 * math/w_hypotf.c: Likewise.
47394 * math/w_hypotl.c: Likewise.
47395 * math/w_lgamma.c: Likewise.
47396 * math/w_lgamma_r.c: Likewise.
47397 * math/w_lgammaf.c: Likewise.
47398 * math/w_lgammaf_r.c: Likewise.
47399 * math/w_lgammal.c: Likewise.
47400 * math/w_lgammal_r.c: Likewise.
47401 * math/w_sinh.c: Likewise.
47402 * math/w_sinhf.c: Likewise.
47403 * math/w_sinhl.c: Likewise.
47404 * math/w_tgamma.c: Likewise.
47405 * math/w_tgammaf.c: Likewise.
47406 * math/w_tgammal.c: Likewise.
47407 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47409 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47410 Minor optimizations. Pretty printing. Remove cruft.
47411 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47412 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47413 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47415 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47416 * sysdeps/i386/fpu/e_asin.S: Likewise.
47417 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47418 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47419 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47420 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47422 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47423 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47424 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47425 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47426 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47427 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47428 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47429 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47430 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47431 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47432 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47433 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47434 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47435 * sysdeps/i386/fpu/e_log.S: Likewise.
47436 * sysdeps/i386/fpu/e_log10.S: Likewise.
47437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47438 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47439 * sysdeps/i386/fpu/e_log2.S: Likewise.
47440 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47441 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47442 * sysdeps/i386/fpu/e_logf.S: Likewise.
47443 * sysdeps/i386/fpu/e_logl.S: Likewise.
47444 * sysdeps/i386/fpu/e_pow.S: Likewise.
47445 * sysdeps/i386/fpu/e_powf.S: Likewise.
47446 * sysdeps/i386/fpu/e_powl.S: Likewise.
47447 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47448 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47449 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47450 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47451 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47452 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47453 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47454 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47455 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47456 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47459 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47460 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47461 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47462 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47463 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47464 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47465 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47466 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47467 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47469 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47470 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47472 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47473 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47476 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47477 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47478 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47479 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47480 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47481 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47482 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47483 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47484 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47485 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47486 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47487 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47488 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47489 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47490 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47491 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47492 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47493 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47494 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47495 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47496 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47497 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47498 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47499 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47500 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47501 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47502 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47503 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47504 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47505 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47506 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47507 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47508 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47509 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47510 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47511 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47512 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47513 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47514 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47515 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47516 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47517 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47518 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47519 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47520 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47521 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47522 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47523 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47524 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47525 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47526 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47527 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47528 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47529 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47530 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47531 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47532 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47533 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47534 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47535 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47536 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47537 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47538 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47539 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47540 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47541 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47542 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47543 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47544 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47545 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47546 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47547 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47548 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47549 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47550 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47551 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47552 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47553 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47554 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47555 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47556 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47557 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47558 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47559 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47560 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47561 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47562 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47563 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47564 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47565 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47566 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47567 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47568 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47569 (__isnanf): Likewise.
47570 (__isinf_ns): Likewise.
47571 (__isinf_nsf): Likewise.
47572 (__finite): Likewise.
47573 (__finitef): Likewise.
47574 (__ieee754_sqrt): Define as macro.
47575 (__ieee754_sqrtf): Define as macro.
47576 (__ieee754_sqrtl): Define as macro.
47577 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47579 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47580 __FINITE_MATH_ONLY__ consistent.
47581 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47583 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47585 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47588 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47590 2011-10-09 Ulrich Drepper <drepper@gmail.com>
47592 * po/ja.po: Update from translation team.
47594 2011-10-08 Roland McGrath <roland@hack.frob.com>
47596 * locale/programs/locarchive.c (prepare_address_space): New function.
47597 (create_archive, enlarge_archive, open_archive): Use it.
47599 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47600 inside [SHARED], where it is used.
47602 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47604 * nss/getent.c (netgroup_keys): Remove unused variable.
47605 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47607 2011-10-08 Ulrich Drepper <drepper@gmail.com>
47609 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47610 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47612 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47613 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47614 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47615 * math/Makefile (libm-calls): Add s_isinf_ns.
47616 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47617 * math/multc3.c: Likewise.
47618 * math/s_casin.c: Likewise.
47619 * math/s_casinf.c: Likewise.
47620 * math/s_casinl.c: Likewise.
47621 * math/s_ccos.c: Likewise.
47622 * math/s_ccosf.c: Likewise.
47623 * math/s_ccosl.c: Likewise.
47624 * math/s_ctan.c: Likewise.
47625 * math/s_ctanf.c: Likewise.
47626 * math/s_ctanh.c: Likewise.
47627 * math/s_ctanhf.c: Likewise.
47628 * math/s_ctanhl.c: Likewise.
47629 * math/s_ctanl.c: Likewise.
47630 * math/w_fmod.c: Likewise.
47631 * math/w_fmodf.c: Likewise.
47632 * math/w_fmodl.c: Likewise.
47633 * math/w_remainder.c: Likewise.
47634 * math/w_remainderf.c: Likewise.
47635 * math/w_remainderl.c: Likewise.
47636 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47637 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47638 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47640 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47641 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47642 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47643 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47645 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47647 * stdio-common/printf_fphex.c: Likewise.
47648 * stdio-common/printf_size.c: Likewise.
47650 * math/e_exp10.c: Include math_private.h using <...> not "...".
47651 * math/e_exp10f.c: Likewise.
47652 * math/e_exp10l.c: Likewise.
47653 * math/e_exp2l.c: Likewise.
47654 * math/e_j0l.c: Likewise.
47655 * math/e_j1l.c: Likewise.
47656 * math/e_jnl.c: Likewise.
47657 * math/e_lgammal_r.c: Likewise.
47658 * math/e_rem_pio2l.c: Likewise.
47659 * math/e_scalb.c: Likewise.
47660 * math/e_scalbf.c: Likewise.
47661 * math/e_scalbl.c: Likewise.
47662 * math/k_cosl.c: Likewise.
47663 * math/k_sinl.c: Likewise.
47664 * math/k_tanl.c: Likewise.
47665 * math/s_cacoshf.c: Likewise.
47666 * math/s_catan.c: Likewise.
47667 * math/s_catanf.c: Likewise.
47668 * math/s_catanh.c: Likewise.
47669 * math/s_catanhf.c: Likewise.
47670 * math/s_catanhl.c: Likewise.
47671 * math/s_catanl.c: Likewise.
47672 * math/s_ccosh.c: Likewise.
47673 * math/s_ccoshf.c: Likewise.
47674 * math/s_ccoshl.c: Likewise.
47675 * math/s_cexp.c: Likewise.
47676 * math/s_cexpf.c: Likewise.
47677 * math/s_cexpl.c: Likewise.
47678 * math/s_clog.c: Likewise.
47679 * math/s_clog10.c: Likewise.
47680 * math/s_clog10f.c: Likewise.
47681 * math/s_clog10l.c: Likewise.
47682 * math/s_clogf.c: Likewise.
47683 * math/s_clogl.c: Likewise.
47684 * math/s_csin.c: Likewise.
47685 * math/s_csinf.c: Likewise.
47686 * math/s_csinh.c: Likewise.
47687 * math/s_csinhf.c: Likewise.
47688 * math/s_csinhl.c: Likewise.
47689 * math/s_csinl.c: Likewise.
47690 * math/s_csqrt.c: Likewise.
47691 * math/s_csqrtf.c: Likewise.
47692 * math/s_csqrtl.c: Likewise.
47693 * math/s_ctan.c: Likewise.
47694 * math/s_ctanf.c: Likewise.
47695 * math/s_ctanh.c: Likewise.
47696 * math/s_ctanhf.c: Likewise.
47697 * math/s_ctanhl.c: Likewise.
47698 * math/s_ctanl.c: Likewise.
47699 * math/s_ldexp.c: Likewise.
47700 * math/s_ldexpf.c: Likewise.
47701 * math/s_ldexpl.c: Likewise.
47702 * math/s_significand.c: Likewise.
47703 * math/s_significandf.c: Likewise.
47704 * math/s_significandl.c: Likewise.
47705 * math/w_acos.c: Likewise.
47706 * math/w_acosf.c: Likewise.
47707 * math/w_acosh.c: Likewise.
47708 * math/w_acoshf.c: Likewise.
47709 * math/w_acoshl.c: Likewise.
47710 * math/w_acosl.c: Likewise.
47711 * math/w_asin.c: Likewise.
47712 * math/w_asinf.c: Likewise.
47713 * math/w_asinl.c: Likewise.
47714 * math/w_atan2.c: Likewise.
47715 * math/w_atan2f.c: Likewise.
47716 * math/w_atan2l.c: Likewise.
47717 * math/w_atanh.c: Likewise.
47718 * math/w_atanhf.c: Likewise.
47719 * math/w_atanhl.c: Likewise.
47720 * math/w_cosh.c: Likewise.
47721 * math/w_coshf.c: Likewise.
47722 * math/w_coshl.c: Likewise.
47723 * math/w_dremf.c: Likewise.
47724 * math/w_exp10.c: Likewise.
47725 * math/w_exp10f.c: Likewise.
47726 * math/w_exp10l.c: Likewise.
47727 * math/w_exp2.c: Likewise.
47728 * math/w_exp2f.c: Likewise.
47729 * math/w_fmod.c: Likewise.
47730 * math/w_fmodf.c: Likewise.
47731 * math/w_fmodl.c: Likewise.
47732 * math/w_hypot.c: Likewise.
47733 * math/w_hypotf.c: Likewise.
47734 * math/w_hypotl.c: Likewise.
47735 * math/w_j0.c: Likewise.
47736 * math/w_j0f.c: Likewise.
47737 * math/w_j0l.c: Likewise.
47738 * math/w_j1.c: Likewise.
47739 * math/w_j1f.c: Likewise.
47740 * math/w_j1l.c: Likewise.
47741 * math/w_jn.c: Likewise.
47742 * math/w_jnf.c: Likewise.
47743 * math/w_jnl.c: Likewise.
47744 * math/w_lgamma.c: Likewise.
47745 * math/w_lgamma_r.c: Likewise.
47746 * math/w_lgammaf.c: Likewise.
47747 * math/w_lgammaf_r.c: Likewise.
47748 * math/w_lgammal.c: Likewise.
47749 * math/w_lgammal_r.c: Likewise.
47750 * math/w_log.c: Likewise.
47751 * math/w_log10.c: Likewise.
47752 * math/w_log10f.c: Likewise.
47753 * math/w_log10l.c: Likewise.
47754 * math/w_log2.c: Likewise.
47755 * math/w_log2f.c: Likewise.
47756 * math/w_log2l.c: Likewise.
47757 * math/w_logf.c: Likewise.
47758 * math/w_logl.c: Likewise.
47759 * math/w_pow.c: Likewise.
47760 * math/w_powf.c: Likewise.
47761 * math/w_powl.c: Likewise.
47762 * math/w_remainder.c: Likewise.
47763 * math/w_remainderf.c: Likewise.
47764 * math/w_remainderl.c: Likewise.
47765 * math/w_scalb.c: Likewise.
47766 * math/w_scalbf.c: Likewise.
47767 * math/w_scalbl.c: Likewise.
47768 * math/w_sinh.c: Likewise.
47769 * math/w_sinhf.c: Likewise.
47770 * math/w_sinhl.c: Likewise.
47771 * math/w_sqrt.c: Likewise.
47772 * math/w_sqrtf.c: Likewise.
47773 * math/w_sqrtl.c: Likewise.
47774 * math/w_tgamma.c: Likewise.
47775 * math/w_tgammaf.c: Likewise.
47776 * math/w_tgammal.c: Likewise.
47778 * po/ja.po: Update from translation team.
47780 2011-09-29 Andreas Jaeger <aj@suse.de>
47783 * sunrpc/netname.c (netname2host): Fix logic.
47787 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47789 * math/w_remainder.c (__remainder): Likewise.
47790 * math/w_remainderf.c (__remainderf): Likewise.
47791 * math/libm-test.inc (remainder_test): Add test cases.
47793 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47795 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47798 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47800 * string/test-memcmp.c: Avoid unncessary #defines.
47801 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47803 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47805 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47806 Use new sse2 version for core i3 - i7 as it's faster
47807 than sse42 version.
47808 (bit_Prefer_PMINUB_for_stringop): New.
47809 * sysdeps/x86_64/rawmemchr.S: Update.
47810 Replace with faster SSE2 version.
47811 * sysdeps/x86_64/memrchr.S: New file.
47812 * sysdeps/x86_64/memchr.S: Update.
47813 Replace with faster SSE2 version.
47815 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47817 * elf/dl-load.c (lose): Add cast to avoid warning.
47819 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47821 * po/ca.po: Update from translation team.
47823 * inet/getnetgrent_r.c: Hook up nscd.
47824 * nscd/Makefile (routines): Add nscd_netgroup.
47825 (nscd-modules): Add netgroupcache.
47826 (CFLAGS-netgroupcache.c): Define.
47827 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47828 (cache_search): Add const to second parameter.
47829 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47831 (dbs): Add netgrdb entry.
47832 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47833 (verify_persistent_db): Handle netgrdb.
47834 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47835 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47837 (netgroup_response_header): Define.
47838 (innetgroup_response_header): Define.
47839 (datahead): Add netgroup_response_header and innetgroup_response_header
47841 * nscd/nscd.conf: Add entries for netgroup cache.
47842 * nscd/nscd.h (dbtype): Add netgrdb.
47843 (_PATH_NSCD_NETGROUP_DB): Define.
47844 (netgroup_iov_disabled): Declare.
47845 (xmalloc, xcalloc, xrealloc): Move declarations here.
47846 (cache_search): Adjust prototype.
47847 Add netgroup-related prototypes.
47848 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47849 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47850 (__nscd_innetgr): Declare.
47851 * nscd/selinux.c (perms): Use access_vector_t as element type and
47852 add netgroup-related initializers.
47853 * nscd/netgroupcache.c: New file.
47854 * nscd/nscd_netgroup.c: New file.
47855 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47856 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47857 For four parameters use innetgr.
47858 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47859 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47860 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47861 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47863 * nscd/connections.c (register_traced_file): Don't register file
47864 for disabled databases.
47866 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47868 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47870 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47871 from tree and freeing node.
47873 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47875 * nss/nsswitch.c (__nss_database_lookup): Handle
47876 nss_parse_service_list out of memory case.
47878 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47880 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47881 out of memory case.
47883 2011-10-04 Andreas Schwab <schwab@redhat.com>
47885 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47886 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47888 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47889 elf_machine_rela, elf_machine_lazy_rel.
47890 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47891 (ELF_DYNAMIC_DO_REL): Likewise.
47892 (ELF_DYNAMIC_DO_RELA): Likewise.
47893 (ELF_DYNAMIC_RELOCATE): Likewise.
47894 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47895 to ELF_DYNAMIC_DO_REL.
47896 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47897 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47898 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47900 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47901 skip_ifunc, don't call ifunc function if non-zero.
47902 (elf_machine_rela): Likewise.
47903 (elf_machine_lazy_rel): Likewise.
47904 (elf_machine_lazy_rela): Likewise.
47905 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47906 (elf_machine_lazy_rel): Likewise.
47907 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47909 (elf_machine_lazy_rel): Likewise.
47910 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47912 (elf_machine_lazy_rel): Likewise.
47913 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47914 (elf_machine_lazy_rel): Likewise.
47915 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47916 (elf_machine_lazy_rel): Likewise.
47917 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47918 (elf_machine_lazy_rel): Likewise.
47919 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47920 (elf_machine_lazy_rel): Likewise.
47921 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47922 (elf_machine_lazy_rel): Likewise.
47923 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47924 (elf_machine_lazy_rel): Likewise.
47926 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47928 * nss/nss_files/files-init.c (_nss_files_init): Use static
47929 initialization for all the *_traced_file variables.
47931 2011-09-28 Andreas Schwab <schwab@redhat.com>
47933 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47935 2011-09-27 Roland McGrath <roland@hack.frob.com>
47938 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47940 2011-09-27 Andreas Schwab <schwab@redhat.com>
47942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47943 Reread the line before reparsing it.
47945 2011-09-26 Andreas Schwab <schwab@redhat.com>
47947 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47949 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47950 Maxim Kuvyrkov <maxim@codesourcery.com>
47951 Joseph Myers <joseph@codesourcery.com>
47953 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47954 if needed for __stack_chk_guard.
47956 2011-09-19 Roland McGrath <roland@hack.frob.com>
47958 * sysdeps/posix/spawni.c (script_execute): Always define it.
47959 It will be optimized away if unused.
47960 (maybe_script_execute): New function.
47961 (__spawni): Call it.
47963 * Makerules: Don't include tls.make.
47964 (config-tls): Always set to thread.
47965 * tls.make.c: File removed.
47967 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47969 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47970 * config.make.in (CPPFLAGS-config): New substituted variable.
47972 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47974 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47977 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47978 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47980 2011-09-15 Roland McGrath <roland@hack.frob.com>
47982 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47983 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47984 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47985 (CALL_FAIL): Likewise.
47986 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47987 (CALL_FAIL): Macro removed.
47988 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47990 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47992 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47993 for __FINITE_MATH_ONLY__ == 1.
47995 2011-09-15 Andreas Schwab <schwab@redhat.com>
47997 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47998 __ieee754_sqrt instead of sqrt.
47999 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48000 __ieee754_sqrtf instead of sqrtf.
48001 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48002 __floorf instead of floorf.
48003 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48004 __floorf, __truncf instead of floorf, truncf.
48006 2011-09-14 Ulrich Drepper <drepper@gmail.com>
48008 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48010 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48011 __extern_always_inline.
48012 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48015 2011-09-14 Andreas Schwab <schwab@redhat.com>
48017 * elf/rtld.c (dl_main): Also relocate in dependency order when
48018 doing symbol dependency testing.
48020 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48023 Always define `refsym'.
48025 2011-09-13 Andreas Schwab <schwab@redhat.com>
48027 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48028 (__FD_ELT): Renamed from __FDELT.
48029 * misc/bits/select2.h (__FD_ELT): Likewise.
48030 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48031 __FD_MASK instead of __FDELT, __FDMASK.
48032 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48034 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48037 * elf/Makefile (gen-ldd): Fix pattern.
48039 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48040 (init_tls): Likewise.
48042 2011-09-12 Ulrich Drepper <drepper@gmail.com>
48044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48046 2011-09-12 Andreas Schwab <schwab@redhat.com>
48048 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48049 `struct cmsghdr *' instead of `void *'.
48050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48053 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48055 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48057 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48058 ldd_rewrite_script.
48060 2011-09-11 Ulrich Drepper <drepper@gmail.com>
48062 * configure.in: Remove --with-tls option.
48063 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48064 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48065 out in case it is missing.
48066 * sysdeps/ia64/elf/configure.in: Likewise.
48067 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48068 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48069 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48070 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48071 * sysdeps/sh/elf/configure.in: Likewise.
48072 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48073 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48074 * sysdeps/x86_64/elf/configure.in: Likewise.
48075 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48076 * sysdeps/mach/hurd/tls.h: Likewise.
48079 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48082 * configure.in: Fix use of AC_INIT.
48084 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48086 2011-09-10 Ulrich Drepper <drepper@gmail.com>
48088 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48090 * malloc/hooks.c: Likewise.
48093 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48094 variables statically.
48095 (narenas): Initialize.
48096 (list_lock): Initialize.
48097 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48098 initializtion of main_arena and list_lock. Small cleanups.
48099 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48100 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48101 Add initializers to main_arena and mp_.
48102 (malloc_state): Remove pagesize member. Change all users to use
48105 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48106 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48107 is always initialized.
48109 * malloc/malloc.c: Removed unused configurations and dead code.
48110 * malloc/arena.c: Likewise.
48111 * malloc/hooks.c: Likewise.
48112 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48114 * include/tls.h: Removed. USE___THREAD must always be defined.
48115 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48116 * elf/dl-libc.c: Likewise.
48117 * elf/dl-tsd.c: Likewise.
48118 * include/errno.h: Likewise.
48119 * include/netdb.h: Likewise.
48120 * include/resolv.h: Likewise.
48121 * inet/herrno-loc.c: Likewise.
48122 * inet/herrno.c: Likewise.
48123 * malloc/arena.c: Likewise.
48124 * malloc/hooks.c: Likewise.
48125 * malloc/malloc.c: Likewise.
48126 * resolv/res-state.c: Likewise.
48127 * resolv/res_libc.c: Likewise.
48128 * sysdeps/i386/dl-machine.h: Likewise.
48129 * sysdeps/ia64/dl-machine.h: Likewise.
48130 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48131 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48132 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48133 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48134 * sysdeps/sh/dl-machine.h: Likewise.
48135 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48136 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48137 * sysdeps/unix/i386/sysdep.S: Likewise.
48138 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48139 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48140 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48141 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48142 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48144 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48148 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48149 * sysdeps/x86_64/dl-machine.h: Likewise.
48150 * tls.make.c: Likewise.
48152 * configure.in: Remove --with-__thread option. Make tests for
48153 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48154 tls_model attribute fail if no support is available. Remove
48156 * Makeconfig: Adjust for dropped configure option. All features are
48158 * Makerules: Likewise.
48159 * Versions.def: Likewise.
48160 * argp/argp-fmtstream.c: Likewise.
48161 * argp/argp-fmtstream.h: Likewise.
48162 * argp/argp-help.c: Likewise.
48163 * assert/assert.c: Likewise.
48164 * config.h.in: Likewise.
48165 * config.make.in: Likewise.
48166 * configure: Likewise.
48167 * configure.in: Likewise.
48168 * csu/Versions: Likewise.
48169 * csu/init.c: Likewise.
48170 * elf/tst-audit2.c: Likewise.
48171 * elf/tst-tls10.c: Likewise.
48172 * elf/tst-tls10.h: Likewise.
48173 * elf/tst-tls11.c: Likewise.
48174 * elf/tst-tls12.c: Likewise.
48175 * elf/tst-tls14.c: Likewise.
48176 * elf/tst-tlsmod11.c: Likewise.
48177 * elf/tst-tlsmod12.c: Likewise.
48178 * elf/tst-tlsmod13.c: Likewise.
48179 * elf/tst-tlsmod13a.c: Likewise.
48180 * elf/tst-tlsmod14a.c: Likewise.
48181 * elf/tst-tlsmod15b.c: Likewise.
48182 * elf/tst-tlsmod16a.c: Likewise.
48183 * elf/tst-tlsmod16b.c: Likewise.
48184 * elf/tst-tlsmod7.c: Likewise.
48185 * elf/tst-tlsmod8.c: Likewise.
48186 * elf/tst-tlsmod9.c: Likewise.
48187 * gmon/gmon.c: Likewise.
48188 * grp/fgetgrent_r.c: Likewise.
48189 * grp/putgrent.c: Likewise.
48190 * hurd/fopenport.c: Likewise.
48191 * include/libc-symbols.h: Likewise.
48192 * include/tls.h: Likewise.
48193 * intl/gettextP.h: Likewise.
48194 * intl/loadinfo.h: Likewise.
48195 * locale/global-locale.c: Likewise.
48196 * locale/localeinfo.h: Likewise.
48197 * mach/devstream.c: Likewise.
48198 * malloc/arena.c: Likewise.
48199 * malloc/set-freeres.c: Likewise.
48200 * misc/err.c: Likewise.
48201 * misc/getttyent.c: Likewise.
48202 * misc/mntent_r.c: Likewise.
48203 * posix/getopt.c: Likewise.
48204 * posix/wordexp.c: Likewise.
48205 * pwd/fgetpwent_r.c: Likewise.
48206 * resolv/Versions: Likewise.
48207 * resolv/res_hconf.c: Likewise.
48208 * shadow/fgetspent_r.c: Likewise.
48209 * shadow/putspent.c: Likewise.
48210 * stdio-common/printf_fphex.c: Likewise.
48211 * stdio-common/tmpfile.c: Likewise.
48212 * stdlib/abort.c: Likewise.
48213 * stdlib/fmtmsg.c: Likewise.
48214 * sunrpc/auth_unix.c: Likewise.
48215 * sunrpc/clnt_perr.c: Likewise.
48216 * sunrpc/clnt_tcp.c: Likewise.
48217 * sunrpc/clnt_udp.c: Likewise.
48218 * sunrpc/clnt_unix.c: Likewise.
48219 * sunrpc/openchild.c: Likewise.
48220 * sunrpc/svc_simple.c: Likewise.
48221 * sunrpc/svc_tcp.c: Likewise.
48222 * sunrpc/svc_udp.c: Likewise.
48223 * sunrpc/svc_unix.c: Likewise.
48224 * sunrpc/xdr.c: Likewise.
48225 * sunrpc/xdr_array.c: Likewise.
48226 * sunrpc/xdr_rec.c: Likewise.
48227 * sunrpc/xdr_ref.c: Likewise.
48228 * sunrpc/xdr_stdio.c: Likewise.
48230 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48232 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48234 2011-07-03 Andreas Jaeger <aj@suse.de>
48236 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48237 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48238 regenerate with gen-libm-tests.pl.
48240 2010-05-12 Petr Baudis <pasky@suse.cz>
48243 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48244 around j0() zero points by switching to j1().
48245 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48246 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48248 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48250 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48252 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48254 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48257 Patch in part by Pavel Roskin <proski@gnu.org>.
48260 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48262 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48263 Free memory block if necessary.
48266 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48267 be NULL. Don't lock in this case.
48269 2011-09-09 Roland McGrath <roland@hack.frob.com>
48271 * elf/elf.h (ELFOSABI_GNU): New macro.
48272 (ELFOSABI_LINUX): Define to that.
48274 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48276 * string/strncat.c (strncat): Undef the symbol in case it has been
48277 defined in bits/string.h.
48279 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48281 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48283 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48286 2011-08-17 Andreas Jaeger <aj@suse.de>
48288 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48290 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48291 Ian Lance Taylor <iant@google.com>
48293 * math/libm-test.inc (lround_test): New testcase.
48294 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48296 2011-09-08 Ulrich Drepper <drepper@gmail.com>
48298 * Makefile: Remove support for automatic cvs check-ins.
48299 * Makerules: Likewise.
48300 * config.make.in: Likewise.
48301 * configure.in: Likewise.
48302 * intl/Makefile: Likewise.
48303 * locale/Makefile: Likewise.
48304 * po/Makefile: Likewise.
48305 * posix/Makefile: Likewise.
48306 * sysdeps/gnu/Makefile: Likewise.
48307 * sysdeps/mach/hurd/Makefile: Likewise.
48308 * sysdeps/sparc/sparc32/Makefile: Likewise.
48311 * posix/Makefile (bug-regex32-ENV): Define.
48312 Patch by John Stanley <jpsinthemix@verizon.net>.
48314 * misc/Makefile (headers): Add bits/select2.h.
48315 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48316 * misc/bits/select2.h: New file.
48317 * include/bits/select2.h: New file.
48318 * debug/Makefile (routines): Add fdelt_chk.
48319 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48320 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48322 * debug/fdelt_chk.c: New file.
48324 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48325 * wcsmbs/test-wmemcmp.c: Likewise.
48326 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48327 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48329 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48331 * string/Makefile (strop-tests): Add memcmp.
48332 * string/test-wmemcmp.c: New file.
48333 * string/test-memcmp.c: Add wmemcmp support.
48335 2011-09-08 Roland McGrath <roland@hack.frob.com>
48338 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48341 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48342 garbage value in a __mach_port_mod_refs call in the cases of the
48343 task-self and thread-self ports.
48345 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48347 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48349 2011-09-08 Andreas Schwab <schwab@redhat.com>
48351 * elf/dl-load.c (lose): Check for non-null L.
48353 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48355 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48357 * elf/dl-libc.c (dlerror_run): Pass back error code from
48361 * elf/dl-load.c (lose): Free l_origin if it is valid.
48363 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48365 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48367 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48368 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48369 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48370 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48372 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48374 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48375 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48376 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48377 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48378 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48379 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48380 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48381 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48382 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48383 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48385 2011-08-15 Alan Modra <amodra@gmail.com>
48388 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48389 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48390 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48391 ppc_mcount to static-only-routines.
48392 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48394 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48395 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48397 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48399 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48400 for finite and infinity parameters.
48402 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48404 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48405 and add nop instructions for throughput optimization.
48406 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48408 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48410 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48411 aligned copy for power7 with vector-scalar instructions.
48412 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48414 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48419 2011-09-07 Andreas Schwab <schwab@redhat.com>
48422 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48425 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48427 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48428 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48429 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48430 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48433 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48435 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48436 Forgot to demangle the pointer.
48438 * sysdeps/i386/sysdep.h: Define atom_text_section.
48439 * sysdeps/x86_64/sysdep.h: Likewise.
48440 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48441 section with atom_text_section.
48442 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48443 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48444 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48445 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48446 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48449 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48450 already be defined. Change to take two parameters and don't assign
48451 result to variable. Adjust all users.
48452 Define INTERNAL_GETTIME if not already defined.
48453 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48456 HAVE_CLOCK_GETTIME_VSYSCALL.
48457 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48459 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48460 gettimeofday vsyscall, just use time.
48462 2011-09-06 Andreas Schwab <schwab@redhat.com>
48464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48467 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48469 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48471 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48473 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48474 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48475 syscall if possible.
48477 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48479 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48480 e_ident. Don't pass to find_mapsXX.
48481 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48483 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48486 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48487 * sysdeps/x86_64/multiarch/strchr.S: Update.
48488 Check bit_slow_BSF bit.
48489 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48490 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48491 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48493 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48496 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48498 (tryshell): Define.
48499 (__spawni): Change last parameter to be flag. Test
48500 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48501 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48502 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48503 * posix/spawni.c: Likewise.
48504 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48505 * posix/spawnp.c: Likewise. Change normal version to use
48506 SPAWN_XFLAGS_USE_PATH.
48507 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48508 SPAWN_XFLAGS_TRY_SHELL.
48511 * posix/glob.h: Remove gcc 1.x support.
48514 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48516 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48519 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48521 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48522 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48523 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48524 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48525 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48526 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48528 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48530 * sysdeps/x86_64/wcscmp.S: New file.
48532 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48533 wcscmp-c wcscmp-sse2
48534 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48535 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48536 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48537 * wcsmbs/wcscmp.c: Allow renaming.
48539 2011-09-05 David S. Miller <davem@davemloft.net>
48541 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48542 stack slot, rather than the struct return pointer slot.
48543 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48544 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48546 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48548 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48550 * po/ja.po: Update from translation team.
48553 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48554 kernel in 64-bit binaries.
48556 2011-09-01 David S. Miller <davem@davemloft.net>
48558 * elf/elf.h (HWCAP_SPARC_*): Move to..
48559 * sysdeps/sparc/sysdep.h: this new file and add new values.
48560 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48561 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48562 _DL_HWCAP_COUNT to 24.
48563 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48565 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48566 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48567 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48569 instead of magic constants.
48570 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48572 2011-08-31 David S. Miller <davem@davemloft.net>
48574 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48576 Reimplement to do errno handling inline.
48577 (SYSCALL_ERROR_HANDLER): New macro.
48578 (__SYSCALL_STRING): Do not do errno handling in asm.
48579 (__CLONE_SYSCALL_STRING): Delete.
48580 (__INTERNAL_SYSCALL_STRING): Delete.
48581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48582 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48583 (PSEUDO): Reimplement to do errno handling inline.
48584 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48585 (SYSCALL_ERROR_HANDLER): New macro.
48586 (__SYSCALL_STRING): Do not do errno handling in asm.
48587 (__CLONE_SYSCALL_STRING): Delete.
48588 (__INTERNAL_SYSCALL_STRING): Delete.
48589 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48590 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48592 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48593 (inline_syscall*): Add 'err' argument.
48594 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48595 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48596 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48597 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48599 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48600 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48602 2011-08-30 Andreas Schwab <schwab@redhat.com>
48604 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48606 2011-08-29 Jiri Olsa <jolsa@redhat.com>
48608 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48611 2011-08-24 David S. Miller <davem@davemloft.net>
48613 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48615 2011-08-24 Andreas Schwab <schwab@redhat.com>
48617 * elf/Makefile: Add rules to build and run unload8 test.
48618 * elf/unload8.c: New file.
48619 * elf/unload8mod1.c: New file.
48620 * elf/unload8mod1x.c: New file.
48621 * elf/unload8mod2.c: New file.
48622 * elf/unload8mod3.c: New file.
48624 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48627 2011-08-23 David S. Miller <davem@davemloft.net>
48629 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48630 subtract stack bias.
48631 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48632 %sp not %fp in calculations.
48633 (_JMPBUF_UNWINDS_ADJ): Likewise.
48635 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48636 (aio_suspend): Call it to force an exception region around the
48637 AIO_MISC_WAIT() invocation.
48639 2011-08-23 Andreas Schwab <schwab@redhat.com>
48641 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48644 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48646 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48648 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48649 and <dl-machine.h>.
48650 (Elf64_FuncDesc): Remove.
48652 2011-08-22 David S. Miller <davem@davemloft.net>
48654 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48655 sigaltstack check, add missing cfi directives.
48656 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48657 missing cfi directives, and sigaltstack handling.
48659 2011-08-16 Andreas Schwab <schwab@redhat.com>
48662 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48663 object is seen twice.
48664 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48666 * elf/Makefile (distribute): Add tst-initorder2.c.
48667 (tests): Add tst-initorder2.
48668 (modules-names): Add tst-initorder2a tst-initorder2b
48669 tst-initorder2c tst-initorder2d. Add rules to build them.
48670 ($(objpfx)tst-initorder2.out): New rule.
48671 * elf/tst-initorder2.c: New file.
48672 * elf/tst-initorder2.exp: New file.
48674 2011-08-22 Andreas Schwab <schwab@redhat.com>
48676 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48678 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48679 dependencies back to end of function.
48681 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48682 $(elfobjdir)/ld.so.
48684 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48686 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48687 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48688 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48689 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48690 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48691 of __vdso_gettimeofday.
48692 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48693 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48695 (_libc_vdso_platform_setup): Remove initialization of
48696 __vdso_gettimeofday and __vdso_time.
48698 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48700 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48701 and fgetc_unlocked.
48702 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48705 * elf/dl-open.c (add_to_global): Report additions to the global scope
48706 for LD_DEBUG=scopes.
48707 (dl_open_worker): Also print scope of newly loaded dependencies.
48708 (_dl_show_scope): Indicate if there is no scope.
48711 * stdio-common/Makefile (tests): Add bug24.
48712 * stdio-common/bug24.c: New file.
48714 2011-08-19 Andreas Jaeger <aj@suse.de>
48717 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48718 non-existant file when using close-on-exec mode.
48720 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48723 the very first instruction.
48725 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48726 the CFI state in the end.
48727 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48728 inclusion of dl-trampoline.h.
48729 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48731 2011-08-19 Andreas Schwab <schwab@redhat.com>
48733 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48734 expectations for long double.
48736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48737 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48739 2011-08-14 David S. Miller <davem@davemloft.net>
48741 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48742 artificual limit depends upon the system page size.
48744 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48746 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48747 * resolv/Makefile: Define CFLAGS-libresolv.
48749 2011-08-17 Andreas Schwab <schwab@redhat.com>
48751 * nss/makedb.c (compute_tables): Make variables used in nested
48754 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48756 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48757 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48758 if buffer was too small.
48760 * elf/pldd.c (main): Attach to all threads in the process.
48761 Rewrite /proc handling to use *at functions.
48763 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48765 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48766 specifies first scope to show.
48767 (dl_open_worker): Update callers. Move printing scope of new
48768 object to before the relocation.
48769 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48770 * sysdeps/generic/ldsodefs.h: Update declaration.
48772 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48773 string for the scope number.
48775 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48777 * nscd/servicescache.c (cache_addserv): Make sure written is always
48780 2011-08-14 Roland McGrath <roland@hack.frob.com>
48782 * sysdeps/i386/i486/bits/atomic.h
48783 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48784 statement expression, so as to suppress "set but not used" warning.
48785 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48787 * string/strncat.c (STRNCAT): Use prototype definition.
48789 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48790 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48792 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48793 (localedef-modules): Add localedef.
48794 (locale-modules): Add locale.
48796 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48797 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48798 to avoid a warning.
48800 2011-08-14 David S. Miller <davem@davemloft.net>
48802 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48803 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48805 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48807 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48808 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48809 * elf/rtld.c (dl_main): Set l_name of vDSO.
48810 Call _dl_show_scope when DL_DEBUG_SCOPES.
48811 (process_dl_debug): Recognize scopes flag and also set it for all.
48812 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48813 Declare _dl_show_scope.
48815 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48816 (do_dlopen): Pass caller_dlopen to dl_open.
48817 (__libc_dlopen_mode): Initialize caller_dlopen.
48819 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48820 of libc. Make tolower call locale-independent. Optimize a bit by
48821 using isdigit instead of isalnum.
48822 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48824 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48826 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48827 was a dependency or dynamically loaded.
48829 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48831 * intl/l10nflist.c: Allow architecture-specific pop function.
48832 * sysdeps/x86_64/l10nflist.c: New file.
48834 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48837 2011-08-10 Andreas Schwab <schwab@redhat.com>
48839 * include/dirent.h: Add libc_hidden_proto for scandirat and
48840 scandirat64. Don't declare __scandirat64.
48841 * dirent/scandirat.c: Add libc_hidden_def.
48842 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48843 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48845 2011-08-10 David S. Miller <davem@davemloft.net>
48847 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48849 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48851 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48853 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48855 * Versions.def [libc]: Add GLIBC_2.15.
48856 * dirent/Makefile (routines): Add scandirat and scandirat64.
48857 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48859 * dirent/dirent.h: Declare scandirat and scandirat64.
48860 * dirent/scandirat.c: New file.
48861 * dirent/scandirat64.c: New file.
48862 * sysdeps/wordsize-64/scandirat.c: New file.
48863 * sysdeps/wordsize-64/scandirat64.c: New file.
48864 * dirent/opendir.c: Define opendirat.
48865 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48867 * dirent/scandir64.c: Adjust for scandir.c change.
48868 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48869 __scandirat64, and __scandir_cancel_handler.
48870 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48871 additional parameter and use openat instead of open (outside of ld.so).
48872 Add new __opendir as wrapper around __opendirat.
48873 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48874 here without requiring old scandirat implementation.
48876 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48878 * dirent/scandir.c (cancel_handler): Renamed to
48879 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48880 defined. Adjust users.
48881 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48882 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48884 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48886 * string/test-string.h (IMPL): Use __STRING to expand name and then
48889 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48892 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48894 * string/Makefile: Update.
48895 (strop-tests): Append strncat.
48896 * string/test-wcscmp.c: New file.
48897 New comprehensive test for wcscmp.
48898 * string/test-strcmp.c: Update.
48899 (WIDE): New define.
48901 2011-07-22 Andreas Schwab <schwab@redhat.com>
48903 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48906 2011-07-26 Andreas Schwab <schwab@redhat.com>
48908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48909 encoding to ACE if AI_IDN.
48911 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48914 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48916 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48918 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48919 Fix overflow bug in strncat.
48920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48922 * string/test-strncat.c: Update.
48923 Add new tests for checking overflow bugs.
48925 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48928 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48929 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48930 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48932 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48933 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48934 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48935 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48938 (USE_AS_STRCAT): Define.
48939 Add strcat and strncat support.
48940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48942 2011-07-25 Andreas Schwab <schwab@redhat.com>
48944 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48945 __n bigger than INT_MAX+1.
48946 (__strncmp_g): Likewise.
48948 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48950 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48951 * libio/stido.h: Likewise.
48953 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48955 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48958 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48959 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48961 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48965 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48970 (_dl_x86_64_save_sse): Likewise.
48972 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48974 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48976 (_dl_x86_64_save_sse): Likewise.
48978 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48980 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48982 2011-07-21 Andreas Schwab <schwab@redhat.com>
48984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48986 (_dl_x86_64_save_sse): Use correct AVX check.
48988 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48990 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48991 bug in strncpy/strncat.
48992 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48994 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48996 * string/tester.c (test_strcat): Add tests for different alignments
48997 of source and destination.
48998 (test_strncat): Likewise.
49000 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49003 * posix/glob.c (glob): Check passed in values before using them in
49004 expressions to avoid some overflows.
49005 (glob_in_dir): Likewise.
49008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49009 check for AVX enablement so that we don't crash with old kernels and
49011 * elf/tst-audit4.c: Add same checks here.
49012 * elf/tst-audit6.c: Likewise.
49014 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49016 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49018 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49020 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49022 * po/cs.po: Update from translation team.
49023 * po/bg.po: Likewise.
49025 2011-07-12 Marek Polacek <mpolacek@redhat.com>
49027 * misc/sys/cdefs.h: Add support for const attribute.
49028 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49029 to gnu_dev_{major,minor,makedev} functions.
49031 2011-07-20 Marek Polacek <mpolacek@redhat.com>
49033 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49035 2011-07-20 Andreas Schwab <schwab@redhat.com>
49037 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49040 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49042 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49043 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49044 register in order to avoid conflicts with the soft frame pointer
49045 being held in r11 when necessary.
49046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49047 (INTERNAL_VSYSCALL_NCS): Likewise.
49049 2011-07-14 Marek Polacek <mpolacek@redhat.com>
49051 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49052 * elf/dl-fini.c (_dl_fini): Adjust caller.
49053 * elf/dl-close.c (_dl_close_worker): Likewise.
49054 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49056 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49058 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49059 "aux_cache->nlibs < 0".
49061 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49062 in the reload-count case.
49064 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49067 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49068 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49069 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49070 * sysdeps/x86_64/multiarch/strcat.S: New file.
49071 * sysdeps/x86_64/multiarch/strncat.S: New file.
49072 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49073 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49074 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49075 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49076 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49077 (USE_AS_STRCAT): Define.
49078 Add strcat and strncat support.
49079 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49080 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49081 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49082 * string/strncat.c: Update.
49083 (USE_AS_STRNCAT): Define.
49084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49085 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49087 * sysdeps/x86_64/multiarch/init-arch.h
49088 (bit_Prefer_PMINUB_for_stringop): New.
49089 (index_Prefer_PMINUB_for_stringop): Likewise.
49090 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49091 bit_Prefer_PMINUB_for_stringop.
49093 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49095 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49097 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49098 of casting of buffer.
49099 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49100 buffer32 and buffer64.
49101 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49102 writes instead of casting of buffer.
49103 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49105 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49108 2011-07-19 Andreas Schwab <schwab@redhat.com>
49110 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49112 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49114 * nscd/nscd.c (termination_handler): Don't do anything for a database
49115 if it has not yet been initialized.
49117 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49119 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49121 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49123 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49125 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49127 * po/nl.po: Update from translation team.
49128 * po/sv.po: Likewise.
49130 2011-07-16 Roland McGrath <roland@hack.frob.com>
49132 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49133 now disallowed by GCC.
49135 * configure.in (use-default-link): Default to yes if a test -shared
49136 link meets our qualifications.
49137 * configure: Regenerated.
49139 * config.make.in (output-format): New variable.
49140 * configure.in: Check for ld --print-output-format support.
49141 * configure: Regenerated.
49142 * Makerules ($(common-objpfx)format.lds)
49143 [$(output-format) != unknown]: Just use $(output-format),
49144 instead of the linker-script munging.
49146 2011-07-14 Roland McGrath <roland@hack.frob.com>
49148 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49149 of $(common-objpfx)shlib.lds.
49150 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49152 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49153 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49155 * configure.in (-z relro check): Adjust test code to add a large
49156 writable data section after it.
49157 * configure: Regenerated.
49159 2011-07-11 Roland McGrath <roland@hack.frob.com>
49161 * configure.in (-z relro check): Fix test code to make the variable
49163 * configure: Regenerated.
49165 2011-07-11 Ulrich Drepper <drepper@gmail.com>
49167 * nscd/nscd.h (struct traced_file): Define.
49168 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49169 elements. Add traced_files.
49170 (inotify_fd): Declare.
49171 (register_traced_file): Declare.
49172 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49173 (inotify_fd): Export.
49174 (resolv_conf_descr): Remove.
49175 (nscd_init): Move inotify descriptor creation to main.
49176 Don't register files for notification here.
49177 (register_traced_file): New function.
49178 (invalidate_cache): Don't use reset_res to determine whether to call
49179 res_init, go through the list of registered files.
49180 (main_loop_poll): The inotify descriptors are now stored in the
49181 structures for the traced files.
49182 (main_loop_epoll): Likewise
49183 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49184 to __nss_disable_nscd.
49185 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49186 for a database anymore. Check the records for all the registered
49188 * nss/Makefile (libnss_files-routines): Add files-init.
49189 (libnss_db-routines): Add db-init.
49190 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49191 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49192 * nss/nss_db/db-init.c: New file.
49193 * nss/nss_files/files-init.c: New file.
49194 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49195 __nss_lookup_function.
49196 (__nss_lookup_function): Call nss_load_library.
49197 (nss_load_all_libraries): New function.
49198 (__nss_disable_nscd): Take parameter with callback function for files
49199 to register. Set is_nscd. Load all the DSOs for the NSS modules
49200 used for the cached services.
49201 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49202 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49203 options for features to all the files in nscd.
49205 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49207 2011-07-10 Roland McGrath <roland@hack.frob.com>
49209 * csu/elf-init.c (__libc_csu_init): Comment typo.
49211 2011-07-09 Ulrich Drepper <drepper@gmail.com>
49213 * po/pl.po: Update from translation team.
49214 * po/ja.po: Likewise.
49215 * po/ru.po: Likewise.
49216 * po/ko.po: Likewise.
49217 * po/fr.po: Likewise.
49219 2011-07-09 Roland McGrath <roland@hack.frob.com>
49221 * configure.in (.ctors/.dtors header and trailer check):
49222 Use an empirical test on a built program.
49223 * configure: Regenerated.
49225 * configure.in (-z relro check): Use an empirical test on a built DSO.
49226 Detect, but do not require, on ia64.
49227 * configure: Regenerated.
49229 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49230 Update tests that use readelf to use $READELF instead.
49231 * configure: Regenerated.
49233 2011-07-08 Ulrich Drepper <drepper@gmail.com>
49235 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49236 if the result is not used.
49238 2011-07-05 Andreas Jaeger <aj@suse.de>
49241 * stdlib/tst-strtod.c: Add testcase.
49243 2011-07-07 Ulrich Drepper <drepper@gmail.com>
49245 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49246 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49247 The latter has a higher limit. Take additional parameter to pass to
49249 (__pathconf): Pass file to __statfs_link_max.
49250 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49252 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49256 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49257 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49259 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49260 (__statfs_filesize_max): Likewise.
49261 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49263 2011-07-05 Andreas Jaeger <aj@suse.de>
49265 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49267 2011-07-06 Marek Polacek <mpolacek@redhat.com>
49269 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49271 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49274 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49276 * Makefile (strop-tests): Add strncat.
49277 * string/test-strncat.c: New file.
49279 2011-06-30 Marek Polacek <mpolacek@redhat.com>
49281 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49283 2011-06-21 Andreas Jaeger <aj@suse.de>
49285 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49286 Copy rule from iconvdata/Makefile.
49288 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49291 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49292 but no long options are defined, just return 'W'.
49294 2011-06-22 Marek Polacek <mpolacek@redhat.com>
49297 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49299 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49301 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49303 (innetgr): Likewise.
49305 2011-07-05 Roland McGrath <roland@hack.frob.com>
49307 * config.make.in (install_root): Default to $(DESTDIR).
49309 2011-07-05 Ulrich Drepper <drepper@gmail.com>
49311 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49313 2011-07-02 Roland McGrath <roland@hack.frob.com>
49315 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49317 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49318 containing directory rather than embedding absolute directory names.
49320 * scripts/check-local-headers.sh: Rewritten using awk.
49321 Match by word, not by line. Print error messages for matches.
49322 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49324 * Makerules [shlib-lds-flags empty]:
49325 ($(common-objpfx)libc_pic.opts): New target.
49326 ($(common-objpfx)libc_pic.os.clean): New target.
49327 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49329 * config.make.in (OBJCOPY): New variable.
49330 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49331 * configure: Regenerated.
49333 * config.make.in (use-default-link): New variable.
49334 * configure.in (use_default_link): Grok --with-default-link to set it.
49335 * configure: Regenerated.
49336 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49337 (shlib-lds, shlib-lds-flags): Define to empty.
49339 * Makerules (shlib-lds): New variable.
49340 (shlib-lds-flags): New variable.
49341 (build-shlib, build-moduile, build-module-asneeded): Use it.
49342 ($(common-objpfx)libc.so): Use $(shlib-lds).
49343 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49344 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49346 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49347 DT_FLAGS/DT_FLAGS_1 with zero flags.
49349 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49350 linker script munging.
49352 2011-07-02 Ulrich Drepper <drepper@gmail.com>
49354 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49356 * crypt/sha512.c (sha512_process_block): Perform total addition using
49357 128-bit if possible.
49358 (__sha512_finish_ctx): Likewise.
49359 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49361 * crypt/sha256.c (SWAP64): Define.
49362 (sha256_process_block): Perform total addition using 64-bit if
49364 (__sha256_finish_ctx): Likewise.
49366 2011-07-01 Ulrich Drepper <drepper@gmail.com>
49368 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49369 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49370 * nscd/hstcache.c (cache_addhst): Likewise.
49371 * nscd/grpcache.c (cache_addgr): Likewise.
49372 * nscd/aicache.c (addhstaiX): Likewise
49373 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49375 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
49377 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49378 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49379 * nscd/hstcache.c (cache_addhst): Likewise.
49380 * nscd/grpcache.c (cache_addgr): Likewise.
49381 * nscd/aicache.c (addhstaiX): Likewise
49383 2011-07-01 Andreas Schwab <schwab@redhat.com>
49385 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49386 domain only when needed.
49388 2011-06-30 Andreas Schwab <schwab@redhat.com>
49390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49391 is always restored.
49393 2011-06-29 Ulrich Drepper <drepper@gmail.com>
49395 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49396 are re-adding the entry.
49397 * nscd/servicescache.c (cache_addserv): Likewise.
49399 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49401 * sysdeps/generic/dl-irel.h: fix protection against multiple
49403 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49405 2011-06-28 Ulrich Drepper <drepper@gmail.com>
49408 * malloc/memusage.sh: Fix quoting in message.
49409 * debug/xtrace.sh: Likewise.
49411 * configure.in: Remove support for --experimental-malloc option, make
49413 * config.make.in: Likewise.
49414 * malloc/Makefile: Likewise.
49416 2011-06-27 Andreas Schwab <schwab@redhat.com>
49418 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49419 two-byte characters.
49421 2011-06-27 Roland McGrath <roland@hack.frob.com>
49423 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49424 AC_CACHE_CHECK invocation.
49425 * configure: Regenerated.
49427 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49429 2011-06-27 Ulrich Drepper <drepper@gmail.com>
49432 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49433 bit from old_res_options.
49435 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49437 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49438 value type for setfct.
49440 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49443 __gettimeofday instead of gettimeofday.
49445 2011-06-26 Ulrich Drepper <drepper@gmail.com>
49447 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49449 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49453 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49456 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49459 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49460 strcpy-sse2-unaligned strncpy-sse2-unaligned
49461 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49462 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49463 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49464 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49465 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49466 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49467 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49468 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49469 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49470 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49471 (STRCPY): Support SSE2 and SSSE3 versions.
49473 2011-06-24 Ulrich Drepper <drepper@gmail.com>
49476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49477 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49478 kernels which artificially limit size of requests.
49480 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49483 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49484 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49485 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49486 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49487 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49488 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49489 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49490 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49491 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49492 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49493 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49494 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49495 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49496 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49498 Enable unaligned load optimization for Intel Core i3, i5 and i7
49500 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49502 (index_Fast_Unaligned_Load): Define.
49503 (HAS_FAST_UNALIGNED_LOAD): Define.
49505 2011-06-23 Marek Polacek <mpolacek@redhat.com>
49507 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49509 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49513 until it is clear that the information is realy needed.
49514 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49516 2011-06-22 Andreas Schwab <schwab@redhat.com>
49518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49520 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49523 /sys/devices/system/cpu/online if it is usable.
49525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49526 reading the information from the /proc filesystem to once a second.
49528 2011-06-21 Andreas Jaeger <aj@suse.de>
49530 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49531 NULL after inclusion of kernel headers.
49533 2011-06-21 Ulrich Drepper <drepper@gmail.com>
49535 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49536 calls to internal_setent.
49539 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49540 addresses using gethostbyname4_r ignore IPv4 addresses.
49542 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49543 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49545 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49547 2011-06-20 David S. Miller <davem@davemloft.net>
49549 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49551 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49553 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49554 (elf_irel): Use it.
49555 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49556 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49557 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49558 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49559 * sysdeps/x86_64/dl-irel.h: Likewise.
49561 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49562 * elf/dl-sym.c: Likewise.
49564 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49566 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49567 need to dereference resplen2.
49569 2011-06-14 Andreas Schwab <schwab@redhat.com>
49571 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49573 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49575 * Makeconfig: Define vardbdir and inst_vardbdir.
49576 * nss/Makefile: Add rules to install db-Makefile.
49578 * nss/nss_db/db-XXX.c: Cleanup.
49580 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49581 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49583 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49584 * nss/makedb.c: Implement -g option to specify that value strings
49585 are generated and should not be added to table iterated over for
49587 * nss/nss_db/db-initgroups.c: New file.
49589 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49592 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49593 (internal_getgrouplist): Adjust to name change.
49594 Update use_initgroups_entry if this is not the first call.
49595 * nss/databases.def: Add initgroups entry.
49597 * nss/makedb.c (compute_tables): Check result of multiple hash table
49598 sizes to minimize maximum chain length.
49600 2011-06-14 Ulrich Drepper <drepper@gmail.com>
49602 * Versions.def: Add entry for libnss_db.
49603 * shlib-versions: Likewise.
49604 * nss/Makefile: Add rules to build libnss_db.
49605 * nss/Versions: Add libnss_db information. Organize libnss_files
49607 * nss/db-Makefile: Add gshadow support. Change rules for the new
49608 makedb progra. Some minor improvements to generate smaller files.
49609 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49611 * nss/makedb.c: ...here.
49612 Improve database format to be smaller and require less memory at
49614 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49616 * nss/nss_db/db-netgrp.c: Likewise.
49617 * nss/nss_db/db-open.c: Likewise.
49618 * nss/nss_files/flies-XXX.x: Adjust comments.
49619 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49620 * nss/nss_files/files-grp.c: Likewise.
49621 * nss/nss_files/files-hosts.c: Likewise.
49622 * nss/nss_files/files-network.c: Likewise.
49623 * nss/nss_files/files-proto.c: Likewise.
49624 * nss/nss_files/files-pwd.c: Likewise.
49625 * nss/nss_files/files-rpc.c: Likewise.
49626 * nss/nss_files/files-service.c: Likewise.
49627 * nss/nss_files/files-sgrp.c: Likewise.
49628 * nss/nss_files/files-spwd.c: Likewise.
49629 * nss/nss_db/db-alias.c: Removed.
49630 * nss/nss_db/dummy-db.h: Removed.
49632 2011-06-02 Ulrich Drepper <drepper@gmail.com>
49634 * nss/makedb.c: Rewritten to not use database library.
49635 * nss/Makefile: Update to build new makedb program.
49637 2011-06-14 Andreas Jaeger <aj@suse.de>
49639 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49640 memset declaration.
49642 2011-06-10 Andreas Schwab <schwab@redhat.com>
49644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49647 2011-06-10 Roland McGrath <roland@hack.frob.com>
49649 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49650 * elf/Makefile ($(objpfx)ld.so): Likewise.
49652 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49653 Don't list ld.so twice in dependencies.
49655 * posix/bug-regex31.c: Include <stdlib.h>.
49657 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49659 * nis/nss_compat/compat-spwd.c
49660 (getspent_next_nss_netgr): Remove unused variable.
49661 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49663 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49664 nonmembers" output to use the right array.
49666 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49668 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49670 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49671 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49672 * catgets/gencat.c (read_input_file): Likewise.
49673 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49675 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49676 variable definition inside #if's controlling its use.
49678 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49680 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49682 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49684 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49687 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49689 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49690 * configure: Regenerated.
49692 * Makerules: Revert last change.
49693 * elf/Makefile: Likewise.
49695 2011-06-09 Roland McGrath <roland@hack.frob.com>
49697 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49698 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49699 (reloc-link): Likewise.
49701 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49703 * elf/Makefile: Add rules to build pldd.
49704 * elf/pldd.c: New file.
49705 * elf/pldd-xx.c: New file.
49707 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49709 * version.h: Update for 2.15 development version.
49711 2011-06-07 David S. Miller <davem@davemloft.net>
49713 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49715 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49716 elf_machine_lazy_rel): Likewise.
49717 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49718 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49719 elf_machine_lazy_rel): Likewise.
49720 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49721 dl_hwcap via passed in argument.
49722 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49725 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49727 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49729 2011-06-06 Roland McGrath <roland@hack.frob.com>
49732 * manual/fdl-1.1.texi: New file, verbatim from:
49733 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49734 * manual/lgpl-2.1.texi: New file, verbatim from:
49735 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49736 * manual/Makefile (licenses): New variable, list those new file names.
49738 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49740 * manual/fdl.texi: File removed.
49741 * manual/lesser.texi: File removed.
49742 * manual/libc.texinfo (Copying, Documentation License):
49743 Use new @include file names, put @appendix directive before @include.
49745 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49748 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49749 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49750 (mq_open): Add __NTH.
49752 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49755 Assume Intel Core i3/i5/i7 processor if AVX is available.
49757 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49759 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49762 2011-05-31 Andreas Schwab <schwab@redhat.com>
49764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49765 memory. Use alloca_account. Fix memory leak when retrying.
49767 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49769 * version.h (RELEASE): Bump for 2.14 release.
49770 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49772 * config.make.in (RANLIB): Remove entry.
49774 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49776 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49777 (libc.pot): Work around missing support for .ksh extension in xgettext.
49780 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49781 if both request failed.
49782 (send_dg): In case of server errors clear resplen or *resplen2.
49785 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49786 when there are multiple maps.
49787 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49788 (_dl_fini): Remove test here.
49790 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49792 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49795 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49796 bit from old_res_options.
49797 (gaih_inet): Likewise.
49800 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49803 * resolv/res_init.c (res_setoptions): Make the code more compact.
49806 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49810 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49812 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49815 * malloc/malloc.h: Declare malloc hook variables as volatile.
49817 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49821 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49822 raise in the comment.
49823 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49824 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49825 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49827 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49830 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49831 grow the buffers more if it already has to be sufficient.
49832 (build_wcs_upper_buffer): Likewise.
49833 * posix/regexec.c (check_matching): Likewise.
49834 (clean_state_log_if_needed): Likewise.
49835 (extend_buffers): Don't enlarge buffers beyond size of the input
49837 Patches mostly by Emil Wojak <emil@wojak.eu>.
49838 * posix/bug-regex32.c: New file.
49839 * posix/Makefile (tests): Add bug-regex32.
49841 * locale/findlocale.c (_nl_find_locale): Return right away if
49842 _nl_explode_name failed.
49843 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49845 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49847 * debug/xtrace.sh: Unify messages.
49848 * malloc/memusage.sh: Likewise.
49851 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49852 time symbol from vDSO. Substitute with vsyscall if not available.
49853 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49856 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49857 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49858 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49859 Add sendmmsg and internal_sendmmsg.
49860 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49861 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49862 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49864 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49865 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49866 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49868 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49871 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49872 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49874 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49878 * iconvdata/Makefile (tests): Add bug-iconv9.
49879 * iconvdata/bug-iconv9.c: New file.
49881 2011-05-27 Andreas Schwab <schwab@redhat.com>
49884 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49886 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49889 (struct user_regs_struct): Change intcs field back to cs.
49891 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49893 * po/ja.po: Update from translation team.
49895 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49898 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49899 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49901 2011-05-20 Andreas Schwab <schwab@redhat.com>
49903 * stdlib/longlong.h: Update from GCC.
49905 2011-05-23 Andreas Schwab <schwab@redhat.com>
49907 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49909 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49910 Add parameter name.
49911 (__sysconf): Pass it down.
49913 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49916 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49918 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49919 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49920 add in in __libc_use_alloca calls. Adjust callers.
49921 (glob): Use malloc in some situations.
49923 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49924 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49927 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49929 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49930 and CLOCK_BOOTTIME_ALARM.
49933 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49936 * string/_strerror.c (__strerror_r): Print negative errors as signed
49940 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49941 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49942 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49944 * configure.in: Fix typo in redirection and correct removal of test
49945 files in two cases.
49948 * locale/setlocale.c (new_composite_name): Fix test to check for
49949 identical name of all categories.
49952 * libio/filedoalloc.c (local_isatty): New function.
49953 (_IO_file_doallocate): Use local_isatty.
49954 * stdio-common/perror.c (perror): In case a new stream is used
49955 forward the stream error.
49956 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49959 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49964 * include/alloca.h (extend_alloca_account): Define.
49967 * posix/regex.h: Fix comments with documentation of user-accessible
49968 fields after compilation and describe correct free'ing of pattern
49969 after re_compile_pattern.
49970 Patch by Reuben Thomas <rrt@sc3d.org>.
49972 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49974 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49975 and -mno-altivec to prevent the compiler from using Altivec and/or
49976 VSX instructions when the corresponding registers are not available.
49978 2011-05-19 Andreas Schwab <schwab@redhat.com>
49980 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49982 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49984 * libio/freopen.c (freopen): Use __dup2, not dup2.
49985 * libio/freopen64.c (freopen64): Likewise.
49987 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49990 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49991 * math/Makefile (tests): Add test-powl.
49992 (CFLAGS-test-powl.c): Define.
49993 * math/test-powl.c: New file.
49995 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49997 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49999 2011-05-17 Ulrich Drepper <drepper@gmail.com>
50002 * iconvdata/gb18030.c: Update to GB18020-2005.
50004 2011-05-16 Ulrich Drepper <drepper@gmail.com>
50006 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50007 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50008 Patch by Aharon Robbins <arnold@skeeve.com>.
50011 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50015 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50016 through underflows.
50019 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50020 point to strings before performing equality test for error_one_per_line
50024 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50028 (struct user_fpregs_struct): Avoid __uint*_t types.
50031 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50032 symbol info. Use it instead of calling _dl_addr locally.
50033 (lock_and_info): New function.
50034 (tr_freehook): Call lock_and_info and pass symbol info as additional
50035 parameter to tr_where.
50036 (tr_mallochook): Likewise.
50037 (tr_reallochook): Likewise.
50038 (tr_memalignhook): Likewise.
50040 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50041 used and couldn't be at all thread-safe.
50043 2011-05-15 Ulrich Drepper <drepper@gmail.com>
50045 * libio/freopen.c (freopen): Don't close old file descriptor
50046 before the new one is opened. Instead dup the new file descriptor
50047 to the old one after the new stream is created.
50048 * libio/freopen64.c (freopen64): Likewise.
50049 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50050 * libio/fileops.c (_IO_new_file_close_it): Handle new
50051 _IO_FLAGS2_NOCLOSE flag.
50052 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50053 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50054 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50055 _IO_FLAGS2_NOCLOSE flag.
50056 * include/unistd.h: Add hidden_proto for dup3.
50057 Define __have_dup3.
50058 * io/dup3.c: Define hidden symbol.
50059 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50062 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50063 when an incomplete long option is used.
50064 * posix/tst-getopt_long1.c: New file.
50065 * posix/Makefile (tests): Add tst-getopt_long1.
50068 * scripts/config.guess: Update from autoconf-2.68.
50069 * scripts/config.sub: Likewise.
50072 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50074 (has_cpuclock): ...this. New function.
50075 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50076 macro here based on has_cpuclock code.
50079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50080 First byte (not low byte) is now always NUL.
50081 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50084 Use non-cancelable interfaces.
50087 * locale/iso-639.def: Add entry for Sorani.
50090 * include/stdlib.h: Move include protection to the right place.
50091 Define abort_msg_s. Declare __abort_msg with it.
50092 * stdlib/abort.c (__abort_msg): Adjust type.
50093 * assert/assert.c (__assert_fail_base): New function. Majority
50094 of code from __assert_fail. Allocate memory for __abort_msg with
50096 (__assert_fail): Now call __assert_fail_base.
50097 * assert/assert-perr.c: Remove bulk of implementation. Use
50098 __assert_fail_base.
50099 * include/assert.hL Declare __assert_fail_base.
50100 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50102 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50104 2011-05-14 Ulrich Drepper <drepper@gmail.com>
50108 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50109 until all modules are registered in the DTV.
50110 * elf/Makefile: Add rules to build and run tst-tls19.
50111 * elf/tst-tls19.c: New file.
50112 * elf/tst-tls19mod1.c: New file.
50113 * elf/tst-tls19mod2.c: New file.
50114 * elf/tst-tls19mod3.c: New file.
50115 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50118 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50122 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50123 two-byte sequence errors.
50124 * iconvdata/Makefile (tests): Add bug-iconv8.
50125 * iconvdata/bug-iconv8.c: New file.
50128 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50131 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50134 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50135 (dummy_getcfa): New function.
50136 (init): Get _Unwind_GetCFA address, use dummy if not found.
50137 (backtrace_helper): In recursion check, also check whether CFA changes.
50138 (__backtrace): Completely initialize arg.
50140 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50141 storing incomplete byte sequence in state object. Avoid testing for
50142 guaranteed too small input if we know there is enough data available.
50144 2011-05-11 Andreas Schwab <schwab@redhat.com>
50146 * Makeconfig (+link-pie): Indent.
50147 * Rules (binaries-pie): Define if $(have-fpie) and
50149 (binaries-shared): Also filter out $(binaries-pie).
50150 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50151 * nscd/Makefile (others-pie): Add nscd.
50152 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50153 ($(objpfx)nscd): Remove command override.
50154 * login/Makefile (others-pie): Add pt_chown.
50155 ($(objpfx)pt_chown): Remove command override.
50156 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50157 remove command overrides.
50159 2011-05-13 Ulrich Drepper <drepper@gmail.com>
50161 * libio/tst_putwc.c: Fix error messages.
50164 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50165 currently writing and seek to current position when not.
50166 * libio/Makefile (tests): Add bug-fclose1.
50167 * libio/bug-fclose1.c: New file.
50169 2011-05-12 Ulrich Drepper <drepper@gmail.com>
50172 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50173 don't set DF_1_NODELETE here.
50174 (do_lookup_x): When entering new entry test for copy relocation
50175 and if necessary set DF_1_NODELETE flag.
50176 * elf/tst-unique4.cc: New file.
50177 * elf/tst-unique4.h: New file.
50178 * elf/tst-unique4lib.cc: New file.
50179 * elf/Makefile: Add rules to build and run tst-unique4.
50180 Patch by Piotr Bury <pbury@goahead.com>.
50182 2011-05-11 Ulrich Drepper <drepper@gmail.com>
50185 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50188 * misc/mntent_r.c (addmntent): Flush the stream after the output
50191 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50192 (is_trusted_path_normalize): Skip initial colon. Append slash
50193 to empty buffer. Duplicate is_trusted_path code but allow
50194 constructed patch to be prefix.
50195 (is_dst): Allow $ORIGIN followed by /.
50196 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50197 Correct testing of result of is_trusted_path_normalize
50198 (decompose_rpath): Fix warning.
50200 2011-05-10 Ulrich Drepper <drepper@gmail.com>
50203 * grp/initgroups.c (internal_getgrouplist): When we found the service
50204 list through the initgroups entry in nsswitch.conf do not always
50205 continue on a successful lookup. Don't always use the
50206 __nss_group_database value if it is set.
50207 * nss/nsswitch.conf (initgroups): Change action for successful db
50208 lookup to continue for compatibility.
50210 2011-05-09 Ulrich Drepper <drepper@gmail.com>
50213 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50215 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50217 * iconvdata/tst-tables.sh: Likewise.
50218 * iconvdata/cp770.c: New file.
50219 * iconvdata/cp771.c: New file.
50220 * iconvdata/cp772.c: New file.
50221 * iconvdata/cp773.c: New file.
50222 * iconvdata/cp774.c: New file.
50223 * iconvdata/testdata/CP770: New file.
50224 * iconvdata/testdata/CP770..UTF8: New file.
50225 * iconvdata/testdata/CP771: New file.
50226 * iconvdata/testdata/CP771..UTF8: New file.
50227 * iconvdata/testdata/CP772: New file.
50228 * iconvdata/testdata/CP772..UTF8: New file.
50229 * iconvdata/testdata/CP773: New file.
50230 * iconvdata/testdata/CP773..UTF8: New file.
50231 * iconvdata/testdata/CP774: New file.
50232 * iconvdata/testdata/CP774..UTF8: New file.
50234 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50236 * iconvdata/gen-8bit-gap.sh: Likewise.
50237 * iconvdata/gen-8bit.sh: Likewise.
50239 * locale/iso-639.def: Add ary entry.
50242 * locale/C-translit.h.in: Add U20A1 transliteration.
50245 * locale/iso-639.def: Add wae entry.
50246 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50249 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50253 * locale/C-translit.h.in: Add entry for U20B9.
50254 Patch by pravin.d.s@gmail.com.
50256 2011-05-08 Ulrich Drepper <drepper@gmail.com>
50259 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50260 ENAMETOOLONG use generic getcwd.
50261 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50262 in rtld. Use *stat64.
50263 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50264 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50265 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50266 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50267 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50268 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50269 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50270 __fstatat64 macros.
50271 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50272 * dirent/rewinddir.c: Add libc_hidden_def.
50273 * sysdeps/mach/hurd/rewinddir.c: Likewise.
50274 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
50276 * include/dirent.h (__alloc_dir): Add flags parameter.
50277 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50278 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50280 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50281 from fdopendir if O_CLOEXEC is already set.
50283 2011-03-15 Alan Modra <amodra@gmail.com>
50285 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50286 l_tls_firstbyte_offset non-zero. Save padding offset in
50287 l_tls_firstbyte_offset for later use.
50288 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50289 freeing static tls block.
50291 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50293 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50294 where #ifdef was intended. The intent is to prevent ARG_MAX from
50295 being defined by the kernel headers.
50297 2011-05-07 Ulrich Drepper <drepper@gmail.com>
50300 * resolv/resolv.h: Define RES_NOTLDQUERY.
50301 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50302 no-tld-query and set RES_NOTLDQUERY.
50303 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50304 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50305 modern BIND to search name as TLD unless forbidden.
50307 2011-05-07 Petr Baudis <pasky@suse.cz>
50308 Ulrich Drepper <drepper@gmail.com>
50311 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50312 (is_trusted_path): ...to here.
50313 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50314 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50315 using is_trusted_path_normalize() in setuid scripts.
50317 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50319 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50320 __BEGIN/__END_DECLS.
50322 2011-05-06 Ulrich Drepper <drepper@gmail.com>
50324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50325 NSS_STATUS_NOTFOUND if no record was found.
50327 2011-05-05 Andreas Schwab <schwab@redhat.com>
50329 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50330 (headers-not-in-tirpc): Remove rpc/netdb.h
50331 * resolv/netdb.h: Revert last change.
50333 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50335 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50336 circular dependency between libgcc.a and libc.a.
50338 2011-05-05 Andreas Schwab <schwab@redhat.com>
50340 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50341 * nis/Makefile: Don't install rpcsvc/*.
50342 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50343 instead of <rpc/types.h>.
50344 (MAXHOSTNAMELEN): Define.
50346 2011-05-03 Andreas Schwab <schwab@redhat.com>
50348 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50350 2011-04-28 Maciej Babinski <mbabinski@google.com>
50353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50354 gethostbyname4_r when IPv6 results are possible.
50356 2011-05-02 Ulrich Drepper <drepper@gmail.com>
50359 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50360 _PC_PIPE_BUF handling.
50362 2011-04-30 Bruno Haible <bruno@clisp.org>
50365 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50366 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50368 * inet/getnameinfo.c (getnameinfo): Likewise.
50370 2011-04-29 Ulrich Drepper <drepper@gmail.com>
50372 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50373 to groups setting in database lookup.
50374 * nss/nsswitch.conf: Add initgroups entry.
50376 2011-04-22 Ulrich Drepper <drepper@gmail.com>
50379 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50381 Patch by Eric Blake <eblake@redhat.com>.
50383 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50385 * sunrpc/Makefile (need-export-routines): Add svc_run.
50386 (routines): Remove svc_run.
50387 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50388 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50389 * sunrpc/svc_run.c (svc_run): Likewise.
50390 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50392 2011-04-21 Ulrich Drepper <drepper@gmail.com>
50394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50395 problem in reallocation in last patch.
50397 2011-04-20 Ulrich Drepper <drepper@gmail.com>
50399 * sunrpc/Makefile: Move inclusion of Rules.
50401 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50403 * nss/nss_files/files-initgroups.c: New file.
50404 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50405 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50406 _nss_files_initgroups_dyn.
50408 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50410 * elf/elf.h (R_ARM_IRELATIVE): Define.
50412 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50414 * po/ru.po: Update from translation team.
50416 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50418 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50421 2011-02-06 Mike Frysinger <vapier@gentoo.org>
50424 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50425 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50426 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50427 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50428 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50430 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50432 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50434 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50435 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50436 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50438 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50441 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50443 * stdlib/bug-getcontext.c: New file.
50444 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50446 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50448 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50449 instructions into .machine "z9-109".
50450 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50451 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50453 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50455 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50456 between environment variables and auxiliary vector.
50458 2011-04-16 Ulrich Drepper <drepper@gmail.com>
50460 * Makefile: Add rules to build linkobj/libc.so.
50461 * include/libc-symbols.h: Define libc_hidden_nolink.
50462 * include/rpc/auth.h: Mark functions which are to be hidden.
50463 * include/rpc/auth_des.h: Likewise.
50464 * include/rpc/auth_unix.h: Likewise.
50465 * include/rpc/clnt.h: Likewise.
50466 * include/rpc/des_crypt.h: Likewise.
50467 * include/rpc/key_prot.h: Likewise.
50468 * include/rpc/pmap_clnt.h: Likewise.
50469 * include/rpc/pmap_prot.h: Likewise.
50470 * include/rpc/pmap_rmt.h: Likewise.
50471 * include/rpc/rpc_msg.h: Likewise.
50472 * include/rpc/svc.h: Likewise.
50473 * include/rpc/svc_auth.h: Likewise.
50474 * include/rpc/xdr.h: Likewise.
50475 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50476 * nss/Makefile: Likewise.
50477 * sunrpc/Makefile: Don't install headers. Build library with normal
50478 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50479 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50480 for the compat linking library. Remove use of INTDEF/INTUSE.
50481 * sunrpc/auth_none.c: Likewise.
50482 * sunrpc/auth_unix.c: Likewise.
50483 * sunrpc/authdes_prot.c: Likewise.
50484 * sunrpc/authuxprot.c: Likewise.
50485 * sunrpc/clnt_gen.c: Likewise.
50486 * sunrpc/clnt_perr.c: Likewise.
50487 * sunrpc/clnt_raw.c: Likewise.
50488 * sunrpc/clnt_simp.c: Likewise.
50489 * sunrpc/clnt_tcp.c: Likewise.
50490 * sunrpc/clnt_udp.c: Likewise.
50491 * sunrpc/clnt_unix.c: Likewise.
50492 * sunrpc/des_crypt.c: Likewise.
50493 * sunrpc/des_soft.c: Likewise.
50494 * sunrpc/get_myaddr.c: Likewise.
50495 * sunrpc/key_call.c: Likewise.
50496 * sunrpc/key_prot.c: Likewise.
50497 * sunrpc/netname.c: Likewise.
50498 * sunrpc/pm_getmaps.c: Likewise.
50499 * sunrpc/pm_getport.c: Likewise.
50500 * sunrpc/pmap_clnt.c: Likewise.
50501 * sunrpc/pmap_prot.c: Likewise.
50502 * sunrpc/pmap_prot2.c: Likewise.
50503 * sunrpc/pmap_rmt.c: Likewise.
50504 * sunrpc/publickey.c: Likewise.
50505 * sunrpc/rpc_cmsg.c: Likewise.
50506 * sunrpc/rpc_common.c: Likewise.
50507 * sunrpc/rpc_dtable.c: Likewise.
50508 * sunrpc/rpc_prot.c: Likewise.
50509 * sunrpc/rpc_thread.c: Likewise.
50510 * sunrpc/rtime.c: Likewise.
50511 * sunrpc/svc.c: Likewise.
50512 * sunrpc/svc_auth.c: Likewise.
50513 * sunrpc/svc_authux.c: Likewise.
50514 * sunrpc/svc_raw.c: Likewise.
50515 * sunrpc/svc_run.c: Likewise.
50516 * sunrpc/svc_simple.c: Likewise.
50517 * sunrpc/svc_tcp.c: Likewise.
50518 * sunrpc/svc_udp.c: Likewise.
50519 * sunrpc/svc_unix.c: Likewise.
50520 * sunrpc/svcauth_des.c: Likewise.
50521 * sunrpc/xcrypt.c: Likewise.
50522 * sunrpc/xdr.c: Likewise.
50523 * sunrpc/xdr_array.c: Likewise.
50524 * sunrpc/xdr_float.c: Likewise.
50525 * sunrpc/xdr_intXX_t.c: Likewise.
50526 * sunrpc/xdr_mem.c: Likewise.
50527 * sunrpc/xdr_rec.c: Likewise.
50528 * sunrpc/xdr_ref.c: Likewise.
50529 * sunrpc/xdr_sizeof.c: Likewise.
50530 * sunrpc/xdr_stdio.c: Likewise.
50532 2011-04-10 Ulrich Drepper <drepper@gmail.com>
50535 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50536 * sysdeps/ia64/dl-tls.h: Likewise.
50537 * sysdeps/powerpc/dl-tls.h: Likewise.
50538 * sysdeps/s390/dl-tls.h: Likewise.
50539 * sysdeps/sh/dl-tls.h: Likewise.
50540 * sysdeps/sparc/dl-tls.h: Likewise.
50541 * sysdeps/x86_64/dl-tls.h: Likewise.
50542 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50544 2011-03-14 Andreas Schwab <schwab@redhat.com>
50546 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50547 rpath element also skip the following colon.
50548 (expand_dynamic_string_token): Add is_path parameter and pass
50549 down to DL_DST_REQUIRED and _dl_dst_substitute.
50550 (decompose_rpath): Call expand_dynamic_string_token with
50551 non-zero is_path. Ignore empty rpaths.
50552 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50555 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50560 2011-04-09 Ulrich Drepper <drepper@gmail.com>
50563 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50564 Patch by Filipe David Manana <fdmanana@apache.org>.
50566 2011-04-07 Andreas Schwab <schwab@redhat.com>
50568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50569 Maintain aligned stack.
50570 (CHECK_RSP): Remove unused macro.
50572 2011-04-03 Ulrich Drepper <drepper@gmail.com>
50574 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50575 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50577 2011-04-02 Ulrich Drepper <drepper@gmail.com>
50579 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50581 * include/features.h: Mention __USE_XOPEN2K8 in comment.
50583 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50586 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50587 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50588 * sysdeps/x86_64/memmove.c: New file.
50589 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50590 (memcpy): Renamed to ...
50591 (__new_memcpy): This.
50592 (memcpy): Provide GLIBC_2_14 memcpy.
50593 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50594 (memcpy): Provide GLIBC_2_2_5 memcpy.
50596 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50599 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50601 2011-03-30 Andreas Schwab <schwab@redhat.com>
50603 * misc/syncfs.c: New file.
50604 * misc/Makefile (routines): Add syncfs.
50605 * posix/unistd.h: Declare syncfs.
50606 * sysdeps/unix/syscalls.list: Add syncfs.
50608 2011-04-01 Andreas Schwab <schwab@redhat.com>
50610 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50613 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50615 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50617 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50620 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50624 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50630 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50631 sync_file_range.c with -fexceptions.
50632 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50633 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50634 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50635 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50636 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50637 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50639 sync_file_range as cancellation point
50640 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50641 now a wrapper around __call_sync_file_range with cancellation handling.
50642 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50643 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50644 function name to __call_sync_file_range.
50645 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50646 Add call_sync_file_range.
50648 2011-04-01 Andreas Schwab <schwab@redhat.com>
50650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50653 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50655 * iconv/iconv.h: Fix typo in comment.
50656 * io/fcntl.h: Likewise.
50657 * libio/stdio.h: Likewise.
50658 * posix/spawn.h: Likewise.
50659 * posix/unistd.h: Likewise.
50660 * stdlib/stdlib.h: Likewise.
50661 * time/time.h: Likewise.
50662 * wcsmbs/wchar.h: Likewise.
50664 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50665 open_by_handle): Add.
50666 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50667 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50668 Augment a few comments.
50669 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50671 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50672 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50674 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50677 * io/fcntl.h (AT_EMPTY_PATH): Define.
50679 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50681 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50682 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50683 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50685 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50686 * Versions.def: Add GLIBC_2.14.
50687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50690 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50692 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50694 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50696 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50699 * string/test-strncmp.c (do_page_test): New function.
50700 (check2): Likewise.
50701 (test_main): Call check2.
50702 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50704 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50707 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50708 Handle cache information in CPU leaf 4.
50709 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50711 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50714 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50715 character representation.
50716 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50718 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50720 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50721 END(__isnan) to END(__isnanf) to match function entry point/label
50722 EALIGN(__isnanf,...).
50724 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50726 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50728 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50731 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50732 copy from the symbol referenced in the relocation to initialize the
50734 Patch by Piotr Bury <pbury@goahead.com>.
50735 * elf/Makefile: Add rules to build and tst-unique3.
50736 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50737 * elf/tst-unique3.cc: New file.
50738 * elf/tst-unique3.h: New file.
50739 * elf/tst-unique3lib.cc: New file.
50740 * elf/tst-unique3lib2.cc: New file.
50742 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50744 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50746 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50747 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50750 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50752 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50753 to-be-loaded object along a path to loader is ld.so.
50755 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50756 Ulrich Drepper <drepper@gmail.com>
50758 * sysdeps/x86_64/memset.S: After aligning destination, code
50759 branches to different locations depending on the value of
50760 misalignment, when multiarch is enabled. Fix this.
50762 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50764 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50765 Set _x86_64_preferred_memory_instruction for AMD processsors.
50766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50767 Set bit_Prefer_SSE_for_memop for AMD processors.
50769 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50771 * libio/fmemopen.c (fmemopen): Optimize a bit.
50773 2011-03-03 Andreas Schwab <schwab@redhat.com>
50775 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50777 2011-03-03 Roland McGrath <roland@redhat.com>
50779 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50781 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50783 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50784 __bzero_ultra1 instead of __memset_ultra1.
50786 2011-02-23 Andreas Schwab <schwab@redhat.com>
50787 Ulrich Drepper <drepper@gmail.com>
50790 * include/link.h (struct link_map): Add l_orig_initfini.
50791 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50792 returning unsuccessfully.
50793 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50794 close of a file loaded at startup, restore the original l_initfini
50796 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50797 list, store the pointer.
50798 * elf/Makefile ($(objpfx)noload-mem): New rule.
50799 (noload-ENV): Define.
50800 (tests): Add $(objpfx)noload-mem.
50801 * elf/noload.c: Include <memcheck.h>.
50802 (main): Call mtrace. Close all opened handles.
50804 2011-02-17 Andreas Schwab <schwab@redhat.com>
50807 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50808 dependencies are missing.
50810 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50812 Fix __if_freereq crash: Unlike the generic version which uses free,
50814 * sysdeps/mach/hurd/ifreq.h: New file.
50816 2011-01-27 Petr Baudis <pasky@suse.cz>
50817 Ulrich Drepper <drepper@gmail.com>
50820 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50821 to extend_alloca().
50822 * stdio-common/bug23.c: New file.
50823 * stdio-common/Makefile (tests): Add bug23.
50825 2010-09-28 Andreas Schwab <schwab@redhat.com>
50826 Ulrich Drepper <drepper@gmail.com>
50829 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50830 before performing relro protection. At old place add assertion
50831 to make sure nothing changed.
50833 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50834 Glauber de Oliveira Costa <glommer@gmail.com>
50836 * elf/elf.h: Add new ARM TLS relocs.
50838 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50841 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50843 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50845 * sysdeps/wordsize-64/tst-writev.c: New file.
50847 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50849 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50850 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50851 insns in _dl_start to prevent a TOC reference before relocs are
50854 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50857 * Makeconfig: Remove RANLIB definition.
50858 * Makerules: Don't use RANLIB.
50859 * aclocal.m4: Remove ranlib test.
50860 * configure.in: No need to check for ranlib.
50861 * elf/rtld-Rules: Don't use RANLIB.
50863 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50865 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50867 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50868 inclusion protection macro.
50870 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50871 SIGRTMIN and SIGRTMAX and print information in that case only when
50872 SIGRTMIN is defined.
50874 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50876 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50877 arginfo fn returning -1.
50879 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50880 and thousands string is zero terminated.
50882 2011-02-03 Andreas Schwab <schwab@redhat.com>
50884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50885 sysdeps/unix/sysv/linux/bits/socket.h.
50887 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50889 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50890 (__CPU_COUNT): Remove old macros.
50891 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50892 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50893 (__CPU_ALLOC, __CPU_FREE): Add macros.
50894 (__sched_cpualloc, __sched_cpufree): Add declarations.
50896 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50898 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50899 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50900 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50901 (readdhstai): Return value of addhstaiX call.
50902 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50903 (addgrbyX): Return value returned by cache_addgr.
50904 (readdgrbyname): Return value returned by addgrbyX.
50905 (readdgrbygid): Likewise.
50906 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50907 (addpwbyX): Return value returned by cache_addpw.
50908 (readdpwbyname): Return value returned by addhstbyX.
50909 (readdpwbyuid): Likewise.
50910 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50911 (addservbyX): Return value returned by cache_addserv.
50912 (readdservbyname): Return value returned by addservbyX:
50913 (readdservbyport): Likewise.
50914 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50915 (addhstbyX): Return value returned by cache_addhst.
50916 (readdhstbyname): Return value returned by addhstbyX.
50917 (readdhstbyaddr): Likewise.
50918 (readdhstbynamev6): Likewise.
50919 (readdhstbyaddrv6): Likewise.
50920 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50921 (readdinitgroups): Return value returned by addinitgroupsX.
50922 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50923 (prune_cache): Keep track of timeout value of re-added entries.
50924 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50925 * nscd/nscd.h: Adjust prototypes of readd* functions.
50927 2011-02-04 Roland McGrath <roland@redhat.com>
50929 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50930 (nis_stats): Likewise.
50931 * nis/nis_modify.c (nis_modify): Likewise.
50932 * nis/nis_remove.c (nis_remove): Likewise.
50933 * nis/nis_add.c (nis_add): Likewise.
50935 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50937 * posix/fnmatch_loop.c: Add some consts.
50939 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50941 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50944 * config.make.in (config-cflags-novzeroupper): Define.
50945 * configure.in: Substitute libc_cv_cc_novzeroupper.
50946 * elf/Makefile (AVX-CFLAGS): Define.
50947 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50948 (CFLAGS-tst-auditmod4a.c): Likewise.
50949 (CFLAGS-tst-auditmod4b.c): Likewise.
50950 (CFLAGS-tst-auditmod6b.c): Likewise.
50951 (CFLAGS-tst-auditmod6c.c): Likewise.
50952 (CFLAGS-tst-auditmod7b.c): Likewise.
50953 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50955 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50957 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50958 function to the callback.
50959 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50961 2011-02-02 Andreas Schwab <schwab@redhat.com>
50963 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50966 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50969 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50971 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50973 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50976 * elf/Makefile: Add rules to build and run new test.
50977 * elf/tst-initorder.c: New file.
50978 * elf/tst-initorder.exp: New file.
50979 * elf/tst-initordera1.c: New file.
50980 * elf/tst-initordera2.c: New file.
50981 * elf/tst-initordera3.c: New file.
50982 * elf/tst-initordera4.c: New file.
50983 * elf/tst-initorderb1.c: New file.
50984 * elf/tst-initorderb2.c: New file.
50985 * elf/tst-order-a1.c: New file.
50986 * elf/tst-order-a2.c: New file.
50987 * elf/tst-order-a3.c: New file.
50988 * elf/tst-order-a4.c: New file.
50989 * elf/tst-order-b1.c: New file.
50990 * elf/tst-order-b2.c: New file.
50991 * elf/tst-order-main.c: New file.
50992 New test case by George Gensure <werkt0@gmail.com>.
50994 2010-10-01 Andreas Schwab <schwab@redhat.com>
50996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50997 decoding ACE if AI_CANONIDN.
50999 2011-01-18 Ulrich Drepper <drepper@gmail.com>
51001 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51003 2011-01-17 Ulrich Drepper <drepper@gmail.com>
51005 * version.h (RELEASE): Bump for 2.13 release.
51006 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51008 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51010 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51012 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51014 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51015 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51016 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51017 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51019 * posix/getconf.c: Update copyright year.
51020 * catgets/gencat.c: Likewise.
51021 * csu/version.c: Likewise.
51022 * debug/catchsegv.sh: Likewise.
51023 * debug/xtrace.sh: Likewise.
51024 * elf/ldconfig.c: Likewise.
51025 * elf/ldd.bash.in: Likewise.
51026 * elf/sprof.c (print_version): Likewise.
51027 * iconv/iconv_prog.c: Likewise.
51028 * iconv/iconvconfig.c: Likewise.
51029 * locale/programs/locale.c: Likewise.
51030 * locale/programs/localedef.c: Likewise.
51031 * malloc/memusage.sh: Likewise.
51032 * malloc/mtrace.pl: Likewise.
51033 * nscd/nscd.c (print_version): Likewise.
51034 * nss/getent.c: Likewise.
51036 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51037 PF_CAIF, and PF_ALG.
51038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51040 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51042 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51043 (modules-names): Use them.
51044 (ifunc-test-modules, ifunc-pie-tests): Define.
51045 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51046 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51047 (test-extras): Likewise.
51048 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51049 $(compile-command.c).
51050 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51051 (all-built-dso): Define.
51052 (check-textrel.out, check-execstack.out): Depend on it.
51054 * configure.in: Don't override --enable-multi-arch.
51056 2011-01-15 Ulrich Drepper <drepper@gmail.com>
51059 * nscd/hstcache.c (tryagain): Define.
51060 (cache_addhst): Return tryagain not notfound for temporary errors.
51061 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51064 2011-01-14 Ulrich Drepper <drepper@gmail.com>
51067 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51068 to make the syscall.
51069 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51072 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51073 and fall back to matching as normal character if the string ends before
51074 the matching ']' is found. This is what POSIX requires.
51075 * posix/testfnm.c: Adjust test result.
51076 * posix/globtest.sh: Adjust test result. Add new test.
51077 * posix/tst-fnmatch.input: Likewise.
51078 * posix/tst-fnmatch2.c: Add new test.
51080 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51082 * elf/Makefile (check-execstack): Revert last change. Depend on
51084 (check-execstack.h): New target.
51085 (generated): Add check-execstack.h.
51086 * elf/check-execstack.c: Include "check-execstack.h".
51087 (main): Revert last change.
51088 (handle_file): Return zero if GNU_STACK is absent and
51089 DEFAULT_STACK_PERMS doesn't include PF_X.
51091 2011-01-13 Ulrich Drepper <drepper@gmail.com>
51093 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51094 in child fails because the descriptor is already closed.
51095 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51096 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51097 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51100 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51104 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51105 temporary buffer used to handle multi lookups locally.
51106 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51108 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51110 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51113 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51115 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51116 alignment for SSE2.
51118 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51121 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51122 characters. When rounding increased number of integer digits recompute
51124 * stdio-common/tst-grouping.c: New file.
51125 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51127 2011-01-09 Ulrich Drepper <drepper@gmail.com>
51129 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51130 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51132 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51134 * bits/select.h: Likewise.
51136 2011-01-08 Ulrich Drepper <drepper@gmail.com>
51138 * po/ja.po: Update from translation team.
51140 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
51143 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51144 implementation just like for lxstat, fxstatat, et al.
51146 2010-12-27 Jim Meyering <meyering@redhat.com>
51149 * posix/regexec.c (build_trtable): Return failure indication upon
51150 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51152 2010-12-25 Ulrich Drepper <drepper@gmail.com>
51155 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51156 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51157 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51158 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51161 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51164 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51165 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51167 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51169 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51170 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51171 script has SORT_BY_INIT_PRIORITY.
51172 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51173 NO_CTORS_DTORS_SECTIONS is defined.
51174 * elf/soinit.c: Likewise.
51175 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51176 NO_CTORS_DTORS_SECTIONS is defined.
51177 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51178 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51179 * sysdeps/sh/init-first.c: Likewise.
51180 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51182 2010-12-24 Ulrich Drepper <drepper@gmail.com>
51184 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51185 always use the slow path.
51187 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51189 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51190 similar rule which adds the sysdep directories to the header search in
51191 order to pick up the correct platform stackinfo.h.
51192 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51193 perform test if it is, otherwise return successfully without testing.
51194 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51195 DEFAULT_STACK_PERMS define in stackinfo.h.
51196 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51197 defined in stackinfo.h.
51198 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51199 DEFAULT_STACK_PERMS defined in stackinfo.h.
51200 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51201 * sysdeps/ia64/stackinfo.h: Likewise.
51202 * sysdeps/s390/stackinfo.h: Likewise.
51203 * sysdeps/sh/stackinfo.h: Likewise.
51204 * sysdeps/sparc/stackinfo.h: Likewise.
51205 * sysdeps/x86_64/stackinfo.h: Likewise.
51206 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51207 PF_X for powerpc64. Retain PF_X for powerpc32.
51209 2010-12-19 Ulrich Drepper <drepper@gmail.com>
51211 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51213 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51214 GETDENTS_64BIT_ALIGNED.
51216 2010-12-14 Ulrich Drepper <dreper@gmail.com>
51218 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51220 2010-12-10 Andreas Schwab <schwab@redhat.com>
51222 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51225 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51226 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51228 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51229 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51231 2010-12-09 Ulrich Drepper <drepper@gmail.com>
51234 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51237 2010-12-09 Jakub Jelinek <jakub@redhat.com>
51239 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51241 2010-12-03 Ulrich Drepper <drepper@gmail.com>
51243 * po/it.po: Update from translation team.
51245 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51250 2010-11-30 Ulrich Drepper <drepper@gmail.com>
51252 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51254 2010-11-24 Andreas Schwab <schwab@redhat.com>
51256 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51258 (gaih_getanswer_slice): Likewise.
51260 2010-10-20 Jakub Jelinek <jakub@redhat.com>
51262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51264 2010-05-31 Petr Baudis <pasky@suse.cz>
51267 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51268 silently even in the chroot mode.
51270 2010-11-22 Ulrich Drepper <drepper@gmail.com>
51272 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51273 last patch a bit. Pretty printing
51275 2010-05-31 Petr Baudis <pasky@suse.cz>
51278 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51279 initialization of skip_initgroups_dyn.
51281 2010-11-19 Ulrich Drepper <drepper@gmail.com>
51283 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51284 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51286 2010-11-16 Ulrich Drepper <drepper@gmail.com>
51288 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51290 2010-11-11 Andreas Schwab <schwab@redhat.com>
51292 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51293 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51294 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51295 ($(objpfx)tst-fnmatch-mem): New rule.
51296 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51297 * posix/tst-fnmatch.c (main): Call mtrace.
51299 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51302 Support Intel processor model 6 and model 0x2c.
51304 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
51306 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51309 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51312 * string/test-strncasecmp.c (check_result): New function.
51313 (do_one_test): Use it.
51314 (check1): New function.
51315 (test_main): Use it.
51316 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51317 Support strcasecmp and strncasecmp.
51319 2010-11-08 Ulrich Drepper <drepper@gmail.com>
51322 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51323 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51325 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51327 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51331 * sysdeps/x86_64/multiarch/bzero.S: New file.
51332 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51333 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51334 * sysdeps/x86_64/multiarch/memset.S: New file.
51335 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51337 Set bit_Prefer_SSE_for_memop for Intel processors.
51338 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51340 (index_Prefer_SSE_for_memop): Define.
51341 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51343 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
51345 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51346 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51348 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51351 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51352 (__x86_64_raw_data_cache_size_half): Likewise.
51353 (__x86_64_raw_shared_cache_size): Likewise.
51354 (__x86_64_raw_shared_cache_size_half): Likewise.
51356 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51357 (__x86_64_raw_data_cache_size_half): Likewise.
51358 (__x86_64_raw_shared_cache_size): Likewise.
51359 (__x86_64_raw_shared_cache_size_half): Likewise.
51360 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51361 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51362 and __x86_64_raw_shared_cache_size_half. Round
51363 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51364 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51365 to multiple of 256 bytes.
51367 2010-11-03 Ulrich Drepper <drepper@gmail.com>
51370 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51371 of inacessible symlinks. Verify result of symlink before returning it.
51372 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51373 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51375 2010-10-28 Erich Ritz <erichritz@gmail.com>
51377 * math/math.h (isinf): Fix typo in comment.
51379 2010-11-01 Ulrich Drepper <drepper@gmail.com>
51381 * po/da.po: Update from translation team.
51383 2010-10-26 Ulrich Drepper <drepper@gmail.com>
51385 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51386 is added to the list.
51388 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51389 Ulrich Drepper <drepper@gmail.com>
51391 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51392 the global list here. Move code to...
51393 (_dl_add_to_namespace_list): ...here. New function.
51394 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51395 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51396 * elf/dl-load.c (lose): Don't remove the element from the list.
51397 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51398 (_dl_map_object): Likewise.
51400 2010-10-25 Ulrich Drepper <drepper@gmail.com>
51403 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51404 into all bytes of SSE register.
51405 Patch by Richard Li <richardpku@gmail.com>.
51407 2010-10-24 Ulrich Drepper <drepper@gmail.com>
51410 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51413 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51415 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51416 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51417 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51418 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51423 2010-10-22 Andreas Schwab <schwab@redhat.com>
51425 * include/dlfcn.h (__RTLD_SECURE): Define.
51426 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51427 mode & __RTLD_SECURE instead.
51428 (open_path): Rename preloaded parameter to secure.
51429 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51430 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51431 * elf/dl-deps.c (openaux): Likewise.
51432 * elf/rtld.c (struct map_args): Remove is_preloaded.
51433 (map_doit): Don't use it.
51434 (dl_main): Likewise.
51435 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51436 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51438 2010-09-09 Andreas Schwab <schwab@redhat.com>
51440 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51441 (sysd-rules-targets): Remove duplicates.
51442 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51443 rtld-%.$o dependency.
51445 2010-10-18 Andreas Schwab <schwab@redhat.com>
51447 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51448 _dl_map_object do it.
51450 2010-10-19 Ulrich Drepper <drepper@gmail.com>
51452 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51453 fast fma builtins, define the macros in the C99 standard.
51454 (FP_FAST_FMAF): Likewise.
51455 (FP_FAST_FMAL): Likewise.
51456 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51458 * bits/mathdef.h: Update copyright year.
51459 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51461 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51463 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51464 builtins, define the macros in the C99 standard.
51465 (FP_FAST_FMAF): Likewise.
51466 (FP_FAST_FMAL): Likewise.
51467 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51469 (FP_FAST_FMAF): Likewise.
51471 2010-10-15 Jakub Jelinek <jakub@redhat.com>
51474 * math/libm-test.inc (fma_test): Some new testcases.
51475 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51476 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51477 y and infinite z. Do multiplication by C already in long double.
51478 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51480 y and infinite z. Do bitwise or of inexact bit into u.d.
51481 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51482 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51483 * sysdeps/i386/fpu/s_fma.S: Removed.
51484 * sysdeps/i386/fpu/s_fmal.S: Removed.
51486 2010-10-16 Jakub Jelinek <jakub@redhat.com>
51489 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51491 computation is not scheduled after fetestexcept. Fix value
51492 of minimum denormal long double.
51494 2010-10-14 Jakub Jelinek <jakub@redhat.com>
51497 * math/libm-test.inc (fma_test): Add some more tests.
51498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51501 2010-10-15 Andreas Schwab <schwab@redhat.com>
51503 * scripts/data/localplt-s390-linux-gnu.data: New file.
51504 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51506 2010-10-13 Jakub Jelinek <jakub@redhat.com>
51509 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51510 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51512 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51514 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51516 if one of x and y is very large and the other is subnormal.
51517 * sysdeps/s390/fpu/s_fmaf.c: New file.
51518 * sysdeps/s390/fpu/s_fma.c: New file.
51519 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51520 * sysdeps/powerpc/fpu/s_fma.S: New file.
51521 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51522 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51523 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51525 2010-10-12 Jakub Jelinek <jakub@redhat.com>
51528 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51531 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51532 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51533 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51534 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51535 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51536 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51538 2010-10-12 Ulrich Drepper <drepper@redhat.com>
51541 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51542 * posix/bug-regex31.input: Add test case.
51544 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51546 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51547 * posix/bug-regex31.input: New file.
51550 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51551 (parse_sub_exp): Fix last change, use postorder.
51553 * posix/bug-regex31.c: New file.
51554 * posix/Makefile: Add rules to build and run bug-regex31.
51556 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51559 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51562 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51563 to have entries in sys_siglist.
51566 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51569 2010-10-07 Jakub Jelinek <jakub@redhat.com>
51572 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51573 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51574 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51575 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51576 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51577 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51578 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51579 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51580 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51581 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51582 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51583 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51584 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51585 * math/ftestexcept.c (fetestexcept): Likewise.
51586 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51587 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51588 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51589 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51590 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51591 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51592 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51594 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51597 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51600 2010-10-06 Ulrich Drepper <drepper@gmail.com>
51602 * string/bug-strstr1.c: New file.
51603 * string/Makefile: Add rules to build and run bug-strstr1.
51605 2010-10-05 Eric Blake <eblake@redhat.com>
51608 * string/str-two-way.h (two_way_long_needle): Always clear memory
51609 when skipping input due to the shift table.
51611 2010-10-03 Ulrich Drepper <drepper@gmail.com>
51614 * malloc/mcheck.c: Handle large requests.
51617 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51618 for strncmp and strncasecmp.
51619 * string/stratcliff.c: Add tests for strcmp and strncmp.
51620 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51622 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51624 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51627 2010-09-30 Andreas Jaeger <aj@suse.de>
51629 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51630 (CGROUP_SUPER_MAGIC): Define.
51631 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51632 Handle btrfs and cgroup file systems.
51633 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51636 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
51638 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51639 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51641 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51644 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51645 trying to locate the ELF header.
51647 2010-09-27 Andreas Schwab <schwab@redhat.com>
51650 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51651 Mask out sign-bit copies when constructing f_fsid.
51653 2010-09-24 Petr Baudis <pasky@suse.cz>
51655 * debug/stack_chk_fail_local.c: Add missing licence exception.
51656 * debug/warning-nop.c: Likewise.
51658 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51660 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51661 implementing getdents64 using getdents syscall, set d_type if
51662 __ASSUME_GETDENTS32_D_TYPE.
51664 2010-09-16 Andreas Schwab <schwab@redhat.com>
51666 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51667 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51669 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51672 * posix/unistd.h: Undo change of feature selection for ftruncate from
51675 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51677 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51680 2010-09-20 Andreas Schwab <schwab@redhat.com>
51682 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51684 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51686 2010-09-14 Andreas Schwab <schwab@redhat.com>
51688 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51689 variables after CHECK_SP call.
51690 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51692 2010-09-13 Andreas Schwab <schwab@redhat.com>
51693 Ulrich Drepper <drepper@redhat.com>
51695 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51696 re-relocationg ld.so.
51697 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51698 _dl_init_paths call.
51699 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51702 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51704 * resolv/res_init.c (__res_vinit): Count the default server we added.
51706 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51707 Ulrich Drepper <drepper@redhat.com>
51710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51711 (____longjmp_chk): Use %ebx for saving value across system call.
51714 2010-09-06 Andreas Schwab <schwab@redhat.com>
51716 * manual/Makefile: Don't mix pattern rules with normal rules.
51718 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51720 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51722 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51723 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51724 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51725 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51726 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51729 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51732 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51733 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51735 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51737 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51738 * sysdeps/x86_64/addmul_1.S: Likewise.
51739 * sysdeps/x86_64/lshift.S: Likewise.
51740 * sysdeps/x86_64/mul_1.S: Likewise.
51741 * sysdeps/x86_64/rshift.S: Likewise.
51742 * sysdeps/x86_64/sub_n.S: Likewise.
51743 * sysdeps/x86_64/submul_1.S: Likewise.
51745 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51747 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51748 Define __sched_param instead of SCHED_* and sched_param when
51749 <bits/sched.h> is included with __need_schedparam defined.
51750 * bits/sched.h [__need_schedparam]
51751 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51752 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51753 (__defined_schedparam): Define to 1.
51754 (__sched_param): New structure, identical to sched_param.
51755 (__need_schedparam): Undefine.
51757 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51759 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51760 (epoll_create1): Declare.
51762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51764 2010-08-31 Andreas Schwab <schwab@redhat.com>
51767 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51768 shifting retval into place.
51770 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51772 * nis/rpcsvc/nis.h: Update copyright notice.
51773 * nis/rpcsvc/nis.x: Likewise.
51774 * nis/rpcsvc/nis_callback.h: Likewise.
51775 * nis/rpcsvc/nis_callback.x: Likewise.
51776 * nis/rpcsvc/nis_object.x: Likewise.
51777 * nis/rpcsvc/nis_tags.h: Likewise.
51778 * nis/rpcsvc/yp.h: Likewise.
51779 * nis/rpcsvc/yp.x: Likewise.
51780 * nis/rpcsvc/ypupd.h: Likewise.
51781 * nis/yp_xdr.c: Likewise.
51782 * nis/ypupdate_xdr.c: Likewise.
51784 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51785 mainly the body of pmap_getport. Add parameters to specify timeouts.
51786 (pmap_getport): Use __libc_rpc_getport.
51787 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51788 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51789 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51791 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51796 2010-08-27 Roland McGrath <roland@redhat.com>
51798 * sysdeps/i386/i686/multiarch/Makefile
51799 (CFLAGS-varshift.c): New variable.
51801 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51803 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51804 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51806 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51808 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51810 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51812 * sysdeps/x86_64/strlen.S: Unroll the loop.
51813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51814 strlen-sse2 strlen-sse2-bsf.
51815 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51816 __strlen_no_bsf if bit_Slow_BSF is set.
51817 (__strlen_sse42): Removed.
51818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51819 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51821 2010-08-25 Roland McGrath <roland@redhat.com>
51823 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51824 * sysdeps/x86_64/multiarch/varshift.c: New file.
51825 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51826 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51827 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51828 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51830 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51832 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51833 strlen-sse2 strlen-sse2-bsf.
51834 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51835 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51836 (__strlen_sse2): Removed.
51837 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51838 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51840 bit_Slow_BSF for Atom.
51841 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51842 (index_Slow_BSF): Define.
51843 (HAS_SLOW_BSF): Define.
51845 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51848 * resolv/res_init.c (__res_vinit): When no server address at all
51849 is given default to loopback.
51851 2010-08-24 Roland McGrath <roland@redhat.com>
51853 * configure.in: Remove config-name.h generation.
51854 * configure: Regenerated.
51855 * config-name.in: File removed.
51856 * scripts/config-uname.sh: New file.
51857 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51858 ($(objdir)config-name.h): New target.
51860 * sunrpc/rpc_parse.h: Avoid nested comment.
51862 2010-08-24 Richard Henderson <rth@redhat.com>
51863 Ulrich Drepper <drepper@redhat.com>
51864 H.J. Lu <hongjiu.lu@intel.com>
51866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51868 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51869 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51870 _mm_alignr_epi8 with _mm_loadu_si128.
51871 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51872 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51873 (__m128i_shift_right): Removed.
51874 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51875 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51876 * sysdeps/x86_64/multiarch/varshift.h: New file.
51877 * sysdeps/x86_64/multiarch/varshift.S: New file.
51879 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51881 * configure.in: Move assembler checks to before sysdep dir checking.
51883 2010-08-20 Petr Baudis <pasky@suse.cz>
51885 * LICENSES: Sync the sunrpc license.
51887 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51889 * sunrpc/auth_des.c: Update copyright notice once again.
51890 * sunrpc/auth_none.c: Likewise.
51891 * sunrpc/auth_unix.c: Likewise.
51892 * sunrpc/authdes_prot.c: Likewise.
51893 * sunrpc/authuxprot.c: Likewise.
51894 * sunrpc/bindrsvprt.c: Likewise.
51895 * sunrpc/clnt_gen.c: Likewise.
51896 * sunrpc/clnt_perr.c: Likewise.
51897 * sunrpc/clnt_raw.c: Likewise.
51898 * sunrpc/clnt_simp.c: Likewise.
51899 * sunrpc/clnt_tcp.c: Likewise.
51900 * sunrpc/clnt_udp.c: Likewise.
51901 * sunrpc/clnt_unix.c: Likewise.
51902 * sunrpc/des_crypt.c: Likewise.
51903 * sunrpc/des_soft.c: Likewise.
51904 * sunrpc/get_myaddr.c: Likewise.
51905 * sunrpc/getrpcport.c: Likewise.
51906 * sunrpc/key_call.c: Likewise.
51907 * sunrpc/key_prot.c: Likewise.
51908 * sunrpc/openchild.c: Likewise.
51909 * sunrpc/pm_getmaps.c: Likewise.
51910 * sunrpc/pm_getport.c: Likewise.
51911 * sunrpc/pmap_clnt.c: Likewise.
51912 * sunrpc/pmap_prot.c: Likewise.
51913 * sunrpc/pmap_prot2.c: Likewise.
51914 * sunrpc/pmap_rmt.c: Likewise.
51915 * sunrpc/rpc/auth.h: Likewise.
51916 * sunrpc/rpc/auth_unix.h: Likewise.
51917 * sunrpc/rpc/clnt.h: Likewise.
51918 * sunrpc/rpc/des_crypt.h: Likewise.
51919 * sunrpc/rpc/key_prot.h: Likewise.
51920 * sunrpc/rpc/netdb.h: Likewise.
51921 * sunrpc/rpc/pmap_clnt.h: Likewise.
51922 * sunrpc/rpc/pmap_prot.h: Likewise.
51923 * sunrpc/rpc/pmap_rmt.h: Likewise.
51924 * sunrpc/rpc/rpc.h: Likewise.
51925 * sunrpc/rpc/rpc_des.h: Likewise.
51926 * sunrpc/rpc/rpc_msg.h: Likewise.
51927 * sunrpc/rpc/svc.h: Likewise.
51928 * sunrpc/rpc/svc_auth.h: Likewise.
51929 * sunrpc/rpc/types.h: Likewise.
51930 * sunrpc/rpc/xdr.h: Likewise.
51931 * sunrpc/rpc_clntout.c: Likewise.
51932 * sunrpc/rpc_cmsg.c: Likewise.
51933 * sunrpc/rpc_common.c: Likewise.
51934 * sunrpc/rpc_cout.c: Likewise.
51935 * sunrpc/rpc_dtable.c: Likewise.
51936 * sunrpc/rpc_hout.c: Likewise.
51937 * sunrpc/rpc_main.c: Likewise.
51938 * sunrpc/rpc_parse.c: Likewise.
51939 * sunrpc/rpc_parse.h: Likewise.
51940 * sunrpc/rpc_prot.c: Likewise.
51941 * sunrpc/rpc_sample.c: Likewise.
51942 * sunrpc/rpc_scan.c: Likewise.
51943 * sunrpc/rpc_scan.h: Likewise.
51944 * sunrpc/rpc_svcout.c: Likewise.
51945 * sunrpc/rpc_tblout.c: Likewise.
51946 * sunrpc/rpc_util.c: Likewise.
51947 * sunrpc/rpc_util.h: Likewise.
51948 * sunrpc/rpcinfo.c: Likewise.
51949 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51950 * sunrpc/rpcsvc/key_prot.x: Likewise.
51951 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51952 * sunrpc/rpcsvc/mount.x: Likewise.
51953 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51954 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51955 * sunrpc/rpcsvc/rex.x: Likewise.
51956 * sunrpc/rpcsvc/rstat.x: Likewise.
51957 * sunrpc/rpcsvc/rusers.x: Likewise.
51958 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51959 * sunrpc/rpcsvc/spray.x: Likewise.
51960 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51961 * sunrpc/rtime.c: Likewise.
51962 * sunrpc/svc.c: Likewise.
51963 * sunrpc/svc_auth.c: Likewise.
51964 * sunrpc/svc_authux.c: Likewise.
51965 * sunrpc/svc_raw.c: Likewise.
51966 * sunrpc/svc_run.c: Likewise.
51967 * sunrpc/svc_simple.c: Likewise.
51968 * sunrpc/svc_tcp.c: Likewise.
51969 * sunrpc/svc_udp.c: Likewise.
51970 * sunrpc/svc_unix.c: Likewise.
51971 * sunrpc/svcauth_des.c: Likewise.
51972 * sunrpc/xcrypt.c: Likewise.
51973 * sunrpc/xdr.c: Likewise.
51974 * sunrpc/xdr_array.c: Likewise.
51975 * sunrpc/xdr_float.c: Likewise.
51976 * sunrpc/xdr_mem.c: Likewise.
51977 * sunrpc/xdr_rec.c: Likewise.
51978 * sunrpc/xdr_ref.c: Likewise.
51979 * sunrpc/xdr_sizeof.c: Likewise.
51980 * sunrpc/xdr_stdio.c: Likewise.
51982 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51985 2010-08-19 Andreas Schwab <schwab@redhat.com>
51987 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51989 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51991 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51992 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51993 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51994 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51995 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51996 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51997 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51998 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51999 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52000 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52001 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52002 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52003 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52004 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52006 2010-07-26 Anton Blanchard <anton@samba.org>
52008 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52009 * malloc/arena.c (heap_trim): Likewise.
52011 2010-08-16 Ulrich Drepper <drepper@redhat.com>
52013 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52015 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52016 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52018 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52020 * sysdeps/i386/elf/Makefile: New file.
52022 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52024 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52025 from fanotify_init.
52026 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52029 2010-08-15 Ulrich Drepper <drepper@redhat.com>
52031 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52033 * sysdeps/multiarch/strcmp.S: Likewise.
52035 2010-08-14 Ulrich Drepper <drepper@redhat.com>
52037 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52038 strncase_l-nonascii.
52039 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52040 Add strncase_l-ssse3.
52041 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52042 * sysdeps/x86_64/strcmp.S: Likewise.
52043 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52044 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52045 * sysdeps/x86_64/strncase.S: New file.
52046 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52047 * sysdeps/x86_64/strncase_l.S: New file.
52048 * string/Makefile (strop-tests): Add strncasecmp.
52049 * string/test-strncasecmp.c: New file.
52051 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52054 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52055 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52057 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52059 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52061 2010-08-12 Ulrich Drepper <drepper@redhat.com>
52063 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52064 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52065 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52067 2010-05-01 Alan Modra <amodra@gmail.com>
52069 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52070 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52071 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52072 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52073 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52074 tidying. Don't tail-call __sigjmp_save for static lib.
52075 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52077 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52078 (CALL_MCOUNT): Add eh info, and nop after bl.
52079 (TAIL_CALL_SYSCALL_ERROR): New macro.
52080 (PSEUDO_RET): Use it.
52081 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52082 Correct save location of integer regs and cr.
52083 (_dl_profile_resolve): Correct cr save location. Delete nops
52084 after bl when SHARED. Reduce cfi size a little by better
52085 placement of cfi directives.
52086 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52087 make a stack frame. Instead use parm save area as a temp.
52088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52089 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52091 Don't make a stack frame for parent, use parm save area.
52092 Increase child stack frame to 112 bytes. Don't save unused reg,
52093 and adjust reg usage. Set up cfi on error recovery and
52094 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52096 (__makecontext): Add dummy nop after jump to exit.
52097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52098 Use correct parm save area and cr save, reduce stack frame.
52099 Correct cfi for possible PSEUDO_RET frame setup.
52100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52101 Branch to local label emitted by PSEUDO_RET rather than
52104 2010-08-12 Andreas Schwab <schwab@redhat.com>
52107 * locale/programs/locale.c (print_assignment): New function.
52108 (show_locale_vars): Use it.
52110 2010-08-11 Ulrich Drepper <drepper@redhat.com>
52112 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52114 (struct statfs64): Likewise.
52115 (_STATFS_F_FLAGS): Define.
52116 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52117 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52118 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52119 (ST_VALID): Define locally.
52120 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52121 __statvfs_getflags, use the provided value.
52122 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52123 __ASSUME_STATFS_F_FLAGS.
52125 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52127 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52128 Add sys/fanotify.h.
52129 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52130 fanotify_mask for GLIBC_2.13.
52131 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52132 fanotify_init and fanotify_mark.
52133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52134 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52136 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52138 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52139 prlimit64 for GLIBC_2.13.
52140 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52142 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52145 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52146 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52147 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52148 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52150 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52153 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52154 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52156 * nss/Makefile: Add rules to build and run tst-nss-test1.
52157 * shlib-versions: Add entry for libnss_test1.
52158 * nss/nss_test1.c: New file.
52159 * nss/tst-nss-test1.c: New file.
52161 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52162 (__nss_configure_lookup): Set appropriate entry in
52163 __nss_configure_lookup to true.
52164 * nss/nsswitch.h: Define enum with indeces of databases in
52165 databases and __nss_database_custom arrays. Declare
52166 __nss_database_custom.
52167 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52168 to avoid using nscd when custom rules are installed.
52169 * nss/getXXbyYY_r.c: Likewise.
52170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52172 * nss/nss_files/files-parse.c: Whitespace fixes.
52174 2010-08-09 Ulrich Drepper <drepper@redhat.com>
52177 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52178 * posix/fnmatch_loop.c: Likewise.
52180 2010-07-17 Andi Kleen <ak@linux.intel.com>
52182 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52183 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52184 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52185 * Versions.def [GLIBC_2.13]: Add.
52187 2010-08-06 Ulrich Drepper <drepper@redhat.com>
52189 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52190 Also fail if tpwd after pwuid call is NULL.
52192 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52194 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52195 when converting to ms.
52197 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52199 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52200 EOPNOTSUPP errors with ENOTTY.
52201 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52202 EOPNOTSUPP errors with ENOTTY.
52204 2010-07-31 Ulrich Drepper <drepper@redhat.com>
52206 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52207 Add strcasecmp_l-ssse3.
52208 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52210 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52211 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52212 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52214 2010-07-30 Ulrich Drepper <drepper@redhat.com>
52216 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52218 * string/Makefile (strop-tests): Add strcasecmp.
52219 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52220 strcasecmp_l-nonascii.
52221 (gen-as-const-headers): Add locale-defines.sym.
52222 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52223 * sysdeps/x86_64/strcasecmp.S: New file.
52224 * sysdeps/x86_64/strcasecmp_l.S: New file.
52225 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52226 * sysdeps/x86_64/locale-defines.sym: New file.
52227 * string/test-strcasecmp.c: New file.
52229 * string/test-strcasestr.c: Test both ends of the range of characters.
52230 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52232 2010-07-29 Roland McGrath <roland@redhat.com>
52235 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52237 2010-07-27 Ulrich Drepper <drepper@redhat.com>
52239 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52242 2010-07-27 Andreas Schwab <schwab@redhat.com>
52244 * manual/memory.texi (Malloc Tunable Parameters): Document
52247 2010-07-26 Roland McGrath <roland@redhat.com>
52250 * configure.in (-fgnu89-inline check): Set and substitute
52251 gnu89_inline, not libc_cv_gnu89_inline.
52252 * configure: Regenerated.
52253 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52255 2010-07-26 Ulrich Drepper <drepper@redhat.com>
52257 * string/test-strnlen.c: New file.
52258 * string/Makefile (strop-tests): Add strnlen.
52259 * string/tester.c (test_strnlen): Add a few more test cases.
52260 * string/tst-strlen.c: Better error reporting.
52262 * sysdeps/x86_64/strnlen.S: New file.
52264 2010-07-24 Ulrich Drepper <drepper@redhat.com>
52266 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52267 lower-latency instructions.
52269 2010-07-23 Ulrich Drepper <drepper@redhat.com>
52271 * string/test-strcasestr.c: New file.
52272 * string/test-strstr.c: New file.
52273 * string/Makefile (strop-tests): Add strstr and strcasestr.
52274 * string/str-two-way.h: Don't undefine MAX.
52275 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52277 2010-07-21 Andreas Schwab <schwab@redhat.com>
52279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52280 strcasestr-nonascii.
52281 (CFLAGS-strcasestr-nonascii.c): Define.
52282 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52283 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52284 Remove unused attribute.
52286 2010-07-20 Roland McGrath <roland@redhat.com>
52288 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52289 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52290 ld.so.cache was broken. With it, there is no way to disable dsocaps
52291 like LD_HWCAP_MASK can disable hwcaps.
52293 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52295 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52297 2010-07-16 Ulrich Drepper <drepper@redhat.com>
52299 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52300 call in strcasestr.
52301 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52302 __strcasestr_sse42_nonascii.
52303 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52304 strcasestr-nonascii.c.
52305 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52307 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
52309 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52310 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52311 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52312 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52314 2010-07-09 Ulrich Drepper <drepper@redhat.com>
52316 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52319 2010-07-06 Andreas Schwab <schwab@redhat.com>
52322 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52325 2010-07-06 Ulrich Drepper <drepper@redhat.com>
52327 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52328 _PC_PIPE_BUF using F_GETPIPE_SZ.
52330 2010-07-05 Roland McGrath <roland@redhat.com>
52332 * manual/arith.texi (Rounding Functions): Fix rint description
52333 implicit in round description.
52335 2010-07-02 Ulrich Drepper <drepper@redhat.com>
52337 * elf/Makefile: Fix linking for a few tests to make recent linker
52340 2010-06-30 Andreas Schwab <schwab@redhat.com>
52342 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52343 $(common-objpfx)libc_nonshared.a.
52345 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
52347 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52348 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52349 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52350 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52351 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52352 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52353 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52354 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52369 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52370 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52371 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52372 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52373 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52374 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52375 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52376 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52377 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52378 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52379 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52380 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52396 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52398 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52399 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52400 * string/memmove.c (memmove): Renamed to ...
52401 (MEMMOVE): ...this. Default to memmove.
52402 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52403 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52406 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52407 mempcpy-ssse3-back memmove-ssse3-back.
52408 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52409 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52411 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52412 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52413 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52414 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52415 * sysdeps/x86_64/multiarch/memmove.c: New file.
52416 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52417 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52418 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52419 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52420 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52423 (index_Fast_Copy_Backward): Define.
52424 (HAS_ARCH_FEATURE): Define.
52425 (HAS_FAST_REP_STRING): Define.
52426 (HAS_FAST_COPY_BACKWARD): Define.
52428 2010-06-21 Andreas Schwab <schwab@redhat.com>
52430 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52431 Restore proper fallback handling.
52433 2010-06-19 Ulrich Drepper <drepper@redhat.com>
52436 * posix/group_member.c (__group_member): Correct checking loop.
52438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52439 OOM in getpwuid_r correctly. Return error number when the caller
52440 should return, otherwise -1.
52441 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52442 call returning > 0 value.
52443 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52445 2010-06-07 Andreas Schwab <schwab@redhat.com>
52447 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52448 libc_nonshared.a from targets in modules-names.
52450 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52452 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52455 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
52457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52458 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52459 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52460 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52462 2010-06-02 Andreas Schwab <schwab@redhat.com>
52464 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52466 2010-06-14 Ulrich Drepper <drepper@redhat.com>
52468 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52470 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52471 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52472 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52474 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52475 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52477 2010-06-14 Roland McGrath <roland@redhat.com>
52479 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52481 2010-06-07 Jakub Jelinek <jakub@redhat.com>
52483 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52484 __REDIRECT followed by __THROW.
52485 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52486 * posix/getopt.h (getopt): Likewise.
52488 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52490 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52491 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52492 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52494 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52495 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52497 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
52499 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52501 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52505 Properly check family and model.
52507 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52509 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52511 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
52513 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52515 2010-05-21 Ulrich Drepper <drepper@redhat.com>
52517 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52520 2010-05-19 Andreas Schwab <schwab@redhat.com>
52522 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52525 2010-05-21 Andreas Schwab <schwab@redhat.com>
52527 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52528 and internal_recvmmsg.
52529 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52530 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52531 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52532 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52534 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52535 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52536 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52538 2010-05-20 Andreas Schwab <schwab@redhat.com>
52540 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52542 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
52544 POWER7 optimizations.
52545 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52546 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52548 2010-05-19 Ulrich Drepper <drepper@redhat.com>
52550 * version.h: Update for 2.13 development version.
52552 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
52554 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52555 exceptions. Return 0.
52557 2010-05-07 Roland McGrath <roland@redhat.com>
52559 * elf/ldconfig.c (main): Add a const.
52561 2010-05-06 Ulrich Drepper <drepper@redhat.com>
52563 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52564 (args_options): Add no-idn option.
52565 (ahosts_keys_int): Add idn_flags to ai_flags.
52566 (parse_option): Handle 'i' option to clear idn_flags.
52568 * malloc/malloc.c (_int_free): Possible race in the most recently
52569 added check. Only act on the data if no current modification
52572 See ChangeLog.17 for earlier changes.