1 2014-11-20 Torvald Riegel <triegel@redhat.com>
3 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4 USE_ATOMIC_COMPILER_BUILTINS): Define.
5 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
15 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
34 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
38 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
39 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
46 2014-11-19 Roland McGrath <roland@hack.frob.com>
48 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
49 the sched_priority value here. It was already checked when the user
50 called pthread_attr_setschedparam.
52 * nptl/tst-bad-schedattr.c: New file.
53 * nptl/Makefile (tests): Add it.
55 2014-11-19 Carlos O'Donell <carlos@redhat.com>
56 Florian Weimer <fweimer@redhat.com>
57 Joseph Myers <joseph@codesourcery.com>
58 Adam Conrad <adconrad@0c3.net>
59 Andreas Schwab <schwab@suse.de>
60 Brooks <bmoses@google.com>
63 * wordexp-test.c (__dso_handle): Add prototype.
64 (__register_atfork): Likewise.
65 (__app_register_atfork): New function.
66 (registered_forks): New global.
67 (register_fork): New function.
68 (test_case): Add 3 new tests for WRDE_CMDSUB.
69 (main): Call __app_register_atfork.
70 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
71 fork count is non-zero fail the test.
72 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
74 (parse_dollars): Remove check for WRDE_NOCMD.
75 (parse_dquote): Likewise.
77 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
79 * Makeconfig (built-modules): List non-library modules to be
81 (module-cppflags): Include libc-modules.h for
82 everything except shlib-versions.v.i.
84 (before-compile): Add libc-modules.h.
85 ($(common-objpfx)libc-modules.h,
86 $(common-objpfx)libc-modules.stmp): New targets.
87 (common-generated): Add libc-modules.h and libc-modules.stmp.
88 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
89 * include/libc-symbols.h: Don't include libc-modules.h.
90 * include/libc-modules.h: Remove file.
91 * scripts/gen-libc-modules.awk: New script to generate
93 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
94 Depend on libc-modules.stmp.
96 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
98 * Makeconfig (in-module): Get value of libof set for the
100 (CPPFLAGS): Use $(in-module).
101 * Makerules: Don't suffix routine names for nonlib.
102 * include/libc-modules.h: New file.
103 * include/libc-symbols.h: Include libc-modules.h
104 (IS_IN): New macro to replace IS_IN_* macros.
105 * elf/Makefile: Set libof-* for each routine.
106 * elf/rtld-Rules: Likewise.
107 * extra-modules.mk: Likewise.
108 * iconv/Makefile: Likewise.
109 * iconvdata/Makefile: Likewise.
110 * locale/Makefile: Likewise.
111 * malloc/Makefile: Likewise.
112 * nss/Makefile: Likewise.
113 * sysdeps/gnu/Makefile: Likewise.
114 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
115 * sysdeps/unix/sysv/linux/Makefile: Likewise.
116 * sysdeps/s390/s390-64/Makefile: Likewise.
117 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
118 CPPFLAGS for nscd instead of nonlib.
120 2014-11-18 Roland McGrath <roland@hack.frob.com>
122 * nptl/createthread.c: New file.
124 * nptl/createthread.c: Moved ...
125 * sysdeps/unix/sysv/linux/createthread.c: ... here.
127 * nptl/createthread.c: Add proper top-line comment.
128 (do_clone): Folded into ...
129 (create_thread): ... here. Take new arguments STOPPED_START and
130 THREAD_RAN. Always set PD->stopped_start to something here. Don't
131 increment __nptl_threads, do event-reporting logic, do
132 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
133 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
134 resource cleanup if sched_setaffinity or sched_setscheduler fails,
136 * nptl/pthread_create.c: Forward-declare create_thread before
137 including createthread.c.
138 (start_thread): Use new macro START_THREAD_DEFN to replace defining
139 declaration, and new macro START_THREAD_SELF to replace argument.
140 Remove return statement.
141 (report_thread_creation): New function.
142 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
143 synchronization logic, and __nptl_nthreads increment here, around
144 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
145 PD->parent_cancelhandling here, before create_thread. When
146 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
147 __deallocate_stack, and ENOMEM translation here.
149 2014-11-18 Joseph Myers <joseph@codesourcery.com>
152 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
153 (mptwo): Rename to __mptwo.
154 (__inv): Use __mptwo instead of mptwo.
155 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
156 (mptwo): Rename to __mptwo.
157 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
158 of mpone and __mptwo instead of mptwo.
159 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
162 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
163 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
164 of mpone and __mptwo instead of mptwo.
165 (__mpranred): Use __mpone instead of mpone.
166 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
168 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
169 (test-xfail-ISO99/math.h/linknamespace): Likewise.
170 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
171 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
172 (test-xfail-ISO11/math.h/linknamespace): Likewise.
173 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
174 (test-xfail-XPG3/math.h/linknamespace): Likewise.
175 (test-xfail-XPG4/math.h/linknamespace): Likewise.
176 (test-xfail-POSIX/math.h/linknamespace): Likewise.
177 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
178 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
179 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
180 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
181 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
182 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
183 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
184 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
185 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
186 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
188 2014-11-18 Tom de Vries <tom@codesoucery.com>
190 * manual/signal.texi (Primitives Interrupted by Signals): In section,
191 replace BSD Handler xref with BSD Signal Handling.
193 2014-11-17 Richard Henderson <rth@redhat.com>
195 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
196 (_FP_PACK_RAW_2): Remove.
197 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
198 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
199 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
200 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
201 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
202 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
203 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
204 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
205 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
206 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
207 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
208 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
209 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
210 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
211 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
212 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
214 2014-11-14 Roland McGrath <roland@hack.frob.com>
216 * signal/signal.h [__USE_MISC]
217 (struct sigvec): Remove type.
218 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
219 (sigvec): Remove declaration.
220 * sysdeps/posix/sigvec.c: Moved ...
221 * signal/sigvec.c: ... here, replacing old file.
222 (struct sigvec): New type, copied from old signal.h definition.
223 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
224 (__sigvec): Convert definition to prototype.
225 (sigvec): Replace weak_alias with compat_symbol.
226 * signal/Versions (libc: GLIBC_2.21): New version set.
227 * include/signal.h: Remove __sigvec declaration.
228 * sysdeps/unix/bsd/sigvec.c: Remove file.
229 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
230 * manual/signal.texi (BSD Handler): Remove subsection.
231 Move siginterrupt up to ...
232 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
233 (Blocking in BSD): Fold subsection into its parent.
234 * NEWS: Mention sigvec removal.
236 2014-11-14 Joseph Myers <joseph@codesourcery.com>
238 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
239 (DLA_FMS): Make definition conditional only on [__FMA4__].
240 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
243 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
244 Make definition conditional only on [PROF].
245 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
247 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
248 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
250 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
252 * include/signal.h (__sigpause): Move declaration above call to
254 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
256 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
257 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
259 2014-11-14 David S. Miller <davem@davemloft.net>
261 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
262 Define before including <string/memcpy.c> and <string/mempcpy.c>.
264 2014-11-14 Joseph Myers <joseph@codesourcery.com>
266 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
267 * configure: Regenerated.
268 * manual/install.texi (Tools for Compilation): Document a
269 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
270 compiler verified to work.
271 * INSTALL: Regenerated.
273 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
274 redeclare with asm name.
275 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
276 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
277 including <string.h>.
278 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
279 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
280 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
281 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
282 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
283 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
284 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
286 2014-11-13 Joseph Myers <joseph@codesourcery.com>
288 * stdlib/strtol.c (__strtol): Use prototype definition.
291 * stdlib/strtol.c (SYM__): New macro.
293 (__strtol): Likewise.
294 (strtol): Rename to __strtol and define as weak alias of
295 __strtol. Use libc_hidden_weak.
297 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
299 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
300 Use numbered labels in inline assembly.
302 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
304 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
305 Add setjmp LIBC_PROBE.
306 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
308 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
309 Add longjmp, longjmp_target LIBC_PROBE.
310 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
313 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
315 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
316 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
317 to get rid of unused variable warning.
319 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
321 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
322 Check for unwind_backtrace == NULL only in SHARED case.
323 (__backchain_backtrace): Compile only in SHARED case.
324 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
326 (__backchain_backtrace): Declare as static.
328 2014-11-12 Roland McGrath <roland@hack.frob.com>
330 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
331 (__libc_multiple_threads_ptr): Variable moved ...
332 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
334 2014-11-12 Joseph Myers <joseph@codesourcery.com>
336 * conform/GlibcConform.pm: New file.
337 * conform/conformtest.pl: Use GlibcConform module.
338 * conform/linknamespace.pl: New file.
339 * conform/list-header-symbols.pl: Likewise.
340 * conform/Makefile (linknamespace-symlists-base): New variable.
341 (linknamespace-symlists-tests): Likewise.
342 (linknamespace-header-base): Likewise.
343 (linknamespace-header-tests): Likewise.
344 (tests-special): Add new tests.
345 ($(linknamespace-symlists-tests)): New rule.
346 (linknamespace-libs): New variable.
347 ($(objpfx)symlist-stdlibs): New rule.
348 ($(linknamespace-header-tests)): Likewise.
349 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
350 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
351 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
352 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
353 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
354 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
355 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
356 (test-xfail-ISO/math.h/linknamespace): Likewise.
357 (test-xfail-ISO/signal.h/linknamespace): Likewise.
358 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
359 (test-xfail-ISO/time.h/linknamespace): Likewise.
360 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
361 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
362 (test-xfail-ISO99/math.h/linknamespace): Likewise.
363 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
364 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
365 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
366 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
367 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
368 (test-xfail-ISO11/math.h/linknamespace): Likewise.
369 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
370 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
371 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
372 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
373 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
374 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
375 (test-xfail-XPG3/math.h/linknamespace): Likewise.
376 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
377 (test-xfail-XPG3/search.h/linknamespace): Likewise.
378 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
379 (test-xfail-XPG3/time.h/linknamespace): Likewise.
380 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
381 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
382 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
383 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
384 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
385 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
386 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
387 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
388 (test-xfail-XPG4/math.h/linknamespace): Likewise.
389 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
390 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
391 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
392 (test-xfail-XPG4/search.h/linknamespace): Likewise.
393 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
394 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
395 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
396 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
397 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
398 (test-xfail-XPG4/time.h/linknamespace): Likewise.
399 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
400 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
401 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
402 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
403 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
404 (test-xfail-POSIX/math.h/linknamespace): Likewise.
405 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
406 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
407 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
408 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
409 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
410 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
411 (test-xfail-POSIX/time.h/linknamespace): Likewise.
412 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
413 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
414 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
415 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
416 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
417 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
418 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
419 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
420 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
421 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
422 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
423 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
424 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
425 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
426 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
427 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
428 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
429 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
430 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
431 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
432 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
433 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
434 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
435 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
436 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
437 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
438 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
439 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
440 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
441 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
442 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
443 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
444 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
445 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
446 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
447 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
448 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
449 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
450 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
451 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
452 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
453 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
454 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
455 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
456 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
457 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
458 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
459 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
460 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
461 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
462 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
463 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
464 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
465 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
466 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
467 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
468 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
469 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
470 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
471 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
472 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
473 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
474 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
475 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
476 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
477 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
478 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
479 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
480 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
481 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
482 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
483 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
484 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
485 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
486 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
487 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
488 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
489 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
490 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
491 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
492 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
493 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
494 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
495 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
496 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
497 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
498 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
499 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
500 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
501 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
502 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
503 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
504 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
505 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
506 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
507 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
508 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
509 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
512 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
516 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
517 (memmem): Rename to __memmem and define as weak alias of
518 __memmem. Use libc_hidden_weak.
519 (__memmem): Use libc_hidden_def.
520 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
521 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
525 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
526 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
527 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
528 and define as weak alias of __fgets_unlocked. Use
530 (__fgets_unlocked): Use libc_hidden_def.
531 * include/stdio.h (__fgets_unlocked): Declare. Use
533 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
534 __fgets_unlocked instead of fgets_unlocked.
535 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
536 (GET_NPROCS_CONF_PARSER): Likewise.
537 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
538 (GET_NPROCS_CONF_PARSER): Likewise.
541 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
542 weak alias of __wmemset. Use libc_hidden_weak.
543 (__wmemset): Use libc_hidden_def.
544 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
545 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
549 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
550 with asm name __mempcpy.
551 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
554 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
555 and define as weak alias of __rawmemchr.
556 (__rawmemchr): Do not define as strong alias of rawmemchr.
559 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
561 (qsort): Call __qsort_r instead of qsort_r.
562 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
563 (__qsort_r): Declare. Call libc_hidden_proto.
564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
566 * nscd/gai.c (__qsort_r): Define to qsort_r.
567 * posix/tst-rfc3484.c (__qsort_r): Likewise.
568 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
569 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
572 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
573 define as weak alias of __malloc_info.
576 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
577 as weak alias of __rewinddir. Don't use libc_hidden_def.
578 (__rewinddir): Use libc_hidden_def.
579 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
580 as weak alias of __rewinddir. Don't use libc_hidden_def.
581 (__rewinddir): Use libc_hidden_def.
582 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
583 weak alias of __rewinddir. Don't use libc_hidden_def.
584 (__rewinddir): Use libc_hidden_def.
585 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
586 (__rewinddir): Use libc_hidden_proto.
587 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
589 (__getcwd): Use __rewinddir instead of rewinddir.
592 * libio/fileno.c (fileno): Rename to __fileno and define as weak
593 alias of __fileno. Use libc_hidden_weak.
594 (__fileno): Use libc_hidden_def.
595 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
596 * libio/ftello.c (ftello): Rename to __ftello and define as weak
598 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
600 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
601 (__fread_unlocked): Define as strong alias of _IO_fread. Use
603 (fread_unlocked): Don't use libc_hidden_ver.
604 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
605 and define as weak alias of __fread_unlocked. Don't use
607 (__fread_unlocked): Use libc_hidden_def.
608 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
609 (ftello): Don't use libc_hidden_proto.
610 (__ftello): Declare. Use libc_hidden_proto.
611 (fread_unlocked): Don't use libc_hidden_proto.
612 (__fread_unlocked): Declare. Use libc_hidden_proto.
613 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
614 and __ftello instead of fileno, fread_unlocked and ftello.
616 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
618 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
620 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
622 (_dl_start_user): Likewise.
623 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
625 2014-11-12 Carlos O'Donell <carlos@redhat.com>
626 Siddhesh Poyarekar <siddhesh@redhat.com>
628 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
629 Move argv and envp down instead of moving argc up.
630 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
632 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
635 * test-skeleton.c (main): Return successful if one of
636 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
637 * string/tst-strcoll-overflow.c: Define expected status.
639 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
642 * locale/iso-639.def: Define Bhili and Tulu language codes.
644 2014-11-11 Alan Hayward <alan.hayward@arm.com>
646 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
648 2014-11-10 Renlin Li <Renlin.Li@arm.com>
651 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
653 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
655 * configure.ac: Updated check of minimal required version to
657 * manual/install.texi (Tools for Compilation): Updated version
659 * configure: Regenerated.
662 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
664 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
667 2014-11-07 Joseph Myers <joseph@codesourcery.com>
669 * include/sys/wait.h (__libc_waitpid): Remove declaration.
670 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
671 (__waitpid): Don't define as alias. Use libc_hidden_def not
673 (waitpid): Define as alias of __waitpid.
674 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
676 (__waitpid): Don't define as alias. Use libc_hidden_def not
678 (waitpid): Define as alias of __waitpid.
679 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
680 __libc_waitpid alias.
681 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
682 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
684 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
685 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
686 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
688 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
690 (__waitpid): Don't define as alias. Use libc_hidden_def not
692 (waitpid): Define as alias of __waitpid.
694 2014-11-06 Carlos O'Donell <carlos@redhat.com>
696 * manual/llio.texi: Add comment that write safety has been
699 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
700 (localplt-build-dso): Add elf/ld.so.
701 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
702 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
705 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
710 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
711 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
712 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
713 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
714 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
715 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
716 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
717 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
718 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
719 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
720 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
722 2014-11-05 Joseph Myers <joseph@codesourcery.com>
725 * include/libc-symbols.h (INTUSE): Remove macro.
727 (INTVARDEF): Likewise.
728 (_INTVARDEF): Likewise.
730 (INTVARDEF2): Likewise.
731 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
732 rtld_hidden_def instead of INTVARDEF.
733 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
734 (_dl_starting_up_internal): Remove declaration.
735 (_dl_starting_up): Use rtld_hidden_proto.
736 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
738 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
739 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
741 * elf/dl-writev.h (_dl_writev): Likewise.
742 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
743 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
744 _dl_starting_up_internal.
746 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
748 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
751 2014-11-05 Will Newton <will.newton@linaro.org>
753 * benchtests/Makefile: (bench-malloc): Add malloc thread
754 scalability benchmark.
755 * benchtests/bench-malloc-threads.c: New file.
757 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
759 * sysdeps/aarch64/strchrnul.S: New file.
761 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
765 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
767 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
769 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
771 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
773 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
776 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
778 * catgets/test-gencat.c: Use test-skeleton.c.
779 * catgets/tst-catgets.c: Likewise.
780 * csu/tst-empty.c: Likewise.
781 * elf/tst-audit2.c: Likewise.
782 * elf/tst-global1.c: Likewise.
783 * elf/tst-pathopt.c: Likewise.
784 * elf/tst-piemod1.c: Likewise.
785 * elf/tst-tls10.c: Likewise.
786 * elf/tst-tls11.c: Likewise.
787 * elf/tst-tls12.c: Likewise.
788 * gnulib/tst-gcc.c: Likewise.
789 * iconvdata/tst-e2big.c: Likewise.
790 * iconvdata/tst-loading.c: Likewise.
791 * iconv/tst-iconv1.c: Likewise.
792 * iconv/tst-iconv2.c: Likewise.
793 * inet/test-inet6_opt.c: Likewise.
794 * inet/tst-gethnm.c: Likewise.
795 * inet/tst-network.c: Likewise.
796 * inet/tst-ntoa.c: Likewise.
797 * intl/tst-codeset.c: Likewise.
798 * intl/tst-gettext2.c: Likewise.
799 * intl/tst-gettext3.c: Likewise.
800 * intl/tst-ngettext.c: Likewise.
801 * intl/tst-translit.c: Likewise.
802 * io/test-stat.c: Likewise.
803 * libio/test-fmemopen.c: Likewise.
804 * libio/tst-freopen.c: Likewise.
805 * libio/tst-sscanf.c: Likewise.
806 * libio/tst-ungetwc1.c: Likewise.
807 * libio/tst-ungetwc2.c: Likewise.
808 * libio/tst-widetext.c: Likewise.
809 * localedata/tst-ctype.c: Likewise.
810 * localedata/tst-digits.c: Likewise.
811 * localedata/tst-leaks.c: Likewise.
812 * localedata/tst-mbswcs1.c: Likewise.
813 * localedata/tst-mbswcs2.c: Likewise.
814 * localedata/tst-mbswcs3.c: Likewise.
815 * localedata/tst-mbswcs4.c: Likewise.
816 * localedata/tst-mbswcs5.c: Likewise.
817 * localedata/tst-setlocale.c: Likewise.
818 * localedata/tst-trans.c: Likewise.
819 * localedata/tst-wctype.c: Likewise.
820 * localedata/tst-xlocale1.c: Likewise.
821 * login/tst-grantpt.c: Likewise.
822 * malloc/tst-calloc.c: Likewise.
823 * malloc/tst-malloc.c: Likewise.
824 * malloc/tst-mallocstate.c: Likewise.
825 * malloc/tst-mcheck.c: Likewise.
826 * malloc/tst-mtrace.c: Likewise.
827 * malloc/tst-obstack.c: Likewise.
828 * math/atest-exp2.c: Likewise.
829 * math/atest-exp.c: Likewise.
830 * math/atest-sincos.c: Likewise.
831 * math/test-matherr.c: Likewise.
832 * math/test-misc.c: Likewise.
833 * math/test-powl.c: Likewise.
834 * math/tst-definitions.c: Likewise.
835 * misc/tst-dirname.c: Likewise.
836 * misc/tst-efgcvt.c: Likewise.
837 * misc/tst-fdset.c: Likewise.
838 * misc/tst-hsearch.c: Likewise.
839 * misc/tst-mntent2.c: Likewise.
840 * nptl/tst-sem7.c: Likewise.
841 * nptl/tst-sem8.c: Likewise.
842 * nptl/tst-sem9.c: Likewise.
843 * nss/test-netdb.c: Likewise.
844 * posix/tst-fnmatch.c: Likewise.
845 * posix/tst-getlogin.c: Likewise.
846 * posix/tst-gnuglob.c: Likewise.
847 * posix/tst-mmap.c: Likewise.
848 * pwd/tst-getpw.c: Likewise.
849 * resolv/tst-inet_ntop.c: Likewise.
850 * rt/tst-timer.c: Likewise.
851 * stdio-common/test-fseek.c: Likewise.
852 * stdio-common/test-popen.c: Likewise.
853 * stdio-common/test-vfprintf.c: Likewise.
854 * stdio-common/tst-cookie.c: Likewise.
855 * stdio-common/tst-fileno.c: Likewise.
856 * stdio-common/tst-gets.c: Likewise.
857 * stdio-common/tst-obprintf.c: Likewise.
858 * stdio-common/tst-perror.c: Likewise.
859 * stdio-common/tst-sprintf2.c: Likewise.
860 * stdio-common/tst-sprintf3.c: Likewise.
861 * stdio-common/tst-sprintf.c: Likewise.
862 * stdio-common/tst-swprintf.c: Likewise.
863 * stdio-common/tst-tmpnam.c: Likewise.
864 * stdio-common/tst-unbputc.c: Likewise.
865 * stdio-common/tst-wc-printf.c: Likewise.
866 * stdlib/tst-environ.c: Likewise.
867 * stdlib/tst-fmtmsg.c: Likewise.
868 * stdlib/tst-limits.c: Likewise.
869 * stdlib/tst-rand48-2.c: Likewise.
870 * stdlib/tst-rand48.c: Likewise.
871 * stdlib/tst-random2.c: Likewise.
872 * stdlib/tst-random.c: Likewise.
873 * stdlib/tst-strtol.c: Likewise.
874 * stdlib/tst-strtoll.c: Likewise.
875 * stdlib/tst-tls-atexit.c: Likewise.
876 * stdlib/tst-xpg-basename.c: Likewise.
877 * string/test-ffs.c: Likewise.
878 * string/tst-bswap.c: Likewise.
879 * string/tst-inlcall.c: Likewise.
880 * string/tst-strtok.c: Likewise.
881 * string/tst-strxfrm.c: Likewise.
882 * sysdeps/x86_64/tst-audit10.c: Likewise.
883 * sysdeps/x86_64/tst-audit3.c: Likewise.
884 * sysdeps/x86_64/tst-audit4.c: Likewise.
885 * sysdeps/x86_64/tst-audit5.c: Likewise.
886 * time/tst-ftime_l.c: Likewise.
887 * time/tst-getdate.c: Likewise.
888 * time/tst-mktime3.c: Likewise.
889 * time/tst-mktime.c: Likewise.
890 * time/tst-posixtz.c: Likewise.
891 * time/tst-strptime2.c: Likewise.
892 * time/tst-strptime3.c: Likewise.
893 * wcsmbs/tst-btowc.c: Likewise.
894 * wcsmbs/tst-mbrtowc.c: Likewise.
895 * wcsmbs/tst-mbsrtowcs.c: Likewise.
896 * wcsmbs/tst-wchar-h.c: Likewise.
897 * wcsmbs/tst-wcpncpy.c: Likewise.
898 * wcsmbs/tst-wcrtomb.c: Likewise.
899 * wcsmbs/tst-wcsnlen.c: Likewise.
900 * wcsmbs/tst-wcstof.c: Likewise.
902 2014-11-04 Joseph Myers <joseph@codesourcery.com>
905 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
907 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
909 (_dl_mcount): Use rtld_hidden_proto.
910 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
912 * elf/rtld.c (_rtld_global_ro): Likewise.
915 * elf/dl-init.c (_dl_init): Don't use INTDEF.
916 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
917 of _dl_init_internal.
918 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
919 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
920 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
921 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
922 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
923 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
924 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
925 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
926 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
927 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
928 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
929 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
930 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
931 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
932 * sysdeps/tile/dl-start.S (_start): Likewise.
933 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
934 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
937 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
938 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
939 (rtld_progname): Make macro definition unconditional.
940 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
942 (dlmopen_doit): Do not use INTUSE with _dl_argv.
944 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
945 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
946 instead of _dl_argv_internal.
947 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
948 __GI__dl_argv instead of INTUSE(_dl_argv).
949 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
950 __GI__dl_argv instead of _dl_argv_internal.
952 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
953 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
955 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
956 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
958 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
959 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
961 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
962 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
964 2014-11-04 Andreas Schwab <schwab@suse.de>
966 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
968 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
970 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
971 mtvsrd instruction in binary form.
973 2014-11-03 Andreas Schwab <schwab@suse.de>
976 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
977 for less than MB_LEN_MAX use a local buffer of that size.
978 * libio/tst-fputws.c: New file.
979 * libio/Makefile (tests): Add tst-fputws.
981 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
983 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
984 the size of the fpu_fr.fpu_dregs[] array.
986 2014-11-01 Joseph Myers <joseph@codesourcery.com>
988 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
989 (__nanosleep): Do not define as alias.
990 (nanosleep): Define as alias of __nanosleep.
991 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
992 __libc_nanosleep name.
994 2014-10-31 Joseph Myers <joseph@codesourcery.com>
996 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
997 install.texi in comment.
999 2014-10-31 Torvald Riegel <triegel@redhat.com>
1001 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1002 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1003 ... add here and use lwsync or sync ...
1004 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1005 ... and add here using lwsync.
1007 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1009 * elf/dl-machine-reject-phdr.h: New file.
1010 * elf/dl-load.c: #include that.
1011 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1012 if that returned true.
1014 2014-10-31 Roland McGrath <roland@hack.frob.com>
1017 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1018 gen-as-const-headers chunk. Add a big scare comment after the last
1019 safe place to touch before-compile.
1021 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1023 * manual/install.texi (Tools for Compilation): Update autoconf
1024 version requirements.
1025 * INSTALL: Regenerated.
1027 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1028 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1029 (__libc_pselect): Likewise.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1037 2014-10-31 Torvald Riegel <triegel@redhat.com>
1039 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1040 correct barrier instruction.
1041 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1043 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1046 2014-10-30 Roland McGrath <roland@hack.frob.com>
1048 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1049 after defining inlines. Instead, just use parens to defeat macro
1050 expansion of __isctype in its declaration.
1052 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1054 * include/sys/uio.h (__libc_readv): Remove declaration.
1055 (__libc_writev): Likewise.
1056 * misc/readv.c (__libc_readv): Rename to __readv.
1057 (__readv): Do not define as alias.
1058 (readv): Define as alias of __readv.
1059 * misc/writev.c (__libc_writev): Rename to __writev.
1060 (__writev): Do not define as alias.
1061 (writev): Define as alias of __writev.
1062 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1063 (__readv): Do not define as alias.
1064 (readv): Define unconditionally as alias of __readv.
1065 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1066 (__writev): Do not define as alias.
1067 (writev): Define unconditionally as alias of __writev.
1068 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1070 (writev): Do not define __libc_writev name.
1072 2014-10-30 Roland McGrath <roland@hack.frob.com>
1074 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1075 (convert_charseq): New function, broken out of ...
1076 (use_from_charmap): ... here. Call it.
1077 (use_to_charmap): Use convert_charseq and free instead of duplicating
1078 its code with a variable-length stack struct.
1080 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1082 * include/fcntl.h (__libc_creat): Remove declaration.
1083 * io/creat.c (__libc_creat): Rename to creat.
1084 (creat): Do not define as alias.
1085 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1086 of creat instead of __libc_creat.
1087 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1089 (creat): Do not define as alias.
1090 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1092 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1097 2014-10-29 Carlos O'Donell <carlos@redhat.com>
1099 * manual/llio.texi: Add comments discussing why write() may be
1100 considered MT-unsafe on Linux.
1102 2014-10-28 Carlos O'Donell <carlos@redhat.com>
1104 * dl-load.c (local_strdup): Remove.
1105 (expand_dynamic_string_token): Use __strdup.
1106 (decompose_rpath): Likewise.
1107 (_dl_map_object): Likewise.
1109 2014-10-28 Joseph Myers <joseph@codesourcery.com>
1112 * sysdeps/generic/unwind-dw2-fde.c
1113 (__register_frame_info_bases_internal): Do not declare.
1114 (__register_frame_info_table_bases_internal): Likewise.
1115 (__deregister_frame_info_bases_internal): Likewise.
1116 (__register_frame_info_bases): Declare and use hidden_proto before
1117 definition. Use hidden_def instead of INTDEF.
1118 (__register_frame_info_table_bases): Likewise.
1119 (__deregister_frame_info_bases): Likewise.
1120 (__register_frame_info): Do not use INTUSE.
1121 (__register_frame): Likewise.
1122 (__register_frame_info_table): Likewise.
1123 (__register_frame_table): Likewise.
1124 (__deregister_frame_info): Likewise.
1125 (__deregister_frame): Likewise.
1127 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1129 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1130 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1132 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1134 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1137 2014-10-27 Joseph Myers <joseph@codesourcery.com>
1140 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1141 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1142 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1143 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1144 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1145 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1146 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1147 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1148 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1149 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1150 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1151 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1152 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1154 (setfsuid): Likewise.
1155 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1156 (setfsuid): Likewise.
1157 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1158 (setfsuid): Likewise.
1159 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1161 (setfsuid): Likewise.
1162 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1163 (setfsuid): Likewise.
1164 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1166 (setfsuid): Likewise.
1168 2014-10-27 Andreas Schwab <schwab@suse.de>
1171 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1172 check for Slow_SSE4_2 feature bit.
1173 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1174 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1175 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1176 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1178 2014-10-24 Roland McGrath <roland@hack.frob.com>
1180 * configure.ac: Validate compiler version with a empirical test of
1181 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1183 * configure: Regenerated.
1185 * inet/htons.c (htons): Prototypify.
1186 * inet/htonl.c (htonl): Likewise.
1188 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1190 * string/strncat.c (strncat): Improve performance by using strlen.
1192 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1194 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1196 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1198 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1199 Call libc_fetestexcept_aarch64.
1201 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1203 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1204 Call libc_feholdexcept_aarch64.
1206 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1208 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1209 Call get_rounding_mode.
1211 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1213 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1216 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1218 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1221 2014-10-24 Joseph Myers <joseph@codesourcery.com>
1224 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1225 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1226 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1227 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1228 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1229 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1230 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1231 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1232 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1233 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1234 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1235 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1236 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1237 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1238 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1239 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1240 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1241 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1242 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1243 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1244 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1245 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1246 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1248 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1249 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1250 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1251 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1252 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1253 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1254 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1255 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1256 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1257 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1258 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1259 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1260 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1261 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1262 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1263 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1264 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1266 (geteuid): Likewise.
1269 (getresgid): Likewise.
1270 (getresuid): Likewise.
1271 (getgroups): Likewise.
1272 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1273 (geteuid): Likewise.
1276 (getresgid): Likewise.
1277 (getresuid): Likewise.
1278 (getgroups): Likewise.
1279 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1280 (geteuid): Likewise.
1283 (getresgid): Likewise.
1284 (getresuid): Likewise.
1285 (getgroups): Likewise.
1286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1288 (geteuid): Likewise.
1291 (getresgid): Likewise.
1292 (getresuid): Likewise.
1293 (getgroups): Likewise.
1294 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1295 (geteuid): Likewise.
1298 (getresgid): Likewise.
1299 (getresuid): Likewise.
1300 (getgroups): Likewise.
1301 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1303 (geteuid): Likewise.
1306 (getgroups): Likewise.
1309 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1310 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1311 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1312 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1313 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1314 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1315 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1316 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1317 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1318 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1319 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1320 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1321 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1323 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1326 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1330 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1333 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1338 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1340 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1343 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1345 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1348 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1350 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1351 Remove unused include.
1353 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1355 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1356 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1357 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1358 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1360 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1361 Helge Deller <deller@gmx.de>
1364 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1365 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1366 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1368 2014-10-23 Joseph Myers <joseph@codesourcery.com>
1371 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1372 Remove macro definition.
1373 (__ashrdi3_v_glibc20): Likewise.
1374 (__lshrdi3_v_glibc20): Likewise.
1375 (__cmpdi2_v_glibc20): Likewise.
1376 (__ucmpdi2_v_glibc20): Likewise.
1377 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1378 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1379 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1380 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1381 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1382 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1384 2014-10-22 Roland McGrath <roland@hack.frob.com>
1386 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1387 old GNU extension [0] syntax.
1388 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1389 alloca rather than an array member with variable length.
1390 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1391 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1392 (parse_opt): ... here. Likewise use alloca there.
1393 Validate the -i argument before checking for rootness.
1394 (send_shutdown): New function, broken out of ...
1395 (parse_opt): ... here.
1397 2014-10-22 Roland McGrath <roland@hack.frob.com>
1399 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1400 macro to get at the _rt_local_ro field.
1401 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1402 ([PIC] case) or _dl_hwcap ([!PIC] case).
1403 * sysdeps/arm/setjmp.S: Likewise.
1405 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1406 * sysdeps/arm/configure.ac: New check to define it.
1407 * sysdeps/arm/configure: Regenerated.
1408 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1409 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1410 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1411 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1412 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1413 Use move/movt pair instead of a load.
1414 (LDST_GLOBAL): Macro removed.
1415 (LDR_GLOBAL): New macro replaces it.
1416 (LDR_HIDDEN): New macro.
1417 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1418 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1420 * setjmp/tst-setjmp-static.c: New file.
1421 * setjmp/Makefile (tests): Add it.
1422 (tests-static): New variable.
1424 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1427 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1429 2014-10-21 Joseph Myers <joseph@codesourcery.com>
1432 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1434 2014-10-21 Roland McGrath <roland@hack.frob.com>
1436 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1438 2014-10-20 Roland McGrath <roland@hack.frob.com>
1440 * io/fts.c (dirent_not_directory): New function.
1441 (fts_build): Call it.
1443 2014-10-20 Roland McGrath <roland@hack.frob.com>
1445 * nptl/version.c (__nptl_main): Use normal __write rather than
1447 (banner): Update copyright years.
1449 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1451 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1452 * nptl/pthread_cond_timedwait.c: Likewise.
1453 * nptl/pthread_mutex_timedlock.c: Likewise.
1454 * nptl/sem_timedwait.c: Likewise.
1456 * sysdeps/nptl/bits/libc-lock.h
1457 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1458 (__libc_lock_init_recursive): Return void, not 0.
1459 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1460 (__libc_rwlock_init): Likewise.
1461 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1463 2014-10-20 Torvald Riegel <triegel@redhat.com>
1466 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1467 (__pthread_once_slow): ... here.
1468 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1469 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1471 2014-10-20 Torvald Riegel <triegel@redhat.com>
1474 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1475 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1476 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1477 * nptl/pthread_once.c (__pthread_once): Likewise.
1480 2014-10-20 Joseph Myers <joseph@codesourcery.com>
1483 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1485 (writev): Use __libc_writev as strong name.
1486 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1487 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1489 2014-10-17 Roland McGrath <roland@hack.frob.com>
1491 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1493 * sysdeps/i386/nptl/tls.h
1494 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1495 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1497 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1498 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1499 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1500 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1501 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1502 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1504 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1505 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1507 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1509 (__pthread_mutex_init): ... here. Call it.
1510 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1511 Conditionalize PI cases on [__NR_futex].
1512 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1513 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1514 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1516 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1517 conditional on [SIGSETXID].
1518 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1519 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1520 is defined. Likewise for SIGSETXID.
1521 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1522 Conditionalize definitions on [SIGSETXID].
1523 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1524 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1525 unblocking on [SIGCANCEL].
1527 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1528 [__NR_set_robust_list].
1530 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1532 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1533 (do_compare): Likewise.
1535 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
1538 * string/strcoll_l.c: Don't include stdio.h.
1539 (coll_seq): Remove members idxarr and rulearr.
1540 (get_next_seq_cached): Remove function.
1541 (get_next_seq): Likewise.
1542 (get_next_seq_nocache): Rename to get_next_seq.
1543 (do_compare): Remove function.
1544 (do_compare_nocache): Rename to do_compare.
1545 (STRCOLL): Remove weight and rules cache.
1547 2014-10-16 Roland McGrath <roland@hack.frob.com>
1549 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1550 * sysdeps/arm/sfp-machine.h: ... to here.
1551 * sysdeps/arm/Implies: Remove arm/soft-fp.
1553 2014-10-14 Joseph Myers <joseph@codesourcery.com>
1555 * conform/data/sys/utsname.h-data (*_t): Allow.
1556 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1557 [POSIX] (WEXITED): Do not expect constant.
1558 [POSIX] (WSTOPPED): Likewise.
1559 [POSIX] (WNOHANG): Likewise.
1560 [POSIX] (WNOWAIT): Likewise.
1561 [POSIX] (siginfo_t): Do not expect type or elements.
1562 [POSIX] (pid_t): Do not expect type.
1563 [POSIX] (signal.h): Do not allow header.
1564 [POSIX] (sys/resource.h): Likewise.
1565 [POSIX] (si_*): Do not allow pattern.
1566 [POSIX] (W*): Likewise.
1567 [POSIX] (P_*): Likewise.
1568 [POSIX] (BUS_*): Likewise.
1569 [POSIX] (CLD_*): Likewise.
1570 [POSIX] (FPE_*): Likewise.
1571 [POSIX] (ILL_*): Likewise.
1572 [POSIX] (POLL_*): Likewise.
1573 [POSIX] (SEGV_*): Likewise.
1574 [POSIX] (SI_*): Likewise.
1575 [POSIX] (TRAP_*): Likewise.
1576 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1579 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1582 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1583 infinite loop when __recvmsg returns 0.
1585 2014-10-10 Joseph Myers <joseph@codesourcery.com>
1587 * CANCEL-FCT-WAIVE: Remove file.
1588 * CANCEL-FILE-WAIVE: Likewise.
1591 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1592 instead of INTVARDEF.
1593 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1594 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1595 rtld_hidden_data_def instead of INTVARDEF.
1596 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1597 * elf/dl-deps.c (expand_dst): Likewise.
1598 * elf/dl-load.c (_dl_dst_count): Likewise.
1599 (_dl_dst_substitute): Likewise.
1600 (decompose_rpath): Likewise.
1601 (_dl_init_paths): Likewise.
1602 (open_path): Likewise.
1603 (_dl_map_object): Likewise.
1604 * elf/rtld.c (dl_main): Likewise.
1605 (process_dl_audit): Likewise.
1606 (process_envvars): Likewise.
1607 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1609 (__libc_enable_secure): Use rtld_hidden_proto.
1611 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1614 (add_path): New function broken out of _dl_rtld_di_serinfo.
1615 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1617 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1619 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1620 parentheses around macro arguments.
1621 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1622 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1623 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1624 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1625 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1626 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1627 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1628 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1629 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1630 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1631 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1632 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1633 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1634 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1635 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1636 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1637 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1638 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1639 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1640 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1641 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1642 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1643 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1644 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1645 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1646 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1647 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1648 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1649 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1650 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1651 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1652 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1653 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1654 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1655 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1656 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1659 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1660 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1664 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1665 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1666 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1667 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1668 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1669 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1670 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1672 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1673 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1674 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1675 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1676 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1677 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1679 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1680 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1681 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1682 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1683 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1684 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1685 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1686 (_FP_FRAC_SRS_1): Likewise.
1687 (_FP_FRAC_CLZ_1): Likewise.
1688 (_FP_MUL_MEAT_1_imm): Likewise.
1689 (_FP_MUL_MEAT_1_wide): Likewise.
1690 (_FP_MUL_MEAT_1_hard): Likewise.
1691 (_FP_SQRT_MEAT_1): Likewise.
1692 (_FP_FRAC_ASSEMBLE_1): Likewise.
1693 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1694 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1695 (__FP_CLZ_2): Likewise.
1696 (_FP_MUL_MEAT_2_wide): Likewise.
1697 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1698 (_FP_MUL_MEAT_2_gmp): Likewise.
1699 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1700 (_FP_SQRT_MEAT_2): Likewise.
1701 (_FP_FRAC_ASSEMBLE_2): Likewise.
1702 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1703 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1704 (_FP_FRAC_CLZ_4): Likewise.
1705 (_FP_MUL_MEAT_4_wide): Likewise.
1706 (_FP_MUL_MEAT_4_gmp): Likewise.
1707 (_FP_SQRT_MEAT_4): Likewise.
1708 (_FP_FRAC_ASSEMBLE_4): Likewise.
1709 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1710 * soft-fp/op-common.h (_FP_CMP): Likewise.
1711 (_FP_CMP_EQ): Likewise.
1712 (_FP_CMP_UNORD): Likewise.
1713 (_FP_TO_INT): Likewise.
1714 (_FP_FROM_INT): Likewise.
1715 [!__FP_CLZ] (__FP_CLZ): Likewise.
1716 (_FP_DIV_HELP_imm): Likewise.
1717 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1720 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1722 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1723 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1724 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1725 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1728 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1729 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1730 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1731 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1732 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1733 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1734 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1735 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1736 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1738 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1739 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1740 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1741 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1746 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1747 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1748 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1749 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1750 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1751 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1752 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1753 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1754 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1755 (FP_UNPACK_RAW_SP): Likewise.
1756 (FP_PACK_RAW_S): Likewise.
1757 (FP_PACK_RAW_SP): Likewise.
1758 (FP_UNPACK_S): Likewise.
1759 (FP_UNPACK_SP): Likewise.
1760 (FP_UNPACK_SEMIRAW_S): Likewise.
1761 (FP_UNPACK_SEMIRAW_SP): Likewise.
1762 (FP_PACK_S): Likewise.
1763 (FP_PACK_SP): Likewise.
1764 (FP_PACK_SEMIRAW_S): Likewise.
1765 (FP_PACK_SEMIRAW_SP): Likewise.
1766 (_FP_SQRT_MEAT_S): Likewise.
1767 (FP_CMP_S): Likewise.
1768 (FP_CMP_EQ_S): Likewise.
1769 (FP_CMP_UNORD_S): Likewise.
1770 (FP_TO_INT_S): Likewise.
1771 (FP_FROM_INT_S): Likewise.
1773 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1775 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1776 (FP_EX_INVALID_IMZ): Likewise.
1777 (FP_EX_INVALID_IMZ_FMA): Likewise.
1778 (FP_EX_INVALID_ISI): Likewise.
1779 (FP_EX_INVALID_ZDZ): Likewise.
1780 (FP_EX_INVALID_IDI): Likewise.
1781 (FP_EX_INVALID_SQRT): Likewise.
1782 (FP_EX_INVALID_CVI): Likewise.
1783 (FP_EX_INVALID_VC): Likewise.
1784 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1785 "invalid" exceptions.
1786 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1787 (_FP_ADD_INTERNAL): Likewise.
1788 (_FP_MUL): Likewise.
1789 (_FP_FMA): Likewise.
1790 (_FP_DIV): Likewise.
1791 (_FP_CMP_CHECK_NAN): Likewise.
1792 (_FP_SQRT): Likewise.
1793 (_FP_TO_INT): Likewise.
1794 (FP_EXTEND): Likewise.
1796 2014-10-09 Allan McRae <allan@archlinux.org>
1798 * po/fr.po: Update French translation from translation project.
1800 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1803 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1805 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1806 (__cxa_atexit): Use libc_hidden_proto.
1807 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1810 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1812 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1813 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1814 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1815 [!_ISOMAC] (__iswctype_internal): Likewise.
1816 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1817 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1819 (fcntl): Remove __fcntl_internal alias.
1820 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1821 __connect_internal alias.
1822 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1825 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1826 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1828 (_FP_CHECK_FLUSH_ZERO): New macro.
1829 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1830 (_FP_CMP): Likewise.
1831 (_FP_CMP_EQ): Likewise.
1832 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1834 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1835 (FP_TRUNC): Likewise.
1837 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1838 treated as invalid conversion, not as normal exponent.
1840 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1841 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1842 (_FP_CMP_EQ): Likewise.
1843 (_FP_CMP_UNORD): Likewise.
1844 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1845 (FP_CMP_EQ_D): Likewise.
1846 (FP_CMP_UNORD_D): Likewise.
1847 * soft-fp/extended.h (FP_CMP_E): Likewise.
1848 (FP_CMP_EQ_E): Likewise.
1849 (FP_CMP_UNORD_E): Likewise.
1850 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1851 (FP_CMP_EQ_Q): Likewise.
1852 (FP_CMP_UNORD_Q): Likewise.
1853 * soft-fp/single.h (FP_CMP_S): Likewise.
1854 (FP_CMP_EQ_S): Likewise.
1855 (FP_CMP_UNORD_S): Likewise.
1856 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1857 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1858 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1859 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1860 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1861 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1862 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1863 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1864 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1865 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1866 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1867 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1868 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1870 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1872 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1873 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1875 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1877 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1878 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1879 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1880 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1882 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1884 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1885 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1887 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1889 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1890 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1891 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1892 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1895 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1896 a subnormal result, set the underflow exception if trapping on
1897 underflow is enabled.
1898 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1899 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1900 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1902 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1903 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1904 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1905 * soft-fp/extendxftf2.c (__extendxftf2): Use
1906 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1908 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1909 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1910 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1911 FP_HANDLE_EXCEPTIONS.
1912 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1913 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1914 FP_HANDLE_EXCEPTIONS.
1915 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1916 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1917 FP_HANDLE_EXCEPTIONS.
1918 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1919 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1920 FP_HANDLE_EXCEPTIONS.
1922 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1925 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1926 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1928 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1929 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1931 (__adjtimex): Define using libc_hidden_ver.
1932 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1934 (ntp_gettime): Call __adjtimex directly.
1935 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1937 (ntp_gettimex): Call __adjtimex directly.
1938 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1939 __adjtimex_internal alias.
1941 2014-10-08 Roland McGrath <roland@hack.frob.com>
1944 * nscd/nscd.c (more_help): Rewrite list of tables collection
1945 using xstrdup and asprintf.
1947 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1949 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1950 Roland McGrath <roland@hack.frob.com>
1952 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1953 (do_lookup_unique): ... local function 'enter' here; update callers.
1955 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1958 compat_symbol calls on [SHARED].
1959 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1960 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1962 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1963 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1964 (oldsetrlimit): Remove.
1965 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1967 (lchown): New syscall entry.
1968 (oldsetrlimit): Remove.
1969 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1971 (oldsetrlimit): Remove.
1972 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1975 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1976 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1977 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1978 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1979 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1980 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1982 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1987 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1989 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1990 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1991 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1992 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1993 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1995 (__old_sem_post): Likewise.
1997 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1999 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2000 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2001 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2002 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2003 Use INLINE_VSYSCALL macro.
2004 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2005 __vdso_clock_gettime.
2006 * sysdeps/unix/sysv/linux/tile/init-first.c
2007 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2008 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2009 __vdso_clock_gettime.
2011 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2012 to set up frame more cleanly.
2014 * sysdeps/tile/memcmp.c: New file.
2016 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2018 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2019 * sysdeps/tile/tilegx/strcasestr.c: New file.
2020 * sysdeps/tile/tilegx/strnlen.c: New file.
2021 * sysdeps/tile/tilegx/strstr.c: New file.
2023 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2025 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
2027 * nptl/tst-setuid3.c: Write errors to stdout.
2029 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2032 (preload): New functions broken out of _dl_map_object_deps.
2033 (_dl_map_object_deps): Remove a nested function. Update call sites.
2035 2014-10-01 Joseph Myers <joseph@codesourcery.com>
2038 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2039 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2041 2014-10-01 Steve Ellcey <sellcey@mips.com>
2043 * sysdeps/mips/strcmp.S: New.
2045 2014-09-30 Joseph Myers <joseph@codesourcery.com>
2048 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2050 (mkdirat): Likewise.
2051 (readlinkat): Likewise.
2052 (renameat): Likewise.
2053 (symlinkat): Likewise.
2054 (unlinkat): Likewise.
2055 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2056 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2057 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2058 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2059 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2060 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2061 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2063 2014-09-30 Will Newton <will.newton@linaro.org>
2065 * math/math.h: Define long double math functions if
2066 _LIBC_TEST is defined.
2067 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2069 * localedata/Makefile: Move assignment to tests-special
2070 into an ifdef testing run-built-tests.
2071 * timezone/Makefile: Likewise.
2073 2014-09-29 Joseph Myers <joseph@codesourcery.com>
2075 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2076 with $(BASH) not $(SHELL).
2078 2014-09-29 Carlos O'Donell <carlos@redhat.com>
2079 Matthew LeGendre <legendre1@llnl.gov>
2082 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2085 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2087 * stdio-common/printf_fp.c
2088 (hack_digit): New function, broken out of ...
2089 (__printf_fp): ... local function here. Update call sites.
2090 hack_digit now takes an additional parameter that is a pointer
2091 to a struct of the referenced locals. Those locals moved inside
2092 the struct and references updated.
2094 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2096 * aclocal.m4: Require autoconf 2.69.
2097 * configure: Regenerated.
2098 * sysdeps/aarch64/configure: Likewise.
2099 * sysdeps/alpha/configure: Likewise.
2100 * sysdeps/arm/armv7/configure: Likewise.
2101 * sysdeps/arm/configure: Likewise.
2102 * sysdeps/ia64/configure: Likewise.
2103 * sysdeps/mach/configure: Likewise.
2104 * sysdeps/mips/configure: Likewise.
2105 * sysdeps/s390/configure: Likewise.
2106 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2109 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2111 * sysdeps/ia64/configure.ac: Likewise.
2113 2014-09-26 Joseph Myers <joseph@codesourcery.com>
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2116 specify symbol version for ld.so. Do not include entry for
2118 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2119 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2120 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2123 * Makeconfig [$(build-shared) = yes]
2124 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2126 [$(build-shared) = yes && $(soversions.mk-done) = t]
2127 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2128 [$(build-shared) = yes && $(soversions.mk-done) = t]
2129 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2131 [$(build-shared) = yes && $(soversions.mk-done) = t]
2132 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2134 [$(build-shared) = yes && $(soversions.mk-done) = t]
2135 (common-generated): Don't append gnu/lib-names.h and
2136 gnu/lib-names.stmp here.
2137 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2138 (lib-names-h-abi): New variable.
2139 [$(build-shared) = yes && $(soversions.mk-done) = t]
2140 (lib-names-stmp-abi): Likewise.
2141 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2142 abi-variants] (before-compile): Append
2143 $(common-objpfx)$(lib-names-h-abi).
2144 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2145 abi-variants] (common-generated): Append gnu/lib-names.h.
2146 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2147 abi-variants] (install-others-nosubdir): Depend on
2148 $(inst_includedir)/$(lib-names-h-abi).
2149 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2150 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2151 [$(build-shared) = yes && $(soversions.mk-done) = t]
2152 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2153 [$(build-shared) = yes && $(soversions.mk-done) = t]
2154 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2155 [$(build-shared) = yes && $(soversions.mk-done) = t]
2156 (common-generated): Append $(lib-names-h-abi) and
2157 $(lib-names-stmp-abi).
2158 * scripts/lib-names.awk: Do not handle multi being set.
2159 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2161 (abi-lp64_be-ld-soname): Likewise.
2162 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2164 (abi-hard-ld-soname): Likewise.
2165 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2166 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2168 (abi-o32_hard-ld-soname): Likewise.
2169 (abi-o32_soft_2008-ld-soname): Likewise.
2170 (abi-o32_hard_2008-ld-soname): Likewise.
2171 (abi-n32_soft-ld-soname): Likewise.
2172 (abi-n32_hard-ld-soname): Likewise.
2173 (abi-n32_soft_2008-ld-soname): Likewise.
2174 (abi-n32_hard_2008-ld-soname): Likewise.
2175 (abi-n64_soft-ld-soname): Likewise.
2176 (abi-n64_hard-ld-soname): Likewise.
2177 (abi-n64_soft_2008-ld-soname): Likewise.
2178 (abi-n64_hard_2008-ld-soname): Likewise.
2179 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2181 (abi-64-v2-ld-soname): Likewise.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2184 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2186 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2188 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2190 (abi-64-ld-soname): Likewise.
2191 (abi-x32-ld-soname): Likewise.
2192 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2194 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2196 2014-09-23 Joseph Myers <joseph@codesourcery.com>
2199 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2200 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2201 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2203 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2204 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2205 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2206 syscall entry for GLIBC_2.2 symbol version.
2207 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2210 (setrlimit): Likewise.
2211 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2214 2014-09-23 Will Newton <will.newton@linaro.org>
2216 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2217 _LINUX_ARM_SYSDEP_H include guard too.
2218 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2221 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2223 * sysdeps/unix/sysv/linux/eventfd.c:
2224 Make first argument unsigned.
2225 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2226 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2228 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
2230 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2231 * socket/sys/socket.h: Likewise
2232 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2234 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2236 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2238 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
2240 * time/tst-ftime.c: New test.
2241 * time/Makefile (tests): Add tst-ftime.
2243 2014-09-17 Joseph Myers <joseph@codesourcery.com>
2245 * soft-fp/extended.h: Fix comment formatting.
2246 * soft-fp/op-1.h: Likewise.
2247 * soft-fp/op-2.h: Likewise.
2248 * soft-fp/op-4.h: Likewise.
2249 * soft-fp/op-8.h: Likewise.
2250 * soft-fp/op-common.h: Likewise.
2251 * soft-fp/soft-fp.h: Likewise.
2253 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2255 2014-09-16 Joseph Myers <joseph@codesourcery.com>
2258 * Makeconfig (soversions-default-setname): Remove variable.
2259 ($(common-objpfx)soversions.i): Don't pass default_setname to
2261 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2262 oldest_abi to abi-versions.awk.
2263 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2264 * config.make.in (oldest-abi): Remove variable.
2265 * configure.ac (--enable-oldest-abi): Remove configure option.
2266 * configure: Regenerated.
2267 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2269 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2270 * scripts/soversions.awk: Do not handle default_setname variable.
2271 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2273 * sysdeps/mach/hurd/configure: Regenerated.
2274 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2276 * sysdeps/unix/sysv/linux/configure: Regenerated.
2278 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2280 * elf/Makefile (CFLAGS-interp.c): Remove.
2281 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2283 * elf/interp.c: Include generated runtime-linker.h
2285 * Makerules (lib%.so): Don't include $(+interp) in
2287 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2288 * dlfcn/eval.c: Remove file.
2290 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2294 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2298 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2300 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2301 Jakub Jelinek <jakub@redhat.com>
2304 * libio/stdio.h: Check definition of __fortify_function
2305 instead of __extern_always_inline to include bits/stdio2.h.
2306 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2307 check if __extern_always_inline is defined.
2308 [__USE_MISC || __USE_XOPEN]: Likewise.
2309 [__USE_ISOC99] Likewise.
2310 * misc/sys/cdefs.h (__fortify_function): Define only if
2311 __extern_always_inline is defined.
2312 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2313 __extern_always_inline and __extern_inline only for g++-4.3
2314 and newer or a compatible gcc.
2316 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2319 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2320 last change to handle zero prefix length.
2322 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2324 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2327 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2330 2014-09-13 Allan McRae <allan@archlinux.org>
2332 * po/ru.po: Update Russian translation from translation project.
2334 2014-09-12 Roland McGrath <roland@hack.frob.com>
2336 * locale/programs/locale.c (show_locale_vars): Inline local function
2337 into its sole call site. Clean up some style nits.
2338 (print_item): New function, broken out of ...
2339 (show_info): ... local function here. Clean up style nits.
2341 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2343 (set_class_defaults): ... local function set_default here.
2344 Define set_default as a macro locally to pass constant parameters.
2345 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2346 rather than a shared local.
2348 * stdlib/rpmatch.c (try): New function, broken out of ...
2349 (rpmatch): ... local function here. Also, prototypify definition.
2351 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2353 * scripts/soversions.awk: Do not handle configuration names.
2354 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2355 vendor and os variables to soversions.awk.
2356 * configure.ac: Do not modify gnu-* host_os.
2357 * configure: Regenerated
2358 * shlib-versions: Remove first column with configuration names.
2359 * nptl/shlib-versions: Likewise.
2360 * nptl_db/shlib-versions: Likewise.
2361 * sysdeps/hppa/shlib-versions: Likewise.
2362 * sysdeps/m68k/shlib-versions: Likewise.
2363 * sysdeps/mach/hurd/shlib-versions: Likewise.
2364 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2365 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2366 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2367 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2368 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2369 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2370 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2371 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2374 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2375 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2376 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2377 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2378 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2379 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2380 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2384 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2387 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2389 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2391 * shlib-versions: Remove OS-specific entries. Moved to files in
2393 * sysdeps/mach/hurd/shlib-versions: New file.
2394 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2396 * nptl/shlib-versions: Remove architecture-specific entries.
2397 Moved to files in sysdeps.
2398 * shlib-versions: Likewise.
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2401 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2402 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2403 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2404 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2406 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2407 (UDP_NO_CHECK6_RX): Likewise.
2409 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2411 * sysdeps/posix/sysconf.c (__sysconf): Spell
2412 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2414 2014-08-12 Florian Weimer <fweimer@redhat.com>
2416 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2418 * iconv/Versions (__gconv_transliterate): Export for use from
2420 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2421 (struct __gconv_trans_data, __gconv_trans_fct,
2422 __gconv_trans_context_fct, __gconv_trans_query_fct,
2423 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2425 (struct __gconv_step_data): Remove __trans member.
2426 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2427 longer hidden. Remove unused trans_data argument.
2428 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2429 (__gconv_translit_find): Remove declaration.
2430 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2432 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2433 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2434 trans_data argument. Add hidden definition.
2435 (__gconv_translit_find): Remove.
2436 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2437 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2438 * iconv/skeleton.c: Remove transliteration initialization.
2439 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2440 __gconv_step_data initialization.
2441 * libio/iofwide.c (__libio_translit_): Remove.
2442 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2443 * wcsmbs/btowc.c (__btowc): Likewise.
2444 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2445 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2446 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2447 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2448 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2449 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2450 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2451 * wcsmbs/wctob.c (wctob): Likewise.
2453 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2456 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2457 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2459 * sysdeps/x86/Makefile: Adjust.
2461 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2462 Roland McGrath <roland@hack.frob.com>
2464 * locale/weight.h: Add include guard.
2465 (findidx): Make static rather than auto; take new parameters
2466 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2467 * locale/weightwc.h: Likewise.
2468 * posix/fnmatch_loop.c
2469 (FCT): Change type of EXTRA from int32_t to wint_t.
2470 Don't include either header inside the function.
2471 Call FINDIDX rather than findidx, and pass new arguments.
2472 #undef FINDIDX at the end of the file.
2473 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2474 FINDIDX before including fnmatch_loop.c for the non-wide version.
2475 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2476 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2477 for the wide version.
2478 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2479 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2480 Pass new arguments to findidx.
2481 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2482 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2483 Don't #include it inside the function. Pass new arguments to findidx.
2484 * posix/regex_internal.h
2485 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2486 (re_string_elem_size_at): Don't #include it inside the function.
2487 Pass new arguments to findidx.
2488 * string/strcoll_l.c: #include WEIGHT_H at top level.
2489 (get_next_seq): Don't #include it inside the function.
2490 Pass new arguments to findidx.
2491 (get_next_seq_nocache): Likewise.
2492 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2493 (STRXFRM): Don't #include it inside the function.
2494 Pass new arguments to findidx.
2496 2014-09-11 Florian Weimer <fweimer@redhat.com>
2499 * malloc/malloc.c (unlink): Turn asserts into a call to
2502 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
2505 * libio/wfileops (do_ftell_wide): Free OUT.
2507 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2509 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2511 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2514 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2515 group if the current group is empty.
2517 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2519 * benchtests/bench-memset.c (test_main): Add more test from size
2520 from 32 to 512 bytes.
2521 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2522 Add POWER8 memset object.
2523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2524 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2525 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2527 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2529 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2530 multiarch POWER8 memset optimization.
2531 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2532 POWER8 memset optimization.
2534 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2535 Remove bzero multiarch objects.
2536 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2537 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2539 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2541 [__bzero]: Redefine to specific name.
2542 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2543 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2544 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2546 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2547 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2549 2014-09-10 Florian Weimer <fweimer@redhat.com>
2551 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2552 warnings into errors.
2554 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2555 __cxa_thread_atexit_impl prototype.
2557 2014-09-09 Steve Ellcey <sellcey@mips.com>
2559 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2560 Fix capitalization of error message.
2562 2014-09-09 Steve Ellcey <sellcey@mips.com>
2564 * sysdeps/mips/preconfigure: Modify ABI tests.
2566 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2568 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2570 2014-09-07 Roland McGrath <roland@hack.frob.com>
2571 Carlos O'Donell <carlos@systemhalted.org>
2573 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2574 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2575 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2576 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2577 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2578 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2579 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2580 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2581 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2582 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2583 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2584 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2585 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2586 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2587 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2588 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2589 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2590 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2591 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2592 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2593 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2594 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2595 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2596 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2597 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2598 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2599 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2600 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2601 Deconditionalize the code that was previously under [RESET_PID].
2602 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2603 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2604 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2605 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2608 2014-09-08 Allan McRae <allan@archlinux.org>
2610 * version.h (RELEASE): Set to "development".
2611 (VERSION): Set to "2.20.90"
2613 2014-09-07 Allan McRae <allan@archlinux.org
2615 * version.h (RELEASE): Set to "stable".
2616 (VERSION): Set to "2.20"
2617 * include/features.h (__GLIBC_MINOR__): Set to 20.
2619 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2622 * po/ko.po: Update Korean translation from translation project.
2624 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2627 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2628 macro for handling signed relocations.
2630 2014-09-03 Florian Weimer <fweimer@redhat.com>
2633 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2634 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2636 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2637 * iconvdata/ibm935.c (BODY): Likewise.
2638 * iconvdata/ibm937.c (BODY): Likewise.
2639 * iconvdata/ibm939.c (BODY): Likewise.
2640 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2642 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2644 * iconvdata/run-iconv-test.sh: New test loop for checking for
2647 2014-09-02 Khem Raj <raj.khem@gmail.com>
2649 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2652 2014-09-01 Allan McRae <allan@archlinux.org>
2654 * po/eo.po: Update Esperanto translation from translation project.
2656 * po/ca.po: Update Catalan translation from translation project.
2658 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2660 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2663 2014-08-27 Mark Wielaard <mjw@redhat.com>
2666 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2667 to call set_thread_area instead of hand written asm.
2668 (__NR_set_thread_area): Removed define.
2669 (TLS_FLAG_WRITABLE): Likewise.
2670 (__ASSUME_SET_THREAD_AREA): Remove check.
2671 (TLS_EBX_ARG): Remove define.
2672 (TLS_LOAD_EBX): Likewise.
2674 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2676 Simplify atomicity of socket creation in bind.
2678 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2679 looking up the name after linking the file.
2681 2014-08-27 Allan McRae <allan@archlinux.org>
2683 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2685 2014-08-26 Florian Weimer <fweimer@redhat.com>
2688 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2689 trans_compare, open_translit, __gconv_translit_find):
2690 Remove module loading code.
2692 2014-08-26 Allan McRae <allan@archlinux.org>
2694 * po/vi.po: Update Vietnamese translation from translation project.
2696 * po/uk.po: Update Ukrainian translation from translation project.
2698 * po/fr.po: Update French translation from translation project.
2700 * po/ru.po: Update Russian translation from translation project.
2702 * po/pl.po: Update Polish translation from translation project.
2704 * po/cs.po: Update Czech translation from translation project.
2706 * po/de.po: Update German translation from translation project.
2708 * po/bg.po: Update Bulgarian translation from translation project.
2710 * po/sv.po: Update Sweedish translation from translation project.
2712 * po/nl.po: Update Dutch translation from translation project.
2714 * po/es.po: Update Spanish translation from translation project.
2716 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2718 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2720 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2721 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2722 (CPPFLAGS-iconvconfig): Likewise.
2723 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2725 * include/libc-symbols.h: Remove unnecessary check for
2727 * nptl/pthreadP.h: Likewise.
2728 * sysdeps/aarch64/setjmp.S: Likewise.
2729 * sysdeps/alpha/setjmp.S: Likewise.
2730 * sysdeps/arm/sysdep.h: Likewise.
2731 * sysdeps/i386/setjmp.S: Likewise.
2732 * sysdeps/m68k/setjmp.c: Likewise.
2733 * sysdeps/posix/getcwd.c: Likewise.
2734 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2735 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2736 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2737 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2738 * sysdeps/sh/sh3/setjmp.S: Likewise.
2739 * sysdeps/sh/sh4/setjmp.S: Likewise.
2740 * sysdeps/unix/alpha/sysdep.h: Likewise.
2741 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2742 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2743 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2744 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2749 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2752 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2754 * sysdeps/x86_64/setjmp.S: Likewise.
2756 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2759 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2761 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2762 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2764 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2766 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2769 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2770 and __x86_64__ when disabling x87 inline functions.
2772 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2775 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2776 asm statement with __cpuid_count.
2778 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2780 * configure.ac: Change __ehdr_start code to dereference the struct.
2781 Run readelf on the output to look for relocations.
2782 * configure: Regenerated.
2784 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2787 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2789 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2791 2014-08-12 Roland McGrath <roland@hack.frob.com>
2793 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2795 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2798 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2799 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2801 2014-08-12 Sean Anderson <seanga2@gmail.com>
2803 * malloc/malloc.c: Fix typo in comment.
2805 2014-08-09 Allan McRae <allan@archlinux.org>
2807 * Regenerate libc.po.
2809 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2811 * intl/tst-gettext2.sh: Check every lang file for creation.
2813 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2815 * sysdeps/aarch64/fpu/math_private.h
2816 (libc_feholdsetround_noex_aarch64_ctx): New function.
2818 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2820 * sysdeps/arm/armv6/strcpy.S (strcpy):
2821 Fix performance issue in misaligned cases.
2823 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2825 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2826 Move definition from termios.h.
2827 (struct termio): Likewise.
2828 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2829 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2830 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2831 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2833 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2834 Move definition to ioctl-types.h
2835 (struct termio): Likewise.
2836 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2837 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2838 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2839 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2842 2014-08-05 Richard Henderson <rth@redhat.com>
2844 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2846 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2848 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2849 Use __feraiseexcept.
2850 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2851 Protect libm symbols with IS_IN_libm.
2853 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2855 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2857 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2859 2014-08-04 Will Newton <will.newton@linaro.org>
2861 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2864 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2866 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2867 variants for each function.
2869 2014-08-04 Roland McGrath <roland@hack.frob.com>
2871 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2873 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2874 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2876 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2877 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2878 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2879 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2880 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2881 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2882 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2883 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2884 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2885 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2886 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2887 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2888 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2889 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2890 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2891 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2892 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2894 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2898 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2900 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2902 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2903 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2904 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2905 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2906 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2907 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2908 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2909 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2910 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2912 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2913 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2914 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2915 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2916 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2917 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2918 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2919 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2920 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2921 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2922 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2923 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2924 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2925 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2926 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2927 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2928 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2930 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2931 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2933 2014-08-04 Roland McGrath <roland@hack.frob.com>
2935 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2936 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2937 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2938 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2939 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2940 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2942 2014-08-04 Roland McGrath <roland@hack.frob.com>
2944 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2945 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2946 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2947 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2949 2014-08-04 Roland McGrath <roland@hack.frob.com>
2951 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2952 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2953 (__libc_vfork): Define function under this name.
2954 (__vfork): Define as an alias.
2955 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2956 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2958 2014-08-04 Roland McGrath <roland@hack.frob.com>
2960 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2961 that was previously under [RESET_PID].
2962 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2964 2014-08-04 Andreas Schwab <schwab@suse.de>
2966 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2968 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2970 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2973 2014-08-01 Roland McGrath <roland@hack.frob.com>
2975 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2977 2014-08-01 Richard Henderon <rth@redhat.com>
2979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2980 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2981 typo in exact zero test.
2982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2983 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2984 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2986 2014-08-01 Roland McGrath <roland@hack.frob.com>
2988 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2989 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2990 * sysdeps/arm/sysdep.h: ... here.
2991 [!__ASSEMBLER__]: Include <stdint.h>.
2993 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2995 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2996 (HAVE_WCTYPE_H): Likewise.
2997 (HAVE_ISWCTYPE): Likewise.
2998 (ENABLE_NLS): Likewise.
2999 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3000 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3002 * posix/regex_internal.c: Check if DEBUG is defined and is
3005 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3006 (HAVE_MBSRTOWCS): Likewise.
3007 * posix/fnmatch.c: Include string.h unconditionally.
3009 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3011 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3014 2014-07-31 Roland McGrath <roland@hack.frob.com>
3016 * sysdeps/generic/safe-fatal.h: New file.
3017 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3018 * nptl/forward.c: Include it.
3019 (__pthread_unwind): Use __safe_fatal as default action, rather
3020 than a bogus use of INTERNAL_SYSCALL that could never work.
3022 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3023 * configure.ac (libc_cv_builtin_trap): New test.
3024 * configure: Regenerated.
3025 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3026 (ABORT_INSTRUCTION): Define using __builtin_trap.
3028 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3029 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3030 * sysdeps/nptl/nptl-signals.h: New file.
3031 * nptl/pthreadP.h: Include <nptl-signals.h>.
3033 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3035 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3036 (ONE_DIRECTION): Define.
3037 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3038 (ONE_DIRECTION): Define.
3039 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3040 (ONE_DIRECTION): Define.
3042 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3044 * sysdeps/s390/Makefile: Delete file.
3045 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3046 * sysdeps/s390/__longjmp.c: Delete file.
3047 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3048 Remove fields __flags and __reserved.
3049 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3051 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3052 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3053 * sysdeps/s390/rtld-setjmp.S: Likewise.
3054 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3055 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3056 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3057 * sysdeps/s390/s390-32/setjmp.S: ... here.
3059 (__sigsetjmp): Remove setting __flags field.
3060 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3061 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3062 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3063 * sysdeps/s390/s390-64/setjmp.S: ... here.
3065 (__sigsetjmp): Remove setting __flags field.
3066 * sysdeps/s390/setjmp.S: Delete file.
3067 * sysdeps/s390/sigjmp.c: Likewise.
3068 * sysdeps/s390/v1-longjmp.c: Likewise.
3069 * sysdeps/s390/v1-setjmp.h: Likewise.
3070 * sysdeps/s390/v1-sigjmp.c: Likewise.
3071 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3072 Remove v1-longjmp_chk.
3073 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3074 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3075 Include debug/longjmp_chk.c and add versioning.
3076 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3077 Include nptl/pt-longjmp.c and add versioning.
3078 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3079 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3080 Include __longjmp.c.
3081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3083 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3084 (__getcontext): Remove setting __flags field.
3086 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3087 Don't restore upper high grps.
3088 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3090 (__swapcontext): Remove setting uc_flags field.
3091 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3093 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3094 Include __longjmp.c.
3095 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3097 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3098 (__getcontext): Remove setting __flags field.
3100 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3101 (__swapcontext): Remove setting uc_flags field.
3102 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3103 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3104 Remove fields uc_high_gprs and __reserved.
3105 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3106 New file with reverted content.
3107 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3108 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3110 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3113 2014-07-31 Andreas Schwab <schwab@suse.de>
3115 * config.h.in (HAVE_IFUNC): Define to 0.
3116 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3119 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3122 memmove-avx-unaligned, memcpy-avx-unaligned and
3123 mempcpy-avx-unaligned.
3124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3125 Add tests for AVX memcpy functions.
3126 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3127 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3129 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3130 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3132 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3133 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3135 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3136 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3137 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3139 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3142 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3145 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
3148 * manual/llio.texi: Add section about open file description locks.
3149 * manual/examples/ofdlocks.c: Example of open file description
3151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3152 F_OFD_SETLK, and F_OFD_SETLKW.
3154 2014-07-23 Allan McRae <allan@archlinux.org>
3156 * po/es.po: Update Spanish translation from translation project.
3158 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3160 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3162 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3165 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3166 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3167 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3169 2014-07-17 Joseph Myers <joseph@codesourcery.com>
3172 * math/fesetenv.c (__fesetenv)
3173 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3174 * math/feupdateenv.c (__feupdateenv)
3175 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3177 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3178 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3179 (__ASSUME_SOCKETCALL): Do not define.
3181 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3182 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3183 (__ASSUME_SOCKETCALL): Do not define.
3184 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3185 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3186 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3187 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3188 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3189 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3190 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3191 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3193 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3194 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3195 (__ASSUME_SOCKETCALL): Do not define.
3196 (__ASSUME_IPC64): Define unconditionally.
3197 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3198 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3199 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3200 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3201 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3202 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3203 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3206 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3207 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3208 (__ASSUME_SOCKETCALL): Do not define.
3209 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3210 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3211 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3212 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3213 (__ASSUME_REQUEUE_PI): Define unconditionally.
3214 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3215 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3216 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3217 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3218 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3219 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3221 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3222 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3223 (__ASSUME_SOCKETCALL): Do not define.
3224 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3225 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3226 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3227 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3228 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3229 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3231 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3232 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3233 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3234 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3235 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3236 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3237 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3238 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3239 (__ASSUME_GETCPU_SYSCALL): Likewise.
3241 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3242 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3243 cases for individual architectures.
3244 * sysdeps/gnu/configure: Regenerated.
3245 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3246 LIBC_SLIBDIR_RTLDDIR.
3247 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3248 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3249 LIBC_SLIBDIR_RTLDDIR.
3250 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3252 LIBC_SLIBDIR_RTLDDIR.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3255 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3256 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3258 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3259 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3261 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3262 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3263 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3264 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3266 * sysdeps/aarch64/shlib-versions: Move to ...
3267 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3268 * sysdeps/alpha/shlib-versions: Move to ...
3269 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3270 * sysdeps/arm/shlib-versions: Move to ...
3271 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3272 * sysdeps/hppa/shlib-versions: Move all contents except for
3273 libgcc_s entry to ...
3274 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3276 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3277 * sysdeps/ia64/shlib-versions: Move to ...
3278 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3280 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3281 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3282 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3283 * sysdeps/microblaze/shlib-versions: Move to ...
3284 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3285 * sysdeps/mips/shlib-versions: Move to ...
3286 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3288 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3289 * sysdeps/tile/shlib-versions: Move to ...
3290 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3291 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3293 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3294 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3296 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3298 2014-07-17 Will Newton <will.newton@linaro.org>
3300 * sysdeps/arm/bits/atomic.h
3301 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3302 (__arch_compare_and_exchange_bool_16_int): Likewise.
3303 (__arch_compare_and_exchange_bool_64_int): Likewise.
3305 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3306 into an #else block.
3308 2014-07-16 Roland McGrath <roland@hack.frob.com>
3310 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3311 just Linux configurations. Test empirically that the compiler sets
3312 __ARM_EABI__, rather than using the tuple to decide.
3313 * sysdeps/arm/preconfigure: Regenerated.
3314 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3315 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3316 contents appended ...
3317 * sysdeps/arm/configure.ac: ... here.
3318 * sysdeps/arm/configure: Regenerated.
3320 2014-07-15 Roland McGrath <roland@hack.frob.com>
3322 * nptl/pthread_kill.c: New file.
3323 * nptl/pthread_sigmask.c: New file.
3324 * nptl/pthread_sigqueue.c: New file.
3326 * sysdeps/nptl/lowlevellock.h: New file.
3327 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3328 * sysdeps/nptl/lowlevellock-futex.h: New file.
3330 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3331 Remove dead declarations.
3333 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3335 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3336 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3338 * sysdeps/x86_64/configure.ac: Likewise.
3339 * sysdeps/i386/configure: Regenerated.
3340 * sysdeps/x86_64/configure: Likewise.
3341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3342 memset-avx2 only if config-cflags-avx2 is yes.
3343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3344 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3346 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3347 only if HAVE_AVX2_SUPPORT is defined.
3348 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3350 2014-07-14 Alan Modra <amodra@gmail.com>
3353 * elf/elf.h (DT_PPC64_NUM): Correct value.
3354 * NEWS: Add to fixed bug list.
3356 2014-07-13 Jim Meyering <meyering@fb.com>
3359 regex: don't deref NULL upon heap allocation failure
3360 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3361 failure in one more place.
3362 To trigger the segfault, configure grep -with-included-regex,
3363 build it, and run these commands:
3364 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3366 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3368 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3370 2014-07-11 Richard Henderson <rth@redhat.com>
3372 * sysdeps/aarch64/libm-test-ulps: Update.
3374 2014-07-10 Florian Weimer <fweimer@redhat.com>
3377 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3378 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3379 (__nptl_setxid): Initialize error member. Call
3380 __nptl_setxid_error.
3381 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3382 * nptl/descr.h (struct xid_command): Add error member.
3383 * nptl/tst-setuid3.c: New file.
3384 * nptl/Makefile (tests): Add it.
3386 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3390 (__lll_trylock): Use __lll_base_trylock.
3391 (__lll_cond_trylock): Likewise.
3393 2014-07-10 Roland McGrath <roland@hack.frob.com>
3395 * nptl/pthread_create.c (start_thread): Use atomic_or and
3396 lll_futex_wake directly rather than lll_robust_dead.
3397 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3398 (lll_robust_dead): Macro removed.
3399 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
3400 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3401 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3402 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3403 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3404 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3405 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3406 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3407 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3408 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3409 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3410 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3411 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3412 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3413 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3415 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3416 Use atomic_compare_and_exchange_val_acq directly rather than
3418 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3419 (__lll_robust_trylock, lll_robust_trylock): Removed.
3420 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3421 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3422 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3424 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3425 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3426 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3427 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3428 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3429 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3430 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3431 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3432 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3435 2014-07-02 Florian Weimer <fweimer@redhat.com>
3437 * manual/locale.texi (Locale Names): New section documenting
3438 locale name syntax. Adjust menu and node chaining accordingly.
3439 (Choosing Locale): Reference Locale Names, Locale Categories.
3440 Mention setting LC_ALL=C. Reflect that name syntax is now
3442 (Locale Categories): New section title. Reference Locale Names.
3443 LC_ALL is an environment variable, but not a category.
3444 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3445 description, now in Locale Name. Reference that section. Locale
3446 name syntax is now documented.
3448 2014-07-02 Florian Weimer <fweimer@redhat.com>
3451 * locale/findlocale.c (name_present, valid_locale_name): New
3453 (_nl_find_locale): Use the loc_name variable to store name
3454 candidates. Call name_present and valid_locale_name to check and
3455 validate locale names. Return an error if the locale is invalid.
3457 2014-07-02 Florian Weimer <fweimer@redhat.com>
3459 * locale/setlocale.c (setlocale): Use strdup for allocating
3460 composite name copy.
3462 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3464 Sync up with gnulib.
3465 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3466 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3467 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3468 and _GL_ARG_NONNULL.
3469 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3470 [!_LIBC]: Include code for Windows and Cygwin.
3471 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3472 Include prototype for int strerror_r.
3473 [!_LIBC] (is_open): New function.
3474 (flush_stdout): New function.
3475 (print_errno_message): Use it.
3477 (error_at_line): Likewise.
3478 (error_tail) Add function attribute macros. Use
3481 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3483 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3485 * io/ftw.c: Include sys/param.h unconditionally.
3487 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3490 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3492 (freecache): New function to free CACHE on exit.
3494 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3497 2014-07-09 David S. Miller <davem@davemloft.net>
3499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3501 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3502 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3503 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3504 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3505 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3506 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3507 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3508 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3509 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3510 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3511 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3512 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3513 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3515 2014-07-09 Andreas Schwab <schwab@suse.de>
3517 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3519 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3520 (do_test): Likewise.
3522 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3524 2014-07-09 Will Newton <will.newton@linaro.org>
3526 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3527 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3528 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3529 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3530 * sysdeps/hppa/start.S (_start): Likewise.
3532 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3534 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3536 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3539 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3541 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3542 after checking that it is non-NULL.
3544 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3546 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548 * sysdeps/powerpc/memmove.c: Remove file.
3549 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3550 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3551 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3552 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3553 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3554 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3555 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3556 string memmove instead of removed powerpc one.
3558 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3559 [weak_alias]: Fix compiler warning due trailing data.
3560 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3561 [weak_alias]: Likewise.
3562 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3563 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3566 (__libc_ifunc_impl_list): Add memmove functions.
3568 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3570 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3572 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3574 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3576 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3578 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3580 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3582 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3584 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3586 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3588 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3590 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3592 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3594 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3596 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3598 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3600 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3602 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3605 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3607 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3608 to avoid alignment traps in non-cacheable memory.
3609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3614 file: multiarch power7 memmove.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3616 multiarch default memmove.
3617 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3618 multiarch memove for powerpc32/power4.
3620 * string/bcopy.c: Use full path to include memmove.c.
3621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3623 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3624 bcopy for powerpc64.
3625 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3626 bcopy for powerpc64.
3627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3628 and memmove implementations.
3629 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3630 optimized multiarch memmove for POWER7/powerpc64.
3631 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3632 default multiarch memmove for powerpc64.
3633 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3634 multiarch for powerpc64.
3635 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3636 for POWER7/powerpc64.
3637 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3638 memmove for POWER7/powerpc64.
3640 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3643 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3644 __ELF_NATIVE_CLASS equal to 64.
3646 2014-07-07 Roland McGrath <roland@hack.frob.com>
3648 * sysdeps/nptl/lowlevellock.h: File removed.
3650 * NEWS: NPTL is no longer an add-on!
3651 * nptl/internaltypes.h: Moved ...
3652 * sysdeps/nptl/internaltypes.h: ... here.
3653 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3654 * sysdeps/nptl/fork.c: Likewise.
3655 * sysdeps/nptl/gai_misc.h: Likewise.
3656 * sysdeps/nptl/librt-cancellation.c: Likewise.
3657 * sysdeps/nptl/jmp-unwind.c: Likewise.
3658 * sysdeps/nptl/setxid.h: Likewise.
3659 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3660 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3661 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3662 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3663 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3664 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3665 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3666 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3667 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3668 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3669 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3670 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3671 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3672 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3673 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3674 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3675 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3676 * nptl/Makeconfig: Moved ...
3677 * sysdeps/nptl/Makeconfig: ... here.
3678 * nptl/configure: File removed.
3679 * nptl/ANNOUNCE: File removed.
3680 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3681 * sysdeps/unix/sysv/linux/configure: Regenerated.
3683 * nptl/Makefile (routines): Add libc_pthread_init,
3684 libc_multiple_threads, register-atfork and unregister-atfork.
3685 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3686 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3687 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3688 pthread-pi-defines.sym, structsem.sym.
3689 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3690 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3691 [$(subdir) = nptl] (tests): Add tst-setgetname.
3692 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3693 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3694 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3695 [!LIBC_SIGACTION]: Remove aliases.
3696 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3697 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3698 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3699 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3700 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3701 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3702 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3704 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3705 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3706 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3707 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3708 __libc_allocate_rtsig_private.
3709 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3710 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3711 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3712 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3713 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3714 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3715 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3716 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3717 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3718 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3719 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3720 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3721 * nptl/internaltypes.h: ... here.
3722 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3723 * sysdeps/nptl/jmp-unwind.c: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3725 * nptl/libc-lowlevellock.c: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3727 * nptl/libc_multiple_threads.c: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3729 * nptl/libc_pthread_init.c: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3731 * nptl/lowlevelbarrier.sym: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3733 * nptl/lowlevelcond.sym: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3735 * nptl/lowlevellock.c: ... here.
3736 * nptl/lowlevellock.h: Moved ...
3737 * sysdeps/nptl/lowlevellock.h: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3739 * nptl/lowlevelrobustlock.c: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3741 * nptl/lowlevelrobustlock.sym: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3743 * nptl/lowlevelrwlock.sym: ... here.
3744 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3745 * nptl/pt-fork.c: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3747 * nptl/pthread-pi-defines.sym: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3749 * nptl/pthread_attr_getaffinity.c: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3751 * nptl/pthread_attr_setaffinity.c: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3753 * nptl/pthread_mutex_cond_lock.c: ... here.
3754 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3756 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3757 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3758 * nptl/pthread_once.c: ... here, replacing old file.
3759 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3760 * nptl/pthread_yield.c: ... here.
3761 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3762 * nptl/register-atfork.c: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3764 * nptl/sem_post.c: ... here.
3765 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3766 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3767 * nptl/sem_timedwait.c: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3769 * nptl/sem_trywait.c: ... here.
3770 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3771 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3772 * nptl/sem_wait.c: ... here.
3773 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3774 * nptl/structsem.sym: ... here.
3775 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3776 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3777 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3778 * nptl/unregister-atfork.c: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3780 * nptl/unwindbuf.sym: ... here.
3781 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3782 * sysdeps/nptl/fork.c: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3784 * sysdeps/nptl/fork.h: ... here.
3785 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3786 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3787 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3789 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3791 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3793 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3795 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3797 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3799 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3801 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3803 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3805 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3806 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3807 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3809 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3811 * sysdeps/unix/sysv/linux/raise.c: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3813 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3815 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3817 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3819 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3821 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3823 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3824 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3825 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3826 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3828 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3830 * sysdeps/generic/memcopy.h: Add comment for
3831 MEMCPY_OK_FOR_FWD_MEMMOVE.
3833 2014-07-04 Will Newton <will.newton@linaro.org>
3835 * string/memchr.c: Merge from gnulib.
3836 [_LIBC]: Remove conditionals.
3837 (__ptr_t): Remove define.
3838 (LONG_MAX_32_BITS): Likewise.
3839 (LONG_MAX): Likewise.
3840 (MEMCHR): Use ANSI prototype and optimize algorithm.
3842 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3844 2014-07-03 Roland McGrath <roland@hack.frob.com>
3846 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3847 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3849 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3850 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3851 in a bare environment with no <stdlib.h> installed.
3852 * sysdeps/nptl/configure: Regenerated.
3854 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3856 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3857 AC_EGREP_CPP for kernel header checks, so they only succeed if
3858 including <linux/version.h> actually works right.
3859 * sysdeps/unix/sysv/linux/configure: Regenerated.
3861 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3862 value so it's not diagnosed as unused.
3864 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3865 thing) with "ifeq ($(subdir),rt)".
3867 2014-07-03 Richard Henderson <rth@redhat.com>
3869 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3870 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3871 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3873 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3874 (math_force_eval): New.
3876 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3877 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3879 * sysdeps/alpha/fpu/s_round.c: Remove file.
3880 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3882 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3883 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3884 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3885 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3886 (_dl_start, print_statistics): Likewise.
3887 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3888 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3890 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3891 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3892 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3893 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3894 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3895 (HP_SMALL_TIMING_AVAIL): Define.
3896 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3897 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3898 (HP_SMALL_TIMING_AVAIL): Define.
3899 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3900 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3902 * sysdeps/aarch64/hp-timing.h: New file.
3904 * sysdeps/generic/hp-timing.h: Remove dead comment.
3905 * sysdeps/generic/hp-timing-common.h: New file.
3906 * sysdeps/alpha/hp-timing.h: Include it.
3907 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3908 * sysdeps/i386/i686/hp-timing.h: Likewise.
3909 * sysdeps/ia64/hp-timing.h: Likewise.
3910 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3911 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3913 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3914 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3915 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3918 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3919 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3920 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3921 * elf/rtld.c (_dl_start_final): Likewise.
3922 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3923 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3924 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3925 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3926 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3927 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3928 (HP_TIMING_DIFF_INIT): Remove.
3929 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3930 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3931 (HP_TIMING_DIFF_INIT): Remove.
3932 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3933 * sysdeps/i386/i686/hp-timing.c: Remove file.
3934 * sysdeps/x86_64/hp-timing.c: Remove file.
3935 * sysdeps/ia64/hp-timing.c: Remove file.
3936 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3937 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3939 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3941 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3942 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3943 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3944 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3946 (HP_TIMING_ACCUM): Remove.
3947 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3948 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3949 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3951 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3952 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3953 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3954 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3955 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3956 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3957 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3958 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3960 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3962 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3964 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3966 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3968 Sync up with gettext.
3969 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3970 [_MSC_VER]: Include malloc.h
3971 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3972 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3973 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3974 TEMP_FAILURE_RETRY. Cast return of alloca.
3975 [!_LIBC] Call gl_rwlock_init.
3976 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3978 2014-07-02 Roland McGrath <roland@hack.frob.com>
3980 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3981 before checking its value.
3983 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3985 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3987 * debug/memcpy_chk.c: Don't include pagecopy.h.
3988 * debug/mempcpy_chk.c: Likewise.
3989 * string/memcpy.c: Likewise.
3990 * string/memmove.c: Likewise.
3991 * sysdeps/powerpc/memmove.c: Likewise.
3992 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3993 definition of PAGE_COPY_FWD_MAYBE here...
3994 * sysdeps/generic/pagecopy.h: ... from here.
3995 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3997 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3998 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4000 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4004 (__libc_ifunc_impl_list): Likewise.
4005 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4006 multiarch strcat for PPC64.
4007 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4008 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4010 2014-07-02 Roland McGrath <roland@hack.frob.com>
4012 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4014 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4016 * intl/loadmsgcat.c: Remove declaration of
4017 get_sysdep_segment_value.
4018 (get_sysdep_segment_value): Use ISO C style.
4019 (_nl_load_domain): Use ISO C style. Get rid of redundant
4020 semicolon. Fix typo and formatting in comment.
4021 (_nl_unload_domain): Use ISO C style.
4023 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4025 2014-07-02 Will Newton <will.newton@linaro.org>
4027 * malloc/obstack.c: Merge from gnulib master.
4028 [HAVE_CONFIG_H]: Remove conditional code.
4029 [!_LIBC]: Include config.h.
4030 [!ELIDE_CODE]: Don't include inttypes.h, include
4031 stdint.h unconditionally.
4032 (print_and_abort): Mark as _Noreturn.
4033 (_obstack_allocated_p): Mark as __attribute_pure__.
4034 (obstack_free): Rename to __obstack_free.
4035 [!__attribute__]: Remove conditional code.
4036 * malloc/obstack.h: Merge from gnulib master.
4037 [__cplusplus]: Move conditional down.
4038 [!__attribute_pure__]: Define __attribute_pure__ here
4039 if it is not already defined.
4040 (_obstack_memory_used): Mark as __attribute_pure__.
4041 [!__obstack_free]: Define as obstack_free.
4042 [__GNUC__]: Remove check for ancient NeXT gcc.
4044 2014-07-02 Will Newton <will.newton@linaro.org>
4045 Paul Eggert <eggert@cs.ucla.edu>
4047 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4049 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4051 * resolv/gethnamaddr.c: Add comment warning that the file is
4054 2014-07-01 Carlos O'Donell <carlos@redhat.com>
4056 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4059 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4060 entry for aio_cancel and aio_cancel64.
4061 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4062 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4063 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4064 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4065 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4066 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4067 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4068 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4069 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4070 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4071 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4072 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4073 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4075 2014-07-01 Roland McGrath <roland@hack.frob.com>
4077 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4078 * nptl/pthread_mutex_lock.c: Likewise.
4079 * nptl/pthread_mutex_timedlock.c: Likewise.
4080 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4082 2014-07-01 Richard henderson <rth@redhat.com>
4084 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4085 (__isnan, __isnanl): Remove.
4086 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4088 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4090 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4092 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4094 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4096 * resolv/nss_dns/dns-host.c (getanswer_r)
4097 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4099 2014-07-01 Joseph Myers <joseph@codesourcery.com>
4101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4102 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4104 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4105 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4107 2014-07-01 Roland McGrath <roland@hack.frob.com>
4109 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4110 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4112 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4113 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4115 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4116 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4118 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4119 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4121 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4122 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4123 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4124 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4126 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4127 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4128 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4129 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4130 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4132 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4134 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4135 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4136 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4137 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4138 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4139 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4140 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4141 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4143 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4145 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4146 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4147 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4148 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4149 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4150 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4151 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4152 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4153 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4155 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4156 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4158 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4159 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4160 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4161 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4162 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4164 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4166 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4167 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4168 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4171 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4175 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4177 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4178 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4180 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4182 * sysdeps/arm/libm-test-ulps: Regenerated.
4184 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4185 Roland McGrath <roland@hack.frob.com>
4187 * test-skeleton.c (signal_handler): Kill the whole process group
4188 before killing the child individually.
4189 (main): Report any failure on `setpgid'.
4191 2014-06-30 Roland McGrath <roland@hack.frob.com>
4193 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4194 from _TLS_H to _ARM_NPTL_TLS_H.
4195 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4196 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4198 2014-06-30 Joseph Myers <joseph@codesourcery.com>
4201 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4202 (__expm1l): Return argument unchanged when small but not
4205 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4207 (_FP_UNPACK_RAW_1_P): Likewise.
4208 (_FP_PACK_RAW_1): Likewise.
4209 (_FP_PACK_RAW_1_P): Likewise.
4210 (_FP_MUL_MEAT_1_wide): Likewise.
4211 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4212 (_FP_MUL_MEAT_1_hard): Likewise.
4213 (_FP_DIV_MEAT_1_imm): Likewise.
4214 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4215 (_FP_DIV_MEAT_1_udiv): Likewise.
4216 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4217 (_FP_UNPACK_RAW_2): Likewise.
4218 (_FP_UNPACK_RAW_2_P): Likewise.
4219 (_FP_PACK_RAW_2): Likewise.
4220 (_FP_PACK_RAW_2_P): Likewise.
4221 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4222 (_FP_MUL_MEAT_2_wide): Likewise.
4223 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4224 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4225 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4226 (_FP_MUL_MEAT_2_gmp): Likewise.
4227 (_FP_DIV_MEAT_2_udiv): Likewise.
4228 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4229 (_FP_FRAC_SRL_4): Likewise.
4230 (_FP_FRAC_SRST_4): Likewise.
4231 (_FP_FRAC_SRS_4): Likewise.
4232 (_FP_UNPACK_RAW_4): Likewise.
4233 (_FP_UNPACK_RAW_4_P): Likewise.
4234 (_FP_PACK_RAW_4): Likewise.
4235 (_FP_PACK_RAW_4_P): Likewise.
4236 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4237 (_FP_MUL_MEAT_4_wide): Likewise.
4238 (_FP_MUL_MEAT_4_gmp): Likewise.
4239 (umul_ppppmnnn): Likewise.
4240 (_FP_DIV_MEAT_4_udiv): Likewise.
4241 (__FP_FRAC_ADD_4): Likewise.
4242 (__FP_FRAC_SUB_3): Likewise.
4243 (__FP_FRAC_SUB_4): Likewise.
4244 (__FP_FRAC_DEC_3): Likewise.
4245 (__FP_FRAC_DEC_4): Likewise.
4246 (__FP_FRAC_ADDI_4): Likewise.
4247 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4248 (_FP_FRAC_SRL_8): Likewise.
4249 (_FP_FRAC_SRS_8): Likewise.
4251 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4253 (FP_UNPACK_RAW_EP): Likewise.
4254 (FP_PACK_RAW_E): Likewise.
4255 (FP_PACK_RAW_EP): Likewise.
4256 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4257 (_FP_ISSIGNAN): Likewise.
4258 (_FP_ADD_INTERNAL): Likewise.
4259 (_FP_FMA): Likewise.
4260 (_FP_CMP): Likewise.
4261 (_FP_SQRT): Likewise.
4262 (_FP_TO_INT): Likewise.
4263 (_FP_FROM_INT): Likewise.
4264 (FP_EXTEND): Likewise.
4265 (_FP_DIV_MEAT_N_loop): Likewise.
4267 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4269 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4272 2014-06-29 Joseph Myers <joseph@codesourcery.com>
4275 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4276 result with correct sign in case of exponents that produce
4277 overflow except for X very close to 1.
4279 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4281 mktime: merge #if/#ifdef usage from glibc
4282 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4283 as that works with both Glibc's and Gnulib's style.
4284 See thread starting at Siddhesh Poyarekar's bug report at:
4285 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4287 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4289 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4290 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4291 * sysdeps/tile/tilegx/memmove.c: Remove file.
4293 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4295 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4296 abi-name definition.
4297 * scripts/soversions.awk: Do not handle or generate ABI lines.
4298 * shlib-versions: Remove ABI entries.
4299 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4300 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4302 2014-06-27 Roland McGrath <roland@hack.frob.com>
4304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4305 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4306 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4307 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4309 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4312 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4315 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4317 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4319 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4321 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4323 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4325 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4328 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4330 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4331 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4335 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4338 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4339 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4340 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4343 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4345 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4347 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4349 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4352 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4354 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4355 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4357 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4360 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4361 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4362 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4363 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4365 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4367 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4368 Identical file removed.
4369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4371 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4372 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4373 Identical file removed.
4374 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4375 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4378 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4379 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4380 Identical file removed.
4381 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4382 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4384 Identical file removed.
4385 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4386 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4388 Identical file removed.
4389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4390 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4392 Identical file removed.
4393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4395 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4396 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4397 Identical file removed.
4398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4400 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4402 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4403 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4404 Identical file removed.
4405 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4407 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4410 Identical file removed.
4411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4413 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4415 Identical file removed.
4416 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4418 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4419 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4420 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4421 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4422 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4425 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4426 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4427 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4429 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4430 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4431 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4432 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4433 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4435 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
4438 * nscd/nscd.c (monitor_child): Return exit status of child
4439 instead of return value from wait syscall.
4441 2014-06-27 Joseph Myers <joseph@codesourcery.com>
4443 * configure.ac (libc_commonpagesize): Remove variable.
4444 (libc_relro_required): Likewise.
4445 (libc_cv_z_relro): Remove configure test.
4446 * configure: Regenerated.
4447 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4449 (libc_relro_required): Likewise.
4450 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4451 (libc_relro_required): Likewise.
4452 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4453 (libc_relro_required): Likewise.
4454 * sysdeps/arm/preconfigure: Regenerated.
4455 * sysdeps/ia64/preconfigure: Remove file.
4456 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4458 (libc_relro_required): Likewise.
4462 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4463 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4464 recompute overflowing results in original rounding mode.
4465 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4466 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4467 recompute overflowing results in original rounding mode.
4468 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4469 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4470 recompute overflowing results in original rounding mode.
4471 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4472 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4473 recompute overflowing results in original rounding mode.
4474 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4475 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4476 recompute overflowing results in original rounding mode.
4477 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4478 (libc_feholdsetround_ctx): New macro.
4479 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4480 * sysdeps/i386/fpu/libm-test-ulps: Update.
4481 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4483 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4485 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4486 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4487 corresponding .cpsetup call.
4489 2014-06-26 Roland McGrath <roland@hack.frob.com>
4491 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4492 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4493 * sysdeps/arm/Makefile [$(subdir) = csu]
4494 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4495 (static-only-routines): Add aeabi_read_tp here.
4496 (shared-only-routines): Add libc-aeabi_read_tp here.
4497 (CFLAGS-libc-start.c): Add -fexceptions here.
4498 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4499 (sysdep_routines, static-only-routines, shared-only-routines):
4500 Don't add to these here.
4501 (CFLAGS-libc-start.c): Likewise.
4503 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4504 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4505 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4506 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4507 * sysdeps/arm/Makefile [$(subdir) = rt]
4508 (librt-sysdep_routines, librt-shared-only-routines):
4509 Append rt-aeabi_unwind_cpp_pr1 here.
4510 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4511 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4512 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4513 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4514 Append nptl-aeabi_unwind_cpp_pr1 here.
4515 (tests): Filter out tst-cleanupx4 here.
4516 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4517 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4518 Don't do those here.
4520 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4522 * scripts/list-sources.sh: Do not handle ports specially.
4524 2014-06-26 Roland McGrath <roland@hack.frob.com>
4526 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4527 * sysdeps/arm/feupdateenv.c: Likewise.
4529 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4531 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4533 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4534 trailing whitespace removed.
4535 * scripts/config.guess: Update to version 2014-03-23.
4536 * scripts/config.sub: Update to version 2014-05-01
4537 * scripts/install-sh: Update to version 2013-12-25.23.
4538 * scripts/move-if-change: Update from gnulib.
4540 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4542 * debug/memmove_chk.c: Remove pagecopy.h include.
4544 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4546 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4547 identical to gnulib mktime.
4549 2014-06-26 Joseph Myers <joseph@codesourcery.com>
4551 * configure.ac: Do not test for machine being rs6000. Do not test
4553 * configure: Regenerated.
4555 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4557 * configure: Regenerated.
4558 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4559 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4560 Remove configure test.
4561 * sysdeps/arm/configure: Regenerated.
4562 * sysdeps/nptl/configure.ac: Do not check
4563 libc_cv_asm_cfi_directives.
4564 * sysdeps/nptl/configure: Regenerated.
4565 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4566 * sysdeps/x86_64/nptl/configure: Remove generated file.
4567 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4569 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4571 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4573 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4574 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4575 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4578 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4579 instead of whether it is defined.
4580 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4581 * sysdeps/hppa/dl-machine.h: Likewise.
4582 * sysdeps/ia64/dl-machine.h: Likewise.
4583 * sysdeps/m68k/dl-machine.h: Likewise.
4584 * sysdeps/microblaze/dl-machine.h: Likewise.
4585 * sysdeps/mips/dl-machine.: Likewise.
4586 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4587 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4588 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4589 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4590 * sysdeps/sh/dl-machine.h: Likewise.
4591 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4592 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4593 * sysdeps/tile/dl-machine.h: Likewise.
4594 * sysdeps/x86_64/dl-machine.h: Likewise.
4596 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4598 (verify_persistent_db): Likewise.
4600 2014-06-26 Roland McGrath <roland@hack.frob.com>
4602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4603 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4605 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4608 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4613 Identical file removed.
4614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4617 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4626 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4628 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4630 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4633 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4635 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4637 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4639 Identical file removed.
4640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4641 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4643 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4646 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4649 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4651 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4653 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4655 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4657 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4660 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4663 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4668 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4670 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4672 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4674 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4675 * sysdeps/unix/sysv/linux/s390/Versions
4676 (libpthread: GLIBC_2.19): New version set.
4677 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4678 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4679 (librt: GLIBC_2.3.3): New version set.
4680 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4681 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4682 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4683 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4684 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4686 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4688 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4689 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4690 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4691 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4692 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4693 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4694 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4695 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4696 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4697 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4698 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4699 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4700 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4701 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4702 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4703 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4704 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4706 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4708 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4709 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4710 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4711 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4716 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4718 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4720 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4722 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4724 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4727 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4728 (__libc_vfork): Define the function under this name.
4729 [!NOT_IN_libc] (__vfork): Make this an alias.
4730 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4732 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4733 (__libc_vfork): Define the function under this name.
4734 [!NOT_IN_libc] (__vfork): Make this an alias.
4735 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4736 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4737 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4739 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4740 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4742 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4743 code that was previously under [RESET_PID].
4744 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4745 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4748 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4749 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4750 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4751 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4752 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4753 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4754 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4755 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4756 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4757 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4760 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4761 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4762 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4763 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4764 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4766 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4767 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4768 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4769 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4770 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4771 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4772 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4773 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4774 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4775 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4776 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4777 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4778 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4779 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4780 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4781 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4782 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4783 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4784 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4785 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4786 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4787 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4788 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4790 2014-06-25 Roland McGrath <roland@hack.frob.com>
4792 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4793 that was previously under [RESET_PID].
4794 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4796 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4798 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4799 not undefine and redefine.
4800 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4801 [O_CLOEXEC]: Make code unconditional.
4802 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4803 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4804 <kernel-features.h>.
4805 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4806 conditional variable definition.
4807 (shm_open) [O_CLOEXEC]: Make code unconditional.
4808 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4811 * configure.ac (USE_REGPARMS): Don't define here.
4812 * configure: Regenerated.
4813 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4814 * sysdeps/i386/configure: Regenerated.
4816 * nptl/createthread.c: Don't include kernel-features.h.
4817 * nptl/pthread_cancel.c: Likewise.
4818 * nptl/pthread_condattr_setclock.c: Likewise.
4819 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4820 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4821 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4822 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4823 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4824 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4825 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4828 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4829 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4830 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4831 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4832 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4833 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4834 * nscd/gai.c: Likewise.
4835 * nss/nss_db/db-open.c: Likewise.
4836 * sysdeps/generic/ldsodefs.h: Likewise.
4837 * sysdeps/sh/nptl/tls.h: Likewise.
4838 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4839 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4840 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4841 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4842 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4843 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4844 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4845 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4847 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4848 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4849 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4850 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4851 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4852 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4853 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4854 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4855 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4856 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4857 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4858 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4859 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4860 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4861 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4863 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4864 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4865 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4866 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4867 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4868 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4869 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4870 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4871 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4872 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4873 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4874 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4875 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4876 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4877 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4878 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4879 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4880 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4881 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4882 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4883 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4884 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4885 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4886 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4887 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4888 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4889 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4890 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4891 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4892 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4893 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4894 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4895 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4918 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4919 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4920 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4921 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4922 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4923 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4924 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4925 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4926 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4927 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4928 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4929 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4930 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4931 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4932 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4933 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4934 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4935 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4936 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4937 * sysdeps/unix/sysv/linux/system.c: Likewise.
4938 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4939 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4940 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4941 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4942 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4943 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4944 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4946 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4947 * configure: Regenerated.
4948 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4950 * configure.ac (base_machine): Do not set specially for particular
4952 * configure: Regenerated.
4953 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4954 settings from configure.ac.
4955 * sysdeps/i386/preconfigure: New file.
4956 * sysdeps/s390/preconfigure: Likewise.
4957 * sysdeps/sh/preconfigure: Likewise.
4958 * sysdeps/sparc/preconfigure: Likewise.
4960 2014-06-25 Roland McGrath <roland@hack.frob.com>
4962 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4963 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4964 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4965 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4966 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4967 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4968 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4969 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4970 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4971 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4972 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4973 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4974 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4975 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4976 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4977 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4978 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4979 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4980 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4982 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4983 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4984 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4985 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4986 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4987 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4988 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4989 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4990 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4991 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4992 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4993 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4994 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4995 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4996 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4997 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4998 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4999 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5000 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5001 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5002 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5003 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5004 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5005 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5006 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5007 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5008 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5010 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5011 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5012 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5013 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5014 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5015 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5016 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5017 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5018 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5019 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5022 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5024 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5027 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5030 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5035 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5037 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5039 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5041 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5044 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5047 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5049 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5052 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5054 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5056 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5058 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5060 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5063 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5066 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5068 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5071 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5075 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5077 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5080 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5083 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5085 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5088 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5092 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5094 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5096 * timezone/checktab.awk: Update from tzcode 2014e.
5097 * timezone/private.h: Likewise.
5098 * timezone/tzfile.h: Likewise.
5099 * timezone/zdump.c: Likewise.
5100 * timezone/zic.c: Likewise.
5102 * sysdeps/unix/sysv/linux/kernel-features.h
5103 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5104 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5105 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5106 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5107 Remove conditional code.
5109 2014-06-25 Will Newton <will.newton@linaro.org>
5111 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5112 (_dl_arm_cap_flags): Add HWCAP2 values.
5113 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5114 (_DL_HWCAP_COUNT): Increase to 37.
5115 (_DL_HWCAP_LAST): New define.
5116 (_DL_HWCAP2_LAST): New define.
5117 (_dl_procinfo): Add support for printing
5119 (_dl_string_hwcap): Use _dl_hwcap_string.
5121 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5125 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5127 * README: Do not mention ports directory.
5129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5131 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5132 <kernel-features.h>.
5133 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5134 conditional variable definition.
5135 (__futimes): Update comment.
5136 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5137 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5140 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5141 arguments close to 0.
5142 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5144 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5146 * math/auto-libm-test-in: Add more tests of exp10.
5147 * math/auto-libm-test-out: Regenerated.
5148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5150 * sysdeps/unix/sysv/linux/kernel-features.h
5151 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5152 * sysdeps/unix/sysv/linux/readv.c: Do not include
5153 <kernel-features.h>.
5154 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5155 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5156 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5158 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5160 * sysdeps/unix/sysv/linux/writev.c: Do not include
5161 <kernel-features.h>.
5162 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5163 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5164 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5166 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5169 2014-06-25 Will Newton <will.newton@linaro.org>
5171 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5172 comment changes throughout the file. Remove checks
5173 for HAVE_*_H definitions that are not required.
5174 (__gen_tempname): Call abort if an unknown kind value is
5177 2014-06-25 Andreas Schwab <schwab@suse.de>
5180 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5181 scalbln, scalblnf, scalblnl in libc.
5183 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5186 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5187 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5188 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5190 2014-06-24 Roland McGrath <roland@hack.frob.com>
5192 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5193 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5194 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5195 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5197 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5198 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5200 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5201 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5202 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5203 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5204 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5205 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5206 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5207 * sysdeps/x86/bits/semaphore.h: ... here.
5208 * sysdeps/x86/nptl/elide.h: Moved ...
5209 * sysdeps/x86/elide.h: ... here.
5210 * sysdeps/x86_64/nptl/Implies: File removed.
5211 * sysdeps/i386/nptl/Implies: File removed.
5213 2014-06-24 Joseph Myers <joseph@codesourcery.com>
5216 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5217 return the argument for normal arguments with exponent below -64.
5218 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5220 * math/auto-libm-test-in: Add another test of expm1.
5221 * math/auto-libm-test-out: Regenerated.
5224 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5225 calling __erfcl for arguments at least 16.
5226 * math/auto-libm-test-in: Add more tests of erf.
5227 * math/auto-libm-test-out: Regenerated.
5229 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5230 individual architectures.
5231 * sysdeps/unix/sysv/linux/configure: Regenerated.
5232 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5233 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5234 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5235 (ldd_rewrite_script): Define variable.
5236 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5241 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5242 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5243 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5244 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5245 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5246 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5247 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5248 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5250 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5253 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5254 Rename member __data.d to __data.__elision_data.
5256 2014-06-24 Wilco <wdijkstr@arm.com>
5258 * NEWS: Add 16918 to fixed bug list.
5260 2014-06-24 Wilco <wdijkstr@arm.com>
5262 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5264 2014-06-24 Wilco <wdijkstr@arm.com>
5266 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5267 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5268 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5269 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5270 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5271 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5272 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5275 2014-06-24 Wilco <wdijkstr@arm.com>
5277 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5279 2014-06-24 Wilco <wdijkstr@arm.com>
5281 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5282 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5283 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5284 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5286 2014-06-24 Wilco <wdijkstr@arm.com>
5289 * sysdeps/arm/feupdateenv.c (feupdateenv):
5290 Rewrite to reduce FPSCR accesses and fix return value.
5292 2014-06-24 Wilco <wdijkstr@arm.com>
5294 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5295 Optimize to avoid unnecessary FPSCR writes.
5296 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5297 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5298 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5299 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5301 2014-06-24 Wilco <wdijkstr@arm.com>
5303 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5304 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5305 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5306 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5307 Call libc_fetestexcept_vfp.
5308 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5309 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5310 __SOFTFP__ ifdef so that they can be built for softfp.
5312 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5314 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5315 argument type signed char.
5317 * Makerules (check-abi): Dump diff of symlist if the test
5320 2014-06-23 Roland McGrath <roland@hack.frob.com>
5322 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5325 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5326 Remove unused variable ST.
5328 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5332 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5333 small arguments before calling __expm1.
5334 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5335 small arguments before calling __expm1f.
5336 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5337 small arguments before calling __expm1l.
5338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5340 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5341 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5342 spurious underflow for some cosh tests.
5343 * math/auto-libm-test-out: Regenerated.
5344 * sysdeps/i386/fpu/libm-test-ulps: Update.
5347 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5348 (__ieee754_y1): Set errno if return value overflows.
5349 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5350 (__ieee754_y1f): Set errno if return value overflows.
5351 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5352 (__ieee754_y1l): Set errno if return value overflows.
5353 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5354 (__ieee754_y1l): Set errno if return value overflows.
5355 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5356 * math/auto-libm-test-out: Regenerated.
5358 * math/gen-auto-libm-tests.c: Document use of
5359 ignore-zero-inf-sign.
5360 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5361 (input_flags): Add ignore-zero-inf-sign.
5362 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5363 * math/gen-libm-test.pl (generate_testfile): Handle
5364 ignore-zero-inf-sign.
5365 * math/auto-libm-test-in: Mark some cpow tests with
5366 ignore-zero-inf-sign and some with xfail-rounding.
5367 * math/auto-libm-test-out: Regenerated.
5368 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5369 * sysdeps/i386/fpu/libm-test-ulps: Update.
5370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5373 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5374 overflowing or underflowing operations take place with sign of
5376 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5377 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5378 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5379 (__ieee754_pow): Recompute overflowing and underflowing results in
5380 original rounding mode.
5381 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5382 (__powl_helper): Allow negative argument X and scale negated value
5383 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5384 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5385 overflowing or underflowing operations take place with sign of
5387 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5389 * math/auto-libm-test-in: Add more tests of pow.
5390 * math/auto-libm-test-out: Regenerated.
5391 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5392 (pow_tonearest_test_data): Remove.
5393 (pow_test_tonearest): Likewise.
5394 (pow_towardzero_test_data): Likewise.
5395 (pow_test_towardzero): Likewise.
5396 (pow_downward_test_data): Likewise.
5397 (pow_test_downward): Likewise.
5398 (pow_upward_test_data): Likewise.
5399 (pow_test_upward): Likewise.
5400 (main): Don't call removed functions.
5401 * sysdeps/i386/fpu/libm-test-ulps: Update.
5402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5404 2014-06-23 Roland McGrath <roland@hack.frob.com>
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5580 2014-06-23 Will Newton <will.newton@linaro.org>
5581 Wilco <wdijkstr@arm.com>
5583 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5584 implementation. Include get-rounding-mode.h.
5585 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5586 [!libc_feholdsetround_noex_ctx]: Define
5587 libc_feholdsetround_noex_ctx.
5588 [!libc_feholdsetround_noexf_ctx]: Define
5589 libc_feholdsetround_noexf_ctx.
5590 [!libc_feholdsetround_noexl_ctx]: Define
5591 libc_feholdsetround_noexl_ctx.
5592 (libc_feholdsetround_ctx): New function.
5593 (libc_feresetround_ctx): New function.
5594 (libc_feholdsetround_noex_ctx): New function.
5595 (libc_feresetround_noex_ctx): New function.
5597 2014-06-23 Roland McGrath <roland@hack.frob.com>
5599 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5600 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5601 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5602 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5603 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5604 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5606 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5607 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5608 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5609 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5610 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5611 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5612 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5613 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5614 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5615 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5616 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5618 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5621 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5622 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5623 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5626 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5628 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5629 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5630 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5632 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5633 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5635 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5636 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5638 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5639 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5640 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5641 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5643 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5645 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5646 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5647 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5648 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5649 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5650 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5651 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5652 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5654 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5656 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5657 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5658 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5659 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5660 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5661 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5663 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5665 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5667 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5668 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5670 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5671 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5672 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5673 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5674 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5677 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5678 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5679 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5680 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5681 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5683 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5684 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5685 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5686 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5692 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5698 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5700 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5702 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5708 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5712 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5715 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5716 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5717 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5718 (IPV6_PMTUDISC_INTERFACE): Likewise.
5719 (IPV6_PMTUDISC_OMIT): Likewise.
5721 2014-06-23 Andreas Schwab <schwab@suse.de>
5723 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5724 Remove unused errout label.
5726 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5728 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5729 macro: hardware supports Vector Crypto instructions.
5731 2014-06-23 Will Newton <will.newton@linaro.org>
5733 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5734 rather than __builtin_expect.
5736 * elf/dl-lookup.c (undefined_msg): Remove variable.
5737 (_dl_lookup_symbol_x): Replace undefined_msg with string
5740 * elf/dl-lookup.c (do_lookup_unique): New function.
5741 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5742 to a separate function.
5744 2014-06-23 Andreas Schwab <schwab@suse.de>
5747 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5748 before reading the next line.
5750 2014-06-23 Will Newton <will.newton@linaro.org>
5752 * test-skeleton.c (signal_handler): Use printf and %m
5753 rather than perror. Use printf rather than fprintf to
5754 stderr. Use puts rather than fputs to stderr.
5757 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5759 * nscd/nscd.c (thread_info_t): Remove typedef.
5760 (thread_info): Remove variable.
5762 2014-06-21 Allan McRae <allan@archlinux.org>
5764 * NEWS: Mention CVE-2014-4043.
5766 2014-06-20 Roland McGrath <roland@hack.frob.com>
5768 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5769 * nptl/smp.h: ... here.
5771 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5773 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5774 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5775 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5776 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5778 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5779 * nptl/stack-aliasing.h: New file.
5780 * sysdeps/i386/i686/stack-aliasing.h: New file.
5781 * sysdeps/i386/i686/nptl/Makefile: File removed.
5782 * sysdeps/x86_64/stack-aliasing.h: New file.
5783 * sysdeps/x86_64/nptl/Makefile
5784 (CFLAGS-pthread_create.c): Variable removed.
5786 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5787 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5789 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5790 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5793 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5795 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5796 (__ASSUME_SIGFRAME_V2): Remove macro.
5797 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5798 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5799 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5800 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5801 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5802 Declare as function. Remove conditional macro definitions.
5803 (__default_rt_sa_restorer): Likewise.
5804 (__default_sa_restorer_v1): Remove declaration.
5805 (__default_sa_restorer_v2): Likewise.
5806 (__default_rt_sa_restorer_v1): Likewise.
5807 (__default_rt_sa_restorer_v2): Likewise.
5808 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5809 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5810 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5812 2014-06-20 Roland McGrath <roland@hack.frob.com>
5814 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5815 (libpthread-routines): Add sysdep.
5816 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5817 * sysdeps/unix/sysv/linux/sparc/Versions
5818 (libpthread: GLIBC_2.3.3): New version set.
5819 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5820 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5821 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5822 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5823 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5824 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5826 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5827 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5828 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5829 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5830 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5831 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5832 * sysdeps/sparc/nptl/sem_init.c: ... here.
5833 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5834 * sysdeps/sparc/nptl/sem_post.c: ... here.
5835 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5836 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5837 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5838 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5839 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5840 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5841 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5842 (libpthread-routines): Add cpu_relax.
5843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5845 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5846 (librt: GLIBC_2.3.3): New version set.
5847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5848 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5849 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5850 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5853 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5856 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5858 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5860 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5862 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5864 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5867 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5871 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5875 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5879 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5883 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5887 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5890 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5896 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5898 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5901 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5903 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5905 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5907 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5909 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5910 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5911 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5912 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5913 * nscd/nscd.c: Likewise.
5914 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5915 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5916 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5917 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5919 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5920 <kernel-features.h>.
5921 (init_mq_netlink): Remove conditional have_sock_cloexec
5922 definitions. Remove code conditional on have_sock_cloexec < 0.
5923 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5924 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5925 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5926 <kernel-features.h>.
5927 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5928 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5930 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5933 Add tests for memset_chk and memset.
5935 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5938 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5941 * elf/tst-dl-iter-static.c: New file.
5942 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5944 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5947 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5949 * sysdeps/unix/sysv/linux/kernel-features.h
5950 (__ASSUME_F_GETOWN_EX): Remove macro.
5951 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5952 <kernel-features.h>.
5953 (miss_F_GETOWN_EX): Remove variable or macro.
5954 (do_fcntl): Do not check miss_F_GETOWN_EX.
5955 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5957 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5959 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5960 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5961 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5963 * sysdeps/unix/sysv/linux/kernel-features.h
5964 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5965 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5966 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5967 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5969 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5972 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5973 Fix calculation of the symbol's value.
5974 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5975 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5976 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5977 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5978 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5979 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5980 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5981 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5982 (modules-names): Add `tst-armtlsdescmod',
5983 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5984 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5985 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5986 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5987 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5988 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5989 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5990 ($(objpfx)tst-armtlsdescloc): New dependency.
5991 ($(objpfx)tst-armtlsdescextnow): Likewise.
5992 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5993 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5995 * sysdeps/arm/configure: Regenerate.
5997 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5999 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6000 (__atfct_seterrno_2): Likewise.
6001 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6002 <kernel-features.h>.
6003 (__ASSUME_ATFCTS): Do not undefine and redefine.
6004 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6005 (__have_atfcts): Remove conditional definition.
6006 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6007 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6008 unreachable if [__ASSUME_ATFCTS].
6009 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6010 not undefine and redefine.
6011 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6012 <kernel-features.h>.
6013 (faccessat) [__NR_faccessat]: Make code unconditional.
6014 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6015 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6016 <kernel-features.h>.
6017 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6018 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6019 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6020 <kernel-features.h>.
6021 (fchownat) [__NR_fchownat]: Make code unconditional.
6022 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6023 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6024 <kernel-features.h>.
6025 (futimesat) [__NR_futimesat]: Make code unconditional.
6026 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6027 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6028 <kernel-features.h>.
6029 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6030 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6031 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6032 <kernel-features.h>.
6033 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6034 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6035 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6036 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6037 <kernel-features.h>.
6038 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6039 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6040 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6041 <kernel-features.h>.
6042 (linkat) [__NR_linkat]: Make code unconditional.
6043 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6044 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6045 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6046 <kernel-features.h>.
6047 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6048 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6049 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6050 <kernel-features.h>.
6051 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6052 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6053 * sysdeps/unix/sysv/linux/openat.c: Do not include
6054 <kernel-features.h>.
6055 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6056 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6057 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6058 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6059 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6060 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6061 <kernel-features.h>.
6062 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6063 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6064 result of INLINE_SYSCALL directly, not via int variable.
6065 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6066 <kernel-features.h>.
6067 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6068 (renameat) [__NR_renameat]: Make code unconditional.
6069 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6070 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6071 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6072 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6073 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6074 (__ASSUME_ATFCTS): Do not undefine and redefine.
6075 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6076 <kernel-features.h>.
6077 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6078 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6079 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6080 <kernel-features.h>.
6081 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6082 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6083 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6084 (__ASSUME_ATFCTS): Do not undefine and redefine.
6085 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6086 <kernel-features.h>.
6087 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6088 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6089 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6090 <kernel-features.h>.
6091 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6092 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6094 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6096 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6098 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6101 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6102 constructed tree before returning error.
6103 * posix/bug-regexp36.c: Expand test case.
6105 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6108 * math/libm-test.inc (scalbln_test_date):
6109 Add errno expectations.
6110 * math/w_scalblnf.c: New File.
6111 Add wrapper which checks for setting errno to ERANGE.
6112 Add weak_alias for corresponding scalbln function.
6113 * math/w_scalbln.c: Likewise.
6114 * math/w_scalblnl.c: Likewise.
6115 * math/Makefile (libm-calls): Add w_scalbln.
6116 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6117 Remove weak_alias for corresponding scalbln function.
6118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6122 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6123 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6124 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6125 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6126 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6127 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6128 Remove long_double_symbol for scalblnl function in libm, libc.
6129 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6130 Add wrapper which checks for setting errno to ERANGE.
6131 Add long_double_symbol for scalblnl function in libm, libc.
6132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6133 Remove long_double_symbol for scalblnl in libm.
6134 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6135 Add wrapper which checks for setting errno to ERANGE.
6136 Add long_double_symbol for scalblnl function in libm.
6137 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6138 Do not use wrapper because of own implementation.
6140 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6142 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6143 3 bytes for __pad1 for x32.
6144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6146 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6147 H.J. Lu <hongjiu.lu@intel.com>
6149 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6150 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6151 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6152 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6153 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6155 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6158 * posix/regcomp.c (parse_expression): Deallocate partially
6159 constructed tree before returning error.
6160 * posix/Makefile.c (tests): Add bug-regex36.
6161 (generated): Add bug-regex36.mtrace.
6162 (tests-special): Add $(objpfx)bug-regex36-mem.out
6163 (bug-regex36-ENV): New variable.
6164 ($(objpfx)bug-regex36-mem.out): New rule.
6165 * posix/bug-regex36.c: New file.
6167 2014-06-19 Will Newton <will.newton@linaro.org>
6169 * malloc/malloc.c (systrim): If extra is zero then return
6172 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6174 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6176 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
6178 * sysdeps/aarch64/strchr.S: New file.
6180 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6183 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6184 from arguments -2 or below.
6185 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6186 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6188 2014-06-18 Andreas Schwab <schwab@suse.de>
6191 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6192 of a bracket expr not to run off the end of the string.
6193 * posix/Makefile (tests): Add tst-fnmatch3.
6194 * posix/tst-fnmatch3.c: New file.
6196 2014-06-18 Joseph Myers <joseph@codesourcery.com>
6198 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6199 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6200 [$(cross-compiling) = no]: Likewise.
6201 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6202 [$(cross-compiling) = no]: Likewise.
6204 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6207 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6208 double, adjusted for any remainder from the high double.
6209 * math/libm-test.inc (nearbyint): Add tests.
6212 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214 * nptl/sysdeps/powerpc/Makefile: Moved ...
6215 * sysdeps/powerpc/nptl/Makefile: ... here.
6216 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6217 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6218 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6219 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6220 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6221 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6222 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6223 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6224 * nptl/sysdeps/powerpc/tls.h: Moved ...
6225 * sysdeps/powerpc/nptl/tls.h: ... here.
6227 2014-06-16 Joseph Myers <joseph@codesourcery.com>
6230 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6231 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6232 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6233 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6234 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6235 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6236 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6237 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6238 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6240 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6242 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6244 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6246 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6249 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6252 2014-06-16 Florian Weimer <fweimer@redhat.com>
6255 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6256 non-executed part of the test.
6258 2014-06-16 Andreas Schwab <schwab@suse.de>
6260 * string/bits/string2.h (strdup, strndup): Update feature guard.
6262 2014-06-14 David S. Miller <davem@davemloft.net>
6264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6266 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6268 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6269 that was previously under [RESET_PID].
6270 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6272 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6273 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6274 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6275 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6276 (__libc_vfork): New strong alias.
6277 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6279 2014-06-14 Andi Kleen <ak@linux.intel.com>
6281 * sysdeps/generic/elide.h: New file.
6283 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6285 * Makefile (installed-headers): Adjust path of pthread.h header.
6287 2014-06-13 Roland McGrath <roland@hack.frob.com>
6289 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6290 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6291 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6292 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6294 * nptl/sysdeps/s390/Makefile: Moved ...
6295 * sysdeps/s390/nptl/Makefile: ... here.
6296 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6297 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6298 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6299 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6300 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6301 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6302 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6303 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6304 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6305 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6306 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6307 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6308 * nptl/sysdeps/s390/tls.h: Moved ...
6309 * sysdeps/s390/nptl/tls.h: ... here.
6311 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6312 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6314 2014-06-13 David S. Miller <davem@davemloft.net>
6316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6317 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6319 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6323 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6324 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6325 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6326 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6327 Remove RESET_PID cpp guards.
6328 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6329 Remove RESET_PID cpp guards.
6330 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6332 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6334 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6337 2014-06-13 Andi Kleen <ak@linux.intel.com>
6339 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6340 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6341 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6342 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6343 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6344 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6346 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6347 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6348 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6349 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6351 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6352 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6353 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6354 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6355 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6356 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6357 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6358 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
6360 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
6361 (pthread_rwlock_rdlock): Add elision.
6362 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6363 (pthread_rwlock_wrlock): Add elision.
6364 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6365 (pthread_rwlock_trywrlock): Add elision.
6366 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6367 (pthread_rwlock_tryrdlock): Add elision.
6368 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6369 (pthread_rwlock_tryrdlock): Add elision unlock.
6370 * nptl/sysdeps/pthread/pthread.h:
6371 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6372 (PTHREAD_RWLOCK_INITIALIZER,
6373 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6374 Handle new elision field.
6375 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6376 * sysdeps/arm/nptl/bits/pthreadtypes.h
6377 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6378 * sysdeps/sh/nptl/bits/pthreadtypes.h
6379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6380 * sysdeps/tile/nptl/bits/pthreadtypes.h
6381 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6382 * sysdeps/a/nptl/bits/pthreadtypes.h
6383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6384 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6386 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6388 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6390 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6392 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6393 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6394 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6396 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6398 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6400 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6401 (elision_init): Set try_xbegin to zero when no RTM.
6402 * sysdeps/x86/nptl/bits/pthreadtypes.h
6403 (pthread_rwlock_t): Change __pad1 to __rwelision.
6404 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6406 2014-06-13 Andi Kleen <ak@linux.intel.com>
6408 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6409 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6410 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6411 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6413 2014-06-13 Meador Inge <meadori@codesourcery.com>
6416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
6417 that the cached result has been set before returning it.
6419 2014-06-12 Roland McGrath <roland@hack.frob.com>
6421 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6422 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6423 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6424 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6425 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6426 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6428 * nptl/sysdeps/sparc/Makefile: Moved ...
6429 * sysdeps/sparc/nptl/Makefile: ... here.
6430 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6431 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6432 * nptl/sysdeps/sparc/tls.h: Moved ...
6433 * sysdeps/sparc/nptl/tls.h: ... here.
6434 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6435 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6436 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6437 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6438 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6439 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6440 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6441 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6442 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6443 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6444 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6445 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6446 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6447 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6448 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6449 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6450 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6451 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6453 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6454 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6456 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6457 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6459 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6460 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6463 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6465 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6466 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6468 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6469 (struct list_links): Type removed.
6470 (struct thread_node, struct timer_node): Replace struct list_links
6471 with struct list_head.
6472 (list_unlink_ip): Likewise.
6473 * sysdeps/pthread/timer_routines.c
6474 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6475 (list_append, list_insbefore): Likewise.
6476 (list_init): Function removed.
6477 (thread_init, init_module): Use INIT_LIST_HEAD instead.
6478 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6479 * sysdeps/pthread/Makefile: ... here, new file.
6481 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6482 * sysdeps/nptl/Implies: ... here.
6483 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6484 * nptl/sysdeps/pthread/list.h: Moved ...
6485 * include/list.h: ... here.
6486 * nptl/sysdeps/pthread/createthread.c: Moved ...
6487 * nptl/createthread.c: ... here.
6488 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6489 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6490 * nptl/pt-longjmp.c: ... here.
6491 * nptl/sysdeps/pthread/Makefile: Moved ...
6492 * sysdeps/nptl/Makefile: ... here.
6493 * nptl/sysdeps/pthread/Subdirs: Moved ...
6494 * sysdeps/nptl/Subdirs: ... here.
6495 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6496 * sysdeps/nptl/aio_misc.h: ... here.
6497 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6498 * sysdeps/nptl/bits/libc-lock.h: ... here.
6499 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6500 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6501 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6502 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6503 * nptl/sysdeps/pthread/configure: Moved ...
6504 * sysdeps/nptl/configure: ... here.
6505 * nptl/sysdeps/pthread/configure.ac: Moved ...
6506 * sysdeps/nptl/configure.ac: ... here.
6507 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6508 * sysdeps/nptl/gai_misc.h: ... here.
6509 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6510 * sysdeps/nptl/librt-cancellation.c: ... here.
6511 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6512 * sysdeps/nptl/malloc-machine.h: ... here.
6513 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6514 * sysdeps/nptl/pthread-functions.h: ... here.
6515 * nptl/sysdeps/pthread/pthread.h: Moved ...
6516 * sysdeps/nptl/pthread.h: ... here.
6517 * nptl/sysdeps/pthread/setxid.h: Moved ...
6518 * sysdeps/nptl/setxid.h: ... here.
6519 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6520 * sysdeps/nptl/sigfillset.c: ... here.
6521 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6522 * sysdeps/nptl/tcb-offsets.h: ... here.
6523 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6524 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6525 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6526 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6527 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6528 * sysdeps/pthread/allocalim.h: ... here.
6529 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6530 * sysdeps/pthread/bits/sigthread.h: ... here.
6531 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6532 * sysdeps/pthread/flockfile.c: ... here.
6533 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6534 * sysdeps/pthread/ftrylockfile.c: ... here.
6535 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6536 * sysdeps/pthread/funlockfile.c: ... here.
6537 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6538 * sysdeps/pthread/posix-timer.h: ... here.
6539 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6540 * sysdeps/pthread/timer_create.c: ... here.
6541 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6542 * sysdeps/pthread/timer_delete.c: ... here.
6543 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6544 * sysdeps/pthread/timer_getoverr.c: ... here.
6545 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6546 * sysdeps/pthread/timer_gettime.c: ... here.
6547 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6548 * sysdeps/pthread/timer_routines.c: ... here.
6549 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6550 * sysdeps/pthread/timer_settime.c: ... here.
6551 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6552 * sysdeps/pthread/tst-timer.c: ... here.
6553 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6554 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6556 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6557 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6559 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6560 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6561 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6562 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6563 Update #include target.
6564 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6565 * sysdeps/i386/i686/nptl/Makefile: ... here.
6566 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6567 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6568 Update #include target.
6569 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6570 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6571 * nptl/sysdeps/i386/Makefile: Moved ...
6572 * sysdeps/i386/nptl/Makefile: ... here.
6573 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6574 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6575 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6576 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6577 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6578 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6579 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6580 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6581 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6582 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6583 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6584 * nptl/sysdeps/i386/tls.h: Moved ...
6585 * sysdeps/i386/nptl/tls.h: ... here.
6587 * sysdeps/sh/Makefile [$(subdir) = csu]
6588 (gen-as-const-headers): Add tcb-offsets.sym.
6589 * nptl/sysdeps/sh/Makefile: File removed.
6590 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6591 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6592 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6593 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6594 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6595 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6596 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6597 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6598 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6599 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6600 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6601 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6602 * nptl/sysdeps/sh/tls.h: Moved ...
6603 * sysdeps/sh/nptl/tls.h: ... here.
6604 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6605 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6606 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6607 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6608 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6609 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6610 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6611 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6612 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6613 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6614 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6615 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6616 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6617 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6618 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6619 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6620 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6621 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6623 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6624 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6625 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6626 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6627 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6628 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6630 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6631 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6633 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6634 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6635 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6636 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6637 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6638 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6639 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6640 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6641 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6642 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6643 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6644 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6645 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6646 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6647 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6648 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6649 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6650 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6651 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6653 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6655 * posix/spawn_faction_addopen.c: Include string.h.
6657 2014-06-11 Roland McGrath <roland@hack.frob.com>
6659 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6660 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6661 * nptl/sysdeps/x86_64/Makefile: Moved ...
6662 * sysdeps/x86_64/nptl/Makefile: ... here.
6663 * nptl/sysdeps/x86_64/configure: Moved ...
6664 * sysdeps/x86_64/nptl/configure: ... here.
6665 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6666 * sysdeps/x86_64/nptl/configure.ac: ... here.
6667 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6668 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6669 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6670 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6671 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6672 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6673 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6674 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6675 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6676 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6677 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6678 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6679 * nptl/sysdeps/x86_64/tls.h: Moved ...
6680 * sysdeps/x86_64/nptl/tls.h: ... here.
6681 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6682 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6683 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6684 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6686 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6688 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6692 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6694 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6696 [POSIX] (off_t): Likewise.
6697 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6698 [POSIX] (S_ISBLK): Require macro.
6699 [POSIX] (S_ISCHR): Likewise.
6700 [POSIX] (S_ISDIR): Likewise.
6701 [POSIX] (S_ISFIFO): Likewise.
6702 [POSIX] (S_ISREG): Likewise.
6703 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6705 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6707 [POSIX] (time_t): Likewise.
6708 [POSIX] (timer_t): Likewise.
6710 2014-06-11 Florian Weimer <fweimer@redhat.com>
6713 * posix/spawn_int.h (struct __spawn_action): Make the path string
6714 non-const to support deallocation.
6715 * posix/spawn_faction_addopen.c
6716 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6717 * posix/spawn_faction_destroy.c
6718 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6719 path in all spawn_do_open actions.
6720 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6721 posix_spawn_file_actions_addopen.
6723 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6725 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6726 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6727 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6728 conditional code always true.
6729 (__libc_vfork): New alias.
6731 2014-06-11 Roland McGrath <roland@hack.frob.com>
6733 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6734 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6736 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6738 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6739 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6741 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6742 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6744 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6745 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6747 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6749 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6750 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6751 multiarch strcmp for PPC64.
6752 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6753 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6755 multiarch optimizations.
6756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6757 (__libc_ifunc_impl_list): Likewise.
6759 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6761 * benchtests/scripts/validate_benchout.py: New script.
6762 * benchtests/Makefile (bench-func): Call it.
6763 * benchtests/scripts/benchout.schema.json: New file.
6765 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6767 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6768 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6769 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6770 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6771 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6772 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6773 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6774 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6775 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6776 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6777 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6778 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6779 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6780 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6781 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6782 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6887 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6888 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6889 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6890 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6892 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6895 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6896 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6897 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6898 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6899 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6901 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6903 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6905 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6908 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6909 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6911 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6912 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6913 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6916 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6917 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6918 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6919 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6920 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6921 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6922 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6924 2014-06-10 Wilco <wdijkstr@arm.com>
6926 * math/test-fenv-return.c: New file.
6927 * math/Makefile: Add new test test-fenv-return.
6929 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6932 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6934 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6935 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6936 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6937 0.0L for an argument of 1.0L.
6938 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6940 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6941 value when x - 1 is zero.
6942 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6949 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6951 2014-06-09 Roland McGrath <roland@hack.frob.com>
6953 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6954 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6956 2014-06-09 Roland McGrath <roland@hack.frob.com>
6958 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6959 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6961 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6962 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6964 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6965 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6967 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6968 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6970 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6971 if not already defined.
6972 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6973 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6974 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6975 (TLS_INIT_TP): Use it.
6976 (TLS_DEFINE_INIT_TP): New macro.
6977 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6979 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6981 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6983 [POSIX] (IXANY): Likewise.
6984 [POSIX] (OLCUC): Likewise.
6985 [POSIX || POSIX2008] (CBAUD): Do not allow.
6986 [POSIX || POSIX2008] (DEFECHO): Likewise.
6987 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6988 [POSIX || POSIX2008] (ECHOKE): Likewise.
6989 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6990 [POSIX || POSIX2008] (EXTA): Likewise.
6991 [POSIX || POSIX2008] (EXTB): Likewise.
6992 [POSIX || POSIX2008] (FLUSHO): Likewise.
6993 [POSIX || POSIX2008] (LOBLK): Likewise.
6994 [POSIX || POSIX2008] (PENDIN): Likewise.
6995 [POSIX || POSIX2008] (SWTCH): Likewise.
6996 [POSIX || POSIX2008] (VDISCARD): Likewise.
6997 [POSIX || POSIX2008] (VDSUSP): Likewise.
6998 [POSIX || POSIX2008] (VLNEXT): Likewise.
6999 [POSIX || POSIX2008] (VREPRINT): Likewise.
7000 [POSIX || POSIX2008] (VSTATUS): Likewise.
7001 [POSIX || POSIX2008] (VWERASE): Likewise.
7002 (B*): Change to B[0123456789]*.
7003 * conform/data/time.h-data [POSIX || UNIX98]
7004 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7005 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7006 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7007 [POSIX] (tm_*): Do not allow.
7009 2014-06-07 Joseph Myers <joseph@codesourcery.com>
7011 * Makefile (install): Don't set LANGUAGE.
7012 * Makefile.in (install): Likewise.
7013 * assert/Makefile (test-assert-ENV): Remove variable.
7014 (test-assert-perr-ENV): Likewise.
7015 * elf/Makefile (neededtest4-ENV): Likewise.
7016 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7017 [$(cross-compiling) = no]: Don't set LANGUAGE.
7018 * io/ftwtest-sh (LANG): Remove variable.
7019 * libio/Makefile (tst-widetext-ENV): Likewise.
7020 * manual/install.texi (Running make install): Don't refer to
7021 environment settings for make install.
7022 * INSTALL: Regenerated.
7023 * nptl/tst-tls6.sh: Don't set LANG.
7024 * posix/globtest.sh (LANG): Remove variable.
7025 * string/Makefile (tester-ENV): Likewise.
7026 (inl-tester-ENV): Likewise.
7027 (noinl-tester-ENV): Likewise.
7028 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7029 [$(cross-compiling) = no]: Don't set LANGUAGE.
7030 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7031 without explicit environment settings.
7033 2014-06-06 Roland McGrath <roland@hack.frob.com>
7035 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7036 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7037 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7038 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7040 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7042 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7043 other files in the crypt directory.
7044 * crypt/crypt.c: Remove duplicate includes.
7045 * crypt/crypt-entry.c: Likewise.
7046 * crypt/crypt_util.c: Likewise.
7048 2014-06-06 Joseph Myers <joseph@codesourcery.com>
7050 * Makeconfig (run-program-env): New variable.
7051 (run-program-prefix-before-env): Likewise.
7052 (run-program-prefix-after-env): Likewise.
7053 (run-program-prefix): Define in terms of new variables.
7054 (built-program-cmd-before-env): New variable.
7055 (built-program-cmd-after-env): Likewise.
7056 (built-program-cmd): Define in terms of new variables.
7057 (test-program-prefix-before-env): New variable.
7058 (test-program-prefix-after-env): Likewise.
7059 (test-program-prefix): Define in terms of new variables.
7060 (test-program-cmd-before-env): New variable.
7061 (test-program-cmd-after-env): Likewise.
7062 (test-program-cmd): Define in terms of new variables.
7063 * Rules (make-test-out): Use $(run-program-env).
7064 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7065 (help): Do not mention environment variables. Mention
7066 --timeoutfactor option.
7067 (timeoutfactor): New variable.
7068 (blacklist_exports): Remove function.
7069 (exports): Remove variable.
7070 (command): Do not include ${exports}.
7071 * manual/install.texi (Configuring and compiling): Do not mention
7072 test wrappers preserving environment variables. Mention that last
7073 assignment to a variable must take precedence.
7074 * INSTALL: Regenerated.
7075 * benchtests/Makefile (run-bench): Use $(run-program-env).
7076 * catgets/Makefile ($(objpfx)test1.cat): Use
7077 $(built-program-cmd-before-env), $(run-program-env) and
7078 $(built-program-cmd-after-env).
7079 ($(objpfx)test2.cat): Do not specify environment variables
7081 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7082 $(run-program-env) and $(built-program-cmd-after-env).
7083 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7084 $(run-program-env) and $(test-program-cmd-after-env).
7085 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7087 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7088 run_program_env and test_program_cmd_after_env arguments.
7089 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7090 * elf/tst-pathopt.sh: Use run_program_env argument.
7091 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7092 $(test-wrapper-env) and $(run-program-env).
7093 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7094 run_program_env arguments.
7095 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7096 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7097 $(test-program-prefix-before-env), $(run-program-env) and
7098 $(test-program-prefix-after-env).
7099 ($(objpfx)tst-gettext2.out): Likewise.
7100 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7101 run_program_env and test_program_prefix_after_env arguments.
7102 * intl/tst-gettext2.sh: Likewise.
7103 * intl/tst-gettext4.sh: Do not set environment variables
7105 * intl/tst-gettext6.sh: Likewise.
7106 * intl/tst-translit.sh: Likewise.
7107 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7108 $(test-program-prefix-before-env), $(run-program-env) and
7109 $(test-program-prefix-after-env).
7110 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7111 run_program_env and test_program_prefix_after_env arguments.
7112 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7113 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7114 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7115 explicitly with each use of ${test_wrapper_env}.
7116 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7117 $(test-program-prefix-before-env), $(run-program-env) and
7118 $(test-program-prefix-after-env).
7119 * posix/tst-getconf.sh: Do not set environment variables
7121 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7122 run_program_env and test_program_prefix_after_env arguments.
7123 * stdio-common/tst-printf.sh: Do not set environment variables
7125 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7126 $(test-program-prefix-before-env), $(run-program-env) and
7127 $(test-program-prefix-after-env).
7128 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7129 run_program_env and test_program_prefix_after_env arguments.
7130 Split $test calls into $test_pre and $test.
7131 * timezone/Makefile (build-testdata): Use
7132 $(built-program-cmd-before-env), $(run-program-env) and
7133 $(built-program-cmd-after-env).
7135 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7137 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7138 strlen for non SHARED builds.
7140 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7142 * nptl/allocatestack.c (check_list): Inlined function...
7143 (__reclaim_stacks): ... here.
7145 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7148 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7151 2014-06-05 Joseph Myers <joseph@codesourcery.com>
7153 * Rules (make-test-out): Include
7154 LOCPATH=$(common-objpfx)localedata in default environment.
7155 * debug/Makefile (tst-chk1-ENV): Remove variable.
7156 (tst-chk2-ENV): Likewise.
7157 (tst-chk3-ENV): Likewise.
7158 (tst-chk4-ENV): Likewise.
7159 (tst-chk5-ENV): Likewise.
7160 (tst-chk6-ENV): Likewise.
7161 (tst-lfschk1-ENV): Likewise.
7162 (tst-lfschk2-ENV): Likewise.
7163 (tst-lfschk3-ENV): Likewise.
7164 (tst-lfschk4-ENV): Likewise.
7165 (tst-lfschk5-ENV): Likewise.
7166 (tst-lfschk6-ENV): Likewise.
7167 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7168 (tst-iconv7-ENV): Likewise.
7169 * intl/Makefile (LOCPATH-ENV): Likewise.
7170 (tst-codeset-ENV): Likewise.
7171 (tst-gettext3-ENV): Likewise.
7172 (tst-gettext5-ENV): Likewise.
7173 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7174 (tst-fopenloc-ENV): Likewise.
7175 (tst-fgetws-ENV): Remove variable.
7176 (tst-ungetwc1-ENV): Likewise.
7177 (tst-ungetwc2-ENV): Likewise.
7178 (bug-ungetwc2-ENV): Likewise.
7179 (tst-swscanf-ENV): Likewise.
7180 (bug-ftell-ENV): Likewise.
7181 (tst-fgetwc-ENV): Likewise.
7182 (tst-fseek-ENV): Likewise.
7183 (tst-ftell-partial-wide-ENV): Likewise.
7184 (tst-ftell-active-handler-ENV): Likewise.
7185 (tst-ftell-append-ENV): Likewise.
7186 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7187 (tst-regexloc-ENV): Likewise.
7188 (bug-regex1-ENV): Likewise.
7189 (tst-regex-ENV): Likewise.
7190 (tst-regex2-ENV): Likewise.
7191 (bug-regex5-ENV): Likewise.
7192 (bug-regex6-ENV): Likewise.
7193 (bug-regex17-ENV): Likewise.
7194 (bug-regex18-ENV): Likewise.
7195 (bug-regex19-ENV): Likewise.
7196 (bug-regex20-ENV): Likewise.
7197 (bug-regex22-ENV): Likewise.
7198 (bug-regex23-ENV): Likewise.
7199 (bug-regex25-ENV): Likewise.
7200 (bug-regex26-ENV): Likewise.
7201 (bug-regex30-ENV): Likewise.
7202 (bug-regex32-ENV): Likewise.
7203 (bug-regex33-ENV): Likewise.
7204 (bug-regex34-ENV): Likewise.
7205 (bug-regex35-ENV): Likewise.
7206 (tst-rxspencer-ENV): Likewise.
7207 (tst-rxspencer-no-utf8-ENV): Likewise.
7208 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7209 (tst-sscanf-ENV): Likewise.
7210 (tst-swprintf-ENV): Likewise.
7211 (tst-swscanf-ENV): Likewise.
7212 (test-vfprintf-ENV): Likewise.
7213 (scanf13-ENV): Likewise.
7214 (bug14-ENV): Likewise.
7215 (tst-grouping-ENV): Likewise.
7216 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7217 (tst-strtod3-ENV): Likewise.
7218 (tst-strtod4-ENV): Likewise.
7219 (tst-strtod5-ENV): Likewise.
7220 (testmb2-ENV): Likewise./
7221 * string/Makefile (tst-strxfrm-ENV): Likewise.
7222 (tst-strxfrm2-ENV): Likewise.
7223 (bug-strcoll1-ENV): Likewise.
7224 (test-strcasecmp-ENV): Likewise.
7225 (test-strncasecmp-ENV): Likewise.
7226 * time/Makefile (tst-strptime-ENV): Likewise.
7227 (tst-ftime_l-ENV): Likewise.
7228 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7229 (tst-mbrtowc-ENV): Likewise.
7230 (tst-wcrtomb-ENV): Likewise.
7231 (tst-mbrtowc2-ENV): Likewise.
7232 (tst-c16c32-1-ENV): Likewise.
7233 (tst-mbsnrtowcs-ENV): Likewise.
7235 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7237 * manual/resource.texi (How to get information about the memory
7238 subsystem?): Fix typo.
7239 Reported by Peon de la Parra Ivan <peon@keba.com>
7241 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7244 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7245 (pthread_spin_lock): Branch out of spin loop to proper location.
7246 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7247 (pthread_spin_lock): Likewise.
7249 * nptl/tst-spin4.c: New test.
7250 * nptl/Makefile (tests): Add tst-spin4.
7252 2014-06-03 Andreas Schwab <schwab@suse.de>
7255 * resolv/res_send.c (send_dg): Reload file descriptor after
7258 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7260 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7262 2014-06-03 Richard Henderson <rth@redhat.com>
7264 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7265 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7266 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7267 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7268 in the SAVE_PID block.
7269 (__libc_vfork): New alias.
7270 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
7272 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7273 child in registers, not on the stack. Remove RESET_PID conditionals.
7274 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7276 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7278 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7280 2014-06-03 Wilco <wdijkstr@arm.com>
7282 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7283 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7284 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7285 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7286 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7289 2014-06-03 Wilco <wdijkstr@arm.com>
7291 * sysdeps/aarch64/fpu/math_private.h
7292 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7293 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7294 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7295 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7298 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7300 * crypt/crypt-private.h: Include ufc-crypt.h.
7301 (__b64_from_24bit): Declare extern.
7302 * crypt/crypt_util.c(__b64_from_24bit): New function.
7303 (b64t): New static const variable.
7304 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7305 (b64t): Remove variable.
7306 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7307 * crypt/sha256-crypt.c: Include crypt-private.h.
7308 (b64t): Remove variable.
7309 (__sha256_crypt_r): Remove b64_from_24bit and replace
7310 with __b64_from_24bit.
7311 * crypt/sha512-crypt.c: Likewise.
7313 2014-06-02 Roland McGrath <roland@hack.frob.com>
7315 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7316 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7317 Label the code __libc_vfork rather than __vfork.
7318 [!NOT_IN_libc] (vfork): Define as weak alias.
7319 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7320 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7321 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7323 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7325 * malloc/malloc.c (malloc_info): Fix format specifier for
7328 2014-06-02 Wilco <wdijkstr@arm.com>
7330 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7333 2014-06-02 Wilco <wdijkstr@arm.com>
7336 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7337 Rewrite to reduce FPCR/FPSR accesses.
7339 2014-06-01 David S. Miller <davem@davemloft.net>
7341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7343 2014-05-31 David S. Miller <davem@davemloft.net>
7345 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7346 to occur in round to nearest mode when |x| >= 2.0
7348 2014-05-30 Richard Henderson <rth@twiddle.net>
7350 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7351 (PSEUDO_RET_NOERRNO): Remove.
7352 (ret): Don't redefine.
7353 (ret_NOERRNO): Define in terms of ret.
7354 (ret_ERRVAL): Likewise.
7356 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7357 use of PSEUDO_RET; perform the error check directly.
7359 2014-05-30 Marko Myllynen <myllynen@redhat.com>
7361 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7364 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7366 * malloc/malloc (malloc_info): Fix formatting.
7368 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7369 Roland McGrath <roland@hack.frob.com>
7371 * malloc/malloc (malloc_info): Also print mmapped statistics.
7373 2014-05-30 Roland McGrath <roland@hack.frob.com>
7375 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7376 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7378 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
7380 * malloc/malloc.c (malloc_info): Inline mi_arena.
7382 2014-05-29 Richard Henderson <rth@twiddle.net>
7384 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7385 Remove comma before expanding ASM_ARGS_##nr.
7386 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7387 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7389 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7390 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7391 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7392 (ASM_ARGS_1): Add leading comma.
7394 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7395 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7396 to __errno_location.
7397 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7398 Remove the expected plt for __errno_location.
7400 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7401 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
7404 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7405 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7406 it and break it down.
7407 (DOCARGS_0, DOCARGS_1): Do nothing.
7408 (DOCARGS_2): Update to store into the new stack frame.
7409 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7410 (UNDOCARGS_1): Update to restore from the new stack frame.
7411 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7412 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7414 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7415 (SINGLE_THREAD_P): New parameter for result regno.
7416 (PSEUDO): Update to match; use cbz instead of beq.
7418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7419 Use ENTRY to define the _nocancel entry point. Share the syscall
7420 and syscall error check paths with the cancel path.
7423 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7424 whitespace; tabs before and after asm mnemonics.
7426 2014-05-29 Eric Wong <normalperson@yhbt.net>
7429 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7430 Call fstat64 or stat64 internally, depending on arguments passed.
7431 Replace stat buffer argument with file descriptor argument.
7432 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7433 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7434 Pass fd to __internal_statvfs instead of calling fstat64.
7435 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7436 Pass fd to __internal_statvfs64 instead of calling fstat64.
7437 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7438 Pass -1 to __internal_statvfs instead of calling stat64.
7439 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7440 Pass -1 to __internal_statvfs64 instead of calling stat64.
7442 2014-05-28 Roland McGrath <roland@hack.frob.com>
7444 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7445 that was previously under [RESET_PID].
7446 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7448 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7449 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7451 2014-05-27 Roland McGrath <roland@hack.frob.com>
7453 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7455 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7456 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7458 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
7460 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7462 2014-05-27 Andreas Schwab <schwab@suse.de>
7464 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7466 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7467 * elf/rtld.c (init_tls, dl_main): Likewise.
7468 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7469 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7470 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7471 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7472 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7473 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7474 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7475 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7476 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7477 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7478 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7479 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7480 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7481 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7482 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7483 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7484 * sysdeps/generic/tls.h: Update description.
7486 2014-05-27 Will Newton <will.newton@linaro.org>
7489 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7490 and restore r2 rather than just restoring.
7492 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7495 * libio/tst-ftell-append.c: New test case.
7496 * libio/Makefile (tests): Add test case.
7497 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7499 * libio/wfileops.c (do_ftell_wide): Likewise.
7501 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7505 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7509 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7510 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7511 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7512 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7513 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7514 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7518 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7521 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7522 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7523 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7524 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7525 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7527 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7528 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7530 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7532 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7534 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7535 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7536 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7538 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7539 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7540 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7541 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7543 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7546 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7549 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7552 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7564 conditional [RESET_PID].
7565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7573 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7574 (__libc_vfork): New strong alias.
7575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7582 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7583 (__libc_vfork): New strong alias.
7584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7589 2014-05-26 Carlos O'Donell <carlos@redhat.com>
7591 * malloc/malloc.c (mi_arena): New function.
7592 (malloc_info): Remove nested function mi_arena. Call non-nosted
7595 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7597 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7599 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7600 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7601 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7602 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7603 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7604 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7605 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7607 2014-05-26 Andreas Schwab <schwab@suse.de>
7610 * locale/programs/repertoire.c (repertoire_read): Add slash
7611 between I18NPATH element and file name.
7612 * locale/programs/locfile.c (locfile_read): Likewise.
7614 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7616 * nptl/pthread_mutexattr_settype.c
7617 (__pthread_mutexattr_settype):
7618 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7620 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7622 * nptl/tst-mutex5 (do_test):
7623 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7625 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7627 * benchtests/README: Document 'init' directive.
7628 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7630 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7631 (parse_file): Recognize 'init' directive.
7633 2014-05-26 Kyle McMartin <kyle@redhat.com>
7636 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7637 alignment of struct pthread.
7639 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7642 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7643 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7644 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7645 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7647 2014-05-25 Richard Henderson <rth@twiddle.net>
7649 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7650 (SINGLE_THREAD_P_PIC): Remove.
7651 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7652 (SINGLE_THREAD_P_PIC): Remove.
7654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7655 branch to syscall error ...
7657 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7658 from __local_syscall_error to .Lsyscall_error.
7659 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7660 (SYSCALL_ERROR): Update label name.
7662 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7663 Do not use DOARGS/UNDOARGS.
7664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7665 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7666 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7667 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7668 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7670 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7673 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7674 define if !NOT_IN_libc.
7675 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7676 define with non-default symbol versions.
7678 2014-05-23 Richard Henderson <rth@twiddle.net>
7680 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7681 (vfork, __vfork): Define via compat_symbol.
7683 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7684 [!HAVE_IFUNC] (vfork_compat): Remove.
7685 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7687 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7690 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7691 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7694 2014-05-23 Richard Henderson <rth@twiddle.net>
7696 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7697 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7698 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7699 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7701 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7702 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7703 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7704 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7705 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7706 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7707 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7708 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7709 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7710 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7711 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7712 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7713 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7714 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7715 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7716 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7717 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7718 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7719 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7720 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7721 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7722 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7723 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7724 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7725 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7726 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7727 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7728 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7729 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7730 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7731 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7732 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7733 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7734 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7736 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7737 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7738 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7740 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7741 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7742 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7743 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7744 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7745 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7746 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7747 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7748 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7749 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7750 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7751 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7752 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7754 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7755 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7756 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7758 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7759 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7760 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7761 before exiting on error.
7762 (__libc_vfork): New strong alias.
7763 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7764 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7766 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7767 that was previously under [RESET_PID].
7768 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7770 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7772 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7775 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7776 value when x - 1 is zero.
7777 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7778 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7779 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7780 0.0L for an argument of 1.0L.
7781 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7783 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7784 value when x - 1 is zero.
7785 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7786 * sysdeps/i386/fpu/libm-test-ulps: Update.
7787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7789 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7791 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7792 alphasort and versionsort.
7794 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7796 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7798 [copysignf]: Likewise.
7800 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7802 * crypt/md5-crypt.c: Fix formatting.
7804 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7806 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7807 (b64_from_24bit): New function.
7809 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7811 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7812 libc_hidden_builtin_def to ifunc.
7813 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7814 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7816 2014-05-21 Roland McGrath <roland@hack.frob.com>
7818 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7819 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7821 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7823 * nscd/Depend (linuxthreads): Remove.
7825 * resolv/Depend (linuxthreads): Remove.
7826 * rt/Depend (linuxthreads): Remove.
7828 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7829 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7830 $(common-objpfx)elf/.
7831 (link-libc-before-gnulib): Likewise.
7832 (elfobjdir): Remove variable.
7833 * Makefile (install): Use $(elf-objpfx) instead of
7834 $(common-objpfx)elf/.
7835 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7837 (link-libc-deps): Likewise.
7838 ($(common-objpfx)libc.so): Likewise.
7839 ($(common-objpfx)linkobj/libc.so): Likewise.
7840 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7841 instead of $(common-objpfx)elf/.
7842 (symbolic-link-list): Likewise.
7843 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7844 [$(cross-compiling) = no]: Likewise.
7845 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7847 (static-gnulib-arch): Likewise.
7848 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7849 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7850 $(common-objpfx)elf/.
7852 2014-05-21 Richard Henderson <rth@redhat.com>
7854 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7855 (SINGLE_THREAD_P): Use the correct width load. Fold
7856 into the ldr offset.
7858 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7859 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7861 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7863 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7864 (libgcc_s_resume): Use __attribute_used__.
7865 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7868 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7870 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7871 optimization when used with float constants.
7873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7875 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7878 * locale/nl_langinfo_l.c: Make direct reference to every
7879 _nl_current_CATEGORY symbol.
7880 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7881 (tests-static): Add tst-langinfo-static.
7882 (tests-special): Add tst-langinfo-static.out.
7883 ($(objpfx)tst-langinfo.out): Redirect output.
7884 ($(objpfx)tst-langinfo-static.out): New.
7885 * localedata/tst-langinfo.sh: Send output to stdout.
7886 * localedata/tst-langinfo-static.c: New file.
7889 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7890 when the shift amount is modulo the limb size.
7892 2014-05-20 Richard Henderson <rth@redhat.com>
7895 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7896 Change type of sa_flags from unsigned int to int.
7899 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7901 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7903 2014-05-20 Will Newton <will.newton@linaro.org>
7905 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7906 Test the return value of the system call in the nocancel case.
7908 2014-05-20 Will Newton <will.newton@linaro.org>
7909 Yvan Roux <yvan.roux@linaro.org>
7911 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7912 #include of asm/ptrace.h.
7913 (PTRACE_GET_THREAD_AREA): Remove #undef.
7914 (PTRACE_GETHBPREGS): Likewise.
7915 (PTRACE_SETHBPREGS): Likewise.
7916 (struct user_regs_struct): New structure.
7917 (struct user_fpsimd_struct): New structure.
7918 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7919 #include of asm/ptrace.h and second #include of sys/user.h.
7920 (PTRACE_GET_THREAD_AREA): Remove #undef.
7921 (PTRACE_GETHBPREGS): Likewise.
7922 (PTRACE_SETHBPREGS): Likewise.
7923 (ELF_NGREG): Use new struct user_regs_struct.
7924 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7926 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7929 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7931 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7934 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7935 membar to avoid block loads/stores to overlap previous stores.
7937 2014-05-17 Richard Henderson <rth@redhat.com>
7939 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7940 Create the __##syscall_name##_nocancel entry point.
7941 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7942 Remove; let the sysdep-cancel.h code create it.
7944 2014-05-17 David S. Miller <davem@davemloft.net>
7946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7947 Protect with __USE_GNU.
7948 (TIOCSET_TEMPT): Likewise.
7949 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7950 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7951 these are already provided in bits/ioctl-types.h
7953 2014-05-16 Roland McGrath <roland@hack.frob.com>
7955 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7956 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7958 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7959 Use wait4 regardless of [__NR_waitpid].
7961 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7964 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7965 (_FP_NANSIGN_Q): Set the quiet bit.
7967 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7969 * benchtests/Makefile
7970 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7971 not $(common-objpfx)math/libm.so.
7972 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7973 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7974 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7975 $(common-objpfx)dlfcn/libdl.so.
7976 ($(objpfx)tst-audit8): Depend on $(libm), not
7977 $(common-objpfx)math/libm.so.
7978 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7979 not $(common-objpfx)dlfcn/libdl.so.
7981 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7982 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7983 [$(build-shared) = yes].
7984 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7985 $(common-objpfx)nptl/libpthread.so.
7986 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7987 $(common-objpfx)math/libm.so$(libm.so-version) or
7988 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7989 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7990 $(common-objpfx)dlfcn/libdl.so.
7991 * setjmp/Makefile (link-libm): Remove variable.
7992 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7993 * stdio-common/Makefile (link-libm): Remove variable.
7994 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7995 * stdlib/Makefile (link-libm): Remove variable.
7996 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7997 ($(objpfx)tst-strtod-round): Likewise.
7998 ($(objpfx)tst-tininess): Likewise.
7999 ($(objpfx)tst-strtod-underflow): Likewise.
8000 ($(objpfx)tst-strtod6): Likewise.
8001 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8002 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8003 $(common-objpfx)dlfcn/libdl.so.
8005 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8007 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8008 BSD terminal modes definitions.
8010 2014-05-16 Roland McGrath <roland@hack.frob.com>
8012 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8013 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8015 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8016 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8017 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8018 Don't do #include_next.
8019 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8020 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8021 Don't do #include_next.
8022 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8023 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8024 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8025 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8027 2014-05-16 Allan McRae <allan@archlinux.org>
8029 * po/sv.po: Update Swedish translation from translation project.
8031 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8034 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8037 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8038 errno if the TIOCGPTN ioctl fails with an error different than
8040 * login/tst-ptsname.c: New file.
8041 * login/Makefile (tests): Add tst-ptsname.
8044 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8047 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8051 herrno to return EAI_AGAIN.
8053 2014-05-14 Roland McGrath <roland@hack.frob.com>
8055 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8056 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8057 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8058 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8059 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8060 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8061 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8062 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8063 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8064 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8066 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8072 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8073 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8074 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8076 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8080 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8084 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8086 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8088 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8091 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8093 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8095 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8097 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8099 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8101 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8103 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8105 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8107 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8109 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8111 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8113 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8115 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8117 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8120 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8122 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8124 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8126 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8128 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8130 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8132 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8134 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8136 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8138 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8141 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8145 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8146 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8147 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8148 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8149 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8150 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8151 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8152 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8153 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8154 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8155 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8156 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8157 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8158 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8159 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8160 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8161 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8162 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8163 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8164 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8165 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8166 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8167 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8168 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8169 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8170 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8171 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8172 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8173 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8174 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8175 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8177 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8178 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8180 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8181 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8182 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8184 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8187 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8188 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8190 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8191 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8193 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8194 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8196 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8197 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8198 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8201 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8202 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8203 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8204 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8205 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8206 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8207 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8208 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8210 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8215 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8216 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8217 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8218 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8221 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8227 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8228 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8229 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8230 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8232 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8235 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8236 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8238 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8239 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8241 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8242 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8243 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8246 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8247 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8248 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8249 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8250 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8251 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8252 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8253 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8255 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8260 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8261 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8262 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8263 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8266 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8270 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8271 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8272 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8273 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8274 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8275 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8276 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8277 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8278 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8279 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8282 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8284 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8285 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8287 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8290 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8291 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8292 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8294 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8297 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8298 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8299 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8301 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8302 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8303 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8304 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8306 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8307 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8311 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8312 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8313 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8314 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8317 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8323 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8324 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8325 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8326 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8327 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8329 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8331 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8333 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8334 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8336 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8337 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8339 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8340 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8341 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8342 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8343 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8344 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8345 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8346 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8347 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8348 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8350 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8351 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8352 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8353 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8354 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8355 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8358 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8360 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8363 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8365 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8367 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8369 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8370 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8372 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8373 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8375 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8377 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8379 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8381 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8383 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8385 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8386 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8387 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8389 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8391 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8394 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8395 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8396 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8397 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8399 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8400 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8402 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8403 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8404 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8405 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8406 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8407 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8408 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8413 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8414 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
8415 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8416 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8417 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8418 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8419 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8420 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8421 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8422 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8423 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8424 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8425 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8426 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8435 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8450 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
8452 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8453 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8455 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8457 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8458 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8459 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8460 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8461 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
8463 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8464 that was previously under [RESET_PID].
8465 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8466 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8467 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8469 * sysdeps/i386/nptl/Implies: New file.
8470 * sysdeps/x86_64/nptl/Implies: New file.
8471 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8472 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8473 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8474 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8476 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8477 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8478 (__libc_vfork): New strong alias.
8479 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8480 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8482 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8483 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8484 (__libc_vfork): New strong alias.
8485 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8486 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8488 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8489 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8490 (__libc_vfork): New strong alias.
8491 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8492 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8493 * nptl/pt-vfork.c: New file.
8494 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8495 (libpthread: GLIBC_2.20): New version set (empty).
8497 2014-05-14 Will Newton <will.newton@linaro.org>
8499 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8502 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8505 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8506 arguments with exponent 65 or above.
8507 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8508 arguments 0x1p113L or above.
8509 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8510 to arguments 0x1p107L or above.
8511 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8512 positive arguments with exponent 65 or above.
8513 * math/auto-libm-test-in: Add more tests of log1p.
8514 * math/auto-libm-test-out: Regenerated.
8517 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8518 non-finite arguments is +0.
8519 * math/s_cacosf.c (__cacosf): Likewise.
8520 * math/s_cacosl.c (__cacosl): Likewise.
8521 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8522 * sysdeps/i386/fpu/libm-test-ulps: Update.
8523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8526 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8528 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8529 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8530 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8531 for explicit high bit of mantissa when testing for argument equal
8533 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8534 * sysdeps/i386/fpu/libm-test-ulps: Update.
8535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8538 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8539 (__erf): Scale by 16 instead of 8 in potentially underflowing
8540 case. Ensure exception if result actually underflows.
8541 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8542 (__erff): Scale by 16 instead of 8 in potentially underflowing
8543 case. Ensure exception if result actually underflows.
8544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8545 (efx8): Remove variable.
8546 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8547 case. Ensure exception if result actually underflows.
8548 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8549 (efx8): Remove variable.
8550 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8551 case. Ensure exception if result actually underflows.
8552 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8553 (efx8): Remove variable.
8554 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8555 case. Ensure exception if result actually underflows.
8556 * math/auto-libm-test-in: Add more tests of erf.
8557 * math/auto-libm-test-out: Regenerated.
8559 2014-05-14 Andreas Schwab <schwab@suse.de>
8561 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8562 Remove code conditionalized on USE___THREAD.
8564 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8565 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8568 2014-05-14 Joseph Myers <joseph@codesourcery.com>
8570 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8571 Define unconditionally.
8572 (__ASSUME_O_CLOEXEC): Likewise.
8573 (__ASSUME_SOCK_CLOEXEC): Likewise.
8574 (__ASSUME_IN_NONBLOCK): Likewise.
8575 (__ASSUME_PIPE2): Likewise.
8576 (__ASSUME_EVENTFD2): Likewise.
8577 (__ASSUME_SIGNALFD4): Likewise.
8578 (__ASSUME_DUP3): Likewise.
8579 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8580 (__ASSUME_DUP3): Do not define.
8581 (__ASSUME_EVENTFD2): Likewise.
8582 (__ASSUME_IN_NONBLOCK): Likewise.
8583 (__ASSUME_O_CLOEXEC): Likewise.
8584 (__ASSUME_PIPE2): Likewise.
8585 (__ASSUME_SIGNALFD4): Likewise.
8586 (__ASSUME_SOCK_CLOEXEC): Likewise.
8587 (__ASSUME_UTIMES): Undefine.
8588 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8589 (__ASSUME_UTIMES): Do not define.
8590 (__ASSUME_O_CLOEXEC): Likewise.
8591 (__ASSUME_SOCK_CLOEXEC): Likewise.
8592 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8593 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8595 (__ASSUME_PIPE2): Likewise.
8596 (__ASSUME_EVENTFD2): Likewise.
8597 (__ASSUME_SIGNALFD4): Likewise.
8598 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8599 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8601 (__ASSUME_EVENTFD2): Likewise.
8602 (__ASSUME_SIGNALFD4): Likewise.
8603 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8604 (__ASSUME_32BITUIDS): Likewise.
8605 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8606 (__ASSUME_IPC64): Likewise.
8607 (__ASSUME_ST_INO_64_BIT): Likewise.
8608 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8609 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8610 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8611 (__ASSUME_UTIMES): Do not define.
8612 (__ASSUME_PSELECT): Likewise.
8613 (__ASSUME_PPOLL): Likewise.
8614 (__ASSUME_O_CLOEXEC): Likewise.
8615 (__ASSUME_SOCK_CLOEXEC): Likewise.
8616 (__ASSUME_IN_NONBLOCK): Likewise.
8617 (__ASSUME_PIPE2): Likewise.
8618 (__ASSUME_EVENTFD2): Likewise.
8619 (__ASSUME_SIGNALFD4): Likewise.
8620 (__ASSUME_DUP3): Likewise.
8621 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8622 (__ASSUME_UTIMES): Likewise.
8623 (__ASSUME_O_CLOEXEC): Likewise.
8624 (__ASSUME_SOCK_CLOEXEC): Likewise.
8625 (__ASSUME_IN_NONBLOCK): Likewise.
8626 (__ASSUME_PIPE2): Likewise.
8627 (__ASSUME_EVENTFD2): Likewise.
8628 (__ASSUME_SIGNALFD4): Likewise.
8629 (__ASSUME_DUP3): Likewise.
8630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8631 (__ASSUME_UTIMES): Likewise.
8632 (__ASSUME_O_CLOEXEC): Likewise.
8633 (__ASSUME_SOCK_CLOEXEC): Likewise.
8634 (__ASSUME_IN_NONBLOCK): Likewise.
8635 (__ASSUME_PIPE2): Likewise.
8636 (__ASSUME_EVENTFD2): Likewise.
8637 (__ASSUME_SIGNALFD4): Likewise.
8638 (__ASSUME_DUP3): Likewise.
8639 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8641 (__ASSUME_UTIMES): Likewise.
8642 (__ASSUME_EVENTFD2): Likewise.
8643 (__ASSUME_SIGNALFD4): Likewise.
8644 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8645 (__ASSUME_O_CLOEXEC): Likewise.
8646 (__ASSUME_SOCK_CLOEXEC): Likewise.
8647 (__ASSUME_IN_NONBLOCK): Likewise.
8648 (__ASSUME_PIPE2): Likewise.
8649 (__ASSUME_EVENTFD2): Likewise.
8650 (__ASSUME_SIGNALFD4): Likewise.
8651 (__ASSUME_DUP3): Likewise.
8652 (__ASSUME_UTIMES): Undefine.
8654 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8655 feclearexcept. Remove symbol versioning code.
8656 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8657 symbol versioning code.
8658 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8659 symbol versioning code.
8660 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8661 feupdateenv. Remove symbol versioning code.
8662 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8663 fegetexceptflag. Remove symbol versioning code.
8664 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8665 fesetexceptflag. Remove symbol versioning code.
8666 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8667 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8668 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8669 (__posix_fadvise64_l32): Remove prototype.
8670 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8673 2014-05-13 Roland McGrath <roland@hack.frob.com>
8675 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8676 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8677 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8678 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8680 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8682 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8683 current working directory
8685 2014-05-13 Roland McGrath <roland@hack.frob.com>
8687 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8688 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8689 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8690 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8691 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8692 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8693 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8694 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8695 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8696 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8697 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8698 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8699 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8700 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8701 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8702 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8703 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8704 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8705 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8706 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8707 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8708 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8710 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8711 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8712 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8713 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8714 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8715 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8716 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8717 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8718 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8719 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8720 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8721 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8722 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8723 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8724 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8725 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8726 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8727 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8728 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8730 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8731 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8733 * sysdeps/unix/sysv/linux/arm/Makefile
8734 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8735 Add rt-aeabi_unwind_cpp_pr1.
8736 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8737 Add nptl-aeabi_unwind_cpp_pr1.
8738 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8739 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8740 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8741 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8742 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8743 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8745 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8746 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8747 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8748 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8750 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8751 Deconditionalize the code that was previously under [RESET_PID].
8752 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8754 * sysdeps/generic/exit-thread.h: New file.
8755 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8756 * include/unistd.h (__exit_thread): Remove declaration.
8757 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8758 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8759 * csu/libc-start.c: Include <exit-thread.h>.
8760 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8761 * nptl/pthread_create.c: Include <exit-thread.h>.
8762 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8763 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8764 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8765 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8766 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8767 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8768 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8769 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8770 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8771 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8772 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8773 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8774 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8775 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8776 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8777 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8778 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8780 2014-05-13 Andreas Schwab <schwab@suse.de>
8782 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8784 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8786 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8787 (__ASSUME_UTIMES): Do not condition on kernel version.
8788 (__ASSUME_PSELECT): Define unconditionally.
8789 (__ASSUME_PPOLL): Likewise.
8790 (__ASSUME_ATFCTS): Likewise.
8791 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8792 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8793 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8794 (__ASSUME_UTIMENSAT): Define unconditionally.
8795 (__ASSUME_PRIVATE_FUTEX): Likewise.
8796 (__ASSUME_FALLOCATE): Likewise.
8797 (__ASSUME_O_CLOEXEC): Likewise.
8798 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8799 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8800 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8801 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8802 (__ASSUME_IN_NONBLOCK): Likewise.
8803 (__ASSUME_PIPE2): Likewise.
8804 (__ASSUME_EVENTFD2): Likewise.
8805 (__ASSUME_SIGNALFD4): Likewise.
8806 (__ASSUME_DUP3): Likewise.
8807 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8808 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8809 (__ASSUME_AT_RANDOM): Likewise.
8810 (__ASSUME_PREADV): Likewise.
8811 (__ASSUME_PWRITEV): Likewise.
8812 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8813 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8814 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8815 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8816 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8817 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8818 (__ASSUME_O_CLOEXEC): Define unconditionally.
8819 (__ASSUME_PSELECT): Do not undefine conditionally.
8820 (__ASSUME_PPOLL): Likewise.
8821 (__ASSUME_ATFCTS): Likewise.
8822 (__ASSUME_SET_ROBUST_LIST): Likewise.
8823 (__ASSUME_UTIMENSAT): Likewise.
8824 (__ASSUME_FDATASYNC): Define unconditionally.
8825 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8826 (__ASSUME_SIGFRAME_V2): Likewise.
8827 )__ASSUME_EVENTFD2): Likewise.
8828 (__ASSUME_SIGNALFD4): Likewise.
8829 (__ASSUME_PSELECT): Do not undefine conditionally.
8830 (__ASSUME_PPOLL): Likewise.
8831 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8832 (__ASSUME_PSELECT): Define unconditionally.
8833 (__ASSUME_PPOLL): Likewise.
8834 (__ASSUME_O_CLOEXEC): Likewise.
8835 (__ASSUME_SOCK_CLOEXEC): Likewise.
8836 (__ASSUME_IN_NONBLOCK): Likewise.
8837 (__ASSUME_PIPE2): Likewise.
8838 (__ASSUME_EVENTFD2): Likewise.
8839 (__ASSUME_SIGNALFD4): Likewise.
8840 (__ASSUME_DUP3): Likewise.
8841 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8842 (__ASSUME_O_CLOEXEC): Likewise.
8843 (__ASSUME_SOCK_CLOEXEC): Likewise.
8844 (__ASSUME_IN_NONBLOCK): Likewise.
8845 (__ASSUME_PIPE2): Likewise.
8846 (__ASSUME_EVENTFD2): Likewise.
8847 (__ASSUME_SIGNALFD4): Likewise.
8848 (__ASSUME_DUP3): Likewise.
8849 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8850 (__ASSUME_EVENTFD2): Likewise.
8851 (__ASSUME_SIGNALFD4): Likewise.
8852 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8854 2014-05-12 Andreas Schwab <schwab@suse.de>
8857 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8858 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8859 than maximum RPC packet size.
8860 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8861 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8862 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8863 (_nss_nis_getservbyport_r): Likewise.
8865 2014-05-12 Will Newton <will.newton@linaro.org>
8867 * malloc/Makefile (tests): Add tst-mallopt.
8868 * malloc/tst-mallopt.c: New file.
8870 2014-05-09 Roland McGrath <roland@hack.frob.com>
8872 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8873 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8875 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8877 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8878 (tst-tlsmod6.so): Likewise.
8880 2014-05-09 Roland McGrath <roland@hack.frob.com>
8882 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8884 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8887 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8888 and <dl-procinfo.h>.
8889 (__fegetenv): Save SSE state in envp->__eip if supported.
8890 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8891 envp->__eip if supported.
8892 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8893 and <dl-procinfo.h>.
8894 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8895 __data_offset and __data_selector in environment to 0. Set SSE
8897 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8899 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8901 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8903 2014-05-09 Will Newton <will.newton@linaro.org>
8905 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8906 and libc_relro_required for ARM.
8907 * sysdeps/arm/preconfigure: Regenerate.
8909 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8910 Stefan Liebler <stli@linux.vnet.ibm.com>
8912 * config.make.in (enable-lock-elision): New Makefile variable.
8913 * configure.ac: Likewise.
8914 * configure: Regenerate.
8915 * sysdeps/s390/configure.ac:
8916 Add check for gcc transactions support.
8917 * sysdeps/s390/configure: Regenerate.
8918 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8919 Build elision files if enabled.
8920 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8921 Add lock elision support for s390.
8922 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8923 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8924 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8925 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8926 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8927 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8928 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8930 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8932 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8934 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8936 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8937 (__lll_timedlock_elision, __lll_lock_elision)
8938 (__lll_unlock_elision, __lll_trylock_elision)
8939 (lll_timedlock_elision, lll_lock_elision)
8940 (lll_unlock_elision, lll_trylock_elision): Add.
8941 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8942 (pthread_mutex_t): Add lock elision support for s390.
8944 2014-05-14 Wilco <wdijkstr@arm.com>
8946 * sysdeps/arm/fclrexcpt.c: Cleanup.
8947 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8948 * sysdeps/arm/feenablxcpt.c: Cleanup.
8949 * sysdeps/arm/fegetenv.c: Cleanup.
8950 * sysdeps/arm/fegetexcept.c: Cleanup.
8951 * sysdeps/arm/fegetround.c: Cleanup.
8952 * sysdeps/arm/feholdexcpt.c: Cleanup.
8953 * sysdeps/arm/fesetenv.c: Cleanup.
8954 * sysdeps/arm/fesetround.c: Cleanup.
8955 * sysdeps/arm/feupdateenv.c: Cleanup.
8956 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8957 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8958 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8959 * sysdeps/arm/ftestexcept.c: Cleanup.
8960 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8961 * sysdeps/arm/setfpucw.c: Cleanup.
8963 2014-05-09 Will Newton <will.newton@linaro.org>
8965 * sysdeps/arm/armv7/strcmp.S: New file.
8966 * NEWS: Mention addition of ARMv7 optimized strcmp.
8968 2014-05-08 Roland McGrath <roland@hack.frob.com>
8970 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8971 look for %.ac rather than %.in.
8973 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8974 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8975 * sysdeps/mach/hurd/configure: Regenerated.
8976 * sysdeps/unix/sysv/linux/configure: Regenerated.
8978 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8980 2014-05-07 Steve Ellcey <sellcey@mips.com>
8983 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8987 2014-05-07 Andreas Schwab <schwab@suse.de>
8989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8990 when skipping over non-matching result from nscd.
8992 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8995 * nptl/sockperf.c (client): Check socket return value.
8998 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8999 nscd security class.
9001 2014-05-06 Roland McGrath <roland@hack.frob.com>
9003 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9004 * sysdeps/arm/unwind.h: ... here.
9006 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9009 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9012 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9014 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9015 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9016 multiarch strncpy for PPC64.
9017 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9018 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9020 multiarch optimizations.
9021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9022 (__libc_ifunc_impl_list): Likewise.
9023 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9024 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9025 multiarch stpncpy for PPC64.
9026 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9027 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9029 2014-05-06 Andreas Schwab <schwab@suse.de>
9032 * gmon/mcount.c (_MCOUNT_DECL): Use
9033 atomic_compare_and_exchange_bool_acq instead of
9034 catomic_compare_and_exchange_bool_acq.
9036 2014-05-05 Roland McGrath <roland@hack.frob.com>
9038 * elf/Makefile (others, install-bin): Remove pldd.
9039 (pldd-modules): Variable removed.
9040 ($(objpfx)pldd): Target removed.
9041 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9042 (others, install-bin): Append pldd here.
9043 ($(objpfx)pldd): New target.
9045 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9046 to 0, so the first #if test emitted later doesn't see it undefined.
9047 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9048 * sysdeps/gnu/errlist.c: Regenerated.
9050 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9052 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9053 [libc_hidden_builtin_def]: Define to empty value.
9054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9055 [libc_hidden_builtin_def]: Likewise.
9056 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9057 [libc_hidden_builtin_def]: Likewise.
9058 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9059 [libc_hidden_builtin_def]: Likewise.
9060 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9061 __redirect_memcpy and define ifunc as default hidden symbol.
9062 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9063 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9065 2014-05-04 Adam Conrad <adconrad@0c3.net>
9067 * locale/iso-4217.def: Reintroduce XDR currency.
9069 2014-05-04 Allan McRae <allan@archlinux.org>
9071 * po/eo.po: Update Esperanto translation from translation project.
9073 2014-05-02 Carlos O'Donell <carlos@redhat.com>
9075 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9076 and FEATURE_INDEX_MAX to 1.
9077 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9079 2014-05-01 Steve Ellcey <sellcey@mips.com>
9081 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9082 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9083 * iconvdata/big5.c (ONE_DIRECTION): Define.
9084 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9085 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9086 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9087 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9088 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9089 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9090 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9091 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9092 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9093 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9094 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9095 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9096 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9097 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9098 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9099 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9100 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9101 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9102 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9103 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9104 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9105 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9106 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9107 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9108 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9109 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9110 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9111 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9112 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9113 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9114 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9115 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9116 * iconvdata/johab.c (ONE_DIRECTION): Define.
9117 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9118 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9119 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9120 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9121 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9122 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9123 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9124 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9125 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9126 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9128 2014-05-01 Roland McGrath <roland@hack.frob.com>
9130 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9131 (_IO_JUMPS_OFFSET): Define to 0.
9133 * nptl/sysdeps/pthread/bits/libc-lock.h
9134 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9135 (__libc_lock_define_initialized_recursive): Always define using
9136 initializer. Modern compilers treat uninitialized (implicit zero) and
9137 explicit zero initializers the same (i.e. put the datum in bss).
9139 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9141 * nscd/nscd-client.h: Include <string.h>.
9143 2014-05-01 David S. Miller <davem@davemloft.net>
9146 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9147 multiple zero bytes exist at the end of a string.
9148 Reported by Aurelien Jarno <aurelien@aurel32.net>
9150 * string/test-strcmp.c (check): Add explicit test for situations where
9151 there are multiple zero bytes after the first.
9153 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9156 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9157 when compiling wprintf.
9158 * stdio-common/tstdiomisc.c (t3): New function.
9161 2014-05-01 Steve Ellcey <sellcey@mips.com>
9163 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9164 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9165 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9166 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9168 2014-05-01 Steve Ellcey <sellcey@mips.com>
9170 * stdlib/longlong.h: Updated from GCC.
9172 2014-05-01 Will Newton <will.newton@linaro.org>
9173 Bernard Ogden <bernie.ogden@linaro.org>
9175 * NEWS: Update fixed bug list.
9178 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9180 2014-04-30 David S. Miller <davem@davemloft.net>
9182 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9183 (libc_feholdexcept_setround_sparc_ctx): New function.
9184 (libc_fesetenv_sparc_ctx): Likewise.
9185 (libc_feupdateenv_sparc_ctx): Likewise.
9186 (libc_feholdsetround_sparc_ctx): Likewise.
9187 (libc_feholdexcept_setround_ctx): Define.
9188 (libc_feholdexcept_setroundf_ctx): Likewise.
9189 (libc_feholdexcept_setroundl_ctx): Likewise.
9190 (libc_fesetenv_ctx): Likewise.
9191 (libc_fesetenvf_ctx): Likewise.
9192 (libc_fesetenvl_ctx): Likewise.
9193 (libc_feupdateenv_ctx): Likewise.
9194 (libc_feupdateenvf_ctx): Likewise.
9195 (libc_feupdateenvl_ctx): Likewise.
9196 (libc_feresetround_ctx): Likewise.
9197 (libc_feresetroundf_ctx): Likewise.
9198 (libc_feresetroundl_ctx): Likewise.
9199 (libc_feholdsetround_ctx): Likewise.
9200 (libc_feholdsetroundf_ctx): Likewise.
9201 (libc_feholdsetroundl_ctx): Likewise.
9203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9204 with __USE_GNU instead of XOPEN cpp guards.
9206 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9210 with XOPEN cpp guards.
9212 2014-04-30 Julian Brown <julian@codesourcery.com>
9215 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9218 2014-04-30 Joseph Myers <joseph@codesourcery.com>
9221 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9223 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9224 * sysdeps/unix/sysv/linux/configure: Regenerated.
9225 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9226 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9227 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9228 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9229 * README: Update reference to required Linux kernel version.
9230 * manual/install.texi (Linux): Update reference to required Linux
9231 kernel headers version.
9232 * INSTALL: Regenerated.
9234 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9236 [POSIX] (limits.h): Likewise.
9237 [POSIX] (math.h): Likewise.
9238 [POSIX] (sys/wait.h): Likewise.
9239 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9241 [POSIX] (stddef.h): Do not allow header inclusion.
9243 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9245 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
9247 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9249 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9250 Return immediately after lll_futex_wake.
9252 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9255 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9257 (datahead_init_pos): Call datahead_init_common early.
9258 (datahead_init_neg): Likewise.
9260 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9261 datahead_init_neg): New functions.
9262 * nscd/aicache.c (addhstaiX): Use them.
9263 * nscd/grpcache.c (cache_addgr): Likewise.
9264 * nscd/hstcache.c (cache_addhst): Likewise.
9265 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9266 * nscd/netgroupcache.c (do_notfound): Likewise.
9267 (addgetnetgrentX): Likewise.
9268 (addinnetgrX): Likewise.
9269 * nscd/pwdcache.c (cache_addpw): Likewise.
9270 * nscd/servicescache.c (cache_addserv): Likewise.
9272 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9273 Atsushi Onoe <atsushi@onoe.org>
9278 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9279 one response is valid.
9280 * resolv/res_send.c (send_dg): Check for validity of other
9281 response if the current response is a referral.
9283 2014-04-29 Steve Ellcey <sellcey@mips.com>
9285 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9287 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9290 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9291 Always divide by positive zero when computing -Inf result.
9292 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9293 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9295 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9297 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9298 FPSCR if value do not change.
9299 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9300 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9301 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9302 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9303 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9304 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9307 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9309 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9310 * sysdeps/unix/sysv/linux/hppa: Move directory from
9311 ports/systeps/unix/sysv/linux/hppa.
9312 * README: Update listing for hppa-*-linux-gnu.
9314 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
9317 * manual/stdio.texi (Hook functions): Fix types of stream hook
9320 * socket/sys/socket.h: Fix typo in comment.
9322 2014-04-28 Wilco <wdijkstr@arm.com>
9324 * sysdeps/arm/fenv_private.h: New file.
9325 * sysdeps/arm/math_private.h: New file.
9326 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9328 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9330 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9332 (La_x86_64_retval): Likewise.
9334 2014-04-24 Ian Bolton <ian.bolton@arm.com>
9336 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9337 fpsr if value didn't change.
9338 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9339 to fpcr if value didn't change.
9340 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9341 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9342 fpsr or fpcr if value didn't change.
9343 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9344 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9345 fpcr if value didn't change.
9346 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9347 to fpsr if value didn't change.
9349 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9351 * nptl/tst-sem3.c: Use test-skeleton.c
9352 (main): Rename to do_test. Use return instead of
9354 * nptl/tst-sem4.c: Use test-skeleton.c
9355 (main): Rename to do_test.
9357 2014-04-22 David S. Miller <davem@davemloft.net>
9359 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9360 (struct sigaction): New struct member __glibc_reserved0, change
9361 type of sa_flags to int.
9363 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9365 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9366 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9368 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9370 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9371 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9373 2014-04-22 Will Newton <will.newton@linaro.org>
9374 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9376 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9377 (__longjmp): Add longjmp and longjmp_target SystemTap
9379 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9380 (__sigsetjmp): Add setjmp SystemTap probe.
9382 2014-04-17 Carlos O'Donell <carlos@redhat.com>
9384 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9387 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9389 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9391 * sysdeps/powerpc/fpu/fenv_private.h
9392 (libc_feholdexcept_setroundl_ctx): Define to
9393 libc_feholdexcept_setround_ppc_ctx.
9394 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9395 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9396 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9397 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9399 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9401 * sysdeps/aarch64/math-tests.h: New file.
9403 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9405 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9408 Check and set bit_AVX2_Usable.
9409 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9411 (bit_AVX2): Likewise.
9412 (index_AVX2_Usable): Likewise.
9413 (CPUID_AVX2): Likewise.
9414 (HAS_AVX2): Likewise.
9416 2014-04-17 Will Newton <will.newton@linaro.org>
9418 * manual/setjmp.texi (System V contexts): Add note that
9419 calling setcontext on a context created by a call to a
9420 signal handler is undefined. Update text to note that
9421 setcontext from a signal handler is possible but not
9425 * stdlib/tst-setcontext.c: Include signal.h.
9426 (main): Check that the signal stack before and
9427 after swapcontext is the same.
9429 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9430 Re-implement to restore registers in user code and avoid
9431 rt_sigreturn system call.
9433 2014-04-17 Wilco <wdijkstr@arm.com>
9435 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9436 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9437 * math/test-fenv.c: Skip exception trap tests on targets which only
9438 support non-stop mode.
9440 2014-04-17 Ian Bolton <ian.bolton@arm.com>
9441 Wilco Dijkstra <wilco.dijkstra@arm.com>
9443 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9444 (libc_feholdsetround_aarch64_ctx)
9445 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9446 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9447 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9448 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9449 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9450 (libc_feresetround_noexl_ctx): Define.
9452 2014-04-16 Richard Henderson <rth@redhat.com>
9454 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9456 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9459 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9460 const from the non-libc, non-ldso copy.
9462 * sysdeps/alpha/libm-test-ulps: Regenerate.
9464 2014-04-16 Ian Bolton <ian.bolton@arm.com>
9465 Wilco Dijkstra <wilco.dijkstra@arm.com>
9467 * sysdeps/aarch64/fpu/math_private.h: New file.
9469 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9471 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9473 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9476 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9477 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9479 Intel MPX bound registers before _dl_profile_fixup.
9480 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9481 registers after _dl_profile_fixup. Save and restore bound
9482 registers bnd0/bnd1 when calling _dl_call_pltexit.
9483 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9484 (LR_BND_OFFSET): Likewise.
9485 (LRV_BND0_OFFSET): Likewise.
9486 (LRV_BND1_OFFSET): Likewise.
9488 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9490 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9492 * sysdeps/mach/hurd/i386/tls.h: ... here.
9493 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9494 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9497 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9499 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9501 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9503 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9505 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9508 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9509 * sysdeps/s390/configure: Regenerate.
9512 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9513 Set round-to-nearest internally to reduce error accumulation.
9515 2014-04-16 Alan Modra <amodra@gmail.com>
9519 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9520 * math/libm-test.inc (frexp_test_data): Add tests.
9521 * NEWS: Update fixed bug list.
9523 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9525 * benchtests/Makefile: Depend on libraries in build directory.
9526 (bench-math): Separate out math tests.
9527 (bench-pthread): Separate out pthread tests.
9528 (bench): Include math and pthread tests.
9530 2014-04-14 Carlos O'Donell <carlos@redhat.com>
9533 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9534 _dl_debug_initialize.
9536 * configure.ac: Remove SELinux header check.
9537 * configure: Regenerate.
9538 * nscd/selinux.c (perms): Array of const char* to permission names.
9539 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9540 default policy. Call string_to_security_class and string_to_av_perm to
9541 translate strings. Enforce default policy and call avs_has_perm with
9542 results of translated strings.
9544 2014-04-13 David S. Miller <davem@davemloft.net>
9546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9548 2014-04-12 Allan McRae <allan@archlinux.org>
9551 * manual/string.texi (Collation Functions): Fix qsort argument
9553 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9555 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9557 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9558 Make the test a no-op if there are no exceptions defined.
9560 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9562 * elf/Makefile (tests): make tst-dlopen-aout conditional on
9563 enable-hardcoded-path-in-tests
9565 2014-04-11 Will Newton <will.newton@linaro.org>
9567 * benchtests/Makefile (extra-objs): Add json-lib.o.
9568 (bench-func): Tidy up JSON output.
9569 * benchtests/bench-skeleton.c: Include json-lib.h.
9570 (main): Use JSON library functions to do output of
9572 * benchtests/bench-timing-type.c (main): Output the
9573 timing type simply, leaving formatting to the user.
9574 * benchtests/json-lib.c: New file.
9575 * benchtests/json-lib.h: Likewise.
9577 2014-04-11 Torvald Riegel <triegel@redhat.com>
9580 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9581 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9582 memory barriers. Add comments.
9583 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9584 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9585 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9586 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9587 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9588 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9590 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9592 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9593 * sysdeps/s390/s390-64/configure.ac: ... this ...
9594 * sysdeps/s390/configure.ac: ... to here.
9595 * sysdeps/s390/s390-32/configure: Delete file.
9596 * sysdeps/s390/s390-64/configure: Delete file.
9597 * sysdeps/s390/configure: Regenerate.
9599 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9601 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9603 2014-04-11 Will Newton <will.newton@linaro.org>
9605 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9606 to zero if it is not defined elsewhere. (mtrim): Test
9607 the value of MALLOC_DEBUG with #if rather than #ifdef.
9609 2014-04-10 Torvald Riegel <triegel@redhat.com>
9611 * benchtests/pthread_once-inputs: New file.
9612 * benchtests/pthread_once-source.c: New file.
9613 * benchtests/README: Update documentation.
9615 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9616 H.J. Lu <hongjiu.lu@intel.com>
9619 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9620 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9621 * sysdeps/x86_64/configure: Regenerated.
9622 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9624 (REGISTER_SAVE_RAX): Likewise.
9625 (REGISTER_SAVE_RCX): Likewise.
9626 (REGISTER_SAVE_RDX): Likewise.
9627 (REGISTER_SAVE_RSI): Likewise.
9628 (REGISTER_SAVE_RDI): Likewise.
9629 (REGISTER_SAVE_R8): Likewise.
9630 (REGISTER_SAVE_R9): Likewise.
9631 (REGISTER_SAVE_BND0): Likewise.
9632 (REGISTER_SAVE_BND1): Likewise.
9633 (REGISTER_SAVE_BND2): Likewise.
9634 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9635 bound registers when calling _dl_fixup.
9637 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9639 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9640 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9642 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9643 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9644 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9645 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9646 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9647 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9648 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9650 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9653 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9654 pathconf(_PC_NAME_MAX).
9656 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9658 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9660 (__PTHREAD_SPINS): Move definition to ...
9661 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9662 (__PTHREAD_SPINS): ... here.
9663 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9664 (__PTHREAD_SPIN): Likewise.
9665 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9666 (__PTHREAD_SPIN): Likewise.
9667 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9668 (__PTHREAD_SPIN): Likewise.
9669 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9670 (__PTHREAD_SPIN): Likewise.
9671 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9672 (__PTHREAD_SPIN): Likewise.
9673 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9674 (__PTHREAD_SPIN): Likewise.
9675 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9676 (__PTHREAD_SPIN): Likewise.
9677 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9678 (__PTHREAD_SPIN): Likewise.
9679 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9680 (__PTHREAD_SPIN): Likewise.
9681 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9682 (__PTHREAD_SPIN): Likewise.
9683 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9684 (__PTHREAD_SPIN): Likewise.
9685 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9686 (__PTHREAD_SPIN): Likewise.
9688 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9689 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9690 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9691 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9693 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9694 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9695 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9696 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9698 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9699 strlen symbol for non multi-arch builds.
9700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9701 missing hidden_def and weak_alias.
9703 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9705 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9707 2014-04-07 Will Newton <will.newton@linaro.org>
9709 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9710 and contents. [!_LIBC] Remove #ifndef and contents.
9711 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9712 * string/memccpy.c (__memccpy): Use ANSI prototype.
9713 * string/memfrob.c (memfrob): Likewise.
9714 * string/strcoll.c (STRCOLL): Likewise.
9715 * string/strlen.c (strlen): Likewise.
9716 * string/strtok.c (STRTOK): Likewise.
9717 * string/strcat.c: Remove unused #include of memcopy.h.
9718 (strcat): Use ANSI prototype.
9719 * string/strchr.c: Remove unused #include of memcopy.h.
9720 (strchr): Use ANSI prototype.
9721 * string/strcmp.c: Remove unused #include of memcopy.h.
9722 (strcmp): Use ANSI prototype.
9723 * string/strcpy.c: Remove unused #include of memcopy.h.
9724 (strcpy): Use ANSI prototype.
9726 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9728 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9729 * config.make.in (config-extra-cppflags): Set it from
9730 libc_extra_cppflags.
9731 * configure.ac (libc_extra_cflags): Make it accumulate over
9732 configure fragments.
9733 (libc_extra_cppflags): New flag.
9734 * configure. Regenerate.
9735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9736 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9737 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9741 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9742 result for FE_DOWNWARD rounding mode.
9743 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9747 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9749 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9750 in function argument name.
9752 2014-04-03 David Svoboda <svoboda@cert.org>
9755 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9758 2014-04-03 Roland McGrath <roland@hack.frob.com>
9760 * elf/dl-unmap-segments.h: New file.
9761 * sysdeps/generic/ldsodefs.h
9762 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9763 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9764 * elf/dl-fptr.c: Likewise.
9765 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9766 * sysdeps/aarch64/tlsdesc.c: Likewise.
9767 * sysdeps/arm/tlsdesc.c: Likewise.
9768 * sysdeps/i386/tlsdesc.c: Likewise.
9769 * sysdeps/tile/dl-runtime.c: Likewise.
9770 * sysdeps/x86_64/tlsdesc.c: Likewise.
9771 * elf/dl-load.h: New file.
9772 * elf/dl-load.c: Include it.
9773 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9774 Macros moved to dl-load.h.
9775 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9776 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9777 Use _dl_unmap_segments in place of __munmap.
9778 Break out segment-mapping loop into ...
9779 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9781 2014-04-03 Will Newton <will.newton@linaro.org>
9783 * elf/dl-lookup.c (do_lookup_x): Remove comment
9784 referring to nested function and move variable
9785 declarations down to before first use.
9787 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9791 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9793 * math/s_catanf.c (__catanf): Likewise.
9794 * math/s_catanh.c (__catanh): Likewise.
9795 * math/s_catanhf.c (__catanhf): Likewise.
9796 * math/s_catanhl.c (__catanhl): Likewise.
9797 * math/s_catanl.c (__catanl): Likewise.
9798 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9799 by positive zero when computing -Inf result.
9800 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9801 (catanh_test): Likewise.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9806 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9807 instead of using underflowing value in computing result.
9808 * math/s_clog10.c (__clog10): Likewise.
9809 * math/s_clog10f.c (__clog10f): Likewise.
9810 * math/s_clog10l.c (__clog10l): Likewise.
9811 * math/s_clogf.c (__clogf): Likewise.
9812 * math/s_clogl.c (__clogl): Likewise.
9813 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9814 (clog10_test): Likewise.
9815 * sysdeps/i386/fpu/libm-test-ulps: Update.
9816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9818 2014-04-02 Alan Modra <amodra@gmail.com>
9821 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9822 output when value is near a power of two. Use int64_t for lx and
9823 remove casts. Use decimal rather than hex exponent constants.
9824 Don't use long double multiplication when double will suffice.
9825 * math/libm-test.inc (nextafter_test_data): Add tests.
9826 * NEWS: Add 16739 and 16786 to bug list.
9828 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9830 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9832 2014-04-01 Will Newton <will.newton@linaro.org>
9834 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9835 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9837 2014-04-01 Florian Weimer <fweimer@redhat.com>
9840 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9841 * nptl/tst-setuid2.c: New file.
9842 * nptl/Makefile (xtests): Add tst-setuid2.
9844 2014-04-01 Alan Modra <amodra@gmail.com>
9847 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9849 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9853 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9854 set errno as appropriate.
9855 * math/w_scalbf.c (__scalbf): Likewise.
9856 * math/w_scalbl.c (__scalbl): Likewise.
9857 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9858 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9859 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9863 * math/w_atan2.c: Include <errno.h>.
9864 (__atan2): Set errno for result underflowing to zero.
9865 * math/w_atan2f.c: Include <errno.h>.
9866 (__atan2f): Set errno for result underflowing to zero.
9867 * math/w_atan2l.c: Include <errno.h>.
9868 (__atan2l): Set errno for result underflowing to zero.
9869 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9871 * math/auto-libm-test-out: Regenerated.
9873 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9875 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9876 Encode instruction correctly in little endian.
9877 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9879 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9881 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9883 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9886 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9889 * sysdeps/unix/sysv/linux/kernel-features.h
9890 [__sparc__ && !__arch64__ && !__sparc_v9__]
9891 (__ASSUME_SET_ROBUST_LIST): Do not define.
9892 [__sparc__ && !__arch64__ && !__sparc_v9__]
9893 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9894 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9896 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9897 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9898 (__ASSUME_REQUEUE_PI): Likewise.
9899 (__ASSUME_SET_ROBUST_LIST): Likewise.
9900 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9901 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9903 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9904 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9906 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9908 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9910 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9911 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9913 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9914 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9918 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9919 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9920 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9922 2014-03-31 Will Newton <will.newton@linaro.org>
9924 * benchtests/Makefile (bench): Add ffs and ffsll to list
9926 * benchtests/ffs-inputs: New file.
9927 * benchtests/ffsll-inputs: Likewise.
9929 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9932 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9933 too large before casting to int.
9934 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9935 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9936 * math/libm-test.inc (scalb_test_data): Add more tests.
9938 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9940 * benchtests/Makefile (DETAILED_OPT): New make option.
9941 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9943 * benchtests/bench-skeleton.c: Include stdbool.h.
9944 (main): Store and print timings per input.
9945 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9946 member to each argument value.
9947 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9948 (_print_arg_data): Initialize per-input timing to 0.
9950 * benchtests/Makefile (timing-type): New binary.
9951 (bench-clean): Also remove bench-timing-type.
9952 (bench): New target for timing-type.
9953 (bench-func): Print output in JSON format.
9954 * benchtests/bench-skeleton.c (main): Print output in JSON
9956 * benchtests/bench-timing-type.c: New file.
9957 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9958 (TIMING_PRINT_STATS): Remove.
9959 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9962 * benchtests/bench-modf.c: Remove.
9963 * benchtests/modf-inputs: New inputs file.
9965 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9968 * math/s_clog10.c (M_PI_LOG10E): New macro.
9969 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9970 imaginary parts are 0.
9971 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9972 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9973 imaginary parts are 0.
9974 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9975 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9976 imaginary parts are 0.
9977 * math/libm-test.inc (clog10_test_data): Update expected results
9978 for when real and imaginary parts are 0.
9980 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9982 * elf/dl-load.c: Finish conversion of __builtin_expect into
9985 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9989 1+x for argument with exponent below -67.
9990 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9992 * math/auto-libm-test-in: Add more tests of exp.
9993 * math/auto-libm-test-out: Regenerated.
9995 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9998 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9999 (nscd_getnetgrent): Use it.
10002 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10005 2014-03-27 Andi Kleen <ak@linux.intel.com>
10007 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10008 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10009 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10010 (lll_robust_unlock): Remove out of line section. Use cfi
10012 (LLL_STUB_UNWIND_INFO*): Remove.
10013 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10014 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10015 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10016 (lll_robust_unlock): Remove out of line section. Use cfi
10018 (LLL_STUB_UNWIND_INFO*): Remove.
10020 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10023 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10026 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10028 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10030 2014-03-26 Joseph Myers <joseph@codesourcery.com>
10033 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10035 * math/test-fenv-preserve.c: New file.
10036 * math/Makefile (tests): Add test-fenv-preserve.
10038 2014-03-26 Will Newton <will.newton@linaro.org>
10040 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10042 2014-03-25 Roland McGrath <roland@hack.frob.com>
10044 * scripts/versionlist.awk: Partition the version sets and emit all
10045 GLIBC_* (sorted) before all others (sorted).
10047 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10049 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10050 GLIBC_2.2.5 version.
10052 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10054 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10057 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10062 2014-03-25 Andreas Schwab <schwab@suse.de>
10064 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10065 label to be used after in6ailist is initialized.
10067 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10069 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10070 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10072 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10076 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10078 (fp_formats): Update initializers.
10079 (init_fp_formats): Initialize new field.
10080 (output_for_one_input_case): Allow underflow for results up to
10082 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10083 * math/auto-libm-test-in: Don't mark some underflows from asin and
10085 * math/auto-libm-test-out: Regenerated.
10086 * sysdeps/i386/fpu/libm-test-ulps: Update.
10087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10089 2014-03-25 Andreas Schwab <schwab@suse.de>
10091 * libio/Makefile (tst-ftell-partial-wide-ENV)
10092 (tst-ftell-active-handler-ENV): Define.
10094 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10096 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10098 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10100 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10102 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10104 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10105 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10106 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10108 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10111 * elf/dl-load.c (open_verify): Add mode parameter.
10112 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10113 (open_path): Change from boolean 'secure' to complete flag 'mode'
10114 (_dl_map_object): Adjust.
10115 * elf/Makefile (tests): Add tst-dlopen-aout.
10116 * elf/tst-dlopen-aout.c: New test.
10118 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10121 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10122 (struct stat): Rename member pad0 to __glibc_reserved0.
10125 * sysdeps/s390/s390-32/bits/wordsize.h
10126 (__WORDSIZE32_SIZE_ULONG): New define.
10127 * sysdeps/s390/s390-64/bits/wordsize.h
10128 (__WORDSIZE32_SIZE_ULONG): Likewise.
10129 * sysdeps/generic/stdint.h (SIZE_MAX):
10130 Define as UL if __WORDSIZE32_SIZE_ULONG.
10133 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10134 (__glibc_reserved0): New variable.
10135 (sa_flags): Change type to int.
10137 * posix/Makefile (before-compile): Use += before-compile instead
10140 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10141 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10143 2014-03-20 Andreas Schwab <schwab@suse.de>
10146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10147 non-matching result from nscd.
10149 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10151 * scripts/bench.py: Moved to ...
10152 * benchtests/scripts/bench.py: ... here.
10153 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10155 2014-03-24 Andreas Schwab <schwab@suse.de>
10158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10159 alloca_account and account alloca use for struct in6ailist.
10161 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10164 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10165 rounding mode to recompute results that overflow to infinity or
10167 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10169 * math/auto-libm-test-out: Regenerated.
10170 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10171 (ccosh_test): Likewise.
10172 (csin_test_data): Use plus_oflow.
10173 (csin_test): Use ALL_RM_TEST.
10174 (csinh_test_data): Use plus_oflow.
10175 (csinh_test): Use ALL_RM_TEST.
10176 * sysdeps/i386/fpu/libm-test-ulps: Update.
10177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10179 2014-03-21 Joseph Myers <joseph@codesourcery.com>
10181 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10182 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10183 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10186 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10187 when x - 1 is zero.
10188 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10189 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10190 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10191 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10193 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10194 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10196 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10197 * sysdeps/i386/fpu/libm-test-ulps: Update.
10198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10200 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10202 * scripts/bench.pl: Remove file.
10203 * scripts/bench.py: New benchmark script.
10204 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10205 * benchtests/README: Mention python dependency.
10206 * scripts/pylintrc: New file.
10207 * scripts/pylint: New file.
10209 * bits/mathdef.h: Use #ifdef instead of #if.
10210 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10211 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10212 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10213 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10214 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10215 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10217 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10218 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10220 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10222 and strpbrk-ppc64 objects.
10223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10224 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10225 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10226 multiarch strpbrk for POWER7.
10227 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10228 multiarch strpbrk for PPC64.
10229 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10231 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10232 strpbrk for POWER7.
10234 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10236 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10237 (atan_test): Likewise.
10238 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10239 (atanh_test): Use ALL_RM_TEST.
10240 (atan2_test_data): Likewise.
10241 (cabs_test): Likewise.
10242 (cacosh_test): Likewise.
10243 (carg_test): Likewise.
10244 (casin_test): Likewise.
10245 (casinh_test): Likewise.
10246 (cbrt_test): Likewise.
10247 (csqrt_test): Likewise.
10248 (erf_test): Likewise.
10249 (erfc_test): Likewise.
10250 (pow10_test): Likewise.
10251 (exp2_test): Likewise.
10252 (hypot_test): Likewise.
10253 (j0_test): Likewise.
10254 (j1_test): Likewise.
10255 (lgamma_test): Likewise.
10256 (gamma_test): Likewise.
10257 (sincos_test): Likewise.
10258 (tanh_test): Likewise.
10259 (y0_test): Likewise.
10260 (y1_test): Likewise.
10261 * sysdeps/i386/fpu/libm-test-ulps: Update.
10262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10264 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10266 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
10268 and strcspn-ppc64 objects.
10269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10270 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10271 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10272 multiarch strcspn for POWER7.
10273 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10274 multiarch strcspn for PPC64.
10275 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10277 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10278 strcspn for POWER7.
10280 2014-03-20 Joseph Myers <joseph@codesourcery.com>
10282 * math/gen-libm-test.pl (generate_testfile): Expect only function
10283 name as argument to AUTO_TESTS_* and pass results for all rounding
10284 modes to parse_args.
10285 (parse_auto_input): Separate inputs of automatic tests from
10286 outputs before storing in %auto_tests.
10287 * math/libm-test.inc (acos_test_data): Update call to
10289 (acos_test): Use ALL_RM_TEST.
10290 (acos_tonearest_test_data): Remove.
10291 (acos_test_tonearest): Likewise.
10292 (acos_towardzero_test_data): Likewise.
10293 (acos_test_towardzero): Likewise.
10294 (acos_downward_test_data): Likewise.
10295 (acos_test_downward): Likewise.
10296 (acos_upward_test_data): Likewise.
10297 (acos_test_upward): Likewise.
10298 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10299 (asin_test_data): Likewise.
10300 (asin_test): Use ALL_RM_TEST.
10301 (asin_tonearest_test_data): Remove.
10302 (asin_test_tonearest): Likewise.
10303 (asin_towardzero_test_data): Likewise.
10304 (asin_test_towardzero): Likewise.
10305 (asin_downward_test_data): Likewise.
10306 (asin_test_downward): Likewise.
10307 (asin_upward_test_data): Likewise.
10308 (asin_test_upward): Likewise.
10309 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10310 (atan_test_data): Likewise.
10311 (atanh_test_data): Likewise.
10312 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10313 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10314 (carg_test_data): Likewise.
10315 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10316 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10317 (ccosh_test_data): Likewise.
10318 (cexp_test_data): Likewise.
10319 (clog_test_data): Likewise.
10320 (clog10_test_data): Likewise.
10321 (cos_test_data): Update call to AUTO_TESTS_f_f.
10322 (cos_test): Use ALL_RM_TEST.
10323 (cos_tonearest_test_data): Remove.
10324 (cos_test_tonearest): Likewise.
10325 (cos_towardzero_test_data): Likewise.
10326 (cos_test_towardzero): Likewise.
10327 (cos_downward_test_data): Likewise.
10328 (cos_test_downward): Likewise.
10329 (cos_upward_test_data): Likewise.
10330 (cos_test_upward): Likewise.
10331 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10332 (cosh_test): Use ALL_RM_TEST.
10333 (cosh_tonearest_test_data): Remove.
10334 (cosh_test_tonearest): Likewise.
10335 (cosh_towardzero_test_data): Likewise.
10336 (cosh_test_towardzero): Likewise.
10337 (cosh_downward_test_data): Likewise.
10338 (cosh_test_downward): Likewise.
10339 (cosh_upward_test_data): Likewise.
10340 (cosh_test_upward): Likewise.
10341 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10342 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10343 (ctan_test_data): Likewise.
10344 (ctan_test): Use ALL_RM_TEST.
10345 (ctan_tonearest_test_data): Remove.
10346 (ctan_test_tonearest): Likewise.
10347 (ctan_towardzero_test_data): Likewise.
10348 (ctan_test_towardzero): Likewise.
10349 (ctan_downward_test_data): Likewise.
10350 (ctan_test_downward): Likewise.
10351 (ctan_upward_test_data): Likewise.
10352 (ctan_test_upward): Likewise.
10353 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10354 (ctanh_test): Use ALL_RM_TEST.
10355 (ctanh_tonearest_test_data): Remove.
10356 (ctanh_test_tonearest): Likewise.
10357 (ctanh_towardzero_test_data): Likewise.
10358 (ctanh_test_towardzero): Likewise.
10359 (ctanh_downward_test_data): Likewise.
10360 (ctanh_test_downward): Likewise.
10361 (ctanh_upward_test_data): Likewise.
10362 (ctanh_test_upward): Likewise.
10363 (erf_test_data): Update call to AUTO_TESTS_f_f.
10364 (erfc_test_data): Likewise.
10365 (exp_test_data): Likewise.
10366 (exp_test): Use ALL_RM_TEST.
10367 (exp_tonearest_test_data): Remove.
10368 (exp_test_tonearest): Likewise.
10369 (exp_towardzero_test_data): Likewise.
10370 (exp_test_towardzero): Likewise.
10371 (exp_downward_test_data): Likewise.
10372 (exp_test_downward): Likewise.
10373 (exp_upward_test_data): Likewise.
10374 (exp_test_upward): Likewise.
10375 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10376 (exp10_test): Use ALL_RM_TEST.
10377 (exp10_tonearest_test_data): Remove.
10378 (exp10_test_tonearest): Likewise.
10379 (exp10_towardzero_test_data): Likewise.
10380 (exp10_test_towardzero): Likewise.
10381 (exp10_downward_test_data): Likewise.
10382 (exp10_test_downward): Likewise.
10383 (exp10_upward_test_data): Likewise.
10384 (exp10_test_upward): Likewise.
10385 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10386 (expm1_test_data): Likewise.
10387 (expm1_test): Use ALL_RM_TEST.
10388 (expm1_tonearest_test_data): Remove.
10389 (expm1_test_tonearest): Likewise.
10390 (expm1_towardzero_test_data): Likewise.
10391 (expm1_test_towardzero): Likewise.
10392 (expm1_downward_test_data): Likewise.
10393 (expm1_test_downward): Likewise.
10394 (expm1_upward_test_data): Likewise.
10395 (expm1_test_upward): Likewise.
10396 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10397 (fma_test): Use ALL_RM_TEST.
10398 (fma_towardzero_test_data): Remove.
10399 (fma_test_towardzero): Likewise.
10400 (fma_downward_test_data): Likewise.
10401 (fma_test_downward): Likewise.
10402 (fma_upward_test_data): Likewise.
10403 (fma_test_upward): Likewise.
10404 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10405 (j0_test_data): Update call to AUTO_TESTS_f_f.
10406 (j1_test_data): Likewise.
10407 (jn_test_data): Update call to AUTO_TESTS_if_f.
10408 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10409 (log_test_data): Update call to AUTO_TESTS_f_f.
10410 (log10_test_data): Likewise.
10411 (log1p_test_data): Likewise.
10412 (log2_test_data): Likewise.
10413 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10414 (pow_tonearest_test_data): Likewise.
10415 (sin_test_data): Update call to AUTO_TESTS_f_f.
10416 (sin_test): Use ALL_RM_TEST.
10417 (sin_tonearest_test_data): Remove.
10418 (sin_test_tonearest): Likewise.
10419 (sin_towardzero_test_data): Likewise.
10420 (sin_test_towardzero): Likewise.
10421 (sin_downward_test_data): Likewise.
10422 (sin_test_downward): Likewise.
10423 (sin_upward_test_data): Likewise.
10424 (sin_test_upward): Likewise.
10425 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10426 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10427 (sinh_test): Use ALL_RM_TEST.
10428 (sinh_tonearest_test_data): Remove.
10429 (sinh_test_tonearest): Likewise.
10430 (sinh_towardzero_test_data): Likewise.
10431 (sinh_test_towardzero): Likewise.
10432 (sinh_downward_test_data): Likewise.
10433 (sinh_test_downward): Likewise.
10434 (sinh_upward_test_data): Likewise.
10435 (sinh_test_upward): Likewise.
10436 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10437 (sqrt_test): Use ALL_RM_TEST.
10438 (sqrt_tonearest_test_data): Remove.
10439 (sqrt_test_tonearest): Likewise.
10440 (sqrt_towardzero_test_data): Likewise.
10441 (sqrt_test_towardzero): Likewise.
10442 (sqrt_downward_test_data): Likewise.
10443 (sqrt_test_downward): Likewise.
10444 (sqrt_upward_test_data): Likewise.
10445 (sqrt_test_upward): Likewise.
10446 (tan_test_data): Update call to AUTO_TESTS_f_f.
10447 (tan_test): Use ALL_RM_TEST.
10448 (tan_tonearest_test_data): Remove.
10449 (tan_test_tonearest): Likewise.
10450 (tan_towardzero_test_data): Likewise.
10451 (tan_test_towardzero): Likewise.
10452 (tan_downward_test_data): Likewise.
10453 (tan_test_downward): Likewise.
10454 (tan_upward_test_data): Likewise.
10455 (tan_test_upward): Likewise.
10456 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10457 (tgamma_test_data): Likewise.
10458 (y0_test_data): Likewise.
10459 (y1_test_data): Likewise.
10460 (yn_test_data): Update call to AUTO_TESTS_if_f.
10461 (main): Do not call removed functions.
10463 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10465 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10466 (ldexp_test_data): Remove.
10467 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10469 (scalb_test): Use ALL_RM_TEST.
10471 2014-03-19 Andreas Schwab <schwab@suse.de>
10473 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10475 2014-03-19 Joseph Myers <joseph@codesourcery.com>
10478 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10479 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10480 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10481 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10482 (__ASSUME_PREADV): Undefine.
10483 (__ASSUME_PWRITEV): Likewise.
10485 2014-03-18 Roland McGrath <roland@hack.frob.com>
10487 * bits/mman-linux.h: Add comment about non-Linux use.
10488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10489 bits/mman-linux.h resting place.
10491 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10492 * bits/mman-linux.h: ... here.
10494 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10496 * conform/conformtest.pl: Add standard definition when calling C
10497 preprocessor on data files.
10498 (checknamespace): Remove unused variable.
10500 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10502 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10503 minus_oflow, plus_uflow and minus_uflow in expected results.
10504 * math/libm-test.inc (scalbn_test_data): Add more tests of
10505 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10507 (scalbn_test): Use ALL_RM_TEST.
10508 (scalbln_test_data): Add more tests of negative arguments. Use
10509 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10510 (scalbln_test): Use ALL_RM_TEST.
10512 2014-03-18 Roland McGrath <roland@hack.frob.com>
10514 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10516 2014-03-18 Will Newton <will.newton@linaro.org>
10518 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10519 inaccurate comment.
10521 2014-03-18 Joseph Myers <joseph@codesourcery.com>
10523 * Makerules [!subdir] (check-abi): Exit with error status if a
10526 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10528 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10529 for rint. Include results for all rounding modes.
10530 (nearbyint_test): Use ALL_RM_TEST.
10531 (rint_test_data): Include all tests used for nearbyint.
10533 2014-03-17 Will Newton <will.newton@linaro.org>
10535 * nptl/sysdeps/pthread/pthread.h: Revert previous
10538 * sysdeps/generic/ldsodefs.h: Revert previous
10541 * libio/genops.c: Revert previous change.
10542 * libio/libioP.h: Likewise.
10543 * stdio-common/vfprintf.c: Likewise.
10545 * sysdeps/generic/math_private.h: Revert previous
10548 * sysdeps/generic/math_private.h: Check whether
10549 HAVE_RM_CTX is defined with #ifdef rather
10552 * argp/argp-fmtstream.h: Check whether
10553 __STRICT_ANSI__ is defined with #ifdef rather
10555 * argp/argp.h: Likewise.
10557 * libio/genops.c: Check whether
10558 _IO_JUMPS_OFFSET is defined with #ifdef rather
10560 * libio/libioP.h: Likewise.
10561 * stdio-common/vfprintf.c: Likewise.
10563 * sysdeps/generic/ldsodefs.h: Check whether
10564 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10567 * nptl/sysdeps/pthread/pthread.h: Check
10568 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10571 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10573 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10575 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10579 * libio/fileops.c (_IO_file_open): Seek to end of file but
10580 don't cache the offset.
10581 (get_file_offset): Remove function.
10582 (do_ftell): Use cached offset when available.
10583 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10584 don't cache the offset.
10585 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10587 (do_one_test): Call it.
10588 (do_ftell_test): Fix up expected old offset for a+ mode.
10589 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10592 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10593 up test status with function return status.
10594 (do_write_test): Likewise.
10595 (do_append_test): Likewise.
10597 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10598 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10601 2014-03-17 Joseph Myers <joseph@codesourcery.com>
10603 * math/gen-libm-test.pl (parse_args): Handle results specified for
10604 each rounding mode separately.
10605 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10606 tests and results from lrint_tonearest_test_data,
10607 lrint_towardzero_test_data, lrint_downward_test_data and
10608 lrint_upward_test_data.
10609 (lrint_test): Use ALL_RM_TEST.
10610 (lrint_tonearest_test_data): Remove.
10611 (lrint_test_tonearest): Likewise.
10612 (lrint_towardzero_test_data): Likewise.
10613 (lrint_test_towardzero): Likewise.
10614 (lrint_downward_test_data): Likewise.
10615 (lrint_test_downward): Likewise.
10616 (lrint_upward_test_data): Likewise.
10617 (lrint_test_upward): Likewise.
10618 (llrint_test_data): Merge in per-rounding-mode tests and results
10619 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10620 llrint_downward_test_data and llrint_upward_test_data.
10621 (llrint_test): Use ALL_RM_TEST.
10622 (llrint_tonearest_test_data): Remove.
10623 (llrint_test_tonearest): Likewise.
10624 (llrint_towardzero_test_data): Likewise.
10625 (llrint_test_towardzero): Likewise.
10626 (llrint_downward_test_data): Likewise.
10627 (llrint_test_downward): Likewise.
10628 (llrint_upward_test_data): Likewise.
10629 (llrint_test_upward): Likewise.
10630 (rint_test_data): Merge in per-rounding-mode tests and results
10631 from rint_tonearest_test_data, rint_towardzero_test_data,
10632 rint_downward_test_data and rint_upward_test_data. Add
10633 per-rounding-mode results for tests not in those arrays.
10634 (rint_test): Use ALL_RM_TEST.
10635 (rint_tonearest_test_data): Remove.
10636 (rint_test_tonearest): Likewise.
10637 (rint_towardzero_test_data): Likewise.
10638 (rint_test_towardzero): Likewise.
10639 (rint_downward_test_data): Likewise.
10640 (rint_test_downward): Likewise.
10641 (rint_upward_test_data): Likewise.
10642 (rint_test_upward): Likewise.
10643 (main): Don't call removed functions.
10645 2014-03-14 Roland McGrath <roland@hack.frob.com>
10647 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10648 "Compiled on ..." crapola. It is anti-useful.
10650 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10652 * scripts/evaluate-test.sh: Handle fourth argument to determine
10653 whether test run should stop on failure.
10654 * Makeconfig (stop-on-test-failure): New variable.
10655 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10656 $(stop-on-test-failure).
10657 * Makefile (tests): Give a summary of results from testing and
10658 exit with failure status if they include an ERROR or FAIL.
10659 (xtests): Likewise.
10660 * manual/install.texi (Configuring and compiling): Mention
10661 stop-on-test-failure=y.
10662 * INSTALL: Regenerated.
10664 2014-03-14 Roland McGrath <roland@hack.frob.com>
10666 * scripts/versionlist.awk: New file.
10667 * Makerules [$(build-shared) = yes]
10668 (postclean-generated): Add Versions.def, not Versions.def.v and
10670 ($(common-objpfx)Versions.def.v.i): Target removed.
10671 ($(common-objpfx)Versions.def): New target.
10672 ($(common-objpfx)Versions.all): Depend on that rather that
10673 $(common-objpfx)Versions.def.v.
10674 * Versions.def: File removed.
10676 * Makeconfig (+gccwarn): Add -Wundef.
10677 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10678 a dl-sysdep.h breaking its contract.
10679 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10680 * include/stackinfo.h: New file.
10681 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10682 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10683 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10684 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10685 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10686 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10687 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10688 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10689 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10690 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10691 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10692 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10693 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10694 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10695 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10697 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10700 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10702 * math/libm-test.inc (round_test_data): Add more tests.
10705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10707 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10710 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10712 * math/libm-test.inc (ceil_test_data): Add more tests.
10714 * math/libm-test.inc (trunc_test_data): Add more tests related to
10717 2014-03-14 Roland McGrath <roland@hack.frob.com>
10719 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10720 with #if rather than #ifdef.
10721 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10723 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10725 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10726 first. Disable AVX-512 GCC support if assembler doesn't support
10728 * sysdeps/x86_64/configure: Regenerated.
10730 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10732 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10733 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10734 (__old_pthread_attr_setstack): Likewise.
10735 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10736 [!_STACK_GROWS_DOWN]: Likewise.
10738 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10740 * config.make.in (have-bash2): Delete.
10741 * configure.ac (libc_cv_have_bash2): Delete.
10742 * configure: Regenerate.
10743 * elf/Makefile (common-ldd-rewrite): Rename to ...
10744 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10745 (sh-ldd-rewrite): Delete.
10746 (bash-ldd-rewrite): Delete.
10747 (have-bash2): Delete checks.
10748 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10751 * config.make.in (have-ksh): Delete.
10753 * configure.ac (libc_cv_have_ksh): Delete.
10754 * configure: Regenerate.
10756 * elf/Makefile: Delete $(have-ksh) check.
10757 ($(objpfx)sotruss): Change KSH to BASH.
10758 * elf/sotruss.ksh: Rename to ...
10759 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10760 function style to match POSIX. Drop ksh vim mode setting.
10762 * manual/time.texi (Specifying the Time Zone with TZ): Change
10763 Tuesday to Thursday.
10765 * debug/tst-longjmp_chk2.c: Update header comment.
10766 (stackoverflow_handler): Add comment. Call assert on pass value.
10768 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10771 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10772 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10773 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10774 (La_x86_64_vector): Add zmm.
10775 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10776 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10777 ($(objpfx)tst-audit10): New target.
10778 ($(objpfx)tst-audit10.out): Likewise.
10779 (tst-audit10-ENV): New.
10780 (AVX512-CFLAGS): Likewise.
10781 (CFLAGS-tst-audit10.c): Likewise.
10782 (CFLAGS-tst-auditmod10a.c): Likewise.
10783 (CFLAGS-tst-auditmod10b.c): Likewise.
10784 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10785 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10786 * sysdeps/x86_64/configure: Regenerated.
10787 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10788 AVX-512 zmm register support.
10789 (_dl_x86_64_save_sse): Likewise.
10790 (_dl_x86_64_restore_sse): Likewise.
10791 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10792 size vector registers.
10793 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10794 (ZMM_SIZE): Likewise.
10795 * sysdeps/x86_64/tst-audit10.c: New file.
10796 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10797 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10799 2014-03-13 Roland McGrath <roland@hack.frob.com>
10801 * configure.ac (HAVE_EHDR_START): New check.
10802 * configure: Regenerated.
10803 * config.h.in (HAVE_EHDR_START): New #undef.
10804 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10805 assuming the lowest-addressed segment maps the start of the file.
10807 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10809 * INSTALL: Regenerated.
10811 2014-03-13 Will Newton <will.newton@linaro.org>
10813 * manual/setjmp.texi (System V contexts): Improve
10814 clarity and grammar of documentation.
10816 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10819 * elf/Makefile (tests): Add tst-pie2.
10820 (tests-pie): Add tst-pie2.
10821 * elf/tst-pie2.c: New file.
10822 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10824 * elf/rtld.c (map_doit): Load executable as lt_executable.
10825 (dl_main): Likewise.
10827 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10830 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10831 (__ASSUME_PSELECT): Undefine.
10833 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10836 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10837 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10839 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10840 selector for static builds.
10842 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10845 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10848 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10850 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10851 IFUNC selector for static builds.
10853 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10855 * sysdeps/mips/math_private.h [__mips_hard_float]
10856 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10857 libc_feresetround_mips_ctx.
10858 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10859 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10860 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10863 * math/s_nextafter.c (__nextafter): Do not return value from
10864 overflowing computation.
10865 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10866 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10869 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10871 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10872 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10874 2014-03-11 Roland McGrath <roland@hack.frob.com>
10876 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10877 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10878 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10879 the new mov targetting sp.
10881 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10884 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10885 Define it for static builds as well.
10886 (NO_BZERO_IMPL): Likewise.
10888 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10890 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10891 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10892 multiarch strspn for PPC64.
10893 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10894 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10896 (__libc_ifunc_impl_list): Likewise.
10897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10898 multiarch optimizations
10899 * string/strspn.c (strspn): Using macro to redefine symbol name.
10901 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10902 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10904 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10905 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10906 multiarch strncat for PPC64.
10907 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10908 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10910 (__libc_ifunc_impl_list): Likewise.
10911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10912 multiarch optimizations
10914 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10917 * nscd/nscd.service: Make service type forking.
10919 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10921 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10922 sign in non default rounding modes.
10923 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10925 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10927 * math/libm-test.inc (ALL_RM_TEST): New macro.
10928 (ceil_test): Use ALL_RM_TEST.
10929 (cimag_test): Likewise.
10930 (conj_test): Likewise.
10931 (copysign_test): Likewise.
10932 (cproj_test): Likewise.
10933 (creal_test): Likewise.
10934 (fabs_test): Likewise.
10935 (floor_test): Likewise.
10936 (fmax_test): Likewise.
10937 (fmin_test): Likewise.
10938 (fmod_test): Likewise.
10939 (fpclassify_test): Likewise.
10940 (frexp_test): Likewise.
10941 (ilogb_test): Likewise.
10942 (isfinite_test): Likewise.
10943 (finite_test): Likewise.
10944 (isgreater_test): Likewise.
10945 (isgreaterequal_test): Likewise.
10946 (isinf_test): Likewise.
10947 (isless_test): Likewise.
10948 (islessequal_test): Likewise.
10949 (islessgreater_test): Likewise.
10950 (isnan_test): Likewise.
10951 (isnormal_test): Likewise.
10952 (issignaling_test): Likewise.
10953 (isunordered_test): Likewise.
10954 (logb_test): Likewise.
10955 (logb_downward_test_data): Remove.
10956 (logb_test_downward): Likewise.
10957 (lround_test): Use ALL_RM_TEST.
10958 (llround_test): Likewise.
10959 (modf_test): Likewise.
10960 (nexttoward_test): Likewise.
10961 (remainder_test): Likewise.
10962 (drem_test): Likewise.
10963 (remainder_tonearest_test_data): Likewise.
10964 (remainder_test_tonearest): Likewise.
10965 (drem_test_tonearest): Likewise.
10966 (remainder_towardzero_test_data): Likewise.
10967 (remainder_test_towardzero): Likewise.
10968 (drem_test_towardzero): Likewise.
10969 (remainder_downward_test_data): Likewise.
10970 (remainder_test_downward): Likewise.
10971 (drem_test_downward): Likewise.
10972 (remainder_upward_test_data): Likewise.
10973 (remainder_test_upward): Likewise.
10974 (drem_test_upward): Likewise.
10975 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10976 (round_test): Use ALL_RM_TEST.
10977 (signbit_test): Likewise.
10978 (trunc_test): Likewise.
10979 (significand_test): Likewise.
10980 (main): Don't call removed functions.
10982 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10985 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10986 || __USE_XOPEN2K8].
10987 (ILL_ILLOPN): Likewise.
10988 (ILL_ILLADR): Likewise.
10989 (ILL_ILLTRP): Likewise.
10990 (ILL_PRVOPC): Likewise.
10991 (ILL_PRVREG): Likewise.
10992 (ILL_COPROC): Likewise.
10993 (ILL_BADSTK): Likewise.
10994 (FPE_INTDIV): Likewise.
10995 (FPE_INTOVF): Likewise.
10996 (FPE_FLTDIV): Likewise.
10997 (FPE_FLTOVF): Likewise.
10998 (FPE_FLTUND): Likewise.
10999 (FPE_FLTRES): Likewise.
11000 (FPE_FLTINV): Likewise.
11001 (FPE_FLTSUB): Likewise.
11002 (SEGV_MAPERR): Likewise.
11003 (SEGV_ACCERR): Likewise.
11004 (BUS_ADRALN): Likewise.
11005 (BUS_ADRERR): Likewise.
11006 (BUS_OBJERR): Likewise.
11007 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11008 (TRAP_TRACE): Likewise.
11009 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11011 (CLD_KILLED): Likewise.
11012 (CLD_DUMPED): Likewise.
11013 (CLD_TRAPPED): Likewise.
11014 (CLD_STOPPED): Likewise.
11015 (CLD_CONTINUED): Likewise.
11016 (POLL_IN): Likewise.
11017 (POLL_OUT): Likewise.
11018 (POLL_MSG): Likewise.
11019 (POLL_ERR): Likewise.
11020 (POLL_PRI): Likewise.
11021 (POLL_HUP): Likewise.
11022 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
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 (BUS_MCEERR_AR): Likewise.
11045 (BUS_MCEERR_AO): Likewise.
11046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11047 (TRAP_TRACE): Likewise.
11048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11050 (CLD_KILLED): Likewise.
11051 (CLD_DUMPED): Likewise.
11052 (CLD_TRAPPED): Likewise.
11053 (CLD_STOPPED): Likewise.
11054 (CLD_CONTINUED): Likewise.
11055 (POLL_IN): Likewise.
11056 (POLL_OUT): Likewise.
11057 (POLL_MSG): Likewise.
11058 (POLL_ERR): Likewise.
11059 (POLL_PRI): Likewise.
11060 (POLL_HUP): Likewise.
11061 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11062 (ILL_ILLOPN): Likewise.
11063 (ILL_ILLADR): Likewise.
11064 (ILL_ILLTRP): Likewise.
11065 (ILL_PRVOPC): Likewise.
11066 (ILL_PRVREG): Likewise.
11067 (ILL_COPROC): Likewise.
11068 (ILL_BADSTK): Likewise.
11069 (FPE_INTDIV): Likewise.
11070 (FPE_INTOVF): Likewise.
11071 (FPE_FLTDIV): Likewise.
11072 (FPE_FLTOVF): Likewise.
11073 (FPE_FLTUND): Likewise.
11074 (FPE_FLTRES): Likewise.
11075 (FPE_FLTINV): Likewise.
11076 (FPE_FLTSUB): Likewise.
11077 (SEGV_MAPERR): Likewise.
11078 (SEGV_ACCERR): Likewise.
11079 (BUS_ADRALN): Likewise.
11080 (BUS_ADRERR): Likewise.
11081 (BUS_OBJERR): Likewise.
11082 (BUS_MCEERR_AR): Likewise.
11083 (BUS_MCEERR_AO): Likewise.
11084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11085 (TRAP_TRACE): Likewise.
11086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11088 (CLD_KILLED): Likewise.
11089 (CLD_DUMPED): Likewise.
11090 (CLD_TRAPPED): Likewise.
11091 (CLD_STOPPED): Likewise.
11092 (CLD_CONTINUED): Likewise.
11093 (POLL_IN): Likewise.
11094 (POLL_OUT): Likewise.
11095 (POLL_MSG): Likewise.
11096 (POLL_ERR): Likewise.
11097 (POLL_PRI): Likewise.
11098 (POLL_HUP): Likewise.
11099 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11101 (ILL_ILLOPN): Likewise.
11102 (ILL_ILLADR): Likewise.
11103 (ILL_ILLTRP): Likewise.
11104 (ILL_PRVOPC): Likewise.
11105 (ILL_PRVREG): Likewise.
11106 (ILL_COPROC): Likewise.
11107 (ILL_BADSTK): Likewise.
11108 (ILL_BADIADDR): Likewise.
11109 (ILL_BREAK): Likewise.
11110 (FPE_INTDIV): Likewise.
11111 (FPE_INTOVF): Likewise.
11112 (FPE_FLTDIV): Likewise.
11113 (FPE_FLTOVF): Likewise.
11114 (FPE_FLTUND): Likewise.
11115 (FPE_FLTRES): Likewise.
11116 (FPE_FLTINV): Likewise.
11117 (FPE_FLTSUB): Likewise.
11118 (FPE_DECOVF): Likewise.
11119 (FPE_DECDIV): Likewise.
11120 (FPE_DECERR): Likewise.
11121 (FPE_INVASC): Likewise.
11122 (FPE_INVDEC): Likewise.
11123 (SEGV_MAPERR): Likewise.
11124 (SEGV_ACCERR): Likewise.
11125 (SEGV_PSTKOVF): Likewise.
11126 (BUS_ADRALN): Likewise.
11127 (BUS_ADRERR): Likewise.
11128 (BUS_OBJERR): Likewise.
11129 (BUS_MCEERR_AR): Likewise.
11130 (BUS_MCEERR_AO): Likewise.
11131 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11132 (TRAP_TRACE): Likewise.
11133 (TRAP_BRANCH): Likewise.
11134 (TRAP_HWBKPT): Likewise.
11135 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11137 (CLD_KILLED): Likewise.
11138 (CLD_DUMPED): Likewise.
11139 (CLD_TRAPPED): Likewise.
11140 (CLD_STOPPED): Likewise.
11141 (CLD_CONTINUED): Likewise.
11142 (POLL_IN): Likewise.
11143 (POLL_OUT): Likewise.
11144 (POLL_MSG): Likewise.
11145 (POLL_ERR): Likewise.
11146 (POLL_PRI): Likewise.
11147 (POLL_HUP): Likewise.
11148 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11149 (ILL_ILLOPN): Likewise.
11150 (ILL_ILLADR): Likewise.
11151 (ILL_ILLTRP): Likewise.
11152 (ILL_PRVOPC): Likewise.
11153 (ILL_PRVREG): Likewise.
11154 (ILL_COPROC): Likewise.
11155 (ILL_BADSTK): Likewise.
11156 (FPE_INTDIV): Likewise.
11157 (FPE_INTOVF): Likewise.
11158 (FPE_FLTDIV): Likewise.
11159 (FPE_FLTOVF): Likewise.
11160 (FPE_FLTUND): Likewise.
11161 (FPE_FLTRES): Likewise.
11162 (FPE_FLTINV): Likewise.
11163 (FPE_FLTSUB): Likewise.
11164 (SEGV_MAPERR): Likewise.
11165 (SEGV_ACCERR): Likewise.
11166 (BUS_ADRALN): Likewise.
11167 (BUS_ADRERR): Likewise.
11168 (BUS_OBJERR): Likewise.
11169 (BUS_MCEERR_AR): Likewise.
11170 (BUS_MCEERR_AO): Likewise.
11171 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11172 (TRAP_TRACE): Likewise.
11173 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11175 (CLD_KILLED): Likewise.
11176 (CLD_DUMPED): Likewise.
11177 (CLD_TRAPPED): Likewise.
11178 (CLD_STOPPED): Likewise.
11179 (CLD_CONTINUED): Likewise.
11180 (POLL_IN): Likewise.
11181 (POLL_OUT): Likewise.
11182 (POLL_MSG): Likewise.
11183 (POLL_ERR): Likewise.
11184 (POLL_PRI): Likewise.
11185 (POLL_HUP): Likewise.
11186 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11187 (ILL_ILLOPN): Likewise.
11188 (ILL_ILLADR): Likewise.
11189 (ILL_ILLTRP): Likewise.
11190 (ILL_PRVOPC): Likewise.
11191 (ILL_PRVREG): Likewise.
11192 (ILL_COPROC): Likewise.
11193 (ILL_BADSTK): Likewise.
11194 (FPE_INTDIV): Likewise.
11195 (FPE_INTOVF): Likewise.
11196 (FPE_FLTDIV): Likewise.
11197 (FPE_FLTOVF): Likewise.
11198 (FPE_FLTUND): Likewise.
11199 (FPE_FLTRES): Likewise.
11200 (FPE_FLTINV): Likewise.
11201 (FPE_FLTSUB): Likewise.
11202 (SEGV_MAPERR): Likewise.
11203 (SEGV_ACCERR): Likewise.
11204 (BUS_ADRALN): Likewise.
11205 (BUS_ADRERR): Likewise.
11206 (BUS_OBJERR): Likewise.
11207 (BUS_MCEERR_AR): Likewise.
11208 (BUS_MCEERR_AO): Likewise.
11209 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11210 (TRAP_TRACE): Likewise.
11211 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11213 (CLD_KILLED): Likewise.
11214 (CLD_DUMPED): Likewise.
11215 (CLD_TRAPPED): Likewise.
11216 (CLD_STOPPED): Likewise.
11217 (CLD_CONTINUED): Likewise.
11218 (POLL_IN): Likewise.
11219 (POLL_OUT): Likewise.
11220 (POLL_MSG): Likewise.
11221 (POLL_ERR): Likewise.
11222 (POLL_PRI): Likewise.
11223 (POLL_HUP): Likewise.
11224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11225 (ILL_ILLOPN): Likewise.
11226 (ILL_ILLADR): Likewise.
11227 (ILL_ILLTRP): Likewise.
11228 (ILL_PRVOPC): Likewise.
11229 (ILL_PRVREG): Likewise.
11230 (ILL_COPROC): Likewise.
11231 (ILL_BADSTK): Likewise.
11232 (FPE_INTDIV): Likewise.
11233 (FPE_INTOVF): Likewise.
11234 (FPE_FLTDIV): Likewise.
11235 (FPE_FLTOVF): Likewise.
11236 (FPE_FLTUND): Likewise.
11237 (FPE_FLTRES): Likewise.
11238 (FPE_FLTINV): Likewise.
11239 (FPE_FLTSUB): Likewise.
11240 (SEGV_MAPERR): Likewise.
11241 (SEGV_ACCERR): Likewise.
11242 (BUS_ADRALN): Likewise.
11243 (BUS_ADRERR): Likewise.
11244 (BUS_OBJERR): Likewise.
11245 (BUS_MCEERR_AR): Likewise.
11246 (BUS_MCEERR_AO): Likewise.
11247 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11248 (TRAP_TRACE): Likewise.
11249 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11251 (CLD_KILLED): Likewise.
11252 (CLD_DUMPED): Likewise.
11253 (CLD_TRAPPED): Likewise.
11254 (CLD_STOPPED): Likewise.
11255 (CLD_CONTINUED): Likewise.
11256 (POLL_IN): Likewise.
11257 (POLL_OUT): Likewise.
11258 (POLL_MSG): Likewise.
11259 (POLL_ERR): Likewise.
11260 (POLL_PRI): Likewise.
11261 (POLL_HUP): Likewise.
11262 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11263 (ILL_ILLOPN): Likewise.
11264 (ILL_ILLADR): Likewise.
11265 (ILL_ILLTRP): Likewise.
11266 (ILL_PRVOPC): Likewise.
11267 (ILL_PRVREG): Likewise.
11268 (ILL_COPROC): Likewise.
11269 (ILL_BADSTK): Likewise.
11270 (ILL_DBLFLT): Likewise.
11271 (ILL_HARDWALL): Likewise.
11272 (FPE_INTDIV): Likewise.
11273 (FPE_INTOVF): Likewise.
11274 (FPE_FLTDIV): Likewise.
11275 (FPE_FLTOVF): Likewise.
11276 (FPE_FLTUND): Likewise.
11277 (FPE_FLTRES): Likewise.
11278 (FPE_FLTINV): Likewise.
11279 (FPE_FLTSUB): Likewise.
11280 (SEGV_MAPERR): Likewise.
11281 (SEGV_ACCERR): Likewise.
11282 (BUS_ADRALN): Likewise.
11283 (BUS_ADRERR): Likewise.
11284 (BUS_OBJERR): Likewise.
11285 (BUS_MCEERR_AR): Likewise.
11286 (BUS_MCEERR_AO): Likewise.
11287 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11288 (TRAP_TRACE): Likewise.
11289 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11291 (CLD_KILLED): Likewise.
11292 (CLD_DUMPED): Likewise.
11293 (CLD_TRAPPED): Likewise.
11294 (CLD_STOPPED): Likewise.
11295 (CLD_CONTINUED): Likewise.
11296 (POLL_IN): Likewise.
11297 (POLL_OUT): Likewise.
11298 (POLL_MSG): Likewise.
11299 (POLL_ERR): Likewise.
11300 (POLL_PRI): Likewise.
11301 (POLL_HUP): Likewise.
11302 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11303 (ILL_ILLOPN): Likewise.
11304 (ILL_ILLADR): Likewise.
11305 (ILL_ILLTRP): Likewise.
11306 (ILL_PRVOPC): Likewise.
11307 (ILL_PRVREG): Likewise.
11308 (ILL_COPROC): Likewise.
11309 (ILL_BADSTK): Likewise.
11310 (FPE_INTDIV): Likewise.
11311 (FPE_INTOVF): Likewise.
11312 (FPE_FLTDIV): Likewise.
11313 (FPE_FLTOVF): Likewise.
11314 (FPE_FLTUND): Likewise.
11315 (FPE_FLTRES): Likewise.
11316 (FPE_FLTINV): Likewise.
11317 (FPE_FLTSUB): Likewise.
11318 (SEGV_MAPERR): Likewise.
11319 (SEGV_ACCERR): Likewise.
11320 (BUS_ADRALN): Likewise.
11321 (BUS_ADRERR): Likewise.
11322 (BUS_OBJERR): Likewise.
11323 (BUS_MCEERR_AR): Likewise.
11324 (BUS_MCEERR_AO): Likewise.
11325 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11326 (TRAP_TRACE): Likewise.
11327 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11329 (CLD_KILLED): Likewise.
11330 (CLD_DUMPED): Likewise.
11331 (CLD_TRAPPED): Likewise.
11332 (CLD_STOPPED): Likewise.
11333 (CLD_CONTINUED): Likewise.
11334 (POLL_IN): Likewise.
11335 (POLL_OUT): Likewise.
11336 (POLL_MSG): Likewise.
11337 (POLL_ERR): Likewise.
11338 (POLL_PRI): Likewise.
11339 (POLL_HUP): Likewise.
11340 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11341 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11344 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11345 before #include of <time.h>.
11346 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11347 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11348 (test-xfail-UNIX98/sched.h/conform): Likewise.
11350 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11352 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11353 error absence of trapping exception support.
11354 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11356 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11358 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11359 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11360 * timezone/Makefile (testdata): Move definition above include of
11362 (test-zones): New variable.
11363 (tests-special): Add zone files.
11364 (build-testdata): Use $(evaluate-test).
11366 * elf/Makefile (tests-special): Rename tests to end with .out.
11367 ($(objpfx)noload-mem): Likewise.
11368 ($(objpfx)tst-leaks1-mem): Likewise.
11369 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11370 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11371 $(objpfx)test-iconvconfig.out.
11372 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11373 set -e inside subshell and redirect output to file.
11374 * iconvdata/Makefile (generated): Rename tests to end with .out.
11376 (tests-special): Rename tests to end with .out.
11377 ($(objpfx)mtrace-tst-loading): Likewise.
11378 * intl/Makefile (generated): Likewise.
11379 (tests-special): Likewise.
11380 ($(objpfx)mtrace-tst-gettext): Likewise.
11381 * misc/Makefile (generated): Likewise.
11382 (tests-special): Likewise.
11383 ($(objpfx)tst-error1-mem): Likewise.
11384 * nptl/Makefile (tests-special): Likewise.
11385 ($(objpfx)tst-stack3-mem): Likewise.
11386 (generated): Likewise.
11387 * posix/Makefile (generated): Likewise.
11388 (tests-special): Likewise.
11389 (xtests-special): Likewise.
11390 ($(objpfx)tst-fnmatch-mem): Likewise.
11391 ($(objpfx)bug-regex2-mem): Likewise.
11392 ($(objpfx)bug-regex14-mem): Likewise.
11393 ($(objpfx)bug-regex21-mem): Likewise.
11394 ($(objpfx)bug-regex31-mem): Likewise.
11395 ($(objpfx)tst-vfork3-mem): Likewise.
11396 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11397 ($(objpfx)tst-pcre-mem): Likewise.
11398 ($(objpfx)tst-boost-mem): Likewise.
11399 ($(objpfx)bug-ga2-mem): Likewise.
11400 ($(objpfx)bug-glob2-mem): Likewise.
11401 * resolv/Makefile (generate): Likewise.
11402 (tests-special): Likewise.
11403 (xtests-special): Likewise.
11404 (generated): Likewise.
11405 ($(objpfx)mtrace-tst-leaks): Likewise.
11406 ($(objpfx)mtrace-tst-leaks2): Likewise.
11408 * scripts/merge-test-results.sh: New file.
11409 * Makefile (tests-special-notdir): New variable.
11410 (tests): Run merge-test-results.sh.
11411 (xtests): Likewise.
11412 * Rules (tests-special-notdir): New variable.
11413 (xtests-special-notdir): Likewise.
11414 (tests): Run merge-test-results.sh
11415 (xtests): Likewise.
11417 * Makeconfig (test-xfail-name): New variable.
11418 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11419 compute variable name for expected failures.
11420 * conform/Makefile (conformtest-headers-data): New variable.
11421 (conformtest-standards): Likewise.
11422 (conformtest-headers-ISO): Likewise.
11423 (conformtest-headers-ISO99): Likewise.
11424 (conformtest-headers-ISO11): Likewise.
11425 (conformtest-headers-POSIX): Likewise.
11426 (conformtest-headers-XPG3): Likewise.
11427 (conformtest-headers-XPG4): Likewise.
11428 (conformtest-headers-UNIX98): Likewise.
11429 (conformtest-headers-XOPEN2K): Likewise.
11430 (conformtest-headers-POSIX2008): Likewise.
11431 (conformtest-headers-XOPEN2K8): Likewise.
11432 (conformtest-header-list-base): Likewise.
11433 (conformtest-header-list-tests): Likewise.
11434 (conformtest-header-base): Likewise.
11435 (conformtest-header-tests): Likewise.
11436 (tests-special): Add $(conformtest-header-list-tests). If
11437 [$(fast-check) && !$(cross-compiling)], add
11438 $(conformtest-header-tests) instead of
11439 $(objpfx)run-conformtest.out.
11440 (generated): Add $(conformtest-header-list-base). If
11441 [$(fast-check) && !$(cross-compiling)], add
11442 $(conformtest-header-base). Remove previous setting.
11443 ($(conformtest-header-list-tests)): New target.
11444 (test-xfail-run-conformtest): Remove variable.
11445 ($(objpfx)run-conformtest.out): Remove target.
11446 (test-xfail-ISO11/complex.h/conform): New variable.
11447 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11448 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11449 (test-xfail-XPG3/varargs.h/conform): Likewise.
11450 (test-xfail-XPG4/varargs.h/conform): Likewise.
11451 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11452 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11453 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11454 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11455 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11456 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11457 (test-xfail-XPG3/ftw.h/conform): Likewise.
11458 (test-xfail-XPG3/grp.h/conform): Likewise.
11459 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11460 (test-xfail-XPG3/limits.h/conform): Likewise.
11461 (test-xfail-XPG3/pwd.h/conform): Likewise.
11462 (test-xfail-XPG3/search.h/conform): Likewise.
11463 (test-xfail-XPG3/signal.h/conform): Likewise.
11464 (test-xfail-XPG3/stdio.h/conform): Likewise.
11465 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11466 (test-xfail-XPG3/string.h/conform): Likewise.
11467 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11468 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11469 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11470 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11471 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11472 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11473 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11474 (test-xfail-XPG3/termios.h/conform): Likewise.
11475 (test-xfail-XPG3/time.h/conform): Likewise.
11476 (test-xfail-XPG3/unistd.h/conform): Likewise.
11477 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11478 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11479 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11480 (test-xfail-XPG4/netdb.h/conform): Likewise.
11481 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11482 (test-xfail-XPG4/signal.h/conform): Likewise.
11483 (test-xfail-XPG4/stdio.h/conform): Likewise.
11484 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11485 (test-xfail-XPG4/stropts.h/conform): Likewise.
11486 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11487 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11488 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11489 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11490 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11491 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11492 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11493 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11494 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11495 (test-xfail-XPG4/termios.h/conform): Likewise.
11496 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11497 (test-xfail-XPG4/unistd.h/conform): Likewise.
11498 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11499 (test-xfail-POSIX/sched.h/conform): Likewise.
11500 (test-xfail-POSIX/signal.h/conform): Likewise.
11501 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11502 (test-xfail-POSIX/tar.h/conform): Likewise.
11503 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11504 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11505 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11506 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11507 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11508 (test-xfail-UNIX98/sched.h/conform): Likewise.
11509 (test-xfail-UNIX98/signal.h/conform): Likewise.
11510 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11511 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11512 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11513 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11514 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11515 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11516 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11517 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11518 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11519 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11520 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11521 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11522 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11523 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11524 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11525 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11526 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11527 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11528 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11529 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11530 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11531 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11532 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11533 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11534 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11535 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11536 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11537 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11538 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11539 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11540 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11541 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11542 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11543 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11544 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11545 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11546 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11547 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11548 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11549 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11550 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11551 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11552 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11553 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11554 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11555 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11556 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11557 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11558 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11559 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11560 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11561 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11562 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11563 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11564 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11565 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11566 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11567 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11568 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11569 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11570 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11571 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11572 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11573 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11574 (conformtest-cc-flags): Likewise.
11575 ($(conformtest-header-tests): New target.
11576 * conform/check-header-lists.sh: New file.
11577 * conform/run-conformtest.sh: Remove.
11579 * conform/conformtest.pl: Allow ' and \ in values given for
11581 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11583 [POSIX] (sys/types.h): Likewise.
11584 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11586 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11588 * conform/data/signal.h-data (SIGIO): Remove expectation.
11589 [XPG3] (SIGBUS): Do not expect.
11590 [POSIX || XPG3] (SIGPOLL): Likewise.
11591 [POSIX || XPG3] (SIGPROF): Likewise.
11592 [POSIX || XPG3] (SIGSYS): Likewise.
11593 [XPG3] (SIGTRAP): Likewise.
11594 [POSIX || XPG3] (SIGURG): Likewise.
11595 [POSIX || XPG3] (SIGVTALRM): Likewise.
11596 [POSIX || XPG3] (SIGXCPU): Likewise.
11597 [POSIX || XPG3] (SIGXFSZ): Likewise.
11598 [POSIX] (SA_SIGINFO): Expect.
11599 [XPG3] (siginfo_t): Do not expect type or contents.
11600 [POSIX] (si_pid): Do not expect element.
11601 [POSIX] (si_uid): Likewise.
11602 [POSIX] (si_addr): Likewise.
11603 [POSIX] (si_status): Likewise.
11604 [POSIX] (si_band): Likewise.
11605 [XPG4] (si_value): Likewise.
11606 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11607 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11608 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11609 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11610 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11611 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11612 [POSIX || XPG3] (ILL_COPROC): Likewise.
11613 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11614 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11615 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11616 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11617 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11618 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11619 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11620 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11621 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11622 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11623 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11624 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11625 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11626 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11627 [POSIX || XPG3] (CLD_EXITED): Likewise.
11628 [POSIX || XPG3] (CLD_KILLED): Likewise.
11629 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11630 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11631 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11632 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11633 [POSIX || XPG3] (POLL_IN): Likewise.
11634 [POSIX || XPG3] (POLL_OUT): Likewise.
11635 [POSIX || XPG3] (POLL_MSG): Likewise.
11636 [POSIX || XPG3] (POLL_ERR): Likewise.
11637 [POSIX || XPG3] (POLL_PRI): Likewise.
11638 [POSIX || XPG3] (POLL_HUP): Likewise.
11639 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11640 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11641 (SIG*): Do not allow.
11642 [XPG3] (si_*): Likewise.
11643 [XPG3] (SI_*): Likewise.
11644 [XPG3 || XPG4] (sigev_*): Likewise.
11645 [XPG3 || XPG4] (SIGEV_*): Likewise.
11646 [XPG3 || XPG4] (sival_*): Likewise.
11647 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11648 [POSIX || XPG3] (BUS_*): Likewise.
11649 [POSIX || XPG3] (CLD_*): Likewise.
11650 [POSIX || XPG3] (FPE_*): Likewise.
11651 [POSIX || XPG3] (ILL_*): Likewise.
11652 [POSIX || XPG3] (POLL_*): Likewise.
11653 [POSIX || XPG3] (SEGV_*): Likewise.
11654 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11655 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11656 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11657 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11658 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11659 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11660 Specify type and value.
11661 (TVERSLEN): Likewise.
11662 (REGTYPE): Likewise.
11663 (AREGTYPE): Likewise.
11664 (LNKTYPE): Likewise.
11665 (SYMTYPE): Likewise.
11666 (CHRTYPE): Likewise.
11667 (BLKTYPE): Likewise.
11668 (DIRTYPE): Likewise.
11669 (FIFOTYPE): Likewise.
11670 (CONTTYPE): Likewise.
11674 (TUREAD): Likewise.
11675 (TUWRITE): Likewise.
11676 (TUEXEC): Likewise.
11677 (TGREAD): Likewise.
11678 (TGWRITE): Likewise.
11679 (TGEXEC): Likewise.
11680 (TOREAD): Likewise.
11681 (TOWRITE): Likewise.
11682 (TOEXEC): Likewise.
11683 [POSIX] (TSVTX): Expect constant.
11685 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11687 * Makefile (tests): Change dependencies to ....
11688 (tests-special): ... additions to this variable.
11689 (tests): Depend on $(tests-special).
11690 * Makerules (check-abi-list): New variable.
11691 (check-abi): Depend on $(check-abi-list).
11692 [$(subdir) = elf] (tests-special): Add
11693 $(objpfx)check-abi-libc.out.
11694 [$(build-shared) = yes && subdir] (tests-special): Add
11696 [$(build-shared) = yes && subdir] (tests): Do not depend on
11698 * Rules (tests): Depend on $(tests-special).
11699 (xtests): Depend on $(xtests-special).
11700 * catgets/Makefile (tests): Change dependencies to ....
11701 (tests-special): ... additions to this variable.
11702 * conform/Makefile (tests): Change dependencies to ....
11703 (tests-special): ... additions to this variable.
11704 * elf/Makefile (tests): Change dependencies to ....
11705 (tests-special): ... additions to this variable.
11706 * grp/Makefile (tests): Change dependencies to ....
11707 (tests-special): ... additions to this variable.
11708 * iconv/Makefile (xtests): Change dependencies to ....
11709 (xtests-special): ... additions to this variable.
11710 * iconvdata/Makefile (tests): Change dependencies to ....
11711 (tests-special): ... additions to this variable.
11712 * intl/Makefile (tests): Change dependencies to ....
11713 (tests-special): ... additions to this variable. Also add
11714 $(objpfx)tst-gettext.out.
11715 * io/Makefile (tests): Change dependencies to ....
11716 (tests-special): ... additions to this variable.
11717 * libio/Makefile (tests): Change dependencies to ....
11718 (tests-special): ... additions to this variable.
11719 * malloc/Makefile (tests): Change dependencies to ....
11720 (tests-special): ... additions to this variable.
11721 * misc/Makefile (tests): Change dependencies to ....
11722 (tests-special): ... additions to this variable.
11723 * nptl/Makefile (tests): Change dependencies to ....
11724 (tests-special): ... additions to this variable.
11725 * nptl_db/Makefile (tests): Change dependencies to ....
11726 (tests-special): ... additions to this variable.
11727 * posix/Makefile (tests): Change dependencies to ....
11728 (tests-special): ... additions to this variable.
11729 (xtests): Change dependencies to ....
11730 (xtests-special): ... additions to this variable.
11731 * resolv/Makefile (tests): Change dependencies to ....
11732 (tests-special): ... additions to this variable.
11733 (xtests): Change dependencies to ....
11734 (xtests-special): ... additions to this variable.
11735 * stdio-common/Makefile (tests): Change dependencies to ....
11736 (tests-special): ... additions to this variable.
11737 (do-tst-unbputc): Remove target.
11738 (do-tst-printf): Likewise.
11739 * stdlib/Makefile (tests): Change dependencies to ....
11740 (tests-special): ... additions to this variable.
11741 * string/Makefile (tests): Change dependencies to ....
11742 (tests-special): ... additions to this variable.
11743 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11744 (tests-special): ... additions to this variable.
11746 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11748 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11750 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11751 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11753 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11754 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11755 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11756 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11757 * conform/data/libgen.h-data [XPG3]: Likewise.
11758 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11759 * conform/data/ndbm.h-data [XPG3]: Likewise.
11760 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11761 * conform/data/netdb.h-data [XPG3]: Likewise.
11762 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11763 * conform/data/poll.h-data [XPG3]: Likewise.
11764 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11765 * conform/data/strings.h-data [XPG3]: Likewise.
11766 * conform/data/stropts.h-data [XPG3]: Likewise.
11767 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11768 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11769 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11771 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11772 * conform/data/sys/time.h-data [XPG3]: Likewise.
11773 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11774 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11775 * conform/data/sys/un.h-data [XPG3]: Likewise.
11776 * conform/data/syslog.h-data [XPG3]: Likewise.
11777 * conform/data/ucontext.h-data [XPG3]: Likewise.
11778 * conform/data/utmpx.h-data [XPG3]: Likewise.
11779 * conform/data/varargs.h-data [UNIX98]: Enable file.
11781 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11783 * math/libm-test.inc (struct test_f_f_data): Move expected results
11784 into structure for each rounding mode.
11785 (struct test_ff_f_data): Likewise.
11786 (struct test_ff_f_data_nexttoward): Likewise.
11787 (struct test_fi_f_data): Likewise.
11788 (struct test_fl_f_data): Likewise.
11789 (struct test_if_f_data): Likewise.
11790 (struct test_fff_f_data): Likewise.
11791 (struct test_c_f_data): Likewise.
11792 (struct test_f_f1_data): Likewise.
11793 (struct test_fF_f1_data): Likewise.
11794 (struct test_ffI_f1_data): Likewise.
11795 (struct test_c_c_data): Likewise.
11796 (struct test_cc_c_data): Likewise.
11797 (struct test_f_i_data): Likewise.
11798 (struct test_ff_i_data): Likewise.
11799 (struct test_f_l_data): Likewise.
11800 (struct test_f_L_data): Likewise.
11801 (struct test_fFF_11_data): Likewise.
11803 (RM_FE_DOWNWARD): Likewise.
11804 (RM_FE_TONEAREST): Likewise.
11805 (RM_FE_TOWARDZERO): Likewise.
11806 (RM_FE_UPWARD): Likewise.
11807 (RUN_TEST_LOOP_f_f): Update references to expected results.
11808 (RUN_TEST_LOOP_2_f): Likewise.
11809 (RUN_TEST_LOOP_fff_f): Likewise.
11810 (RUN_TEST_LOOP_c_f): Likewise.
11811 (RUN_TEST_LOOP_f_f1): Likewise.
11812 (RUN_TEST_LOOP_fF_f1): Likewise.
11813 (RUN_TEST_LOOP_fI_f1): Likewise.
11814 (RUN_TEST_LOOP_ffI_f1): Likewise.
11815 (RUN_TEST_LOOP_c_c): Likewise.
11816 (RUN_TEST_LOOP_cc_c): Likewise.
11817 (RUN_TEST_LOOP_f_i): Likewise.
11818 (RUN_TEST_LOOP_f_i_tg): Likewise.
11819 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11820 (RUN_TEST_LOOP_f_b): Likewise.
11821 (RUN_TEST_LOOP_f_b_tg): Likewise.
11822 (RUN_TEST_LOOP_f_l): Likewise.
11823 (RUN_TEST_LOOP_f_L): Likewise.
11824 (RUN_TEST_LOOP_fFF_11): Likewise.
11825 * math/gen-libm-test.pl (parse_args): Output four copies of
11826 expected results for each test.
11828 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11829 (__ASSUME_UTIMES): Remove.
11830 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11831 (__ASSUME_UTIMES): Likewise.
11833 * math/gen-auto-libm-tests.c: Update comment on output format.
11834 (output_for_one_input_case): Generate before-rounding and
11835 after-rounding information as conditions on output flags not
11836 floating-point format.
11837 * math/auto-libm-test-out: Regenerated.
11838 * math/gen-libm-test.pl (cond_value): New function.
11839 (or_cond_value): Use cond_value.
11840 (generate_testfile): Handle conditional exceptions.
11842 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11844 * math/libm-test.inc (max_valid_error): New variable.
11845 (init_max_error): Take new argument specifying whether function
11846 results are exactly determined. Set max_valid_error and bound
11847 other variables for errors based on this argument.
11848 (set_max_error): Do not record results above max_valid_error.
11849 (check_float_internal): Only accept errors of up to 0.5ulps if
11850 also at most max_valid_error.
11851 (START): Take new argument EXACT and pass it to init_max_error.
11852 (acos_test): Update call to START.
11853 (acos_test_tonearest): Likewise.
11854 (acos_test_towardzero): Likewise.
11855 (acos_test_downward): Likewise.
11856 (acos_test_upward): Likewise.
11857 (acosh_test): Likewise.
11858 (asin_test): Likewise.
11859 (asin_test_tonearest): Likewise.
11860 (asin_test_towardzero): Likewise.
11861 (asin_test_downward): Likewise.
11862 (asin_test_upward): Likewise.
11863 (asinh_test): Likewise.
11864 (atan_test): Likewise.
11865 (atanh_test): Likewise.
11866 (atan2_test): Likewise.
11867 (cabs_test): Likewise.
11868 (cacos_test): Likewise.
11869 (cacosh_test): Likewise.
11870 (carg_test): Likewise.
11871 (casin_test): Likewise.
11872 (casinh_test): Likewise.
11873 (catan_test): Likewise.
11874 (catanh_test): Likewise.
11875 (cbrt_test): Likewise.
11876 (ccos_test): Likewise.
11877 (ccosh_test): Likewise.
11878 (ceil_test): Likewise.
11879 (cexp_test): Likewise.
11880 (cimag_test): Likewise.
11881 (clog_test): Likewise.
11882 (clog10_test): Likewise.
11883 (conj_test): Likewise.
11884 (copysign_test): Likewise.
11885 (cos_test): Likewise.
11886 (cos_test_tonearest): Likewise.
11887 (cos_test_towardzero): Likewise.
11888 (cos_test_downward): Likewise.
11889 (cos_test_upward): Likewise.
11890 (cosh_test): Likewise.
11891 (cosh_test_tonearest): Likewise.
11892 (cosh_test_towardzero): Likewise.
11893 (cosh_test_downward): Likewise.
11894 (cosh_test_upward): Likewise.
11895 (cpow_test): Likewise.
11896 (cproj_test): Likewise.
11897 (creal_test): Likewise.
11898 (csin_test): Likewise.
11899 (csinh_test): Likewise.
11900 (csqrt_test): Likewise.
11901 (ctan_test): Likewise.
11902 (ctan_test_tonearest): Likewise.
11903 (ctan_test_towardzero): Likewise.
11904 (ctan_test_downward): Likewise.
11905 (ctan_test_upward): Likewise.
11906 (ctanh_test): Likewise.
11907 (ctanh_test_tonearest): Likewise.
11908 (ctanh_test_towardzero): Likewise.
11909 (ctanh_test_downward): Likewise.
11910 (ctanh_test_upward): Likewise.
11911 (erf_test): Likewise.
11912 (erfc_test): Likewise.
11913 (exp_test): Likewise.
11914 (exp_test_tonearest): Likewise.
11915 (exp_test_towardzero): Likewise.
11916 (exp_test_downward): Likewise.
11917 (exp_test_upward): Likewise.
11918 (exp10_test): Likewise.
11919 (exp10_test_tonearest): Likewise.
11920 (exp10_test_towardzero): Likewise.
11921 (exp10_test_downward): Likewise.
11922 (exp10_test_upward): Likewise.
11923 (pow10_test): Likewise.
11924 (exp2_test): Likewise.
11925 (expm1_test): Likewise.
11926 (expm1_test_tonearest): Likewise.
11927 (expm1_test_towardzero): Likewise.
11928 (expm1_test_downward): Likewise.
11929 (expm1_test_upward): Likewise.
11930 (fabs_test): Likewise.
11931 (fdim_test): Likewise.
11932 (floor_test): Likewise.
11933 (fma_test): Likewise.
11934 (fma_test_towardzero): Likewise.
11935 (fma_test_downward): Likewise.
11936 (fma_test_upward): Likewise.
11937 (fmax_test): Likewise.
11938 (fmin_test): Likewise.
11939 (fmod_test): Likewise.
11940 (fpclassify_test): Likewise.
11941 (frexp_test): Likewise.
11942 (hypot_test): Likewise.
11943 (ilogb_test): Likewise.
11944 (isfinite_test): Likewise.
11945 (finite_test): Likewise.
11946 (isgreater_test): Likewise.
11947 (isgreaterequal_test): Likewise.
11948 (isinf_test): Likewise.
11949 (isless_test): Likewise.
11950 (islessequal_test): Likewise.
11951 (islessgreater_test): Likewise.
11952 (isnan_test): Likewise.
11953 (isnormal_test): Likewise.
11954 (issignaling_test): Likewise.
11955 (isunordered_test): Likewise.
11956 (j0_test): Likewise.
11957 (j1_test): Likewise.
11958 (jn_test): Likewise.
11959 (ldexp_test): Likewise.
11960 (lgamma_test): Likewise.
11961 (gamma_test): Likewise.
11962 (lrint_test): Likewise.
11963 (lrint_test_tonearest): Likewise.
11964 (lrint_test_towardzero): Likewise.
11965 (lrint_test_downward): Likewise.
11966 (lrint_test_upward): Likewise.
11967 (llrint_test): Likewise.
11968 (llrint_test_tonearest): Likewise.
11969 (llrint_test_towardzero): Likewise.
11970 (llrint_test_downward): Likewise.
11971 (llrint_test_upward): Likewise.
11972 (log_test): Likewise.
11973 (log10_test): Likewise.
11974 (log1p_test): Likewise.
11975 (log2_test): Likewise.
11976 (logb_test): Likewise.
11977 (logb_test_downward): Likewise.
11978 (lround_test): Likewise.
11979 (llround_test): Likewise.
11980 (modf_test): Likewise.
11981 (nearbyint_test): Likewise.
11982 (nextafter_test): Likewise.
11983 (nexttoward_test): Likewise.
11984 (pow_test): Likewise.
11985 (pow_test_tonearest): Likewise.
11986 (pow_test_towardzero): Likewise.
11987 (pow_test_downward): Likewise.
11988 (pow_test_upward): Likewise.
11989 (remainder_test): Likewise.
11990 (drem_test): Likewise.
11991 (remainder_test_tonearest): Likewise.
11992 (drem_test_tonearest): Likewise.
11993 (remainder_test_towardzero): Likewise.
11994 (drem_test_towardzero): Likewise.
11995 (remainder_test_downward): Likewise.
11996 (drem_test_downward): Likewise.
11997 (remainder_test_upward): Likewise.
11998 (drem_test_upward): Likewise.
11999 (remquo_test): Likewise.
12000 (rint_test): Likewise.
12001 (rint_test_tonearest): Likewise.
12002 (rint_test_towardzero): Likewise.
12003 (rint_test_downward): Likewise.
12004 (rint_test_upward): Likewise.
12005 (round_test): Likewise.
12006 (scalb_test): Likewise.
12007 (scalbn_test): Likewise.
12008 (scalbln_test): Likewise.
12009 (signbit_test): Likewise.
12010 (sin_test): Likewise.
12011 (sin_test_tonearest): Likewise.
12012 (sin_test_towardzero): Likewise.
12013 (sin_test_downward): Likewise.
12014 (sin_test_upward): Likewise.
12015 (sincos_test): Likewise.
12016 (sinh_test): Likewise.
12017 (sinh_test_tonearest): Likewise.
12018 (sinh_test_towardzero): Likewise.
12019 (sinh_test_downward): Likewise.
12020 (sinh_test_upward): Likewise.
12021 (sqrt_test): Likewise.
12022 (sqrt_test_tonearest): Likewise.
12023 (sqrt_test_towardzero): Likewise.
12024 (sqrt_test_downward): Likewise.
12025 (sqrt_test_upward): Likewise.
12026 (tan_test): Likewise.
12027 (tan_test_tonearest): Likewise.
12028 (tan_test_towardzero): Likewise.
12029 (tan_test_downward): Likewise.
12030 (tan_test_upward): Likewise.
12031 (tanh_test): Likewise.
12032 (tgamma_test): Likewise.
12033 (trunc_test): Likewise.
12034 (y0_test): Likewise.
12035 (y1_test): Likewise.
12036 (yn_test): Likewise.
12037 (significand_test): Likewise.
12039 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12040 individual tests in comment.
12041 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12042 (prev_max_error): New variable.
12043 (prev_real_max_error): Likewise.
12044 (prev_imag_max_error): Likewise.
12045 (compare_ulp_data): Don't refer to test names in comment.
12046 (find_test_ulps): Remove function.
12047 (find_function_ulps): Likewise.
12048 (find_complex_function_ulps): Likewise.
12049 (init_max_error): Take function name as argument. Look up ulps
12051 (print_ulps): Remove function.
12052 (print_max_error): Use prev_max_error instead of calling
12053 find_function_ulps.
12054 (print_complex_max_error): Use prev_real_max_error and
12055 prev_imag_max_error instead of calling find_complex_function_ulps.
12056 (check_float_internal): Take max_ulp parameter instead of calling
12057 find_test_ulps. Don't call print_ulps.
12058 (check_float): Update call to check_float_internal.
12059 (check_complex): Update calls to check_float_internal.
12060 (START): Pass argument to init_max_error.
12061 * math/gen-libm-test.pl (%results): Don't include "kind"
12063 (parse_ulps): Don't handle ulps of individual tests.
12064 (print_ulps_file): Likewise.
12065 (output_ulps): Likewise.
12066 * math/README.libm-test: Update.
12067 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12069 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12070 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12071 * sysdeps/arm/libm-test-ulps: Likewise.
12072 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12073 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12074 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12075 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12076 * sysdeps/microblaze/libm-test-ulps: Likewise.
12077 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12078 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12080 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12081 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12082 * sysdeps/sh/libm-test-ulps: Likewise.
12083 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12084 * sysdeps/tile/libm-test-ulps: Likewise.
12085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12087 2014-03-04 Joseph Myers <joseph@codesourcery.com>
12089 * math/libm-test.inc (print_complex_max_error): Check separately
12090 whether real and imaginary errors are within allowed range and
12091 pass 0 to print_complex_function_ulps instead of value within
12094 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12096 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12098 (get_handles_fopen): Likewise.
12099 (do_write_test): Likewise.
12101 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12103 * libio/fileops.c (do_ftell): Use cached offset when
12105 * libio/iofwide.c (do_ftell_wide): Likewise.
12106 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12108 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12111 * libio/libioP.h (get_file_offset): New function.
12112 * libio/fileops.c (get_file_offset): Likewise.
12113 (do_ftell): Likewise.
12114 (_IO_new_file_seekoff): Split out ftell logic.
12115 * libio/wfileops.c (do_ftell_wide): Likewise.
12116 (_IO_wfile_seekoff): Split out ftell logic.
12117 * libio/tst-ftell-active-handler.c: New test case.
12118 * libio/Makefile (tests): Add it.
12120 2014-03-03 Roland McGrath <roland@hack.frob.com>
12122 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12123 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12125 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12128 * nscd/connections.c (nscd_init): Call do_exit.
12129 (start_threads): Call do_exit and notify_parent.
12130 (begin_drop_privileges): Call do_exit.
12131 (finish_drop_privileges): Likewise.
12132 * nscd/selinux.c (preserve_capabilities): Likewise.
12133 (install_real_capabilities): Likewise.
12134 (nscd_selinux_enabled): Likewise.
12135 (avc_create_thread): Likewise.
12136 (avc_alloc_lock): Likewise.
12137 (nscd_avc_init): Likewise.
12138 * nscd/nscd.c (parent_fd): New static variable.
12139 (main): Create a pipe between parent and child processes.
12140 Skip closing parent_fd.
12141 (monitor_child): New function.
12142 (do_exit): Likewise.
12143 (notify_parent): Likewise.
12144 * nscd/nscd.h (notify_parent): Likewise.
12145 (do_exit): Likewise.
12147 2014-03-03 Carlos O'Donell <carlos@redhat.com>
12149 * malloc/malloc.c (__libc_calloc): Revert last change.
12151 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12155 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12157 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12161 (__libc_ifunc_impl_list): Likewise.
12162 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12163 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12164 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12165 * string/strrchr.c: Define STRRCHR.
12167 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
12169 * benchtest/bench-strtok.c (simple_strtok): Delete.
12170 (strtok_string): Use as benchmark.
12171 * string/strtok (STRTOK): New macro.
12173 2014-02-28 Carlos O'Donell <carlos@redhat.com>
12175 * manual/threads.texi: Add header and standard comments to all
12178 * elf/dl-lookup.c (check_match): New function.
12179 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12180 (do_lookup_x): Remove nested function check_match. Use non-nested
12181 function check_match.
12183 2014-02-28 Roland McGrath <roland@hack.frob.com>
12185 * csu/Makefile (generated, before-compile): Use += rather than =.
12186 * catgets/Makefile (generated, generated-dirs): Likewise.
12187 * debug/Makefile (generated): Likewise.
12188 * dlfcn/Makefile (generated): Likewise.
12189 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12190 * iconvdata/Makefile (before-compile, generated): Likewise.
12191 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12192 * libio/Makefile (generated): Likewise.
12193 * malloc/Makefile (generated): Likewise.
12194 * manual/Makefile (generated, generated-dirs): Likewise.
12195 * misc/Makefile (generated): Likewise.
12196 * posix/Makefile (generated): Likewise.
12197 * resolv/Makefile (generated): Likewise.
12198 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12199 * timezone/Makefile (generated, generated-dirs): Likewise.
12201 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12203 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12206 power8 implementation.
12207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12208 file: POWER8 llround ifunc implementation.
12209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12210 (__lllround): Add POWER8 implementation.
12211 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12212 POWER8 llround implementation.
12214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12215 power8 implementation.
12216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12217 file: POWER8 llrint ifunc implementation.
12218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12219 Add POWER8 implementation.
12220 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12221 POWER8 llrint implementation.
12223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12224 power8 implementation.
12225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12226 file: POWER8 finite ifunc implementation.
12227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12228 Add POWER8 implementation.
12229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12231 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12232 POWER8 finite implementation.
12233 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12236 power8 implementation.
12237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12238 file: POWER8 isinf ifunc implementation.
12239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12240 POWER8 implementation.
12241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12243 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12244 isinf implementation.
12245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12247 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12248 (INIT_ARCH): Add hwcap2 initialization.
12249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12250 power8 implementation.
12251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12252 file: POWER8 isnan ifunc implementation.
12253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12254 POWER8 implementation.
12255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12258 isnan implementation.
12259 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12261 2014-02-27 Joey Ye <joey.ye@arm.com>
12263 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12264 (_FP_NANFRAC_Q): Set to zero.
12266 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12269 * math/auto-libm-test-in: New test inputs.
12270 * math/auto-libm-test-out: Regenerate.
12271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12274 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12276 2014-02-27 Joseph Myers <joseph@codesourcery.com>
12278 * scripts/evaluate-test.sh: Take new argument indicating whether
12279 failure is expected.
12280 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12281 indicating whether failure is expected.
12282 * conform/Makefile (test-xfail-run-conformtest): New variable.
12283 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12285 * posix/Makefile (test-xfail-annexc): New variable.
12286 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12288 2014-02-26 Joseph Myers <joseph@codesourcery.com>
12290 * argp/Makefile: Include Makeconfig immediately after defining
12292 * assert/Makefile: Likewise.
12293 * benchtests/Makefile: Likewise.
12294 * catgets/Makefile: Likewise.
12295 * conform/Makefile: Likewise.
12296 * crypt/Makefile: Likewise.
12297 * csu/Makefile: Likewise.
12298 (all): Remove target.
12299 * ctype/Makefile: Include Makeconfig immediately after defining
12301 * debug/Makefile: Likewise.
12302 * dirent/Makefile: Likewise.
12303 * dlfcn/Makefile: Likewise.
12304 * gmon/Makefile: Likewise.
12305 * gnulib/Makefile: Likewise.
12306 * grp/Makefile: Likewise.
12307 * gshadow/Makefile: Likewise.
12308 * hesiod/Makefile: Likewise.
12309 * hurd/Makefile: Likewise.
12310 (all): Remove target.
12311 * iconvdata/Makefile: Include Makeconfig immediately after
12313 * inet/Makefile: Likewise.
12314 * intl/Makefile: Likewise.
12315 * io/Makefile: Likewise.
12316 * libio/Makefile: Likewise.
12317 (all): Remove target.
12318 * locale/Makefile: Include Makeconfig immediately after defining
12320 * login/Makefile: Likewise.
12321 * mach/Makefile: Likewise.
12322 (all): Remove target.
12323 * malloc/Makefile: Include Makeconfig immediately after defining
12325 (all): Remove target.
12326 * manual/Makefile: Include Makeconfig immediately after defining
12328 * math/Makefile: Likewise.
12329 * misc/Makefile: Likewise.
12330 * nis/Makefile: Likewise.
12331 * nss/Makefile: Likewise.
12332 * po/Makefile: Likewise.
12333 (all): Remove target.
12334 * posix/Makefile: Include Makeconfig immediately after defining
12336 * pwd/Makefile: Likewise.
12337 * resolv/Makefile: Likewise.
12338 * resource/Makefile: Likewise.
12339 * rt/Makefile: Likewise.
12340 * setjmp/Makefile: Likewise.
12341 * shadow/Makefile: Likewise.
12342 * signal/Makefile: Likewise.
12343 * socket/Makefile: Likewise.
12344 * soft-fp/Makefile: Likewise.
12345 * stdio-common/Makefile: Likewise.
12346 * stdlib/Makefile: Likewise.
12347 * streams/Makefile: Likewise.
12348 * string/Makefile: Likewise.
12349 * sunrpc/Makefile: Likewise.
12350 (all): Remove target.
12351 * sysvipc/Makefile: Include Makeconfig immediately after defining
12353 * termios/Makefile: Likewise.
12354 * time/Makefile: Likewise.
12355 * timezone/Makefile: Likewise.
12356 (all): Remove target.
12357 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12359 * wctype/Makefile: Likewise.
12361 2014-02-26 Steve Ellcey <sellcey@mips.com>
12363 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12364 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12365 (libc_feholdexcept_setround_mips): Ditto.
12366 (libc_feholdsetround): New.
12367 (libc_feholdsetroundf): New.
12368 (libc_feholdsetroundl): New.
12369 (libc_feupdateenv_test_mips): New.
12370 (libc_feupdateenv_test): New.
12371 (libc_feupdateenv_testf): New.
12372 (libc_feupdateenv_testl): New.
12373 (libc_feresetround): New.
12374 (libc_feresetroundf): New.
12375 (libc_feresetroundl): New.
12376 (libc_fetestexcept_mips): New.
12377 (libc_fetestexcept): New.
12378 (libc_fetestexceptf): New.
12379 (libc_fetestexceptl): New.
12380 (HAVE_RM_CTX): New.
12381 (libc_feholdexcept_setround_mips_ctx): New.
12382 (libc_feholdexcept_setround_ctx): New.
12383 (libc_feholdexcept_setroundf_ctx): New.
12384 (libc_feholdexcept_setroundl_ctx): New.
12385 (libc_fesetenv_mips_ctx): New.
12386 (libc_fesetenv_ctx): New.
12387 (libc_fesetenv_ctxf): New.
12388 (libc_fesetenv_ctxl): New.
12389 (libc_feupdateenv_mips_ctx): New.
12390 (libc_feupdateenv_ctx): New.
12391 (libc_feupdateenvf_ctx): New.
12392 (libc_feupdateenvl_ctx): New.
12393 (libc_feholdsetround_mips_ctx): New.
12394 (libc_feholdsetround_ctx): New.
12395 (libc_feholdsetroundf_ctx): New.
12396 (libc_feholdsetroundl_ctx): New.
12397 (libc_feresetround_mips_ctx): New.
12398 (libc_feresetround_ctx): New.
12399 (libc_feresetroundf_ctx): New.
12400 (libc_feresetroundl_ctx): New.
12402 2014-02-26 Carlos O'Donell <carlos@redhat.com>
12404 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12406 * manual/ipc.texi: New file.
12407 * manual/Makefile (chapters): Add ipc.
12408 * manual/job.texi: Add "Inter-Process Communication" to next.
12409 * manual/process.texi: Add "Inter-Process Communication" to prev.
12411 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12415 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
12417 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12419 * manual/arith.texi: Fix spaces after sentences.
12420 * manual/charset.texi: Likewise.
12421 * manual/errno.texi: Likewise.
12422 * manual/install.texi: Likewise.
12423 * manual/llio.texi: Likewise.
12424 * manual/locale.texi: Likewise.
12425 * manual/maint.texi: Likewise.
12426 * manual/math.texi: Likewise.
12427 * manual/memory.texi: Likewise.
12428 * manual/message.texi: Likewise.
12429 * manual/probes.texi: Likewise.
12430 * manual/resource.texi: Likewise.
12431 * manual/signal.texi: Likewise.
12432 * manual/socket.texi: Likewise.
12433 * manual/stdio.texi: Likewise.
12434 * manual/string.texi: Likewise.
12435 * manual/time.texi: Likewise.
12436 * manual/users.texi: Likewise.
12438 2014-02-25 Carlos O'Donell <carlos@redhat.com>
12441 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12442 _DEFAULT_SOURCE is defined.
12444 2014-02-25 Ulrich Drepper <drepper@gmail.com>
12445 Carlos O'Donell <carlos@redhat.com>
12448 * elf/dl-tls.c (_dl_count_modids): New function.
12449 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12450 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12451 audit library and increment generation counter.
12452 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12453 * elf/tst-audit9.c: New file.
12454 * elf/tst-auditmod9a.c: New file.
12455 * elf/tst-auditmod9b.c: New file.
12456 * elf/Makefile: Add rules to build and run tst-audit9.
12458 2014-02-25 Florian Weimer <fweimer@redhat.com>
12461 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12463 2014-02-25 Will Newton <will.newton@linaro.org>
12465 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12466 (__longjmp): Restore sp and lr before restoring callee
12467 saved registers. Add longjmp and longjmp_target
12468 SystemTap probe point.
12469 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12470 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12471 Define to zero to match jmpbuf layout.
12472 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12473 (__sigsetjmp): Save sp and lr before saving callee
12474 saved registers. Add setjmp SystemTap probe point.
12476 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12478 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12480 2014-02-24 Andreas Schwab <schwab@suse.de>
12483 * elf/pldd.c (wait_for_ptrace_stop): New function.
12484 (main): Call it after attaching.
12486 2014-02-22 Roland McGrath <roland@hack.frob.com>
12488 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12489 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12490 Versions files is now verboten.
12491 * hurd/Versions (libc: GLIBC_2.0):
12492 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12493 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12494 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12495 * mach/Versions: Likewise.
12497 * csu/Versions: Remove unused %include.
12498 * resolv/Versions: Likewise.
12500 2014-02-21 Joseph Myers <joseph@codesourcery.com>
12502 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12503 ($(objpfx)check-local-headers.out): Likewise.
12504 ($(objpfx)begin-end-check.out): Likewise.
12505 * Makerules (check-abi-%.out): Likewise.
12506 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12507 ($(objpfx)test2.cat): Likewise.
12508 ($(objpfx)de/libc.cat): Likewise.
12509 ($(objpfx)test-gencat.out): Likewise.
12510 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12511 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12512 ($(objpfx)noload-mem): Likewise.
12513 ($(objpfx)tst-pathopt.out): Likewise.
12514 ($(objpfx)tst-rtld-load-self.out): Likewise.
12515 ($(objpfx)tst-array1-cmp.out): Likewise.
12516 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12517 ($(objpfx)tst-array2-cmp.out): Likewise.
12518 ($(objpfx)tst-array3-cmp.out): Likewise.
12519 ($(objpfx)tst-array4-cmp.out): Likewise.
12520 ($(objpfx)tst-array5-cmp.out): Likewise.
12521 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12522 ($(objpfx)check-textrel.out): Likewise.
12523 ($(objpfx)check-execstack.out): Likewise.
12524 ($(objpfx)check-localplt.out): Likewise.
12525 ($(objpfx)order2-cmp.out): Likewise.
12526 ($(objpfx)tst-leaks1-mem): Likewise.
12527 ($(objpfx)tst-leaks1-static-mem): Likewise.
12528 ($(objpfx)tst-initorder-cmp.out): Likewise.
12529 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12530 ($(objpfx)tst-unused-dep.out): Likewise.
12531 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12532 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12533 * iconv/Makefile (test-iconvconfig): Likewise.
12534 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12535 ($(objpfx)iconv-test.out): Likewise.
12536 ($(objpfx)tst-tables.out): Likewise.
12537 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12538 ($(objpfx)tst-gettext.out): Likewise.
12539 ($(objpfx)tst-translit.out): Likewise.
12540 ($(objpfx)tst-gettext2.out): Likewise.
12541 ($(objpfx)tst-gettext4.out): Likewise.
12542 ($(objpfx)tst-gettext6.out): Likewise.
12543 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12544 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12545 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12546 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12547 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12548 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12549 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12550 ($(objpfx)wordexp-tst.out): Likewise.
12551 ($(objpfx)annexc.out): Likewise.
12552 ($(objpfx)tst-fnmatch-mem): Likewise.
12553 ($(objpfx)bug-regex2-mem): Likewise.
12554 ($(objpfx)bug-regex14-mem): Likewise.
12555 ($(objpfx)bug-regex21-mem): Likewise.
12556 ($(objpfx)bug-regex31-mem): Likewise.
12557 ($(objpfx)tst-vfork3-mem): Likewise.
12558 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12559 ($(objpfx)tst-pcre-mem): Likewise.
12560 ($(objpfx)tst-boost-mem): Likewise.
12561 ($(objpfx)tst-getconf.out): Likewise.
12562 ($(objpfx)bug-ga2-mem): Likewise.
12563 ($(objpfx)bug-glob2-mem): Likewise.
12564 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12565 ($(objpfx)mtrace-tst-leaks2): Likewise.
12566 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12567 ($(objpfx)tst-printf.out): Likewise.
12568 ($(objpfx)tst-setvbuf1.out): Likewise.
12569 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12570 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12571 ($(objpfx)tst-fmtmsg.out): Likewise.
12572 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12573 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12575 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12576 * bits/sigaction.h [__USE_MISC]: Likewise.
12577 * bits/waitstatus.h: Update #endif comments.
12578 * ctype/ctype.h: Likewise.
12579 * dirent/dirent.h: Likewise.
12580 [__USE_MISC]: Remove redundant conditionals.
12581 * grp/grp.h: Update #endif comments.
12582 [__USE_GNU]: Remove redundant conditionals.
12583 [__USE_MISC]: Likewise.
12584 * inet/netinet/in.h [__USE_GNU]: Likewise.
12585 * io/sys/stat.h [__USE_MISC]: Likewise.
12586 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12587 * libio/bits/stdio.h: Update #endif comments.
12588 [__USE_MISC]: Remove redundant conditionals.
12589 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12590 * libio/stdio.h: Update #endif comments.
12591 [__USE_MISC]: Remove redundant conditionals.
12592 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12593 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12594 * math/math.h: Update #else and #endif comments.
12595 [__USE_MISC]: Remove redundant conditionals.
12596 * misc/sys/uio.h: Update #endif comments.
12597 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12598 * posix/glob.h [__USE_MISC]: Likewise.
12599 * posix/sys/types.h: Update #endif comments.
12600 [__USE_MISC]: Remove redundant conditionals.
12601 * posix/sys/wait.h: Update #endif comments.
12602 [__USE_MISC]: Remove redundant conditionals.
12603 * posix/unistd.h: Update #endif comments.
12604 [__USE_MISC]: Remove redundant conditionals.
12605 * pwd/pwd.h [__USE_GNU]: Likewise.
12606 [__USE_MISC]: Likewise.
12607 * resolv/netdb.h [__USE_GNU]: Likewise.
12608 * signal/signal.h: Update #endif comments.
12609 [__USE_MISC]: Remove redundant conditionals.
12610 * stdlib/stdlib.h: Update #else and #endif comments.
12611 [__USE_MISC]: Remove redundant conditionals.
12612 [__USE_GNU]: Likewise.
12613 * string/bits/string2.h [__USE_MISC]: Likewise.
12614 * string/string.h: Update #endif comments.
12615 [__USE_MISC]: Remove redundant conditionals.
12616 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12618 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12619 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12620 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12622 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12624 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12626 [__USE_MISC]: Remove redundant conditionals.
12627 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12628 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12629 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12630 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12631 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12633 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12634 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12636 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12637 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12639 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12641 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12642 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12644 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12646 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12647 * sysdeps/x86/bits/string.h: Update #endif comments.
12648 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12650 * time/sys/time.h: Update #endif comments.
12651 * time/time.h: Likewise.
12652 [__USE_MISC]: Remove redundant conditionals.
12654 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12657 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12659 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12661 * Versions.def (librt): Add GLIBC_2.17.
12663 2014-02-21 Adam Conrad <adconrad@0c3.net>
12665 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12666 synonym for _SYS_AUXV_H to allow direct inclusion.
12667 * sysdeps/sparc/bits/hwcap.h: Likewise.
12668 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12669 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12670 * sysdeps/sparc/sysdep.h: Likewise.
12672 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12674 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12676 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12678 * benchtests/bench-strrchr.c: Print length instead of position.
12680 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12683 * sysdeps/unix/sysv/linux/kernel-features.h
12684 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12685 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12686 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12687 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12689 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12690 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12691 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12692 (__ASSUME_SENDMMSG): Define instead of using previous
12693 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12694 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12695 (__ASSUME_SENDMMSG_SYSCALL): Define.
12696 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12697 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12700 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12702 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12703 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12705 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12706 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12707 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12708 [__ASSUME_SENDMMSG]: Change conditionals to
12709 [__ASSUME_SENDMMSG_SOCKETCALL].
12710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12711 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12713 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12714 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12716 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12717 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12718 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12719 [!__ASSUME_SENDMMSG]: Change conditional to
12720 [!__ASSUME_SENDMMSG_SOCKETCALL].
12721 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12722 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12726 * sysdeps/unix/sysv/linux/kernel-features.h
12727 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12728 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12729 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12730 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12731 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12732 [__i386__ || __sparc__]
12733 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12734 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12735 (__ASSUME_RECVMMSG): Define instead of using previous
12736 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12737 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12738 (__ASSUME_RECVMMSG_SYSCALL): Define.
12739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12740 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12742 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12743 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12745 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12748 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12749 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12750 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12751 [__ASSUME_RECVMMSG]: Change condition to
12752 [__ASSUME_RECVMMSG_SOCKETCALL].
12753 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12754 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12756 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12757 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12760 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12761 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12762 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12763 [!__ASSUME_RECVMMSG]: Change condition to
12764 [!__ASSUME_RECVMMSG_SOCKETCALL].
12765 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12766 (__ASSUME_RECVMMSG_SYSCALL): Define.
12769 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12770 __powerpc__ || __s390__ || __sh__ || __sparc__]
12771 (__ASSUME_SOCKETCALL): Define.
12772 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12773 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12774 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12775 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12776 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12777 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12778 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12779 (__ASSUME_ACCEPT4): Define instead of using previous
12780 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12781 __powerpc__ || __sparc__ || __s390__)] condition.
12782 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12783 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12784 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12785 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12786 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12787 [!__ASSUME_ACCEPT4]: Change condition to
12788 [!__ASSUME_ACCEPT4_SOCKETCALL].
12789 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12790 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12791 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12792 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12793 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12794 __ASSUME_ACCEPT4_SYSCALL.
12795 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12796 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12797 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12798 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12799 __ASSUME_ACCEPT4_SYSCALL.
12800 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12801 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12802 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12803 [__ASSUME_ACCEPT4]: Change condition to
12804 [__ASSUME_ACCEPT4_SOCKETCALL].
12805 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12806 (__ASSUME_SOCKETCALL): Define.
12807 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12808 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12809 (__ASSUME_SOCKETCALL): Define.
12810 (__ASSUME_ACCEPT4): Remove.
12811 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12813 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12814 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12817 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12819 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12821 (HWCAP_ARM_LPAE): Likewise.
12822 (HWCAP_ARM_EVTSTRM): Likewise.
12823 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12824 Add vpfd32, lpae and evtstrm.
12825 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12828 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12830 * math/auto-libm-test-in: Add tests of clog10.
12831 * math/auto-libm-test-out: Regenerated.
12832 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12833 * sysdeps/i386/fpu/libm-test-ulps: Update.
12834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12836 2014-02-18 Andreas Schwab <schwab@suse.de>
12839 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12840 Store non-zero if the second buffer was newly allocated.
12841 (send_dg): Likewise.
12842 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12843 to send_vc and send_dg.
12844 (res_nsend): Pass NULL for ansp2_malloced.
12845 * resolv/res_query.c (__libc_res_nquery): Add parameter
12846 answerp2_malloced and pass it down to __libc_res_nsend.
12847 (res_nquery): Pass additional NULL to __libc_res_nquery.
12848 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12849 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12850 second answer buffer if answerp2_malloced was set.
12851 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12852 (__libc_res_nquerydomain): Add parameter
12853 answerp2_malloced and pass it down to __libc_res_nquery.
12854 (res_nquerydomain): Pass additional NULL to
12855 __libc_res_nquerydomain.
12856 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12857 additional NULL to __libc_res_nsend and __libc_res_nquery.
12858 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12859 additional NULL to __libc_res_nsearch.
12860 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12861 parameter of __libc_res_nsearch to check for separately allocated
12863 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12865 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12866 additional NULL to __libc_res_nquery.
12867 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12868 __libc_res_nsearch.
12869 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12870 * include/resolv.h: Update prototypes of __libc_res_nquery,
12871 __libc_res_nsearch, __libc_res_nsend.
12873 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12875 * math/auto-libm-test-in: Add tests of fma.
12876 * math/auto-libm-test-out: Regenerated.
12877 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12878 (fma_towardzero_test_data): Likewise.
12879 (fma_downward_test_data): Likewise.
12880 (fma_upward_test_data): Likewise.
12881 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12883 (rounding_modes): Add values for new field.
12884 (func_calc_method): Add value mpfr_fff_f.
12885 (func_calc_desc): Add mpfr_fff_f union field.
12886 (test_function): Add field exact_args.
12887 (FUNC): Add macro argument EXACT_ARGS.
12888 (FUNC_mpfr_f_f): Update call to FUNC.
12889 (FUNC_mpfr_f_f): Likewise.
12890 (FUNC_mpfr_ff_f): Likewise.
12891 (FUNC_mpfr_if_f): Likewise.
12892 (FUNC_mpc_c_f): Likewise.
12893 (FUNC_mpc_c_c): Likewise.
12894 (test_functions): Add fma. Update calls to FUNC.
12895 (handle_input_arg): Add argument exact_args.
12896 (add_test): Update call to handle_input_arg.
12897 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12898 (output_for_one_input_case): Update call to calc_generic_results.
12899 Recalculate exact zero results in each rounding mode.
12901 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12902 non-negative before setting low bit.
12903 * math/auto-libm-test-in: Mark one asin test possibly having
12904 spurious underflow.
12905 * math/auto-libm-test-out: Regenerated.
12906 * sysdeps/i386/fpu/libm-test-ulps: Update.
12907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12909 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12911 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12912 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12913 ports/sysdeps/unix/sysv/linux/microblaze.
12914 * README: Add missing listing for microblaze*-*-linux-gnu.
12916 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12918 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12921 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12923 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12924 * sysdeps/unix/sysv/linux/ia64: Move directory from
12925 ports/sysdeps/unix/sysv/linux/ia64.
12926 * README: Update listing for ia64-*-linux-gnu.
12928 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12929 Joseph Myers <joseph@codesourcery.com>
12931 * Makeconfig (test-name): New variable.
12932 (evaluate-test): Likewise.
12933 * Makerules (do-test-clean): Remove .test-result files.
12934 (common-mostlyclean): Likewise.
12935 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12936 * scripts/evaluate-test.sh: New file.
12938 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12940 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12941 separate $(objpfx)tst-fopenloc-cmp.out and
12942 $(objpfx)tst-fopenloc-mem.out targets.
12943 (tests): Update dependencies.
12944 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12945 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12946 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12947 (tst-rxspencer-no-utf8-ARGS): New variable.
12948 (tst-rxspencer-no-utf8-ENV): Likewise.
12949 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12950 instead of $(objpfx)tst-rxspencer-mem.
12951 ($(objpfx)tst-rxspencer-mem): Change target to
12952 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12953 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12954 * posix/tst-rxspencer-no-utf8.c: New file.
12956 * elf/Makefile ($(objpfx)order.out): Remove rule.
12957 [$(run-built-tests) = yes] (tests): Depend on
12958 $(objpfx)order-cmp.out.
12959 ($(objpfx)order-cmp.out): New rule.
12960 [$(run-built-tests) = yes] (tests): Depend on
12961 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12962 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12963 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12964 $(objpfx)tst-array5-static-cmp.out.
12965 ($(objpfx)tst-array1.out): Remove rule.
12966 ($(objpfx)tst-array1-cmp.out): New rule.
12967 ($(objpfx)tst-array1-static.out): Remove rule.
12968 ($(objpfx)tst-array1-static-cmp.out): New rule.
12969 ($(objpfx)tst-array2.out): Remove rule.
12970 ($(objpfx)tst-array2-cmp.out): New rule.
12971 ($(objpfx)tst-array3.out): Remove rule.
12972 ($(objpfx)tst-array3-cmp.out): New rule.
12973 ($(objpfx)tst-array4.out): Remove rule.
12974 ($(objpfx)tst-array4-cmp.out): New rule.
12975 ($(objpfx)tst-array5.out): Remove rule.
12976 ($(objpfx)tst-array5-cmp.out): New rule.
12977 ($(objpfx)tst-array5-static.out): Remove rule.
12978 ($(objpfx)tst-array5-static-cmp.out): New rule.
12979 [$(run-built-tests) = yes] (tests): Depend on
12980 $(objpfx)order2-cmp.out.
12981 ($(objpfx)order2.out): Remove rule.
12982 ($(objpfx)order2-cmp.out): New rule.
12983 ($(objpfx)tst-initorder.out): Remove rule.
12984 [$(run-built-tests) = yes] (tests): Depend on
12985 $(objpfx)tst-initorder-cmp.out.
12986 ($(objpfx)tst-initorder-cmp.out): New rule.
12987 ($(objpfx)tst-initorder2.out): Remove rule.
12988 [$(run-built-tests) = yes] (tests): Depend on
12989 $(objpfx)tst-initorder2-cmp.out.
12990 ($(objpfx)tst-initorder2-cmp.out): New rule.
12991 [$(run-built-tests) = yes] (tests): Depend on
12992 $(objpfx)tst-unused-dep-cmp.out.
12993 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12994 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12995 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12996 on $(objpfx)tst-setvbuf1-cmp.out.
12997 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12998 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12999 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13000 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13001 ($(objpfx)tst-svc.out): Remove rule.
13002 ($(objpfx)tst-svc-cmp.out): New rule.
13004 2014-02-13 Joseph Myers <joseph@codesourcery.com>
13006 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13007 * ctype/ctype.h [__USE_MISC]: Likewise.
13008 * dirent/dirent.h [__USE_MISC]: Likewise.
13009 * grp/grp.h [__USE_MISC]: Likewise.
13010 * io/fcntl.h [__USE_MISC]: Likewise.
13011 * io/sys/stat.h [__USE_MISC]: Likewise.
13012 * libio/stdio.h [__USE_MISC]: Likewise.
13013 * posix/unistd.h [__USE_MISC]: Likewise.
13014 * pwd/pwd.h [__USE_MISC]: Likewise.
13015 * stdlib.h [__USE_MISC]: Likewise.
13016 * string/bits/string2.h [__USE_MISC]: Likewise.
13017 * string/string.h [__USE_MISC]: Likewise.
13018 * time/time.h [__USE_MISC]: Likewise.
13020 2014-02-13 Andreas Schwab <schwab@suse.de>
13023 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13024 second answer buffer if it was separately allocated.
13026 2014-02-12 Joseph Myers <joseph@codesourcery.com>
13028 * sysdeps/mips/math-tests.h: Include <features.h>.
13029 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13030 (ROUNDING_TESTS_long_double): Do not define.
13031 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13032 (EXCEPTION_TESTS_long_double): Likewise.
13033 * sysdeps/mips/mips64/libm-test-ulps: Update.
13035 * include/features.h (__USE_BSD): Remove macro definitions.
13036 (__USE_SVID): Likewise.
13037 (_BSD_SOURCE): Likewise.
13038 (_SVID_SOURCE): Likewise.
13039 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13040 from definition of _DEFAULT_SOURCE.
13041 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13043 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13044 * bits/mman.h [__USE_BSD]: Likewise.
13045 * bits/termios.h [__USE_BSD]: Likewise.
13046 * bits/waitstatus.h [__USE_BSD]: Likewise.
13047 * ctype/ctype.h [__USE_SVID]: Likewise.
13048 * dirent/dirent.h [__USE_BSD]: Likewise.
13049 * grp/grp.h [__USE_SVID]: Likewise.
13050 [__USE_BSD]: Likewise.
13051 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13052 * io/fcntl.h [__USE_BSD]: Likewise.
13053 * io/ftw.h [__USE_BSD]: Likewise.
13054 * io/sys/stat.h [__USE_BSD]: Likewise.
13055 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13056 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13057 * libio/stdio.h [__USE_SVID]: Likewise.
13058 [__USE_BSD]: Likewise.
13059 * math/math.h [__USE_SVID]: Likewise.
13060 [__USE_BSD]: Likewise.
13061 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13062 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13063 * misc/search.h [__USE_SVID]: Likewise.
13064 * misc/sys/mman.h [__USE_BSD]: Likewise.
13065 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13066 * misc/sys/uio.h [__USE_BSD]: Likewise.
13067 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13068 * posix/glob.h [__USE_BSD]: Likewise.
13069 * posix/regex.h [__USE_BSD]: Likewise.
13070 * posix/sys/types.h [__USE_BSD]: Likewise.
13071 [__USE_SVID]: Likewise.
13072 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13073 * posix/sys/wait.h [__USE_BSD]: Likewise.
13074 [__USE_SVID]: Likewise.
13075 * posix/unistd.h [__USE_BSD]: Likewise.
13076 [__USE_SVID]: Likewise.
13077 * pwd/pwd.h [__USE_SVID]: Likewise.
13078 * resolv/netdb.h [__USE_BSD]: Likewise.
13079 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13080 * signal/signal.h [__USE_BSD]: Likewise.
13081 [__USE_SVID]: Likewise.
13082 * socket/sys/socket.h [__USE_BSD]: Likewise.
13083 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13084 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13085 [__USE_SVID]: Likewise.
13086 * string/bits/string2.h [__USE_BSD]: Likewise.
13087 [__USE_SVID]: Likewise.
13088 * string/bits/string3.h [__USE_BSD]: Likewise.
13089 * string/endian.h [__USE_BSD]: Likewise.
13090 * string/string.h [__USE_SVID]: Likewise.
13091 [__USE_BSD]: Likewise.
13092 * string/strings.h [__USE_BSD]: Likewise.
13093 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13094 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13095 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13096 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13097 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13098 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13102 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13103 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13105 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13106 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13108 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13110 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13111 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13112 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13114 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13116 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13117 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13118 * termios/termios.h [__USE_BSD]: Likewise.
13119 * time/sys/time.h [__USE_BSD]: Likewise.
13120 * time/time.h [__USE_BSD]: Likewise.
13121 [__USE_SVID]: Likewise.
13123 * Makefile (subdir_targets): Remove subdir_lint.out.
13125 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13126 (do-tst-printf): Likewise.
13127 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13128 $(objpfx)tst-printf.out.
13130 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13132 * Makerules (check-abi-%): Change target to
13133 $(objpfx)check-abi-%.out.
13134 (check-abi target): Update dependencies.
13135 (check-abi-pattern variable): Redirect output of diff to $@.
13136 (check-abi variable): Likewise.
13137 * elf/Makefile (check-abi): Update dependencies.
13139 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13141 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13142 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13144 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13145 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13146 value has largest subnormal exponent.
13147 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13148 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13149 * sysdeps/aarch64/soft-fp/sfp-machine.h
13150 (_FP_TININESS_AFTER_ROUNDING): New macro.
13151 * sysdeps/alpha/soft-fp/sfp-machine.h
13152 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13153 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13155 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13157 * sysdeps/mips/soft-fp/sfp-machine.h
13158 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13159 * sysdeps/powerpc/soft-fp/sfp-machine.h
13160 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13161 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13163 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13166 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13167 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13170 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
13173 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13176 2014-02-12 Richard Henderson <rth@redhat.com>
13178 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13179 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13180 * sysdeps/unix/sysv/linux/alpha: Move directory from
13181 ports/sysdeps/unix/sysv/linux/alpha.
13182 * README: Update listing for alpha-*-linux-gnu.
13184 2014-02-11 Joseph Myers <joseph@codesourcery.com>
13186 * include/features.h: Update comment documenting feature test
13188 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13190 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13191 (_SVID_SOURCE): Likewise.
13192 (_DEFAULT_SOURCE): Update description of default features.
13193 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13195 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13196 (S_ISVTX): Likewise.
13197 * manual/math.texi (Mathematical Constants): Likewise.
13198 * manual/signal.texi (Interrupted Primitives): Likewise.
13199 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13200 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13201 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13202 Don't refer to _SVID_SOURCE in warning text.
13204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13206 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13208 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13209 * sysdeps/mips/dl-lookup.c: Remove.
13210 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13212 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13215 * math/auto-libm-test-in: Add testcase for expl.
13216 * math/auto-libm-test-out: Regenerate.
13217 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13218 calculation of unsafe.
13219 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13221 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13223 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13224 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13225 ports/sysdeps/unix/sysv/linux/aarch64.
13226 * README: Update listing for aarch64*-*-linux-gnu.
13228 2014-02-11 Will Newton <will.newton@linaro.org>
13230 * manual/probes.texi (Mathematical Function Probes): Use
13231 "triggered" instead of "hit".
13233 * manual/probes.texi (Internal Probes): Add documentation
13234 of setjmp, longjmp and longjmp_target probes.
13236 * include/stap-probe.h: Add comment about probe argument
13239 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13240 definition. (tr_where, tr_freehook, tr_mallochook,
13241 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13243 2014-02-11 David S. Miller <davem@davemloft.net>
13245 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13246 processing int_tests.
13248 2014-02-10 Joseph Myers <joseph@codesourcery.com>
13250 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13251 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13252 * sysdeps/unix/sysv/linux/mips: Move directory from
13253 ports/sysdeps/unix/sysv/linux/mips.
13254 * README: Update listing for mips-*-linux-gnu and
13255 mips64-*-linux-gnu.
13257 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13259 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13260 * sysdeps/unix/sysv/linux/m68k: Move directory from
13261 ports/sysdeps/unix/sysv/linux/m68k.
13262 * README: Update listing for m68k-*-linux-gnu.
13264 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13266 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13267 * sysdeps/unix/sysv/linux/generic: Move directory from
13268 ports/sysdeps/unix/sysv/linux/generic.
13269 * sysdeps/unix/sysv/linux/tile: Move directory from
13270 ports/sysdeps/unix/sysv/linux/tile.
13271 * README: Update listing for tile*-*-linux-gnu.
13273 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
13275 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13277 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13278 * catgets/open_catalog.c (__open_catalog): Likewise.
13279 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13280 * debug/confstr_chk.c: Likewise.
13281 * debug/fread_chk.c (__fread_chk): Likewise.
13282 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13283 * debug/getgroups_chk.c: Likewise.
13284 * debug/mbsnrtowcs_chk.c: Likewise.
13285 * debug/mbsrtowcs_chk.c: Likewise.
13286 * debug/mbstowcs_chk.c: Likewise.
13287 * debug/memcpy_chk.c: Likewise.
13288 * debug/memmove_chk.c: Likewise.
13289 * debug/mempcpy_chk.c: Likewise.
13290 * debug/memset_chk.c: Likewise.
13291 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13292 * debug/strcat_chk.c (__strcat_chk): Likewise.
13293 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13294 * debug/strncat_chk.c (__strncat_chk): Likewise.
13295 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13296 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13297 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13298 * debug/wcpncpy_chk.c: Likewise.
13299 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13300 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13301 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13302 * debug/wcsncpy_chk.c: Likewise.
13303 * debug/wcsnrtombs_chk.c: Likewise.
13304 * debug/wcsrtombs_chk.c: Likewise.
13305 * debug/wcstombs_chk.c: Likewise.
13306 * debug/wmemcpy_chk.c: Likewise.
13307 * debug/wmemmove_chk.c: Likewise.
13308 * debug/wmempcpy_chk.c: Likewise.
13309 * debug/wmemset_chk.c: Likewise.
13310 * dirent/scandirat.c (SCANDIRAT): Likewise.
13311 * dlfcn/dladdr1.c (dladdr1): Likewise.
13312 * dlfcn/dladdr.c (dladdr): Likewise.
13313 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13314 * dlfcn/dlerror.c (__dlerror): Likewise.
13315 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13316 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13317 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13318 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13319 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13320 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13321 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13322 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13324 * elf/dl-conflict.c: Likewise.
13325 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13326 * elf/dl-dst.h: Likewise.
13327 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13328 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13329 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13330 * elf/dl-init.c (call_init, _dl_init): Likewise.
13331 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
13332 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13333 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13335 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13337 * elf/dl-minimal.c (__libc_memalign): Likewise.
13338 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13339 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13340 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13341 * elf/dl-sym.c (do_sym): Likewise.
13342 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13343 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
13344 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13345 * elf/dl-writev.h (_dl_writev): Likewise.
13346 * elf/ldconfig.c (search_dir): Likewise.
13347 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13348 (dl_main): Likewise.
13349 * elf/setup-vdso.h (setup_vdso): Likewise.
13350 * grp/compat-initgroups.c (compat_call): Likewise.
13351 * grp/fgetgrent.c (fgetgrent): Likewise.
13352 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13353 * grp/putgrent.c (putgrent): Likewise.
13354 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13356 * hurd/hurdinit.c: Likewise.
13357 * iconvdata/8bit-gap.c (struct): Likewise.
13358 * iconvdata/ansi_x3.110.c : Likewise.
13359 * iconvdata/big5.c : Likewise.
13360 * iconvdata/big5hkscs.c : Likewise.
13361 * iconvdata/cp1255.c: Likewise.
13362 * iconvdata/cp1258.c : Likewise.
13363 * iconvdata/cp932.c : Likewise.
13364 * iconvdata/euc-cn.c: Likewise.
13365 * iconvdata/euc-jisx0213.c : Likewise.
13366 * iconvdata/euc-jp.c: Likewise.
13367 * iconvdata/euc-jp-ms.c : Likewise.
13368 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13369 * iconvdata/gb18030.c : Likewise.
13370 * iconvdata/gbbig5.c (const): Likewise.
13371 * iconvdata/gbgbk.c: Likewise.
13372 * iconvdata/gbk.c : Likewise.
13373 * iconvdata/ibm1364.c : Likewise.
13374 * iconvdata/ibm930.c : Likewise.
13375 * iconvdata/ibm932.c: Likewise.
13376 * iconvdata/ibm933.c : Likewise.
13377 * iconvdata/ibm935.c : Likewise.
13378 * iconvdata/ibm937.c : Likewise.
13379 * iconvdata/ibm939.c : Likewise.
13380 * iconvdata/ibm943.c: Likewise.
13381 * iconvdata/iso_11548-1.c: Likewise.
13382 * iconvdata/iso-2022-cn.c : Likewise.
13383 * iconvdata/iso-2022-cn-ext.c : Likewise.
13384 * iconvdata/iso-2022-jp-3.c: Likewise.
13385 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13386 * iconvdata/iso-2022-kr.c : Likewise.
13387 * iconvdata/iso646.c (gconv_end): Likewise.
13388 * iconvdata/iso_6937-2.c : Likewise.
13389 * iconvdata/iso_6937.c : Likewise.
13390 * iconvdata/iso8859-1.c: Likewise.
13391 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13392 * iconvdata/shift_jisx0213.c : Likewise.
13393 * iconvdata/sjis.c : Likewise.
13394 * iconvdata/t.61.c : Likewise.
13395 * iconvdata/tcvn5712-1.c : Likewise.
13396 * iconvdata/tscii.c: Likewise.
13397 * iconvdata/uhc.c : Likewise.
13398 * iconvdata/unicode.c (gconv_end): Likewise.
13399 * iconvdata/utf-16.c (gconv_end): Likewise.
13400 * iconvdata/utf-32.c (gconv_end): Likewise.
13401 * iconvdata/utf-7.c (base64): Likewise.
13402 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13403 * iconv/gconv_close.c (__gconv_close): Likewise.
13404 * iconv/gconv_open.c (__gconv_open): Likewise.
13405 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13406 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13407 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13408 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13409 (ucs4le_internal_loop_single): Likewise.
13410 * iconv/iconv.c (iconv): Likewise.
13411 * iconv/iconv_close.c: Likewise.
13412 * iconv/loop.c (SINGLE): Likewise.
13413 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13414 * include/atomic.h: Likewise.
13415 * inet/inet6_option.c (option_alloc): Likewise.
13416 * intl/bindtextdom.c (set_binding_values): Likewise.
13417 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13418 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13419 * intl/localealias.c (read_alias_file): Likewise.
13420 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13421 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13422 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
13423 * libio/fmemopen.c (fmemopen): Likewise.
13424 * libio/iofgets.c (_IO_fgets): Likewise.
13425 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13426 * libio/iofgetws.c (fgetws): Likewise.
13427 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13428 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13429 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13430 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
13431 * locale/findlocale.c (_nl_find_locale): Likewise.
13432 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13433 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13435 * locale/setlocale.c (setlocale): Likewise.
13436 * login/programs/pt_chown.c (main): Likewise.
13437 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13438 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
13439 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13440 (mmap, mmap64, mremap, munmap): Likewise.
13441 * math/e_exp2l.c: Likewise.
13442 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13443 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13444 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13445 * math/s_catan.c (__catan): Likewise.
13446 * math/s_catanf.c (__catanf): Likewise.
13447 * math/s_catanh.c (__catanh): Likewise.
13448 * math/s_catanhf.c (__catanhf): Likewise.
13449 * math/s_catanhl.c (__catanhl): Likewise.
13450 * math/s_catanl.c (__catanl): Likewise.
13451 * math/s_ccosh.c (__ccosh): Likewise.
13452 * math/s_ccoshf.c (__ccoshf): Likewise.
13453 * math/s_ccoshl.c (__ccoshl): Likewise.
13454 * math/s_cexp.c (__cexp): Likewise.
13455 * math/s_cexpf.c (__cexpf): Likewise.
13456 * math/s_cexpl.c (__cexpl): Likewise.
13457 * math/s_clog10.c (__clog10): Likewise.
13458 * math/s_clog10f.c (__clog10f): Likewise.
13459 * math/s_clog10l.c (__clog10l): Likewise.
13460 * math/s_clog.c (__clog): Likewise.
13461 * math/s_clogf.c (__clogf): Likewise.
13462 * math/s_clogl.c (__clogl): Likewise.
13463 * math/s_csin.c (__csin): Likewise.
13464 * math/s_csinf.c (__csinf): Likewise.
13465 * math/s_csinh.c (__csinh): Likewise.
13466 * math/s_csinhf.c (__csinhf): Likewise.
13467 * math/s_csinhl.c (__csinhl): Likewise.
13468 * math/s_csinl.c (__csinl): Likewise.
13469 * math/s_csqrt.c (__csqrt): Likewise.
13470 * math/s_csqrtf.c (__csqrtf): Likewise.
13471 * math/s_csqrtl.c (__csqrtl): Likewise.
13472 * math/s_ctan.c (__ctan): Likewise.
13473 * math/s_ctanf.c (__ctanf): Likewise.
13474 * math/s_ctanh.c (__ctanh): Likewise.
13475 * math/s_ctanhf.c (__ctanhf): Likewise.
13476 * math/s_ctanhl.c (__ctanhl): Likewise.
13477 * math/s_ctanl.c (__ctanl): Likewise.
13478 * math/w_pow.c: Likewise.
13479 * math/w_powf.c: Likewise.
13480 * math/w_powl.c: Likewise.
13481 * math/w_scalb.c (sysv_scalb): Likewise.
13482 * math/w_scalbf.c (sysv_scalbf): Likewise.
13483 * math/w_scalbl.c (sysv_scalbl): Likewise.
13484 * misc/error.c (error_tail): Likewise.
13485 * misc/pselect.c (__pselect): Likewise.
13486 * nis/nis_callback.c (__nis_create_callback): Likewise.
13487 * nis/nis_call.c (__nisfind_server): Likewise.
13488 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13489 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13490 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13491 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13492 * nis/nis_lookup.c (nis_lookup): Likewise.
13493 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
13494 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13495 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
13496 * nis/nis_xdr.c (xdr_endpoint): Likewise.
13497 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13498 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13499 * nis/nss_compat/compat-initgroups.c (add_group)
13500 (internal_getgrent_r): Likewise.
13501 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13502 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13503 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13504 (internal_getspnam_r): Likewise.
13505 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13506 (_nss_nis_getaliasbyname_r): Likewise.
13507 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13508 (_nss_nis_getntohost_r): Likewise.
13509 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13510 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13511 (_nss_nis_getgrgid_r): Likewise.
13512 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13513 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13514 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13515 (_nss_nis_gethostbyname4_r): Likewise.
13516 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13517 (initgroups_netid): Likewise.
13518 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
13519 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13520 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13521 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13522 (_nss_nis_getprotobynumber_r): Likewise.
13523 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13524 (_nss_nis_getsecretkey): Likewise.
13525 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13526 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13527 (_nss_nis_getpwuid_r): Likewise.
13528 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13529 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13530 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13531 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13532 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13533 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
13534 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13536 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13537 (_nss_nisplus_getntohost_r): Likewise.
13538 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13539 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13540 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13541 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
13543 * nis/nss_nisplus/nisplus-initgroups.c
13544 (_nss_nisplus_initgroups_dyn): Likewise.
13545 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13546 (_nss_nisplus_getnetbyaddr_r): Likewise.
13547 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13548 (_nss_nisplus_getprotobynumber_r): Likewise.
13549 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13550 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
13551 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13553 * nis/nss_nisplus/nisplus-service.c
13554 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13555 (_nss_nisplus_getservbyport_r): Likewise.
13556 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13557 (_nss_nisplus_getspnam_r): Likewise.
13558 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13560 * nscd/aicache.c (addhstaiX): Likewise.
13561 * nscd/cache.c (cache_search, prune_cache): Likewise.
13562 * nscd/connections.c (register_traced_file, send_ro_fd)
13563 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13564 (main_loop_epoll): Likewise.
13565 * nscd/grpcache.c (addgrbyX): Likewise.
13566 * nscd/hstcache.c (addhstbyX): Likewise.
13567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13568 * nscd/mem.c (gc, mempool_alloc): Likewise.
13569 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13570 (addinnetgrX): Likewise.
13571 * nscd/nscd-client.h (__nscd_acquire_maplock)
13572 (__nscd_drop_map_ref): Likewise.
13573 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13574 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13577 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13579 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13580 (__nscd_get_map_ref): Likewise.
13581 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
13582 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13584 * nscd/pwdcache.c (addpwbyX): Likewise.
13585 * nscd/selinux.c (preserve_capabilities): Likewise.
13586 * nscd/servicescache.c (addservbyX): Likewise.
13587 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13588 * posix/fnmatch.c (fnmatch): Likewise.
13589 * posix/getopt.c (_getopt_internal_r): Likewise.
13590 * posix/glob.c (glob, glob_in_dir): Likewise.
13591 * posix/wordexp.c (exec_comm_child): Likewise.
13592 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13593 (getanswer_r, gaih_getanswer_slice): Likewise.
13594 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13595 * resolv/res_init.c: Likewise.
13596 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13597 * resolv/res_query.c (__libc_res_nquery): Likewise.
13598 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13600 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13601 * stdio-common/perror.c (perror): Likewise.
13602 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13603 * stdio-common/tmpnam.c (tmpnam): Likewise.
13604 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13605 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13606 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13608 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13609 * stdlib/putenv.c (putenv): Likewise.
13610 * stdlib/setenv.c (__add_to_environ): Likewise.
13611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13612 * stdlib/strtol_l.c (INTERNAL): Likewise.
13613 * string/memmem.c (memmem): Likewise.
13614 * string/strerror.c (strerror): Likewise.
13615 * string/strnlen.c (__strnlen): Likewise.
13616 * string/test-memmem.c (simple_memmem): Likewise.
13617 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13618 * sunrpc/pm_getport.c (__get_socket): Likewise.
13619 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13620 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13621 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13622 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13624 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13626 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13627 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13628 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13629 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13631 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13633 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13634 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13635 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13636 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13637 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13639 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13640 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13641 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13642 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13643 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13644 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13648 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13654 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13655 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13656 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13659 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13660 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13661 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13662 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13663 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13665 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13667 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13669 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13671 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13675 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13677 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13678 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13679 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13680 * sysdeps/posix/sleep.c: Likewise.
13681 * sysdeps/posix/tempname.c: Likewise.
13682 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13683 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13685 * sysdeps/powerpc/powerpc32/dl-machine.h
13686 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13687 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13689 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13690 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13692 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13694 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13696 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13697 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13698 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13699 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13700 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13701 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13703 (elf_machine_lazy_rel): Likewise.
13704 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13706 (elf_machine_lazy_rel): Likewise.
13707 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13708 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13709 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13710 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13711 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13712 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13713 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13716 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13717 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13718 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13719 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13720 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13721 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13722 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13723 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13724 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13725 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13726 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13728 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13729 (__posix_fallocate64_l64): Likewise.
13730 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13731 (posix_fallocate): Likewise.
13732 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13735 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13736 (getifaddrs_internal): Likewise.
13737 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13738 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13739 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13740 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13741 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13742 (__posix_fallocate64_l64): Likewise.
13743 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13745 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13746 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13747 (__get_clockfreq): Likewise.
13748 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13749 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13750 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13753 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13754 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13755 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13757 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13758 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13759 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13760 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13761 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13762 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13763 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13765 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13766 (posix_fallocate): Likewise.
13767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13768 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13769 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13770 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13771 (elf_machine_rela, elf_machine_rela_relative)
13772 (elf_machine_lazy_rel): Likewise.
13773 * time/asctime.c (asctime_internal): Likewise.
13774 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13775 * time/tzset.c (__tzset_parse_tz): Likewise.
13776 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13777 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13778 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13779 * wcsmbs/wcsmbsload.h: Likewise.
13782 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13784 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13785 (arena_get2): Remove THREAD_STATS conditionals.
13786 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13787 (__malloc_stats, int): Likewise.
13789 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13791 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13792 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13794 * manual/setjmp.texi: Fix typos/grammar errors.
13796 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13797 Only return early when n is <= 0. Delete unused return statement.
13799 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13800 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13801 * debug/tst-longjmp_chk3.c: New file.
13803 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13804 (test_main): Replace code with set_fortify_handler call.
13805 * debug/test-strcpy_chk.c: Likewise.
13806 * debug/tst-chk1.c: Likewise.
13807 * debug/tst-longjmp_chk.c: Likewise.
13808 * test-skeleton.c: Include fcntl.h & paths.h
13809 (set_fortify_handler): Define.
13811 * debug/tst-longjmp_chk.c: Add header comment and include
13812 ../test-skeleton.c.
13813 (do_test): Mark static.
13814 (TEST_FUNCTION): Define.
13816 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13817 (IP_PMTUDISC_INTERFACE): Likewise.
13818 (IP_MULTICAST_IF): Likewise.
13819 (IP_MULTICAST_TTL): Likewise.
13820 (IP_MULTICAST_LOOP): Likewise.
13821 (IP_ADD_MEMBERSHIP): Likewise.
13822 (IP_DROP_MEMBERSHIP): Likewise.
13823 (IP_UNBLOCK_SOURCE): Likewise.
13824 (IP_BLOCK_SOURCE): Likewise.
13825 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13826 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13827 (IP_MSFILTER): Likewise.
13828 (MCAST_JOIN_GROUP): Likewise.
13829 (MCAST_BLOCK_SOURCE): Likewise.
13830 (MCAST_UNBLOCK_SOURCE): Likewise.
13831 (MCAST_LEAVE_GROUP): Likewise.
13832 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13833 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13834 (MCAST_MSFILTER): Likewise.
13835 (IP_MULTICAST_ALL): Likewise.
13836 (IP_UNICAST_IF): Likewise.
13838 * timezone/Makefile: Delete $(have-ksh) check.
13839 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13840 * timezone/tzselect.ksh: Add +x mode bits.
13842 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13843 (ANON_INODE_FS_MAGIC): Likewise.
13844 (BDEVFS_MAGIC): Likewise.
13845 (BINFMTFS_MAGIC): Likewise.
13846 (BTRFS_TEST_MAGIC): Likewise.
13847 (CRAMFS_MAGIC_WEND): Likewise.
13848 (DEBUGFS_MAGIC): Likewise.
13849 (ECRYPTFS_SUPER_MAGIC): Likewise.
13850 (EXT3_SUPER_MAGIC): Likewise.
13851 (EXT4_SUPER_MAGIC): Likewise.
13852 (FUTEXFS_SUPER_MAGIC): Likewise.
13853 (HOSTFS_SUPER_MAGIC): Likewise.
13854 (HUGETLBFS_MAGIC): Likewise.
13855 (MINIX3_SUPER_MAGIC): Likewise.
13856 (MTD_INODE_FS_MAGIC): Likewise.
13857 (NILFS_SUPER_MAGIC): Likewise.
13858 (OPENPROM_SUPER_MAGIC): Likewise.
13859 (PIPEFS_MAGIC): Likewise.
13860 (PSTOREFS_MAGIC): Likewise.
13861 (QNX6_SUPER_MAGIC): Likewise.
13862 (RAMFS_MAGIC): Likewise.
13863 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13864 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13865 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13866 (SECURITYFS_MAGIC): Likewise.
13867 (SELINUX_MAGIC): Likewise.
13868 (SMACK_MAGIC): Likewise.
13869 (SOCKFS_MAGIC): Likewise.
13870 (SQUASHFS_MAGIC): Likewise.
13871 (STACK_END_MAGIC): Likewise.
13872 (TMPFS_MAGIC): Likewise.
13873 (USBDEVICE_SUPER_MAGIC): Likewise.
13874 (V9FS_MAGIC): Likewise.
13875 (XENFS_SUPER_MAGIC): Likewise.
13876 (CRAMFS_MAGIC): Fix typo in comment.
13877 (EXT2_SUPER_MAGIC): Update comment.
13878 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13880 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13882 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13883 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13884 * sysdeps/unix/sysv/linux/arm: Move directory from
13885 ports/sysdeps/unix/sysv/linux/arm.
13886 * README: Update listing for arm-*-linux-gnueabi.
13888 * README: Remove mention of am33.
13890 2014-02-07 Roland McGrath <roland@hack.frob.com>
13892 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13893 than the comma operator, to avoid "rhs of comma has no effect"
13895 (__sigfillset, __sigandset, __sigorset): Likewise.
13896 * include/signal.h (__sigemptyset): Likewise.
13897 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13899 2014-02-07 Allan McRae <allan@archlinux.org>
13901 * version.h (RELEASE): Set to "development".
13902 (VERSION): Set to "2.19.90"
13903 * NEWS: Add 2.20 section.
13905 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13908 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13910 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13912 * manual/contrib.texi: Update entry for Carlos O'Donell,
13913 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13915 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13917 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13919 * sysdeps/unix/sysv/linux/kernel-features.h
13920 [__LINUX_KERNEL_VERSION >= 0x020621]
13921 (__ASSUME_PROC_PID_TASK_COMM): Define.
13923 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13926 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13927 conversion when destination buffer does not have enough space.
13928 * libio/tst-ftell-partial-wide.c: New test case.
13929 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13931 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13932 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13933 Leonard and Allan McRae.
13935 2014-02-04 David S. Miller <davem@davemloft.net>
13937 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13940 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13969 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13971 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13972 * shlib-versions: Likewise.
13974 2014-02-04 Roland McGrath <roland@hack.frob.com>
13975 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13977 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13978 (abilist-pattern): New variable, set to %-le.abilist.
13980 * Makerules (abilist-pattern): New variable.
13981 (vpath): Use $(abilist-pattern) in place of %.abilist.
13982 (check-abi-% pattern rule): Likewise.
13983 (check-abi, update-abi): Likewise.
13985 2014-02-04 Eric Wong <normalperson@yhbt.net>
13987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13989 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13991 * manual/startup.texi: Add next, previous, and top entries for
13992 the `Program Arguments' and `Environment Variables' nodes.
13994 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13996 * manual/macros.texi: Add comments before MTASC-safety macros.
13998 * manual/users.texi: Document MTASC-safety properties.
14000 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14001 (pthread_getspecific, pthread_setspecific): Format with
14002 @deftypefun, and add @safety note.
14003 * manual/signal.texi: Move comments that analyze the above
14004 functions to their home place.
14006 2014-02-03 Allan McRae <allan@archlinux.org>
14008 * po/sl.po: Update Slovenian translation from translation project.
14010 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
14012 * manual/time.texi (timegm): Add missing blank after @c.
14013 Reported by Joseph Myers <joseph@codesourcery.com>.
14015 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
14017 * manual/check-safety.sh: New.
14018 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14020 * manual/terminal.texi: Document MTASC-safety properties.
14022 * manual/filesys.texi: Document MTASC-safety properties.
14024 * manual/errno.texi: Document MTASC-safety properties.
14026 * manual/intro.texi: Document safety identifiers and
14029 * manual/string.texi (wcstok): Fix prototype.
14030 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14032 * manual/time.texi: Document MTASC-safety properties.
14034 * manual/string.texi: Document MTASC-safety properties.
14036 * manual/threads.texi: Document MTASC-safety properties.
14038 * manual/stdio.texi: Document MTASC-safety properties.
14040 * manual/syslog.texi: Document MTASC-safety properties.
14042 * manual/sysinfo.texi: Document MTASC-safety properties.
14044 * manual/startup.texi: Document MTASC-safety properties.
14046 * manual/socket.texi: Document MTASC-safety properties.
14048 * manual/signal.texi: Document MTASC-safety properties.
14050 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14052 * manual/setjmp.texi: Document MTASC-safety properties.
14054 * manual/search.texi: Document MTASC-safety properties.
14056 * manual/resource.texi: Document MTASC-safety properties.
14058 * manual/process.texi: Document MTASC-safety properties.
14060 * manual/platform.texi: Document MTASC-safety properties.
14062 * manual/pipe.texi: Document MTASC-safety properties.
14064 * manual/pattern.texi: Document MTASC-safety properties.
14066 * manual/message.texi: Document MTASC-safety properties.
14069 * manual/memory.texi: Document MTASC-safety properties.
14071 * manual/math.texi: Document MTASC-safety properties.
14073 * manual/locale.texi: Document MTASC-safety properties.
14075 * manual/llio.texi: Document MTASC-safety properties.
14077 * manual/libdl.texi: New.
14079 * manual/lang.texi: Document MTASC-safety properties.
14081 * manual/job.texi: Document MTASC-safety properties.
14083 * manual/getopt.texi: Document MTASC-safety properties.
14085 * manual/ctype.texi: Document MTASC-safety properties.
14087 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14090 * csu/libc-tls.c (static_map): Remove variable.
14091 (__libc_setup_tls): Use main executable's link map for TLS data.
14092 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14093 casing for LM_ID_BASE and GL(dl_nns).
14094 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14095 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14096 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14097 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14098 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14100 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14103 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
14105 * manual/debug.texi: Document MTASC-safety properties.
14107 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14110 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14111 of __x86_64__ when disabling x87 inline functions.
14113 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
14115 * manual/charset.texi: Document MTASC-safety properties.
14117 * manual/crypt.texi: Document MTASC-safety properties.
14119 * manual/conf.texi: Document MTASC-safety properties.
14121 * manual/arith.texi: Document MTASC-safety properties.
14123 * manual/argp.texi: Document MTASC-safety properties.
14125 * manual/macros.texi: Introduce macros to document multi
14126 thread, asynchronous signal and asynchronous cancellation
14128 * manual/intro.texi: Introduce the properties themselves.
14130 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14132 * sysdeps/sh/sh4/Makefile: New file.
14134 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14136 * math/gen-libm-test.pl ($srcdir): New variable.
14137 ($auto_input): Use it.
14139 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14142 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14143 access beyond array bounds when parsing netgroups file.
14145 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14146 the old buffer before realloc.
14148 2014-01-27 Allan McRae <allan@archlinux.org>
14150 * po/fr.po: Update French translation from translation project.
14152 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14154 * sysdeps/sh/libm-test-ulps: Regenerate.
14156 2014-01-24 David S. Miller <davem@davemloft.net>
14158 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14160 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14162 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14163 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14165 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14168 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14169 string pointers after reallocation.
14171 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14173 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14174 __SH4A__ instead of __SH_FPU_ANY__.
14176 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14178 * sysdeps/sh/fpu_control.h: New file.
14179 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14180 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14181 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14182 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14183 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14184 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14185 * sysdeps/sh/sys/ucontext.h: Remove.
14186 * sysdeps/sh/sys: Remove directory.
14188 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14190 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14191 s390/sys/ucontext.h.
14192 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14193 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14195 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14198 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14200 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14204 Adjust the vDSO correctly for internal calls.
14205 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14207 2014-01-20 Allan McRae <allan@archlinux.org>
14209 * po/ca.po: Update Catalan translation from translation project.
14211 2014-01-16 Mike Frysinger <vapier@gentoo.org>
14213 * sysdeps/s390/sotruss-lib.c: New file.
14215 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14218 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
14219 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14220 local calls issues by not having a PLT stub required for IFUNC calls.
14221 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14223 2014-01-16 Joseph Myers <joseph@codesourcery.com>
14225 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14226 * math/test-fpucw-static.c: Likewise.
14228 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14231 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14233 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14235 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14236 implementation for powerpc.
14238 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
14241 * sysdeps/posix/system.c (__libc_system): Do not enable
14242 asynchronous cancellation.
14244 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14247 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14248 handling only for numbers special also in the IEEE case.
14250 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14252 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14254 2014-01-11 Allan McRae <allan@archlinux.org>
14256 * po/bg.po: Update Bulgarian translation from translation project.
14258 * po/de.po: Update German translation from translation project.
14260 2014-01-10 Roland McGrath <roland@hack.frob.com>
14262 * sysdeps/generic/gcc-compat.h: New file.
14264 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14266 * benchtests/asin-inputs: Correct slow inputs.
14267 * benchtests/acos-inputs: Likewise.
14269 2014-01-10 Allan McRae <allan@archlinux.org>
14271 * po:sv.po: Update Swedish translation from translation project.
14273 * po/vi.po: Update Vietnamese translation from translation project.
14275 * po/eo.po: Update Esperanto translation from translation project.
14277 * po/cs.po: Update Czech translation from translation project.
14279 * po/nl.po: Update Dutch translation from translation project.
14281 * po/pl.po: Update Polish translation from translation project.
14283 * po/ru.po: Update Russian translation from translation project.
14285 * po/uk.po: Update Ukrainian translation from translation project.
14287 2014-01-08 Brooks Moses <bmoses@google.com>
14289 * elf/dl-load.c: Fix comment typo.
14291 2014-01-08 Carlos O'Donell <carlos@redhat.com>
14293 * po/header.pot: Rename to...
14294 * po/pot.header: ... this.
14295 * po/Makefile: Use pot.header.
14297 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14298 Maxim Kuvyrkov <maxim@kugelworks.com>
14301 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14302 SRC and DEST against LEN.
14304 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14307 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14309 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14311 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14315 2014-01-08 Joseph Myers <joseph@codesourcery.com>
14318 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14319 for large positive arguments.
14321 2014-01-07 Joseph Myers <joseph@codesourcery.com>
14323 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14325 * math/auto-libm-test-in: Mark various tests with
14326 xfail-rounding:ldbl-128ibm.
14327 * math/auto-libm-test-out: Regenerated.
14330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14331 Increase overflow threshold.
14333 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
14336 * stdio-common/vfprintf.c: Check for integer overflow.
14338 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14340 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14341 the first argument and return value of __tls_get_addr_internal.
14343 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14345 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14346 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14348 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14350 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14351 * sysdeps/s390/rtld-global-offsets.sym: New file.
14352 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14354 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14355 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14356 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14358 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14359 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14365 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14366 halfs of GPRs for high_gprs contexts.
14367 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14368 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14370 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14374 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14375 for high GPRs (uc_high_gprs) and for future extensions
14377 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14378 for future extensions (__reserved).
14379 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14381 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14382 SC_HIGHGPRS offset definition.
14383 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14384 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14386 * Versions.def: Add GLIBC_2.19 for libpthread.
14387 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14388 siglongjmp for libpthread with GLIBC_2.19 symver.
14389 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14390 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14391 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14392 * sysdeps/s390/__longjmp.c: New file.
14393 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14394 * sysdeps/s390/longjmp.c: New file.
14395 * sysdeps/s390/setjmp.S: New file.
14396 * sysdeps/s390/sigjmp.S: New file.
14397 * sysdeps/s390/v1-longjmp.c: New file.
14398 * sysdeps/s390/v1-setjmp.h: New file.
14399 * sysdeps/s390/v1-sigjmp.c: New file.
14400 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14401 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14402 GLIBC_2.19 version.
14403 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14404 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14405 versioned symbols for ____longjmp_chk.
14406 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14416 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14417 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14418 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14419 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14420 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14421 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14422 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14423 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14424 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14425 * sysdeps/s390/rtld-__longjmp.c: New file.
14426 * sysdeps/s390/rtld-setjmp.S: New file.
14428 2014-01-06 Joseph Myers <joseph@codesourcery.com>
14431 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14432 Return -__logl (x) for small positive arguments without evaluating
14435 2014-01-06 Mike Frysinger <vapier@gentoo.org>
14437 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14439 (__ptrace_peeksiginfo_args): ... this.
14440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14444 2014-01-06 Allan McRae <allan@archlinux.org>
14446 * inet/netinet/in.h: Fix typo in comment.
14448 2014-01-05 Andreas Jaeger <aj@suse.de>
14450 * sysdeps/i386/fpu/libm-test-ulps: Update.
14452 2014-01-05 Allan McRae <allan@archlinux.org>
14454 * po/libc.pot: Regenerated.
14456 * malloc/memusagestat.c: Fix gettext call formatting.
14458 2014-01-04 Sami Kerola <kerolasa@iki.fi>
14460 * nscd/nscd.c: Improve usage() output.
14462 2014-01-04 Mike Frysinger <vapier@gentoo.org>
14464 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14465 * sysdeps/unix/sysv/linux/configure: Regenerated.
14466 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14467 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14469 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14472 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14473 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14475 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14477 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14478 extra tokens at end of #undef directive.
14479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14480 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14481 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14483 2014-01-03 Joseph Myers <joseph@codesourcery.com>
14485 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14487 * math/auto-libm-test-in: Mark various tests with
14488 xfail-rounding:ldbl-128ibm.
14489 * math/auto-libm-test-out: Regenerated.
14491 2014-01-02 Joseph Myers <joseph@codesourcery.com>
14494 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14495 numbers with subnormal high part when calculating exponent.
14498 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14502 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14504 (__ieee754_acoshl): Use __log1pl not __log1p.
14506 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
14508 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14509 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14510 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14511 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14512 (reused_arena, arena_get2): Convert to GNU style.
14513 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14514 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14515 (memalign_check, __malloc_set_state): Likewise.
14516 * malloc/mallocbug.c (main): Likewise.
14517 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14518 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14519 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14520 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14521 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14522 (__posix_memalign, malloc_info): Likewise.
14523 * malloc/malloc.h: Likewise.
14524 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14525 (mallochook, memalignhook, reallochook, mabort): Likewise.
14526 * malloc/mcheck.h: Likewise.
14527 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14528 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
14529 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14530 * malloc/morecore.c (__default_morecore): Likewise.
14531 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
14532 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14533 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14534 (print_and_abort): Likewise.
14535 * malloc/obstack.h: Likewise.
14536 * malloc/set-freeres.c (__libc_freeres): Likewise.
14537 * malloc/tst-mallocstate.c (main): Likewise.
14538 * malloc/tst-mtrace.c (main): Likewise.
14539 * malloc/tst-realloc.c (do_test): Likewise.
14541 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14544 * nscd/netgroupcache.c (do_notfound): New function.
14545 (addgetnetgrentX): Use it.
14548 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14549 NSS_STATUS_NOTFOUND.
14551 2014-01-01 Joseph Myers <joseph@codesourcery.com>
14553 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14556 2014-01-01 Allan McRae <allan@archlinux.org>
14558 * scripts/update-copyrights: Update configure input file suffix.
14560 * NEWS: Update copyright year.
14561 * catgets/gencat.c: Likewise.
14562 * csu/version.c: Likewise.
14563 * debug/catchsegv.sh: Likewise.
14564 * debug/pcprofiledump.c: Likewise.
14565 * debug/xtrace.sh: Likewise.
14566 * elf/ldconfig.c: Likewise.
14567 * elf/ldd.bash.in: Likewise.
14568 * elf/pldd.c: Likewise.
14569 * elf/sotruss.ksh: Likewise.
14570 * elf/sprof.c: Likewise.
14571 * iconv/iconv_prog.c: Likewise.
14572 * iconv/iconvconfig.c: Likewise.
14573 * locale/programs/locale.c: Likewise.
14574 * locale/programs/localedef.c: Likewise.
14575 * login/programs/pt_chown.c: Likewise.
14576 * malloc/memusage.sh: Likewise.
14577 * malloc/memusagestat.c: Likewise.
14578 * malloc/mtrace.pl: Likewise.
14579 * manual/libc.texinfo: Likewise.
14580 * nscd/nscd.c: Likewise.
14581 * nss/getent.c: Likewise.
14582 * nss/makedb.c: Likewise.
14583 * posix/getconf.c: Likewise.
14584 * scripts/test-installation.pl: Likewise.
14586 * All files with FSF copyright notices: Update copyright dates
14587 using scripts/update-copyrights.
14588 * intl/plural.c: Regenerated.
14589 * locale/programs/charmap-kw.h: Likewise.
14590 * locale/programs/locfile-kw.h: Likewise.
14592 2013-12-31 Mike Frysinger <vapier@gentoo.org>
14594 * sysdeps/unix/sysv/linux/configure: Regenerated.
14595 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14596 the linux/fanotify.h header.
14597 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14598 HAVE_LINUX_FANOTIFY_H is defined.
14600 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14602 * benchtests/cos-inputs: New inputs.
14603 * benchtests/sin-inputs: Likewise.
14605 * benchtests/atan-inputs: New inputs. Fix name of multiple
14606 precision fallback inputs.
14608 * benchtests/atanh-inputs: New inputs.
14609 * benchtests/tanh-inputs: Likewise.
14611 * benchtests/acosh-inputs: New inputs.
14612 * benchtests/asinh-inputs: Likewise.
14614 * benchtests/cosh-inputs: New inputs.
14615 * benchtests/sinh-inputs: Likewise.
14617 * benchtests/acos-inputs: Add more inputs.
14618 * benchtests/asin-inputs: Likewise.
14620 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14623 * manual/arith.texi: Fix spelling.
14624 * manual/charset.texi: Likewise.
14625 * manual/errno.texi: Likewise.
14626 * manual/filesys.texi: Likewise.
14627 * manual/lang.texi: Likewise.
14628 * manual/llio.texi: Likewise.
14629 * manual/locale.texi: Likewise.
14630 * manual/message.texi: Likewise.
14631 * manual/resource.texi: Likewise.
14632 * manual/search.texi: Likewise.
14633 * manual/setjmp.texi: Likewise.
14634 * manual/stdio.texi: Likewise.
14635 * manual/string.texi: Likewise.
14636 * manual/sysinfo.texi: Likewise.
14637 * manual/time.texi: Likewise.
14639 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14641 * po/sl.po: New file.
14643 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14645 * .gitignore: Add core/.gdbinit/.gdb_history.
14647 2013-12-27 Allan McRae <allan@archlinux.org>
14650 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14651 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14653 2013-12-24 Brooks Moses <bmoses@google.com>
14655 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14656 all compilers that claim C++98 compliance, not just GCC.
14657 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14660 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14662 * NEWS: Restore accidentally deleted bug-fix entries.
14664 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14665 Ondřej Bílka <neleai@seznam.cz>
14668 * malloc/malloc.c (_int_free): Perform sanity check only if we
14671 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14674 * manual/stdio.texi (String Input Conversions): Clarify that character
14675 classes are not supported.
14677 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14681 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14684 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14685 Calculate results for small negative arguments directly rather
14686 than using reflection formula with special underflow handling.
14688 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14689 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14690 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14691 (fchflags): Likewise.
14692 (revoke): Likewise.
14693 (setlogin): Likewise.
14694 (sigaltstack): Likewise.
14696 (sigblock): Remove.
14697 (sigsetmask): Likewise.
14699 (waitpid): Likewise.
14700 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14701 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14703 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14704 * sysdeps/unix/bsd/Makefile: ... here.
14705 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14706 * sysdeps/unix/bsd/Versions: ... here.
14707 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14708 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14709 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14710 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14711 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14712 * sysdeps/unix/bsd/sigblock.c: ... here.
14713 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14714 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14715 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14716 * sysdeps/unix/bsd/sigvec.c: ... here.
14717 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14718 * sysdeps/unix/bsd/tcdrain.c: ... here.
14719 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14720 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14721 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14722 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14723 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14724 * sysdeps/unix/bsd/wait.c: ... here.
14725 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14726 * sysdeps/unix/bsd/wait3.c: ... here.
14727 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14728 * sysdeps/unix/bsd/waitpid.c: ... here.
14730 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14733 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14734 round-to-nearest for [!USE_AS_EXPM1L].
14735 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14736 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14737 more tests of exp and exp10. Expect some exp10 tests to miss
14738 exceptions or fail in directed rounding modes.
14739 * math/auto-libm-test-out: Regenerated.
14740 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14741 (exp10_test_tonearest): New function.
14742 (exp10_towardzero_test_data): New array.
14743 (exp10_test_towardzero): New function.
14744 (exp10_downward_test_data): New array.
14745 (exp10_test_downward): New function.
14746 (exp10_upward_test_data): New array.
14747 (exp10_test_upward): New function.
14748 (main): Call the new functions.
14749 * sysdeps/i386/fpu/libm-test-ulps: Update.
14750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14752 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14754 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14755 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14756 * math/auto-libm-test-out: Regenerated.
14757 * math/libm-test.inc (acosh_test_data): Add more tests.
14758 (atanh_test_data): Likewise.
14759 (ceil_test_data): Likewise.
14760 (copysign_test_data): Likewise.
14761 * sysdeps/i386/fpu/libm-test-ulps: Update.
14762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764 * timezone/checktab.awk: Update from tzcode 2013i.
14765 * timezone/private.h: Likewise.
14766 * timezone/scheck.c: Likewise.
14767 * timezone/tzfile.h: Likewise.
14768 * timezone/tzselect.ksh: Likewise.
14769 * timezone/zdump.c: Likewise.
14770 * timezone/zic.c: Likewise.
14772 * math/auto-libm-test-in: Add tests of cpow.
14773 * math/auto-libm-test-out: Regenerated.
14774 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14775 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14777 (func_calc_desc): Add mpc_cc_c union field.
14778 (test_functions): Add cpow.
14779 (special_fill_2pi): New function.
14780 (special_real_inputs): Add 2pi.
14781 (calc_generic_results): Handle mpc_cc_c.
14782 * sysdeps/i386/fpu/libm-test-ulps: Update.
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14785 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14786 csqrt, ctan and ctanh.
14787 * math/auto-libm-test-out: Regenerated.
14788 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14789 (TEST_COND_x86): Likewise.
14790 (ccos_test_data): Use AUTO_TESTS_c_c.
14791 (ccosh_test_data): Likewise.
14792 (cexp_test_data): Likewise.
14793 (clog_test_data): Likewise.
14794 (csqrt_test_data): Likewise.
14795 (ctan_test_data): Likewise.
14796 (ctan_tonearest_test_data): Likewise.
14797 (ctan_towardzero_test_data): Likewise.
14798 (ctan_downward_test_data): Likewise.
14799 (ctan_upward_test_data): Likewise.
14800 (ctanh_test_data): Likewise.
14801 (ctanh_tonearest_test_data): Likewise.
14802 (ctanh_towardzero_test_data): Likewise.
14803 (ctanh_downward_test_data): Likewise.
14804 (ctanh_upward_test_data): Likewise.
14805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14807 (func_calc_desc): Add mpc_c_c union field.
14808 (FUNC_mpc_c_c): New macro.
14809 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14810 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14812 (special_fill_min_subnorm_p120): New function.
14813 (special_real_inputs): Add min_subnorm_p120.
14814 (calc_generic_results): Handle mpc_c_c.
14815 * sysdeps/i386/fpu/libm-test-ulps: Update.
14816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14818 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14820 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14821 (do_sin_slow): New functions.
14822 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14823 (cslow2, csloww1, csloww2): Use the new functions.
14825 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14826 Use M to change sign of result instead of X. Assume X is
14828 (csloww1): Likewise.
14832 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14833 arguments A and DA.
14837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14839 (sloww1): Don't adjust sign of DX.
14840 (csloww1): Likewise.
14841 (sloww2): Use X directly and don't adjust sign of DX.
14842 (csloww2): Likewise.
14844 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14846 * math/auto-libm-test-in: Add tests of cabs and carg.
14847 * math/auto-libm-test-out: Regenerated.
14848 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14849 (carg_test_data): Likewise.
14850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14852 (func_calc_desc): Add mpc_c_f union field.
14853 (test_functions): Add cabs and carg.
14854 (calc_generic_results): Handle mpc_c_f.
14856 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14857 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14858 as a macro and a compat symbol.
14859 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14860 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14861 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14862 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14863 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14864 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14866 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14868 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14870 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14872 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14874 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14876 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14877 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14880 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14884 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14886 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14887 trailing whitespace removed.
14888 * scripts/config.guess: Update to version 2013-11-29.
14889 * scripts/config.sub: Update to version 2013-10-01.
14891 * math/auto-libm-test-in: Add tests of sincos.
14892 * math/auto-libm-test-out: Regenerated.
14893 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14894 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14896 (func_calc_desc): Add mpfr_f_11 union field.
14897 (test_functions): Add sincos.
14898 (calc_generic_results): Handle mpfr_f_11.
14899 * sysdeps/i386/fpu/libm-test-ulps: Update.
14900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902 2013-12-19 Andreas Schwab <schwab@suse.de>
14904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14907 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14908 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14910 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14912 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14913 * sysdeps/i386/fpu/libm-test-ulps: Update.
14914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14918 round-to-nearest mode when using frndint.
14919 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14920 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14921 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14923 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14925 * math/auto-libm-test-out: Regenerated.
14926 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14927 (TEST_COND_x86): Likewise.
14928 (expm1_tonearest_test_data): New array.
14929 (expm1_test_tonearest): New function.
14930 (expm1_towardzero_test_data): New array.
14931 (expm1_test_towardzero): New function.
14932 (expm1_downward_test_data): New array.
14933 (expm1_test_downward): New function.
14934 (expm1_upward_test_data): New array.
14935 (expm1_test_upward): New function.
14936 (main): Run the new test functions.
14937 * sysdeps/i386/fpu/libm-test-ulps: Update.
14938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14940 * include/features.h: Update comment documenting feature test
14941 macros. Mention _DEFAULT_SOURCE in comment.
14942 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14943 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14944 _BSD_SOURCE and _SVID_SOURCE.
14945 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14946 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14947 !_SVID_SOURCE]: Likewise.
14948 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14949 (__USE_POSIX_IMPLICITLY): Define.
14950 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14951 (_POSIX_SOURCE): Undefine and redefine.
14952 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14953 (_POSIX_C_SOURCE): Likewise.
14954 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14955 (Feature Test Macros): Update documentation of default features.
14957 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14959 * benchtests/Makefile: Add bench-strtok.
14960 * benchtests/bench-strtok.c: New file: strtok benchtest.
14962 2013-12-19 Allan McRae <allan@archlinux.org>
14964 * manual/install.texi: Suppress menu for plain text output.
14965 * INSTALL: Regenerated.
14967 2013-12-18 Brooks Moses <bmoses@google.com>
14970 * misc/getauxval.c: Include errno.h.
14971 (__getauxval): Set errno to ENOENT if the requested type is not
14973 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14974 don't declare with __attribute_const__.
14975 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14976 * manual/startup.texi: Document that getauxval sets errno.
14978 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14980 * math/auto-libm-test-in: Add tests of jn and yn.
14981 * math/auto-libm-test-out: Regenerated.
14982 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14983 (yn_test_data): Likewise.
14984 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14986 (func_calc_desc): Add mpfr_if_f union field.
14987 (FUNC_mpfr_if_f): New macro.
14988 (test_functions): Add jn and yn.
14989 (calc_generic_results): Assert type of second input for
14990 mpfr_ff_f. Handle mpfr_if_f.
14991 (output_for_one_input_case): Disable all checking for arguments
14992 fitting floating-point types in case of an integer argument.
14993 * sysdeps/i386/fpu/libm-test-ulps: Update.
14994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14997 Don't expect fegetround reference in libm.so.
14999 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15001 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15002 $(config-cflags-nofma).
15004 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15006 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15007 * math/auto-libm-test-out: Regenerated.
15010 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15011 to determine exponent and adjust argument to have exponent of -1.
15012 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15014 * math/auto-libm-test-out: Regenerated.
15015 * sysdeps/i386/fpu/libm-test-ulps: Update.
15016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15018 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
15020 * manual/probes.texi: Remove cases when per-thread arenas are
15023 2013-12-18 Andreas Schwab <schwab@suse.de>
15025 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15026 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15027 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15028 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15029 * sysdeps/i386/i686/multiarch/Makefile: Update.
15030 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15032 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15034 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15035 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15037 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15040 Support TZ transition times < 00:00:00.
15041 This is needed for version-3 tz-format files; it supports time
15042 stamps past 2037 for America/Godthab (the only entry in the tz
15043 database for which this change is relevant).
15044 * manual/time.texi (TZ Variable): Document transition times
15045 from -167:59:59 through -00:00:01.
15046 * time/tzset.c (tz_rule): Time of day is now signed.
15047 (__tzset_parse_tz): Parse negative time of day.
15049 Document TZ transition times >= 25:00:00.
15050 * manual/time.texi (TZ Variable): Document transition times from
15051 25:00:00 through 167:59:59. These are already supported, and this
15052 support will help with version-3 tz-format files.
15054 * manual/time.texi (TZ Variable): Modernize North America example
15055 to reflect current (i.e., 2007-and-later) daylight saving rules.
15057 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15059 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15061 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15062 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15065 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15066 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15067 * sysdeps/unix/bsd/clock.c: Likewise.
15068 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15069 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15070 * sysdeps/unix/bsd/init-posix.c: Likewise.
15071 * sysdeps/unix/bsd/poll.c: Likewise.
15072 * sysdeps/unix/bsd/ptsname.c: Likewise.
15073 * sysdeps/unix/bsd/seekdir.c: Likewise.
15074 * sysdeps/unix/bsd/setegid.c: Likewise.
15075 * sysdeps/unix/bsd/seteuid.c: Likewise.
15076 * sysdeps/unix/bsd/setgid.c: Likewise.
15077 * sysdeps/unix/bsd/setrgid.c: Likewise.
15078 * sysdeps/unix/bsd/setruid.c: Likewise.
15079 * sysdeps/unix/bsd/setsid.c: Likewise.
15080 * sysdeps/unix/bsd/setuid.c: Likewise.
15081 * sysdeps/unix/bsd/sigaction.c: Likewise.
15082 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15083 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15084 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15085 * sysdeps/unix/bsd/telldir.c: Likewise.
15086 * sysdeps/unix/bsd/times.c: Likewise.
15087 * sysdeps/unix/bsd/usleep.c: Likewise.
15089 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15090 ($(objpfx)libbsd-compat.a): Remove rule.
15092 * include/features.h (__FAVOR_BSD): Do not define.
15093 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15094 features conflicting with POSIX.
15095 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15096 (_BSD_SOURCE): Remove description of not being a subset of other
15097 feature test macros.
15098 * manual/job.texi (getpgrp): Do not document BSD version.
15099 (getpgid): Do not document by reference to BSD getpgrp.
15100 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15101 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15102 * signal/signal.h [__FAVOR_BSD]: Likewise.
15103 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15104 instead of making contents conditional on [__FAVOR_BSD].
15105 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15107 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15111 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15114 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15115 values below 2**-450, not 2**-500.
15116 * math/auto-libm-test-in: Don't allow spurious underflow from
15118 * math/auto-libm-test-out: Regenerated.
15122 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15123 values of ha and hb and sort them after adjusting subnormal
15125 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15127 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15128 values of ea and eb and sort them after adjusting subnormal
15130 * math/auto-libm-test-in: Do not expect some hypot tests of
15131 subnormals to fail. Add more hypot tests.
15132 * math/auto-libm-test-out: Regenerated.
15134 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15137 * sysdeps/sh/s_fma.c: New file.
15138 * sysdeps/sh/s_fmaf.c: New file.
15139 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15141 * sysdeps/sh/Implies: Add sh/soft-fp.
15143 2013-12-16 Roland McGrath <roland@hack.frob.com>
15145 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15146 level of indirection to members `objname', `errstring', `malloced'.
15147 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15148 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15149 it as the __longjmp argument (just pass 1 instead).
15150 (_dl_catch_error): Initialize C with argument pointers and address of
15151 volatile local ERRCODE rather than copying values out of C at return.
15153 2013-12-16 Joseph Myers <joseph@codesourcery.com>
15155 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15156 * math/auto-libm-test-out: Regenerated.
15157 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15158 (hypot_test_data): Likewise.
15159 (pow_test_data): Likewise.
15160 (pow_tonearest_test_data): Likewise.
15161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15163 (func_calc_desc): Add mpfr_ff_f union field.
15164 (FUNC_mpfr_ff_f): New macro.
15165 (test_functions): Add atan2, hypot and pow.
15166 (special_fill_min): New function.
15167 (special_fill_minus_min): Likewise.
15168 (special_fill_min_subnorm): Likewise.
15169 (special_fill_minus_min_subnorm): Likewise.
15170 (special_real_inputs): Add min, -min, min_subnorm and
15172 (calc_generic_results): Handle mpfr_ff_f.
15173 * sysdeps/i386/fpu/libm-test-ulps: Update.
15174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15176 2013-12-16 Will Newton <will.newton@linaro.org>
15178 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15179 (Aligned Memory Blocks): Add documentation for aligned_alloc
15180 and suggest it as an alternative to posix_memalign.
15181 (Hooks for Malloc): Document __memalign_hook is also called
15182 for aligned_alloc. (Summary of Malloc): Add summary for
15183 aligned alloc. Document __memalign_hook is also called
15186 2013-12-16 Will Newton <will.newton@linaro.org>
15188 * manual/memory.texi (Malloc Examples): Clarify default
15189 alignment documentation. Suggest posix_memalign rather
15190 than memalign or valloc.
15191 (Aligned Memory Blocks): Remove suggestion to use memalign
15192 or valloc. Remove obsolete comment about BSD.
15193 Document memalign errno values and mark the function obsolete.
15194 Document posix_memalign returned error codes. Mark valloc
15195 as obsolete. (Hooks for Malloc): __memalign_hook is also
15196 called for posix_memalign and valloc.
15197 (Summary of Malloc): Add posix_memalign to function summary.
15198 __memalign_hook is also called for posix_memalign and valloc.
15200 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15202 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15206 (sloww): Use mynumber union. Expand ternary operator into
15207 if-else statements.
15208 (cslow): use mynumber union.
15210 2013-12-16 Allan McRae <allan@archlinux.org>
15212 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15213 * configure: Regenerated.
15215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15218 * configure.ac: Added --enable-maintainer-mode. Check for
15219 autoconf when enabled.
15220 * configure: Regenerated.
15222 * nscd/nscd.service: New file.
15223 * nscd/nscd.tmpfiles: New file.
15225 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
15228 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15229 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15230 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15231 (strstr): Add __strstr_sse2_unaligned ifunc.
15232 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15233 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15234 (strcasestr): Remove __strcasestr_sse42 ifunc.
15235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15239 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15241 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15242 * sysdeps/sh/bits/fenv.h: ... here.
15243 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15245 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15247 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15250 hypotf multiarch implementations.
15251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15254 multiarch hypot for PPC64.
15255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15257 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15258 multiarch hypotf for PPC64.
15260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15261 modff multiarch implementations.
15262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15265 multiarch modf for PPC64.
15266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15269 multiarch modff for PPC64.
15271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15272 and logl multiarch implementations.
15273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15276 multiarch logb for PPC64.
15277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15280 multiarch logb for PPC64.
15281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15284 multiarch logb for PPC64.
15286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15287 isinff multiarch implementation.
15288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15292 multiarch isinf for PPC64.
15293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15296 multiarch isinff for PPC64.
15298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15299 finitef multiarch implementation.
15300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15304 multiarch finite for PPC64.
15305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15308 multiarch finitef for PPC64.
15310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15311 lrint multiarch implementation.
15312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15316 multiarch llrint for PPC64.
15317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15318 multiarch lrint for PPC64.
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15321 copysignf multiarch implementation.
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15327 multiarch copysign for PPC64.
15328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15329 multiarch copysignf for PPC64.
15331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15332 multiarch implementation.
15333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15341 multiarch llround for PPC64.
15342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15343 multiarch trunc for PPC64.
15344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15345 multiarch truncf for PPC64.
15347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15348 multiarch implementation.
15349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15357 multiarch llround for PPC64.
15358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15359 multiarch round for PPC64.
15360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15361 multiarch roundf for PPC64.
15363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15364 multiarch implementation.
15365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15373 multiarch llround for PPC64.
15374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15375 multiarch floor for PPC64.
15376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15377 multiarch floorf for PPC64.
15379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15380 multiarch implementation.
15381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15389 multiarch llround for PPC64.
15390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15391 multiarch ceil for PPC64.
15392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15393 multiarch ceilf for PPC64.
15395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15396 multiarch implementation.
15397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15404 multiarch llround for PPC64.
15405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15406 multiarch lround for PPC64.
15408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15409 multiarch implementation.
15410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15417 multiarch isnan for PPC64.
15418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15419 multiarch isnanf for PPC64.
15421 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15422 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15423 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15424 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15425 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15428 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15434 multiarch implementations.
15435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15436 (__libc_ifunc_impl_list): Likewise.
15437 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15438 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15439 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15440 multiarch stpcpy for PPC64.
15442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15443 multiarch implementations.
15444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15445 (__libc_ifunc_impl_list): Likewise.
15446 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15447 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15448 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15449 multiarch strcpy for PPC64.
15451 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15452 redefine function name.
15453 (_wordcopy_fwd_dest_aligned): Likewise.
15454 (_wordcopy_bwd_aligned): Likewise.
15455 (_wordcopy_bwd_dest_aligned): Likewise.
15456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15457 multiarch implementations.
15458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15459 (__libc_ifunc_impl_list): Likewise.
15460 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15461 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15462 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15463 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15464 multiarch wcscpy for PPC64.
15466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15467 multiarch implementations.
15468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15469 (__libc_ifunc_impl_list): Likewise.
15470 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15471 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15472 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15473 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15474 multiarch wcscpy for PPC64.
15476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15477 multiarch implementations.
15478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15479 (__libc_ifunc_impl_list): Likewise.
15480 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15481 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15482 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15483 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15484 multiarch wcsrchr for PPC64.
15486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15487 multiarch implementations.
15488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15489 (__libc_ifunc_impl_list): Likewise.
15490 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15491 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15492 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15493 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15494 multiarch wcschr for PPC64.
15496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15497 multiarch implementations.
15498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15499 (__libc_ifunc_impl_list): Likewise.
15500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15501 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15502 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15503 multiarch strchrnul for PPC64.
15505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15508 (__libc_ifunc_impl_list): Likewise.
15509 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15510 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15511 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15512 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15518 (__libc_ifunc_impl_list): Likewise.
15519 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15520 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15522 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15526 multiarch implementations.
15527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15528 (__libc_ifunc_impl_list): Likewise.
15529 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15530 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15531 strncasecmp for PPC64.
15532 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15533 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15534 multiarch strncasecmp_l for PPC64.
15536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15537 multiarch implementations.
15538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15539 (__libc_ifunc_impl_list): Likewise.
15540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15542 multiarch strcasecmp for PPC64.
15543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15545 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15546 multiarch strcasecmp_l for PPC64.
15548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15551 (__libc_ifunc_impl_list): Likewise.
15552 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15553 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15554 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15560 (__libc_ifunc_impl_list): Likewise.
15561 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15562 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15563 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15569 (__libc_ifunc_impl_list): Likewise.
15570 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15571 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15572 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15573 rawmemrchr for PPC64.
15575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15578 (__libc_ifunc_impl_list): Likewise.
15579 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15580 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15581 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15587 (__libc_ifunc_impl_list): Likewise.
15588 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15589 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15590 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15596 (__libc_ifunc_impl_list): Likewise.
15597 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15598 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15599 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15602 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15603 avoid cretion of __bzero symbol.
15604 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15606 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15608 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15611 multiarch implementations.
15612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15613 (__libc_ifunc_impl_list): Likewise.
15614 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15615 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15616 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15617 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15619 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15620 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15621 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15622 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15623 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15625 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15627 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15631 (__libc_ifunc_impl_list): Likewise.
15632 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15633 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15634 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15635 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15639 multiarch for POWER/PPC64.
15640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15641 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15645 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15646 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15647 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15648 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15651 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15652 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15653 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15655 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15656 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15657 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15658 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15659 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15660 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15661 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15662 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15663 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15664 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15665 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15674 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15676 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15678 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15680 * benchtests/Makefile (bench): Add exp2 and log2.
15681 (LDLIBS-bench-exp2): Add -lm.
15682 (LDLIBS-bench-log2): Likewise.
15683 * benchtests/exp2-inputs: New inputs file.
15684 * benchtests/log2-inputs: New inputs file.
15685 * benchtests/log-inputs: Add new inputs.
15686 * benchtests/tan-inputs: Likewise.
15688 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15690 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15692 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15693 (csloww2): ... from here.
15695 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15696 instead of structures.
15697 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15698 (POLYNOMIAL): Likewise.
15699 (TAYLOR_SLOW): Likewise.
15705 (sloww1); Likewise.
15706 (sloww2): Likewise.
15707 (bsloww1): Likewise.
15708 (bsloww2): Likewise.
15709 (cslow2): Likewise.
15710 (csloww): Likewise.
15711 (csloww1): Likewise.
15712 (csloww2): Likewise.
15714 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15716 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15717 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15718 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15719 * malloc/hooks.c (realloc_check): Likewise.
15721 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15722 * malloc/arena.c: Remove PER_THREAD conditional.
15723 [!PER_THREAD]: Remove code.
15724 (ptmalloc_unlock_all2): Likewise.
15725 (ptmalloc_init): Likewise.
15726 (_int_new_arena): Likewise.
15727 (arena_get2): Likewise.
15728 * malloc/hooks.c (__malloc_get_state): Likewise.
15729 (__malloc_set_state): Likewise.
15730 * malloc/malloc.c: Likewise.
15731 (struct malloc_state): Likewise.
15732 (struct malloc_par): Likewise.
15733 (__libc_realloc): Likewise.
15734 (__libc_mallopt): Likewise.
15736 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15738 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15740 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15742 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15743 macro to a function. Check for zero perturb_byte.
15744 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15746 * malloc/malloc.c: (force_reg): Remove.
15747 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15748 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15749 force_reg by atomic_forced_read.
15750 * malloc/arena.c (ptmalloc_init): Likewise.
15751 * malloc/hooks.c (top_check): Likewise.
15753 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15757 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15761 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15763 * math/auto-libm-test-in: Add tests of lgamma.
15764 * math/auto-libm-test-out: Regenerated.
15765 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15766 (M_LOG_2_SQRT_PIl): Likewise.
15767 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15768 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15770 (func_calc_desc): Add mpfr_f_f1 union field.
15771 (ARGS1): New macro.
15779 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15780 (test_functions): Add lgamma.
15781 (calc_generic_results): Handle mpfr_f_f1.
15782 * sysdeps/i386/fpu/libm-test-ulps: Update.
15783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15785 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15787 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15788 __mpn_add_n for PowerPC64/POWER7.
15789 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15790 __mpn_sub_n for PowerPC64/POWER7.
15792 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15793 __mpn_addmul_1 for PowerPC64.
15794 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15795 __mpn_submul_1 for PowerPC64.
15796 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15798 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15801 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15804 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15806 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15808 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15810 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15811 add multiarch folders.
15812 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15813 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15814 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15815 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15816 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15817 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15818 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15819 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15820 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15821 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15822 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15831 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15837 multiarch __ieee754_hypot for PowerPC32.
15838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15843 multiarch __ieee754_hypotf for PowerPC32.
15845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15846 long_double_symbol only if __logbl is defined.
15847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15848 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15850 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15852 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15854 path for implementation.
15855 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15856 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15858 logb, and logbl multiarch implementations for PowerPC32.
15859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15864 multiarch logb for PowerPC32.
15865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15870 multiarch logbf for PowerPC32.
15871 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15875 multiarch logbl implementation for PowerPC32.
15877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15878 and modff multiarch implementations.
15879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15884 multiarch modf for PowerPC32.
15885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15890 multiarch modff for PowerPC32.
15892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15893 and lrintf multiarch implementations.
15894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15899 multiarch lrint for PowerPC32.
15900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15901 file: multiarch lrintf for PowerPC32.
15903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15904 and lroundf multiarch implementations.
15905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15912 multiarch lround for PowerPC32.
15913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15914 file: multiarch lroundf for PowerPC32.
15916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15917 copysign and copysignf multiarch implementations.
15918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15923 file: multiarch copysign for PowerPC32.
15924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15925 file: multiarch copysignf for PowerPC32.
15927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15928 and truncf multiarch implementations.
15929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15934 multiarch trunc for PowerPC32.
15935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15940 multiarch truncf for PowerPC32.
15942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15943 and roundf multiarch implementations.
15944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15949 multiarch round for PowerPC32.
15950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15955 multiarch roundf for PowerPC32.
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15958 and floorf multiarch implementations.
15959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15964 multiarch floor for PowerPC32.
15965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15970 multiarch floorf for PowerPC32.
15972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15973 and ceilf multiarch implementations.
15974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15979 multiarch ceil for PowerPC32.
15980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15985 multiarch ceilf for PowerPC32.
15987 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15989 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15990 FINITEF is defined.
15991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15992 and finitef multiarch implementations.
15993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15998 multiarch finite for PowerPC32.
15999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16002 file: multiarch finitef for PowerPC32.
16004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16005 and isinff multiarch implementations.
16006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16011 multiarch isinf for PowerPC32.
16012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16015 multiarch isinff for PowerPC32.
16017 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16018 alias when __isnan is defined.
16019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16020 and isnanf multiarch implementations.
16021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16030 multiarch isnan for PowerPC32.
16031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16036 multiarch isnanf for PowerPC32.
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16039 and sqrtf multiarch implementations.
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16045 multiarch sqrt for PowerPC32.
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16051 multiarch sqrtf for PowerPC32.
16053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16054 and llroundf multiarch implementations.
16055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16062 file: multiarch llround for PowerPC32.
16063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16064 file: multiarch llroundf for PowerPC32.
16066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16067 multiarch PowerPC32 fpu implementations.
16068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16073 multiarch llrint for PowerPC32.
16074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16087 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16089 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16090 multiarch wordcopy for PPC32.
16091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16094 (__libc_ifunc_impl_list): Likewise.
16095 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16096 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16097 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16098 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16099 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16100 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16102 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16110 multiarch wcscpy for PPC32.
16111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16114 (__libc_ifunc_impl_list): Likewise.
16115 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16116 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16117 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16118 sysdeps/powerpc/power6/wcscpy.c.
16120 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16128 multiarch wcsrchr for PPC32.
16129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16132 (__libc_ifunc_impl_list): Likewise.
16133 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16134 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16135 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16136 sysdeps/powerpc/power6/wcsrchr.c.
16138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16144 multiarch wcschr for PPc32.
16145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16148 (__libc_ifunc_impl_list): Likewise.
16149 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16150 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16151 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16152 sysdeps/powerpc/power6/wcschr.c.
16154 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16155 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16157 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16158 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16159 file: multiarch strchr for PPC32.
16160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16163 (__libc_ifunc_impl_list): Likewise.
16165 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16167 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16169 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16171 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16172 multiarch strchrnul for PPC32.
16173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16176 (__libc_ifunc_impl_list): Likewise.
16178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16181 multiarch strncasecmp for PPC32.
16182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16184 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16185 multiarch strncasecmp_l for PPC32.
16186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16187 strncasecmp multiarch objects.
16188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16189 (__libc_ifunc_impl_list): Likewise.
16191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16193 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16194 multiarch strncasecmp for PPC32.
16195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16197 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16198 multiarch strcasecmp_l for PPC32.
16199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16202 (__libc_ifunc_impl_list): Likewise.
16204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16209 multiarch strncmp for PPC32.
16210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16213 (__libc_ifunc_impl_list): Likewise.
16215 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16216 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16218 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16219 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16223 (__libc_ifunc_impl_list): Likewise.
16225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16227 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16229 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16233 (__libc_ifunc_impl_list): Likewise.
16235 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16237 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16239 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16240 multiarch rawmemchr for PPC32.
16241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16244 (__libc_ifunc_impl_list): Likewise.
16246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16248 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16250 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16251 file: memrchr multiarch for PPC32.
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16255 (__libc_ifunc_impl_list): Likewise.
16257 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16260 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16261 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16262 multiarch memchr for PPC32.
16263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16266 (__libc_ifunc_impl_list): Likewise.
16268 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16271 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16273 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16274 file: multiarch mempcpy for PPC32.
16275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16278 (__libc_ifunc_impl_list): Likewise.
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16281 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16282 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16283 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16284 multiarch bzero for PPC32.
16285 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16287 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16289 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16290 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16291 file: multiarch memset for PPC32.
16292 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16294 memset multiarch objects.
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16296 (__libc_ifunc_impl_list): Likewise.
16298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16303 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16307 (__libc_ifunc_impl_list): Likewise.
16309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16310 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16317 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16318 multiarch memcpy for PPC32.
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16322 (__libc_ifunc_impl_list): Likewise.
16324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16325 support multiarch for POWER/PPC32.
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16328 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16330 Implies file to make multiarch folder appers before the fpu and
16331 default folder for power4 configuration.
16333 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16335 * scripts/bench.pl: Append volatile keyword to type.
16337 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16339 * sysdeps/sh/sotruss-lib.c: New file.
16340 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16342 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16346 2013-12-05 Joseph Myers <joseph@codesourcery.com>
16349 * math/w_tgamma.c: Include <errno.h>.
16350 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16351 * math/w_tgammaf.c: Include <errno.h>.
16352 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16353 * math/w_tgammal.c: Include <errno.h>.
16354 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16355 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16356 underflow. Add more tgamma tests.
16357 * math/auto-libm-test-out: Regenerated.
16358 * sysdeps/i386/fpu/libm-test-ulps: Update.
16359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16361 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16362 sin, sinh, tan, tanh, tgamma, y0 and y1.
16363 * math/auto-libm-test-out: Regenerated.
16364 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16365 (TEST_COND_x86): Likewise.
16366 (M_E2l): Remove macro.
16368 (M_2_SQRT_PIl): Likewise.
16369 (M_SQRT_PIl): Likewise.
16370 (M_1_DIV_El): Likewise.
16371 (log_test_data): Use AUTO_TESTS_f_f.
16372 (log10_test_data): Likewise.
16373 (log1p_test_data): Likewise.
16374 (log2_test_data): Likewise.
16375 (sin_test_data): Likewise.
16376 (sin_tonearest_test_data): Likewise.
16377 (sin_towardzero_test_data): Likewise.
16378 (sin_downward_test_data): Likewise.
16379 (sin_upward_test_data): Likewise.
16380 (sinh_test_data): Likewise.
16381 (sinh_tonearest_test_data): Likewise.
16382 (sinh_towardzero_test_data): Likewise.
16383 (sinh_downward_test_data): Likewise.
16384 (sinh_upward_test_data): Likewise.
16385 (tan_test_data): Likewise.
16386 (tan_tonearest_test_data): Likewise.
16387 (tan_towardzero_test_data): Likewise.
16388 (tan_downward_test_data): Likewise.
16389 (tan_upward_test_data): Likewise.
16390 (tanh_test_data): Likewise.
16391 (tgamma_test_data): Likewise.
16392 (y0_test_data): Likewise.
16393 (y1_test_data): Likewise.
16394 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16395 (special_real_inputs): Add pi/4.
16396 * sysdeps/i386/fpu/libm-test-ulps: Update.
16397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16399 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16401 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16402 "longjmp_target" static probes.
16403 (__longjmp): Rename to __longjmp_symbol.
16404 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16405 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16406 on which longjmp to generate.
16407 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16408 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16410 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16411 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16412 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16413 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16414 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16415 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16417 __longjmp_symbol based on which __longjmp to generate.
16418 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16420 (setjmp): Rename to setjmp_symbol.
16421 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16422 (_setjmp): Rename to _setjmp_symbol.
16423 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16424 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16425 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16426 which setjmp to generate.
16427 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16428 "longjmp_target" static probes.
16430 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16432 * benchtests/README: Add note about output arguments.
16433 * benchtests/bench-sincos.c: Remove file.
16434 * benchtests/sincos-inputs: New file.
16435 * scripts/bench.pl: Identify output arguments and define
16436 static variables for them.
16438 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16441 * Makefile (INSTALL): Add install-plain.texi as the primary
16443 * manual/install-plain.texi: New file.
16444 * manual/install.texi: Include node directive only for
16445 non-plaintext output.
16447 2013-12-04 Joseph Myers <joseph@codesourcery.com>
16449 * stdlib/longlong.h: Update from GCC.
16453 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16454 * math/w_j0f.c (y0f): Likewise.
16455 * math/w_j0l.c (__y0l): Likewise.
16456 * math/w_j1.c (y1): Likewise.
16457 * math/w_j1f.c (y1f): Likewise.
16458 * math/w_j1l.c (__y1l): Likewise
16459 * math/w_jn.c (yn): Likewise.
16460 * math/w_jnf.c (ynf): Likewise.
16461 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16462 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16463 value for Bessel function domain errors outside _SVID_ mode.
16464 Adjust sign of return value for yn (negative integer, 0).
16465 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16466 by zero in return for negative x and set sign appropriately for
16468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16469 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16470 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16471 expectations in error cases.
16472 (y1_test_data): Likewise.
16473 (yn_test_data): Likewise.
16474 * sysdeps/i386/fpu/libm-test-ulps: Update.
16475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16477 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16479 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16480 "64" to "64-v1". Add "64-v2".
16481 (abi-64-options): Rename to ...
16482 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16483 (abi-64-condition): Rename to ...
16484 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16485 (abi-64-ld-soname): Rename to ...
16486 (abi-64-v1-ld-soname): ... this.
16487 (abi-64-v2-options): Define.
16488 (abi-64-v2-condition): Likewise.
16489 (abi-64-v2-ld-soname): Likewise.
16490 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16491 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16496 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16497 Alan Modra <amodra@gmail.com>
16499 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16500 New versions for use with the ELFv2 ABI.
16501 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16502 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16504 (struct La_ppc64v2_retval): Likewise.
16505 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16506 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16507 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16508 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16509 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16511 Do not save or restore CR.
16512 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16513 (_dl_profile_resolve): Do no save or restore CR. Support extended
16514 return values for ELFv2 ABI. Fix location of FPR return registers.
16515 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16516 updated values for _CALL_ELF == 2.
16517 (La_regs, La_retval, int_retval): Likewise.
16519 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16521 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16522 (FRAME_MIN_SIZE_PARM): Likewise.
16523 (FRAME_BACKCHAIN): Likewise.
16524 (FRAME_CR_SAVE): Likewise.
16525 (FRAME_LR_SAVE): Likewise.
16526 (FRAME_TOC_SAVE): Likewise.
16527 (FRAME_PARM_SAVE): Likewise.
16528 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16529 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16530 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16531 (call_mcount_parm_offset): New macro.
16532 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16533 (PROF): Use symbolic stack frame offsets.
16534 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16536 Redefine in terms of FRAME_MIN_SIZE.
16537 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16538 (_dl_profile_resolve): Likewise. Update comment.
16539 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16540 symbols stack frame offsets.
16541 (__sigsetjmp): Likewise.
16542 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16543 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16544 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16545 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16548 (FRAME_BACKCHAIN): Remove.
16549 (FRAME_CR_SAVE): Likewise.
16550 (FRAME_LR_SAVE): Likewise.
16551 (FRAME_COMPILER_DW): Likewise.
16552 (FRAME_LINKER_DW): Likewise.
16553 (FRAME_TOC_SAVE): Likewise.
16554 (FRAME_PARM_SAVE): Likewise.
16555 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16556 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16557 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16559 (CHECK_SP): Use symbolic stack frame offsets.
16560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16561 zone" instead of caller's parameter save area for temp storage.
16562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16563 Likewise. Also, use symbolic stack frame offsets.
16564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16565 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16566 our own stack frame instead of the caller's.
16567 (__socket): Use symbolic stack frame offsets.
16569 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16570 Alan Modra <amodra@gmail.com>
16572 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16574 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16575 (PPC64_LOCAL_ENTRY_OFFSET): Define.
16576 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16578 (elf_machine_fixup_plt): Call it.
16579 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16581 (elf_machine_rela): Update call to elf_machine_plt_conflict.
16582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16583 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
16584 r2 before calling target.
16586 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16587 Alan Modra <amodra@gmail.com>
16589 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16590 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16591 versions of macros to support ELFv2 ABI.
16592 (LOCALENTRY): New macro.
16593 (ENTRY, EALIGN): Use it.
16594 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16595 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16596 fall through into ENTRY entry point.
16597 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16598 Only define if _CALL_ELF != 2.
16600 (elf_machine_matches_host): Verify ABI version matches.
16601 (RTLD_START): Use LOCALENTRY.
16602 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16603 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16604 (PLT_ENTRY_WORDS): New macro.
16605 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16606 (elf_machine_runtime_setup): Support ELFv2 ABI.
16607 (elf_machine_fixup_plt): Likewise.
16608 (elf_machine_plt_conflict): Likewise.
16609 (resolve_ifunc): Likewise.
16610 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16614 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16616 (makecontext): Support ELFv2 ABI.
16617 * elf/elf.h (EF_PPC64_ABI): Define.
16619 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16621 * sysdeps/powerpc/powerpc64/sysdep.h
16622 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16623 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16624 (ENTRY) [ASSEMBLER]: ... but instead here ...
16625 (EALIGN) [ASSEMBLER]: ... and here.
16626 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16627 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16628 (ENTRY_2) [!ASSEMBLER]: Use it.
16629 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16630 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16631 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16632 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16633 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16635 Use PPC64_LOAD_FUNCPTR.
16637 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16639 2013-12-04 Alan Modra <amodra@gmail.com>
16641 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16642 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16643 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16644 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16647 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16648 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16649 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16650 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16651 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16653 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16656 (__makecontext): Fix incorrect CFI when backtracing out of
16657 context created via makecontext.
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16659 (__setcontext): Fix incorrect CFI during switch to new context.
16660 (__novec_setcontext): Likewise.
16662 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16665 * time/strptime_l.c (__strptime_internal): Allow modifiers
16667 * time/tst-strptime.c (day_tests): Add testcase.
16669 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16671 * scripts/bench.pl: Skip over blank lines.
16673 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16676 * manual/time.texi (Calendar Time): Clarify what timezone functions
16679 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16683 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16685 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16687 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16688 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16689 * debug/memset_chk.c (__memset_chk): Likewise.
16690 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16691 * debug/strncpy_chk.c: Likewise.
16693 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16697 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16698 (__ieee754_exp): For possibly underflowing results, check size of
16699 result and force underflow exception if required.
16700 * math/auto-libm-test-in: Add more tests of exp.
16701 * math/auto-libm-test-out: Regenerated.
16702 * sysdeps/i386/fpu/libm-test-ulps: Update.
16703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16706 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16707 * math/w_exp2f.c (__exp2f): Likewise.
16708 * math/w_exp2l.c (__exp2l): Likewise.
16709 * math/auto-libm-test-in: Do not allow missing errno on exp2
16711 * math/auto-libm-test-out: Regenerated.
16713 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16716 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16717 handle filename validation.
16718 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16721 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16724 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16725 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16726 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16728 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16732 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16734 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16735 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16736 Add more erfc tests.
16737 * math/auto-libm-test-out: Regenerated.
16738 * sysdeps/i386/fpu/libm-test-ulps: Update.
16739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16741 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16742 exp2, expm1, j0 and j1.
16743 * math/auto-libm-test-out: Regenerated.
16744 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16745 (erfc_test_data): Likewise.
16746 (exp_test_data): Likewise.
16747 (exp_tonearest_test_data): Likewise.
16748 (exp_towardzero_test_data): Likewise.
16749 (exp_downward_test_data): Likewise.
16750 (exp_upward_test_data): Likewise.
16751 (exp10_test_data): Likewise.
16752 (exp2_test_data): Likewise.
16753 (expm1_test_data): Likewise.
16754 (j0_test_data): Likewise.
16755 (j1_test_data): Likewise.
16756 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16757 (input_flag_type): Add flag_xfail_rounding.
16758 (input_flags): Add xfail-rounding.
16759 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16760 (output_for_one_input_case): Handle flag_xfail_rounding.
16761 * sysdeps/i386/fpu/libm-test-ulps: Update.
16762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16764 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16767 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16770 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16773 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16774 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16775 (STAP_PROBE0): New macro.
16776 (STAP_PROBE1): Likewise.
16777 (STAP_PROBE2): Likewise.
16778 (STAP_PROBE3): Likewise.
16779 (STAP_PROBE4): Likewise.
16781 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16783 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16785 2013-12-02 Steve Ellcey <sellcey@mips.com>
16787 * benchtests/Makefile (bench): Add sqrt.
16788 (LDLIBS-bench-sqrt): New.
16789 * benchtests/sqrt-input: New.
16791 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16793 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16794 (GAIH_EAI): Likewise.
16795 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16796 (gaih_inet): Likewise.
16797 (getaddrinfo): Don't use GAIH_EAI.
16799 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16800 (struct gaih): Remove definition.
16802 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16804 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16805 Use HERRNOP directly.
16807 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16811 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16813 * math/gen-auto-libm-tests.c (test_functions): Add more
16814 single-argument functions.
16815 (special_fill_pi_2): New function.
16816 (special_fill_minus_pi_2): Likewise.
16817 (special_fill_pi_6): Likewise.
16818 (special_fill_minus_pi_6): Likewise.
16819 (special_fill_pi_3): Likewise.
16820 (special_fill_2pi_3): Likewise.
16821 (special_fill_e): Likewise.
16822 (special_fill_1_e): Likewise.
16823 (special_fill_e_minus_1): Likewise.
16824 (special_real_inputs): Add more special inputs.
16825 (output_for_one_input_case): Do not require ERANGE on underflow to
16826 zero if round-to-nearest result does not underflow to zero, unless
16827 exact results required.
16828 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16829 atan, atanh, cbrt, cos and cosh.
16830 * math/auto-libm-test-out: Regenerated.
16831 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16832 (acos_tonearest_test_data): Likewise.
16833 (acos_towardzero_test_data): Likewise.
16834 (acos_downward_test_data): Likewise.
16835 (acos_upward_test_data): Likewise.
16836 (acosh_test_data): Likewise.
16837 (asin_test_data): Likewise.
16838 (asin_tonearest_test_data): Likewise.
16839 (asin_towardzero_test_data): Likewise.
16840 (asin_upward_test_data): Likewise.
16841 (asinh_test_data): Likewise.
16842 (atan_test_data): Likewise.
16843 (atanh_test_data): Likewise.
16844 (cbrt_test_data): Likewise.
16845 (cos_test_data): Likewise.
16846 (cos_tonearest_test_data): Likewise.
16847 (cos_towardzero_test_data): Likewise.
16848 (cos_downward_test_data): Likewise.
16849 (cos_upward_test_data): Likewise.
16850 (cosh_test_data): Likewise.
16851 (cosh_tonearest_test_data): Likewise.
16852 (cosh_towardzero_test_data): Likewise.
16853 (cosh_downward_test_data): Likewise.
16854 (cosh_upward_test_data): Likewise.
16855 * sysdeps/i386/fpu/libm-test-ulps: Update.
16856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16858 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16861 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16862 * math/w_exp10f.c (__exp10f): Likewise.
16863 * math/w_exp10l.c (__exp10l): Likewise.
16864 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16865 errno settings in existing tests.
16868 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16869 precision control set to double precision.
16870 * sysdeps/i386/fpu/w_sqrt.c: New file.
16871 * math/auto-libm-test-in: Add more tests.
16872 * math/auto-libm-test-out: Update.
16874 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16875 (sqrt_test_tonearest): New function.
16876 (sqrt_towardzero_test_data): New variable.
16877 (sqrt_test_towardzero): New function.
16878 (sqrt_downward_test_data): New variable.
16879 (sqrt_test_downward): New function.
16880 (sqrt_upward_test_data): New variable.
16881 (sqrt_test_upward): New function.
16882 (main): Call the new functions.
16884 * math/gen-auto-libm-tests.c: New file.
16885 * math/auto-libm-test-in: Likewise.
16886 * math/auto-libm-test-out: New generated file.
16887 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16889 (%beautify): Add generated representations of zero.
16890 (top level): Set $auto_input and call parse_auto_input.
16891 (beautify): Remove trailing "f" from hex float constants.
16892 (parse_args): Handle XFAIL_TEST.
16893 (convert_condition): New function.
16894 (or_value): Likewise.
16895 (or_cond_value): Likewise.
16896 (generate_testfile): Handle AUTO_TESTS_* lines.
16897 (parse_auto_input): New function.
16898 * math/libm-test.inc (XFAIL_TEST): New macro.
16899 (ERRNO_UNCHANGED): Update value.
16900 (ERRNO_EDOM): Likewise.
16901 (ERRNO_ERANGE): Likewise.
16902 (IGNORE_RESULT): Likewise.
16903 (TEST_COND_flt_32): New macro.
16904 (TEST_COND_dbl_64): Likewise.
16905 (TEST_COND_ldbl_96_intel): Likewise.
16906 (TEST_COND_ldbl_96_m68k): Likewise.
16907 (TEST_COND_ldbl_128): Likewise.
16908 (TEST_COND_ldbl_128ibm): Likewise.
16909 (TEST_COND_long32): Likewise.
16910 (TEST_COND_long64): Likewise.
16911 (TEST_COND_before_rounding): Likewise.
16912 (TEST_COND_after_rounding): Likewise.
16913 (enable_test): Handle XFAIL_TEST flag.
16914 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16915 with finite results.
16916 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16917 auto-libm-test-out.
16919 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16920 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16923 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16924 __tls_get_addr_internal instead of __tls_get_offset in order to
16925 avoid GOT pointer dependency. Make rtld export
16926 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16927 __tls_get_addr since we are a __tls_get_offset platform.
16928 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16929 GOT pointer being set up before.
16930 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16932 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16934 * manual/math.texi (Errors in Math Functions): Document accuracy
16938 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16939 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16940 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16941 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16942 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16943 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16944 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16945 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16946 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16947 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16948 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16949 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16950 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16952 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16955 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16956 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16957 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16958 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16961 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16963 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16965 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16966 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16967 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16968 atomic-feupdateenv and flt-rounds.
16969 * sysdeps/powerpc/nofpu/Versions (libc): Add
16970 __atomic_feholdexcept, __atomic_feclearexcept,
16971 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16972 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16973 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16974 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16975 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16980 * manual/arith.texi (FP Exceptions): Document that exceptions may
16981 not be raised when matherr is used.
16982 (Math Error Reporting): Document overflow in directed rounding
16983 modes. Document that errno may not be set when finite values are
16984 returned on overflow. Document intent to set errno on underflow
16985 only for underflow to zero.
16988 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16989 round-to-nearest then adjust result for other rounding modes.
16990 * include/fenv.h (fegetround): Use libm_hidden_proto.
16991 * math/fegetround.c (fegetround): Use libm_hidden_def.
16992 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16993 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16994 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16995 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16997 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16998 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16999 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17000 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17002 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17005 * nss/Versions (libnss_files): Add
17006 _nss_files_gethostbyname3_r.
17007 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17009 (HOST_DB_LOOKUP): Remove macro.
17010 (_nss_files_gethostbyname_r): Implement function without the
17011 HOST_DB_LOOKUP macro.
17012 (_nss_files_gethostbyname2_r): Likewise.
17014 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
17016 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17018 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
17020 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17021 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17024 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17026 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17027 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17028 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17029 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17030 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17031 __fe_nomask_env_priv and attribute_hidden.
17032 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17033 (libc_feupdateenv_test_ppc): Likewise.
17034 (libc_feresetround_ppc): Likewise.
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17036 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17037 compat_symbol macro.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17039 (__fe_nomask_env): Likewise.
17040 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17042 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17044 * string/Makefile: Remove ifunc tests.
17045 * string/test-string.h: Define TEST_IFUNC.
17046 * string/test-bcopy-ifunc.c: Remove.
17047 * string/test-bzero-ifunc.c: Likewise.
17048 * string/test-memccpy-ifunc.c: Likewise.
17049 * string/test-memchr-ifunc.c: Likewise.
17050 * string/test-memcmp-ifunc.c: Likewise.
17051 * string/test-memcpy-ifunc.c: Likewise.
17052 * string/test-memmem-ifunc.c: Likewise.
17053 * string/test-memmove-ifunc.c: Likewise.
17054 * string/test-mempcpy-ifunc.c: Likewise.
17055 * string/test-memrchr-ifunc.c: Likewise.
17056 * string/test-memset-ifunc.c: Likewise.
17057 * string/test-rawmemchr-ifunc.c: Likewise.
17058 * string/test-stpcpy-ifunc.c: Likewise.
17059 * string/test-stpncpy-ifunc.c: Likewise.
17060 * string/test-strcasecmp-ifunc.c: Likewise.
17061 * string/test-strcasestr-ifunc.c: Likewise.
17062 * string/test-strcat-ifunc.c: Likewise.
17063 * string/test-strchr-ifunc.c: Likewise.
17064 * string/test-strchrnul-ifunc.c: Likewise.
17065 * string/test-strcmp-ifunc.c: Likewise.
17066 * string/test-strcpy-ifunc.c: Likewise.
17067 * string/test-strcspn-ifunc.c: Likewise.
17068 * string/test-strlen-ifunc.c: Likewise.
17069 * string/test-strncasecmp-ifunc.c: Likewise.
17070 * string/test-strncat-ifunc.c: Likewise.
17071 * string/test-strncmp-ifunc.c: Likewise.
17072 * string/test-strncpy-ifunc.c: Likewise.
17073 * string/test-strnlen-ifunc.c: Likewise.
17074 * string/test-strpbrk-ifunc.c: Likewise.
17075 * string/test-strrchr-ifunc.c: Likewise.
17076 * string/test-strspn-ifunc.c: Likewise.
17077 * string/test-strstr-ifunc.c: Likewise.
17079 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17081 * benchtests/Makefile: Remove ifunc tests.
17082 * benchtests/bench-string.h: Define TEST_IFUNC.
17083 * benchtests/bench-bcopy-ifunc.c: Remove.
17084 * benchtests/bench-bzero-ifunc.c: Likewise.
17085 * benchtests/bench-memccpy-ifunc.c: Likewise.
17086 * benchtests/bench-memchr-ifunc.c: Likewise.
17087 * benchtests/bench-memcmp-ifunc.c: Likewise.
17088 * benchtests/bench-memcpy-ifunc.c: Likewise.
17089 * benchtests/bench-memmem-ifunc.c: Likewise.
17090 * benchtests/bench-memmove-ifunc.c: Likewise.
17091 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17092 * benchtests/bench-memrchr-ifunc.c: Likewise.
17093 * benchtests/bench-memset-ifunc.c: Likewise.
17094 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17095 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17096 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17097 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17098 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17099 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17100 * benchtests/bench-strcat-ifunc.c: Likewise.
17101 * benchtests/bench-strchr-ifunc.c: Likewise.
17102 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17103 * benchtests/bench-strcmp-ifunc.c: Likewise.
17104 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17105 * benchtests/bench-strcpy-ifunc.c: Likewise.
17106 * benchtests/bench-strcspn-ifunc.c: Likewise.
17107 * benchtests/bench-strlen-ifunc.c: Likewise.
17108 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17109 * benchtests/bench-strncat-ifunc.c: Likewise.
17110 * benchtests/bench-strncmp-ifunc.c: Likewise.
17111 * benchtests/bench-strncpy-ifunc.c: Likewise.
17112 * benchtests/bench-strnlen-ifunc.c: Likewise.
17113 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17114 * benchtests/bench-strrchr-ifunc.c: Likewise.
17115 * benchtests/bench-strsep-ifunc.c: Likewise.
17116 * benchtests/bench-strspn-ifunc.c: Likewise.
17117 * benchtests/bench-strstr-ifunc.c: Likewise.
17119 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17121 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17123 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17125 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17126 * rt/aio.h: Likewise.
17127 * sysdeps/gnu/bits/utmp.h: Likewise.
17128 * sysdeps/gnu/bits/utmpx.h: Likewise.
17129 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17130 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17131 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17132 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17133 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17134 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17135 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17136 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17137 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17138 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17139 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17140 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17141 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17143 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17144 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17145 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17146 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17147 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17148 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17149 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17150 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17151 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17152 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17153 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17155 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17156 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17157 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17158 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17159 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17160 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17161 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17162 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17163 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17164 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17165 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17166 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17167 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17168 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17169 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17170 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17172 2013-11-25 Carlos O'Donell <carlos@redhat.com>
17175 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17176 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17178 2013-11-25 Joseph Myers <joseph@codesourcery.com>
17180 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17181 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17184 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17187 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17188 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17189 (__fesetround): Remove define.
17190 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17191 rounding and exceptions handling.
17192 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17193 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17194 (__fe_nomask_env): Likewise.
17195 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17196 __fegetround instead of fegetround.
17197 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17198 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17200 2013-11-21 Roland McGrath <roland@hack.frob.com>
17202 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17205 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17207 2013-11-21 Meador Inge <meadori@codesourcery.com>
17210 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17211 (encrypt_r): Likewise.
17212 * malloc/obstack.h (obstack_free): Likewise.
17213 * posix/unistd.h (encrypt): Likewise.
17215 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17217 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17218 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17219 DL_CALL_DT_FINI() that call the functions directly.
17220 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17221 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17222 * elf/dl-fini.c: Likewise.
17224 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
17226 * malloc/hooks.c (memalign_check): Add alignment rounding.
17227 * malloc/malloc.c (_mid_memalign): New function.
17228 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17229 Implement by calling _mid_memalign.
17230 * manual/probes.texi (Memory Allocation Probes): Remove
17231 memory_valloc_retry and memory_pvalloc_retry.
17233 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17235 * locale/programs/locarchive.c (open_archive): Add const
17236 qualifier to ARCHIVEFNAME and copy default fname to
17240 * libio/tst-widetext.input: Rename Oriya to Odia.
17241 * locale/iso-639.def: Likewise.
17243 * manual/probes.texi (Mathematical Function Probes): Add
17244 documentation for sin, cos, asin and acos probes.
17245 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17246 (__sin32): Add slowasin probe.
17247 (__cos32): Add slowacos probe.
17248 (__mpsin): Add slowsin probe.
17249 (__mpcos): Add slowcos probe.
17251 2013-11-19 Joseph Myers <joseph@codesourcery.com>
17254 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17255 thread-local __sim_exceptions_thread and global
17256 __sim_exceptions_global.
17257 (__sim_disabled_exceptions): Change to thread-local
17258 __sim_disabled_exceptions_thread and global
17259 __sim_disabled_exceptions_global.
17260 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17261 and global __sim_round_mode_global.
17262 (__simulate_exceptions): Use thread-local floating-point state and
17263 set global state from it as needed.
17264 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17265 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17266 __sim_round_mode_thread.
17267 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17268 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17269 and global __sim_exceptions_global.
17270 (__sim_disabled_exceptions): Change to thread-local
17271 __sim_disabled_exceptions_thread and global
17272 __sim_disabled_exceptions_global.
17273 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17274 and global __sim_round_mode_global.
17275 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17276 (SIM_SET_GLOBAL): Likewise.
17277 * sysdeps/powerpc/soft-fp/sfp-machine.h
17278 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17279 __sim_round_mode_thread.
17280 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17281 __sim_disabled_exceptions_thread.
17282 (__sim_exceptions): Change to __sim_exceptions_thread.
17283 (__sim_disabled_exceptions): Change to
17284 __sim_disabled_exceptions_thread.
17285 (__sim_round_mode): Change to __sim_round_mode_thread.
17286 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17287 thread-local floating-point state and set global state from it as
17289 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17290 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17291 (__sim_disabled_exceptions): Remove extern declaration.
17292 (feenableexcept): Use thread-local floating-point state and set
17293 global state from it as needed.
17294 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17295 extern declaration.
17296 (__sim_disabled_exceptions): Likewise.
17297 (__sim_round_mode): Likewise.
17298 (__fegetenv): Use thread-local floating-point state.
17299 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17300 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17301 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17302 floating-point state and set global state from it as needed.
17303 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17304 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17305 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17307 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17308 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17310 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17311 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17312 Use __sim_round_mode_thread.
17313 * math/test-fenv-tls.c: New file.
17314 * math/Makefile (tests): Add test-fenv-tls.
17315 ($(objpfx)test-fenv-tls): Depend on
17316 $(common-objpfx)nptl/libpthread.so.
17318 2013-11-19 Andreas Schwab <schwab@suse.de>
17320 * locale/programs/locale.c (show_info): Decode wordarray elements.
17321 * locale/categories.def (LC_MONETARY): Add element for
17322 _NL_MONETARY_CRNCYSTR.
17323 * locale/C-monetary.c (conversion_rate): New variable.
17324 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17327 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17329 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17330 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17332 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17334 * elf/Makefile (tst-auxv): New test.
17335 * elf/tst-auxv.c: New
17336 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17338 2013-11-18 Joseph Myers <joseph@codesourcery.com>
17340 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17341 (hidden_proto): Caller changed.
17342 (hidden_tls_proto): New macro.
17343 (libc_hidden_tls_proto): Likewise.
17344 (rtld_hidden_tls_proto): Likewise.
17345 (libm_hidden_tls_proto): Likewise.
17346 (libresolv_hidden_tls_proto): Likewise.
17347 (librt_hidden_tls_proto): Likewise.
17348 (libdl_hidden_tls_proto): Likewise.
17349 (libnss_files_hidden_tls_proto): Likewise.
17350 (libnsl_hidden_tls_proto): Likewise.
17351 (libnss_nisplus_hidden_tls_proto): Likewise.
17352 (libutil_hidden_tls_proto): Likewise.
17354 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
17357 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17358 (decompose_rpath): Defer expansion to fillin_rpath.
17359 (_dl_init_paths): Pass linkmap to fillin_rpath.
17361 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17363 * benchtests/Makefile: Add strsep.
17364 * benchtests/bench-strsep.c: New file: strsep benchtest.
17365 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17367 2013-11-18 Andreas Schwab <schwab@suse.de>
17369 * locale/programs/locale.c (show_info) [case byte]: Check for
17370 '\377' instead of '\177'.
17371 * locale/C-monetary.c (not_available): Always use "\377".
17372 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17373 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17374 detect unavailable sign_posn locale elements.
17375 * locale/localeconv.c (__localeconv): For grouping and
17376 mon_grouping handle "\177" and "\377" like no grouping.
17377 (INT_ELEM): New macro. Use it to set all numeric members.
17378 * locale/programs/ld-monetary.c (monetary_read)
17379 <tok_mon_grouping>: Normalize single -1 to the empty string.
17380 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17383 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17386 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17387 when we match (nil).
17388 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17390 2013-11-16 Joseph Myers <joseph@codesourcery.com>
17392 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17393 (NO_TEST_INLINE): Update value.
17394 (ERRNO_UNCHANGED): Likewise.
17395 (ERRNO_EDOM): Likewise.
17396 (ERRNO_ERANGE): Likewise.
17397 (IGNORE_RESULT): Likewise.
17398 (check_float_internal): Check signs of NaN results if
17399 TEST_NAN_SIGN used.
17400 (check_complex): Pass TEST_NAN_SIGN flag through to second
17401 check_float_internal call.
17402 (copysign_test_data): Add tests with quiet NaNs as second
17403 argument. Use TEST_NAN_SIGN.
17404 (fabs_test_data): Add test of negative quiet NaN argument. Use
17406 (signbit_test_data): Add tests of quiet NaN argument.
17407 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17409 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17411 (parse_args): Handle function results specified as IGNORE.
17412 * math/libm-test.inc (IGNORE_RESULT): New macro.
17413 (check_float_internal): Do not check numerical result if flag
17415 (check_complex): Pass through IGNORE_RESULT to second
17416 check_float_internal call.
17417 (check_int): Do not check numerical result if flag IGNORE_RESULT
17419 (check_long): Likewise.
17420 (check_bool): Likewise.
17421 (check_longlong): Likewise.
17422 (lrint_test_data): Add tests of infinite and NaN arguments.
17423 (lrint_tonearest_test_data): Likewise.
17424 (lrint_towardzero_test_data): Likewise.
17425 (lrint_downward_test_data): Likewise.
17426 (lrint_upward_test_data): Likewise.
17427 (llrint_test_data): Likewise.
17428 (llrint_tonearest_test_data): Likewise.
17429 (llrint_towardzero_test_data): Likewise.
17430 (llrint_downward_test_data): Likewise.
17431 (llrint_upward_test_data): Likewise.
17432 (lround_test_data): Likewise.
17433 (llround_test_data): Likewise.
17435 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17436 (ERRNO_UNCHANGED): Update value.
17437 (ERRNO_EDOM): Likewise.
17438 (ERRNO_ERANGE): Likewise.
17439 (NO_TEST_INLINE_FLOAT): New macro.
17440 (NO_TEST_INLINE_DOUBLE): Likewise.
17441 (enable_test): New function.
17442 (RUN_TEST_f_f): Check enable_test before running test.
17443 (RUN_TEST_2_f): Likewise.
17444 (RUN_TEST_fff_f): Likewise.
17445 (RUN_TEST_c_f): Likewise.
17446 (RUN_TEST_f_f1): Likewise.
17447 (RUN_TEST_fF_f1): Likewise.
17448 (RUN_TEST_fI_f1): Likewise.
17449 (RUN_TEST_ffI_f1): Likewise.
17450 (RUN_TEST_c_c): Likewise.
17451 (RUN_TEST_cc_c): Likewise.
17452 (RUN_TEST_f_i): Likewise.
17453 (RUN_TEST_f_i_tg): Likewise.
17454 (RUN_TEST_ff_i_tg): Likewise.
17455 (RUN_TEST_f_b): Likewise.
17456 (RUN_TEST_f_b_tg): Likewise.
17457 (RUN_TEST_f_l): Likewise.
17458 (RUN_TEST_f_L): Likewise.
17459 (RUN_TEST_fFF_11): Likewise.
17460 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17462 (cosh_test_data): Likewise.
17463 (exp_test_data): Likewise.
17464 (expm1_test_data): Likewise.
17465 (hypot_test_data): Likewise.
17466 (pow_test_data): Likewise.
17467 (sinh_test_data): Likewise.
17468 (tanh_test_data): Likewise.
17469 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17472 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17473 tests with quiet NaN input and output.
17474 (acosh_test_data): Likewise.
17475 (asin_test_data): Likewise.
17476 (asinh_test_data): Likewise.
17477 (atan_test_data): Likewise.
17478 (atanh_test_data): Likewise.
17479 (atan2_test_data): Likewise.
17480 (cbrt_test_data): Likewise.
17481 (cos_test_data): Likewise.
17482 (cosh_test_data): Likewise.
17483 (erf_test_data): Likewise.
17484 (erfc_test_data): Likewise.
17485 (exp_test_data): Likewise.
17486 (exp10_test_data): Likewise.
17487 (exp2_test_data): Likewise.
17488 (expm1_test_data): Likewise.
17489 (hypot_test_data): Likewise.
17490 (j0_test_data): Likewise.
17491 (j1_test_data): Likewise.
17492 (jn_test_data): Likewise.
17493 (lgamma_test_data): Likewise.
17494 (log_test_data): Likewise.
17495 (log10_test_data): Likewise.
17496 (log1p_test_data): Likewise.
17497 (log2_test_data): Likewise.
17498 (pow_test_data): Likewise.
17499 (scalb_test_data): Likewise.
17500 (sin_test_data): Likewise.
17501 (sincos_test_data): Likewise.
17502 (sinh_test_data): Likewise.
17503 (tan_test_data): Likewise.
17504 (tanh_test_data): Likewise.
17505 (tgamma_test_data): Likewise.
17506 (y0_test_data): Likewise.
17507 (y1_test_data): Likewise.
17508 (yn_test_data): Likewise.
17511 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17512 argument being NaN and avoid computations with second argument in
17514 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17515 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17516 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17518 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17520 * locale/iso-639.def: Add Chitwani Tharu (the).
17522 2013-11-14 Andreas Schwab <schwab@suse.de>
17524 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17525 word instead of empty string.
17527 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17530 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17532 (__fe_nomask_env): Likewise.
17534 2013-11-13 Steve Ellcey <sellcey@mips.com>
17536 * benchtests/bench-timing.h: Include time.h.
17538 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17541 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17543 * sysdeps/unix/sysv/linux/configure: Regenerated.
17545 2013-11-13 Joseph Myers <joseph@codesourcery.com>
17548 * stdlib/strtod_l.c (round_and_return): Do not consider
17549 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17550 exponent one less than half the least subnormal exponent.
17551 * stdlib/test-strtod-round-data: Add more tests.
17552 * stdlib/tst-strtod-round.c (tests): Regenerated.
17554 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17557 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17558 (__fe_mask_env): Likewise.
17559 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17560 libm_hidden_proto and add function prototype.
17561 (__fe_mask_env): Add function prototype.
17562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17563 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17565 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17567 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17569 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17571 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
17572 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17574 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17576 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17577 of htab_find_slot().
17579 2013-11-11 David S. Miller <davem@davemloft.net>
17582 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17583 symbol in the non-vis3 case in static builds.
17584 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17585 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17586 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17587 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17589 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17592 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17595 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17597 * benchtests/Makefile: Add bench-strtod.
17598 * benchtests/bench-strtod.c: New file: strtod benchtest
17600 2013-11-11 Andreas Schwab <schwab@suse.de>
17603 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17604 terminating NUL in key length.
17606 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17608 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17609 Add artificial ODP entry for vDSO symbol for PPC64.
17610 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17611 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17613 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17616 * nss/getent.c (services_keys): Recognize services starting with digit.
17618 2013-11-06 David S. Miller <davem@davemloft.net>
17621 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17622 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17624 2013-11-06 Will Newton <will.newton@linaro.org>
17626 * manual/memory.texi (Malloc Examples): Remove register
17627 keyword from examples.
17629 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17631 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17633 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17636 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17637 depending on [__GCC_IEC_559 > 0].
17638 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17639 depending on [__GCC_IEC_559_COMPLEX > 0].
17641 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17643 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17646 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17648 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17650 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17653 * malloc/malloc (malloc_info): Do not handle first bin as
17656 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17658 * locale/iso-639.def: Add Central Nahuatl (nhn).
17660 2013-11-01 Bruno Haible <bruno@clisp.org>
17663 * manual/math.texi (BSD Random): Specify range upper bound as
17666 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17668 * locale/iso-639.def: Add Meadow Mari (mhr).
17670 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17672 [BZ #14752], [BZ #15763]
17673 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17675 * rt/tst_shm.c: Add test for escaping directory.
17677 2013-10-31 Andreas Schwab <schwab@suse.de>
17680 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17681 followed by 'x' as part of digit sequence.
17682 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17684 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17687 * configure.ac: allow GNU Make 4.0 and greater.
17688 * configure: Regenerated.
17690 2013-10-30 Will Newton <will.newton@linaro.org>
17693 * malloc/hooks.c (memalign_check): Limit alignment to the
17694 maximum representable power of two.
17695 * malloc/malloc.c (__libc_memalign): Likewise.
17696 * malloc/tst-memalign.c (do_test): Add test for very
17697 large alignment values.
17698 * malloc/tst-posix_memalign.c (do_test): Likewise.
17700 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17703 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17704 (munmap_chunk): Likewise.
17705 (mremap_chunk): Likewise.
17707 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17710 * stdlib/div.c (div): Remove obsolete code.
17711 * stdlib/ldiv.c (ldiv): Likewise.
17712 * stdlib/lldiv.c (lldiv): Likewise.
17714 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17717 * nss/nss_files/files-XXX.c (get_contents_ret): New
17719 (get_contents): New function.
17720 (internal_getent): Use it. Expand size of LINEBUFLEN.
17722 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17724 * configure.in: Moved to ...
17725 * configure.ac: ... here. Change reference to configure.in
17727 * sysdeps/arm/preconfigure.ac: ... here.
17728 configure.in to configure.ac.
17729 * sysdeps/gnu/configure.in: Moved to ...
17730 * sysdeps/gnu/configure.ac: ... here.
17731 * sysdeps/i386/configure.in: Moved to ...
17732 * sysdeps/i386/configure.ac: ... here.
17733 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17734 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17735 * sysdeps/mach/configure.in: Moved to ...
17736 * sysdeps/mach/configure.ac: ... here.
17737 * sysdeps/mach/hurd/configure.in: Moved to ...
17738 * sysdeps/mach/hurd/configure.ac: ... here.
17739 * sysdeps/powerpc/configure.in: Moved to ...
17740 * sysdeps/powerpc/configure.ac: ... here.
17741 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17742 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17743 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17744 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17745 * sysdeps/s390/s390-32/configure.in: Moved to ...
17746 * sysdeps/s390/s390-32/configure.ac: ... here.
17747 * sysdeps/s390/s390-64/configure.in: Moved to ...
17748 * sysdeps/s390/s390-64/configure.ac: ... here.
17749 * sysdeps/sh/configure.in: Moved to ...
17750 * sysdeps/sh/configure.ac: ... here.
17751 * sysdeps/sparc/configure.in: Moved to ...
17752 * sysdeps/sparc/configure.ac: ... here.
17753 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17754 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17755 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17756 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17757 * sysdeps/x86_64/configure.in: Moved to ...
17758 * sysdeps/x86_64/configure.ac: ... here.
17759 * sysdeps/x86_64/preconfigure.in: Moved to ...
17760 * sysdeps/x86_64/preconfigure.ac: ... here.
17761 * aclocal.m4: Change reference to configure.in to configure.ac.
17762 * config.h.in: Likewise.
17763 * manual/install.texi: Likewise.
17764 * manual/maint.texi: Likewise.
17765 * Makefile: Likewise.
17766 * malloc/Makefile: Likewise.
17767 * nscd/Makefile: Likewise.
17768 * Makeconfig: Change reference to configure.in and
17769 preconfigure.in to configure.ac and preconfigure.ac
17771 * INSTALL: Regenerated.
17772 * configure: Likewise.
17773 * sysdeps/gnu/configure: Likewise.
17774 * sysdeps/i386/configure: Likewise.
17775 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17776 * sysdeps/mach/configure: Likewise.
17777 * sysdeps/mach/hurd/configure: Likewise.
17778 * sysdeps/powerpc/configure: Likewise.
17779 * sysdeps/powerpc/powerpc32/configure: Likewise.
17780 * sysdeps/powerpc/powerpc64/configure: Likewise.
17781 * sysdeps/s390/s390-32/configure: Likewise.
17782 * sysdeps/s390/s390-64/configure: Likewise.
17783 * sysdeps/sh/configure: Likewise.
17784 * sysdeps/sparc/configure: Likewise.
17785 * sysdeps/unix/sysv/linux/configure: Likewise.
17786 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17787 * sysdeps/x86_64/configure: Likewise.
17788 * sysdeps/x86_64/preconfigure: Likewise.
17790 2013-10-29 Andreas Schwab <schwab@suse.de>
17792 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17794 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17796 * benchtests/pow-inputs: Add new inputs.
17798 * benchtests/exp-inputs: Add new inputs.
17800 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17801 conditional check for return value.
17802 (__cos32): Likewise.
17804 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17806 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17807 to provide a boost for large inputs with word alignment.
17808 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17809 implementation based on optimized PPC64 strcpy.
17810 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17811 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17812 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17813 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17815 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17818 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17820 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17823 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17824 * time/tst-strptime.c (day_tests): Add testcase.
17826 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17829 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17831 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17834 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17835 MAP_FAILED on error.
17837 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17840 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17841 heap for large requests.
17843 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17846 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17847 result if the result has no associated interface.
17848 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17849 interface for all 127.X.Y.Z addresses.
17851 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17853 * locale/iso-639.def: Add Ligurian (lij)
17855 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17858 * sunrpc/rpc_main.c: Document rpcgen -5.
17860 2013-10-19 Michael Stahl <mstahl@redhat.com>
17862 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17864 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17867 * posix/glob.c: Match only directories when trailing slash is present.
17868 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17869 (main): Add testcase.
17871 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17874 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17876 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17878 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17879 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17880 AUTH_DES and cindex for FIPS 140-2.
17881 (DES Encryption): Add cindex FIPS 46-3.
17883 * locale/locarchive.h (struct locarhandle): Add fname.
17884 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17885 if an optional argument was specified to --list-archive,
17887 * locale/programs/locarchive.c (show_archive_content): Take new
17888 argument fname and pass it via ah.fname to open_archive.
17889 * locale/programs/localedef.h: Update decl.
17890 (open_archive): If AH->fname is non-null, open that file
17891 rather than the default file name, and don't ignore ENOENT.
17892 (create_archive): Set AH.fname to NULL.
17893 (delete_locales_from_archive): Likewise.
17894 (add_locales_to_archive): Likewise.
17895 * locale/programs/locfile.c (write_all_categories): Likewise.
17897 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17898 Aldy Hernandez <aldyh@redhat.com>
17900 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17901 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17902 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17903 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17904 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17905 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17906 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17907 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17908 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17909 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17910 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17911 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17912 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17913 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17916 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17918 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17920 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17922 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17925 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17926 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17927 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17928 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17930 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17931 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17932 * sysdeps/powerpc/preconfigure: Likewise.
17933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17935 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17936 Replace contents of file by #include of <fenv_libc.h>.
17937 * sysdeps/powerpc/soft-fp/sfp-machine.h
17938 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17940 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17950 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17951 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17953 Allow copysignl PLT reference to be missing.
17955 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17956 Joseph Myers <joseph@codesourcery.com
17959 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17961 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17963 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17965 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17966 * elf/tst-tls1.c: Likewise.
17967 * elf/tst-tls10.h: Likewise.
17968 * elf/tst-tls14.c: Likewise.
17969 * elf/tst-tls2.c: Likewise.
17970 * elf/tst-tls3.c: Likewise.
17971 * elf/tst-tls4.c: Likewise.
17972 * elf/tst-tls5.c: Likewise.
17973 * elf/tst-tls6.c: Likewise.
17974 * elf/tst-tls7.c: Likewise.
17975 * elf/tst-tls8.c: Likewise.
17976 * elf/tst-tls9.c: Likewise.
17977 * elf/tst-tlsmod1.c: Likewise.
17978 * elf/tst-tlsmod13.c: Likewise.
17979 * elf/tst-tlsmod13a.c: Likewise.
17980 * elf/tst-tlsmod14a.c: Likewise.
17981 * elf/tst-tlsmod16a.c: Likewise.
17982 * elf/tst-tlsmod16b.c: Likewise.
17983 * elf/tst-tlsmod2.c: Likewise.
17984 * elf/tst-tlsmod3.c: Likewise.
17985 * elf/tst-tlsmod4.c: Likewise.
17986 * elf/tst-tlsmod5.c: Likewise.
17987 * elf/tst-tlsmod6.c: Likewise.
17989 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17992 * malloc/malloc.c: remove checks for statistics.
17994 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17997 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17998 * inet/tst-network.c: Add testcase.
18000 2013-10-17 Andreas Schwab <schwab@suse.de>
18003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18004 to determine canonical name.
18006 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18008 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18009 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18032 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18033 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18038 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18067 2013-10-17 Joseph Myers <joseph@codesourcery.com>
18070 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18071 make result into a quiet NaN.
18073 2013-10-16 Joseph Myers <joseph@codesourcery.com>
18075 * soft-fp/adddf3.c: Fix horizontal whitespace.
18076 * soft-fp/addsf3.c: Likewise.
18077 * soft-fp/addtf3.c: Likewise.
18078 * soft-fp/divdf3.c: Likewise.
18079 * soft-fp/divsf3.c: Likewise.
18080 * soft-fp/divtf3.c: Likewise.
18081 * soft-fp/double.h: Likewise.
18082 * soft-fp/eqdf2.c: Likewise.
18083 * soft-fp/eqsf2.c: Likewise.
18084 * soft-fp/eqtf2.c: Likewise.
18085 * soft-fp/extenddftf2.c: Likewise.
18086 * soft-fp/extended.h: Likewise.
18087 * soft-fp/extendsfdf2.c: Likewise.
18088 * soft-fp/extendsftf2.c: Likewise.
18089 * soft-fp/extendxftf2.c: Likewise.
18090 * soft-fp/fixdfdi.c: Likewise.
18091 * soft-fp/fixdfsi.c: Likewise.
18092 * soft-fp/fixdfti.c: Likewise.
18093 * soft-fp/fixsfdi.c: Likewise.
18094 * soft-fp/fixsfsi.c: Likewise.
18095 * soft-fp/fixsfti.c: Likewise.
18096 * soft-fp/fixtfdi.c: Likewise.
18097 * soft-fp/fixtfsi.c: Likewise.
18098 * soft-fp/fixtfti.c: Likewise.
18099 * soft-fp/fixunsdfdi.c: Likewise.
18100 * soft-fp/fixunsdfsi.c: Likewise.
18101 * soft-fp/fixunsdfti.c: Likewise.
18102 * soft-fp/fixunssfdi.c: Likewise.
18103 * soft-fp/fixunssfsi.c: Likewise.
18104 * soft-fp/fixunssfti.c: Likewise.
18105 * soft-fp/fixunstfdi.c: Likewise.
18106 * soft-fp/fixunstfsi.c: Likewise.
18107 * soft-fp/fixunstfti.c: Likewise.
18108 * soft-fp/floatdidf.c: Likewise.
18109 * soft-fp/floatdisf.c: Likewise.
18110 * soft-fp/floatditf.c: Likewise.
18111 * soft-fp/floatsidf.c: Likewise.
18112 * soft-fp/floatsisf.c: Likewise.
18113 * soft-fp/floatsitf.c: Likewise.
18114 * soft-fp/floattidf.c: Likewise.
18115 * soft-fp/floattisf.c: Likewise.
18116 * soft-fp/floattitf.c: Likewise.
18117 * soft-fp/floatundidf.c: Likewise.
18118 * soft-fp/floatundisf.c: Likewise.
18119 * soft-fp/floatunditf.c: Likewise.
18120 * soft-fp/floatunsidf.c: Likewise.
18121 * soft-fp/floatunsisf.c: Likewise.
18122 * soft-fp/floatunsitf.c: Likewise.
18123 * soft-fp/floatuntidf.c: Likewise.
18124 * soft-fp/floatuntisf.c: Likewise.
18125 * soft-fp/floatuntitf.c: Likewise.
18126 * soft-fp/fmadf4.c: Likewise.
18127 * soft-fp/fmasf4.c: Likewise.
18128 * soft-fp/fmatf4.c: Likewise.
18129 * soft-fp/gedf2.c: Likewise.
18130 * soft-fp/gesf2.c: Likewise.
18131 * soft-fp/getf2.c: Likewise.
18132 * soft-fp/ledf2.c: Likewise.
18133 * soft-fp/lesf2.c: Likewise.
18134 * soft-fp/letf2.c: Likewise.
18135 * soft-fp/muldf3.c: Likewise.
18136 * soft-fp/mulsf3.c: Likewise.
18137 * soft-fp/multf3.c: Likewise.
18138 * soft-fp/negdf2.c: Likewise.
18139 * soft-fp/negsf2.c: Likewise.
18140 * soft-fp/negtf2.c: Likewise.
18141 * soft-fp/op-1.h: Likewise.
18142 * soft-fp/op-2.h: Likewise.
18143 * soft-fp/op-4.h: Likewise.
18144 * soft-fp/op-8.h: Likewise.
18145 * soft-fp/op-common.h: Likewise.
18146 * soft-fp/quad.h: Likewise.
18147 * soft-fp/single.h: Likewise.
18148 * soft-fp/soft-fp.h: Likewise.
18149 * soft-fp/sqrtdf2.c: Likewise.
18150 * soft-fp/sqrtsf2.c: Likewise.
18151 * soft-fp/sqrttf2.c: Likewise.
18152 * soft-fp/subdf3.c: Likewise.
18153 * soft-fp/subsf3.c: Likewise.
18154 * soft-fp/subtf3.c: Likewise.
18155 * soft-fp/truncdfsf2.c: Likewise.
18156 * soft-fp/trunctfdf2.c: Likewise.
18157 * soft-fp/trunctfsf2.c: Likewise.
18158 * soft-fp/trunctfxf2.c: Likewise.
18159 * soft-fp/unorddf2.c: Likewise.
18160 * soft-fp/unordsf2.c: Likewise.
18161 * soft-fp/unordtf2.c: Likewise.
18163 2013-10-15 Joseph Myers <joseph@codesourcery.com>
18165 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18166 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18168 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
18170 * elf/dl-libc.c: Clear initfini list after freeing.
18172 2013-10-14 Joseph Myers <joseph@codesourcery.com>
18174 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18175 * soft-fp/addsf3.c: Likewise.
18176 * soft-fp/addtf3.c: Likewise.
18177 * soft-fp/divdf3.c: Likewise.
18178 * soft-fp/divsf3.c: Likewise.
18179 * soft-fp/divtf3.c: Likewise.
18180 * soft-fp/double.h: Likewise.
18181 * soft-fp/eqdf2.c: Likewise.
18182 * soft-fp/eqsf2.c: Likewise.
18183 * soft-fp/eqtf2.c: Likewise.
18184 * soft-fp/extenddftf2.c: Likewise.
18185 * soft-fp/extended.h: Likewise.
18186 * soft-fp/extendsfdf2.c: Likewise.
18187 * soft-fp/extendsftf2.c: Likewise.
18188 * soft-fp/extendxftf2.c: Likewise.
18189 * soft-fp/fixdfdi.c: Likewise.
18190 * soft-fp/fixdfsi.c: Likewise.
18191 * soft-fp/fixdfti.c: Likewise.
18192 * soft-fp/fixsfdi.c: Likewise.
18193 * soft-fp/fixsfsi.c: Likewise.
18194 * soft-fp/fixsfti.c: Likewise.
18195 * soft-fp/fixtfdi.c: Likewise.
18196 * soft-fp/fixtfsi.c: Likewise.
18197 * soft-fp/fixtfti.c: Likewise.
18198 * soft-fp/fixunsdfdi.c: Likewise.
18199 * soft-fp/fixunsdfsi.c: Likewise.
18200 * soft-fp/fixunsdfti.c: Likewise.
18201 * soft-fp/fixunssfdi.c: Likewise.
18202 * soft-fp/fixunssfsi.c: Likewise.
18203 * soft-fp/fixunssfti.c: Likewise.
18204 * soft-fp/fixunstfdi.c: Likewise.
18205 * soft-fp/fixunstfsi.c: Likewise.
18206 * soft-fp/fixunstfti.c: Likewise.
18207 * soft-fp/floatdidf.c: Likewise.
18208 * soft-fp/floatdisf.c: Likewise.
18209 * soft-fp/floatditf.c: Likewise.
18210 * soft-fp/floatsidf.c: Likewise.
18211 * soft-fp/floatsisf.c: Likewise.
18212 * soft-fp/floatsitf.c: Likewise.
18213 * soft-fp/floattidf.c: Likewise.
18214 * soft-fp/floattisf.c: Likewise.
18215 * soft-fp/floattitf.c: Likewise.
18216 * soft-fp/floatundidf.c: Likewise.
18217 * soft-fp/floatundisf.c: Likewise.
18218 * soft-fp/floatunsidf.c: Likewise.
18219 * soft-fp/floatunsisf.c: Likewise.
18220 * soft-fp/floatuntidf.c: Likewise.
18221 * soft-fp/floatuntisf.c: Likewise.
18222 * soft-fp/floatuntitf.c: Likewise.
18223 * soft-fp/fmadf4.c: Likewise.
18224 * soft-fp/fmasf4.c: Likewise.
18225 * soft-fp/fmatf4.c: Likewise.
18226 * soft-fp/gedf2.c: Likewise.
18227 * soft-fp/gesf2.c: Likewise.
18228 * soft-fp/getf2.c: Likewise.
18229 * soft-fp/ledf2.c: Likewise.
18230 * soft-fp/lesf2.c: Likewise.
18231 * soft-fp/letf2.c: Likewise.
18232 * soft-fp/muldf3.c: Likewise.
18233 * soft-fp/mulsf3.c: Likewise.
18234 * soft-fp/multf3.c: Likewise.
18235 * soft-fp/negdf2.c: Likewise.
18236 * soft-fp/negsf2.c: Likewise.
18237 * soft-fp/negtf2.c: Likewise.
18238 * soft-fp/op-1.h: Likewise.
18239 * soft-fp/op-2.h: Likewise.
18240 * soft-fp/op-4.h: Likewise.
18241 * soft-fp/op-8.h: Likewise.
18242 * soft-fp/op-common.h: Likewise.
18243 * soft-fp/quad.h: Likewise.
18244 * soft-fp/single.h: Likewise.
18245 * soft-fp/soft-fp.h: Likewise.
18246 * soft-fp/sqrtdf2.c: Likewise.
18247 * soft-fp/sqrtsf2.c: Likewise.
18248 * soft-fp/sqrttf2.c: Likewise.
18249 * soft-fp/subdf3.c: Likewise.
18250 * soft-fp/subsf3.c: Likewise.
18251 * soft-fp/subtf3.c: Likewise.
18252 * soft-fp/truncdfsf2.c: Likewise.
18253 * soft-fp/trunctfdf2.c: Likewise.
18254 * soft-fp/trunctfsf2.c: Likewise.
18255 * soft-fp/trunctfxf2.c: Likewise.
18256 * soft-fp/unorddf2.c: Likewise.
18257 * soft-fp/unordsf2.c: Likewise.
18258 * soft-fp/unordtf2.c: Likewise.
18260 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
18263 * misc/error.c (error_tail): Fix possible buffer overflow.
18265 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18268 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18271 2013-10-14 P. J. McDermott <pj@pehjota.net>
18274 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18275 testing pipefail option.
18277 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18279 * soft-fp/double.h: Indent preprocessor directives inside #if.
18280 * soft-fp/extended.h: Likewise.
18281 * soft-fp/op-2.h: Likewise.
18282 * soft-fp/op-4.h: Likewise.
18283 * soft-fp/op-common.h: Likewise.
18284 * soft-fp/quad.h: Likewise.
18285 * soft-fp/single.h: Likewise.
18286 * soft-fp/soft-fp.h: Likewise.
18288 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18290 * iconv/iconv_prog.c: Fix typos.
18291 * stdio-common/psiginfo-data.h: Likewise.
18293 2013-10-12 Reuben Thomas <rrt@sc3d.org>
18296 * locale/setlocale.c: Fix typo.
18298 2013-10-12 Joseph Myers <joseph@codesourcery.com>
18301 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18302 signaling NaN arguments.
18303 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18304 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18307 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18308 unordered operands.
18309 * soft-fp/gesf2.c (__gesf2): Likewise.
18310 * soft-fp/getf2.c (__getf2): Likewise.
18311 * soft-fp/ledf2.c (__ledf2): Likewise.
18312 * soft-fp/lesf2.c (__lesf2): Likewise.
18313 * soft-fp/letf2.c (__letf2): Likewise.
18315 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18316 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18317 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18318 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18319 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18320 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18321 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18322 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18323 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18324 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18325 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18326 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18327 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18328 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18329 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18330 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18331 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18332 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18333 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18334 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18335 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18336 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18337 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18338 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18339 * soft-fp/floattidf.c (__floattidf): Likewise.
18340 * soft-fp/floattisf.c (__floattisf): Likewise.
18341 * soft-fp/floattitf.c (__floattitf): Likewise.
18342 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18343 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18344 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18345 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18346 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18347 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18348 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18349 * soft-fp/gesf2.c (__gesf2): Likewise.
18350 * soft-fp/getf2.c (__getf2): Likewise.
18351 * soft-fp/ledf2.c (__ledf2): Likewise.
18352 * soft-fp/lesf2.c (__lesf2): Likewise.
18353 * soft-fp/letf2.c (__letf2): Likewise.
18355 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18356 Undefine and redefine.
18357 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18358 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18359 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18360 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18361 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18362 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18363 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18364 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18365 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18366 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18367 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18368 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18369 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18370 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18371 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18374 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18375 without decrementing exponent if mantissa >= that for the
18376 denominator, not >.
18377 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18378 denominator, not >. Decrement exponent in < case instead of
18379 incrementing in >= case.
18380 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18381 without decrementing exponent if mantissa >= that for the
18382 denominator, not >.
18384 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18385 computing saturated result for unsigned overflow.
18387 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18388 Jeff Law <law@redhat.com>
18390 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18391 (atan2Mp): Add systemtap probe marker.
18392 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18393 (__ieee754_log): Add systemtap probe marker.
18394 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18395 (atanMp): Add systemtap probe marker.
18396 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18397 (tanMp): Add systemtap probe marker.
18398 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18399 (__slowexp): Add systemtap probe marker.
18400 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18401 (__slowpow): Add systemtap probe marker.
18402 * manual/probes.texi: Document probes.
18404 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
18407 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18409 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18411 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18412 written to buffer but not flushed.
18413 * libio/iofwrite_u.c: Likewise.
18414 * libio/iopadn.c: Return bytes returned even if EOF was
18416 * libio/iowpadn.c: Likewise.
18417 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18418 if _IO_padn does not write the whole buffer.
18419 [!COMPILE_WPRINTF] (PAD): Likewise.
18421 2013-10-10 David S. Miller <davem@davemloft.net>
18423 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18426 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18428 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18429 instead of FSF address.
18430 * soft-fp/fixdfti.c: Likewise.
18431 * soft-fp/fixsfti.c: Likewise.
18432 * soft-fp/fixtfti.c: Likewise.
18433 * soft-fp/fixunsdfti.c: Likewise.
18434 * soft-fp/fixunssfti.c: Likewise.
18435 * soft-fp/fixunstfti.c: Likewise.
18436 * soft-fp/floattidf.c: Likewise.
18437 * soft-fp/floattisf.c: Likewise.
18438 * soft-fp/floattitf.c: Likewise.
18439 * soft-fp/floatuntidf.c: Likewise.
18440 * soft-fp/floatuntisf.c: Likewise.
18441 * soft-fp/floatuntitf.c: Likewise.
18442 * soft-fp/trunctfxf2.c: Likewise.
18444 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18445 * soft-fp/fixdfti.c: Likewise.
18446 * soft-fp/fixsfti.c: Likewise.
18447 * soft-fp/fixtfti.c: Likewise.
18448 * soft-fp/fixunsdfti.c: Likewise.
18449 * soft-fp/fixunssfti.c: Likewise.
18450 * soft-fp/fixunstfti.c: Likewise.
18451 * soft-fp/floattidf.c: Likewise.
18452 * soft-fp/floattisf.c: Likewise.
18453 * soft-fp/floattitf.c: Likewise.
18454 * soft-fp/floatuntidf.c: Likewise.
18455 * soft-fp/floatuntisf.c: Likewise.
18456 * soft-fp/floatuntitf.c: Likewise.
18457 * soft-fp/trunctfxf2.c: Likewise.
18459 2013-10-10 David S. Miller <davem@davemloft.net>
18461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18463 2013-10-10 Joseph Myers <joseph@codsourcery.com>
18465 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18466 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18467 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18468 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18469 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18470 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18471 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18474 for NaNs before doing comparisons on argument.
18475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18478 2013-10-10 Will Newton <will.newton@linaro.org>
18480 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18481 passed to _int_memalign does not overflow.
18483 2013-10-10 Torvald Riegel <triegel@redhat.com>
18485 * scripts/bench.pl: Add include-sources directive.
18486 * benchtests/README: Update documentation.
18488 2013-10-10 Joseph Myers <joseph@codesourcery.com>
18490 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18491 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18492 instead of FP_INIT_ROUNDMODE.
18493 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18494 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18497 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18498 copy class of input value.
18499 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18500 not handle exceptions.
18501 * soft-fp/negsf2.c (__negsf2): Likewise.
18502 * soft-fp/negtf2.c (__negtf2): Likewise.
18503 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18505 2013-10-09 Joseph Myers <joseph@codesourcery.com>
18507 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18508 semicolon. From Linux kernel.
18510 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18512 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18514 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18517 * manual/socket.texi: Added statement about buffer
18518 for gethostbyname2_r.
18520 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
18522 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18523 Use .p2align directive instead, throughout.
18524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18525 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18526 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18527 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18529 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18530 * sysdeps/x86_64/strchr.S: Likewise.
18531 * sysdeps/x86_64/strrchr.S: Likewise.
18533 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18535 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18537 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18539 * sysdeps/generic/math_private.h (__mpsin1): Remove
18541 (__mpcos1): Likewise.
18542 (__mpsin): New argument __range_reduce.
18543 (__mpcos): Likewise.
18544 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18545 (slow): Use __mpsin and __mpcos.
18549 (sloww1): Likewise.
18550 (sloww2): Likewise.
18551 (bsloww): Likewise.
18552 (bsloww1): Likewise.
18553 (bsloww2): Likewise.
18554 (cslow2): Likewise.
18555 (csloww): Likewise.
18556 (csloww1): Likewise.
18557 (csloww2): Likewise.
18558 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18559 range_reduce. Merge in __mpsin1.
18560 (__mpcos): Likewise.
18561 (__mpsin1): Remove.
18562 (__mpcos1): Likewise.
18564 2013-10-07 Joseph Myers <joseph@codesourcery.com>
18566 * locale/loadlocale.c (_nl_intern_locale_data): Use
18568 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18569 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18570 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18571 obstack data is appropriately aligned.
18572 (obstack_int32_grow_fast): Likewise.
18573 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18574 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18575 (add_locale_uint32_array): Likewise.
18577 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18579 * benchtests/Makefile: Remove ARGLIST and RET variables.
18580 ($(objpfx)bench-%.c): Pass only function name to the script.
18581 * benchtests/README: Update documentation.
18582 * benchtests/acos-inputs: Add new directives.
18583 * benchtests/acosh-inputs: Likewise.
18584 * benchtests/asin-inputs: Likewise.
18585 * benchtests/asinh-inputs: Likewise.
18586 * benchtests/atan-inputs: Likewise.
18587 * benchtests/atanh-inputs: Likewise.
18588 * benchtests/cos-inputs: Likewise.
18589 * benchtests/cosh-inputs: Likewise.
18590 * benchtests/exp-inputs: Likewise.
18591 * benchtests/log-inputs: Likewise.
18592 * benchtests/pow-inputs: Likewise.
18593 * benchtests/rint-inputs: Likewise.
18594 * benchtests/sin-inputs: Likewise.
18595 * benchtests/sinh-inputs: Likewise.
18596 * benchtests/tan-inputs: Likewise.
18597 * benchtests/tanh-inputs: Likewise.
18598 * scripts/bench.pl: Add support for new directives.
18600 2013-10-07 Alan Modra <amodra@gmail.com>
18602 * README: Fix careless merge.
18604 2013-10-05 Alan Modra <amodra@gmail.com>
18606 * NEWS: Mention powerpc64le support and bugs fixed.
18607 * README: Both big-endian and little-endian powerpc64 supported.
18609 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18611 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18612 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
18613 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18614 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18616 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18618 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18621 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18623 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18624 Move -mhard-float appending from
18625 ports/sysdeps/powerpc/powerpc32/Makefile.
18626 [$(with-fp) = yes] (ASFLAGS): Likewise.
18627 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18628 * sysdeps/powerpc/nofpu: Move directory from
18629 ports/sysdeps/powerpc/nofpu.
18630 * sysdeps/powerpc/soft-fp: Move directory from
18631 ports/sysdeps/powerpc/soft-fp.
18632 * sysdeps/powerpc/powerpc32/405: Move directory from
18633 ports/sysdeps/powerpc/powerpc32/405.
18634 * sysdeps/powerpc/powerpc32/440: Move directory from
18635 ports/sysdeps/powerpc/powerpc32/440.
18636 * sysdeps/powerpc/powerpc32/464: Move directory from
18637 ports/sysdeps/powerpc/powerpc32/464.
18638 * sysdeps/powerpc/powerpc32/476: Move directory from
18639 ports/sysdeps/powerpc/powerpc32/476.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18647 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18649 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18650 * README: Update for powerpc-*-linux-gnu software floating point
18653 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18654 case to powerpc/powerpc32*.
18655 * sysdeps/unix/sysv/linux/configure: Regenerated.
18657 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18658 (_FPU_MASK_OM): Define as 0x04.
18659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18667 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18670 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18673 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18674 and setcontext_e500.
18676 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18678 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18680 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18682 * manual/threads.texi (Default Thread Attributes): Fix typo.
18684 2013-10-04 Will Newton <will.newton@linaro.org>
18686 * malloc/Makefile: Add tst-memalign.
18687 * malloc/tst-memalign.c: New file.
18689 * malloc/tst-posix_memalign.c: Add comments.
18690 (do_test): Add comments and call free on all potentially
18691 allocated pointers. Add space after cast.
18693 * malloc/tst-pvalloc.c: Add comments.
18694 (do_test): Add comments and call free on all potentially
18695 allocated pointers. Remove duplicate check for NULL pointer.
18696 Add space after cast.
18698 * malloc/tst-valloc.c: Add comments.
18699 (do_test): Add comments and call free on all potentially
18700 allocated pointers. Remove duplicate check for NULL pointer.
18701 Add space after cast.
18703 2013-10-04 Alan Modra <amodra@gmail.com>
18705 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18706 Use stdint types in rather than __attribute__((mode())).
18707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18709 2013-10-04 Alan Modra <amodra@gmail.com>
18711 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18712 Correct handling of unaligned relocs for little-endian.
18713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18715 2013-10-04 Alan Modra <amodra@gmail.com>
18717 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18718 * configure: Regenerate.
18719 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18720 * shlib-versions: Likewise.
18722 2013-10-04 Alan Modra <amodra@gmail.com>
18724 * string/tester.c (test_memrchr): Increment reported test cycle.
18726 2013-10-04 Alan Modra <amodra@gmail.com>
18728 * string/test-memcpy.c (do_one_test): When reporting errors, print
18729 string address and don't overrun end of string.
18731 2013-10-04 Alan Modra <amodra@gmail.com>
18733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18734 insrdi. Make better use of reg selection to speed exit slightly.
18735 Schedule entry path a little better. Remove useless "are we done"
18736 checks on entry to main loop. Handle wrapping around zero address.
18737 Correct main loop count. Handle single left-over word from main
18738 loop inline rather than by using loop_small. Remove extra word
18739 case in loop_small caused by wrong loop count. Add little-endian
18741 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18742 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18744 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18745 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18746 support. Avoid rlwimi.
18747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18749 2013-10-04 Alan Modra <amodra@gmail.com>
18751 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18752 insrdi. Formatting.
18753 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18754 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18755 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18756 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18757 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18758 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18760 2013-10-04 Alan Modra <amodra@gmail.com>
18762 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18763 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18764 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18765 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18766 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18767 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18768 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18769 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18770 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18771 use of regs. Use power7 mtocrf. Tidy function tails.
18773 2013-10-04 Alan Modra <amodra@gmail.com>
18775 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18776 Formatting. Consistently use rXXX register defines or rN defines.
18777 Use early exit labels that avoid restoring unused non-volatile regs.
18778 Make cr field use more consistent with rWORDn compares. Rename
18779 regs used as shift registers for unaligned loop, using rN defines
18780 for short lifetime/multiple use regs.
18781 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18782 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18783 addi 1,1,64 to pop stack frame. Simplify return value code.
18784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18786 2013-10-04 Alan Modra <amodra@gmail.com>
18788 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18789 support. Correct typos, formatting. Optimize tail. Use insrdi
18790 rather than rlwimi.
18791 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18792 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18793 little-endian support. Correct typos.
18794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18795 rather than rlwimi.
18796 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18797 in loop and entry code to keep "and." results.
18798 (strchr): Add little-endian support. Comment. Move cntlzd
18800 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18802 2013-10-04 Alan Modra <amodra@gmail.com>
18804 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18805 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18806 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18807 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18809 2013-10-04 Alan Modra <amodra@gmail.com>
18811 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18812 (rTMP): Define as r11.
18813 (strcmp): Add little-endian support. Optimise tail.
18814 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18815 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18816 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18818 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18820 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18822 2013-10-04 Alan Modra <amodra@gmail.com>
18824 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18825 little-endian support. Remove unnecessary "are we done" tests.
18826 Handle "s" wrapping around zero and extremely large "size".
18827 Correct main loop count. Handle single left-over word from main
18828 loop inline rather than by using small_loop. Correct comments.
18829 Delete "zero" tail, use "end_max" instead.
18830 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18832 2013-10-04 Alan Modra <amodra@gmail.com>
18834 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18835 support. Don't branch over align.
18836 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18837 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18838 support. Rearrange tmp reg use to suit. Comment.
18839 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18841 2013-10-04 Alan Modra <amodra@gmail.com>
18843 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18845 2013-10-04 Alan Modra <amodra@gmail.com>
18847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18848 conditional form of branch and link when obtaining pc.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18851 2013-10-04 Alan Modra <amodra@gmail.com>
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18858 2013-10-04 Alan Modra <amodra@gmail.com>
18860 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18861 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18862 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18863 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18864 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18865 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18866 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18867 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18868 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18869 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18871 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18872 Alistair Popple <alistair@ozlabs.au.ibm.com>
18873 Alan Modra <amodra@gmail.com>
18876 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18877 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18878 _dl_hwcap access for little-endian.
18879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18880 destroy vmx regs when saving unaligned.
18881 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18882 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18883 destroy vmx regs when saving unaligned.
18885 2013-10-04 Alan Modra <amodra@gmail.com>
18887 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18888 Don't use a union to pack hi/low value.
18890 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18892 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18894 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18896 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18897 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18898 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18900 2013-10-04 Alan Modra <amodra@gmail.com>
18902 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18903 constants to usual value for .cst8 section, and remove redundant
18905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18906 constant for 0x1p52. Load little-endian words of double from
18907 correct stack offsets.
18909 2013-10-04 Alan Modra <amodra@gmail.com>
18911 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18912 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18913 words of double from correct stack offsets.
18914 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18915 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18916 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18918 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18921 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18922 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18926 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18927 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18928 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18929 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18930 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18932 2013-10-04 Alan Modra <amodra@gmail.com>
18934 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18935 64-bit int/double union.
18936 (_FPU_SETCW): Likewise.
18937 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18938 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18940 2013-10-04 Alan Modra <amodra@gmail.com>
18942 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18943 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18945 2013-10-04 Alan Modra <amodra@gmail.com>
18947 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18948 use vector int constants.
18949 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18951 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18953 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18954 array with long long.
18955 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18956 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18957 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18958 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18959 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18960 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18961 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18962 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18963 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18964 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18965 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18966 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18967 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18969 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18971 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18972 (__signbit): Likewise. Correct for little-endian.
18973 (__signbitl): Call __signbit.
18974 (lrint): Correct for little-endian.
18975 (lrintf): Call lrint.
18977 2013-10-04 Alan Modra <amodra@gmail.com>
18979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18980 union 32-bit int array member with 64-bit int array.
18981 (t515, tm256): Double rather than long double.
18982 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18984 2013-10-04 Alan Modra <amodra@gmail.com>
18986 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18988 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18990 version of math_ldbl.h.
18992 2013-10-04 Alan Modra <amodra@gmail.com>
18994 [BZ #15734], [BZ #15735]
18995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18996 all uses of ieee875 long double macros and unions. Simplify test
18997 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18998 ldbl_extract_mantissa value for ix,iy exponents. Properly
18999 normalize after ldbl_extract_mantissa, and don't add hidden bit
19000 already handled. Don't treat low word of ieee854 mantissa like
19001 low word of IBM long double and mask off bit when testing for
19003 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19004 all uses of ieee875 long double macros and unions. Simplify tests
19005 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19006 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19007 two1022, instead use their values. Recognise that tests for large
19008 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19009 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19010 Rewrite all uses of ieee875 long double macros and unions. Simplify
19011 test for 0.0L and nan. Correct negation.
19012 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19013 ieee875 long double macros and unions. Correct output for large
19014 magnitude x. Correct absolute value calculation.
19015 (__erfcl): Likewise.
19016 * math/libm-test.inc: Add tests for errors discovered in IBM long
19017 double versions of fmodl, remainderl, erfl and erfcl.
19019 2013-10-04 Alan Modra <amodra@gmail.com>
19021 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19022 all uses of ieee854 long double macros and unions. Simplify tests
19023 for long doubles that are fully specified by the high double.
19024 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19026 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19027 Remove dead code too.
19028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19029 (__ieee754_ynl): Likewise.
19030 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19033 Remove dead code too.
19034 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19035 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19036 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19037 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19039 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19041 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19042 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19043 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19044 Comment on variable precision.
19045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19048 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19051 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19054 2013-10-04 Alan Modra <amodra@gmail.com>
19056 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19057 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19058 all uses of ieee854 long double macros and unions.
19059 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19060 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19063 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19064 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19067 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19068 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19069 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19071 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19072 Simplify sign and nan test too.
19073 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19074 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19075 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19076 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19078 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19079 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19085 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19088 2013-10-04 Alan Modra <amodra@gmail.com>
19090 * stdio-common/printf_size.c (__printf_size): Don't use
19091 union ieee854_long_double in fpnum union.
19092 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19093 signbit macro to retrieve sign from long double.
19094 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19095 retrieve sign from long double.
19096 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19097 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19098 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19099 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19100 * math/test-misc.c (main): Don't use union ieee854_long_double.
19102 2013-10-04 Alan Modra <amodra@gmail.com>
19105 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19106 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19107 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19108 calculation. Remove unnecessary test for denormal exponent.
19109 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19110 Correct handling of denormals. Avoid undefined shift behaviour.
19111 Correct normalisation of low mantissa when low double is denormal.
19112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19113 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19114 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19115 Correct normalisation of low mantissa. Test for overflow of high
19116 mantissa and normalise.
19117 (ldbl_nearbyint): Use more readable constant for two52.
19118 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19119 (__mpn_construct_long_double): Fix test for overflow of high
19120 mantissa and correct normalisation. Avoid undefined shift.
19122 2013-10-04 Alan Modra <amodra@gmail.com>
19124 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19125 (union ibm_extended_long_double): Define as an array of ieee754_double.
19126 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19128 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19129 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19133 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19138 2013-10-03 Joseph Myers <joseph@codesourcery.com>
19140 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19141 page size instead of calling getpagesize.
19143 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19144 (LOCFILE_ALIGN_MASK): Likewise.
19145 (LOCFILE_ALIGN_UP): Likewise.
19146 (LOCFILE_ALIGNED_P): Likewise.
19147 * locale/programs/ld-collate.c (collate_output): Use the new
19148 macros instead of __alignof__ (int32_t).
19149 * locale/weight.h (findidx): Likewise.
19151 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
19154 * manual/string.texi: Fix strncat and wcsncat.
19156 2013-10-03 Brooks Moses <bmoses@google.com>
19159 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19160 * Makerules: ...here, and adjust associated comments.
19162 2013-10-02 Will Newton <will.newton@linaro.org>
19164 * malloc/Makefile: Add tst-pvalloc.
19165 * malloc/tst-pvalloc.c: New file.
19167 2013-10-02 Will Newton <will.newton@linaro.org>
19169 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19170 improve test coverage.
19172 2013-10-02 Will Newton <will.newton@linaro.org>
19174 * malloc/Makefile: Add tst-posix_memalign.
19175 * malloc/tst-posix_memalign.c: New file.
19177 2013-10-01 Eric Blake <eblake@redhat.com>
19179 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19180 Use __THROWNL rather than __THROW on static functions.
19182 2013-09-30 Petr Machata <pmachata@redhat.com>
19184 * elf/elf.h (R_AARCH64_ABS16): New macro.
19185 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19186 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19187 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19188 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19189 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19190 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19191 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19192 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19193 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19194 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19195 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19196 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19197 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19198 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19199 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19200 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19201 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19202 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19203 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19204 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19205 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19206 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19207 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19208 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19209 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19210 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19211 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19212 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19213 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19214 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19215 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19216 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19217 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19218 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19219 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19220 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19221 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19222 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19223 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19224 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19225 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19226 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19227 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19228 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19229 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19230 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19231 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19232 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19233 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19234 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19235 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19236 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19237 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19238 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19239 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19240 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19241 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19242 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19243 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19244 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19245 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19246 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19247 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19248 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19249 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19250 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19251 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19252 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19253 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19254 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19255 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19256 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19257 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19258 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19259 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19260 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19261 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19262 (R_AARCH64_TLSDESC_LDR): Likewise.
19263 (R_AARCH64_TLSDESC_ADD): Likewise.
19264 (R_AARCH64_TLSDESC_CALL): Likewise.
19266 2013-09-30 Andreas Schwab <schwab@suse.de>
19269 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19270 the nss database lookup.
19271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19274 2013-09-28 Mike Frysinger <vapier@gentoo.org>
19276 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19278 2013-09-28 P. J. McDermott <pj@pehjota.net>
19280 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19281 ${Bash-specific parameter/pattern/string} parameter expansion.
19282 * sysdeps/unix/make-syscalls.sh: Likewise.
19284 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19286 * sysdeps/sh/stackguard-macros.h: New file.
19288 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
19290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19292 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19293 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19294 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19295 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19297 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19299 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19300 Fix thread ID register.
19302 2013-09-25 Joseph Myers <joseph@codesourcery.com>
19304 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19305 [POSIX || UNIX98]: Require rather than permitting all symbols from
19307 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19308 element of struct sched_param.
19309 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19310 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19311 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19312 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19315 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19317 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19318 argument calculation.
19320 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19322 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19324 [POSIX] (pthread_attr_t): Do not require type.
19325 [POSIX] (pthread_cond_t): Likewise.
19326 [POSIX] (pthread_condattr_t): Likewise.
19327 [POSIX] (pthread_key_t): Likewise.
19328 [POSIX] (pthread_mutex_t): Likewise.
19329 [POSIX] (pthread_mutexattr_t): Likewise.
19330 [POSIX] (pthread_once_t): Likewise.
19331 [POSIX] (pthread_t): Likewise.
19332 [POSIX-based standards] (pthread_atfork): Expect function.
19334 2013-09-24 Joseph Myers <joseph@codesourcery.com>
19335 Richard Sandiford <richard@codesourcery.com>
19337 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19338 (swap_endianness_p): New extern variable.
19339 (set_big_endian): New inline function.
19340 (maybe_swap_uint32): Likewise.
19341 (maybe_swap_uint32_array): Likewise.
19342 (maybe_swap_uint32_obstack): Likewise.
19343 * locale/programs/locfile.c: Include <stdbool.h>.
19344 (swap_endianness_p): New variable.
19345 (add_locale_uint32): Call maybe_swap_uint32.
19346 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19347 (write_locale_data): Call maybe_swap_uint32_array.
19348 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19350 (obstack_int32_grow_fast): Likewise.
19351 (output_weightwc): Call maybe_swap_uint32_obstack.
19352 (collate_output): Likewise.
19353 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19354 (OPT_LITTLE_ENDIAN): Likewise.
19355 (options): Add --little-endian and --big-endian options.
19356 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19357 * locale/programs/locarchive.c: Include "locfile.h".
19361 (create_archive): Use the new macros to access fields of
19362 structures directly mapped from or written to locale archives.
19363 (oldlocrecentcmp): Likewise.
19364 (enlarge_archive): Likewise.
19365 (insert_name): Likewise.
19366 (add_alias): Likewise.
19367 (add_locale): Likewise.
19368 (delete_locales_from_archive): Likewise.
19369 (show_archive_content): Likewise.
19370 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19373 2013-09-24 Roland McGrath <roland@hack.frob.com>
19375 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19376 http://www.gnu.org/doc/freemanuals.texi.
19377 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19379 2013-09-24 Will Newton <will.newton@linaro.org>
19381 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19384 2013-09-23 Joseph Myers <joseph@codesourcery.com>
19386 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19389 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19391 * manual/threads.texi (POSIX Threads): Fix a typo.
19393 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19396 * string/tst-strcoll-overflow.c: New test case.
19397 * string/Makefile (xtests): Add tst-strcoll-overflow.
19398 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19399 cache if string sizes may cause integer overflow.
19402 * string/strcoll_l.c (coll_seq): New members rule, idx,
19403 save_idx and back_us.
19404 (get_next_seq_nocache): New function.
19405 (do_compare_nocache): New function.
19406 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19409 2013-09-23 Carlos O'Donell <carlos@redhat.com>
19412 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19413 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19414 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19417 * elf/Makefile (tests): Add tst-ptrguard1.
19418 (tests-static): Add tst-ptrguard1-static.
19419 (tst-ptrguard1-ARGS): Define.
19420 (tst-ptrguard1-static-ARGS): Define.
19421 * elf/tst-ptrguard1.c: New file.
19422 * elf/tst-ptrguard1-static.c: New file.
19423 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19424 * sysdeps/i386/stackguard-macros.h: Likewise.
19425 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19426 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19427 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19428 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19429 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19430 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19432 2013-09-23 Hector Marco <hecmargi@upv.es>
19433 Ismael Ripoll <iripoll@disca.upv.es>
19434 Carlos O'Donell <carlos@redhat.com>
19437 * sysdeps/generic/stackguard-macros.h: Define
19438 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19439 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19440 Define __pointer_chk_guard_local.
19441 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19442 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19444 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19447 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19449 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19451 * include/string.h (__ffs): Declare as hidden.
19452 * string/ffs.c (__ffs): Define as hidden.
19453 * sysdeps/i386/ffs.c (__ffs): Likewise.
19454 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19455 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19456 * sysdeps/s390/ffs.c (__ffs): Likewise.
19457 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19459 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
19461 * NEWS: Mention malloc probes.
19463 * malloc/arena.c (new_heap): New memory_heap_new probe.
19464 (grow_heap): New memory_heap_more probe.
19465 (shrink_heap): New memory_heap_less probe.
19466 (heap_trim): New memory_heap_free probe.
19467 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19468 (systrim): New memory_sbrk_less probe.
19469 * manual/probes.texi: Document them.
19471 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19472 * manual/probes.texi: Document it.
19474 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19475 (__libc_realloc): Add memory_realloc_retry probe.
19476 (__libc_memalign): Add memory_memalign_retry probe.
19477 (__libc_valloc): Add memory_valloc_retry probe.
19478 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19479 (__libc_calloc): Add memory_calloc_retry probe.
19480 * manual/probes.texi: Document them.
19482 * malloc/arena.c (get_free_list): Add probe
19483 memory_arena_reuse_free_list.
19484 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19485 and memory_arena_reuse.
19486 (arena_get2) [!PER_THREAD]: Likewise.
19487 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19488 memory_arena_reuse_realloc.
19489 * manual/probes.texi: Document them.
19491 * malloc/malloc.c (__libc_free): Add
19492 memory_mallopt_free_dyn_thresholds probe.
19493 (__libc_mallopt): Add multiple memory_mallopt probes.
19494 * manual/probes.texi: Document them.
19496 * malloc/malloc.c: Include stap-probe.h.
19497 (__libc_mallopt): Add memory_mallopt probe.
19498 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19499 * manual/probes.texi: New.
19500 * manual/Makefile (chapters): Add probes.
19501 * manual/threads.texi: Set next node.
19503 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
19505 [BZ #15963, #13985]
19506 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19507 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19508 Add `Chinese' to `nan' entry name.
19510 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19512 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19513 (POLYNOMIAL): Likewise.
19514 (TAYLOR_SINCOS): Likewise.
19515 (TAYLOR_SLOW): Likewise.
19516 (__sin): Use TAYLOR_SINCOS.
19518 (slow): Use TAYLOR_SLOW.
19520 (bsloww): Likewise.
19521 (csloww): Likewise.
19523 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19525 * stdlib/strtod_l.c: Fix buffer overrun.
19527 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19529 * benchtests/Makefile (bench): Add sincos.
19530 * benchtests/bench-sincos.c: New file.
19532 * math/libm-test.inc (cos_test_data): New test inputs.
19533 (sin_test_data): Likewise.
19535 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19541 (sloww1): Likewise.
19542 (sloww2): Likewise.
19543 (bsloww1): Likewise.
19544 (bsloww2): Likewise.
19545 (cslow2): Likewise.
19546 (csloww1): Likewise.
19547 (csloww2): Likewise.
19549 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19558 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19560 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19561 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19562 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19563 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19564 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19565 * elf/cache.c (print_entry): Handle the new cache flags.
19567 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19568 Aldy Hernandez <aldyh@redhat.com>
19570 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19571 Change condition to [_SOFT_FLOAT].
19572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19584 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19587 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19590 2013-09-18 Joseph Myers <joseph@codesourcery.com>
19592 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19593 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19594 (__longjmp): Use LOAD_GP to load saved GPRs.
19595 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19596 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19597 (__sigsetjmp): Use SAVE_GP to save GPRs.
19599 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19600 Do not append -msoft-float.
19601 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19603 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19605 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19607 2013-09-17 Joseph Myers <joseph@codesourcery.com>
19610 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19611 (_FPU_GETCW): Use initial "__" on variable and field names but not
19612 on macro parameter name.
19613 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19614 parentheses around reference to macro parameter.
19616 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19618 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19620 (ctype_startup): Use uint32_t in cast and sizeof for
19623 2013-09-11 Jia Liu <proljc@gmail.com>
19625 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19627 [__FreeBSD__]: Likewise.
19629 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19632 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19633 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19634 (strchr): Remove __strchr_sse42 ifunc selection.
19635 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19636 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19638 2013-09-11 Will Newton <will.newton@linaro.org>
19640 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19641 parameter to RES. Remove hardcoded 1000 value.
19642 * benchtests/bench-skeleton.c (main): Pass RES parameter
19643 to TIMING_INIT and multiply result by 1000.
19645 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19649 2013-09-11 Andreas Schwab <schwab@suse.de>
19651 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19653 (O_TMPFILE) [__USE_GNU]: Define.
19654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19657 2013-09-11 Will Newton <will.newton@linaro.org>
19660 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19663 2013-09-11 Will Newton <will.newton@linaro.org>
19666 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19669 2013-09-11 Will Newton <will.newton@linaro.org>
19672 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19675 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19677 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19678 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19681 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19683 2013-09-10 Allan McRae <allan@archlinux.org>
19686 * manual/arith.texi (Parsing of Floats): Clarify
19690 * manual/install.texi (Running make install): Mention
19692 * INSTALL: Regenerated.
19694 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19696 * csu/init-first.c (_init): Remove the !SHARED condition around
19697 FPU control word initialization.
19698 * elf/dl-support.c (_dl_fpu_control): New variable.
19699 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19700 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19701 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19702 * math/test-fpucw-static.c: New file.
19703 * math/test-fpucw-ieee.c: New file.
19704 * math/test-fpucw-ieee-static.c: New file.
19705 * math/Makefile (tests): Add `test-fpucw-ieee' and
19707 (tests-static): New variable.
19708 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19710 [($(build-shared),yes)]
19711 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19713 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19716 2013-09-09 Allan McRae <allan@archlinux.org>
19719 * manual/string.texi (Collation Functions): Fix typo in
19721 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19724 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19727 * libio/memstream.c (open_memstream): Fix memory leak.
19728 * libio/wmemstream.c (open_wmemstream): Likewise.
19731 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19733 2013-09-09 Will Newton <will.newton@linaro.org>
19735 * malloc/Makefile: Add tst-realloc to tests.
19736 * malloc/tst-realloc.c: New file.
19738 2013-09-09 Allan McRae <allan@archlinux.org>
19741 * COPYING: Update from GNU website to fix FSF address.
19742 * COPYING.LIB: Likewise.
19744 2013-09-06 David S. Miller <davem@davemloft.net>
19746 * po/zh_TW.po: Update Chinese (traditional) translation from
19747 translation project.
19749 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19750 Joseph Myers <joseph@codesourcery.com>
19752 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19754 (obstack_chunk_alloc): New macro.
19755 (obstack_chunk_free): Likewise.
19756 (record_offset): New function.
19757 (init_locale_data): Likewise.
19758 (align_locale_data): Likewise.
19759 (add_locale_empty): Likewise.
19760 (add_locale_raw_data): Likewise.
19761 (add_locale_raw_obstack): Likewise.
19762 (add_locale_string): Likewise.
19763 (add_locale_wstring): Likewise.
19764 (add_locale_uint32): Likewise.
19765 (add_locale_uint32_array): Likewise.
19766 (add_locale_char): Likewise.
19767 (start_locale_structure): Likewise.
19768 (end_locale_structure): Likewise.
19769 (start_locale_prelude): Likewise.
19770 (end_locale_prelude): Likewise.
19771 (write_locale_data): Take locale_file structure rather than an
19773 * locale/programs/locfile.h: Include "obstack.h".
19774 (struct locale_file): Change to store locale file contents instead
19776 (init_locale_data): New prototype.
19777 (align_locale_data): Likewise.
19778 (add_locale_empty): Likewise.
19779 (add_locale_raw_data): Likewise.
19780 (add_locale_raw_obstack): Likewise.
19781 (add_locale_string): Likewise.
19782 (add_locale_wstring): Likewise.
19783 (add_locale_uint32): Likewise.
19784 (add_locale_uint32_array): Likewise.
19785 (add_locale_char): Likewise.
19786 (start_locale_structure): Likewise.
19787 (end_locale_structure): Likewise.
19788 (start_locale_prelude): Likewise.
19789 (end_locale_prelude): Likewise.
19790 (write_locale_data): Update prototype.
19791 * locale/programs/3level.h (struct TABLE): Remove result field.
19792 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19793 Use new locale_file interface.
19794 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19795 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19796 * locale/programs/ld-address.c (address_output): Use new
19797 locale_file interface.
19798 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19800 (collate_finish): Don't call collseq_table_finalize.
19801 (collate_output): Use new locale_file interface.
19802 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19804 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19805 (TABLE): Move defines earlier in file.
19806 (ELEMENT): Likewise.
19807 (DEFAULT): Likewise.
19808 (wctrans_table_add): Move macro and inline function earlier in
19810 (struct wctype_table): Move type earlier in file.
19811 (add_locale_wctype_table): New static prototype.
19812 (struct locale_ctype_t): Use logical types instead of struct iovec
19813 pointers for members.
19814 (ctype_output): Use new locale_file interface.
19815 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19816 new locale_file interface.
19817 (allocate_arrays): Update for use of new locale_file interface.
19818 * locale/programs/ld-identification.c (identification_output): Use
19819 new locale_file interface.
19820 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19821 * locale/programs/ld-messages.c (messages_output): Likewise.
19822 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19823 * locale/programs/ld-name.c (name_output): Likewise.
19824 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19825 * locale/programs/ld-paper.c (paper_output): Likewise.
19826 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19827 * locale/programs/ld-time.c (time_output): Likewise.
19829 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19831 * benchtests/Makefile: Add memrchr benchmark.
19832 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19833 benchmark as memrchr.
19834 * benchtests/bench-memrchr-ifunc.c: New file.
19835 * benchtests/bench-memrchr.c: New file.
19837 2013-09-06 Will Newton <will.newton@linaro.org>
19839 * benchtests/Makefile (string-bench): Add memcpy.
19841 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19842 Cong Wang <amwang@redhat.com>
19845 * sysdeps/unix/sysv/linux/bits/in.h
19846 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19847 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19848 before __USE_KERNEL_IPV6_DEFS uses.
19849 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19851 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19852 sockaddr_in6, or ipv6_mreq.
19854 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19856 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19857 memory access for final bytes in some large inputs.
19858 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19860 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19862 * string/test-memrchr.c: New file.
19863 * string/test-memrchr-ifunc.c: New file.
19864 * string/Makefile: Add new memrchr testcase.
19866 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19868 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19869 fanotify_init returns EPERM.
19871 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19873 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19875 (top level): Treat second token from macro or constant entries for
19876 allowed headers as allowed.
19877 * include/complex.h: Condition internal declarations on
19879 * include/fenv.h: Condition include of <stdbool.h> and internal
19880 declarations on [!_ISOMAC].
19882 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19885 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19887 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19889 * configure.in (--enable-versioning): Remove configure option.
19890 (libc_cv_asm_symver_directive): Remove configure test.
19891 (libc_cv_ld_version_script_option): Likewise.
19892 (VERSIONING): Remove variable and AC_SUBST.
19893 (DO_VERSIONING): Remove AC_DEFINE.
19894 * configure: Regenerated.
19895 * config.h.in (DO_VERSIONING): Remove macro.
19896 * Makerules [$(versioning) = yes]: Change conditionals to
19897 [$(build-shared) = yes].
19898 * config.make.in (versioning): Remove variable.
19899 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19900 [$(build-shared) = yes].
19901 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19902 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19903 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19904 [$(build-shared) = yes].
19905 * extra-lib.mk [$(versioning) = yes]: Likewise.
19906 * hurd/Makefile [$(versioning) = yes]: Likewise.
19907 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19909 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19911 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19912 [SHARED && !NO_HIDDEN].
19913 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19915 [SHARED && DO_VERSIONING]: Likewise..
19916 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19917 [$(build-shared) = yes].
19918 * manual/install.texi (--disable-versioning): Remove
19920 * INSTALL: Regenerated.
19921 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19923 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19924 [$(build-shared) = yes].
19925 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19926 * sysdeps/i386/i686/multiarch/strstr-c.c
19927 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19928 [SHARED && !NO_HIDDEN].
19929 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19930 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19931 * sysdeps/powerpc/powerpc32/dl-machine.c
19932 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19933 * sysdeps/powerpc/powerpc32/sysdep.h
19934 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19935 to [SHARED && PIC && !NO_HIDDEN].
19936 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19937 conditional to [SHARED].
19939 2013-09-04 Will Newton <will.newton@linaro.org>
19941 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19942 * benchtests/bench-string.h: Include bench-timing.h instead
19943 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19944 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19945 call to HP_TIMING_DIFF_INIT.
19946 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19947 instead of hp-timing.h macros.
19948 * benchtests/bench-memchr.c: Likewise.
19949 * benchtests/bench-memcmp.c: Likewise.
19950 * benchtests/bench-memcpy.c: Likewise.
19951 * benchtests/bench-memmem.c: Likewise.
19952 * benchtests/bench-memmove.c: Likewise.
19953 * benchtests/bench-memset.c: Likewise.
19954 * benchtests/bench-rawmemchr.c: Likewise.
19955 * benchtests/bench-strcasecmp.c: Likewise.
19956 * benchtests/bench-strcasestr.c: Likewise.
19957 * benchtests/bench-strcat.c: Likewise.
19958 * benchtests/bench-strchr.c: Likewise.
19959 * benchtests/bench-strcmp.c: Likewise.
19960 * benchtests/bench-strcpy.c: Likewise.
19961 * benchtests/bench-strcpy_chk.c: Likewise.
19962 * benchtests/bench-strlen.c: Likewise.
19963 * benchtests/bench-strncasecmp.c: Likewise.
19964 * benchtests/bench-strncat.c: Likewise.
19965 * benchtests/bench-strncmp.c: Likewise.
19966 * benchtests/bench-strncpy.c: Likewise.
19967 * benchtests/bench-strnlen.c: Likewise.
19968 * benchtests/bench-strpbrk.c: Likewise.
19969 * benchtests/bench-strrchr.c: Likewise.
19970 * benchtests/bench-strspn.c: Likewise.
19971 * benchtests/bench-strstr.c: Likewise.
19973 2013-09-04 Will Newton <will.newton@linaro.org>
19975 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19977 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19981 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19982 * math/libm-test.inc (lgamma_test_data): Add more tests.
19983 * sysdeps/i386/fpu/libm-test-ulps: Update.
19984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19986 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19988 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19992 Add strcmp-sse2-unaligned
19993 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19995 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19997 * Versions.def (libc): Add GLIBC_2.19.
19999 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20001 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20002 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20004 2013-09-02 Joseph Myers <joseph@codesourcery.com>
20007 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20008 intermediate calculations in recurrence.
20009 (__ieee754_ynf): Likewise.
20010 * math/libm-test.inc (jn_test_data): Do not allow spurious
20011 underflow exception. Add more tests.
20012 (yn_test_data): Add more tests.
20013 * sysdeps/i386/fpu/libm-test-ulps: Update.
20014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20016 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
20018 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20020 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20022 * csu/init-first.c: Fix then/than typos.
20023 * locale/programs/ld-collate.c: Likewise.
20024 * locale/programs/linereader.h: Likewise.
20025 * manual/charset.texi: Likewise.
20026 * manual/filesys.texi: Likewise.
20027 * manual/stdio.texi: Likewise.
20028 * manual/string.texi: Likewise.
20029 * stdlib/fmtmsg.c: Likewise.
20030 * sysdeps/i386/stpncpy.S: Likewise.
20031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20032 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20033 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20034 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20036 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20038 * elf/dl-open.c: Fix typos.
20039 * iconvdata/gbbig5.c: Likewise.
20040 * iconvdata/iso-2022-jp.c: Likewise.
20041 * iconv/gconv_int.h: Likewise.
20042 * iconv/loop.c: Likewise.
20043 * nis/rpcsvc/nis.h: Likewise.
20044 * resolv/ns_name.c: Likewise.
20045 * stdio-common/vfscanf.c: Likewise.
20046 * streams/stropts.h: Likewise.
20047 * sunrpc/rpc_thread.c: Likewise.
20048 * sysdeps/i386/strpbrk.S: Likewise.
20049 * sysdeps/ieee754/k_standard.c: Likewise.
20050 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20051 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20052 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20053 * sysdeps/mach/hurd/profil.c: Likewise.
20054 * sysdeps/s390/dl-procinfo.h: Likewise.
20055 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20056 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20057 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20058 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20061 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20063 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20066 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20069 aix specific files.
20070 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20071 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20072 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20073 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20074 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20075 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20076 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20077 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20079 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20080 Roland McGrath <roland@hack.frob.com>
20082 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20083 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20085 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20087 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20088 __executable_start symbol instead of _start.
20090 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20092 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20093 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20095 * sysdeps/gnu/ldsodefs.h: ... this new file.
20097 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20098 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20099 instead of ELFOSABI_LINUX.
20101 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20102 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20103 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20104 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20106 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20107 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20108 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20110 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20111 (ibm_extended_long_double): Add ieee_nan member.
20112 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20113 (do_test): New function.
20115 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20117 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20118 functions, renamed from truncdfsf_test, trunctfsf_test,
20120 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20122 (do_test): Run all these.
20124 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20126 * argp/argp-help.c: Fix typos.
20127 * argp/argp-parse.c: Likewise.
20128 * debug/backtracesyms.c: Likewise.
20129 * elf/elf.h: Likewise.
20130 * malloc/malloc.c: Likewise.
20131 * nis/nis_print.c: Likewise.
20132 * resolv/res_comp.c: Likewise.
20133 * stdlib/stdlib.h: Likewise.
20134 * sunrpc/clnt_tcp.c: Likewise.
20135 * sunrpc/clnt_udp.c: Likewise.
20136 * sunrpc/clnt_unix.c: Likewise.
20137 * sysdeps/unix/bsd/ptsname.c: Likewise.
20138 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20139 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20146 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20148 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20150 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20153 2013-08-27 Mike Frysinger <vapier@gentoo.org>
20156 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20157 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20158 ($(objpfx)bug-dl-leaf): New rule.
20159 ($(objpfx)bug-dl-leaf.so): Likewise.
20160 ($(objpfx)bug-dl-leaf.out): Likewise.
20161 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20162 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20163 * dlfcn/bug-dl-leaf.c: New test.
20164 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20165 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20166 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20167 (dlclose): Likewise.
20168 (dlmopen): Likewise.
20170 2013-08-27 Roland McGrath <roland@hack.frob.com>
20172 * include/netdb.h [!_ISOMAC]:
20173 Don't include <tls.h>.
20174 (h_errno, __libc_h_errno): Move declaration and macros out of
20177 * include/resolv.h [_RESOLV_H_]:
20178 Don't include <tls.h>.
20179 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20180 * resolv/res_libc.c: Don't include <tls.h>.
20181 (_res): Use __attribute__ ((nocommon)) in place of
20182 __attribute__ ((section (".bss"))).
20184 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20185 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20187 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20189 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20190 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20192 * resolv/res_mkquery.c: Include <sys/time.h>.
20194 * inet/ifreq.c: Moved to ...
20195 * sysdeps/unix/ifreq.c: ... here.
20196 * inet/ifreq.c: New file, true stub version.
20198 * socket/sa_len.c: New file.
20199 * socket/Makefile (aux): Add it.
20200 * sysdeps/unix/sysv/linux/Makefile
20201 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20202 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20203 and #include <socket/sa_len.c>.
20204 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20205 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20208 * bits/socket.h: ... here.
20210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20211 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20212 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20214 2013-08-27 Andreas Schwab <schwab@suse.de>
20217 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20218 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20219 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20220 * string/test-strcasecmp.c (test_main): Run tests in several
20222 * string/test-strncasecmp.c (test_main): Likewise.
20224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20225 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20226 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20228 (__strncasecmp_ssse3) [PIC]: Likewise.
20230 2013-08-26 Roland McGrath <roland@hack.frob.com>
20232 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20234 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20235 instead of explicitly declaring xdecrypt.
20236 * nis/nss_nis/nis-publickey.c: Likewise.
20238 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20241 * nscd/aicache.c: Include res_hconf.h.
20242 (addhstaiX): Initialize res_hconf.
20244 2013-08-26 Andreas Schwab <schwab@suse.de>
20246 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20247 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20249 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20251 * nscd/aicache.c (addhstaiX): Fix indentation.
20253 2013-08-25 Mike Frysinger <vapier@gentoo.org>
20255 * configure.ac: Quote $build_pt_chown test.
20256 * configure: Regenerated.
20258 2013-08-23 Joseph Myers <joseph@codesourcery.com>
20261 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20262 * math/s_cexpf.c (__cexpf): Likewise.
20263 * math/s_cexpl.c (__cexpl): Likewise.
20264 * math/libm-test.inc (cexp_test_data): Correct expected return
20265 value for NaN + i0. Add another test.
20267 2013-08-22 David S. Miller <davem@davemloft.net>
20269 * po/ca.po: Update Catalan translation from translation project.
20270 * po/uk.po: Add Ukrainian translations from translation project.
20272 2013-08-21 Joseph Myers <joseph@codesourcery.com>
20275 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20276 is infinite, not alongside NaN test.
20277 * math/s_fdimf.c (__fdimf): Likewise.
20278 * math/s_fdiml.c (__fdiml): Likewise.
20279 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20280 errno is unchanged.
20282 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
20284 * argp/argp-help.c: Fix typos.
20285 * crypt/speeds.c: Likewise.
20286 * csu/check_fds.c: Likewise.
20287 * elf/dl-load.c: Likewise.
20288 * elf/dl-open.c: Likewise.
20289 * elf/reldep3.c: Likewise.
20290 * elf/reldep.c: Likewise.
20291 * elf/sprof.c: Likewise.
20292 * iconv/iconv_charmap.c: Likewise.
20293 * iconv/skeleton.c: Likewise.
20294 * iconv/strtab.c: Likewise.
20295 * io/lockf64.c: Likewise.
20296 * libio/libioP.h: Likewise.
20297 * resolv/gai_notify.c: Likewise.
20298 * resolv/ns_name.c: Likewise.
20299 * resolv/ns_samedomain.c: Likewise.
20300 * resolv/res_send.c: Likewise.
20301 * stdlib/random.c: Likewise.
20302 * sunrpc/rpc/xdr.h: Likewise.
20303 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20305 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20306 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20307 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20311 * sysdeps/mach/hurd/check_fds.c: Likewise.
20312 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20313 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20314 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20315 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20316 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20317 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20318 * sysdeps/pthread/aio_notify.c: Likewise.
20319 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20320 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20323 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20325 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20327 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20328 version if bit_Slow_SSE4_2 is set.
20329 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20330 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20332 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20335 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20336 trampoline stack frame information.
20337 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20339 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20340 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20341 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20342 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20343 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20344 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20346 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20347 interrupting a syscall and set with option SA_SIGINFO.
20349 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20352 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20353 argument is infinite.
20354 * math/s_cprojf.c (__cprojf): Likewise.
20355 * math/s_cprojl.c (__cprojl): Likewise.
20356 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20357 * math/libm-test.inc (cproj_test_data): Add more tests.
20359 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20361 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20362 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20363 size. Use __ffs to determine corresponding shift.
20365 2013-08-20 Joseph Myers <joseph@codesourcery.com>
20366 Roland McGrath <roland@hack.frob.com>
20368 * Makefile (INSTALL): Remove trailing blank lines from output of
20371 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20373 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20374 Align 32 bit compat elf_greg to 8 bytes.
20376 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20378 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20380 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20382 * string/strcoll_l.c (coll_seq): New structure.
20383 (get_next_seq_cached): New function.
20384 (get_next_seq): New function.
20385 (do_compare): New function.
20386 (STRCOLL): Use GNU style definition. Simplify implementation
20387 by using get_next_seq, get_next_seq_cached and do_compare.
20389 2013-08-16 Florian Weimer <fweimer@redhat.com>
20393 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20395 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20397 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20398 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20399 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20401 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20402 GETDENTS_64BIT_ALIGNED.
20403 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20404 * manual/filesys.texi (Reading/Closing Directory): Document
20405 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20407 * manual/conf.texi (Limits for Files): Add portability note to
20408 NAME_MAX, PATH_MAX.
20409 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20411 2013-08-13 Andreas Schwab <schwab@suse.de>
20414 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20416 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20417 LDBL_MAX_EXP >= 16384]: Add tests for it.
20419 2013-08-12 David S. Miller <davem@davemloft.net>
20421 * version.h (RELEASE): Set to "development".
20422 (VERSION): Set to "2.18.90".
20423 * NEWS: Add 2.19 section.
20425 2013-08-03 David S. Miller <davem@davemloft.net>
20427 * po/ko.po: Update Korean translation from translation project.
20429 2013-08-01 David S. Miller <davem@davemloft.net>
20431 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20432 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20435 2013-07-30 David S. Miller <davem@davemloft.net>
20437 * po/fr.po: Update French translation from translation project.
20439 2013-07-28 David S. Miller <davem@davemloft.net>
20441 * po/cs.po: Update Czech translation from translation project.
20443 * po/sv.po: Update Swedish translation from translation project.
20445 2013-07-27 David S. Miller <davem@davemloft.net>
20447 * po/eo.po: Update Esperanto translation from translation project.
20449 * po/vi.po: Update Vietnamese translation from translation project.
20451 * po/de.po: Update German translation from translation project.
20453 2013-07-26 David S. Miller <davem@davemloft.net>
20455 * po/bg.po: Update Bulgarian translation from translation project.
20457 * po/nl.po: Update Dutch translation from translation project.
20458 * po/pl.po: Update Polish translation from translation project.
20459 * po/ru.po: Update Russian translation from translation project.
20461 2013-07-24 David S. Miller <davem@davemloft.net>
20463 * po/libc.pot: Update.
20465 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20467 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20468 variable page size.
20469 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20470 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20471 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20473 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20475 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20477 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20478 Andreas Schwab <schwab@suse.de>
20479 Roland McGrath <roland@hack.frob.com>
20480 Joseph Myers <joseph@codesourcery.com>
20481 Carlos O'Donell <carlos@redhat.com>
20484 * config.h.in: Define HAVE_PT_CHOWN.
20485 * config.make.in (build-pt-chown): New variable.
20486 * configure.in (--enable-pt_chown): New configure option.
20487 * configure: Regenerate.
20488 * login/Makefile: Include Makeconfig. Build pt_chown only if
20489 build-pt-chown is enabled.
20490 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20491 pt_chown to fix pty ownership.
20492 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20494 * manual/install.texi (Configuring and compiling): Mention
20495 --enable-pt_chown. Add @findex for grantpt.
20496 * INSTALL: Regenerate.
20498 2013-07-20 David S. Miller <davem@davemloft.net>
20500 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20501 difference between 32-bit and 64-bit.
20503 2013-07-15 Carlos O'Donell <carlos@redhat.com>
20506 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20507 Avoid system header dependency with -ffreestanding.
20508 ($(objpfx)bits/syscall%d): Likewise.
20510 2013-07-13 David S. Miller <davem@davemloft.net>
20512 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20513 underflows from atanl/atan2l due to bug 15319.
20514 (casinh_test_data): Likewise.
20516 2013-07-07 David S. Miller <davem@davemloft.net>
20518 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20520 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20522 * sysdeps/i386/fpu/libm-test-ulps: Update.
20523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20525 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20527 * configure.in (--enable-lock-elision): Fix message text.
20528 * INSTALL: Regenerate.
20529 * configure: Regenerate.
20531 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20535 2013-07-03 Andreas Jaeger <aj@suse.de>
20537 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20539 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20540 (ptrace_peeksiginfo_args): Add.
20541 (__ptrace_peeksiginfo_flags): Add.
20542 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20546 2013-07-03 Allan McRae <allan@archlinux.org>
20548 * sysdeps/i386/fpu/libm-test-ulps: Update.
20550 2013-07-02 David S. Miller <davem@davemloft.net>
20552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20554 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20558 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20560 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20563 2013-07-02 Andi Kleen <ak@linux.intel.com>
20565 * config.h.in (ENABLE_LOCK_ELISION): Add.
20566 * configure.in (--enable-lock-elision): Add option.
20567 * manual/install.texi: Document --enable lock elision.
20568 * configure: Regenerate
20569 * INSTALL: Regenerate.
20571 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20573 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20574 SSE4.2 strcasecmp for libc.a.
20575 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20577 2013-07-02 Joseph Myers <joseph@codesourcery.com>
20580 * soft-fp/op-common.h (_FP_FMA): New macro.
20581 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20582 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20583 (_FP_MUL_MEAT_1_imm): ... here.
20584 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20585 (_FP_MUL_MEAT_1_wide): ... here.
20586 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20587 (_FP_MUL_MEAT_1_hard): ... here.
20588 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20589 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20590 (_FP_MUL_MEAT_2_wide): ... here.
20591 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20592 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20593 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20594 (_FP_MUL_MEAT_2_gmp): ... here.
20595 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20596 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20597 (_FP_MUL_MEAT_4_wide): ... here.
20598 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20599 (_FP_MUL_MEAT_4_gmp): ... here.
20600 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20601 (_FP_WFRACBITS_DW_S): Likewise.
20602 (_FP_WFRACXBITS_DW_S): Likewise.
20603 (_FP_HIGHBIT_DW_S): Likewise.
20604 (FP_FMA_S): Likewise.
20605 (_FP_FRAC_HIGH_DW_S): Likewise.
20606 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20607 (_FP_WFRACBITS_DW_D): Likewise.
20608 (_FP_WFRACXBITS_DW_D): Likewise.
20609 (_FP_HIGHBIT_DW_D): Likewise.
20610 (FP_FMA_D): Likewise.
20611 (_FP_FRAC_HIGH_DW_D): Likewise.
20612 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20613 (_FP_WFRACBITS_DW_E): Likewise.
20614 (_FP_WFRACXBITS_DW_E): Likewise.
20615 (_FP_HIGHBIT_DW_E): Likewise.
20616 (FP_FMA_E): Likewise.
20617 (_FP_FRAC_HIGH_DW_E): Likewise.
20618 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20619 (_FP_WFRACBITS_DW_Q): Likewise.
20620 (_FP_WFRACXBITS_DW_Q): Likewise.
20621 (_FP_HIGHBIT_DW_Q): Likewise.
20622 (FP_FMA_Q): Likewise.
20623 (_FP_FRAC_HIGH_DW_Q): Likewise.
20624 * soft-fp/fmasf4.c: New file.
20625 * soft-fp/fmadf4.c: Likewise.
20626 * soft-fp/fmatf4.c: Likewise.
20628 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20631 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20635 (index_Slow_SSE4_2): Likewise.
20636 (index_Prefer_PMINUB_for_stringop): Likewise.
20637 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20638 bit_Slow_SSE4_2 is set.
20639 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20642 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20644 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20645 rtld_global._dl_hwcap2.
20646 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20648 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20649 POWER8 feature descriptions defined in _dl_hwcap2.
20650 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20651 string handling for POWER8 feature bits.
20652 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20653 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20654 _dl_powerpc_cap_flags.
20655 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20656 * sysdeps/powerpc/rtld-global-offsets.sym
20657 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20658 _dl_hwcap2 in the rtld_global_ro structure.
20660 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20662 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20663 hardware capabilities in support of AT_HWCAP2.
20664 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20665 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20667 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20668 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20669 explicitly the unknown a_type display mechanism is used.
20670 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20671 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20673 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20674 to macro prototype for AT_HWCAP2 support.
20675 * sysdeps/i386/dl-procinfo.h: Likewise.
20676 * sysdeps/s390/dl-procinfo.h: Likewise.
20677 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20678 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20679 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20680 return -1 for unknown a_type display fallback.
20681 * sysdeps/sparc/dl-procinfo.h: Likewise.
20682 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20683 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20685 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20687 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20688 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20690 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20693 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20694 mprotect making __stack_prot writable.
20696 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20697 Joseph Myers <joseph@codesourcery.com>
20699 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20700 as being properly aligned.
20702 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20704 * dlfcn/modstatic5.c: New file.
20705 * dlfcn/tststatic5.c: New file.
20706 * dlfcn/Makefile (tests): Add tststatic5.
20707 (tests-static): Likewise.
20708 (modules-names): Add modstatic5.
20709 (tststatic5-ENV): New variable.
20710 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20713 * elf/dl-support.c (_dl_main_map): New variable.
20714 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20715 (_dl_nns, _dl_load_adds): Set to 1.
20716 (_dl_initial_searchlist): Refer to _dl_main_map.
20717 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20718 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20719 call to _dl_get_origin.
20720 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20722 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20723 * dlfcn/modstatic3.c: New file.
20724 * dlfcn/tststatic3.c: New file.
20725 * dlfcn/tststatic4.c: New file.
20726 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20727 (tests-static): Likewise.
20728 (modules-names): Add modstatic3.
20729 (tststatic3-ENV, tststatic4-ENV): New variables.
20730 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20731 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20733 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20735 * configure.in (CC): Require GCC version 4.4 or later.
20736 * configure: Regenerated.
20737 * manual/install.texi (Tools for Compilation): Update GCC version
20739 * INSTALL: Regenerated.
20741 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20744 * string/test-memcmp.c (check2): New.
20745 (main): Call check2.
20747 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20749 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20752 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20754 (dl_open_worker) [!SHARED]: ... here.
20756 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20758 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20760 2013-06-25 Richard Henderson <rth@redhat.com>
20762 * locale/programs/locarchive.c: Include <libc-internal.h>
20764 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20766 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20767 trailing whitespace removed.
20769 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20772 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20773 * locale/programs/locarchive.c: Include libc-mmap.h.
20774 (prepare_address_space): Take two new outputs (the mmap base and len).
20775 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20777 (create_archive): Declare new mmap base and len values for
20778 prepare_address_space, and store the result in ah.
20779 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20780 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20781 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20782 Declare new mmap base and len values for
20783 prepare_address_space, and store the result in new_ah.
20784 (open_archive): Declare new mmap base and len values for
20785 prepare_address_space, and store the result in ah.
20786 (close_archive): If ah->mmap_base is not NULL, use that and
20787 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20788 * sysdeps/generic/libc-mmap.h: New file.
20790 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20792 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20793 (ALIGN_UP): Likewise.
20794 (PTR_ALIGN_DOWN): Likewise.
20795 (PTR_ALIGN_UP): Likewise.
20797 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20799 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20800 entry mapped to PPC_PLATFORM_POWER8.
20801 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20803 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20804 (_dl_string_platform): Add case for exporting platform position for
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20807 search path to sysdeps/powerpc/powerpc32/power8 directory.
20808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20809 search path to sysdeps/powerpc/powerpc64/power8 directory.
20810 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20811 power7 directories.
20812 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20813 power7 directories.
20815 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20817 * INSTALL: Regenerate.
20819 * nscd/connections.c (nscd_init): Fix comment.
20821 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20823 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20826 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20827 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20829 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20831 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20833 (DL_DST_REQ_STATIC): Remove macro.
20835 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20838 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20839 with a shift of 0 bits.
20841 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20843 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20846 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20849 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20851 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20853 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20854 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20855 accepts -fno-tree-loop-distribute-patterns.
20856 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20857 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20859 * string/memset.c (memset): Likewise.
20860 * string/test-memmove.c (simple_memmove): Disable loop transformation
20862 * string/test-memset.c (simple_memset): Likewise.
20863 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20864 * benchtests/bench-memset.c (simple_memset): Likewise.
20865 * configure: Regenerated.
20867 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20869 * math/test-misc.c (main): Ignore fesetround failure when failures
20870 of subsequent rounding tests would be ignored.
20873 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20874 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20875 * math/fegetenv.c (__fegetenv): Return 0.
20876 * math/fegetexcept.c (fegetexcept): Return 0.
20877 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20879 * math/feholdexcpt.c (feholdexcept): Return 0.
20880 * math/fesetenv.c (__fesetenv): Return 0.
20881 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20882 argument FE_TONEAREST.
20883 * math/feupdateenv.c (__feupdateenv): Return 0.
20884 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20886 2013-06-18 Roland McGrath <roland@hack.frob.com>
20888 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20889 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20890 ($(objpfx)rtld-%.os rules): Use them.
20892 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20894 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20897 2013-06-17 Roland McGrath <roland@hack.frob.com>
20899 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20900 length of target pattern, then descending length of dependency pattern.
20901 * configure.in (AWK): Require gawk 3.1.2 or newer.
20902 * manual/install.texi (Tools for Compilation): Say that we do.
20903 * configure: Regenerated.
20905 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20906 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20907 * scripts/sysd-rules.awk: ... this new script.
20908 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20909 than a glob-style pattern.
20911 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20913 * math/test-misc.c (main): Do not treat incorrectly rounded
20914 conversions as failure unless ROUNDING_TESTS passes.
20916 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20919 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20920 restore exception state around main square root computation, then
20921 check for inexactness explicitly.
20923 * math/libm-test.inc (fma_test_data): Add another test.
20925 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20927 * manual/threads.texi (Non-POSIX Extensions): New document
20928 node. Document pthread_getattr_default_np and
20929 pthread_setattr_default_np.
20931 * Versions.def (libpthread): Add GLIBC_2.18.
20932 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20941 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20952 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20955 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20957 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20958 H.J. Lu <hjl.tools@gmail.com>
20961 * sysdeps/x86_64/rtld-memset.c: Remove file.
20962 * sysdeps/x86_64/rtld-memset.S: New file.
20964 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20966 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20967 (test_in_one_mode): Take arguments for whether the rounding mode
20968 is supported for each floating-point type.
20969 (do_test): Pass new arguments to test_in_one_mode using
20972 2013-06-13 Roland McGrath <roland@hack.frob.com>
20974 * posix/tst-waitid.c (do_test): Distinguish different instances of
20975 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20976 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20977 before entering the kernel for waitpid.
20979 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20981 * NEWS: Fix note on clock function precision. Text by Roland
20984 2013-06-13 Roland McGrath <roland@hack.frob.com>
20986 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20987 it into place only when and if the sanity check passes.
20989 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20991 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20992 output for whether conversion result is exact. Take argument
20993 indicating whether type is IBM long double.
20994 (round_for_all): Change need_exact field to ibm_ld.
20995 * stdlib/tst-strtod-round.c (struct exactness): New type.
20996 (struct test): Change bool ld_ok field to struct exactness exact.
20997 (TEST): Update all definitions for change to field.
20998 (tests): Regenerate array contents.
20999 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21000 field value. Check for IBM long double here.
21001 (do_test): Update calls to test_in_one_mode.
21003 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21006 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21007 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21009 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21012 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21013 generated by the compiler on loop optimizations.
21014 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21015 general definitions.
21017 2013-06-12 Joseph Myers <joseph@codesourcery.com>
21019 * math/bug-nextafter.c: Include <math-tests.h>.
21020 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21022 * math/bug-nexttoward.c: Include <math-tests.h>.
21023 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21025 * math/test-misc.c: Include <math-tests.h>.
21026 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21029 2013-06-12 Andreas Jaeger <aj@suse.de>
21031 * po/ia.po: Update Interlingua translation from translation
21034 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21036 * include/fenv.h: Include stdbool.h.
21037 (struct rm_ctx): New structure.
21038 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21040 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21041 (SET_RESTORE_ROUNDF): Likewise.
21042 (SET_RESTORE_ROUNDL): Likewise.
21043 (SET_RESTORE_ROUND_NOEX): Likewise.
21044 (SET_RESTORE_ROUND_NOEXF): Likewise.
21045 (SET_RESTORE_ROUND_NOEXL): Likewise.
21046 (SET_RESTORE_ROUND_53BIT): Likewise.
21047 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21048 (libc_feresetround_noexf_ctx): Likewise.
21049 (libc_feresetround_noexl_ctx): Likewise.
21050 (libc_feholdsetround_53bit_ctx): Likewise.
21051 (libc_feresetround_53bit_ctx): Likewise.
21052 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21053 (libc_feholdexcept_setround_sse_ctx): New function.
21054 (libc_fesetenv_sse_ctx): Likewise.
21055 (libc_feupdateenv_sse_ctx): Likewise.
21056 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21057 (libc_feholdexcept_setround_387_ctx): Likewise.
21058 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21059 (libc_feholdsetround_387_prec_ctx): Likewise.
21060 (libc_feholdsetround_387_ctx): Likewise.
21061 (libc_feholdsetround_387_53bit_ctx): Likewise.
21062 (libc_feholdsetround_sse_ctx): Likewise.
21063 (libc_feresetround_sse_ctx): Likewise.
21064 (libc_feresetround_387_ctx): Likewise.
21065 (libc_feupdateenv_387_ctx): Likewise.
21066 (libc_feholdexcept_setroundf_ctx): Define macro.
21067 (libc_fesetenvf_ctx): Likewise.
21068 (libc_feupdateenvf_ctx): Likewise.
21069 (libc_feholdsetroundf_ctx): Likewise.
21070 (libc_feresetroundf_ctx): Likewise.
21071 (libc_feholdexcept_setround_ctx): Likewise.
21072 (libc_fesetenv_ctx): Likewise.
21073 (libc_feupdateenv_ctx): Likewise.
21074 (libc_feholdsetround_ctx): Likewise.
21075 (libc_feresetround_ctx): Likewise.
21076 (libc_feholdexcept_setroundl_ctx): Likewise.
21077 (libc_feupdateenvl_ctx): Likewise.
21078 (libc_feholdsetroundl_ctx): Likewise.
21079 (libc_feresetroundl_ctx): Likewise.
21080 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21081 (libc_feresetround_53bit_ctx): Likewise.
21083 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21085 * locale/iso-639.def: Convert to UTF-8.
21087 2013-06-11 Joseph Myers <joseph@codesourcery.com>
21089 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21090 (EXCEPTION_TESTS_double): Likewise.
21091 (EXCEPTION_TESTS_long_double): Likewise.
21092 (EXCEPTION_TESTS): Likewise.
21093 * math/libm-test.inc (test_exceptions): Only test exceptions if
21094 EXCEPTION_TESTS (FLOAT).
21096 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21098 * benchtests/Makefile (string-bench): Add strcpy_chk and
21100 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21101 * benchtests/bench-stpcpy_chk.c: New file.
21102 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21103 * benchtests/bench-strcpy_chk.c: New file.
21104 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21106 (do_test): Likewise.
21108 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21110 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21111 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21112 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21113 with tabs where appropriate.
21114 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21116 [PPC_PLATFORM_PPC440]: Likewise.
21117 [PPC_PLATFORM_PPC464]: Likewise.
21118 [PPC_PLATFORM_PPC476]: Likewise.
21119 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21120 ppc464, and ppc476 platform strings merging from ports/
21123 2013-06-11 Andreas Schwab <schwab@suse.de>
21126 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21127 (from_ucs4_idx): Regenerate.
21128 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21129 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21130 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21131 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21132 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21133 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21134 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21135 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21136 from FROM_LOOP and TO_LOOP specific macros.
21137 (BODY): Handle combining characters.
21138 * iconvdata/BIG5HKSCS.irreversible: Update.
21139 * iconvdata/BIG5HKSCS.precomposed: New file.
21140 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21142 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21144 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21146 * include/sys/time.h: Fix indentation and add copyright header.
21148 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21149 (do_test): Likewise.
21150 * string/test-memchr.c (do_one_test): Likewise.
21151 (do_test): Likewise.
21152 * string/test-memcmp.c (do_one_test): Likewise.
21153 (do_test): Likewise.
21154 * string/test-memcpy.c (do_one_test): Likewise.
21155 (do_test): Likewise.
21156 * string/test-memmem.c (do_one_test): Likewise.
21157 (do_test): Likewise.
21158 (do_random_tests): Likewise.
21159 * string/test-memmove.c (do_one_test): Likewise.
21160 (do_test): Likewise.
21161 * string/test-memset.c (do_one_test): Likewise.
21162 (do_test): Likewise.
21163 * string/test-rawmemchr.c (do_one_test): Likewise.
21164 (do_test): Likewise.
21165 * string/test-strcasecmp.c (do_one_test): Likewise.
21166 (do_test): Likewise.
21167 * string/test-strcasestr.c (do_one_test): Likewise.
21168 (do_test): Likewise.
21169 * string/test-strcat.c (do_one_test): Likewise.
21170 (do_test): Likewise.
21171 * string/test-strchr.c (do_one_test): Likewise.
21172 (do_test): Likewise.
21173 * string/test-strcmp.c (do_one_test): Likewise.
21174 (do_test): Likewise.
21175 * string/test-strcpy.c (do_one_test): Likewise.
21176 (do_test): Likewise.
21177 * string/test-string.h: Likewise.
21178 (test_init): Likewise.
21179 * string/test-strlen.c (do_one_test): Likewise.
21180 (do_test): Likewise.
21181 * string/test-strncasecmp.c (do_one_test): Likewise.
21182 (do_test): Likewise.
21183 * string/test-strncat.c (do_one_test): Likewise.
21184 (do_test): Likewise.
21185 * string/test-strncmp.c (do_one_test): Likewise.
21186 (do_test_limit): Likewise.
21187 (do_test): Likewise.
21188 * string/test-strncpy.c (do_one_test): Likewise.
21189 (do_test): Likewise.
21190 * string/test-strnlen.c (do_one_test): Likewise.
21191 (do_test): Likewise.
21192 * string/test-strpbrk.c (do_one_test): Likewise.
21193 (do_test): Likewise.
21194 * string/test-strrchr.c (do_one_test): Likewise.
21195 (do_test): Likewise.
21196 * string/test-strspn.c (do_one_test): Likewise.
21197 (do_test): Likewise.
21198 * string/test-strstr.c (do_one_test): Likewise.
21199 (do_test): Likewise.
21201 * benchtests/Makefile (string-bench): Add string benchmarks.
21202 * benchtests/bench-bcopy-ifunc.c: New file.
21203 * benchtests/bench-bcopy.c: New file.
21204 * benchtests/bench-bzero-ifunc.c: New file.
21205 * benchtests/bench-bzero.c: New file.
21206 * benchtests/bench-memccpy-ifunc.c: New file.
21207 * benchtests/bench-memccpy.c: New file.
21208 * benchtests/bench-memchr-ifunc.c: New file.
21209 * benchtests/bench-memchr.c: New file.
21210 * benchtests/bench-memcmp-ifunc.c: New file.
21211 * benchtests/bench-memcmp.c: New file.
21212 * benchtests/bench-memmem-ifunc.c: New file.
21213 * benchtests/bench-memmem.c: New file.
21214 * benchtests/bench-memmove-ifunc.c: New file.
21215 * benchtests/bench-memmove.c: New file.
21216 * benchtests/bench-mempcpy-ifunc.c: New file.
21217 * benchtests/bench-mempcpy.c: New file.
21218 * benchtests/bench-memset-ifunc.c: New file.
21219 * benchtests/bench-memset.c: New file.
21220 * benchtests/bench-rawmemchr-ifunc.c: New file.
21221 * benchtests/bench-rawmemchr.c: New file.
21222 * benchtests/bench-stpcpy-ifunc.c: New file.
21223 * benchtests/bench-stpcpy.c: New file.
21224 * benchtests/bench-stpncpy-ifunc.c: New file.
21225 * benchtests/bench-stpncpy.c: New file.
21226 * benchtests/bench-strcasecmp-ifunc.c: New file.
21227 * benchtests/bench-strcasecmp.c: New file.
21228 * benchtests/bench-strcasestr-ifunc.c: New file.
21229 * benchtests/bench-strcasestr.c: New file.
21230 * benchtests/bench-strcat-ifunc.c: New file.
21231 * benchtests/bench-strcat.c: New file.
21232 * benchtests/bench-strchr-ifunc.c: New file.
21233 * benchtests/bench-strchr.c: New file.
21234 * benchtests/bench-strchrnul-ifunc.c: New file.
21235 * benchtests/bench-strchrnul.c: New file.
21236 * benchtests/bench-strcmp-ifunc.c: New file.
21237 * benchtests/bench-strcmp.c: New file.
21238 * benchtests/bench-strcpy-ifunc.c: New file.
21239 * benchtests/bench-strcpy.c: New file.
21240 * benchtests/bench-strcspn-ifunc.c: New file.
21241 * benchtests/bench-strcspn.c: New file.
21242 * benchtests/bench-strlen-ifunc.c: New file.
21243 * benchtests/bench-strlen.c: New file.
21244 * benchtests/bench-strncasecmp-ifunc.c: New file.
21245 * benchtests/bench-strncasecmp.c: New file.
21246 * benchtests/bench-strncat-ifunc.c: New file.
21247 * benchtests/bench-strncat.c: New file.
21248 * benchtests/bench-strncmp-ifunc.c: New file.
21249 * benchtests/bench-strncmp.c: New file.
21250 * benchtests/bench-strncpy-ifunc.c: New file.
21251 * benchtests/bench-strncpy.c: New file.
21252 * benchtests/bench-strnlen-ifunc.c: New file.
21253 * benchtests/bench-strnlen.c: New file.
21254 * benchtests/bench-strpbrk-ifunc.c: New file.
21255 * benchtests/bench-strpbrk.c: New file.
21256 * benchtests/bench-strrchr-ifunc.c: New file.
21257 * benchtests/bench-strrchr.c: New file.
21258 * benchtests/bench-strspn-ifunc.c: New file.
21259 * benchtests/bench-strspn.c: New file.
21260 * benchtests/bench-strstr-ifunc.c: New file.
21261 * benchtests/bench-strstr.c: New file.
21263 * benchtests/Makefile: Disable parallel execution of targets.
21264 (string-bench): Add memcpy.
21265 (benchset): New variable to store a list of benchmark sets.
21266 (bench-func): Renamed from bench.
21267 (bench-set): New target.
21268 (bench): Depend on bench-func and bench-set.
21269 * benchtests/README: Add section on benchmark sets.
21270 * benchtests/bench-memcpy-ifunc.c: New file.
21271 * benchtests/bench-memcpy.c: New file.
21272 * benchtests/bench-string.h: New file.
21274 2013-06-11 Andreas Schwab <schwab@suse.de>
21277 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21278 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21279 values in the triple.
21280 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21281 terminator in the group key.
21283 2013-06-11 Andreas Jaeger <aj@suse.de>
21285 * po/zh_TW.po: Update Chinese (traditional) translation from
21286 translation project.
21288 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21290 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21291 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21292 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21294 (clock_getcpuclockid): Likewise.
21295 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21296 Add weak_alias and libc_hidden_def.
21297 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21298 * rt/clock_gettime.c (clock_gettime): Rename to
21299 __clock_gettime. Add weak_alias and libc_hidden_def.
21300 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21301 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21302 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21303 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21304 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21306 * rt/clock_settime.c (clock_settime): Rename to
21307 __clock_settime. Add weak_alias and libc_hidden_def.
21308 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21310 2013-06-10 Joseph Myers <joseph@codesourcery.com>
21312 * mach/err_boot.sub: Remove trailing whitespace.
21313 * mach/err_ipc.sub: Likewise.
21314 * mach/err_mach.sub: Likewise.
21316 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21317 (ROUNDING_TESTS_double): Likewise.
21318 (ROUNDING_TESTS_long_double): Likewise.
21319 (ROUNDING_TESTS): Likewise.
21320 * math/libm-test.inc: Include <math-tests.h>.
21321 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21322 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21323 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21324 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21326 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21328 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21331 2013-06-08 Joseph Myers <joseph@codesourcery.com>
21333 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21334 otherwise empty TRANS lines.
21335 * sysdeps/gnu/errlist.c: Regenerated.
21337 * catgets/gencat.c (error_print): Use (void) in function
21339 * crypt/crypt_util.c (__init_des): Likewise.
21340 * crypt/speeds.c (Stop): Likewise.
21342 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21343 * inet/ruserpass.c (token): Likewise.
21344 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21345 * intl/localealias.c (extend_alias_table): Likewise.
21346 * intl/plural-exp.c (init_germanic_plural): Likewise.
21347 * libio/fcloseall.c (__fcloseall): Likewise.
21348 * libio/genops.c (_IO_flush_all): Likewise.
21349 (_IO_flush_all_linebuffered): Likewise.
21350 (_IO_cleanup): Likewise.
21351 (_IO_iter_begin): Likewise.
21352 (_IO_iter_end): Likewise.
21353 (_IO_list_lock): Likewise.
21354 (_IO_list_unlock): Likewise.
21355 (_IO_list_resetlock): Likewise.
21356 * libio/getchar.c (getchar): Likewise.
21357 * libio/getchar_u.c (getchar_unlocked): Likewise.
21358 * libio/getwchar.c (getwchar): Likewise.
21359 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21360 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21361 * login/getpt.c (__getpt): Likewise.
21362 * login/tst-utmp.c (main): Likewise.
21363 * malloc/hooks.c (__malloc_check_init): Likewise.
21364 * malloc/malloc.c (__malloc_stats): Likewise.
21365 * malloc/mtrace.c (tr_break): Likewise.
21366 (mtrace): Likewise.
21367 (muntrace): Likewise.
21368 * misc/fstab.c (endfsent): Likewise.
21369 * misc/getclktck.c (__getclktck): Likewise.
21370 * misc/getdtsz.c (__getdtablesize): Likewise.
21371 * misc/gethostid.c (gethostid): Likewise.
21372 * misc/getpagesize.c (__getpagesize): Likewise.
21373 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21374 (__get_nprocs): Likewise.
21375 (__get_phys_pages): Likewise.
21376 (__get_avphys_pages): Likewise.
21377 * misc/getttyent.c (getttyent): Likewise.
21378 (setttyent): Likewise.
21379 (endttyent): Likewise.
21380 * misc/getusershell.c (getusershell): Likewise.
21381 (endusershell): Likewise.
21382 (setusershell): Likewise.
21383 (initshells): Likewise.
21384 * misc/hsearch.c (__hdestroy): Likewise.
21385 * misc/sync.c (sync): Likewise.
21386 * misc/syslog.c (closelog_internal): Likewise.
21387 (closelog): Likewise.
21388 * misc/ttyslot.c (ttyslot): Likewise.
21389 * misc/vhangup.c (vhangup): Likewise.
21390 * posix/fork.c (__fork): Likewise.
21391 * posix/getegid.c (__getegid): Likewise.
21392 * posix/geteuid.c (__geteuid): Likewise.
21393 * posix/getgid.c (__getgid): Likewise.
21394 * posix/getpid.c (__getpid): Likewise.
21395 * posix/getppid.c (__getppid): Likewise.
21396 * posix/getuid.c (__getuid): Likewise.
21397 * posix/pause.c (pause): Likewise.
21398 * posix/setpgrp.c (setpgrp): Likewise.
21399 * posix/setsid.c (__setsid): Likewise.
21400 * posix/test-vfork.c (noop): Likewise.
21401 * resolv/gethnamaddr.c (_endhtent): Likewise.
21402 (_gethtent): Likewise.
21403 (ht_endhostent): Likewise.
21404 (gethostent): Likewise.
21405 (dns_service): Likewise.
21406 * stdlib/drand48.c (drand48): Likewise.
21407 * stdlib/lrand48.c (lrand48): Likewise.
21408 * stdlib/mrand48.c (mrand48): Likewise.
21409 * stdlib/rand.c (rand): Likewise.
21410 * stdlib/random.c (__random): Likewise.
21411 * stdlib/setenv.c (clearenv): Likewise.
21412 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21413 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21414 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21415 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21416 (__get_nprocs): Likewise.
21417 (__get_phys_pages): Likewise.
21418 (__get_avphys_pages): Likewise.
21419 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21420 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21421 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21422 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21423 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21424 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21425 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21426 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21427 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21428 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21429 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21430 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21431 * sysdeps/posix/clock.c (clock): Likewise.
21432 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21433 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21434 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21435 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21436 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21438 (__get_nprocs_conf): Likewise.
21439 (__get_phys_pages): Likewise.
21440 (__get_avphys_pages): Likewise.
21441 * time/clock.c (clock): Likewise.
21442 * time/tzset.c (__tzname_max): Likewise.
21444 2013-06-07 Joseph Myers <joseph@codesourcery.com>
21446 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21447 (__bswap_32): Do not use "register".
21448 * crypt/crypt.c (_ufc_doit_r): Likewise.
21449 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21450 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21451 * gmon/gmon.c (__monstartup): Likewise.
21452 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21453 * hurd/hurdmalloc.c (more_memory): Likewise.
21454 (malloc): Likewise.
21456 (realloc): Likewise.
21457 (malloc_fork_prepare): Likewise.
21458 (malloc_fork_parent): Likewise.
21459 (malloc_fork_child): Likewise.
21460 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21461 (_svcauth_des): Likewise.
21462 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21463 * inet/inet_net.c (inet_network): Likewise.
21464 * inet/inet_netof.c (inet_netof): Likewise.
21465 * inet/rcmd.c (__validuser2_sa): Likewise.
21466 * io/fts.c (fts_open): Likewise.
21467 (fts_load): Likewise.
21468 (fts_close): Likewise.
21469 (fts_read): Likewise.
21470 (fts_children): Likewise.
21471 (fts_build): Likewise.
21472 (fts_stat): Likewise.
21473 (fts_sort): Likewise.
21474 (fts_alloc): Likewise.
21475 (fts_lfree): Likewise.
21476 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21477 (_IO_file_xsgetn): Likewise.
21478 (_IO_file_xsgetn_mmap): Likewise.
21479 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21480 (_IO_cookie_write): Likewise.
21481 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21482 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21483 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21484 * malloc/obstack.c (_obstack_begin): Likewise.
21485 (_obstack_begin_1): Likewise.
21486 (_obstack_newchunk): Likewise.
21487 (_obstack_allocated_p): Likewise.
21488 (obstack_free): Likewise.
21489 (_obstack_memory_used): Likewise.
21490 * misc/getttyent.c (getttynam): Likewise.
21491 (getttyent): Likewise.
21494 * misc/getusershell.c (initshells): Likewise.
21495 * misc/syslog.c (__vsyslog_chk): Likewise.
21496 * misc/ttyslot.c (ttyslot): Likewise.
21497 * nis/nis_hash.c (__nis_hash): Likewise.
21498 * posix/fnmatch_loop.c (FCT): Likewise.
21499 * posix/getconf.c (print_all): Likewise.
21501 * posix/getopt.c (exchange): Likewise.
21502 * posix/glob.c (globfree): Likewise.
21503 (prefix_array): Likewise.
21504 (__glob_pattern_type): Likewise.
21505 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21506 (NS_GET32): Likewise.
21507 (NS_PUT16): Likewise.
21508 (NS_PUT32): Likewise.
21509 * resolv/gethnamaddr.c (getanswer): Likewise.
21510 (gethostbyname2): Likewise.
21511 (gethostbyaddr): Likewise.
21512 (_gethtent): Likewise.
21513 (_gethtbyname2): Likewise.
21514 (_gethtbyaddr): Likewise.
21515 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21516 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21517 * resolv/res_init.c (__res_vinit): Likewise.
21518 (net_mask): Likewise.
21519 * resolv/res_mkquery.c (outchar): Likewise.
21521 * stdio-common/printf_fp.c (outchar): Likewise.
21523 * stdio-common/printf_fphex.c (outchar): Likewise.
21525 * stdio-common/printf_size.c (outchar): Likewise.
21527 * stdio-common/test_rdwr.c (main): Likewise.
21528 * stdio-common/tfformat.c (matches): Likewise.
21529 * stdio-common/vfprintf.c (outchar): Likewise.
21530 (printf_unknown): Likewise.
21531 (buffered_vfprintf): Likewise.
21532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21533 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21534 (ReadFile): Likewise.
21535 * stdlib/qsort.c (SWAP): Likewise.
21536 (_quicksort): Likewise.
21537 * stdlib/setenv.c (__add_to_environ): Likewise.
21538 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21539 * stdlib/strtol_l.c (__strtol_l): Likewise.
21540 * stdlib/tst-strtod.c (main): Likewise.
21541 * stdlib/tst-strtol.c (main): Likewise.
21542 * stdlib/tst-strtoll.c (main): Likewise.
21543 * string/bits/string2.h (__strcmp_cc): Likewise.
21544 (__strcmp_cg): Likewise.
21545 (__strcspn_c1): Likewise.
21546 (__strcspn_c2): Likewise.
21547 (__strcspn_c3): Likewise.
21548 (__strspn_c1): Likewise.
21549 (__strspn_c2): Likewise.
21550 (__strspn_c3): Likewise.
21551 (__strsep_1c): Likewise.
21552 (__strsep_2c): Likewise.
21553 (__strsep_3c): Likewise.
21554 * string/memccpy.c (__memccpy): Likewise.
21555 * string/stpcpy.c (__stpcpy): Likewise.
21556 * string/strcmp.c (strcmp): Likewise.
21557 * string/strrchr.c (strrchr): Likewise.
21558 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21560 * sysdeps/mach/hurd/getcwd.c
21561 (_hurd_canonicalize_directory_name_internal): Likewise.
21562 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21563 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21564 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21565 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21566 Likewise, in both definitions.
21567 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21569 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21570 64] (__bswap_64): Likewise.
21571 * time/test_time.c (main): Likewise.
21572 * time/tzfile.c (__tzfile_read): Likewise.
21573 (__tzfile_compute): Likewise.
21574 * time/tzset.c (__tzset_parse_tz): Likewise.
21575 (tzset_internal): Likewise.
21576 (compute_change): Likewise.
21577 * wcsmbs/wcscat.c (__wcscat): Likewise.
21578 * wcsmbs/wcschr.c (wcschr): Likewise.
21579 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21580 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21581 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21582 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21583 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21584 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21585 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21586 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21587 * wcsmbs/wmemset.c (wmemset): Likewise.
21589 2013-06-06 Joseph Myers <joseph@codesourcery.com>
21591 * scripts/config.guess: Update to version 2013-05-16.
21592 * scripts/config.sub: Update to version 2013-04-24.
21593 * scripts/install-sh: Update to version 2011-11-20.07.
21594 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21595 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21597 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
21599 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21600 * elf/sln.c: Likewise.
21601 * hurd/hurd/ioctl.h: Likewise.
21602 * hurd/hurdmalloc.c: Likewise.
21603 * hurd/xattr.c: Likewise.
21604 * include/shlib-compat.h: Likewise.
21605 * inet/ruserpass.c: Likewise.
21606 * libio/iofgets_u.c: Likewise.
21607 * libio/iofgetws_u.c: Likewise.
21608 * locale/programs/ld-identification.c: Likewise.
21609 * locale/programs/ld-time.c: Likewise.
21610 * mach/msg-destroy.c: Likewise.
21611 * nss/nss_files/files-netgrp.c: Likewise.
21612 * resolv/res_data.c: Likewise.
21613 * soft-fp/op-1.h: Likewise.
21614 * soft-fp/op-2.h: Likewise.
21615 * soft-fp/op-4.h: Likewise.
21616 * soft-fp/op-common.h: Likewise.
21617 * stdio-common/printf_fphex.c: Likewise.
21618 * stdlib/strtod_l.c: Likewise.
21619 * sunrpc/rpc/clnt.h: Likewise.
21620 * sysdeps/generic/framestate.c: Likewise.
21621 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21622 * sysdeps/i386/bsd-setjmp.S: Likewise.
21623 * sysdeps/i386/__longjmp.S: Likewise.
21624 * sysdeps/i386/setjmp.S: Likewise.
21625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21628 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21635 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21636 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21637 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21641 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21643 * sysdeps/ieee754/support.c: Likewise.
21644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21645 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21646 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21647 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21648 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21649 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21650 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21651 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21652 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21653 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21654 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21655 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21656 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21657 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21658 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21659 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21660 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21663 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21665 * posix/transbug.c: Remove executable mode.
21667 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21669 * crypt/speeds.c: Remove trailing whitespace.
21670 * dlfcn/default.c: Likewise.
21671 * elf/ifuncdep2.c: Likewise.
21672 * elf/ifuncmain1.c: Likewise.
21673 * elf/ifuncmain1vis.c: Likewise.
21674 * elf/testobj.h: Likewise.
21675 * elf/tst-stackguard1.c: Likewise.
21676 * gmon/sys/gmon.h: Likewise.
21677 * hurd/hurdmsg.c: Likewise.
21678 * hurd/new-fd.c: Likewise.
21679 * hurd/ports-get.c: Likewise.
21680 * iconvdata/ibm1008_420.c: Likewise.
21681 * inet/tst-getni1.c: Likewise.
21682 * inet/tst-getni2.c: Likewise.
21683 * libio/ioungetc.c: Likewise.
21684 * libio/wfiledoalloc.c: Likewise.
21685 * manual/libm-err-tab.pl: Likewise.
21686 * math/w_dremf.c: Likewise.
21687 * misc/ftruncate.c: Likewise.
21688 * posix/bug-glob2.c: Likewise.
21689 * posix/tst-pcre.c: Likewise.
21690 * posix/wait4.c: Likewise.
21691 * resolv/README: Likewise.
21692 * resolv/res_debug.h: Likewise.
21693 * resolv/tst-inet_ntop.c: Likewise.
21694 * setjmp/bug269-setjmp.c: Likewise.
21695 * soft-fp/extended.h: Likewise.
21696 * soft-fp/op-1.h: Likewise.
21697 * soft-fp/op-2.h: Likewise.
21698 * soft-fp/op-4.h: Likewise.
21699 * soft-fp/op-8.h: Likewise.
21700 * soft-fp/testit.c: Likewise.
21701 * stdio-common/bug16.c: Likewise.
21702 * stdlib/random.c: Likewise.
21703 * sunrpc/rpcsvc/rquota.x: Likewise.
21704 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21705 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21706 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21707 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21708 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21709 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21710 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21712 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21713 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21716 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21733 * sysdeps/ieee754/s_lib_version.c: Likewise.
21734 * sysdeps/mach/hurd/check_fds.c: Likewise.
21735 * sysdeps/mach/hurd/getsockname.c: Likewise.
21736 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21737 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21738 * sysdeps/powerpc/bits/link.h: Likewise.
21739 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21740 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21741 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21742 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21743 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21744 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21745 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21746 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21747 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21748 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21749 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21750 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21751 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21752 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21753 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21754 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21760 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21762 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21763 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21766 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21767 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21771 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21772 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21773 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21774 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21775 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21776 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21777 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21778 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21779 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21780 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21781 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21782 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21783 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21784 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21785 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21786 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21787 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21788 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21791 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21793 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21794 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21795 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21796 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21797 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21798 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21799 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21800 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21801 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21802 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21803 * sysdeps/powerpc/sysdep.h: Likewise.
21804 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21805 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21806 * sysdeps/sh/dl-trampoline.S: Likewise.
21807 * sysdeps/sh/memset.S: Likewise.
21808 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21809 * sysdeps/sh/strlen.S: Likewise.
21810 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21811 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21812 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21813 * sysdeps/sparc/sparc32/rem.S: Likewise.
21814 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21815 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21816 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21817 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21818 * sysdeps/sparc/sparc32/urem.S: Likewise.
21819 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21820 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21821 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21822 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21823 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21824 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21825 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21826 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21827 * sysdeps/unix/bsd/times.c: Likewise.
21828 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21829 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21833 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21834 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21835 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21836 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21837 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21838 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21839 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21840 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21841 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21842 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21843 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21844 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21845 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21846 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21847 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21848 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21849 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21850 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21851 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21852 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21853 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21854 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21855 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21856 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21857 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21858 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21859 * sysdeps/x86_64/strcspn.S: Likewise.
21861 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21863 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21864 generated file. Regenerate properly from gen-translit.pl.
21865 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21866 locale/C-translit.h.
21868 2013-06-05 Andreas Schwab <schwab@suse.de>
21871 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21872 week as 6 instead of -1.
21873 * time/tst-strptime.c (day_tests): Add test case.
21875 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21877 * sysdeps/generic/math_private.h
21878 (libc_feholdexcept_setround_53bit): Replace with
21879 libc_feholdsetround_53bit.
21880 (libc_feupdateenv_53bit): Replace with
21881 libc_feresetround_53bit.
21882 (SET_RESTORE_ROUND_53BIT): Adjust.
21884 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21886 * string/test-strchrnul.c: Add copyright header.
21888 * posix/tst-getaddrinfo4.c: Increase test timeout.
21890 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21893 * math/libm-test.inc (MAX_EXP): Remove
21895 (ulp): Use MIN_EXP - MANT_DIG.
21896 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21898 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21900 * po/be.po: Revert last change.
21901 * po/zh_CN.po: Likewise.
21902 * po/header.pot: Likewise.
21904 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21906 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21907 link-libc-deps to empty as target-specific variable.
21908 * Makerules (link-libc-args): New variable.
21909 (libc-for-link): Likewise.
21910 (link-libc-deps): Likewise.
21911 (lib%.so): Depend on $(link-libc-deps). Link with
21913 (build-module): Link with $(link-libc-args).
21914 (build-module-asneeded): Likewise.
21915 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21917 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21918 target-specific variable.
21919 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21920 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21921 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21923 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21925 ($(objpfx)libpcprofile.so): Likewise.
21926 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21928 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21929 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21930 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21932 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21933 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21934 * login/Makefile ($(objpfx)libutil.so): Likewise.
21935 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21936 * math/Makefile ($(objpfx)libm.so): Likewise.
21937 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21938 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21939 variable instead of depending directly on libc.
21940 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21941 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21943 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21945 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21946 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21947 ($(objpfx)libanl.so): Likewise.
21948 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21950 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21952 * sysdeps/i386/fpu/Makefile: Remove file.
21953 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21954 ($(objpfx)libm.so): Remove dependency on ld.so.
21956 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21959 * nis/yp_xdr.c (XDRMAXNAME): Define.
21960 (XDRMAXRECORD): Define.
21961 (xdr_domainname): Use XDRMAXNAME.
21962 (xdr_mapname): Likewise.
21963 (xdr_peername): Likewise.
21964 (xdr_keydat): Use XDRMAXRECORD.
21965 (xdr_valdat): Likewise.
21967 2013-05-30 Jeff Law <law@redhat.com>
21970 * manual/errno.texi (ESTALE): Update to account for more than
21971 just NFS file systems.
21972 * sysdeps/gnu/errlist.c: Regenerated.
21974 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21977 * elf/Makefile (tests): Add tst-null-argv.
21978 (modules-names): Add tst-null-argv-lib.
21979 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21980 (tst-null-argv-ENV): Set environment for tst-null-argv.
21981 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21982 (RTLD_PROGNAME): New macro.
21983 * elf/tst-null-argv.c: New test case.
21984 * elf/tst-null-argv-lib.c: Library for test case.
21985 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21986 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21987 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21988 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21989 * elf/dl-init.c (call_init): Likewise.
21990 (_dl_init): Likewise.
21991 * elf/dl-load.c (print_search_path): Likewise.
21992 (_dl_map_object): Likewise.
21993 * elf/dl-lookup.c (do_lookup_x): Likewise.
21994 (add_dependency): Likewise.
21995 (_dl_lookup_symbol_x): Likewise.
21996 (_dl_debug_bindings): Likewise.
21997 * elf/dl-open.c (_dl_show_scope): Likewise.
21998 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21999 * elf/dl-version.c (match_symbol): Likewise.
22000 (_dl_check_map_versions): Likewise.
22001 * elf/rtld.c (dl_main): Likewise.
22002 (print_unresolved): Use RTLD_PROGNAME.
22003 (print_missing_version): Likewise.
22004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22005 (elf_machine_rela): Likewise.
22006 * sysdeps/powerpc/powerpc32/dl-machine.c
22007 (__process_machine_rela): Likewise.
22008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22010 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22012 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22014 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22021 2013-05-28 Carlos O'Donell <carlos@redhat.com>
22023 * po/be.po: Add descriptive title.
22024 * po/zh_CN.po: Likewise.
22025 * po/header.pot: Likewise.
22027 2013-05-28 Mike Frysinger <vapier@gentoo.org>
22029 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22031 (enlarge_archive): Likewise.
22033 2013-05-28 Ben North <ben@redfrontdoor.org>
22035 * manual/arith.texi (frexp): It is the magnitude of the return
22036 value which lies in [0.5, 1), not the return value itself.
22038 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22042 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22044 * stdio-common/bug26.c (main): Correct fscanf template.
22046 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22047 declare _dl_skip_args.
22049 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22052 * manual/platform.texi: Add missing @end deftypefun.
22054 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22057 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22058 bit of mantissa of 2^16382.
22059 * math/libm-test.inc (hypot_test_data): Add more tests.
22061 * math/libm-test.inc: Add drem and pow10 to list of tested
22063 (pow10_test): New function.
22064 (drem_test): Likewise.
22065 (drem_test_tonearest): Likewise.
22066 (drem_test_towardzero): Likewise.
22067 (drem_test_downward): Likewise.
22068 (drem_test_upward): Likewise.
22069 (main): Call the new functions.
22071 * math/libm-test.inc (finite_test_data): Remove.
22072 (finite_test): Run tests from isfinite_test_data.
22073 (gamma_test_data): Remove.
22074 (gamma_test): Run tests from lgamma_test_data.
22075 * sysdeps/i386/fpu/libm-test-ulps: Update.
22076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22078 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22080 * manual/platform.texi: Add PowerPC PPR function set documentation.
22081 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22084 2013-05-24 Carlos O'Donell <carlos@redhat.com>
22086 * math/libm-test.inc (MAX_EXP): Define.
22088 (ulp): New function.
22089 (check_float_internal): Use ULPDIFF.
22090 (cpow_test): Disable failing test.
22091 (check_ulp): Test ulp() implemetnation.
22092 (main): Call check_ulp before starting tests.
22094 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22096 * math/gen-libm-test.pl (generate_testfile): Do not handle
22097 START_DATA and END_DATA.
22098 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22100 (acos_tonearest_test_data): Likewise.
22101 (acos_towardzero_test_data): Likewise.
22102 (acos_downward_test_data): Likewise.
22103 (acos_upward_test_data): Likewise.
22104 (acosh_test_data): Likewise.
22105 (asin_test_data): Likewise.
22106 (asin_tonearest_test_data): Likewise.
22107 (asin_towardzero_test_data): Likewise.
22108 (asin_downward_test_data): Likewise.
22109 (asin_upward_test_data): Likewise.
22110 (asinh_test_data): Likewise.
22111 (atan_test_data): Likewise.
22112 (atanh_test_data): Likewise.
22113 (atan2_test_data): Likewise.
22114 (cabs_test_data): Likewise.
22115 (cacos_test_data): Likewise.
22116 (cacosh_test_data): Likewise.
22117 (carg_test_data): Likewise.
22118 (casin_test_data): Likewise.
22119 (casinh_test_data): Likewise.
22120 (catan_test_data): Likewise.
22121 (catanh_test_data): Likewise.
22122 (cbrt_test_data): Likewise.
22123 (ccos_test_data): Likewise.
22124 (ccosh_test_data): Likewise.
22125 (ceil_test_data): Likewise.
22126 (cexp_test_data): Likewise.
22127 (cimag_test_data): Likewise.
22128 (clog_test_data): Likewise.
22129 (clog10_test_data): Likewise.
22130 (conj_test_data): Likewise.
22131 (copysign_test_data): Likewise.
22132 (cos_test_data): Likewise.
22133 (cos_tonearest_test_data): Likewise.
22134 (cos_towardzero_test_data): Likewise.
22135 (cos_downward_test_data): Likewise.
22136 (cos_upward_test_data): Likewise.
22137 (cosh_test_data): Likewise.
22138 (cosh_tonearest_test_data): Likewise.
22139 (cosh_towardzero_test_data): Likewise.
22140 (cosh_downward_test_data): Likewise.
22141 (cosh_upward_test_data): Likewise.
22142 (cpow_test_data): Likewise.
22143 (cproj_test_data): Likewise.
22144 (creal_test_data): Likewise.
22145 (csin_test_data): Likewise.
22146 (csinh_test_data): Likewise.
22147 (csqrt_test_data): Likewise.
22148 (ctan_test_data): Likewise.
22149 (ctan_tonearest_test_data): Likewise.
22150 (ctan_towardzero_test_data): Likewise.
22151 (ctan_downward_test_data): Likewise.
22152 (ctan_upward_test_data): Likewise.
22153 (ctanh_test_data): Likewise.
22154 (ctanh_tonearest_test_data): Likewise.
22155 (ctanh_towardzero_test_data): Likewise.
22156 (ctanh_downward_test_data): Likewise.
22157 (ctanh_upward_test_data): Likewise.
22158 (erf_test_data): Likewise.
22159 (erfc_test_data): Likewise.
22160 (exp_test_data): Likewise.
22161 (exp_tonearest_test_data): Likewise.
22162 (exp_towardzero_test_data): Likewise.
22163 (exp_downward_test_data): Likewise.
22164 (exp_upward_test_data): Likewise.
22165 (exp10_test_data): Likewise.
22166 (exp2_test_data): Likewise.
22167 (expm1_test_data): Likewise.
22168 (fabs_test_data): Likewise.
22169 (fdim_test_data): Likewise.
22170 (finite_test_data): Likewise.
22171 (floor_test_data): Likewise.
22172 (fma_test_data): Likewise.
22173 (fma_towardzero_test_data): Likewise.
22174 (fma_downward_test_data): Likewise.
22175 (fma_upward_test_data): Likewise.
22176 (fmax_test_data): Likewise.
22177 (fmin_test_data): Likewise.
22178 (fmod_test_data): Likewise.
22179 (fpclassify_test_data): Likewise.
22180 (frexp_test_data): Likewise.
22181 (gamma_test_data): Likewise.
22182 (hypot_test_data): Likewise.
22183 (ilogb_test_data): Likewise.
22184 (isfinite_test_data): Likewise.
22185 (isgreater_test_data): Likewise.
22186 (isgreaterequal_test_data): Likewise.
22187 (isinf_test_data): Likewise.
22188 (isless_test_data): Likewise.
22189 (islessequal_test_data): Likewise.
22190 (islessgreater_test_data): Likewise.
22191 (isnan_test_data): Likewise.
22192 (isnormal_test_data): Likewise.
22193 (issignaling_test_data): Likewise.
22194 (isunordered_test_data): Likewise.
22195 (j0_test_data): Likewise.
22196 (j1_test_data): Likewise.
22197 (jn_test_data): Likewise.
22198 (ldexp_test_data): Likewise.
22199 (lgamma_test_data): Likewise.
22200 (lrint_test_data): Likewise.
22201 (lrint_tonearest_test_data): Likewise.
22202 (lrint_towardzero_test_data): Likewise.
22203 (lrint_downward_test_data): Likewise.
22204 (lrint_upward_test_data): Likewise.
22205 (llrint_test_data): Likewise.
22206 (llrint_tonearest_test_data): Likewise.
22207 (llrint_towardzero_test_data): Likewise.
22208 (llrint_downward_test_data): Likewise.
22209 (llrint_upward_test_data): Likewise.
22210 (log_test_data): Likewise.
22211 (log10_test_data): Likewise.
22212 (log1p_test_data): Likewise.
22213 (log2_test_data): Likewise.
22214 (logb_test_data): Likewise.
22215 (logb_downward_test_data): Likewise.
22216 (lround_test_data): Likewise.
22217 (llround_test_data): Likewise.
22218 (modf_test_data): Likewise.
22219 (nearbyint_test_data): Likewise.
22220 (nextafter_test_data): Likewise.
22221 (nexttoward_test_data): Likewise.
22222 (pow_test_data): Likewise.
22223 (pow_tonearest_test_data): Likewise.
22224 (pow_towardzero_test_data): Likewise.
22225 (pow_downward_test_data): Likewise.
22226 (pow_upward_test_data): Likewise.
22227 (remainder_test_data): Likewise.
22228 (remainder_tonearest_test_data): Likewise.
22229 (remainder_towardzero_test_data): Likewise.
22230 (remainder_downward_test_data): Likewise.
22231 (remainder_upward_test_data): Likewise.
22232 (remquo_test_data): Likewise.
22233 (rint_test_data): Likewise.
22234 (rint_tonearest_test_data): Likewise.
22235 (rint_towardzero_test_data): Likewise.
22236 (rint_downward_test_data): Likewise.
22237 (rint_upward_test_data): Likewise.
22238 (round_test_data): Likewise.
22239 (scalb_test_data): Likewise.
22240 (scalbn_test_data): Likewise.
22241 (scalbln_test_data): Likewise.
22242 (signbit_test_data): Likewise.
22243 (sin_test_data): Likewise.
22244 (sin_tonearest_test_data): Likewise.
22245 (sin_towardzero_test_data): Likewise.
22246 (sin_downward_test_data): Likewise.
22247 (sin_upward_test_data): Likewise.
22248 (sincos_test_data): Likewise.
22249 (sinh_test_data): Likewise.
22250 (sinh_tonearest_test_data): Likewise.
22251 (sinh_towardzero_test_data): Likewise.
22252 (sinh_downward_test_data): Likewise.
22253 (sinh_upward_test_data): Likewise.
22254 (sqrt_test_data): Likewise.
22255 (tan_test_data): Likewise.
22256 (tan_tonearest_test_data): Likewise.
22257 (tan_towardzero_test_data): Likewise.
22258 (tan_downward_test_data): Likewise.
22259 (tan_upward_test_data): Likewise.
22260 (tanh_test_data): Likewise.
22261 (tgamma_test_data): Likewise.
22262 (trunc_test_data): Likewise.
22263 (y0_test_data): Likewise.
22264 (y1_test_data): Likewise.
22265 (yn_test_data): Likewise.
22266 (significand_test_data): Likewise.
22268 * math/gen-libm-test.pl (@functions): Remove variable.
22269 (generate_testfile): Don't handle START and END lines.
22270 * math/libm-test.inc (START): New macro.
22272 (END_COMPLEX): Likewise.
22273 (acos_test): Use END macro without arguments.
22274 (acos_test_tonearest): Likewise.
22275 (acos_test_towardzero): Likewise.
22276 (acos_test_downward): Likewise.
22277 (acos_test_upward): Likewise.
22278 (acosh_test): Likewise.
22279 (asin_test): Likewise.
22280 (asin_test_tonearest): Likewise.
22281 (asin_test_towardzero): Likewise.
22282 (asin_test_downward): Likewise.
22283 (asin_test_upward): Likewise.
22284 (asinh_test): Likewise.
22285 (atan_test): Likewise.
22286 (atanh_test): Likewise.
22287 (atan2_test): Likewise.
22288 (cabs_test): Likewise.
22289 (cacos_test): Use END_COMPLEX macro without arguments.
22290 (cacosh_test): Likewise.
22291 (carg_test): Use END macro without arguments.
22292 (casin_test): Use END_COMPLEX macro without arguments.
22293 (casinh_test): Likewise.
22294 (catan_test): Likewise.
22295 (catanh_test): Likewise.
22296 (cbrt_test): Use END macro without arguments.
22297 (ccos_test): Use END_COMPLEX macro without arguments.
22298 (ccosh_test): Likewise.
22299 (ceil_test): Use END macro without arguments.
22300 (cexp_test): Use END_COMPLEX macro without arguments.
22301 (cimag_test): Use END macro without arguments.
22302 (clog_test): Use END_COMPLEX macro without arguments.
22303 (clog10_test): Likewise.
22304 (conj_test): Likewise.
22305 (copysign_test): Use END macro without arguments.
22306 (cos_test): Likewise.
22307 (cos_test_tonearest): Likewise.
22308 (cos_test_towardzero): Likewise.
22309 (cos_test_downward): Likewise.
22310 (cos_test_upward): Likewise.
22311 (cosh_test): Likewise.
22312 (cosh_test_tonearest): Likewise.
22313 (cosh_test_towardzero): Likewise.
22314 (cosh_test_downward): Likewise.
22315 (cosh_test_upward): Likewise.
22316 (cpow_test): Use END_COMPLEX macro without arguments.
22317 (cproj_test): Likewise.
22318 (creal_test): Use END macro without arguments.
22319 (csin_test): Use END_COMPLEX macro without arguments.
22320 (csinh_test): Likewise.
22321 (csqrt_test): Likewise.
22322 (ctan_test): Likewise.
22323 (ctan_test_tonearest): Likewise.
22324 (ctan_test_towardzero): Likewise.
22325 (ctan_test_downward): Likewise.
22326 (ctan_test_upward): Likewise.
22327 (ctanh_test): Likewise.
22328 (ctanh_test_tonearest): Likewise.
22329 (ctanh_test_towardzero): Likewise.
22330 (ctanh_test_downward): Likewise.
22331 (ctanh_test_upward): Likewise.
22332 (erf_test): Use END macro without arguments.
22333 (erfc_test): Likewise.
22334 (exp_test): Likewise.
22335 (exp_test_tonearest): Likewise.
22336 (exp_test_towardzero): Likewise.
22337 (exp_test_downward): Likewise.
22338 (exp_test_upward): Likewise.
22339 (exp10_test): Likewise.
22340 (exp2_test): Likewise.
22341 (expm1_test): Likewise.
22342 (fabs_test): Likewise.
22343 (fdim_test): Likewise.
22344 (finite_test): Likewise.
22345 (floor_test): Likewise.
22346 (fma_test): Likewise.
22347 (fma_test_towardzero): Likewise.
22348 (fma_test_downward): Likewise.
22349 (fma_test_upward): Likewise.
22350 (fmax_test): Likewise.
22351 (fmin_test): Likewise.
22352 (fmod_test): Likewise.
22353 (fpclassify_test): Likewise.
22354 (frexp_test): Likewise.
22355 (gamma_test): Likewise.
22356 (hypot_test): Likewise.
22357 (ilogb_test): Likewise.
22358 (isfinite_test): Likewise.
22359 (isgreater_test): Likewise.
22360 (isgreaterequal_test): Likewise.
22361 (isinf_test): Likewise.
22362 (isless_test): Likewise.
22363 (islessequal_test): Likewise.
22364 (islessgreater_test): Likewise.
22365 (isnan_test): Likewise.
22366 (isnormal_test): Likewise.
22367 (issignaling_test): Likewise.
22368 (isunordered_test): Likewise.
22369 (j0_test): Likewise.
22370 (j1_test): Likewise.
22371 (jn_test): Likewise.
22372 (ldexp_test): Likewise.
22373 (lgamma_test): Likewise.
22374 (lrint_test): Likewise.
22375 (lrint_test_tonearest): Likewise.
22376 (lrint_test_towardzero): Likewise.
22377 (lrint_test_downward): Likewise.
22378 (lrint_test_upward): Likewise.
22379 (llrint_test): Likewise.
22380 (llrint_test_tonearest): Likewise.
22381 (llrint_test_towardzero): Likewise.
22382 (llrint_test_downward): Likewise.
22383 (llrint_test_upward): Likewise.
22384 (log_test): Likewise.
22385 (log10_test): Likewise.
22386 (log1p_test): Likewise.
22387 (log2_test): Likewise.
22388 (logb_test): Likewise.
22389 (logb_test_downward): Likewise.
22390 (lround_test): Likewise.
22391 (llround_test): Likewise.
22392 (modf_test): Likewise.
22393 (nearbyint_test): Likewise.
22394 (nextafter_test): Likewise.
22395 (nexttoward_test): Likewise.
22396 (pow_test): Likewise.
22397 (pow_test_tonearest): Likewise.
22398 (pow_test_towardzero): Likewise.
22399 (pow_test_downward): Likewise.
22400 (pow_test_upward): Likewise.
22401 (remainder_test): Likewise.
22402 (remainder_test_tonearest): Likewise.
22403 (remainder_test_towardzero): Likewise.
22404 (remainder_test_downward): Likewise.
22405 (remainder_test_upward): Likewise.
22406 (remquo_test): Likewise.
22407 (rint_test): Likewise.
22408 (rint_test_tonearest): Likewise.
22409 (rint_test_towardzero): Likewise.
22410 (rint_test_downward): Likewise.
22411 (rint_test_upward): Likewise.
22412 (round_test): Likewise.
22413 (scalb_test): Likewise.
22414 (scalbn_test): Likewise.
22415 (scalbln_test): Likewise.
22416 (signbit_test): Likewise.
22417 (sin_test): Likewise.
22418 (sin_test_tonearest): Likewise.
22419 (sin_test_towardzero): Likewise.
22420 (sin_test_downward): Likewise.
22421 (sin_test_upward): Likewise.
22422 (sincos_test): Likewise.
22423 (sinh_test): Likewise.
22424 (sinh_test_tonearest): Likewise.
22425 (sinh_test_towardzero): Likewise.
22426 (sinh_test_downward): Likewise.
22427 (sinh_test_upward): Likewise.
22428 (sqrt_test): Likewise.
22429 (tan_test): Likewise.
22430 (tan_test_tonearest): Likewise.
22431 (tan_test_towardzero): Likewise.
22432 (tan_test_downward): Likewise.
22433 (tan_test_upward): Likewise.
22434 (tanh_test): Likewise.
22435 (tgamma_test): Likewise.
22436 (trunc_test): Likewise.
22437 (y0_test): Likewise.
22438 (y1_test): Likewise.
22439 (yn_test): Likewise.
22440 (significand_test): Likewise.
22442 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
22445 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22447 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22450 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22451 __ppc_mdoio and __ppc_mdoom.
22452 * manual/platform.texi: Document new functions __ppc_yield,
22453 __ppc_mdoio and __ppc_mdoom.
22455 2013-05-22 Carlos O'Donell <carlos@redhat.com>
22457 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22458 (main): Mention "tls" pseudo-hwcap is legacy.
22459 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22461 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22463 * math/gen-libm-test.pl (parse_args): Output only string of
22464 arguments as text for test name, not full call or descriptions of
22465 tests for extra outputs.
22466 (generate_testfile): Do not pass function name to parse_args.
22467 Generate this_func variable from START.
22468 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22470 (struct test_ff_f_data): Likewise.
22471 (test_ff_f_data_nexttoward): Likewise.
22472 (struct test_fi_f_data): Likewise.
22473 (struct test_fl_f_data): Likewise.
22474 (struct test_if_f_data): Likewise.
22475 (struct test_fff_f_data): Likewise.
22476 (struct test_c_f_data): Likewise.
22477 (struct test_f_f1_data): Likewise. Remove field extra_name.
22478 (struct test_fF_f1_data): Likewise.
22479 (struct test_ffI_f1_data): Likewise.
22480 (struct test_c_c_data): Rename test_name field to arg_str.
22481 (struct test_cc_c_data): Likewise.
22482 (struct test_f_i_data): Likewise.
22483 (struct test_ff_i_data): Likewise.
22484 (struct test_f_l_data): Likewise.
22485 (struct test_f_L_data): Likewise.
22486 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22488 (COMMON_TEST_SETUP): New macro.
22489 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22490 (COMMON_TEST_CLEANUP): Likewise.
22491 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22492 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22494 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22495 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22497 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22498 (RUN_TEST_fff_f): Take argument string. Call new setup and
22500 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22501 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22503 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22504 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22506 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22507 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22509 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22510 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22512 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22513 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22515 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22516 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22518 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22519 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22521 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22522 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22524 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22525 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22527 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22528 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22530 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22531 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22533 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22534 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22536 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22537 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22539 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22540 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22542 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22543 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22545 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22547 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22549 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22550 to _sifields.sigfault.
22551 (si_addr_lsb): Define new macro.
22552 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22556 2013-05-03 Carlos O'Donell <carlos at redhat.com>
22559 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22561 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22563 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22564 loading the domain.
22566 2013-05-22 Joseph Myers <joseph@codesourcery.com>
22568 * math/gen-libm-test.pl (parse_args): Do not include expected
22569 result in test name.
22570 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22571 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22572 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22573 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22574 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22577 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22579 * benchtests/Makefile: Sort function entries.
22581 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22582 tanh, asinh, acosh, atanh.
22583 * benchtests/acos-inputs: New file.
22584 * benchtests/acosh-inputs: New file.
22585 * benchtests/asin-inputs: New file.
22586 * benchtests/asinh-inputs: New file.
22587 * benchtests/atanh-inputs: New file.
22588 * benchtests/cosh-inputs: New file.
22589 * benchtests/log-inputs: New file.
22590 * benchtests/sinh-inputs: New file.
22591 * benchtests/tanh-inputs: New file.
22593 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22596 * posix/tst-getaddrinfo4.c: New test.
22597 * posix/Makefile (tests): Add it.
22599 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22602 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22603 when no services were used.
22604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22605 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22607 2013-05-21 Andreas Schwab <schwab@suse.de>
22610 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22611 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22613 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22614 redundant variable declarations and reallocation of buffer when
22615 parsing as IPv6 address. Always set NSS status when called from
22616 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22617 buffer too small. Correct computation of needed size.
22618 * nss/Makefile (tests): Add test-digits-dots.
22619 * nss/test-digits-dots.c: New test.
22621 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22623 * benchtests/Makefile: Remove instructions for adding
22625 * benchtests/README: New file to explain how to execute and
22626 enhance the benchmark tests.
22628 2013-05-21 Andreas Schwab <schwab@suse.de>
22631 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22632 * setjmp/tst-sigsetjmp.c: New test.
22634 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22636 * sysdeps/x86_64/memset.S (memset): New implementation.
22637 (__bzero): Likewise.
22638 (__memset_tail): New function.
22640 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22642 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22643 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22644 __memcpy_sse2_unaligned ifunc selection.
22645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22646 Add memcpy-sse2-unaligned.S.
22647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22648 Add: __memcpy_sse2_unaligned.
22650 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22653 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22654 math_force_eval before restoring floating-point envrionment.
22655 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22658 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22660 (__nearbyintl): Use math_force_eval before restoring
22661 floating-point environment.
22662 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22664 * math/gen-libm-test.pl (special_functions): Remove.
22665 (parse_args): Don't handle TEST_extra. Handle functions with no
22667 * math/libm-test.inc (struct test_sincos_data): Replace with
22668 struct test_fFF_11_data.
22669 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22670 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22671 (sincos_test_data): Change element type to struct
22672 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22673 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22674 RUN_TEST_LOOP_sincos.
22675 * math/README.libm-test: Don't mention special handling of
22676 individual functions.
22677 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22679 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22680 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22681 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22684 * math/gen-libm-test.pl (get_variable): Remove function.
22685 (parse_args): Don't show pointer parameters to call in test
22686 names. Use "extra output N" in test names for extra outputs
22687 rather than naming variables.
22689 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22692 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22693 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22694 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22696 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22698 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22701 * math/gen-libm-test.pl (@tests): Remove variable.
22702 ($count): Likewise.
22703 (new_test): Remove function.
22704 (show_exceptions): New function.
22705 (special_functions): Use show_exceptions instead of new_test.
22706 (parse_args): Likewise.
22707 (generate_testfile): Pass only function name in generated call to
22708 print_max_error or print_complex_max_error.
22709 (get_ulps): Do not handle complex tests specially.
22710 (output_test): Rename to ...
22711 (get_all_ulps_for_test): ... this. Return a string rather than
22712 printing to a file. Require ulps to be present.
22713 (output_ulps): Generate arrays rather than #defines.
22714 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22715 (struct ulp_data): New type.
22716 (BUILD_COMPLEX_ULP): Remove macro.
22717 (compare_ulp_data): New function.
22718 (find_ulps): Likewise.
22719 (find_test_ulps): Likewise.
22720 (find_function_ulps): Likewise.
22721 (find_complex_function_ulps): Likewise.
22722 (print_max_error): Determine allowed ulps using
22723 find_function_ulps.
22724 (print_complex_max_error): Determine allowed ulps using
22725 find_complex_function_ulps.
22726 (check_float_internal): Determine max ulps using find_test_ulps.
22727 (check_float): Do not take max_ulp parameter. Update call to
22728 check_float_internal.
22729 (check_complex): Likewise.
22730 (check_int): Do not take max_ulp parameter.
22731 (check_long): Likewise.
22732 (check_bool): Likewise.
22733 (check_longlong): Likewise.
22734 (struct test_f_f_data): Remove max_ulp field.
22735 (struct test_ff_f_data): Likewise.
22736 (struct test_ff_f_data_nexttoward): Likewise.
22737 (struct test_fi_f_data): Likewise.
22738 (struct test_fl_f_data): Likewise.
22739 (struct test_if_f_data): Likewise.
22740 (struct test_fff_f_data): Likewise.
22741 (struct test_c_f_data): Likewise.
22742 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22743 (struct test_fF_f1_data): Likewise.
22744 (struct test_ffI_f1_data): Likewise.
22745 (struct test_c_c_data): Remove max_ulp field.
22746 (struct test_cc_c_data): Likewise.
22747 (struct test_f_i_data): Likewise.
22748 (struct test_ff_i_data): Likewise.
22749 (struct test_f_l_data): Likewise.
22750 (struct test_f_L_data): Likewise.
22751 (struct test_sincos_data): Likewise.
22752 (RUN_TEST_f_f): Do not handle ulps.
22753 (RUN_TEST_LOOP_f_f): Likewise.
22754 (RUN_TEST_2_f): Likewise.
22755 (RUN_TEST_LOOP_2_f): Likewise.
22756 (RUN_TEST_fff_f): Likewise.
22757 (RUN_TEST_LOOP_fff_f): Likewise.
22758 (RUN_TEST_c_f): Likewise.
22759 (RUN_TEST_LOOP_c_f): Likewise.
22760 (RUN_TEST_f_f1): Likewise.
22761 (RUN_TEST_LOOP_f_f1): Likewise.
22762 (RUN_TEST_fF_f1): Likewise.
22763 (RUN_TEST_LOOP_fF_f1): Likewise.
22764 (RUN_TEST_fI_f1): Likewise.
22765 (RUN_TEST_LOOP_fI_f1): Likewise.
22766 (RUN_TEST_ffI_f1): Likewise.
22767 (RUN_TEST_LOOP_ffI_f1): Likewise.
22768 (RUN_TEST_c_c): Likewise.
22769 (RUN_TEST_LOOP_c_c): Likewise.
22770 (RUN_TEST_cc_c): Likewise.
22771 (RUN_TEST_LOOP_cc_c): Likewise.
22772 (RUN_TEST_f_i): Likewise.
22773 (RUN_TEST_LOOP_f_i): Likewise.
22774 (RUN_TEST_f_i_tg): Likewise.
22775 (RUN_TEST_LOOP_f_i_tg): Likewise.
22776 (RUN_TEST_ff_i_tg): Likewise.
22777 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22778 (RUN_TEST_f_b): Likewise.
22779 (RUN_TEST_LOOP_f_b): Likewise.
22780 (RUN_TEST_f_b_tg): Likewise.
22781 (RUN_TEST_LOOP_f_b_tg): Likewise.
22782 (RUN_TEST_f_l): Likewise.
22783 (RUN_TEST_LOOP_f_l): Likewise.
22784 (RUN_TEST_f_L): Likewise.
22785 (RUN_TEST_LOOP_f_L): Likewise.
22786 (RUN_TEST_sincos): Likewise.
22787 (RUN_TEST_LOOP_sincos): Likewise.
22789 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22793 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22794 main case of finite arguments, set rounding mode to FE_TONEAREST
22795 and discard exceptions.
22796 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22798 (remainder_tonearest_test_data): New variable.
22799 (remainder_test_tonearest): New function.
22800 (remainder_towardzero_test_data): New variable.
22801 (remainder_test_towardzero): New function.
22802 (remainder_downward_test_data): New variable.
22803 (remainder_test_downward): New function.
22804 (remainder_upward_test_data): New variable.
22805 (remainder_test_upward): New function.
22806 (main): Call the new test functions.
22808 * math/libm-test.inc (struct test_f_f1_data): Remove field
22810 (struct test_fF_f1_data): Likewise.
22811 (struct test_ffI_f1_data): Likewise.
22812 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22813 based on value of EXTRA_EXPECTED.
22814 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22815 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22816 EXTRA_VAR based on value of EXTRA_EXPECTED.
22817 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22818 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22819 EXTRA_VAR based on value of EXTRA_EXPECTED.
22820 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22821 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22822 EXTRA_VAR based on value of EXTRA_EXPECTED.
22823 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22824 * math/gen-libm-test.pl (parse_args): Don't output initializers
22825 for extra output values.
22827 * math/libm-test.inc (check_int): Expect result to be exactly
22828 equal to expected value and do not handle ulps.
22829 (check_long): Likewise.
22830 (check_longlong): Likewise.
22832 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22834 (cimag_test_data): Likewise.
22835 (conj_test_data): Likewise.
22836 (copysign_test_data): Likewise.
22837 (cproj_test_data): Likewise.
22838 (creal_test_data): Likewise.
22839 (fabs_test_data): Likewise.
22840 (fdim_test_data): Likewise.
22841 (finite_test_data): Likewise.
22842 (floor_test_data): Likewise.
22843 (fmax_test_data): Likewise.
22844 (fmin_test_data): Likewise.
22845 (fmod_test_data): Likewise.
22846 (fpclassify_test_data): Likewise.
22847 (frexp_test_data): Likewise.
22848 (ilogb_test_data): Likewise.
22849 (isfinite_test_data): Likewise.
22850 (isgreater_test_data): Likewise.
22851 (isgreaterequal_test_data): Likewise.
22852 (isinf_test_data): Likewise.
22853 (isless_test_data): Likewise.
22854 (islessequal_test_data): Likewise.
22855 (islessgreater_test_data): Likewise.
22856 (isnan_test_data): Likewise.
22857 (isnormal_test_data): Likewise.
22858 (issignaling_test_data): Likewise.
22859 (isunordered_test_data): Likewise.
22860 (ldexp_test_data): Likewise.
22861 (lrint_test_data): Likewise.
22862 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22863 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22864 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22865 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22866 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22867 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22869 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22870 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22871 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22872 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22874 (lrint_downward_test_data): Test for "inexact" exceptions.
22875 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22876 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22877 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22879 (lrint_upward_test_data): Test for "inexact" exceptions.
22880 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22882 (llrint_test_data): Test for "inexact" exceptions.
22883 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22884 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22885 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22886 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22887 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22888 (llrint_downward_test_data): Test for "inexact" exceptions.
22889 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22890 (llrint_upward_test_data): Test for "inexact" exceptions.
22891 (logb_test_data): Likewise.
22892 (logb_downward_test_data): Likewise.
22893 (nextafter_test_data): Likewise.
22894 (nexttoward_test_data): Likewise.
22895 (remainder_test_data): Likewise.
22896 (remquo_test_data): Likewise.
22897 (scalbn_test_data): Likewise.
22898 (scalbln_test_data): Likewise.
22899 (signbit_test_data): Likewise.
22900 (sqrt_test_data): Likewise.
22901 (significand_test_data): Likewise.
22903 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22906 * benchtests/bench-modf.c (struct args): Mark arg0 as
22908 * scripts/bench.pl: Mark members of struct args as volatile.
22910 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22913 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22914 negative infinity on POWER6 or lower.
22915 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22917 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22920 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22921 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22922 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22923 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22924 (_FP_SETQNAN): New macro.
22925 (_FP_SETQNAN_SEMIRAW): Likewise.
22926 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22927 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22928 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22929 (FP_EXTEND): Use _FP_FRAC_SNANP.
22930 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22931 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22933 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22935 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22938 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22940 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22941 with DIVIDE_BY_ZERO_EXCEPTION.
22942 (gamma_test_data): Likewise.
22943 (lgamma_test_data): Likewise.
22944 (log_test_data): Likewise.
22945 (log10_test_data): Likewise.
22946 (log2_test_data): Likewise.
22947 (tgamma_test_data): Likewise.
22949 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22950 (acos_test_tonearest): Likewise.
22951 (acos_test_towardzero): Likewise.
22952 (acos_test_downward): Likewise.
22953 (acos_test_upward): Likewise.
22954 (acosh_test): Likewise.
22955 (asin_test): Likewise.
22956 (asin_test_tonearest): Likewise.
22957 (asin_test_towardzero): Likewise.
22958 (asin_test_downward): Likewise.
22959 (asin_test_upward): Likewise.
22960 (asinh_test): Likewise.
22961 (atan_test): Likewise.
22962 (atanh_test): Likewise.
22963 (atan2_test): Likewise.
22964 (cabs_test): Likewise.
22965 (cacos_test): Likewise.
22966 (cacosh_test): Likewise.
22967 (casin_test): Likewise.
22968 (casinh_test): Likewise.
22969 (catan_test): Likewise.
22970 (catanh_test): Likewise.
22971 (cbrt_test): Likewise.
22972 (ccos_test): Likewise.
22973 (ccosh_test): Likewise.
22974 (cexp_test): Likewise.
22975 (clog_test): Likewise.
22976 (clog10_test): Likewise.
22977 (cos_test): Likewise.
22978 (cos_test_tonearest): Likewise.
22979 (cos_test_towardzero): Likewise.
22980 (cos_test_downward): Likewise.
22981 (cos_test_upward): Likewise.
22982 (cosh_test): Likewise.
22983 (cosh_test_tonearest): Likewise.
22984 (cosh_test_towardzero): Likewise.
22985 (cosh_test_downward): Likewise.
22986 (cosh_test_upward): Likewise.
22987 (cpow_test): Likewise.
22988 (csin_test): Likewise.
22989 (csinh_test): Likewise.
22990 (csqrt_test): Likewise.
22991 (ctan_test): Likewise.
22992 (ctan_test_tonearest): Likewise.
22993 (ctan_test_towardzero): Likewise.
22994 (ctan_test_downward): Likewise.
22995 (ctan_test_upward): Likewise.
22996 (ctanh_test): Likewise.
22997 (ctanh_test_tonearest): Likewise.
22998 (ctanh_test_towardzero): Likewise.
22999 (ctanh_test_downward): Likewise.
23000 (ctanh_test_upward): Likewise.
23001 (erf_test): Likewise.
23002 (erfc_test): Likewise.
23003 (exp_test): Likewise.
23004 (exp_test_tonearest): Likewise.
23005 (exp_test_towardzero): Likewise.
23006 (exp_test_downward): Likewise.
23007 (exp_test_upward): Likewise.
23008 (exp10_test): Likewise.
23009 (exp2_test): Likewise.
23010 (expm1_test): Likewise.
23011 (fmod_test): Likewise.
23012 (gamma_test): Likewise.
23013 (hypot_test): Likewise.
23014 (j0_test): Likewise.
23015 (j1_test): Likewise.
23016 (jn_test): Likewise.
23017 (lgamma_test): Likewise.
23018 (log_test): Likewise.
23019 (log10_test): Likewise.
23020 (log1p_test): Likewise.
23021 (log2_test): Likewise.
23022 (logb_test_downward): Likewise.
23023 (pow_test): Likewise.
23024 (pow_test_tonearest): Likewise.
23025 (pow_test_towardzero): Likewise.
23026 (pow_test_downward): Likewise.
23027 (pow_test_upward): Likewise.
23028 (remainder_test): Likewise.
23029 (remquo_test): Likewise.
23030 (sin_test): Likewise.
23031 (sin_test_tonearest): Likewise.
23032 (sin_test_towardzero): Likewise.
23033 (sin_test_downward): Likewise.
23034 (sin_test_upward): Likewise.
23035 (sincos_test): Likewise.
23036 (sinh_test): Likewise.
23037 (sinh_test_tonearest): Likewise.
23038 (sinh_test_towardzero): Likewise.
23039 (sinh_test_downward): Likewise.
23040 (sinh_test_upward): Likewise.
23041 (sqrt_test): Likewise.
23042 (tan_test): Likewise.
23043 (tan_test_tonearest): Likewise.
23044 (tan_test_towardzero): Likewise.
23045 (tan_test_downward): Likewise.
23046 (tan_test_upward): Likewise.
23047 (tanh_test): Likewise.
23048 (tgamma_test): Likewise.
23049 (y0_test): Likewise.
23050 (y1_test): Likewise.
23051 (yn_test): Likewise.
23053 * math/gen-libm-test.pl (adjust_arg): Remove function.
23054 (special_function): Remove argument $in_func. Only handle
23055 generating output for tables of tests, not inside functions.
23056 (parse_args): Likewise.
23057 (generate_testfile): Remove variable $in_func. Update call to
23059 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23060 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23061 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23062 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23063 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23064 (MAX_VALUE_INIT): Rename macro to max_value.
23065 (MIN_VALUE_INIT): Rename macro to min_value.
23066 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23067 (plus_zero): Remove variable.
23068 (minus_zero): Likewise.
23069 (plus_infty): Likewise.
23070 (minus_infty): Likewise.
23071 (qnan_value): Likewise.
23072 (max_value): Likewise.
23073 (min_value): Likewise.
23074 (min_subnorm_value): Likewise.
23076 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23078 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23079 uint64_t or uint32_t usage.
23080 * crypt/sha256-block.c: Likewise.
23081 * crypt/sha256-crypt.c: Likewise.
23082 * crypt/sha256.c: Likewise.
23083 * crypt/sha512-block.c: Likewise.
23084 * crypt/sha512-crypt.c: Likewise.
23085 * crypt/sha512.c: Likewise.
23086 * debug/backtrace-tst.c: Likewise.
23087 * debug/pcprofiledump.c: Likewise.
23088 * elf/cache.c: Likewise.
23089 * elf/dl-cache.c: Likewise.
23090 * elf/dl-misc.c: Likewise.
23091 * elf/dl-profile.c: Likewise.
23092 * elf/dl-support.c: Likewise.
23093 * elf/ldconfig.c: Likewise.
23094 * elf/sprof.c: Likewise.
23095 * iconv/dummy-repertoire.c: Likewise.
23096 * iconv/iconv_charmap.c: Likewise.
23097 * iconv/skeleton.c: Likewise.
23098 * iconvdata/8bit-generic.c: Likewise.
23099 * iconvdata/cp737.h: Likewise.
23100 * iconvdata/cp775.h: Likewise.
23101 * iconvdata/ibm1008.h: Likewise.
23102 * iconvdata/ibm1025.h: Likewise.
23103 * iconvdata/ibm1046.h: Likewise.
23104 * iconvdata/ibm1097.h: Likewise.
23105 * iconvdata/ibm1112.h: Likewise.
23106 * iconvdata/ibm1122.h: Likewise.
23107 * iconvdata/ibm1123.h: Likewise.
23108 * iconvdata/ibm1124.h: Likewise.
23109 * iconvdata/ibm1129.h: Likewise.
23110 * iconvdata/ibm1130.h: Likewise.
23111 * iconvdata/ibm1132.h: Likewise.
23112 * iconvdata/ibm1133.h: Likewise.
23113 * iconvdata/ibm1137.h: Likewise.
23114 * iconvdata/ibm1140.h: Likewise.
23115 * iconvdata/ibm1141.h: Likewise.
23116 * iconvdata/ibm1142.h: Likewise.
23117 * iconvdata/ibm1143.h: Likewise.
23118 * iconvdata/ibm1144.h: Likewise.
23119 * iconvdata/ibm1145.h: Likewise.
23120 * iconvdata/ibm1146.h: Likewise.
23121 * iconvdata/ibm1147.h: Likewise.
23122 * iconvdata/ibm1148.h: Likewise.
23123 * iconvdata/ibm1149.h: Likewise.
23124 * iconvdata/ibm1153.h: Likewise.
23125 * iconvdata/ibm1154.h: Likewise.
23126 * iconvdata/ibm1155.h: Likewise.
23127 * iconvdata/ibm1156.h: Likewise.
23128 * iconvdata/ibm1157.h: Likewise.
23129 * iconvdata/ibm1158.h: Likewise.
23130 * iconvdata/ibm1160.h: Likewise.
23131 * iconvdata/ibm1161.h: Likewise.
23132 * iconvdata/ibm1162.h: Likewise.
23133 * iconvdata/ibm1163.h: Likewise.
23134 * iconvdata/ibm1164.h: Likewise.
23135 * iconvdata/ibm1166.h: Likewise.
23136 * iconvdata/ibm1167.h: Likewise.
23137 * iconvdata/ibm12712.h: Likewise.
23138 * iconvdata/ibm1390.h: Likewise.
23139 * iconvdata/ibm1399.h: Likewise.
23140 * iconvdata/ibm16804.h: Likewise.
23141 * iconvdata/ibm4517.h: Likewise.
23142 * iconvdata/ibm4899.h: Likewise.
23143 * iconvdata/ibm4909.h: Likewise.
23144 * iconvdata/ibm4971.h: Likewise.
23145 * iconvdata/ibm5347.h: Likewise.
23146 * iconvdata/ibm803.h: Likewise.
23147 * iconvdata/ibm856.h: Likewise.
23148 * iconvdata/ibm901.h: Likewise.
23149 * iconvdata/ibm902.h: Likewise.
23150 * iconvdata/ibm9030.h: Likewise.
23151 * iconvdata/ibm9066.h: Likewise.
23152 * iconvdata/ibm921.h: Likewise.
23153 * iconvdata/ibm922.h: Likewise.
23154 * iconvdata/ibm9448.h: Likewise.
23155 * iconvdata/isiri-3342.h: Likewise.
23156 * iconvdata/jis0201.h: Likewise.
23157 * include/link.h: Likewise.
23158 * include/netdb.h: Likewise.
23159 * inet/check_native.c: Likewise.
23160 * inet/check_pf.c: Likewise.
23161 * inet/getipv4sourcefilter.c: Likewise.
23162 * inet/getnameinfo.c: Likewise.
23163 * inet/getsourcefilter.c: Likewise.
23164 * inet/htonl.c: Likewise.
23165 * inet/setipv4sourcefilter.c: Likewise.
23166 * inet/setsourcefilter.c: Likewise.
23167 * inet/test-inet6_opt.c: Likewise.
23168 * inet/tst-network.c: Likewise.
23169 * locale/C-collate.c: Likewise.
23170 * locale/C-ctype.c: Likewise.
23171 * locale/C-time.c: Likewise.
23172 * locale/C-translit.h: Likewise.
23173 * locale/loadarchive.c: Likewise.
23174 * locale/programs/3level.h: Likewise.
23175 * locale/programs/charmap.c: Likewise.
23176 * locale/programs/charmap.h: Likewise.
23177 * locale/programs/ld-address.c: Likewise.
23178 * locale/programs/ld-collate.c: Likewise.
23179 * locale/programs/ld-ctype.c: Likewise.
23180 * locale/programs/ld-identification.c: Likewise.
23181 * locale/programs/ld-measurement.c: Likewise.
23182 * locale/programs/ld-messages.c: Likewise.
23183 * locale/programs/ld-monetary.c: Likewise.
23184 * locale/programs/ld-name.c: Likewise.
23185 * locale/programs/ld-numeric.c: Likewise.
23186 * locale/programs/ld-paper.c: Likewise.
23187 * locale/programs/ld-telephone.c: Likewise.
23188 * locale/programs/ld-time.c: Likewise.
23189 * locale/programs/linereader.c: Likewise.
23190 * locale/programs/locale.c: Likewise.
23191 * locale/programs/locarchive.c: Likewise.
23192 * locale/programs/locfile.h: Likewise.
23193 * locale/programs/repertoire.c: Likewise.
23194 * locale/programs/simple-hash.c: Likewise.
23195 * locale/programs/simple-hash.h: Likewise.
23196 * malloc/memusage.c: Likewise.
23197 * malloc/memusagestat.c: Likewise.
23198 * nis/nis_defaults.c: Likewise.
23199 * nis/nis_hash.c: Likewise.
23200 * nis/nis_print.c: Likewise.
23201 * nis/nis_xdr.c: Likewise.
23202 * nscd/connections.c: Likewise.
23203 * nscd/hstcache.c: Likewise.
23204 * nscd/nscd_gethst_r.c: Likewise.
23205 * nscd/nscd_getserv_r.c: Likewise.
23206 * nscd/nscd_helper.c: Likewise.
23207 * nscd/servicescache.c: Likewise.
23208 * nss/makedb.c: Likewise.
23209 * nss/nss_db/db-XXX.c: Likewise.
23210 * nss/nss_db/db-initgroups.c: Likewise.
23211 * nss/nss_db/db-netgrp.c: Likewise.
23212 * nss/nss_files/files-network.c: Likewise.
23213 * nss/nss_files/files-parse.c: Likewise.
23214 * posix/bug-regex5.c: Likewise.
23215 * posix/fnmatch_loop.c: Likewise.
23216 * posix/regcomp.c: Likewise.
23217 * posix/regexec.c: Likewise.
23218 * posix/tst-rfc3484-2.c: Likewise.
23219 * posix/tst-rfc3484-3.c: Likewise.
23220 * posix/tst-rfc3484.c: Likewise.
23221 * resolv/nss_dns/dns-canon.c: Likewise.
23222 * resolv/nss_dns/dns-network.c: Likewise.
23223 * resolv/res_init.c: Likewise.
23224 * resolv/res_mkquery.c: Likewise.
23225 * resolv/tst-aton.c: Likewise.
23226 * stdlib/cxa_atexit.c: Likewise.
23227 * stdlib/cxa_finalize.c: Likewise.
23228 * stdlib/gen-fpioconst.c: Likewise.
23229 * stdlib/strtol_l.c: Likewise.
23230 * string/tst-endian.c: Likewise.
23231 * sunrpc/auth_des.c: Likewise.
23232 * sunrpc/clnt_udp.c: Likewise.
23233 * sunrpc/rtime.c: Likewise.
23234 * sunrpc/svcauth_des.c: Likewise.
23235 * sunrpc/xdr.c: Likewise.
23236 * sunrpc/xdr_intXX_t.c: Likewise.
23237 * sunrpc/xdr_rec.c: Likewise.
23238 * sysdeps/generic/ldconfig.h: Likewise.
23239 * sysdeps/generic/ldsodefs.h: Likewise.
23240 * sysdeps/generic/memusage.h: Likewise.
23241 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23245 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23247 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23248 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23251 * sysdeps/posix/getaddrinfo.c: Likewise.
23252 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23253 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23254 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23255 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23256 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23257 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23258 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23259 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23260 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23261 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23262 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23263 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23264 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23265 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23266 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23267 * sysdeps/x86_64/dl-tls.h: Likewise.
23268 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23269 * time/alt_digit.c: Likewise.
23270 * time/era.c: Likewise.
23271 * wcsmbs/tst-c16c32-1.c: Likewise.
23273 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23275 * math/libm-test.inc (struct test_sincos_data): New type.
23276 (RUN_TEST_LOOP_sincos): New macro.
23277 (sincos_test_data): New variable.
23278 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23280 2013-05-16 Richard Henderson <rth@redhat.com>
23282 * math/atest-exp2.c (LIMB64): New macro.
23283 (CONSTSZ): New macro.
23284 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23286 (print_mpn_fp): ... to function scope.
23287 (read_mpn_hex): Remove.
23288 (get_log2): Remove.
23289 (exp2_mpn): Use mp_log2.
23290 (main): Use mp_exp1.
23292 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23294 * math/libm-test.inc: Remove comment about not testing "inexact"
23296 (INEXACT_EXCEPTION): New macro.
23297 (NO_INEXACT_EXCEPTION): Likewise.
23298 (INVALID_EXCEPTION_OK): Update value.
23299 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23300 (OVERFLOW_EXCEPTION_OK): Likewise.
23301 (UNDERFLOW_EXCEPTION_OK): Likewise.
23302 (IGNORE_ZERO_INF_SIGN): Likewise.
23303 (ERRNO_UNCHANGED): Likewise.
23304 (ERRNO_EDOM): Likewise.
23305 (ERRNO_ERANGE): Likewise.
23306 (test_exceptions): Handle testing "inexact" exceptions.
23307 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23308 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23309 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23310 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23312 (rint_towardzero_test_data): Likewise.
23313 (rint_downward_test_data): Likewise.
23314 (rint_upward_test_data): Likewise.
23316 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23317 with OVERFLOW_EXCEPTION.
23318 (exp10_test_data): Likewise.
23319 (exp2_test_data): Likewise.
23320 (expm1_test_data): Likewise.
23321 (lgamma_test_data): Likewise.
23322 (pow_test_data): Likewise.
23323 (tgamma_test_data): Likewise.
23324 (yn_test_data): Remove duplicate test of overflow.
23326 * math/libm-test.inc (struct test_cc_c_data): New type.
23327 (RUN_TEST_LOOP_cc_c): New macro.
23328 (cpow_test_data): New variable.
23329 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23331 * math/libm-test.inc (struct test_f_L_data): New type.
23332 (RUN_TEST_LOOP_f_L): New macro.
23333 (llrint_test_data): New variable.
23334 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23335 (llrint_tonearest_test_data): New variable.
23336 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23337 (llrint_towardzero_test_data): New variable.
23338 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23339 (llrint_downward_test_data): New variable.
23340 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23341 (llrint_upward_test_data): New variable.
23342 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23343 (llround_test_data): New variable.
23344 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23346 2013-05-13 Peter Collingbourne <pcc@google.com>
23348 * math/atest-exp2.c (get_log2): Remove const attribute.
23350 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23352 * math/libm-test.inc (struct test_f_l_data): New type.
23353 (RUN_TEST_LOOP_f_l): New macro.
23354 (lrint_test_data): New variable.
23355 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23356 (lrint_tonearest_test_data): New variable.
23357 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23358 (lrint_towardzero_test_data): New variable.
23359 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23360 (lrint_downward_test_data): New variable.
23361 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23362 (lrint_upward_test_data): New variable.
23363 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23364 (lround_test_data): New variable.
23365 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23367 2013-05-15 Peter Collingbourne <pcc@google.com>
23369 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23370 (EXTRACT_WORDS64) Use where appropriate.
23371 (INSERT_WORDS64) Likewise.
23373 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23374 constraints with x constraints.
23375 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23377 * malloc/obstack.c (_obstack_compat): Add initializer.
23379 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23382 si_trapno and add si_addr_lsb to _sifields.sigfault.
23383 (si_trapno): Remove macro.
23384 (si_addr_lsb): Define new macro.
23385 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23387 2013-05-15 Joseph Myers <joseph@codesourcery.com>
23389 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23390 instead of TEST_f_l.
23391 (llrint_test_tonearest): Likewise.
23392 (llrint_test_towardzero): Likewise.
23393 (llrint_test_downward): Likewise.
23394 (llrint_test_upward): Likewise.
23395 (llround_test): Likewise.
23397 * math/libm-test.inc (struct test_f_i_data): Add comment.
23398 (RUN_TEST_LOOP_f_b): New macro.
23399 (RUN_TEST_LOOP_f_b_tg): Likewise.
23400 (finite_test_data): New variable.
23401 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23402 (isfinite_test_data): New variable.
23403 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23404 (isinf_test_data): New variable.
23405 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23406 (isnan_test_data): New variable.
23407 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23408 (isnormal_test_data): New variable.
23409 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23410 (issignaling_test_data): New variable.
23411 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23412 (signbit_test_data): New variable.
23413 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23415 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23416 with INVALID_EXCEPTION.
23417 (acosh_test_data): Likewise.
23418 (asin_test_data): Likewise.
23419 (atanh_test_data): Likewise.
23420 (fmod_test_data): Likewise.
23421 (log_test_data): Likewise.
23422 (log10_test_data): Likewise.
23423 (log2_test_data): Likewise.
23424 (pow_test_data): Likewise.
23425 (sqrt_test_data): Likewise.
23426 (y0_test_data): Likewise.
23427 (y1_test_data): Likewise.
23428 (yn_test_data): Likewise.
23430 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23433 * math/libm-test.inc (struct test_ff_i_data): New type.
23434 (RUN_TEST_LOOP_ff_i_tg): New macro.
23435 (isgreater_test_data): New variable.
23436 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23437 (isgreaterequal_test_data): New variable.
23438 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23439 (isless_test_data): New variable.
23440 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23441 (islessequal_test_data): New variable.
23442 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23443 (islessgreater_test_data): New variable.
23444 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23445 (isunordered_test_data): New variable.
23446 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23448 2013-05-14 David S. Miller <davem@davemloft.net>
23450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23452 2013-05-14 Joseph Myers <joseph@codesourcery.com>
23454 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23456 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23458 (struct test_f_i_data): Change type of max_ulp to int.
23460 * math/libm-test.inc (test_ffI_f1_data): New type.
23461 (RUN_TEST_LOOP_ffI_f1): New macro.
23462 (remquo_test_data): New variable.
23463 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23465 * setjmp/tst-setjmp-fp.c: New file.
23466 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23467 (link-libm): New variable.
23468 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23470 * math/libm-test.inc (struct test_f_i_data): New type.
23471 (RUN_TEST_LOOP_f_i): New macro.
23472 (RUN_TEST_LOOP_f_i_tg): Likewise.
23473 (fpclassify_test_data): New variable.
23474 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23475 (ilogb_test_data): New variable.
23476 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23478 * math/libm-test.inc (scalbln_test): Correct function name in END
23481 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23482 (RUN_TEST_LOOP_fI_f1): New macro.
23483 (frexp_test_data): New variable.
23484 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23486 * math/libm-test.inc (struct test_fF_f1_data): New type.
23487 (RUN_TEST_LOOP_fF_f1): New macro.
23488 (modf_test_data): New variable.
23489 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23491 * math/libm-test.inc (struct test_f_f1_data): New type.
23492 (RUN_TEST_LOOP_f_f1): New macro.
23493 (gamma_test_data): New variable.
23494 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23495 (lgamma_test_data): New variable.
23496 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23498 2013-05-13 Carlos O'Donell <carlos@redhat.com>
23500 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23501 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23502 (main): Comment "tls" pseudo-hwcap.
23504 2013-05-13 Joseph Myers <joseph@codesourcery.com>
23506 * math/libm-test.inc (struct test_fl_f_data): New type.
23507 (RUN_TEST_LOOP_fl_f): New variable.
23508 (scalbln_test_data): New variable.
23509 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23511 * math/libm-test.inc (struct test_fi_f_data): New type.
23512 (RUN_TEST_LOOP_fi_f): New macro.
23513 (ldexp_test_data): New variable.
23514 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23515 (scalbn_test_data): New variable.
23516 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23518 * math/libm-test.inc (struct test_c_f_data): New type.
23519 (RUN_TEST_LOOP_c_f): New macro.
23520 (cabs_test_data): New variable.
23521 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23522 (carg_test_data): New variable.
23523 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23524 (cimag_test_data): New variable.
23525 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23526 (creal_test_data): New variable.
23527 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23529 * math/libm-test.inc (struct test_if_f_data): New type.
23530 (RUN_TEST_LOOP_if_f): New macro.
23531 (jn_test_data): New variable.
23532 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23533 (yn_test_data): New variable.
23534 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23536 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23538 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23540 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23541 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23543 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23545 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23546 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23547 (bench-deps): Add bench-timing.h.
23548 * benchtests-bench-skeleton.c: Include bench-timing.h.
23549 (main): Use TIMING_* macros instead of clock_gettime.
23550 * benchtests/bench-timing.h: New file.
23553 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23554 Renamed from _LIB_VERSION.
23555 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23557 2013-05-12 Joseph Myers <joseph@codesourcery.com>
23559 * math/libm-test.inc (struct test_fff_f_data): New type.
23560 (RUN_TEST_LOOP_fff_f): New macro.
23561 (fma_test_data): New variable.
23562 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23563 (fma_towardzero_test_data): New variable.
23564 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23565 (fma_downward_test_data): New variable.
23566 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23567 (fma_upward_test_data): New variable.
23568 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23570 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23571 (struct test_c_c_data): New type.
23572 (RUN_TEST_LOOP_c_c): New macro.
23573 (cacos_test_data): New variable.
23574 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23575 (cacosh_test_data): New variable.
23576 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23577 (casin_test_data): New variable.
23578 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23579 (casinh_test_data): New variable.
23580 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23581 (catan_test_data): New variable.
23582 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23583 (catanh_test_data): New variable.
23584 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23585 (ccos_test_data): New variable.
23586 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23587 (ccosh_test_data): New variable.
23588 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23589 (cexp_test_data): New variable.
23590 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23591 (clog_test_data): New variable.
23592 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23593 (clog10_test_data): New variable.
23594 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23595 (conj_test_data): New variable.
23596 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23597 (cproj_test_data): New variable.
23598 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23599 (csin_test_data): New variable.
23600 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23601 (csinh_test_data): New variable.
23602 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23603 (csqrt_test_data): New variable.
23604 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23605 (ctan_test_data): New variable.
23606 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23607 (ctan_tonearest_test_data): New variable.
23608 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23609 (ctan_towardzero_test_data): New variable.
23610 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23611 (ctan_downward_test_data): New variable.
23612 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23613 (ctan_upward_test_data): New variable.
23614 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23615 (ctanh_test_data): New variable.
23616 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23617 (ctanh_tonearest_test_data): New variable.
23618 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23619 (ctanh_towardzero_test_data): New variable.
23620 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23621 (ctanh_downward_test_data): New variable.
23622 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23623 (ctanh_upward_test_data): New variable.
23624 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23625 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23628 * math/libm-test.inc (struct test_ff_f_data): New type.
23629 (struct test_ff_f_data_nexttoward): Likewise.
23630 (RUN_TEST_LOOP_2_f): New macro.
23631 (RUN_TEST_LOOP_ff_f): Likewise.
23632 (atan2_test_data): New variable.
23633 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23634 (copysign_test_data): New variable.
23635 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23636 (fdim_test_data): New variable.
23637 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23638 (fmax_test_data): New variable.
23639 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23640 (fmin_test_data): New variable.
23641 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23642 (fmod_test_data): New variable.
23643 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23644 (hypot_test_data): New variable.
23645 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23646 (nextafter_test_data): New variable.
23647 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23648 (nexttoward_test_data): New variable.
23649 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23650 (pow_test_data): New variable.
23651 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23652 (pow_tonearest_test_data): New variable.
23653 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23654 (pow_towardzero_test_data): New variable.
23655 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23656 (pow_downward_test_data): New variable.
23657 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23658 (pow_upward_test_data): New variable.
23659 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23660 (remainder_test_data): New variable.
23661 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23662 (scalb_test_data): New variable.
23663 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23664 * sysdeps/i386/fpu/libm-test-ulps: Update.
23666 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23668 * math/libm-test.inc (fma_test): Use max_value instead of local
23670 (nextafter_test): Likewise.
23672 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23673 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23674 (acos_downward_test_data): New variable.
23675 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23676 (acos_upward_test_data): New variable.
23677 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23678 (acosh_test_data): New variable.
23679 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23680 (asin_test_data): New variable.
23681 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23682 (asin_tonearest_test_data): New variable.
23683 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23684 (asin_towardzero_test_data): New variable.
23685 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23686 (asin_downward_test_data): New variable.
23687 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23688 (asin_upward_test_data): New variable.
23689 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23690 (asinh_test_data): New variable.
23691 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23692 (atan_test_data): New variable.
23693 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23694 (atanh_test_data): New variable.
23695 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23696 (cbrt_test_data): New variable.
23697 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23698 (ceil_test_data): New variable.
23699 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23700 (cos_test_data): New variable.
23701 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23702 (cos_tonearest_test_data): New variable.
23703 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23704 (cos_towardzero_test_data): New variable.
23705 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23706 (cos_downward_test_data): New variable.
23707 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23708 (cos_upward_test_data): New variable.
23709 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23710 (cosh_test_data): New variable.
23711 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23712 (cosh_tonearest_test_data): New variable.
23713 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23714 (cosh_towardzero_test_data): New variable.
23715 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23716 (cosh_downward_test_data): New variable.
23717 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23718 (cosh_upward_test_data): New variable.
23719 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23720 (erf_test_data): New variable.
23721 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23722 (erfc_test_data): New variable.
23723 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23724 (exp_test_data): New variable.
23725 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23726 (exp_tonearest_test_data): New variable.
23727 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23728 (exp_towardzero_test_data): New variable.
23729 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23730 (exp_downward_test_data): New variable.
23731 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23732 (exp_upward_test_data): New variable.
23733 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23734 (exp10_test_data): New variable.
23735 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23736 (exp2_test_data): New variable.
23737 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23738 (expm1_test_data): New variable.
23739 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23740 (fabs_test_data): New variable.
23741 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23742 (floor_test_data): New variable.
23743 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23744 (j0_test_data): New variable.
23745 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23746 (j1_test_data): New variable.
23747 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23748 (log_test_data): New variable.
23749 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23750 (log10_test_data): New variable.
23751 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23752 (log1p_test_data): New variable.
23753 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23754 (log2_test_data): New variable.
23755 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23756 (logb_test_data): New variable.
23757 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23758 (logb_downward_test_data): New variable.
23759 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23760 (nearbyint_test_data): New variable.
23761 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23762 (rint_test_data): New variable.
23763 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23764 (rint_tonearest_test_data): New variable.
23765 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23766 (rint_towardzero_test_data): New variable.
23767 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23768 (rint_downward_test_data): New variable.
23769 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23770 (rint_upward_test_data): New variable.
23771 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23772 (round_test_data): New variable.
23773 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23774 (sin_test_data): New variable.
23775 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23776 (sin_tonearest_test_data): New variable.
23777 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23778 (sin_towardzero_test_data): New variable.
23779 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23780 (sin_downward_test_data): New variable.
23781 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23782 (sin_upward_test_data): New variable.
23783 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23784 (sinh_test_data): New variable.
23785 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23786 (sinh_tonearest_test_data): New variable.
23787 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23788 (sinh_towardzero_test_data): New variable.
23789 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23790 (sinh_downward_test_data): New variable.
23791 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23792 (sinh_upward_test_data): New variable.
23793 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23794 (sqrt_test_data): New variable.
23795 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23796 (tan_test_data): New variable.
23797 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23798 (tan_tonearest_test_data): New variable.
23799 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23800 (tan_towardzero_test_data): New variable.
23801 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23802 (tan_downward_test_data): New variable.
23803 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23804 (tan_upward_test_data): New variable.
23805 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23806 (tanh_test_data): New variable.
23807 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23808 (tgamma_test_data): New variable.
23809 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23810 (trunc_test_data): New variable.
23811 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23812 (y0_test_data): New variable.
23813 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23814 (y1_test_data): New variable.
23815 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23816 (significand_test_data): New variable.
23817 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23819 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23822 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23824 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23826 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23828 2013-05-10 Andreas Jaeger <aj@suse.de>
23831 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23832 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23834 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23836 * math/gen-libm-test.pl (adjust_arg): New function.
23837 (special_functions): Handle generating output in both functions
23839 (parse_args): Likewise.
23840 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23841 $in_func argument to parse_args.
23842 * math/libm-test.inc (struct test_f_f_data): New type.
23843 (IF_ROUND_INIT_): New macro.
23844 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23845 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23846 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23847 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23848 (ROUND_RESTORE_): Likewise.
23849 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23850 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23851 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23852 (ROUND_RESTORE_FE_UPWARD): Likewise.
23853 (RUN_TEST_LOOP_f_f): New macro.
23854 (acos_test_data): New variable.
23855 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23856 (acos_tonearest_test_data): New variable.
23857 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23859 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23861 * benchtests/bench-skeleton.c (startup): Fix coding style.
23863 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23866 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23867 negative infinity argument.
23868 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23869 negative infinity argument.
23870 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23871 negative infinity argument.
23872 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23875 2013-05-10 Florian Weimer <fweimer@redhat.com>
23877 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23878 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23879 * iconv/iconv_prog.c (main): Likewise.
23880 * locale/programs/charmap-dir.c (charmap_readdir)
23881 (fopen_uncompressed): Likewise.
23882 * locale/programs/locfile.c (siblings_uncached)
23883 (write_locale_data): Use lstat64 instead of lstat.
23884 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23887 2013-05-10 Andreas Jaeger <aj@suse.de>
23890 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23892 Include <locale.h>.
23894 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23896 * elf/dl-close.c (_dl_close_worker): Add comments.
23898 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23903 (__ieee754_rem_pio2l): Update comments.
23906 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23908 (__ieee754_rem_pio2l): Update comments.
23910 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23911 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23913 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23916 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23917 (M_PI_34_LOG10El): Likewise.
23918 (M_PI2_LOG10El): Likewise.
23919 (M_PI4_LOG10El): Likewise.
23920 (M_PI_LOG10El): Likewise.
23922 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23926 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23928 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23929 (MINUS_ZERO_INIT): Likewise.
23930 (PLUS_INFTY_INIT): Likewise.
23931 (MINUS_INFTY_INIT): Likewise.
23932 (QNAN_VALUE_INIT): Likewise.
23933 (MAX_VALUE_INIT): Likewise.
23934 (MIN_VALUE_INIT): Likewise.
23935 (MIN_SUBNORM_VALUE_INIT): Likewise.
23936 (plus_zero): Initialize with PLUS_ZERO_INIT.
23937 (minus_zero): Initialize with MINUS_ZERO_INIT.
23938 (plus_infty): Initialize with PLUS_INFTY_INIT.
23939 (minus_infty): Initialize with MINUS_INFTY_INIT.
23940 (qnan_value): Initialize with QNAN_VALUE_INIT.
23941 (max_value): Initialize with MAX_VALUE_INIT.
23942 (min_value): Initialize with MIN_VALUE_INIT.
23943 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23945 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23946 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23947 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23948 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23950 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23951 (RUN_TEST_2_f): Likewise.
23952 (RUN_TEST_ff_f): Likewise.
23953 (RUN_TEST_fi_f): Likewise.
23954 (RUN_TEST_fl_f): Likewise.
23955 (RUN_TEST_fff_f): Likewise.
23956 (RUN_TEST_c_f): Likewise.
23957 (RUN_TEST_f_f1): Likewise.
23958 (RUN_TEST_fF_f1): Likewise.
23959 (RUN_TEST_fI_f1): Likewise.
23960 (RUN_TEST_ffI_f1): Likewise.
23961 (RUN_TEST_c_c): Likewise.
23962 (RUN_TEST_cc_c): Likewise.
23963 (RUN_TEST_f_i): Likewise.
23964 (RUN_TEST_f_i_tg): Likewise.
23965 (RUN_TEST_ff_i_tg): Likewise.
23966 (RUN_TEST_f_b): Likewise.
23967 (RUN_TEST_f_b_tg): Likewise.
23968 (RUN_TEST_f_l): Likewise.
23969 (RUN_TEST_f_L): Likewise.
23970 (RUN_TEST_sincos): Likewise.
23971 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23972 whether to show exceptions. Do not include ");\n" in return
23974 (special_functions): Output call to RUN_TEST_sincos instead of
23975 check_float calls. Update calls to new_test.
23976 (parse_args): Output call to single RUN_TEST_* macro instead of
23977 check_* calls and other assignments. Update calls to new_test.
23983 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23984 input to result for tgamma overflow.
23985 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23986 (gamma_coeff): New variable.
23987 (NCOEFF): New macro.
23988 (gamma_positive): New function.
23989 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23990 underflow here. Use gamma_positive instead of exp (lgamma) for
23992 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23993 (gamma_coeff): New variable.
23994 (NCOEFF): New macro.
23995 (gammaf_positive): New function.
23996 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23997 underflow here. Use gamma_positive instead of exp (lgamma) for
23999 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24000 (gamma_coeff): New variable.
24001 (NCOEFF): New macro.
24002 (gammal_positive): New function.
24003 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24004 underflow here. Use gamma_positive instead of exp (lgamma) for
24006 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24007 (gamma_coeff): New variable.
24008 (NCOEFF): New macro.
24009 (gammal_positive): New function.
24010 (__ieee754_gammal_r): Handle positive infinity, overflow and
24011 underflow here. Handle NaN the same as positive infinity. Remove
24012 check x < 0xffffffff for negative integers. Use gamma_positive
24013 instead of exp (lgamma) for other arguments.
24014 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24015 (gamma_coeff): New variable.
24016 (NCOEFF): New macro.
24017 (gammal_positive): New function.
24018 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24019 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24023 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24024 * sysdeps/generic/math_private.h (__gamma_productf): New
24026 (__gamma_product): Likewise.
24027 (__gamma_productl): Likewise.
24028 * math/Makefile (libm-calls): Add gamma_product.
24029 * math/libm-test.inc (tgamma_test): Add more tests.
24030 * sysdeps/i386/fpu/libm-test-ulps: Update.
24031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24033 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
24035 * benchtests/bench-skeleton.c (main): Preheat CPU.
24037 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24039 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24041 2013-05-07 Roland McGrath <roland@hack.frob.com>
24043 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24044 and _dl_skip_args_internal.
24046 2013-05-07 Carlos O'Donell <carlos@redhat.com>
24048 * manual/message.texi (Message Translation): Talk about users.
24049 Message to key mapping impacts design.
24051 2013-05-06 Roland McGrath <roland@hack.frob.com>
24053 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24055 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24057 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24058 * sysdeps/wordsize-64/glob64.c: ... here.
24060 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24061 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24064 * debug/getlogin_r_chk.c: Moved to ...
24065 * login/getlogin_r_chk.c: ... here.
24066 * debug/Makefile (routines): Move getlogin_r_chk to ...
24067 * login/Makefile (routines): ... here.
24068 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24069 * login/Versions (libc: GLIBC_2.4): ... here.
24071 * io/poll.c (__poll): Renamed from poll.
24072 Add libc_hidden_def.
24073 (poll): Define as weak alias.
24075 * debug/ptsname_r_chk.c: Moved to ...
24076 * login/ptsname_r_chk.c: ... here.
24077 * debug/Makefile (routines): Move ptsname_r_chk to ...
24078 * login/Makefile (routines): ... here.
24079 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24080 * login/Versions (libc: GLIBC_2.4): ... here.
24082 * posix/getlogin.c: Moved to ...
24083 * login/getlogin.c: ... here.
24084 * posix/getlogin_r.c: Moved to ...
24085 * login/getlogin_r.c: ... here.
24086 * posix/getlogin_r.c: Moved to ...
24087 * login/getlogin_r.c: ... here.
24088 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24089 * login/Makefile (routines): ... here.
24090 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24091 * login/Versions (libc: GLIBC_2.0): ... here.
24093 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24094 (setrlimit): Define as weak alias.
24096 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24097 Call __ names for open, ftruncate, and close.
24098 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24099 (truncate): Define as weak alias.
24101 2013-05-06 Joseph Myers <joseph@codesourcery.com>
24103 * math/gen-libm-test.pl (parse_args): Initialize x before each
24104 test of frexp, modf and remquo.
24106 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24107 test signgam value.
24109 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24113 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24117 2013-05-06 Roland McGrath <roland@hack.frob.com>
24119 * elf/dl-writev.h: New file.
24120 * elf/dl-misc.c: Include it.
24121 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24122 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24124 2013-05-04 Joseph Myers <joseph@codesourcery.com>
24126 * math/libm-test.inc (noXFails): Remove variable.
24127 (noXPasses): Likewise.
24128 (BUILD_COMPLEX_INT): Remove macro.
24129 (print_screen): Remove xfail argument.
24130 (print_screen_max_error): Likewise.
24131 (update_stats): Likewise.
24132 (print_max_error): Likewise. Update calls to other affected
24134 (print_complex_max_error): Likewise.
24135 (test_single_exception): Update calls to print_screen.
24136 (test_single_errno): Likewise.
24137 (check_float_internal): Remove xfail argument. Update calls to
24138 other affected functions.
24139 (check_float): Likewise.
24140 (check_complex): Likewise.
24141 (check_int): Likewise.
24142 (check_long): Likewise.
24143 (check_bool): Likewise.
24144 (check_longlong): Likewise.
24145 (main): Don't print noXFails and noXPasses.
24146 * math/gen-libm-test.pl (top level): Don't mention expected
24147 failure handling in comment.
24148 (new_test): Don't handle expected failures.
24149 (parse_args): Don't mention expected failure handling in comment.
24150 (generate_testfile): Don't handle expected failures.
24151 (parse_ulps): Likewise.
24152 (print_ulps_file): Likewise.
24153 (get_failure): Remove function.
24154 (output_test): Don't handle expected failures.
24155 * make/README.libm-test: Don't mention expected failure handling.
24157 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24158 (minus_zero): Likewise.
24159 (plus_infty): Likewise.
24160 (minus_infty): Likewise.
24161 (qnan_value): Likewise.
24162 (max_value): Likewise.
24163 (min_value): Likewise.
24164 (min_subnorm_value): Likewise.
24165 (initialize): Do not initialize those variables dynamically.
24167 2013-05-03 Roland McGrath <roland@hack.frob.com>
24169 * io/open.c (__open_2): Moved to ...
24170 * io/open_2.c: ... this new file.
24171 * io/open64.c (__open64_2): Moved to ...
24172 * io/open64_2.c: ... this new file.
24173 * io/openat.c (__openat_2): Moved to ...
24174 * io/openat_2.c: ... this new file.
24175 * io/openat64.c (__openat64_2): Moved to ...
24176 * io/openat64_2.c: ... this new file.
24177 * io/Makefile (routines): Add them.
24178 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24179 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24180 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24181 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24182 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24183 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24184 (__openat64): Add hidden_ver.
24185 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24186 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24188 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24189 Separately conditionalize setting of GLRO(dl_sysinfo) so
24190 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24191 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24193 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24195 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24198 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24199 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24200 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24201 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24202 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24204 2013-05-03 Joseph Myers <joseph@codesourcery.com>
24206 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24207 test signgam value.
24209 * math/libm-test.inc (hypot_test): Do not use
24210 IGNORE_ZERO_INF_SIGN.
24212 2013-05-03 Andreas Jaeger <aj@suse.de>
24214 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24216 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24217 (PF_MAX): Adjust for VSOCK change.
24219 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24223 2013-05-02 Carlos O'Donell <carlos@redhat.com>
24226 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24227 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24228 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24230 2013-05-02 David S. Miller <davem@davemloft.net>
24232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24234 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
24236 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24238 2013-05-01 Roland McGrath <roland@hack.frob.com>
24240 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24242 2013-05-01 Richard Smith <richard@metafoo.co.uk>
24245 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24246 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24247 Use __attribute__ ((__gnu_inline__)).
24248 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24249 Don't use __attribute__ ((__gnu_inline__)).
24251 2013-05-01 Joseph Myers <joseph@codesourcery.com>
24254 * math/s_catan.c (__catan): Handle small real or imaginary part of
24255 input specially to avoid spurious underflow.
24256 * math/s_catanf.c (__catanf): Likewise.
24257 * math/s_catanh.c (__catanh): Likewise.
24258 * math/s_catanhf.c (__catanhf): Likewise.
24259 * math/s_catanhl.c (__catanhl): Likewise.
24260 * math/s_catanl.c (__catanl): Likewise.
24261 * math/libm-test.inc (catan_test): Add more tests.
24262 (catanh_test): Likewise.
24263 * sysdeps/i386/fpu/libm-test-ulps: Update.
24264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24266 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24270 2013-04-30 Joseph Myers <joseph@codesourcery.com>
24273 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24274 accurately for denominator in atan2.
24275 * math/s_catanf.c (__catanf): Likewise.
24276 * math/s_catanh.c (__catanh): Likewise.
24277 * math/s_catanhf.c (__catanhf): Likewise.
24278 * math/s_catanhl.c (__catanhl): Likewise.
24279 * math/s_catanl.c (__catanl): Likewise.
24280 * math/libm-test.inc (catan_test): Add more tests.
24281 (catanh_test): Likewise.
24282 * sysdeps/i386/fpu/libm-test-ulps: Update.
24283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24285 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24287 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24289 * benchtests/Makefile (bench): Remove slow benchmarks.
24290 * benchtests/atan-inputs: Add slow benchmark inputs.
24291 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24292 (BENCH_FUNC): Accept variant offset.
24294 * benchtests/bench-skeleton.c (main): Run benchmark for each
24296 * benchtests/cos-inputs: Add slow benchmark inputs.
24297 * benchtests/exp-inputs: Likewise.
24298 * benchtests/pow-inputs: Likewise.
24299 * benchtests/sin-inputs: Likewise.
24300 * benchtests/slowatan-inputs: Remove.
24301 * benchtests/slowatan.c: Remove.
24302 * benchtests/slowcos-inputs: Remove.
24303 * benchtests/slowcos.c: Remove.
24304 * benchtests/slowexp-inputs: Remove.
24305 * benchtests/slowexp.c: Remove.
24306 * benchtests/slowpow-inputs: Remove.
24307 * benchtests/slowpow.c: Remove.
24308 * benchtests/slowsin-inputs: Remove.
24309 * benchtests/slowsin.c: Remove.
24310 * benchtests/slowtan-inputs: Remove.
24311 * benchtests/slowtan.c: Remove.
24312 * benchtests/tan-inputs: Add slow benchmark inputs.
24313 * scripts/bench.pl: Parse comments and directives.
24315 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24317 ($(objpfx)bench-%.c): Remove *-ITER.
24318 * benchtests/bench-modf.c: Remove definition of ITER.
24319 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24320 (main): Loop for DURATION seconds instead of fixed number of
24322 * scripts/bench.pl: Don't expect iterations in parameters.
24324 2013-04-29 Roland McGrath <roland@hack.frob.com>
24326 * io/fchdir.c (__fchdir): Renamed from fchdir.
24327 (fchdir): Define as weak alias.
24329 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24331 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24332 (ERRNO_EDOM): Likewise.
24333 (ERRNO_ERANGE): Likewise.
24334 (noErrnoTests): New variable.
24335 (init_max_error): Set errno to 0.
24336 (test_single_errno): New function.
24337 (test_errno): Likewise.
24338 (check_float_internal): Call test_errno. Set errno to 0.
24339 (check_complex): Refer to errno tests in comment.
24340 (check_int): Call test_errno. Set errno to 0.
24341 (check_long): Likewise.
24342 (check_bool): Likewise.
24343 (check_longlong): Likewise.
24344 (cos_test): Use ERRNO_* flags for errno tests instead of
24346 (expm1_test): Likewise.
24347 (fmod_test): Likewise.
24348 (ilogb_test): Likewise.
24349 (lgamma_test): Likewise.
24350 (pow_test): Likewise.
24351 (remainder_test): Likewise.
24352 (sin_test): Likewise.
24353 (tan_test): Likewise.
24354 (yn_test): Likewise.
24355 (initialize): Set errno to 0.
24356 (main): Print number of errno tests.
24357 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24359 2013-04-29 Andreas Jaeger <aj@suse.de>
24362 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24366 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24367 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24371 * stdlib/random.c (__initstate): Return NULL if
24375 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24376 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24379 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24383 2013-04-29 Joseph Myers <joseph@codesourcery.com>
24385 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24386 of individual tests.
24387 (casin_test): Likewise.
24388 (casinh_test): Likewise.
24390 2013-04-27 Joseph Myers <joseph@codesourcery.com>
24393 * math/s_catan.c (__catan): Handle arguments with large real or
24394 imaginary part separately without squaring.
24395 * math/s_catanf.c (__catanf): Likewise.
24396 * math/s_catanh.c (__catanh): Likewise.
24397 * math/s_catanhf.c (__catanhf): Likewise.
24398 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24400 (__catanhl): Handle arguments with large real or imaginary part
24401 separately without squaring.
24402 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24404 (__catanl): Handle arguments with large real or imaginary part
24405 separately without squaring.
24406 * math/libm-test.inc (catan_test): Add more tests.
24407 (catanh_test): Likewise.
24408 * sysdeps/i386/fpu/libm-test-ulps: Update.
24409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24411 2013-04-27 Andreas Jaeger <aj@suse.de>
24414 * stdlib/stdlib.h: Update guards for qecvt.
24415 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24418 2013-04-27 Allan McRae <allan@archlinux.org>
24420 * sysdeps/i386/fpu/libm-test-ulps: Update.
24422 2013-04-26 Joseph Myers <joseph@codesourcery.com>
24425 * math/s_catan.c: Include <float.h>.
24426 (__catan): Ensure underflow exception occurs for underflowed
24428 * math/s_catanf.c: Include <float.h>.
24429 (__catanf): Ensure underflow exception occurs for underflowed
24431 * math/s_catanh.c: Include <float.h>.
24432 (__catanh): Ensure underflow exception occurs for underflowed
24434 * math/s_catanhf.c: Include <float.h>.
24435 (__catanhf): Ensure underflow exception occurs for underflowed
24437 * math/s_catanhl.c: Include <float.h>.
24438 (__catanhl): Ensure underflow exception occurs for underflowed
24440 * math/s_catanl.c: Include <float.h>.
24441 (__catanl): Ensure underflow exception occurs for underflowed
24443 * math/libm-test.inc (catan_test): Add more tests.
24444 (catanh_test): Likewise.
24447 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24448 underflowed result.
24449 * math/s_ccoshf.c (__ccoshf): Likewise.
24450 * math/s_ccoshl.c (__ccoshl): Likewise.
24451 * math/s_csin.c (__csin): Likewise.
24452 * math/s_csinf.c (__csinf): Likewise.
24453 * math/s_csinh.c (__csinh): Likewise.
24454 * math/s_csinhf.c (__csinhf): Likewise.
24455 * math/s_csinhl.c (__csinhl): Likewise.
24456 * math/s_csinl.c (__csinl): Likewise.
24457 * math/libm-test.inc (ccos_test): Add more tests.
24458 (ccosh_test): Likewise.
24459 (csin_test): Likewise.
24460 (csinh_test): Likewise.
24462 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24464 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24465 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24466 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24467 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24468 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24469 powerpc/power5+/fpu folders.
24470 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24473 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24477 2013-04-25 Joseph Myers <joseph@codesourcery.com>
24479 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24480 additions to variable.
24481 [$(config-machine) = x86_64] (modules-names): Likewise.
24482 ($(objpfx)tst-audit3): Remove dependency.
24483 ($(objpfx)tst-audit3.out): Likewise.
24484 ($(objpfx)tst-audit4): Likewise.
24485 ($(objpfx)tst-audit4.out): Likewise.
24486 ($(objpfx)tst-audit5): Likewise.
24487 ($(objpfx)tst-audit5.out): Likewise.
24488 ($(objpfx)tst-audit6): Likewise.
24489 ($(objpfx)tst-audit6.out): Likewise.
24490 ($(objpfx)tst-audit7): Likewise.
24491 ($(objpfx)tst-audit7.out): Likewise.
24492 (tst-audit3-ENV): Remove variable.
24493 (tst-audit4-ENV): Likewise.
24494 (tst-audit5-ENV): Likewise.
24495 (tst-audit6-ENV): Likewise.
24496 (tst-audit7-ENV): Likewise.
24497 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24498 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24499 addition to variable.
24500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24503 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24504 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24505 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24506 tst-audit3, tst-audit4 and tst-audit5.
24507 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24508 tst-audit6 and tst-audit7.
24509 [$(subdir) = elf] (modules-names): Add audit modules for those
24511 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24512 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24513 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24514 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24515 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24516 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24517 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24518 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24519 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24520 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24521 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24522 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24523 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24524 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24525 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24526 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24528 [$(subdir) = elf && $(config-cflags-avx) = yes]
24529 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24530 [$(subdir) = elf && $(config-cflags-avx) = yes]
24531 (CFLAGS-tst-auditmod4a.c): Likewise.
24532 [$(subdir) = elf && $(config-cflags-avx) = yes]
24533 (CFLAGS-tst-auditmod4b.c): Likewise.
24534 [$(subdir) = elf && $(config-cflags-avx) = yes]
24535 (CFLAGS-tst-auditmod6b.c): Likewise.
24536 [$(subdir) = elf && $(config-cflags-avx) = yes]
24537 (CFLAGS-tst-auditmod6c.c): Likewise.
24538 [$(subdir) = elf && $(config-cflags-avx) = yes]
24539 (CFLAGS-tst-auditmod7b.c): Likewise.
24540 * elf/tst-audit3.c: Move to ...
24541 * sysdeps/x86_64/tst-audit3.c: ... here.
24542 * elf/tst-audit4.c: Move to ...
24543 * sysdeps/x86_64/tst-audit4.c: ... here.
24544 * elf/tst-audit5.c: Move to ...
24545 * sysdeps/x86_64/tst-audit5.c: ... here.
24546 * elf/tst-audit6.c: Move to ...
24547 * sysdeps/x86_64/tst-audit6.c: ... here.
24548 * elf/tst-audit7.c: Move to ...
24549 * sysdeps/x86_64/tst-audit7.c: ... here.
24550 * elf/tst-auditmod3a.c: Move to ...
24551 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24552 * elf/tst-auditmod3b.c: Move to ...
24553 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24554 * elf/tst-auditmod4a.c: Move to ...
24555 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24556 * elf/tst-auditmod4b.c: Move to ...
24557 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24558 * elf/tst-auditmod5a.c: Move to ...
24559 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24560 * elf/tst-auditmod5b.c: Move to ...
24561 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24562 * elf/tst-auditmod6a.c: Move to ...
24563 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24564 * elf/tst-auditmod6b.c: Move to ...
24565 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24566 * elf/tst-auditmod6c.c: Move to ...
24567 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24568 * elf/tst-auditmod7a.c: Move to ...
24569 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24570 * elf/tst-auditmod7b.c: Move to ...
24571 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24573 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24576 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24577 define unconditionally.
24578 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24579 define unconditionally.
24580 (INT8_C, INT16_C, etc.): Likewise.
24582 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24584 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24585 __ehdr_start with hidden visibility.
24587 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24589 2013-04-24 Carlos O'Donell <carlos@redhat.com>
24591 * math/libm-test.inc (cos_test): Use accurate hex constants.
24592 (sincost_test): Likewise.
24594 2013-04-24 Joseph Myers <joseph@codesourcery.com>
24596 * math/libm-test.inc (catan_test): Add more tests.
24597 (catanh_test): Likewise.
24599 * math/s_catanf.c (__catanf): Use suffixed floating-point
24601 * math/s_catanhf.c (__catanhf): Likewise.
24602 * math/s_catanhl.c (__catanhl): Likewise.
24603 * math/s_catanl.c (__catanl): Likewise.
24606 * math/s_catan.c (__catan): Calculate imaginary part of result
24607 with log1p not log unless computing log of number close to 0.
24608 * math/s_catanf.c (__catanf): Likewise.
24609 * math/s_catanl.c (__catanl): Likewise.
24610 * math/s_catanh.c (__catanh): Calculate real part of result with
24611 log1p not log unless computing log of number close to 0.
24612 * math/s_catanhf.c (__catanhf): Likewise.
24613 * math/s_catanhl.c (__catanhl): Likewise.
24614 * math/libm-test.inc (catan_test): Add more tests.
24615 (catanh_test): Likewise.
24616 * sysdeps/i386/fpu/libm-test-ulps: Update.
24617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24619 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24621 * benchtests/Makefile: Mention files in which fast and slow
24622 paths of math functions are implemented.
24624 2013-04-23 Roland McGrath <roland@hack.frob.com>
24626 * sysdeps/posix/timespec_get.c: New file.
24628 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24630 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24632 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24634 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24635 powerpc/power5/fpu folders.
24636 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24637 * benchtests/Makefile: Add modf testcase.
24638 * benchtests/bench-modf.c: New file: Benchmark test for mo
24640 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24643 * time/Makefile (tests): Add tst-strptime-whitespace.
24644 * time/strptime_l.c (get_number): Use ISSPACE.
24645 (__strptime_internal): Likewise.
24646 * time/tst-strptime-whitespace.c: New test case.
24648 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24650 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24652 (_nss_files_init): Set it here.
24654 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24656 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24657 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24660 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24662 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24664 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24666 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24669 2013-04-21 David S. Miller <davem@davemloft.net>
24671 * po/ru.po: Update Russion translation from translation project.
24673 2013-04-17 Adam Conrad <adconrad@0c3.net>
24675 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24678 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24680 * configure.in: Remove i386 configure warning. Remove i386 case.
24681 * configure: Regenerate.
24682 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24683 Add example to error message.
24684 * sysdeps/i386/configure: Regenerate.
24686 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24688 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24690 * benchtests/cos-inputs: New file.
24691 * benchtests/slowcos-inputs: New file.
24692 * benchtests/slowcos.c: New file.
24693 * benchtests/slowtan-inputs: New file.
24694 * benchtests/slowtan.c: New file.
24695 * benchtests/tan-inputs: New file.
24697 2013-04-16 Roland McGrath <roland@hack.frob.com>
24699 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24702 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24704 * benchtests/Makefile: Include cppflags-iterator.mk to add
24705 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24707 * Makefile.in (bench-clean): New target.
24708 * benchtests/Makefile (bench-clean): Likewise.
24710 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24712 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24714 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24716 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24718 2013-04-15 Andreas Schwab <schwab@suse.de>
24720 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24722 * nscd/pwdcache.c (cache_addpw): Likewise.
24723 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24726 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24728 * benchtests/Makefile (bench): Write all output to
24729 bench-out.tmp together.
24731 2013-04-15 Andreas Schwab <schwab@suse.de>
24733 * nscd/nscd.c (main): Don't fork again after closing files.
24735 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24737 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24739 * benchtests/Rules (bench-deps): Collect dependencies into a
24740 single variable. Add Makefile to dependencies.
24741 ($(objpfx)bench-%.c): Depend on bench-deps.
24743 2013-04-12 Roland McGrath <roland@hack.frob.com>
24744 Xavier Roche <roche+kml2@exalead.com>
24747 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24748 just that it's a file descriptor.
24749 * manual/llio.texi (Synchronizing AIO Operations): Update description
24750 for EBADF error from aio_fsync.
24752 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24754 * Rules (bench): Move target definition...
24755 * benchtests/Makefile: ... here.
24757 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24759 * math/libm-test.inc (cos_test): Fix PI/2 test.
24760 (sincos_test): Likewise.
24761 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24762 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24764 2013-04-11 Andreas Schwab <schwab@suse.de>
24767 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24768 accept exponent character only when digits were seen.
24769 * stdio-common/Makefile (tests): Add bug26.
24770 * stdio-common/bug26.c: New file.
24773 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24776 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24778 * Makeconfig (rtld-prefix): Define built linker prefix.
24779 * Rules (run-bench): Use it.
24780 * math/Makefile (run-regen-ulps): Likewise.
24782 * Rules (bench): Remove eval.
24784 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24785 Roland McGrath <roland@hack.frob.com>
24786 Ondrej Bilka <neleai@seznam.cz>
24789 * time/getdate.c: Include ctype.h and alloca.h.
24790 (__getdate_r): Trim leading and trailing spaces of input.
24791 * time/tst-getdate.c (tests): Add tests with leading and
24794 2013-04-08 Roland McGrath <roland@hack.frob.com>
24797 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24798 when computing value.
24800 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24802 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24803 Use testrun.sh to run libm tests.
24806 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24808 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24811 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24813 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24815 * Makefile.in (regen-ulps): New target.
24816 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24817 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24818 [ifneq (no,$(PERL)] (regen-ulps): New target.
24819 [ifeq (no,$(PERL)] (regen-ulps): New target.
24820 * math/libm-test.inc (ulps_file_name): Define.
24821 (output_dir): New variable.
24822 (options): Add "output-dir" option.
24823 (parse_opt): Handle 'o' case.
24824 (main): If output_dir is non-NULL use it as a prefix
24826 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24828 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24830 [BZ #10060, #10062]
24831 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24832 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24833 fail configure if __sync_val_compare_and_swap is not inlined.
24834 * sysdeps/i386/configure: Regenerate.
24835 * configure.in: Build for i686 when configured for i386.
24836 * configure: Regenerate.
24837 * README: Remove i386 reference.
24839 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24841 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24844 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24846 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24847 (lmsnanval): New variables.
24848 (F): Add conversion tests.
24849 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24850 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24852 * stdio-common/tstdiomisc.c (F): Properly collect individual
24855 [BZ #14686, #15336]
24856 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24857 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24858 Instead, use input NaN values or generate a qNaN by arithmetic
24859 operation. Also fix bugs to comply with the standard.
24860 * math/libm-test.inc (remainder_test): Add more tests.
24862 [BZ #15335, #15342]
24863 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24865 input NaN values or generate a qNaN by arithmetic operation.
24867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24870 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24873 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24876 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24877 underflowed result.
24878 * math/s_cexpf.c (__cexpf): Likewise.
24879 * math/s_cexpl.c (__cexpl): Likewise.
24880 * math/libm-test.inc (cexp_test): Add more tests.
24882 2013-04-03 Andreas Schwab <schwab@suse.de>
24885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24886 order arrays from heap if bigger than alloca cutoff.
24888 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24890 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24891 (SNAN_TESTS_double): Refer to GCC PR56831.
24892 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24895 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24897 * Rules (bench): Move bench.out after the run is complete.
24899 * Rules (bench): Echo currently running benchmark.
24901 * benchtests/Makefile (bench): Add atan and slowatan.
24902 * benchtests/atan-inputs: New file.
24903 * benchtests/slowatan-inputs: New file.
24904 * benchtests/slowatan.c: New file.
24906 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24911 * sysdeps/unix/sysv/linux/kernel-features.h
24912 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24913 __ASSUME_XFS_RESTRICTED_CHOWN.
24914 * sysdeps/unix/sysv/linux/pathconf.c
24915 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24916 Save and restore errno.
24918 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24921 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24922 arguments using __kernel_casinh.
24923 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24924 arguments using __kernel_casinhf.
24925 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24926 arguments using __kernel_casinhl.
24927 * math/libm-test.inc (cacosh_test): Add more tests.
24928 * sysdeps/i386/fpu/libm-test-ulps: Update.
24929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24931 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24933 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24936 * bench/Makefile (bench): Add sin and slowsin.
24937 * benchtests/sin-inputs: New file.
24938 * benchtests/slowsin-inputs: New file.
24939 * benchtests/slowsin.c: New file.
24941 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24942 (bench): Add slowexp and slowpow.
24943 (exp-ITER): Increase iterations.
24944 (pow-ITER): Likewise.
24945 * benchtests/exp-inputs: Change input.
24946 * benchtests/pow-inputs: Likewise.
24947 * benchtests/slowexp-inputs: New file.
24948 * benchtests/slowexp.c: New file.
24949 * benchtests/slowpow-inputs: New file.
24950 * benchtests/slowpow.c: New file.
24952 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24954 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24956 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24957 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24958 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24959 * benchtests/Makefile: Add rint benchtest.
24960 * benchtests/rint-inputs: Input for rint benchtest.
24962 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24964 * Versions.def (libm): Add GLIBC_2.18.
24965 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24966 hidden libm prototypes.
24967 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24968 * math/Makefile (libm-calls): Add s_issignaling.
24969 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24970 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24971 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24973 * math/math.h [__USE_GNU] (issignaling): New macro.
24974 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24975 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24976 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24977 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24978 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24979 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24980 * manual/arith.texi (issignaling): New section.
24981 * manual/libm-err-tab.pl (@all_functions): Update comment.
24982 * math/gen-libm-test.pl (parse_args): Apply special handling for
24984 * math/libm-test.inc (print_float, issignaling_test): New
24986 (check_float_internal): Add issignaling checks.
24987 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24988 default definition.
24989 * sysdeps/powerpc/math-tests.h: New file.
24990 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24992 * math/test-snan.c (TEST_FUNC): Likewise.
24994 2013-03-30 David S. Miller <davem@davemloft.net>
24996 * po/de.po: Update from translation team.
24998 2013-03-30 Joseph Myers <joseph@codesourcery.com>
25001 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25002 imaginary part less than 1.0 and real part less than 0.5
25004 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25005 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25006 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25007 (cacos_test): Add more tests.
25008 (casin_test): Likewise.
25009 (casinh_test): Likewise.
25010 * sysdeps/i386/fpu/libm-test-ulps: Update.
25011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25013 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25015 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25016 ONE with its value.
25018 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25019 (__pow_mp): Replace ONE and MONE with their values.
25020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25021 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25022 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25023 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25024 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25025 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25027 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25029 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25030 (__pow_mp): Replace ZERO and MZERO with their values.
25031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25033 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25035 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25036 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25039 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25041 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25043 2013-03-28 Roland McGrath <roland@hack.frob.com>
25045 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25046 Declare with __attribute__ ((weak)).
25047 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25048 Call __call_tls_dtors only if it's not NULL.
25050 2013-03-28 Roland McGrath <roland@hack.frob.com>
25052 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25053 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25054 magic __ehdr_start linker symbol if it's defined.
25055 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25056 them up here if it was already done.
25058 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25059 (_dl_aux_init): Use const in cast when setting it.
25060 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25061 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25062 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25064 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25066 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25067 * csu/libc-tls.c: Nor here.
25068 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25070 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25071 (__libc_message): Never call vsyslog.
25073 2013-03-28 Alan Modra <amodra@gmail.com>
25075 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25077 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25080 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25087 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25090 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25091 Don't add gid passed as argument.
25093 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25095 2013-03-27 Joseph Myers <joseph@codesourcery.com>
25098 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25099 imaginary part between 1.0 and 1.5 and real part less than 0.5
25101 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25102 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25103 * math/libm-test.inc (cacos_test): Add more tests.
25104 (casin_test): Likewise.
25105 (casinh_test): Likewise.
25106 * sysdeps/i386/fpu/libm-test-ulps: Update.
25107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25109 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25111 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25114 (denorm): Likewise.
25115 (__dbl_mp): Likewise.
25116 (add_magnitudes): Likewise.
25117 (sub_magnitudes): Likewise.
25125 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25127 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25128 (__dubcos): Likewise.
25129 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25130 (__ieee754_acos): Likewise.
25131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25132 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25133 (__exp1): Likewise.
25134 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25137 (my_log2): Likewise.
25138 (checkint): Likewise.
25139 * sysdeps/ieee754/dbl-64/e_remainder.c
25140 (__ieee754_remainder): Likewise.
25141 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25143 (bsloww): Likewise.
25144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25146 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25147 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25148 MANTISSA_STORE_T to store computations on mantissa. Use
25149 macros for rounding and division.
25150 (denorm): Likewise.
25151 (__dbl_mp): Likewise.
25152 (add_magnitudes): Likewise.
25153 (sub_magnitudes): Likewise.
25156 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25157 powers of two in terms of TWOPOW macro.
25158 (mp_no): Make type of mantissa as MANTISSA_T.
25159 [!RADIXI]: Define RADIXI.
25160 [!TWO52]: Define TWO52.
25161 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25163 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25165 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25166 llroundl symbol when building for PPC32.
25168 2013-03-24 Mark H Weaver <mhw@netris.org>
25170 * manual/arith.texi (Normalization Functions): Fix prototypes for
25171 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25173 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25177 high value to check if expl overflow.
25178 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25179 to check for underflow and overflow.
25180 * math/libm-test.inc: Add exp test.
25182 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25185 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25188 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25190 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25193 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25195 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25196 wrap blocks consisting of several statements.
25198 * sysdeps/generic/math-tests.h: New file.
25199 * sysdeps/i386/fpu/math-tests.h: Likewise.
25200 * math/test-snan.c: Include it.
25201 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25203 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25206 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25207 (__ieee754_j0l): Do not improve calculations using cos of twice
25208 input for inputs above LDBL_MAX / 2.0L.
25209 (__ieee754_y0l): Likewise.
25210 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25211 (__ieee754_j1l): Do not improve calculations using cos of twice
25212 input for inputs above LDBL_MAX / 2.0L.
25213 (__ieee754_y1l): Likewise.
25214 * math/libm-test.inc (j0_test): Add another test.
25215 (j1_test): Likewise.
25216 (y0_test): Likewise.
25217 (y1_test): Likewise.
25218 * sysdeps/i386/fpu/libm-test-ulps: Update.
25220 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25222 * Rules ($(objpfx)bench-%.c): Include code from a C source
25225 2013-03-21 Joseph Myers <joseph@codesourcery.com>
25228 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25229 imaginary part 1.0 and real part less than 0.5 specially.
25230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25232 * math/libm-test.inc (cacos_test): Add more tests.
25233 (casin_test): Likewise.
25234 (casinh_test): Likewise.
25235 * sysdeps/i386/fpu/libm-test-ulps: Update.
25236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25238 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25240 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25241 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25243 2013-03-20 Joseph Myers <joseph@codesourcery.com>
25245 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25246 * config.make.in (config-cflags-sse4): Remove variable.
25247 (config-cflags-avx): Likewise.
25248 (config-cflags-sse2avx): Likewise.
25249 (config-cflags-novzeroupper): Likewise.
25250 (config-asflags-i686): Likewise.
25251 (have-mfma4): Likewise.
25252 (have-as-vis3): Likewise.
25254 * configure.in (MIG): Do not AC_SUBST.
25255 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25256 (libc_cv_cc_sse4): Do not AC_SUBST.
25257 (libc_cv_cc_avx): Likewise.
25258 (libc_cv_cc_sse2avx): Likewise.
25259 (libc_cv_cc_novzeroupper): Likewise.
25260 (libc_cv_cc_fma4): Likewise.
25261 (libc_cv_as_i686): Likewise.
25262 (libc_cv_sparc_as_vis3): Likewise.
25263 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25265 (config-asflags-i686): Likewise.
25266 (config-cflags-avx): Likewise.
25267 (config-cflags-sse2avx): Likewise.
25268 (have-mfma4): Likewise.
25269 (config-cflags-novzeroupper): Likewise.
25270 * sysdeps/mach/configure.in (MIG): Likewise.
25271 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25272 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25274 (config-cflags-avx): Likewise.
25275 (config-cflags-sse2avx): Likewise.
25276 (have-mfma4): Likewise.
25277 (config-cflags-novzeroupper): Likewise.
25278 * configure: Regenerated.
25279 * sysdeps/i386/configure: Likewise.
25280 * sysdeps/mach/configure: Likewise.
25281 * sysdeps/sparc/configure: Likewise.
25282 * sysdeps/x86_64/configure: Likewise.
25284 2013-03-20 Roland McGrath <roland@hack.frob.com>
25287 * locale/programs/localedef.c (options): Put N_ translation marker
25288 on argument names, not just descriptions.
25290 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25292 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25294 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
25297 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25299 2013-03-19 Roland McGrath <roland@hack.frob.com>
25301 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25302 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25303 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25304 [!BEFORE_ABORT] (before_abort): New function.
25305 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25306 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25307 (writev_for_fatal): New function.
25308 (WRITEV_FOR_FATAL): New macro; call that.
25309 (backtrace_and_maps): New function.
25310 (BEFORE_ABORT): New macro; call that.
25311 (struct str_list): Type removed.
25312 (__libc_message, __libc_fatal): Functions removed.
25313 Include <sysdeps/posix/libc_fatal.c> instead.
25315 2013-03-19 Joseph Myers <joseph@codesourcery.com>
25317 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25319 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25322 2013-03-19 Andreas Schwab <schwab@suse.de>
25324 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25325 * sysdeps/gnu/configure: Regenerate.
25327 * configure.in: Substitute libc_cv_rtlddir.
25328 * configure: Regenerate.
25329 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25330 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25331 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25332 * elf/Makefile (install-others, CFLAGS-interp.c)
25333 (ldso_install, common-ldd-rewrite): Likewise.
25334 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25335 $(inst_slibdir)/$(rtld-installed-name).
25336 * scripts/rellns-sh: Add -p option.
25337 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25340 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25342 * manual/nptl.texi: Renamed to ...
25343 * manual/threads.texi: ... this.
25344 * manual/Makefile (chapters): Update.
25346 2013-03-18 Roland McGrath <roland@hack.frob.com>
25349 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25350 on argument names, not just descriptions.
25351 * malloc/memusagestat.c (options): Likewise.
25352 * nss/getent.c (options): Likewise.
25354 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
25357 * iconv/iconv_prog.c (options): Put N_ translation marker
25358 on argument names, not just descriptions.
25359 * iconv/iconvconfig.c (options): Likewise.
25361 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
25363 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25364 implementation which is faster on all x86_64 architectures.
25365 Tested on AMD, Intel Nehalem, SNB, IVB.
25366 * sysdeps/x86_64/strnlen.S: Likewise.
25368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25369 Remove all multiarch strlen and strnlen versions.
25370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25371 Remove strlen and strnlen related parts.
25373 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25374 Inline strlen part.
25375 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25377 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25378 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25379 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25380 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25381 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25382 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25384 2013-03-17 Carlos O'Donell <carlos@redhat.com>
25386 * manual/memory.texi (Malloc Tunable Parameters):
25387 Sort parameters alphabetically. Add comments for missing entries.
25389 2013-03-17 David S. Miller <davem@davemloft.net>
25391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25393 2013-03-16 Joseph Myers <joseph@codesourcery.com>
25396 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25397 for arguments at most half maximum finite value.
25398 * math/libm-test.inc (j0_test): Add more tests.
25399 (j1_test): Likewise.
25400 (y0_test): Likewise.
25401 (y1_test): Likewise.
25402 * sysdeps/i386/fpu/libm-test-ulps: Update.
25403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25406 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25407 1 / x and functions P and Q for arguments above 0x1p256L.
25408 (__ieee754_y0l): Likewise.
25409 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25410 (__ieee754_y1l): Likewise.
25411 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25412 (j1_test): Likewise.
25413 (y0_test): Likewise.
25414 (y1_test): Likewise.
25416 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25418 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25421 2013-03-15 Roland McGrath <roland@hack.frob.com>
25423 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25424 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25425 zero since it's initialized to EXEC_PAGESIZE.
25427 * sysdeps/unix/sysv/linux/ldsodefs.h
25428 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25429 * sysdeps/generic/ldsodefs.h: ... here.
25431 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25433 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25435 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25437 * math/test-snan.c: Renamed from
25438 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25439 * math/Makefile (tests): Add test-snan.
25440 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25443 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25444 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25446 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25447 __builtin_nan family of functions.
25448 * math/libm-test.inc (initialize): Initialize qnan_value with
25449 __builtin_nan family of functions.
25450 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25452 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25454 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25455 storage class. Initialize qNaN_var and sNaN_var with
25456 __builtin_nan and __builtin_nans families of functions,
25459 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25460 (sqrt_test): Remove duplicate test with qNaN input.
25461 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25462 (round_test, signbit_test, significand_test): Note missing +/-Inf
25463 as well as qNaN tests.
25465 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25466 qNaN_var. Fix a few strings, too.
25467 * math/libm-test.inc (nan_value): Rename to qnan_value.
25468 * math/gen-libm-test.pl (%beautify): Adjust to that.
25469 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25470 * math/test-misc.c (main): Likewise.
25471 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25472 to __qnan_bytes, and __qnan_union, respectively.
25473 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25475 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25476 and lqnanval, respectively.
25477 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25478 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25479 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25480 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25482 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25483 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25486 * math/test-misc.c (main): Fix copy'n'pastos.
25487 * misc/tst-efgcvt.c (special): Likewise.
25489 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25490 Remove declarations.
25492 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25494 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25495 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25496 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25497 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25499 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25501 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25502 macro to return vdso values correctly in IFUNC implementations.
25503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25504 Optimization by using IFUNC.
25506 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25507 Richard Henderson <rth@redhat.com>
25508 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25510 * Makefile.in (bench): New target.
25511 * NEWS: Mention the benchmark framework.
25512 * Rules (bench): Likewise.
25513 (binaries-bench): Generate binaries for functions to
25515 * benchtests/Makefile: New makefile for benchmark tests.
25516 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25518 * benchtests/exp-inputs: New input file for EXP function.
25519 * benchtests/pow-inputs: New input file for POW function.
25520 * scripts/bench.pl: New script to generate source files for
25521 benchmark programs.
25523 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25525 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25526 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25527 computations on mantissa. Use macros for rounding and
25529 (denorm): Likewise.
25530 (__dbl_mp): Likewise.
25531 (add_magnitudes): Likewise.
25532 (sub_magnitudes): Likewise.
25535 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25536 powers of two in terms of TWOPOW macro.
25537 (mp_no): Make type of mantissa as MANTISSA_T.
25538 [!RADIXI]: Define RADIXI.
25539 [!TWO52]: Define TWO52.
25540 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25542 * manual/nptl.texi (cindex): Modify threads to pthreads.
25544 2013-03-15 Joseph Myers <joseph@codesourcery.com>
25546 * sysdeps/x86_64/preconfigure: Regenerated.
25548 2013-03-14 Joseph Myers <joseph@codesourcery.com>
25551 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25553 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25554 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25556 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25557 * math/libm-test.inc (j0_test): Do not allow one spurious
25558 underflow exception.
25559 (y1_test): Likewise.
25561 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25563 * manual/Makefile (chapters): Add nptl.
25564 * manual/debug.texi (Debugging Support): Add link to Threads
25566 * manual/nptl.texi: New file.
25568 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25570 2013-03-14 Petr Baudis <pasky@ucw.cz>
25572 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25573 for non-NULL pointer before the memory validity test. Pointed
25574 out by Holger Brunck <holger.brunck@keymile.com>.
25576 2013-03-13 Andreas Schwab <schwab@suse.de>
25578 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25581 2013-03-13 Joseph Myers <joseph@codesourcery.com>
25583 * timezone/zic.c: Update from tzcode 2013b.
25585 2013-03-12 Carlos O'Donell <carlos@redhat.com>
25587 * manual/install.texi (Configuring and compiling):
25588 Mention i686 and i586.
25589 * INSTALL: Regenerate.
25591 2013-03-12 Roland McGrath <roland@hack.frob.com>
25593 * sysdeps/init_array/elf-init.c: New file.
25595 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25596 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25598 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25599 __gmon_start__ as global, but as static with a .preinit_array pointer.
25600 * sysdeps/init_array/gmon-start.c: New file. Use that.
25601 * sysdeps/init_array/crti.S: New file, empty except for comments.
25602 * sysdeps/init_array/crtn.S: Likewise.
25604 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
25606 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25609 Remove Prefer_SSE_for_memop.
25610 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25611 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25612 HAS_PREFER_SSE_FOR_MEMOP.
25613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25616 Remove bzero, memset ifunc support.
25617 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25619 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25620 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25622 2013-03-11 Andreas Schwab <schwab@suse.de>
25625 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25628 (GLIBC_2.16): Remove pthread_atfork.
25630 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25632 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25633 (ptestcases.h): Likewise.
25635 2013-03-08 Roland McGrath <roland@hack.frob.com>
25637 * Makeconfig ($(common-objpfx)config.status): Depend on
25638 sysdeps/*/preconfigure{,.in} too.
25640 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25642 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25643 (__free_hook): Use void * instead of __malloc_ptr_t.
25644 (__malloc_hook): Likewise.
25645 (__realloc_hook): Likewise.
25646 (__memalign_hook): Likewise.
25647 (__after_morecore_hook): Likewise.
25648 * malloc/arena.c (save_malloc_hook): Likewise.
25649 (save_free_hook): Likewise.
25650 * malloc/hooks.c (malloc_hook_ini): Likewise.
25651 (realloc_hook_ini): Likewise.
25652 (memalign_hook_ini): Likewise.
25653 * malloc/malloc.c (malloc_hook_ini): Likewise.
25654 (realloc_hook_ini): Likewise.
25655 (memalign_hook_ini): Likewise.
25656 (__free_hook): Likewise.
25657 (__malloc_hook): Likewise.
25658 (__realloc_hook): Likewise.
25659 (__memalign_hook): Likewise.
25660 (__libc_malloc): Likewise.
25661 (__libc_free): Likewise.
25662 (__libc_realloc): Likewise.
25663 (__libc_memalign): Likewise.
25664 (__libc_valloc): Likewise.
25665 (__libc_pvalloc): Likewise.
25666 (__libc_calloc): Likewise.
25667 (__posix_memalign): Likewise.
25668 * malloc/morecore.c (__sbrk): Likewise.
25669 (__default_morecore): Likewise.
25671 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25673 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25674 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25675 __malloc_ptrdiff_t.
25677 * malloc/malloc.h (__malloc_size_t): Remove macro.
25678 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25680 (old_memalign_hook): Likewise.
25681 (old_realloc_hook): Likewise.
25682 (struct hdr): Likewise.
25684 (mallochook): Likewise.
25685 (memalignhook): Likewise.
25686 (reallochook): Likewise.
25687 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25688 (tr_old_realloc_hook): Likewise.
25689 (tr_old_memalign_hook): Likewise.
25690 (tr_mallochook): Likewise.
25691 (tr_reallochook): Likewise.
25692 (tr_memalignhook): Likewise.
25694 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25697 default_ldbl_pack and using as default implementation.
25698 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25700 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25701 redundant definition.
25702 (ldbl_insert_mantissa): Likewise.
25703 (ldbl_canonicalize): Likewise.
25704 (ldbl_nearbyint): Likewise.
25705 (ldbl_pack): Rename to ldbl_pack_ppc.
25706 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25707 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25708 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25710 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25713 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25714 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25715 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25717 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25718 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25719 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25721 2013-03-07 Andreas Jaeger <aj@suse.de>
25723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25726 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25728 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25729 Include mpa.h and declare __MPEXP.
25730 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25731 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25732 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25733 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25734 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25735 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25736 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25738 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25739 (__slowpow): Use long double EXPL and LOGL functions to
25741 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25742 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25743 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25744 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25745 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25749 intermediate variable to calculate exponent.
25751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25755 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25756 [!NO__SQR]: Define __sqr.
25757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25758 and NO__SQR. Remove all code except __mul and __sqr. Include
25759 sysdeps/ieee754/dbl-64/mpa.c.
25760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25763 * posix/Makefile (tests): Add tst-pathconf.
25764 * posix/tst-pathconf.c: New test case.
25765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25767 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25769 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25771 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25773 2013-03-06 Andreas Jaeger <aj@suse.de>
25775 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25776 definition via __MAP_ANONYMOUS.
25778 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25779 it's not part of Linux headers.
25781 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25782 (MAP_HUGE_MASK): Define.
25784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25790 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25795 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25797 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25798 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25799 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25800 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25801 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25802 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25808 Handle f2fs and efivarfs.
25810 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25813 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25814 (EFIVARFS_MAGIC): Add.
25815 (F2FS_LINK_MAX): Add.
25817 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25819 * stdio-common/vfprintf.c: Replace __builtin_expect with
25822 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25825 * sysdeps/generic/bp-sym.h: Remove file.
25826 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25827 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25828 <bp-sym.h> and <bp-asm.h>.
25829 (__longjmp): Don't use BP_SYM.
25830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25832 (memcpy): Don't use BP_SYM.
25833 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25834 <bp-sym.h> and <bp-asm.h>.
25835 (memcpy): Don't use BP_SYM.
25836 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25838 (memcpy): Don't use BP_SYM.
25839 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25841 (memset): Don't use BP_SYM.
25842 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25843 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25844 (__bzero): Don't use BP_SYM.
25845 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25846 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25847 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25848 <bp-sym.h> and <bp-asm.h>.
25849 (memcmp): Don't use BP_SYM. Remove comment about bounded
25851 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25852 <bp-sym.h> and <bp-asm.h>.
25853 (memcpy): Don't use BP_SYM.
25854 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25855 <bp-sym.h> and <bp-asm.h>.
25856 (memset): Don't use BP_SYM.
25857 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25858 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25859 (__bzero): Don't use BP_SYM.
25860 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25861 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25863 <bp-sym.h> and <bp-asm.h>.
25864 (strncmp): Don't use BP_SYM. Remove comment about bounded
25866 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25867 <bp-sym.h> and <bp-asm.h>.
25868 (memcpy): Don't use BP_SYM.
25869 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25870 <bp-sym.h> and <bp-asm.h>.
25871 (memset): Don't use BP_SYM.
25872 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25873 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25874 (__bzero): Don't use BP_SYM.
25875 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25876 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25878 <bp-sym.h> and <bp-asm.h>.
25879 (__memchr): Don't use BP_SYM.
25880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25881 <bp-sym.h> and <bp-asm.h>.
25882 (memcmp): Don't use BP_SYM. Remove comment about bounded
25884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25885 <bp-sym.h> and <bp-asm.h>.
25886 (memcpy): Don't use BP_SYM.
25887 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25888 <bp-sym.h> and <bp-asm.h>.
25889 (__mempcpy): Don't use BP_SYM.
25890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25891 <bp-sym.h> and <bp-asm.h>.
25892 (__memrchr): Don't use BP_SYM.
25893 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25894 <bp-sym.h> and <bp-asm.h>.
25895 (memset): Don't use BP_SYM.
25896 (__bzero): Likewise.
25897 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25898 <bp-sym.h> and <bp-asm.h>.
25899 (__rawmemchr): Don't use BP_SYM.
25900 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25901 <bp-sym.h> and <bp-asm.h>.
25902 (__STRCMP): Don't use BP_SYM.
25903 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25904 <bp-sym.h> and <bp-asm.h>.
25905 (strchr): Don't use BP_SYM.
25906 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25907 <bp-sym.h> and <bp-asm.h>.
25908 (__strchrnul): Don't use BP_SYM.
25909 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25910 <bp-sym.h> and <bp-asm.h>.
25911 (strlen): Don't use BP_SYM.
25912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25913 <bp-sym.h> and <bp-asm.h>.
25914 (strncmp): Don't use BP_SYM. Remove comment about bounded
25916 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25917 <bp-sym.h> and <bp-asm.h>.
25918 (__strnlen): Don't use BP_SYM.
25919 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25920 <bp-sym.h> and <bp-asm.h>.
25921 (__GI__setjmp): Don't use BP_SYM.
25922 (_setjmp): Likewise.
25923 (__sigsetjmp): Likewise.
25924 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25925 (L(start_addresses)): Don't use BP_SYM.
25926 (_start): Likewise.
25927 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25929 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25930 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25931 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25932 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25933 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25935 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25936 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25937 about bounded pointers.
25938 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25939 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25940 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25942 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25943 about bounded pointers. Remove GKM FIXME comments.
25944 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25945 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25947 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25948 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25949 Remove GKM FIXME comments.
25950 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25951 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25952 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25954 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25955 about bounded pointers. Remove GKM FIXME comment.
25956 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25958 (strncmp): Don't use BP_SYM. Remove comment about bounded
25960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25961 <bp-sym.h> and <bp-asm.h>.
25962 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25964 <bp-sym.h> and <bp-asm.h>.
25965 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25968 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25970 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25973 2013-03-05 David S. Miller <davem@davemloft.net>
25975 * po/es.po: Update from translation team.
25977 2013-03-05 Andreas Jaeger <aj@suse.de>
25979 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25980 <bits/mman-linux.h>.
25981 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25984 <bits/mman-linux.h> to end of file.
25985 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25987 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25988 <bits/mman-linux.h> to end of file.
25989 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25992 <bits/mman-linux.h> to end of file.
25994 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25995 (MCL_CURRENT, MCL_FUTURE): Define here.
25997 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26000 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26002 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26004 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26007 fourth parameter needed for rt_sigprocmask syscall.
26008 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26009 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26010 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26011 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26012 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26013 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26015 2013-03-04 Joseph Myers <joseph@codesourcery.com>
26018 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26019 comment about bounded pointers.
26020 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26021 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26023 2013-03-04 Andreas Jaeger <aj@suse.de>
26025 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26026 common definitions.
26028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26029 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26030 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26035 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26039 __ieee754_sqrl instead of __sqrl.
26041 2013-03-01 Joseph Myers <joseph@codesourcery.com>
26043 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26044 * sysdeps/powerpc/fpu_control.h: ... here.
26045 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26046 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26047 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26048 * sysdeps/powerpc/bits/mathinline.h: ... here.
26050 2013-03-01 Roland McGrath <roland@hack.frob.com>
26052 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26053 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26054 to just [NEED_DL_SYSINFO_DSO].
26055 * elf/dl-support.c: Likewise.
26056 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26057 * elf/rtld.c (dl_main): Likewise.
26058 * elf/setup-vdso.h (setup_vdso): Likewise.
26059 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26060 * sysdeps/unix/sysv/linux/dl-sysdep.c
26061 (_dl_discover_osversion): Likewise.
26063 2013-03-01 Carlos O'Donell <carlos@redhat.com>
26065 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26066 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26068 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26070 * NEWS: Mention libm performance improvements and non-x86 PI
26073 * csu/libc-start.c (__pthread_initialize_minimal): Change
26074 function arguments.
26075 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26077 2013-02-28 Joseph Myers <joseph@codesourcery.com>
26080 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26081 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26082 <bp-sym.h> and <bp-asm.h>.
26083 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26086 (memcpy): Don't use BP_SYM.
26087 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26089 (__mpn_add_n): Don't use BP_SYM.
26090 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26091 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26093 (__mpn_addmul_1): Don't use BP_SYM.
26094 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26095 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26097 (_setjmp): Don't use BP_SYM.
26098 (__novmx_setjmp): Likewise.
26099 (__GI__setjmp): Likewise.
26100 (__vmx_setjmp): Likewise.
26101 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26103 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26104 (__bzero): Don't use BP_SYM.
26105 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26106 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26107 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26108 <bp-sym.h> and <bp-asm.h>.
26109 (memcpy): Don't use BP_SYM.
26110 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26111 <bp-sym.h> and <bp-asm.h>.
26112 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26113 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26114 <bp-sym.h> and <bp-asm.h>.
26115 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26116 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26118 (__mpn_lshift): Don't use BP_SYM.
26119 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26120 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26122 (memset): Don't use BP_SYM.
26123 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26124 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26125 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26127 (__mpn_mul_1): Don't use BP_SYM.
26128 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26130 <bp-sym.h> and <bp-asm.h>.
26131 (memcmp): Don't use BP_SYM.
26132 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26133 <bp-sym.h> and <bp-asm.h>.
26134 (memcpy): Don't use BP_SYM.
26135 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26136 <bp-sym.h> and <bp-asm.h>.
26137 (memset): Don't use BP_SYM.
26138 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26139 <bp-sym.h> and <bp-asm.h>.
26140 (strncmp): Don't use BP_SYM.
26141 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26142 <bp-sym.h> and <bp-asm.h>.
26143 (memcpy): Don't use BP_SYM.
26144 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26145 <bp-sym.h> and <bp-asm.h>.
26146 (memset): Don't use BP_SYM.
26147 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26148 <bp-sym.h> and <bp-asm.h>.
26149 (__memchr): Don't use BP_SYM.
26150 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26151 <bp-sym.h> and <bp-asm.h>.
26152 (memcmp): Don't use BP_SYM.
26153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26154 <bp-sym.h> and <bp-asm.h>.
26155 (memcpy): Don't use BP_SYM.
26156 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26157 <bp-sym.h> and <bp-asm.h>.
26158 (__mempcpy): Don't use BP_SYM.
26159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26160 <bp-sym.h> and <bp-asm.h>.
26161 (__memrchr): Don't use BP_SYM.
26162 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26163 <bp-sym.h> and <bp-asm.h>.
26164 (memset): Don't use BP_SYM.
26165 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26166 <bp-sym.h> and <bp-asm.h>.
26167 (__rawmemchr): Don't use BP_SYM.
26168 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26169 <bp-sym.h> and <bp-asm.h>.
26170 (__STRCMP): Don't use BP_SYM.
26171 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26172 <bp-sym.h> and <bp-asm.h>.
26173 (strchr): Don't use BP_SYM.
26174 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26175 <bp-sym.h> and <bp-asm.h>.
26176 (__strchrnul): Don't use BP_SYM.
26177 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26178 <bp-sym.h> and <bp-asm.h>.
26179 (strlen): Don't use BP_SYM.
26180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26181 <bp-sym.h> and <bp-asm.h>.
26182 (strncmp): Don't use BP_SYM.
26183 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26184 <bp-sym.h> and <bp-asm.h>.
26185 (__strnlen): Don't use BP_SYM.
26186 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26188 (__mpn_rshift): Don't use BP_SYM.
26189 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26190 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26191 <bp-sym.h> and <bp-asm.h>.
26192 (__sigsetjmp): Don't use BP_SYM.
26193 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26194 (L(start_addresses)): Don't use BP_SYM.
26195 (_start): Likewise.
26196 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26198 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26199 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26200 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26201 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26203 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26204 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26205 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26206 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26208 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26210 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26211 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26213 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26215 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26216 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26217 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26219 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26221 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26223 (strncmp): Don't use BP_SYM,
26224 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26226 (__mpn_sub_n): Don't use BP_SYM.
26227 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26228 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26230 (__mpn_submul_1): Don't use BP_SYM.
26231 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26233 <bp-sym.h> and <bp-asm.h>.
26234 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26236 <bp-sym.h> and <bp-asm.h>.
26237 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26240 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26243 Use ZK to minimize writes to Z.
26244 (sub_magnitudes): Simplify code a bit.
26245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26246 Use ZK to minimize writes to Z.
26247 (sub_magnitudes): Simplify code a bit.
26249 2013-02-27 Roland McGrath <roland@hack.frob.com>
26251 * csu/gmon-start.c: Add special exception to license text.
26253 2013-02-27 Richard Henderson <rth@redhat.com>
26255 * scripts/config.guess: Update from config.git.
26256 * scripts/config.sub: Likewise.
26258 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26262 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26264 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26266 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26268 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26270 2013-02-26 Roland McGrath <roland@hack.frob.com>
26272 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26273 [$(build-shared = yes].
26275 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26277 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26278 (__mul): Reduce iterations for calculating mantissa.
26280 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26282 (__mpranred): Likewise.
26285 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26286 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26288 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26290 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26291 Define __attribute__.
26293 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26295 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26297 * posix/regex_internal.h (__attribute): Remove.
26298 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26299 (re_string_context_at): Likewise.
26300 (bitset_not): Use __attribute__ and mark function as possibly
26302 (bitset_merge): Likewise.
26303 (bitset_mask): Likewise.
26304 (re_string_char_size_at): Likewise.
26305 (re_string_wchar_at): Likewise.
26306 (re_string_elem_size_at): Likewise.
26308 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26310 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26314 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26318 (denorm): Likewise.
26319 (__dbl_mp): Likewise.
26320 (add_magnitudes): Likewise.
26321 (sub_magnitudes): Likewise.
26325 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26328 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26331 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26335 up changes with default code.
26336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26339 2013-02-24 Allan McRae <allan@archlinux.org>
26341 * manual/socket.texi (The Internet Namespace): Order menu items
26342 to match that in the file.
26344 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26345 node listing of the info page menu.
26347 2013-02-21 Joseph Myers <joseph@codesourcery.com>
26350 * sysdeps/i386/bp-asm.h: Remove file.
26351 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26352 (PARMS): Do not use macros from bp-asm.h.
26356 (__mpn_add_n): Do not use BP_SYM
26357 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26359 (PARMS): Do not use macros from bp-asm.h.
26362 (__mpn_addmul_1): Do not use BP_SYM
26363 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26365 (PARMS): Do not use macros from bp-asm.h.
26366 (SIGMSK): Likewise.
26367 (_setjmp): Likewise. Do not use BP_SYM.
26368 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26370 (PARMS): Do not use macros from bp-asm.h.
26371 (SIGMSK): Likewise.
26372 (setjmp): Likewise. Do not use BP_SYM.
26373 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26375 (PARMS): Do not use macros from bp-asm.h.
26376 (__frexp): Do not use BP_SYM.
26378 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26380 (PARMS): Do not use macros from bp-asm.h.
26381 (__frexpf): Do not use BP_SYM.
26382 (frexpf): Likewise.
26383 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26385 (PARMS): Do not use macros from bp-asm.h.
26386 (__frexpl): Do not use BP_SYM.
26387 (frexpl): Likewise.
26388 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26390 (PARMS): Do not use macros from bp-asm.h.
26391 (__remquo): Do not use BP_SYM.
26392 (remquo): Likewise.
26393 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26395 (PARMS): Do not use macros from bp-asm.h.
26396 (__remquof): Do not use BP_SYM.
26397 (remquof): Likewise.
26398 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26400 (PARMS): Do not use macros from bp-asm.h.
26401 (__remquol): Do not use BP_SYM.
26402 (remquol): Likewise.
26403 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26405 (PARMS): Do not use macros from bp-asm.h.
26408 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26409 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26411 (PARMS): Do not use macros from bp-asm.h.
26412 (strlen): Do not use BP_SYM.
26413 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26415 (PARMS): Do not use macros from bp-asm.h.
26419 (__mpn_add_n): Do not use BP_SYM.
26420 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26422 (PARMS): Do not use macros from bp-asm.h.
26425 (__mpn_addmul_1): Do not use BP_SYM.
26426 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26429 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26431 (PARMS): Do not use macros from bp-asm.h.
26434 (__mpn_lshift): Do not use BP_SYM.
26435 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26437 (PARMS): Do not use macros from bp-asm.h.
26441 (memcpy): Likewise. Do not use BP_SYM.
26442 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26443 libc_hidden_def and weak_alias.
26444 (mempcpy): Do not use BP_SYM in weak_alias.
26445 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26447 (PARMS): Do not use macros from bp-asm.h.
26450 [!BZERO_P] (CHR): Likewise.
26451 (memset): Likewise. Do not use BP_SYM.
26452 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26454 (PARMS): Do not use macros from bp-asm.h.
26457 (__mpn_mul_1): Do not use BP_SYM.
26458 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26460 (PARMS): Do not use macros from bp-asm.h.
26463 (__mpn_rshift): Do not use BP_SYM.
26464 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26466 (PARMS): Do not use macros from bp-asm.h.
26469 (strchr): Likewise. Do not use BP_SYM.
26470 (index): Do not use BP_SYM in weak_alias.
26471 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26473 (PARMS): Do not use macros from bp-asm.h.
26476 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26477 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26479 (PARMS): Do not use macros from bp-asm.h.
26480 (strlen): Do not use BP_SYM.
26481 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26483 (PARMS): Do not use macros from bp-asm.h.
26487 (__mpn_sub_n): Do not use BP_SYM.
26488 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26490 (PARMS): Do not use macros from bp-asm.h.
26493 (__mpn_submul_1): Do not use BP_SYM.
26494 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26496 (PARMS): Do not use macros from bp-asm.h.
26500 (__mpn_add_n): Do not use BP_SYM.
26501 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26504 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26506 (PARMS): Do not use macros from bp-asm.h.
26509 (memcmp): Do not use BP_SYM.
26510 (bcmp): Do not use BP_SYM in weak_alias.
26511 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26513 (PARMS): Do not use macros from bp-asm.h.
26517 (memcpy): Likewise. Do not use BP_SYM.
26518 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26520 (PARMS): Do not use macros from bp-asm.h.
26524 (memmove): Likewise. Do not use BP_SYM.
26525 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26527 (PARMS): Do not use macros from bp-asm.h.
26531 (__mempcpy): Likewise. Do not use BP_SYM.
26532 (mempcpy): Do not use BP_SYM in weak_alias.
26533 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26535 (PARMS): Do not use macros from bp-asm.h.
26538 [!BZERO_P] (CHR): Likewise.
26539 (memset): Likewise. Do not use BP_SYM.
26540 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26542 (PARMS): Do not use macros from bp-asm.h.
26544 (strcmp): Do not use BP_SYM.
26545 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26547 (PARMS): Do not use macros from bp-asm.h.
26550 [USE_AS_STRTOK_R] (SAVE): Likewise.
26551 (FUNCTION): Likewise. Do not use BP_SYM.
26552 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26554 (strtok_r): Likewise.
26555 (__GI___strtok_r): Likewise.
26556 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26557 (PARMS): Do not use macros from bp-asm.h.
26560 (__mpn_lshift): Do not use BP_SYM.
26561 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26562 (PARMS): Do not use macros from bp-asm.h.
26565 (__memchr): Do not use BP_SYM.
26566 (memchr): Do not use BP_SYM in weak_alias.
26567 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26568 (PARMS): Do not use macros from bp-asm.h.
26571 (memcmp): Do not use BP_SYM.
26572 (bcmp): Do not use BP_SYM in weak_alias.
26573 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26574 (PARMS): Do not use macros from bp-asm.h.
26577 (__mpn_mul_1): Do not use BP_SYM.
26578 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26580 (PARMS): Do not use macros from bp-asm.h.
26583 (__rawmemchr): Do not use BP_SYM.
26584 (rawmemchr): Do not use BP_SYM in weak_alias.
26585 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26586 (PARMS): Do not use macros from bp-asm.h.
26589 (__mpn_rshift): Do not use BP_SYM.
26590 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26591 (PARMS): Do not use macros from bp-asm.h.
26592 (SIGMSK): Likewise.
26593 (__sigsetjmp): Likewise. Do not use BP_SYM.
26594 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26595 (_start): Do not use BP_SYM.
26596 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26597 (PARMS): Do not use macros from bp-asm.h.
26600 (__stpcpy): Likewise. Do not use BP_SYM.
26601 (stpcpy): Do not use BP_SYM in weak_alias.
26602 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26604 (PARMS): Do not use macros from bp-asm.h.
26608 (__stpncpy): Likewise. Do not use BP_SYM.
26609 (stpncpy): Do not use BP_SYM in weak_alias.
26610 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26611 (PARMS): Do not use macros from bp-asm.h.
26614 (strchr): Likewise. Do not use BP_SYM.
26615 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26617 (PARMS): Do not use macros from bp-asm.h.
26620 (__strchrnul): Likewise. Do not use BP_SYM.
26621 (strchrnul): Do not use BP_SYM in weak_alias.
26622 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26624 (PARMS): Do not use macros from bp-asm.h.
26626 (strcspn): Do not use BP_SYM.
26627 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26629 (PARMS): Do not use macros from bp-asm.h.
26632 (strpbrk): Likewise. Do not use BP_SYM.
26633 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26635 (PARMS): Do not use macros from bp-asm.h.
26638 (strrchr): Likewise. Do not use BP_SYM.
26639 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26640 (PARMS): Do not use macros from bp-asm.h.
26642 (strspn): Do not use BP_SYM.
26643 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26644 (PARMS): Do not use macros from bp-asm.h.
26648 (FUNCTION): Likewise. Do not use BP_SYM.
26649 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26651 (strtok_r): Likewise.
26652 (__GI___strtok_r): Likewise.
26653 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26654 (PARMS): Do not use macros from bp-asm.h.
26658 (__mpn_sub_n): Do not use BP_SYM.
26659 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26661 (PARMS): Do not use macros from bp-asm.h.
26664 (__mpn_submul_1): Do not use BP_SYM.
26665 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26667 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26669 (PARMS): Do not use macros from bp-asm.h.
26674 (__clone): Do not use BP_SYM.
26675 (clone): Do not use BP_SYM in weak_alias.
26676 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26678 (PARMS): Do not use macros from bp-asm.h.
26680 (__mmap64): Do not use BP_SYM.
26681 (mmap64): Do not use BP_SYM in weak_alias.
26682 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26683 <bp-sym.h> and <bp-asm.h>.
26684 (PARMS): Do not use macros from bp-asm.h.
26685 (__posix_fadvise64_l64): Do not use BP_SYM.
26686 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26687 (PARMS): Do not use macros from bp-asm.h.
26689 (semtimedop): Do not use BP_SYM.
26690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26693 2013-02-21 Allan McRae <allan@archlinux.org>
26695 * manual/message.texi (Charset conversion in gettext):
26696 Move @end statement to beginning of line.
26698 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26706 (denorm): Likewise.
26707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26710 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26712 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26713 tail-call to the resolved function if pltexit isn't needed.
26715 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26718 or Y being zero as being unlikely.
26719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26722 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26724 * manual/nss.texi (System Databases and Name Service Switch):
26725 Remove frobnicate @pxref.
26727 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26729 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26730 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26732 2013-02-20 Petr Machata <pmachata@redhat.com>
26734 * elf/elf.h (R_ARM_TARGET1): New macro.
26735 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26736 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26737 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26738 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26739 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26740 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26741 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26742 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26743 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26744 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26745 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26746 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26747 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26748 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26749 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26750 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26751 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26752 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26753 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26754 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26755 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26756 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26757 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26758 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26759 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26760 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26761 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26762 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26763 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26764 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26765 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26766 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26767 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26768 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26769 (R_ARM_THM_GOT_BREL12): Likewise.
26770 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26771 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26772 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26773 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26774 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26775 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26776 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26777 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26778 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26780 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26782 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26783 __attribute_used__ to __attribute__ ((unused)).
26785 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26787 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26790 comment formatting.
26791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26793 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26796 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26798 (ENTER): Remove both macro definitions.
26800 (CHECK_BOUNDS_LOW): Likewise.
26801 (CHECK_BOUNDS_HIGH): Likewise.
26802 (CHECK_BOUNDS_BOTH): Likewise.
26803 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26804 (RETURN_BOUNDED_POINTER): Likewise.
26805 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26806 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26807 (POP_ERRNO_LOCATION_RETURN): Likewise.
26808 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26809 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26810 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26812 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26813 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26814 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26815 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26816 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26817 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26818 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26819 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26820 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26821 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26822 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26823 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26824 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26825 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26827 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26828 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26830 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26831 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26832 * sysdeps/i386/i586/memset.S (memset): Likewise.
26833 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26834 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26835 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26837 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26838 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26839 Change uses of L(2) to L(out).
26840 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26841 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26842 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26843 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26844 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26846 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26847 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26849 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26850 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26851 (RETURN): Do not use macro LEAVE.
26852 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26853 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26854 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26855 * sysdeps/i386/i686/memset.S (memset): Likewise.
26856 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26857 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26858 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26859 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26861 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26862 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26863 L(1_2) and L(1_3) into L(1).
26864 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26865 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26866 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26867 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26868 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26869 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26870 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26871 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26872 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26874 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26875 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26876 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26877 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26878 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26879 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26880 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26881 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26882 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26883 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26884 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26885 * sysdeps/i386/strspn.S (strspn): Likewise.
26886 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26888 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26889 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26890 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26891 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26892 L(1_3) into L(1_1).
26893 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26894 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26895 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26897 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26899 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26901 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26904 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26906 * math/atest-exp.c (exp_mpn): Remove ROUND.
26907 * math/atest-exp2.c (exp_mpn): Likewise.
26908 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26910 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26911 * stdlib/tst-tls-atexit-lib.c: Likewise.
26912 * stdlib/tst-tls-atexit.c: Likewise.
26914 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26916 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26917 and __attribute_alloc_size__.
26919 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26921 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26922 __attribute_alloc_size__.
26923 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26924 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26926 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26928 * include/programs/xmalloc.h: New file.
26929 * catgets/gencat.c: Include it.
26930 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26931 * elf/pldd.c: Likewise.
26932 * iconv/iconv_charmap.c: Likewise.
26933 * iconv/iconvconfig.c: Likewise.
26934 * iconv/strtab.c: Likewise.
26935 * locale/programs/locale.c: Likewise.
26936 * locale/programs/localedef.h: Likewise.
26937 * locale/programs/simple-hash.c: Likewise.
26938 * nscd/nscd.h: Likewise.
26939 * nss/makedb.c: Likewise.
26940 * sysdeps/generic/ldconfig.h: Likewise.
26942 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26944 * Versions.def: Add GLIBC_2.18.
26945 * include/link.h (struct link_map): New member l_tls_dtor_count.
26946 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26947 (__call_tls_dtors): Likewise.
26948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26949 __cxa_thread_atexit_impl.
26950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26966 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26967 (tests): Add test case tst-tls-atexit.
26968 (modules-names): Add shared library for tst-tls-atexit.
26969 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26970 (GLIBC_PRIVATE): Add __call_tls_dtors.
26971 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26973 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26974 * stdlib/tst-tls-atexit.c: New test case.
26975 * stdlib/tst-tls-atexit-lib.c: New test case.
26977 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26979 * elf/Versions (ld): Add _dl_find_dso_for_object.
26980 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26981 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26982 (dl_open_worker): Use _dl_find_dso_for_object.
26983 * elf/dl-sym.c (do_sym): Likewise.
26984 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26986 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26988 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26989 Syntactic changes only.
26990 (_dl_runtime_profile): Do a tail-call to the resolved function.
26992 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26995 * sysdeps/x86_64/bp-asm.h: Remove file.
26996 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26997 <bp-sym.h> and <bp-asm.h>.
26998 (__clone): Do not use BP_SYM.
26999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27000 <bp-sym.h> and <bp-asm.h>.
27001 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27002 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27004 (_setjmp): Do not use BP_SYM.
27005 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27007 (setjmp): Do not use BP_SYM.
27008 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27010 (mempcpy): Do not use BP_SYM in weak_alias.
27011 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27013 (strchr): Do not use BP_SYM.
27014 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27016 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27017 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27018 (_start): Do not use BP_SYM.
27019 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27021 (strcat): Do not use BP_SYM.
27022 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27024 (STRCMP): Do not use BP_SYM.
27025 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27027 (STRCPY): Do not use BP_SYM.
27028 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27030 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27032 (FUNCTION): Do not use BP_SYM.
27033 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27035 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27037 2013-02-17 Andreas Jaeger <aj@suse.de>
27039 * time/Versions: Sort entries.
27040 * string/Versions: Likewise.
27041 * resolv/Versions: Likewise.
27042 * posix/Versions: Likewise.
27043 * iconv/Versions: Likewise.
27044 * elf/Versions: Likewise.
27045 * wcsmbs/Versions: Likewise.
27047 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27049 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27050 loop termination condition.
27052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27053 variable to calculate EZ.
27056 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27057 the lower precision input.
27059 2013-02-15 Joseph Myers <joseph@codesourcery.com>
27062 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27063 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27064 (run-via-rtld-prefix): Do not handle %-bp tests.
27065 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27066 (all-object-suffixes): Remove .ob.
27067 (bppfx): Remove variable.
27068 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27069 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27070 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27071 [$(build-bounded) = yes] (libtype.ob): Likewise.
27072 * Makerules (elide-routines.ob): Remove variable.
27073 (do-tests-clean): Do not handle *-bp.out.
27074 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27075 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27076 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27077 (tests): Do not include $(tests-bp.out).
27078 (xtests): Do not include $(xtests-bp.out).
27079 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27080 [$(build-bounded) = yes] ($(addprefix
27081 $(objpfx),$(binaries-bounded))): Remove rule.
27082 ($(objpfx)%-bp.out): Remove rule.
27083 * config.make.in (build-bounded): Remove variable.
27084 * crypt/Makefile [$(build-bounded) = yes]
27085 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27086 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27087 append to variable.
27088 [$(build-bounded) = yes] (install-lib): Likewise.
27089 [$(build-bounded) = yes] (generated): Likewise.
27090 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27092 * intl/Makefile [$(build-bounded) = yes]
27093 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27094 * math/Makefile [$(build-bounded) = yes]
27095 ($(tests:%=$(objpfx)%-bp): Likewise.
27096 * misc/Makefile [$(build-bounded) = yes]
27097 ($(objpfx)tst-tsearch-bp): Likewise.
27098 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27099 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27101 * string/Makefile (o-objects.ob): Remove variable.
27102 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27103 (CFLAGS-.ob): Remove variable.
27104 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27105 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27106 both definitions of variable.
27107 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27108 (ASFLAGS-.ob): Remove variable.
27110 2013-02-14 Joseph Myers <joseph@codesourcery.com>
27113 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27114 Remove __BOUNDED_POINTERS__ from condition.
27115 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27116 * string/bits/string2.h [!__NO_STRING_INLINES &&
27117 !__BOUNDED_POINTERS__]: Likewise.
27118 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27120 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27121 Remove conditional code.
27122 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27123 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27124 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27128 * csu/libc-start.c: Do not include <bp-sym.h>.
27129 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27130 * elf/dl-open.c: Do not include <bp-sym.h>.
27131 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27132 * math/fegetenv.c: Do not include <bp-sym.h>.
27133 (fegetenv): Do not use BP_SYM in versioned symbols.
27134 * nptl/sysdeps/pthread/bits/libc-lockP.h
27135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27138 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27140 (__pthread_mutex_destroy): Likewise.
27141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27142 (__pthread_mutex_lock): Likewise.
27143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27144 (__pthread_mutex_trylock): Likewise.
27145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27146 (__pthread_mutex_unlock): Likewise.
27147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27148 (__pthread_mutexattr_init): Likewise.
27149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27150 (__pthread_mutexattr_destroy): Likewise.
27151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27152 (__pthread_mutexattr_settype): Likewise.
27153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27154 (__pthread_rwlock_init): Likewise.
27155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27156 (__pthread_rwlock_destroy): Likewise.
27157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27158 (__pthread_rwlock_rdlock): Likewise.
27159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27160 (__pthread_rwlock_tryrdlock): Likewise.
27161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27162 (__pthread_rwlock_wrlock): Likewise.
27163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27164 (__pthread_rwlock_trywrlock): Likewise.
27165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27166 (__pthread_rwlock_unlock): Likewise.
27167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27168 (__pthread_key_create): Likewise.
27169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27170 (__pthread_setspecific): Likewise.
27171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27172 (__pthread_getspecific): Likewise.
27173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27176 (_pthread_cleanup_push_defer): Likewise.
27177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27178 (_pthread_cleanup_pop_restore): Likewise.
27179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27180 (pthread_setcancelstate): Likewise.
27181 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27183 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27184 (memchr): Do not use BP_SYM in weak_alias.
27185 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27186 (fegetenv): Do not use BP_SYM in versioned symbols.
27187 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27188 (fesetenv): Do not use BP_SYM in versioned symbols.
27189 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27190 (feupdateenv): Do not use BP_SYM in versioned symbols.
27191 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27192 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27193 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27194 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27195 (open64): Do not use BP_SYM in weak_alias.
27196 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27197 (fegetenv): Do not use BP_SYM in versioned symbols.
27198 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27199 (fesetenv): Do not use BP_SYM in versioned symbols.
27200 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27201 (feupdateenv): Do not use BP_SYM in versioned symbols.
27202 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27203 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27204 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27205 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27206 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27207 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27208 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27210 (__libc_start_main): Do not use BP_SYM.
27212 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27215 redundant return line.
27217 (denorm): Likewise.
27218 (dbl_mp): Likewise.
27219 (sub_magnitudes): Likewise.
27225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27227 (denorm): Likewise.
27228 (dbl_mp): Likewise.
27229 (sub_magnitudes): Likewise.
27236 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27239 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27242 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27243 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27245 of __mul for squares.
27246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27253 2013-02-13 Joseph Myers <joseph@codesourcery.com>
27256 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27258 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27259 prototype or function definition. Rename ubp_* variables and
27260 parameters. Remove argv definitions conditional on
27261 [__BOUNDED_POINTERS__].
27262 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27263 * elf/dl-runtime.c (_dl_fixup): Likewise.
27264 * include/set-hooks.h (RUN_HOOK): Likewise.
27265 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27267 * string/strcpy.c (strcpy): Do not use __unbounded.
27268 * sysdeps/generic/frame.h (struct layout): Likewise.
27269 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27270 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27271 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27272 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27273 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27274 (__backtrace): Likewise.
27275 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27277 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27278 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27279 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27281 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27282 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27283 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27284 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27285 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27286 Do not use __unbounded.
27287 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27288 Rename __unboundedrlimits parameter to rlimits in prototype.
27289 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27290 Do not use __unbounded.
27291 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27292 not use __ptrvalue.
27293 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27294 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27295 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27296 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27297 __ptrvalue or __unbounded.
27298 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27299 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27301 (__new_msgctl): Do not use __ptrvalue.
27302 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27304 (__libc_msgrcv): Do not use __ptrvalue.
27305 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27306 startup_info): Do not use __unbounded.
27307 (__libc_start_main): Likewise. Rename ubp_* variables and
27308 parameters. Remove argv definitions conditional on
27309 [__BOUNDED_POINTERS__].
27310 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27312 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27314 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27316 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27318 (__new_shmctl): Do not use __ptrvalue.
27319 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27320 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27322 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27323 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27324 (__libc_sigaction): Likewise.
27325 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27326 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27328 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27330 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
27332 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
27334 * string/mempcpy.c: Implement by calling memcpy.
27336 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27344 values in the mantissa.
27346 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27347 minimize writes to Z.
27348 (sub_magnitudes): Simplify code a bit.
27350 2013-02-12 Roland McGrath <roland@hack.frob.com>
27352 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27353 from the message. The linker prefixes all warnings with that already.
27355 2013-02-12 Andreas Schwab <schwab@suse.de>
27358 * posix/regexec.c (extend_buffers): Add parameter min_len.
27359 (check_matching): Pass minimum needed length.
27360 (clean_state_log_if_needed): Likewise.
27361 (get_subexp): Likewise.
27362 * posix/Makefile (tests): Add bug-regex34.
27363 (bug-regex34-ENV): Define.
27364 * posix/bug-regex34.c: New file.
27367 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27368 elements compare against the byte sequence of it, not its name.
27369 * posix/Makefile (tests): Add bug-regex35.
27370 (bug-regex35-ENV): Define.
27371 * posix/bug-regex35.c: New file.
27373 2013-02-11 Tom de Vries <tom@codesourcery.com>
27375 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27377 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27378 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27379 (CHECK_EOL): Add undef.
27381 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
27383 * bits/stdlib-bsearch.h: New file.
27384 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
27385 * stdlib/stdlib.h: Likewise.
27387 2013-02-11 Roland McGrath <roland@hack.frob.com>
27389 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27390 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27392 * manual/search.texi (Array Search Function): Add missing const in
27394 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27395 declaration to use rlim_t.
27396 (Basic Scheduling Functions): Remove erroneous const from
27397 sched_getparam prototype. Remove erroneous * from
27398 sched_get_priority_max and sched_get_priority_min prototypes.
27399 (Resource Usage): Fix summary @comment on vtimes to refer to
27400 sys/vtimes.h rather than vtimes.h.
27401 Add missing *s in vtimes prototype.
27402 (Limits on Resources): Fix ulimit prototype to return long int.
27403 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27404 prototypes to use long int rather than double.
27405 (BSD Random): Fix initstate and setstate to use char *, not void *.
27406 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27407 prototype to make second argument 'struct aiocb64 *const[]'.
27408 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27409 (Status of AIO Operations): Remove erroneous const in aio_return and
27410 aio_return64 prototypes.
27411 (Synchronizing I/O): Fix sync prototype to return void.
27412 * manual/startup.texi (Suboptions): Remove an erroneous const in
27413 getsubopt prototype.
27414 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27415 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27416 use size_t rather than int.
27417 (Scanning All Users): Likewise for getpwent_r.
27418 (Setting Groups): Add missing const to setgroups prototype.
27419 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27420 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27421 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27422 'const void *' rather than 'const char *'.
27423 (Host Address Functions): Likewise for inet_ntop.
27424 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27425 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27426 ssize_t for return value.
27427 (Sending Data): Likewise for send, sendto, sendmsg.
27428 (Socket Option Functions): Add a missing const in setsockopt prototype.
27429 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27430 use wchar_t for the argument.
27431 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27432 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27434 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27435 double/float/long double for second argument.
27436 Fix return types of significand, significandf, significandl.
27437 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27438 argument in fchmod prototype.
27439 (File Owner): Use uid_t and gid_t in fchown prototype.
27440 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27441 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27442 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27443 use 'const struct dirent **' as argument types to CMP function pointer
27445 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27446 (File Times): Fix summary magic @comment for struct utimbuf and utime
27447 to refer to utime.h, not time.h.
27448 * manual/string.texi (Argz Functions): Add missing const in
27449 argz_extract and argz_next prototypes.
27450 (Finding Tokens in a String): Likewise for basename.
27451 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27452 (Copying and Concatenation): Fix typo in wmemmove prototype.
27453 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27454 (Signal Stack): Remove erroneous const in sigstack prototype.
27455 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27457 (Simple Calendar Time): Likewise for stime.
27458 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27460 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27461 say sys/sysctl.h instead.
27462 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27463 and vsyslog prototypes.
27465 2013-02-11 Tom de Vries <tom@codesourcery.com>
27467 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27470 2013-02-11 Roland McGrath <roland@hack.frob.com>
27472 * misc/sys/mman.h: Fix typo in mremap comment.
27474 2013-02-08 Roland McGrath <roland@hack.frob.com>
27476 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27477 the '\0' terminator.
27479 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27482 * debug/segfault.c: Don't include <bp-checks.h>.
27483 * sysdeps/generic/bp-checks.h: Remove file.
27484 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27485 (__GETDENTS): Don't use CHECK_N.
27486 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27487 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27488 (__getgroups): Don't use CHECK_N.
27489 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27490 (setgroups): Don't use CHECK_N.
27491 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27492 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27493 (__libc_msgrcv): Don't use CHECK_N.
27494 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27495 (__libc_msgsnd): Don't use CHECK_N.
27496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27498 (__libc_pread): Don't use CHECK_N.
27499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27500 include <bp-checks.h>.
27501 (__libc_pread64): Don't use CHECK_N.
27502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27503 include <bp-checks.h>.
27504 (__libc_pwrite): Don't use CHECK_N.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27506 include <bp-checks.h>.
27507 (__libc_pwrite64): Don't use CHECK_N.
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27510 (__libc_pread): Don't use CHECK_N.
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27512 include <bp-checks.h>.
27513 (__libc_pread64): Don't use CHECK_N.
27514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27515 include <bp-checks.h>.
27516 (__libc_pwrite): Don't use CHECK_N.
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27518 include <bp-checks.h>.
27519 (__libc_pwrite64): Don't use CHECK_N.
27520 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27521 (do_pread): Don't use CHECK_N.
27522 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27523 (do_pread64): Don't use CHECK_N.
27524 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27525 (do_pwrite): Don't use CHECK_N.
27526 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27527 (do_pwrite64): Don't use CHECK_N.
27528 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27529 (__libc_readv): Don't use CHECK_N.
27530 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27531 (semop): Don't use CHECK_N.
27532 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27534 (semtimedop): Don't use CHECK_N.
27535 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27536 (__libc_pread): Don't use CHECK_N.
27537 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27539 (__libc_pread64): Don't use CHECK_N.
27540 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27542 (__libc_pwrite): Don't use CHECK_N.
27543 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27545 (__libc_pwrite64): Don't use CHECK_N.
27546 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27548 (__libc_msgrcv): Don't use CHECK_N.
27549 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27550 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27551 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27552 (__libc_writev): Don't use CHECK_N.
27554 2013-02-08 Roland McGrath <roland@hack.frob.com>
27556 * string/strcpy.c: Removed unused variable.
27558 * Makeconfig (+sysdep-includes): Define with := rather than =.
27559 Use an existing include/ subdir of each sysdeps dir before it.
27561 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27563 * nscd/connection.c (register_traced_file): Comment function.
27564 [HAVE_INOTIFY] (union __inev): Define.
27565 [HAVE_INOTIFY] (inotify_check_files): New function.
27566 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27567 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27569 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27571 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27573 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27574 loaded if not already and that a failure is permanent.
27576 2013-02-08 Carlos O'Donell <carlos@redhat.com>
27579 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27580 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27582 2013-02-08 Joseph Myers <joseph@codesourcery.com>
27585 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27586 (CHECK_1_NULL_OK): Likewise.
27587 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27588 (__fxstat): Do not use CHECK_1.
27589 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27591 (___fxstat64): Do not use CHECK_1.
27592 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27594 (__fxstatat): Do not use CHECK_1.
27595 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27597 (__fxstatat64): Do not use CHECK_1.
27598 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27600 (__fxstat): Do not use CHECK_1.
27601 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27603 (__fxstatat): Do not use CHECK_1.
27604 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27606 (__getresgid): Do not use CHECK_1.
27607 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27609 (__getresuid): Do not use CHECK_1.
27610 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27612 (__lxstat): Do not use CHECK_1.
27613 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27615 (__old_msgctl): Do not use CHECK_1.
27616 (__new_msgctl): Likewise.
27617 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27619 (__new_setrlimit): Do not use CHECK_1.
27620 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27622 (__old_shmctl): Do not use CHECK_1.
27623 (__new_shmctl): Likewise.
27624 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27626 (__xstat): Do not use CHECK_1.
27627 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27628 (__lxstat): Do not use CHECK_1.
27629 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27631 (___lxstat64): Do not use CHECK_1.
27632 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27633 (__old_msgctl): Do not use CHECK_1.
27634 (__new_msgctl): Likewise.
27635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27637 (__gettimeofday): Do not use CHECK_1.
27638 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27639 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27640 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27642 (__gettimeofday): Do not use CHECK_1.
27643 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27644 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27645 (__new_shmctl): Do not use CHECK_1.
27646 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27648 (do_sigtimedwait): Do not use CHECK_1.
27649 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27651 (do_sigwaitinfo): Do not use CHECK_1.
27652 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27654 (msgctl): Do not use CHECK_1.
27655 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27657 (shmctl): Do not use CHECK_1.
27658 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27659 (ustat): Do not use CHECK_1.
27660 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27662 (__fxstat): Do not use CHECK_1.
27663 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27665 (__fxstatat): Do not use CHECK_1.
27666 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27668 (__lxstat): Do not use CHECK_1.
27669 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27671 (__xstat): Do not use CHECK_1.
27672 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27673 (__xstat): Do not use CHECK_1.
27674 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27675 (___xstat64): Do not use CHECK_1.
27678 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27680 (CHECK_BOUNDS_HIGH): Likewise.
27681 * string/strcpy.c: Do not include <bp-checks.h>.
27682 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27684 2013-02-07 Roland McGrath <roland@hack.frob.com>
27686 * nscd/nscd-client.h (__nscd_drop_map_ref):
27687 Add __attribute__ ((unused)).
27688 * nis/nss-nisplus.h (niserr2nss): Likewise.
27690 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27691 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27693 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27694 Remove inline keyword.
27695 * include/rounding-mode.h (round_away): Likewise.
27696 * libio/wfileops.c (adjust_wide_data): Likewise.
27697 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27698 (__m128i_strloadu_tolower): Likewise.
27699 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27700 (__m128i_strloadu_tolower): Likewise.
27701 * time/mktime.c (ydhms_diff): Likewise.
27702 * locale/elem-hash.h (elem_hash): Likewise.
27703 * locale/setlocale.c (setdata): Likewise.
27704 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27705 (re_string_wchar_at): Likewise.
27706 (bitset_not, bitset_merge, bitset_mask): Likewise.
27707 [!(__GNUC__ > 3)] (inline): Remove macro.
27708 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27709 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27710 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27711 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27712 * string/memcmp.c (memcmp_bytes): Likewise.
27713 * locale/programs/locarchive.c (compute_hashval): Likewise.
27714 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27715 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27716 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27717 * nss/getent.c (print_rpc, print_protocols): Likewise.
27718 (print_passwd, print_group, print_aliases): Likewise.
27719 * nis/nss-nisplus.h (niserr2nss): Likewise.
27720 * nscd/connections.c (restart_p): Likewise.
27721 Change return type to bool.
27723 2013-02-05 Roland McGrath <roland@hack.frob.com>
27725 * Makeconfig (all-Depend-files): Add existing
27726 $(sorted-subdirs:=/Depend) files.
27727 (all-subdirs): Remove nss.
27728 * sysdeps/unix/inet/Subdirs: Add it here instead.
27729 * hesiod/Depend: New file.
27731 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27732 instead of calling alloca.
27734 * io/lseek.c (__lseek): Rename to __libc_lseek.
27735 Define __lseek as an alias.
27737 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27739 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27741 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27742 else clause and remove check for non-standard endianness.
27744 2013-02-04 David S. Miller <davem@davemloft.net>
27746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27748 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27751 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27752 (__ubp_memchr): Remove prototype.
27753 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27754 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27755 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27756 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27757 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27759 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27760 (__ubp_memchr): Likewise.
27761 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27762 (__ubp_memchr): Likewise.
27763 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27764 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27765 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27768 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27769 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27770 (__getcwd): Do not use CHECK_STRING.
27771 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27773 (__real_chown): Do not use CHECK_STRING.
27774 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27776 (fchownat): Do not use CHECK_STRING.
27777 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27779 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27781 (__lchown): Do not use CHECK_STRING.
27782 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27783 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27784 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27785 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27787 include <bp-checks.h>.
27788 (truncate64): Do not use CHECK_STRING.
27789 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27791 (__real_chown): Do not use CHECK_STRING.
27792 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27794 (__lchown): Do not use CHECK_STRING.
27795 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27797 (__chown): Do not use CHECK_STRING.
27798 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27800 (truncate64): Do not use CHECK_STRING.
27801 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27803 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27804 (__xmknod): Do not use CHECK_STRING.
27805 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27807 (__xmknodat): Do not use CHECK_STRING.
27808 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27809 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27811 2013-02-04 Andreas Schwab <schwab@suse.de>
27814 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27815 * include/netdb.h: Likewise for h_errno.
27816 * elf/tst-stackguard1.c: Include <tls.h>.
27818 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27820 * elf/link.h (struct link_map): Extend the l_addr comment.
27821 * include/link.h (struct link_map): Likewise.
27823 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27826 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27827 (BOUNDED_1): Remove macro.
27828 * debug/backtrace.c: Don't include <bp-checks.h>.
27829 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27830 (__backtrace): Likewise.
27831 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27833 (__backtrace): Don't use BOUNDED_1.
27834 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27836 (__backtrace): Don't use BOUNDED_1.
27837 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27838 (__backtrace): Don't use BOUNDED_1.
27839 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27840 (shmat): Don't use BOUNDED_N.
27842 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27845 * sysdeps/generic/bp-start.h: Remove file.
27846 * csu/libc-start.c: Don't include <bp-start.h>.
27847 (LIBC_START_MAIN): Set up __environ directly instead of using
27848 INIT_ARGV_and_ENVIRON.
27849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27853 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27855 (CHECK_FCNTL): Likewise.
27856 (CHECK_N_PAGES): Likewise.
27859 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27861 (CHECK_SIGSET_NULL_OK): Likewise.
27862 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27864 (sigpending): Don't use CHECK_SIGSET.
27865 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27867 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27868 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27870 (do_sigsuspend): Don't use CHECK_SIGSET.
27871 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27873 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27874 (do_sigwait): Don't use CHECK_SIGSET.
27875 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27877 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27878 include <bp-checks.h>.
27879 (sigpending): Don't use CHECK_SIGSET.
27880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27881 include <bp-checks.h>.
27882 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27883 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27885 (sigpending): Don't use CHECK_SIGSET.
27886 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27888 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27891 * sysdeps/generic/bp-semctl.h: Remove file.
27892 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27893 <bp-checks.h> and <bp-semctl.h>.
27894 (__old_semctl): Don't use CHECK_SEMCTL.
27895 (__new_semctl): Likewise.
27896 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27898 (__old_semctl): Don't use CHECK_SEMCTL.
27899 (__new_semctl): Likewise.
27900 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27901 <bp-checks.h> and <bp-semctl.h>.
27902 (__old_semctl): Don't use CHECK_SEMCTL.
27903 (__new_semctl): Likewise.
27904 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27905 <bp-checks.h> and <bp-semctl.h>.
27906 (semctl): Don't use CHECK_SEMCTL.
27909 * Makerules (elide-bp-thunks): Remove variable.
27910 (elide-routines.oS): Don't use $(elide-bp-thunks).
27911 (elide-routines.os): Likewise.
27912 (elide-routines.o): Likewise.
27913 (elide-routines.op): Likewise.
27914 (elide-routines.og): Likewise.
27915 (objects): Don't use $(bp-thunks).
27916 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27918 (common-generated): Do not add s-proto-bp.d.
27919 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27922 Do not generate makefile rules for bounded-pointer thunks.
27923 * sysdeps/generic/bp-thunks.h: Remove file.
27924 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27925 * sysdeps/unix/s-proto-bp.S: Likewise.
27928 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27929 parts of result separately when argument is not close to line from
27930 -i to i and one part of argument is small.
27931 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27932 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27933 * math/libm-test.inc (cacos_test): Add more tests.
27934 (casin_test): Likewise.
27935 (casinh_test): Likewise.
27936 * sysdeps/i386/fpu/libm-test-ulps: Update.
27937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27939 2013-01-31 David S. Miller <davem@davemloft.net>
27941 * po/de.po: Update from translation team.
27943 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27945 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27947 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27949 * configure.in (_AC_PROG_CC_C89): New definition.
27950 * configure: Regenerate.
27952 * configure.in (AC_PROG_CPP): New definition.
27953 * configure: Regenerate.
27955 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27957 * debug/tst-backtrace.h: New file.
27958 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27959 (ret): Remove variable.
27961 (FAIL): Remove macro.
27962 (NO_INLINE): Likewise.
27963 (fn1): Use match function instead of strstr.
27964 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27965 (ret): Remove variable.
27967 (FAIL): Remove macro.
27968 (NO_INLINE): Likewise.
27969 (fn): Use match function instead of strstr.
27970 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27971 (ret): Remove variable.
27973 (FAIL): Remove macro.
27974 (NO_INLINE): Likewise.
27975 (handle_signal): Use match function instead of strstr.
27976 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27977 (ret): Remove variable.
27979 (FAIL): Remove macro.
27980 (NO_INLINE): Likewise.
27981 (handle_signal): Use match function instead of strstr.
27983 2013-01-23 Roland McGrath <roland@hack.frob.com>
27985 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27987 2013-01-23 David S. Miller <davem@davemloft.net>
27989 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27990 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27991 argument of CAS if possible.
27992 * sysdeps/sparc/sparc64/bits/atomic.h
27993 (__arch_compare_and_exchange_val_32_acq): Likewise.
27994 (__arch_compare_and_exchange_val_64_acq): Likewise.
27996 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27998 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27999 * sysdeps/posix/ulimit.c: ... this.
28000 Include <limits.h>.
28001 * sysdeps/unix/bsd/ulimit.c: Remove file.
28003 2013-01-23 Adam Conrad <adconrad@0c3.net>
28005 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28006 (LDFLAGS-tst-array5): Likewise.
28008 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28011 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28012 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28013 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28014 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28016 2013-01-21 David S. Miller <davem@davemloft.net>
28018 * sysdeps/sparc/backtrace.c: New file.
28019 * sysdeps/sparc/sparc32/backtrace.h: New file.
28020 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28021 * sysdeps/sparc/sparc64/backtrace.h: New file.
28022 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28023 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28026 2013-01-21 Andreas Schwab <schwab@suse.de>
28029 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28032 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28038 2013-01-18 Joseph Myers <joseph@codesourcery.com>
28039 Mark Mitchell <mark@codesourcery.com>
28040 Tom de Vries <tom@codesourcery.com>
28041 Paul Pluzhnikov <ppluzhnikov@google.com>
28043 * debug/tst-backtrace2.c: New file.
28044 * debug/tst-backtrace3.c: Likewise.
28045 * debug/tst-backtrace4.c: Likewise.
28046 * debug/tst-backtrace5.c: Likewise.
28047 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28048 (CFLAGS-tst-backtrace3.c): Likewise.
28049 (CFLAGS-tst-backtrace4.c): Likewise.
28050 (CFLAGS-tst-backtrace5.c): Likewise.
28051 (LDFLAGS-tst-backtrace2): Likewise.
28052 (LDFLAGS-tst-backtrace3): Likewise.
28053 (LDFLAGS-tst-backtrace4): Likewise.
28054 (LDFLAGS-tst-backtrace5): Likewise.
28055 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28056 tst-backtrace4 and tst-backtrace5.
28058 2013-01-18 Anton Blanchard <anton@samba.org>
28059 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28061 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28062 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28063 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28064 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28066 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28067 "+r" and remove output regs list as redundant. Add explicit inline
28068 asm to specify register of return val to work around compiler codegen
28069 bug. Remove (int) cast on return value. Add return type parameter to
28070 use in macro so that this macro does not truncate return value for
28072 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28073 pass to INTERNAL_VSYSCALL_NCS.
28074 (INLINE_VSYSCALL): Add 'long int' as return type to
28075 INTERNAL_VSYSCALL_NCS macro invocation.
28076 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28077 INTERNAL_VSYSCALL_NCS macro invocation.
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28080 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28083 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28084 Fix application of SIMD FP exception mask.
28086 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28087 mp_no from a power of two.
28088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28089 __mpexp_twomm1. Use __pow_mp.
28091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28094 2013-01-17 David S. Miller <davem@davemloft.net>
28096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28098 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28101 * include/complex.h: Condition contents on [!_COMPLEX_H].
28102 (__kernel_casinhf): New prototype.
28103 (__kernel_casinh): Likewise.
28104 (__kernel_casinhl): Likewise.
28105 * math/Makefile (libm_calls): Add k_casinh.
28106 * math/k_casinh.c: New file.
28107 * math/k_casinhf.c: Likewise.
28108 * math/k_casinhl.c: Likewise.
28109 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28110 finite nonzero arguments.
28111 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28112 finite nonzero arguments.
28113 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28114 finite nonzero arguments.
28115 * math/s_casinh.c: Do not include <float.h>.
28116 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28117 * math/s_casinhf.c: Do not include <float.h>.
28118 (__casinhf): Move code for finite nonzero arguments to
28120 * math/s_casinhl.c: Do not include <float.h>.
28121 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28123 (__casinhl): Move code for finite nonzero arguments to
28125 * math/libm-test.inc (cacos_test): Add more tests.
28126 * sysdeps/i386/fpu/libm-test-ulps: Update.
28127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28129 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28131 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28132 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28133 [!HAVE_MREMAP]: Remove [defined linux] case.
28134 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28136 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28138 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28140 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
28142 * elf/elf.h (R_386_SIZE32): New relocation.
28143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28145 (elf_machine_rela): Likewise.
28146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28147 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28149 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28151 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28152 (FP_FAST_FMA): Do not define.
28153 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28154 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28155 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28156 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28157 !_SOFT_FLOAT]: Likewise.
28158 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28162 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28163 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28165 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28166 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28169 2013-01-16 Andreas Schwab <schwab@suse.de>
28172 * include/stdlib.h (__mktemp): Add declaration.
28173 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28174 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28176 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28178 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28180 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28181 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28182 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28184 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28185 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28187 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28189 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28190 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28193 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28194 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28196 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28198 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28200 2013-01-15 David S. Miller <davem@davemloft.net>
28202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28203 trunc{,f} to libm-sysdep_routes.
28204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28214 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28215 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28216 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28217 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28218 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28219 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28222 nearbyint{,f} to libm-sysdep_routes.
28223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28236 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28240 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28241 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28243 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28244 libc_feholdexcept and libc_fesetenv.
28246 2013-01-15 Mike Frysinger <vapier@gentoo.org>
28248 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28250 2013-01-14 David S. Miller <davem@davemloft.net>
28252 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28253 (SPARC_ASM_VIS2_IFUNC): Likewise.
28254 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28256 use of 'siam' instruction.
28257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28290 routines to libm-sysdep_routines.
28291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28294 fdim/fdimf to libm-sysdep_routines.
28295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28303 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28304 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28306 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28308 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28310 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28311 to optimize copies.
28313 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28318 local variable MPTWO.
28319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28322 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28324 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28327 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28329 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28331 2013-01-13 Mike Frysinger <vapier@gentoo.org>
28333 * manual/pattern.texi (glob_t): Document gl_flags.
28334 (glob64_t): Likewise.
28336 2013-01-11 David S. Miller <davem@davemloft.net>
28338 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28339 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28340 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
28341 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28342 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28343 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28344 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28345 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28346 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28347 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28348 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28349 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28350 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28352 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28353 sparc V9 rather than using V8 code.
28354 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28355 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28359 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28362 2013-01-11 Roland McGrath <roland@hack.frob.com>
28364 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28365 not in the main loop.
28366 * configure: Regenerated.
28368 2013-01-11 Joseph Myers <joseph@codesourcery.com>
28370 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28371 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28373 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28374 [!__GLIBC_HAVE_LONG_LONG] case.
28375 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28376 condition to just #else.
28377 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28378 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28379 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28380 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28382 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28383 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28384 #elif condition to just #else.
28385 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28386 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28387 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28388 #elif condition to just #else.
28390 2013-01-11 Steve Ellcey <sellcey@mips.com>
28392 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28393 (EF_MIPS_ARCH_64): Fix value.
28394 (EF_MIPS_ARCH_32R2): New.
28395 (EF_MIPS_ARCH_64R2): New.
28397 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28399 * Makeconfig (+link-pie-before-libc): New.
28400 (+link-pie-after-libc): Likewise.
28401 (+link-pie-tests): Likewise.
28402 (+link-pie): Rewritten.
28403 (link-before-libc): Remove $(config-LDFLAGS).
28404 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28405 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28406 (config-LDFLAGS): Renamed to ...
28407 (rtld-LDFLAGS): This.
28408 (rtld-tests-LDFLAGS): New macro.
28409 (link-libc-rpath-link): Likewise.
28410 (link-libc-tests-rpath-link): Likewise.
28411 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28412 (link-libc): Prepand $(link-libc-rpath-link).
28413 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28414 (test-program-prefix): New macro.
28415 (test-via-rtld-prefix): Likewise.
28416 (test-program-cmd): Likewise.
28417 (host-test-program-cmd): Likewise.
28418 * Makefile ($(common-objpfx)testrun.sh): Replace
28419 $(run-program-prefix) with $(test-program-prefix).
28420 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28422 ($(common-objpfx)shlib.lds): Likewise.
28423 (build-module-helper): Likewise.
28424 ($(common-objpfx)format.lds): Likewise.
28425 * Rules (binaries-pie-tests): New.
28426 (binaries-pie-notests): Likewise.
28427 (binaries-pie): Rewritten.
28428 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28429 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28430 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28431 (make-test-out): Replace $(host-built-program-cmd) with
28432 $(host-test-program-cmd).
28433 * config.make.in (build-hardcoded-path-in-tests): New variable.
28434 * configure.in (--enable-hardcoded-path-in-tests): New configure
28436 (hardcoded_path_in_tests): New AC_SUBST.
28437 * configure: Regenerated.
28438 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28439 $(built-program-cmd) with $(test-program-cmd).
28440 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28441 (test_program_cmd): This.
28442 * elf/Makefile ($(objpfx)order.out): Run test with
28443 $(test-program-prefix).
28444 ($(objpfx)order2.out): Likewise.
28445 ($(objpfx)tst-initorder.out): Likewise.
28446 ($(objpfx)tst-initorder2.out): Likewise.
28447 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28448 $(test-program-cmd).
28449 ($(objpfx)tst-array1-static.out): Likewise.
28450 ($(objpfx)tst-array2.out): Likewise.
28451 ($(objpfx)tst-array3.out): Likewise.
28452 ($(objpfx)tst-array4.out): Likewise.
28453 ($(objpfx)tst-array5.out): Likewise.
28454 ($(objpfx)tst-array5-static.out): Likewise.
28455 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28456 $(test-program-cmd).
28457 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28458 $(run-program-prefix) with $(test-program-prefix).
28459 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28460 (test_program_prefix): This.
28461 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28462 $(run-program-prefix) with $(test-program-prefix).
28463 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28464 (test_program_prefix): This.
28465 * iconvdata/tst-tables.sh: Likewise.
28466 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28467 $(run-program-prefix) with $(test-program-prefix).
28468 ($(objpfx)tst-translit.out): Likewise.
28469 ($(objpfx)tst-gettext2.out): Likewise.
28470 ($(objpfx)tst-gettext4.out): Likewise.
28471 ($(objpfx)tst-gettext6.out): Likewise.
28472 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28473 (test_program_prefix): This.
28474 * intl/tst-gettext2.sh: Likewise.
28475 * intl/tst-gettext4.sh Likewise.
28476 * intl/tst-gettext6.sh: Likewise.
28477 * intl/tst-translit.sh: Likewise.
28478 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28479 with $(test-program-cmd).
28480 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28481 $(run-program-prefix) with $(test-program-prefix).
28482 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28483 (test_program_prefix): This.
28484 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28485 $(run-program-prefix) with $(test-program-prefix).
28486 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28487 (test_program_prefix): This.
28488 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28489 * posix/Makefile ($(objpfx)globtest.out): Replace
28490 $(run-via-rtld-prefix) and $(test-wrapper) with
28491 $(test-program-prefix) and $(test-via-rtld-prefix).
28492 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28493 $(test-program-prefix).
28494 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28495 $(host-test-program-cmd).
28496 (tst-spawn-ARGS): Likewise.
28497 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28498 $(test-program-prefix).
28499 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28500 (test_via_rtld_prefix): This.
28501 (test_wrapper): Renamed to ...
28502 (test_program_prefix): This.
28503 (run_program_prefix): Replaced by test_program_prefix.
28504 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28505 (test_program_prefix): This.
28506 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28507 with $(host-test-program-cmd).
28508 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28509 $(run-program-prefix) with $(test-program-prefix).
28510 ($(objpfx)tst-printf.out): Likewise.
28511 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28512 $(test-program-cmd).
28513 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28514 (test_program_prefix): This.
28515 * stdio-common/tst-unbputc.sh: Likewise.
28516 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28517 $(run-program-prefix) with $(test-program-prefix).
28518 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28519 (test_program_prefix): This.
28520 * string/Makefile ($(objpfx)tst-svc.out): Replace
28521 $(built-program-cmd) with $(test-program-cmd).
28523 2013-01-11 Andreas Jaeger <aj@suse.de>
28526 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28527 value. Sync with Linux 3.7.
28529 2013-01-10 David S. Miller <davem@davemloft.net>
28531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28535 2013-01-10 Roland McGrath <roland@hack.frob.com>
28537 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28539 * configure: Regenerated.
28541 2013-01-10 David S. Miller <davem@davemloft.net>
28543 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28544 sparc V9 rather than using V8 code.
28545 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28546 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28548 2013-01-10 Roland McGrath <roland@hack.frob.com>
28550 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28551 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28552 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28553 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28554 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28555 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28556 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28557 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28558 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28559 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28560 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28561 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28562 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28563 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28564 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28565 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28566 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28567 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28568 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28569 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28570 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28571 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28572 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28573 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28574 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28575 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28576 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28578 2013-01-10 David S. Miller <davem@davemloft.net>
28580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28582 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28584 * posix/Makefile (tests-static): New variable.
28585 (tests): Add $(tests-static).
28586 (tst-exec-static-ARGS): New variable.
28587 (tst-spawn-static-ARGS): Likewise.
28588 * posix/tst-exec-static.c: New file.
28589 * posix/tst-spawn-static.c: Likewise.
28590 * posix/tst-exec.c: Support run directly.
28591 * posix/tst-spawn.c: Likewise.
28593 2013-01-10 Joseph Myers <joseph@codesourcery.com>
28595 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28597 * math/bits/mathcalls.h (llrint): Likewise.
28598 (llround): Likewise.
28599 * stdlib/stdlib.h (struct drand48_data): Likewise.
28600 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28601 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28602 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28604 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28606 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28607 (elf_greg_t): Likewise.
28608 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28609 (__jmp_buf): Likewise.
28610 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28612 (llrint): Likewise, for all definitions.
28613 (llrintl): Likewise.
28615 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28616 Remove [__GNUC__] condition.
28617 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28618 condition to just [__USE_ISOC99].
28619 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28621 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28624 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28625 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28627 (_POSIX_V6_ILP32_OFF32): Likewise.
28628 (_XBS5_ILP32_OFF32): Likewise.
28629 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28630 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28632 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28634 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28637 doubles __mpexp_twomm1. Adjust usage.
28638 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28641 2013-01-10 Andreas Schwab <schwab@suse.de>
28644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28645 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28647 2013-01-09 David S. Miller <davem@davemloft.net>
28650 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28651 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28652 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28653 (TCP_FASTOPEN): Define.
28654 (tcp_repair_opt): New structure.
28655 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28657 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28658 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28659 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28660 (tcp_cookie_transactions): New structure.
28662 2013-01-09 Anton Blanchard <anton@samba.org>
28664 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28665 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28666 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28667 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28669 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28671 * include/features.h (__USE_ANSI): Remove.
28673 2013-01-09 Roland McGrath <roland@hack.frob.com>
28675 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28677 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28679 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28681 * sysdeps/s390/fpu/libm-test-ulps: Update.
28683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28685 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28689 (denorm): Likewise.
28690 (__mp_dbl): Likewise.
28691 (__dbl_mp): Likewise.
28692 (add_magnitudes): Likewise.
28693 (sub_magnitudes): Likewise.
28699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28703 (denorm): Likewise.
28704 (__mp_dbl): Likewise.
28705 (__dbl_mp): Likewise.
28706 (add_magnitudes): Likewise.
28707 (sub_magnitudes): Likewise.
28713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28717 (denorm): Likewise.
28718 (__mp_dbl): Likewise.
28719 (__dbl_mp): Likewise.
28720 (add_magnitudes): Likewise.
28721 (sub_magnitudes): Likewise.
28728 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28730 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28731 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28732 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28733 2 && __USE_EXTERN_INLINES]: Likewise.
28735 2013-01-08 Andreas Jaeger <aj@suse.de>
28738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28740 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28741 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28743 2013-01-07 Anton Blanchard <anton@samba.org>
28745 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28746 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28747 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28748 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28749 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28750 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28751 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28752 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28754 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28759 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28760 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28763 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28764 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28765 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28766 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28767 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28768 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28769 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28770 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28771 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28772 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28773 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28775 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28778 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28780 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28781 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28782 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28783 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28784 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28785 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28787 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28789 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28791 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28792 (__MALLOC_PMT): Likewise.
28793 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28794 [__GNUC__], only on [_LIBC].
28795 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28796 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28797 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28798 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28799 forward declaration.
28800 (realloc_hook_ini): Likewise.
28801 (memalign_hook_ini): Likewise.
28802 (__libc_memalign): Do not use __MALLOC_PMT in variable
28804 (__libc_valloc): Likewise.
28805 (__libc_pvalloc): Likewise.
28806 (__libc_calloc): Likewise.
28807 (__posix_memalign): Likewise.
28810 * math/s_casinh.c: Include <float.h>.
28811 (__casinh): Do not do computation with squaring and square root
28812 for large arguments.
28813 * math/s_casinhf.c: Include <float.h>.
28814 (__casinhf): Do not do computation with squaring and square root
28815 for large arguments.
28816 * math/s_casinhl.c: Include <float.h>.
28817 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28818 (__casinhl): Do not do computation with squaring and square root
28819 for large arguments.
28820 * math/libm-test.inc (casin_test): Add more tests.
28821 (casinh_test): Likewise.
28822 * sysdeps/i386/fpu/libm-test-ulps: Update.
28823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28825 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28827 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28828 (__x86_64_raw_data_cache_size): Likewise.
28829 (__x86_64_data_cache_size_half): Likewise.
28830 (__x86_64_raw_data_cache_size_half): Likewise.
28831 (__x86_64_shared_cache_size): Likewise.
28832 (__x86_64_raw_shared_cache_size): Likewise.
28833 (__x86_64_shared_cache_size_half): Likewise.
28834 (__x86_64_raw_shared_cache_size_half): Likewise.
28835 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28837 (__x86_data_cache_size): This.
28838 (__x86_64_raw_data_cache_size): Renamed to ...
28839 (__x86_raw_data_cache_size): This.
28840 (__x86_64_data_cache_size_half): Renamed to ...
28841 (__x86_data_cache_size_half): This.
28842 (__x86_64_raw_data_cache_size_half): Renamed to ...
28843 (__x86_raw_data_cache_size_half): This.
28844 (__x86_64_shared_cache_size): Renamed to ...
28845 (__x86_shared_cache_size): This.
28846 (__x86_64_raw_shared_cache_size): Renamed to ...
28847 (__x86_raw_shared_cache_size): This.
28848 (__x86_64_shared_cache_size_half): Renamed to ...
28849 (__x86_shared_cache_size_half): This.
28850 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28851 (__x86_raw_shared_cache_size_half): This.
28852 * sysdeps/x86_64/memcpy.S: Updated.
28853 * sysdeps/x86_64/memset.S: Likewise.
28854 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28856 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28858 2013-01-04 David S. Miller <davem@davemloft.net>
28860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28862 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28864 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28865 1 to avoid redefinition warning.
28866 (__USE_GNU): Don't define.
28867 (init_signaling_nan): Protoize.
28869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28871 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28873 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28875 (__cpymn): Likewise.
28876 (norm): Remove commented code.
28877 (denorm): Likewise.
28878 (__mp_dbl): Likewise.
28880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28881 (__cpymn): Likewise.
28882 (norm): Remove commented code.
28883 (denorm): Likewise.
28884 (__mp_dbl): Likewise.
28887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28888 mp_no value for 1.0 and 2.0.
28889 (norm): Use RADIXI instead of radixi.d.
28890 (denorm): Likewise.
28891 (__mul): Use 0.0 instead of zero.d.
28892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28893 mp_no value for 1.0 and 2.0.
28894 (norm): Use RADIXI instead of radixi.d.
28895 (denorm): Likewise.
28896 (__mul): Use 0.0 instead of zero.d.
28898 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28901 * math/s_casinh.c (__casinh): Reduce finite argument to first
28902 quadrant then set signs of results at the end.
28903 * math/s_casinhf.c (__casinhf): Likewise.
28904 * math/s_casinhl.c (__casinhl): Likewise.
28905 * math/libm-test.inc (casin_test): Add more tests.
28906 (casinh_test): Likewise.
28907 * sysdeps/i386/fpu/libm-test-ulps: Update.
28908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28910 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28912 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28914 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28916 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28918 (denorm): Likewise.
28919 (__mp_dbl): Likewise.
28922 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28923 and adjust the header comment.
28925 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28926 variable name from declaration.
28928 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28931 Initialize COMMON_CPUID_INDEX_7 element.
28932 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28933 (CPUID_RTM): Likewise.
28934 (HAS_RTM): Likewise.
28935 (COMMON_CPUID_INDEX_7): New enum.
28937 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28940 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28941 size is zero, record memory as freed.
28943 2013-01-03 Andreas Jaeger <aj@suse.de>
28945 * po/ia.po: Add new Interlingua translation.
28947 2012-01-03 Allan McRae <allan@archlinux.org>
28949 * locale/programs/localedef.c: Fix description of '--posix' flag.
28951 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28953 * NEWS: Update dates in second copyright notice.
28954 * README: Update copyright dates in example.
28955 * manual/libc.texinfo: Update copyright dates.
28956 * scripts/test-installation.pl: Update copyright date in --version
28959 * hurd/ctty-input.c: Fix copyright notice formatting.
28960 * hurd/ctty-output.c: Likewise.
28961 * hurd/dtable.c: Likewise.
28962 * hurd/hurd-raise.c: Likewise.
28963 * hurd/hurdprio.c: Likewise.
28964 * hurd/msgportdemux.c: Likewise.
28965 * misc/sys/file.h: Likewise.
28966 * misc/sys/ioctl.h: Likewise.
28967 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28968 * sysdeps/mach/hurd/chdir.c: Likewise.
28969 * sysdeps/mach/hurd/fchdir.c: Likewise.
28970 * sysdeps/mach/hurd/rename.c: Likewise.
28971 * sysdeps/mach/hurd/rmdir.c: Likewise.
28972 * sysdeps/mach/hurd/seekdir.c: Likewise.
28973 * sysdeps/mach/hurd/setsid.c: Likewise.
28974 * sysdeps/posix/wait3.c: Likewise.
28976 * All files with FSF copyright notices: Update copyright dates
28977 using scripts/update-copyrights.
28978 * intl/plural.c: Regenerated.
28979 * locale/programs/charmap-kw.h: Likewise.
28980 * locale/programs/locfile-kw.h: Likewise.
28982 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28984 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28987 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28988 calculation loop and add branch prediction.
28990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28991 check access beyond bounds of m1np.
28993 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28995 (__inv): Remove local variable MPTWO to use the global
28997 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28998 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29000 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29001 MP3HALFS static const.
29003 2013-01-01 David S. Miller <davem@davemloft.net>
29005 * po/ca.po: Update from translation team.
29007 2013-01-01 Joseph Myers <joseph@codesourcery.com>
29009 * scripts/update-copyrights: New file.
29010 * Makeconfig: Reformat copyright notice.
29011 * ctype/ctype.h: Likewise.
29012 * debug/swprintf_chk.c: Likewise.
29013 * elf/dl-cache.c: Likewise.
29014 * elf/dl-debug.c: Likewise.
29015 * elf/dl-object.c: Likewise.
29016 * grp/initgroups.c: Likewise.
29017 * hurd/Makefile: Likewise.
29018 * hurd/hurd/signal.h: Likewise.
29019 * hurd/hurdfault.c: Likewise.
29020 * hurd/hurdioctl.c: Likewise.
29021 * hurd/hurdlookup.c: Likewise.
29022 * hurd/intr-msg.c: Likewise.
29023 * iconv/gconv_open.c: Likewise.
29024 * libio/swprintf.c: Likewise.
29025 * locale/lc-ctype.c: Likewise.
29026 * locale/nl_langinfo.c: Likewise.
29027 * mach/Machrules: Likewise.
29028 * mach/Makefile: Likewise.
29029 * malloc/obstack.h: Likewise.
29030 * manual/Makefile: Likewise.
29031 * manual/tsort.awk: Likewise.
29032 * misc/bits/stab.def: Likewise.
29033 * nis/nis_print_group_entry.c: Likewise.
29034 * nis/nis_table.c: Likewise.
29035 * nis/nss_compat/compat-pwd.c: Likewise.
29036 * nis/nss_compat/compat-spwd.c: Likewise.
29037 * po/Makefile: Likewise.
29038 * posix/fnmatch.c: Likewise.
29039 * posix/regex.h: Likewise.
29040 * resolv/Makefile: Likewise.
29041 * resolv/nss_dns/dns-network.c: Likewise.
29042 * resolv/res_hconf.c: Likewise.
29043 * scripts/gen-sorted.awk: Likewise.
29044 * soft-fp/soft-fp.h: Likewise.
29045 * stdio-common/printf.h: Likewise.
29046 * stdlib/monetary.h: Likewise.
29047 * stdlib/random.c: Likewise.
29048 * stdlib/random_r.c: Likewise.
29049 * sysdeps/generic/Makefile: Likewise.
29050 * sysdeps/gnu/Makefile: Likewise.
29051 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29074 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29075 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29077 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29078 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29079 * sysdeps/mach/hurd/errnos.awk: Likewise.
29080 * sysdeps/mach/hurd/fork.c: Likewise.
29081 * sysdeps/mach/hurd/getcwd.c: Likewise.
29082 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29083 * sysdeps/mach/hurd/mmap.c: Likewise.
29084 * sysdeps/mach/hurd/utimes.c: Likewise.
29085 * sysdeps/mach/hurd/xmknod.c: Likewise.
29086 * sysdeps/posix/profil.c: Likewise.
29087 * sysdeps/posix/readdir_r.c: Likewise.
29088 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29089 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29090 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29091 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29093 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29094 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29095 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29097 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29098 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29099 * sysdeps/pthread/lio_listio.c: Likewise.
29100 * sysdeps/sparc/dl-procinfo.h: Likewise.
29101 * sysdeps/unix/i386/sysdep.S: Likewise.
29102 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29103 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29104 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29105 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29107 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29108 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29109 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29110 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29111 * sysdeps/wordsize-32/divdi3.c: Likewise.
29112 * time/sys/time.h: Likewise.
29113 * wcsmbs/Makefile: Likewise.
29115 2013-01-01 David S. Miller <davem@davemloft.net>
29117 * po/fr.po: Update from translation team.
29119 * catgets/gencat.c: Update copyright year.
29120 * csu/version.c: Likewise.
29121 * debug/catchsegv.sh: Likewise.
29122 * debug/pcprofiledump.c: Likewise.
29123 * debug/xtrace.sh: Likewise.
29124 * elf/ldconfig.c: Likewise.
29125 * elf/ldd.bash.in: Likewise.
29126 * elf/pldd.c: Likewise.
29127 * elf/sotruss.ksh: Likewise.
29128 * elf/sprof.c: Likewise.
29129 * iconv/iconv_prog.c: Likewise.
29130 * iconv/iconvconfig.c: Likewise.
29131 * locale/programs/locale.c: Likewise.
29132 * locale/programs/localedef.c: Likewise.
29133 * login/programs/pt_chown.c: Likewise.
29134 * malloc/memusage.sh: Likewise.
29135 * malloc/memusagestat.c: Likewise.
29136 * malloc/mtrace.pl: Likewise.
29137 * nscd/nscd.c: Likewise.
29138 * nss/getent.c: Likewise.
29139 * nss/makedb.c: Likewise.
29140 * posix/getconf.c: Likewise.
29142 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29144 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29147 2012-12-30 Mike Frysinger <vapier@gentoo.org>
29149 * math/bits/mathcalls.h (modf): Use __nonnull.
29151 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29153 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29154 (split): Use macro CN instead of the bare value.
29155 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29158 instead of the bare value.
29159 (power1): Likewise.
29161 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29165 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29167 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29169 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29171 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29172 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29174 2012-12-28 Andreas Jaeger <aj@suse.de>
29176 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29177 values are from Linux 3.7.
29179 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29180 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29182 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29184 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29187 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29189 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29190 variables with preprocessor constants.
29191 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29192 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29193 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29195 2012-12-27 Bruno Haible <bruno@clisp.org>
29198 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29201 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29204 and use variable directly.
29205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29207 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29209 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29214 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29215 include directive. Remove local variable MPONE.
29216 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29217 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29218 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29220 2012-12-25 David S. Miller <davem@davemloft.net>
29222 * version.h (RELEASE): Set to "development".
29223 (VERSION): Set to "2.17.90".
29224 * NEWS: Add 2.18 section.
29226 2012-12-21 David S. Miller <davem@davemloft.net>
29228 * po/hr.po: Update from translation team.
29230 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29232 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29234 2012-12-19 Steve Ellcey <sellcey@mips.com>
29236 * NEWS: Mention new memcpy for MIPS.
29238 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29240 * manual/contrib.texi (Contributors): Spelling correction.
29242 2012-12-15 David S. Miller <davem@davemloft.net>
29244 * po/ru.po: Update from translation team.
29246 2012-12-13 David S. Miller <davem@davemloft.net>
29248 * NEWS: Mention IFUNC testsuite enhancements.
29250 * po/pl.po: Update from translation team.
29251 * po/bg.po: Likewise.
29253 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29254 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29256 2012-12-11 David S. Miller <davem@davemloft.net>
29258 * po/sv.po: Update from translation team.
29260 * po/vi.po: Update from translation team.
29262 * po/cs.po: Update from translation team.
29264 * po/de.po: Update from translation team.
29265 * po/eo.po: Likewise.
29266 * po/nl.po: Likewise.
29268 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29271 * manual/argp.texi (Argp Helper Functions): Move node to follow
29272 Argp Parsing State.
29275 * manual/conf.texi (Limits on File System Capacity): Mention if
29276 terminating null is included in the max size.
29278 2012-12-10 Andreas Jaeger <aj@suse.de>
29280 * po/cs.po: Update from translation team.
29282 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29284 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29285 void pointer and cast to uintptr_t.
29286 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29288 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29289 * sysdeps/s390/s390-64/memset.S: Likewise.
29291 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
29294 * menual/message.texi (Message Translation): Fix typos.
29295 (Helper programs for gettext): Likewise.
29297 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29300 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29303 2012-12-07 David S. Miller <davem@davemloft.net>
29305 * po/libc.pot: Update.
29307 2012-12-07 Richard Henderson <rth@redhat.com>
29310 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29311 normal/normal case to before the switch.
29312 (_FP_DIV): Likewise.
29314 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29315 Mike Frysinger <vapier@gentoo.org>
29317 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29318 check for __NR_fadvise64_64.
29320 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29322 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29323 0, not just to plain "0" as a statement.
29324 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29327 2012-12-06 Joseph Myers <joseph@codesourcery.com>
29329 * NEWS: Use sourceware.org in Bugzilla URL.
29331 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29334 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29336 * stdio-common/tst-put-error.c (do_test): Add newline to the
29337 padded test to ensure flush.
29339 2012-12-05 Jeff Law <law@redhat.com>
29341 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29343 2012-12-05 Joseph Myers <joseph@codesourcery.com>
29345 * README: Don't refer to ports add-on as distributed separately.
29346 Mention AArch64 in list of systems supported in the ports add-on.
29348 * LICENSES: Add more non-FSF copyright and license notices.
29350 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29353 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29355 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29356 10000 as width of padded output.
29358 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29360 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29363 variable LX with __attribute__ ((unused)).
29364 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29366 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29367 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29369 with __attribute__ ((unused)).
29371 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
29373 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29375 2012-12-04 Joseph Myers <joseph@codesourcery.com>
29377 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29378 (CFLAGS-nldbl-acos.c): New variable.
29379 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29380 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29381 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29382 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29383 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29384 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29385 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29386 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29387 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29388 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29389 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29390 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29391 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29392 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29393 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29394 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29395 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29396 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29397 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29398 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29399 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29400 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29401 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29402 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29403 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29404 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29405 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29406 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29407 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29408 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29409 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29410 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29411 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29412 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29413 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29414 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29415 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29416 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29417 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29418 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29419 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29420 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29421 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29422 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29423 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29424 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29425 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29426 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29427 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29428 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29429 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29430 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29431 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29432 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29433 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29434 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29435 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29436 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29437 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29438 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29439 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29440 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29441 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29442 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29443 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29444 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29445 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29446 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29447 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29448 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29449 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29450 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29451 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29452 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29453 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29454 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29455 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29456 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29457 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29458 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29459 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29460 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29461 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29462 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29463 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29464 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29465 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29466 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29467 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29468 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29469 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29470 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29471 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29472 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29473 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29474 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29475 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29478 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29482 whole low double instead of just low 47 bits when splitting values
29485 2012-12-03 Allan McRae <allan@archlinux.org>
29487 * manual/stdio.texi (Predefined Printf Handlers): Remove
29488 @hsep and @vsep usage.
29490 2012-12-03 Mike Frysinger <vapier@gentoo.org>
29492 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29493 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29495 2012-12-03 Jeff Law <law@redhat.com>
29497 * time/sys/time.h (settimeofday): Do not mark TV argument
29500 2012-12-01 Mike Frysinger <vapier@gentoo.org>
29502 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29503 when currently writing and seek to current position when not.
29504 * libio/Makefile (tests): Remove bug-fclose1.
29505 * libio/bug-fclose1.c: Delete.
29507 2012-12-01 Joseph Myers <joseph@codesourcery.com>
29509 * manual/arith.texi (feenableexcept): Fix typo.
29510 (fedisableexcept): Likewise.
29512 2012-11-30 Roland McGrath <roland@hack.frob.com>
29514 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29515 second, differently-typed declaration, rather than a cast.
29517 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29519 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29520 * include/rpc/svc.h: ... here.
29522 2012-11-30 Aurelien Jarno <aurel32@debian.org>
29525 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29526 depending n and resplen2 to catch cases where answer
29529 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29531 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29532 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29534 2012-11-29 Mike Frysinger <vapier@gentoo.org>
29536 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29538 2012-11-29 Roland McGrath <roland@hack.frob.com>
29540 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29542 2012-11-28 Jeff Law <law@redhat.com>
29545 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29546 dataset_temporary. Track alloca usage into alloca_used.
29547 If dataset is large allocate and release it via malloc/free.
29549 2012-06-04 Florian Weimer <fweimer@redhat.com>
29552 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29554 2012-11-28 David S. Miller <davem@davemloft.net>
29556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29558 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29561 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29562 of pi/2 rounded to nearest to 64 bits.
29563 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29564 nearest to 64 bits.
29565 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29568 2012-11-28 Jeff Law <law@redhat.com>
29569 Martin Osvald <mosvald@redhat.com>
29572 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29573 * sunrpc/svc.c: Include time.h.
29574 (__svc_accept_failed): New function.
29575 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29576 any reason other than EINTR, call __svc_accept_failed.
29577 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29578 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29580 2012-11-28 Andreas Schwab <schwab@suse.de>
29582 * scripts/abilist.awk: Also handle indirect functions in .opd
29585 2012-11-28 Joseph Myers <joseph@codesourcery.com>
29588 * sysdeps/x86/fpu/powl_helper.c: New file.
29589 * sysdeps/x86/fpu/Makefile: Likewise.
29590 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29592 (__ieee754_powl): Use __powl_helper for finite arguments except
29593 integer exponents below 8.
29594 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29596 (__ieee754_powl): Use __powl_helper for finite arguments except
29597 integer exponents below 8.
29598 * math/libm-test.inc (pow_test): Add more tests and enable some
29599 previously disabled tests.
29600 * sysdeps/i386/fpu/libm-test-ulps: Update.
29601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29603 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29604 Carlos O'Donell <carlos_odonell@mentor.com>
29606 * nss/makedb.c (is_prime): Assert that input is odd and greater
29607 than 4. Note that fact in a comment too.
29608 (next_prime): Add 4 to input.
29610 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29613 * libio/Makefile (tests): Add test case tst-fwrite-error.
29614 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29615 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29616 * libio/tst-fwrite-error.c: New test case.
29618 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29620 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29621 before casting to void *.
29622 * include/libc-internal.h (__pointer_type): New macro.
29623 (__integer_if_pointer_type_sub): Likewise.
29624 (__integer_if_pointer_type): Likewise.
29625 (cast_to_integer): Likewise.
29626 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29627 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29628 before casting to atomic64_t.
29629 (atomic_exchange_acq): Likewise.
29630 (__arch_exchange_and_add_body): Likewise.
29631 (__arch_add_body): Likewise.
29632 (atomic_add_negative): Likewise.
29633 (atomic_add_zero): Likewise.
29635 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29637 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29638 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29639 (add_fdes): Likewise.
29640 (linear_search_fdes): Likewise.
29641 (binary_search_unencoded_fdes): Likewise.
29643 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29645 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29647 2012-11-24 Adam Conrad <adconrad@0c3.net>
29649 * configure.in: Autodetect C++ header directories.
29650 * configure: Regenerated.
29652 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29654 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29656 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29660 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29662 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29663 LDBL_MANT_DIG == 106]: Disable some tests.
29664 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29666 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29671 input for small inputs. Return +/- pi/2 for large inputs.
29672 * math/libm-test.inc (atan_test): Add more tests.
29674 * sysdeps/generic/unwind-dw2-fde-glibc.c
29675 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29676 __attribute__ ((unused)).
29679 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29680 x * y if x and y are nonzero and z is zero.
29683 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29684 nonzero exponents with absolute value below 0x1p-117 to +/-
29688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29689 up arguments below 2**-450, not just those below 2**-500.
29690 * math/libm-test.inc (hypot_test): Add another test.
29693 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29694 Return a+b for ratio over 2**120, not 2**60.
29695 * math/libm-test.inc (hypot_test): Add another test.
29697 * math/libm-test.inc (clog_test): Use
29698 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29699 (clog10_test): Likewise.
29702 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29704 2012-11-22 Andreas Schwab <schwab@suse.de>
29706 * sysdeps/i386/fpu/libm-test-ulps: Update.
29708 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29710 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29711 printf output with newline.
29713 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29716 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29717 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29718 -z nodlopen, -z initfirst and -z execstack support.
29719 * configure: Regenerated.
29721 * elf/elf.h (DF_1_NODIRECT): New macro.
29722 (DF_1_IGNMULDEF): Likewise.
29723 (DF_1_NOKSYMS): Likewise.
29724 (DF_1_NOHDR): Likewise.
29725 (DF_1_EDITED): Likewise.
29726 (DF_1_NORELOC): Likewise.
29727 (DF_1_SYMINTPOSE): Likewise.
29728 (DF_1_GLOBAUDIT): Likewise.
29729 (DF_1_SINGLETON): Likewise.
29730 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29731 DT_1_SUPPORTED_MASK bits.
29732 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29734 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29736 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29738 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29740 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29743 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29744 (sendmmsg): Move declarations...
29745 * socket/sys/socket.h: ... here.
29746 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29747 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29749 * socket/recvmmsg.c: ... this new file.
29750 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29751 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29752 definition of __sendmmsg hidden.
29753 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29754 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29755 Move ENOSYS stub into and include it from...
29756 * socket/sendmmsg.c: ... this new file.
29757 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29758 (sysdep_routines): Move recvmmsg and sendmmsg...
29759 * socket/Makefile (routines): ... here.
29760 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29761 (GLIBC_PRIVATE): Add __sendmmsg.
29762 * include/sys/socket.h (__sendmmsg): Add declarations.
29763 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29766 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29769 variable I1 with __attribute__ ((unused)).
29770 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29772 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29774 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29775 DUMMY variables with __attribute__ ((unused)).
29777 * bits/byteswap.h: Include <bits/types.h>.
29778 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29780 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29782 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29783 string_t. Do not manually set errno.
29784 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29785 length with __strnlen. Make sure to both set errno and return it on
29788 2012-11-19 David S. Miller <davem@davemloft.net>
29790 With help from Joseph Myers.
29791 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29792 very large arguments properly.
29793 * math/libm-test.inc (atan_test): New tests.
29794 (atan2_test): New tests.
29795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29798 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29801 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29804 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29805 [POSIX] (EADDRNOTAVAIL): Likewise.
29806 [POSIX] (EAFNOSUPPORT): Likewise.
29807 [POSIX] (EALREADY): Likewise.
29808 [POSIX] (ECONNABORTED): Likewise.
29809 [POSIX] (ECONNREFUSED): Likewise.
29810 [POSIX] (ECONNRESET): Likewise.
29811 [POSIX] (EDESTADDRREQ): Likewise.
29812 [POSIX] (EDQUOT): Likewise.
29813 [POSIX] (EHOSTUNREACH): Likewise.
29814 [POSIX] (EIDRM): Likewise.
29815 [POSIX] (EISCONN): Likewise.
29816 [POSIX] (ELOOP): Likewise.
29817 [POSIX] (EMULTIHOP): Likewise.
29818 [POSIX] (ENETDOWN): Likewise.
29819 [POSIX] (ENETUNREACH): Likewise.
29820 [POSIX] (ENOBUFS): Likewise.
29821 [POSIX] (ENODATA): Likewise.
29822 [POSIX] (ENOLINK): Likewise.
29823 [POSIX] (ENOMSG): Likewise.
29824 [POSIX] (ENOPROTOOPT): Likewise.
29825 [POSIX] (ENOSR): Likewise.
29826 [POSIX] (ENOSTR): Likewise.
29827 [POSIX] (ENOTCONN): Likewise.
29828 [POSIX] (ENOTSOCK): Likewise.
29829 [POSIX] (EOPNOTSUPP): Likewise.
29830 [POSIX] (EOVERFLOW): Likewise.
29831 [POSIX] (EPROTO): Likewise.
29832 [POSIX] (EPROTONOSUPPORT): Likewise.
29833 [POSIX] (EPROTOTYPE): Likewise.
29834 [POSIX] (ESTALE): Likewise.
29835 [POSIX] (ETIME): Likewise.
29836 [POSIX] (ETXTBSY): Likewise.
29837 [POSIX] (EWOULDBLOCK): Likewise.
29838 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29839 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29840 [POSIX] (SEEK_CUR): Likewise.
29841 [POSIX] (SEEK_END): Likewise.
29842 [POSIX || UNIX98] (mode_t): Do not require.
29843 [POSIX] (off_t): Likewise.
29844 [POSIX] (pid_t): Likewise.
29845 [POSIX] (sys/stat.h): Do not allow header.
29846 [POSIX] (unistd.h): Likewise.
29847 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29848 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29849 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29850 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29852 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29853 sigevent): Specify elements.
29854 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29856 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29857 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29859 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29860 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29861 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29862 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29863 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29864 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29865 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29866 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29867 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29868 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29869 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29870 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29871 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29878 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29880 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29882 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29883 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29884 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29885 Specify lower bound on value.
29886 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29887 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29888 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29889 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29890 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29891 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29892 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29893 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29897 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29914 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29916 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29923 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29928 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29935 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29936 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29937 specify as optional.
29938 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29941 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29942 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29943 [XPG3] (NL_LANGMAX): Likewise.
29944 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29945 [POSIX || XPG3] (NL_NMAX): Likewise.
29946 [POSIX || XPG3] (NL_SETMAX): Likewise.
29947 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29948 [XPG3] (NZERO): Likewise.
29949 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29950 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29951 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29952 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29953 (REG_ERANGE): Expect.
29954 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29956 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29957 Use (void) in prototype.
29958 [POSIX] (*_t): Allow.
29959 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29960 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29961 (WRDE_BADVAL): Expect.
29963 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29965 [XPG3 || XPG4] (O_RSYNC): Likewise.
29966 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29968 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29969 [XPG3 || XPG4] (sigqueue): Likewise.
29970 [XPG3 || XPG4] (sigtimedwait): Likewise.
29971 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29972 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29973 [XPG3 || XPG4] (vsnprintf): Likewise.
29974 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29976 [XPG3 || XPG4] (blksize_t): Likewise.
29977 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29979 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29980 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29981 [XPG3 || XPG4] (struct itimerspec): Likewise.
29982 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29983 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29984 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29985 [XPG3 || XPG4] (clockid_t): Likewise.
29986 [XPG3 || XPG4] (timer_t): Likewise.
29987 [XPG3 || XPG4] (clock_getres): Likewise.
29988 [XPG3 || XPG4] (clock_gettime): Likewise.
29989 [XPG3 || XPG4] (clock_settime): Likewise.
29990 [XPG3 || XPG4] (nanosleep): Likewise.
29991 [XPG3 || XPG4] (timer_create): Likewise.
29992 [XPG3 || XPG4] (timer_delete): Likewise.
29993 [XPG3 || XPG4] (timer_gettime): Likewise.
29994 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29995 [XPG3 || XPG4] (timer_settime): Likewise.
29996 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29997 [XPG3 || XPG4] (getlogin_r): Likewise.
29998 [XPG3 || XPG4] (pread): Likewise.
29999 [XPG3 || XPG4] (pthread_atfork): Likewise.
30000 [XPG3 || XPG4] (pwrite): Likewise.
30003 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30006 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30008 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30009 finalizing MALLSTREAM.
30011 * sysdeps/mach/hurd/syncfs.c: New file.
30013 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30016 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30017 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30018 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30019 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30020 (_nss_dns_gethostbyname4_r): Likewise.
30021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30022 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30024 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30027 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30029 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30031 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30032 * elf/cache.c (print_entry): Print ",AArch64" for
30035 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30036 * elf/cache.c (print_entry): Print ",hard-float" for
30039 2012-11-18 David S. Miller <davem@davemloft.net>
30041 With help from Joseph Myers.
30042 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30044 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30046 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30047 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30049 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30050 * math/libm-test.inc (y0_test): New tests.
30051 (y1_test): New tests.
30052 * sysdeps/i386/fpu/libm-test-ulps: Update.
30053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30056 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30058 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30060 * configure: Regenerated.
30062 2012-11-17 David S. Miller <davem@davemloft.net>
30065 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30066 nonzero exponents with absolute value below 0x1p-128 to +/-
30069 2012-11-17 Joseph Myers <joseph@codesourcery.com>
30071 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30073 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30075 * posix/getconf-speclist.c: New file.
30076 * posix/posix-envs.def: Likewise.
30077 * posix/confstr.c (START_ENV_GROUP): New macro.
30078 (END_ENV_GROUP): Likewise.
30079 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30080 (KNOWN_PRESENT_ENV_STRING): Likewise.
30081 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30082 (UNKNOWN_ENVIRONMENT): Likewise.
30083 (confstr): Include posix-envs.def instead of handling
30084 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30085 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30086 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30087 (END_ENV_GROUP): Likewise.
30088 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30089 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30090 (UNKNOWN_ENVIRONMENT): Likewise.
30091 (__sysconf): Include posix-envs.def instead of handling associated
30092 cases directly here.
30093 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30094 preprocessing getconf-speclist.c rather than running getconf or
30095 generating empty file.
30097 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30099 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30101 2012-11-16 Andrej Lajovic <natrij@gmail.com>
30104 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30106 2012-11-16 David S. Miller <davem@davemloft.net>
30108 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30109 smaller than LDBL_EPSILON/2.0L, just return xm1.
30111 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30113 * elf/tst-array1.c (init): Set constructor priority to 1000.
30114 (fini): Set destructor priority to 1000.
30115 * elf/tst-array2dep.c: Likewise.
30117 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30120 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30121 (_IO_new_file_xsputn): Also return EOF if none of the input
30122 data was written when overflow failed.
30123 * libio/iopadn.c (_IO_padn): Likewise.
30124 * libio/iowpadn.c (_IO_wpadn): Likewise.
30125 * stdio-common/tst-put-error.c: Add copyright notice.
30126 (do_test): Add case for printing padded string.
30127 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30128 _IO_padn returned error.
30129 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30130 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30133 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30135 * libio/libioP.h: Add comment note that the references to C++
30136 bits are now obsolete.
30138 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30140 * math/libm-test.inc (check_complex): Use asprintf.
30142 2012-11-14 Joseph Myers <joseph@codesourcery.com>
30144 * debug/pcprofiledump.c (print_version): Update copyright year.
30145 * malloc/memusagestat.c (print_version): Likewise.
30147 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30150 * elf/Makefile (tests): Add tst-audit8.
30151 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30152 ($(objpfx)tst-audit8.out): New target.
30153 (tst-audit8-ENV): New variable.
30154 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30155 audit if l_reloc_result is NULL.
30156 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30157 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30158 * elf/tst-audit8.c: New file.
30160 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30162 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30163 * misc/Makefile (CFLAGS-select.c): Define.
30164 * posix/Makefile (CFLAGS-pause.c): Define.
30166 2012-11-13 David S. Miller <davem@davemloft.net>
30168 * crypt/Makefile: Move test targets after toplevel Rules
30169 inclusion. Grab any necessary sysdep routines when linking.
30170 * crypt/md5.c (md5_process_block): Remove define, we will always
30171 name it __md5_process_block.
30172 (md5_finish_ctx): Update md5_process_block call.
30173 (md5_stream): Likewise.
30174 (md5_process_bytes): Likewise.
30175 (md5_process_block): Rename to __md5_process_block and move to ...
30176 * crypt/md5-block.c: ... here.
30177 * crypt/sha256.c (sha256_process_block): Move to ...
30178 * crypt/sha256-block.c: ... here.
30179 * crypt/sha512.c (sha512_process_block): Move to ...
30180 * crypt/sha512-block.c: ... here.
30181 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30183 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30184 * sysdeps/sparc/sparc64/multiarch/Makefile
30185 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30187 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30188 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30190 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30191 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30192 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30193 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30194 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30195 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30196 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30197 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30200 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30205 2012-11-13 Joseph Myers <joseph@codesourcery.com>
30207 * timezone/tzselect.ksh: Update from tzcode git revision
30208 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30209 * timezone/zdump.c: Likewise.
30210 * timezone/zic.c: Likewise.
30211 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30212 in TZVERSION setting, not $(PKGVERSION).
30213 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30214 REPORT_BUGS_TO settings.
30217 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30220 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30222 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30223 detection to immediately after _FP_ROUND().
30224 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30227 2012-11-11 David S. Miller <davem@davemloft.net>
30229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30231 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30232 __close rather than their public counterparts.
30234 2012-11-10 Joseph Myers <joseph@codesourcery.com>
30236 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30238 [UNIX98] (sem_timedwait): Do not expect.
30239 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30240 [XPG4 || UNIX98] (sockatmark): Do not expect.
30241 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30242 (clock_getcpuclockid): Do not expect.
30243 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30244 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30246 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30247 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30248 [UNIX98] (vwscanf): Likewise.
30249 [UNIX98] (vswscanf): Likewise.
30251 2012-11-09 Joseph Myers <joseph@codesourcery.com>
30253 * timezone/version.h: Remove file.
30254 * timezone/README: Do not refer to version.h.
30255 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30256 $(objpfx)version.h.
30257 ($(objpfx)zdump.o): Likewise.
30258 ($(objpfx)version.h): New target.
30260 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30262 * timezone/README: Don't mention modification to tzselect.ksh.
30263 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30264 work on unmodified tzselect.ksh. Substitute version numbers in
30267 * Makefile (format-me): Remove.
30268 (INSTALL): Adjust indentation. Use commands directly instead of
30269 using $(format-me).
30271 * aclocal.m4 (ACX_PKGVERSION): New macro.
30272 (ACX_BUGURL): Likewise.
30273 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30274 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30275 (REPORT_BUGS_TO): Likewise.
30276 * configure: Regenerated.
30277 * config.h.in (PKGVERSION): New macro.
30278 (REPORT_BUGS_TO): Likewise.
30279 * config.make.in (PKGVERSION): New variable.
30280 (PKGVERSION_TEXI): Likewise.
30281 (REPORT_BUGS_TO): Likewise.
30282 (REPORT_BUGS_TEXI): Likewise.
30283 * Makefile (format-me): Use -I$(common-objpfx)manual.
30284 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30285 ($(common-objpfx)manual/%): New target.
30286 (manual/%): Remove target.
30287 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30288 (print_version): Use PKGVERSION.
30289 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30290 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30291 and REPORT_BUGS_TO.
30292 ($(objpfx)xtrace): Likewise.
30293 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30294 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30295 (print_version): Use PKGVERSION.
30296 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30297 (do_version): Use PKGVERSION.
30298 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30300 (common-ldd-rewrite): Likewise.
30301 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30302 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30303 (print_version): Use PKGVERSION.
30304 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30305 * elf/pldd.c (argp_program_bug_address): Remove variable.
30306 (more_help): New function.
30307 (argp): Use more_help.
30308 (print_version): Use PKGVERSION.
30309 * elf/sln.c (main): Use PKGVERSION.
30310 (usage): Use REPORT_BUGS_TO.
30311 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30312 (top level): Use PKGVERSION.
30313 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30314 (print_version): Use PKGVERSION.
30315 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30316 (print_version): Use PKGVERSION.
30317 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30318 (print_version): Use PKGVERSION.
30319 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30320 (print_version): Use PKGVERSION.
30321 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30322 (print_version): Use PKGVERSION.
30323 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30324 (print_version): Use PKGVERSION.
30325 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30327 ($(objpfx)memusage): Likewise.
30328 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30329 (do_version): Use PKGVERSION.
30330 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30331 (print_version): Use PKGVERSION.
30332 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30333 ($PKGVERSION): New variable.
30334 ($REPORT_BUGS_TO): Likewise.
30335 (usage): Use $REPORT_BUGS_TO.
30336 (top level): Use $PKGVERSION.
30337 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30338 ($(objpfx)pkgvers.texi): New rule.
30339 ($(objpfx)stamp-pkgvers): Likewise.
30340 * manual/install.texi: Include pkgvers.texi.
30341 (--with-pkgversion): Document new configure option.
30342 (--with-bugurl): Likewise.
30343 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30344 than necessarily for this particular distribution. Use
30345 REPORT_BUGS_TO for where to report bugs.
30346 * INSTALL: Regenerated.
30347 * manual/libc.texinfo: Include pkgvers.texi.
30348 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30349 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30350 (print_version): Use PKGVERSION.
30351 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30352 (print_version): Use PKGVERSION.
30353 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30354 (print_version): Use PKGVERSION.
30355 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30356 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30358 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30359 (print_version): Use PKGVERSION.
30360 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30361 (print_version): Use PKGVERSION.
30362 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30365 * timezone/checktab.awk: Update from tzcode 2012i.
30366 * timezone/ialloc.c: Likewise.
30367 * timezone/private.h: Likewise.
30368 * timezone/scheck.c: Likewise.
30369 * timezone/tzfile.h: Likewise.
30370 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30371 (TZVERSION): Hardcode tzcode version number.
30372 * timezone/zdump.c: Update from tzcode 2012i.
30373 * timezone/zic.c: Likewise.
30374 * timezone/version.h: New file.
30375 * timezone/README: Describe version.h. Update upstream location.
30378 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30379 (mktemp): Enable declaration.
30380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30397 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30398 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30399 for copies of such integer values.
30400 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30401 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30403 2012-11-09 Andreas Jaeger <aj@suse.de>
30405 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30406 definitions and declarations that are provided by
30407 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30409 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30411 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
30412 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30413 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30416 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30418 * elf/elf.h: Update comment before AArch64 relocations.
30420 2012-11-07 David S. Miller <davem@davemloft.net>
30422 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30423 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30424 (__start_context): Declare.
30425 (__makecontext_ret): Delete.
30426 (__makecontext): Hook up __start_context instead of
30428 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30429 (sysdep_routines): Add __start_context when in stdlib.
30431 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30433 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30434 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30435 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30437 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30438 (READELF): New variable. Use it instead of hardcoded "readelf".
30440 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30442 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30443 * sysdeps/x86/Makefile: Here.
30444 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30445 * sysdeps/x86/tst-xmmymm.sh: This.
30447 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30449 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30451 [UNIX98] (pthread_barrier_t): Do not expect.
30452 [UNIX98] (pthread_barrierattr_t): Likewise.
30453 [UNIX98] (pthread_spinlock_t): Likewise.
30454 [UNIX98] (pthread_barrier_destroy): Likewise.
30455 [UNIX98] (pthread_barrier_init): Likewise.
30456 [UNIX98] (pthread_barrier_wait): Likewise.
30457 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30458 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30459 [UNIX98] (pthread_barrierattr_init): Likewise.
30460 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30461 [UNIX98] (pthread_getcpuclockid): Likewise.
30462 [UNIX98] (pthread_mutex_timedlock): Likewise.
30463 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30464 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30465 [UNIX98] (pthread_sigmask): Likewise.
30466 [UNIX98] (pthread_spin_destroy): Likewise.
30467 [UNIX98] (pthread_spin_init): Likewise.
30468 [UNIX98] (pthread_spin_lock): Likewise.
30469 [UNIX98] (pthread_spin_trylock): Likewise.
30470 [UNIX98] (pthread_spin_unlock): Likewise.
30471 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30473 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30474 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30475 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30476 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30477 [XPG3 || XPG4] (pthread_key_t): Likewise.
30478 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30479 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30480 [XPG3 || XPG4] (pthread_once_t): Likewise.
30481 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30482 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30483 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30484 [XPG3 || XPG4] (pthread_t): Likewise.
30486 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30488 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30490 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30491 Change function return type to int.
30493 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30494 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30495 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30496 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30497 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30498 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30499 [!POSIX] (posix_madvise): Likewise.
30500 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30502 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30503 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30504 (mode_t): Likewise.
30505 (posix_mem_offset): Likewise.
30506 (posix_typed_mem_get_info): Likewise.
30507 (posix_typed_mem_open): Likewise.
30509 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30510 Change condition to [XOPEN2K8].
30512 * conform/conformtest.pl: Preprocess allow-header data with -x c
30513 instead of from stdin.
30514 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30515 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30516 [C99-based standards] (cerfc): Likewise.
30517 [C99-based standards] (cexp2): Likewise.
30518 [C99-based standards] (cexpm1): Likewise.
30519 [C99-based standards] (clog10): Likewise.
30520 [C99-based standards] (clog1p): Likewise.
30521 [C99-based standards] (clog2): Likewise.
30522 [C99-based standards] (clgamma): Likewise.
30523 [C99-based standards] (ctgamma): Likewise.
30524 [C99-based standards] (cerff): Likewise.
30525 [C99-based standards] (cerfcf): Likewise.
30526 [C99-based standards] (cexp2f): Likewise.
30527 [C99-based standards] (cexpm1f): Likewise.
30528 [C99-based standards] (clog10f): Likewise.
30529 [C99-based standards] (clog1pf): Likewise.
30530 [C99-based standards] (clog2f): Likewise.
30531 [C99-based standards] (clgammaf): Likewise.
30532 [C99-based standards] (ctgammaf): Likewise.
30533 [C99-based standards] (cerfl): Likewise.
30534 [C99-based standards] (cerfcl): Likewise.
30535 [C99-based standards] (cexp2l): Likewise.
30536 [C99-based standards] (cexpm1l): Likewise.
30537 [C99-based standards] (clog10l): Likewise.
30538 [C99-based standards] (clog1pl): Likewise.
30539 [C99-based standards] (clog2l): Likewise.
30540 [C99-based standards] (clgammal): Likewise.
30541 [C99-based standards] (ctgammal): Likewise.
30542 * conform/data/inttypes.h-data [C99-based standards]: Include
30543 stdint.h-data. Remove all expectations for stdint.h contents.
30544 [C99-based standards] (PRI*): Do not allow.
30545 [C99-based standards] (SCN*): Likewise.
30546 [C99-based standards] (*_t): Likewise.
30547 [C99-based-standards] (PRId8): Expect macro.
30548 [C99-based-standards] (PRIi8): Likewise.
30549 [C99-based-standards] (PRIo8): Likewise.
30550 [C99-based-standards] (PRIu8): Likewise.
30551 [C99-based-standards] (PRIx8): Likewise.
30552 [C99-based-standards] (PRIX8): Likewise.
30553 [C99-based-standards] (SCNd8): Likewise.
30554 [C99-based-standards] (SCNi8): Likewise.
30555 [C99-based-standards] (SCNo8): Likewise.
30556 [C99-based-standards] (SCNu8): Likewise.
30557 [C99-based-standards] (SCNx8): Likewise.
30558 [C99-based-standards] (PRIdLEAST8): Likewise.
30559 [C99-based-standards] (PRIiLEAST8): Likewise.
30560 [C99-based-standards] (PRIoLEAST8): Likewise.
30561 [C99-based-standards] (PRIuLEAST8): Likewise.
30562 [C99-based-standards] (PRIxLEAST8): Likewise.
30563 [C99-based-standards] (PRIXLEAST8): Likewise.
30564 [C99-based-standards] (SCNdLEAST8): Likewise.
30565 [C99-based-standards] (SCNiLEAST8): Likewise.
30566 [C99-based-standards] (SCNoLEAST8): Likewise.
30567 [C99-based-standards] (SCNuLEAST8): Likewise.
30568 [C99-based-standards] (SCNxLEAST8): Likewise.
30569 [C99-based-standards] (PRIdFAST8): Likewise.
30570 [C99-based-standards] (PRIiFAST8): Likewise.
30571 [C99-based-standards] (PRIoFAST8): Likewise.
30572 [C99-based-standards] (PRIuFAST8): Likewise.
30573 [C99-based-standards] (PRIxFAST8): Likewise.
30574 [C99-based-standards] (PRIXFAST8): Likewise.
30575 [C99-based-standards] (SCNdFAST8): Likewise.
30576 [C99-based-standards] (SCNiFAST8): Likewise.
30577 [C99-based-standards] (SCNoFAST8): Likewise.
30578 [C99-based-standards] (SCNuFAST8): Likewise.
30579 [C99-based-standards] (SCNxFAST8): Likewise.
30580 [C99-based-standards] (PRId16): Likewise.
30581 [C99-based-standards] (PRIi16): Likewise.
30582 [C99-based-standards] (PRIo16): Likewise.
30583 [C99-based-standards] (PRIu16): Likewise.
30584 [C99-based-standards] (PRIx16): Likewise.
30585 [C99-based-standards] (PRIX16): Likewise.
30586 [C99-based-standards] (SCNd16): Likewise.
30587 [C99-based-standards] (SCNi16): Likewise.
30588 [C99-based-standards] (SCNo16): Likewise.
30589 [C99-based-standards] (SCNu16): Likewise.
30590 [C99-based-standards] (SCNx16): Likewise.
30591 [C99-based-standards] (PRIdLEAST16): Likewise.
30592 [C99-based-standards] (PRIiLEAST16): Likewise.
30593 [C99-based-standards] (PRIoLEAST16): Likewise.
30594 [C99-based-standards] (PRIuLEAST16): Likewise.
30595 [C99-based-standards] (PRIxLEAST16): Likewise.
30596 [C99-based-standards] (PRIXLEAST16): Likewise.
30597 [C99-based-standards] (SCNdLEAST16): Likewise.
30598 [C99-based-standards] (SCNiLEAST16): Likewise.
30599 [C99-based-standards] (SCNoLEAST16): Likewise.
30600 [C99-based-standards] (SCNuLEAST16): Likewise.
30601 [C99-based-standards] (SCNxLEAST16): Likewise.
30602 [C99-based-standards] (PRIdFAST16): Likewise.
30603 [C99-based-standards] (PRIiFAST16): Likewise.
30604 [C99-based-standards] (PRIoFAST16): Likewise.
30605 [C99-based-standards] (PRIuFAST16): Likewise.
30606 [C99-based-standards] (PRIxFAST16): Likewise.
30607 [C99-based-standards] (PRIXFAST16): Likewise.
30608 [C99-based-standards] (SCNdFAST16): Likewise.
30609 [C99-based-standards] (SCNiFAST16): Likewise.
30610 [C99-based-standards] (SCNoFAST16): Likewise.
30611 [C99-based-standards] (SCNuFAST16): Likewise.
30612 [C99-based-standards] (SCNxFAST16): Likewise.
30613 [C99-based-standards] (PRId32): Likewise.
30614 [C99-based-standards] (PRIi32): Likewise.
30615 [C99-based-standards] (PRIo32): Likewise.
30616 [C99-based-standards] (PRIu32): Likewise.
30617 [C99-based-standards] (PRIx32): Likewise.
30618 [C99-based-standards] (PRIX32): Likewise.
30619 [C99-based-standards] (SCNd32): Likewise.
30620 [C99-based-standards] (SCNi32): Likewise.
30621 [C99-based-standards] (SCNo32): Likewise.
30622 [C99-based-standards] (SCNu32): Likewise.
30623 [C99-based-standards] (SCNx32): Likewise.
30624 [C99-based-standards] (PRIdLEAST32): Likewise.
30625 [C99-based-standards] (PRIiLEAST32): Likewise.
30626 [C99-based-standards] (PRIoLEAST32): Likewise.
30627 [C99-based-standards] (PRIuLEAST32): Likewise.
30628 [C99-based-standards] (PRIxLEAST32): Likewise.
30629 [C99-based-standards] (PRIXLEAST32): Likewise.
30630 [C99-based-standards] (SCNdLEAST32): Likewise.
30631 [C99-based-standards] (SCNiLEAST32): Likewise.
30632 [C99-based-standards] (SCNoLEAST32): Likewise.
30633 [C99-based-standards] (SCNuLEAST32): Likewise.
30634 [C99-based-standards] (SCNxLEAST32): Likewise.
30635 [C99-based-standards] (PRIdFAST32): Likewise.
30636 [C99-based-standards] (PRIiFAST32): Likewise.
30637 [C99-based-standards] (PRIoFAST32): Likewise.
30638 [C99-based-standards] (PRIuFAST32): Likewise.
30639 [C99-based-standards] (PRIxFAST32): Likewise.
30640 [C99-based-standards] (PRIXFAST32): Likewise.
30641 [C99-based-standards] (SCNdFAST32): Likewise.
30642 [C99-based-standards] (SCNiFAST32): Likewise.
30643 [C99-based-standards] (SCNoFAST32): Likewise.
30644 [C99-based-standards] (SCNuFAST32): Likewise.
30645 [C99-based-standards] (SCNxFAST32): Likewise.
30646 [C99-based-standards] (PRId64): Likewise.
30647 [C99-based-standards] (PRIi64): Likewise.
30648 [C99-based-standards] (PRIo64): Likewise.
30649 [C99-based-standards] (PRIu64): Likewise.
30650 [C99-based-standards] (PRIx64): Likewise.
30651 [C99-based-standards] (PRIX64): Likewise.
30652 [C99-based-standards] (SCNd64): Likewise.
30653 [C99-based-standards] (SCNi64): Likewise.
30654 [C99-based-standards] (SCNo64): Likewise.
30655 [C99-based-standards] (SCNu64): Likewise.
30656 [C99-based-standards] (SCNx64): Likewise.
30657 [C99-based-standards] (PRIdLEAST64): Likewise.
30658 [C99-based-standards] (PRIiLEAST64): Likewise.
30659 [C99-based-standards] (PRIoLEAST64): Likewise.
30660 [C99-based-standards] (PRIuLEAST64): Likewise.
30661 [C99-based-standards] (PRIxLEAST64): Likewise.
30662 [C99-based-standards] (PRIXLEAST64): Likewise.
30663 [C99-based-standards] (SCNdLEAST64): Likewise.
30664 [C99-based-standards] (SCNiLEAST64): Likewise.
30665 [C99-based-standards] (SCNoLEAST64): Likewise.
30666 [C99-based-standards] (SCNuLEAST64): Likewise.
30667 [C99-based-standards] (SCNxLEAST64): Likewise.
30668 [C99-based-standards] (PRIdFAST64): Likewise.
30669 [C99-based-standards] (PRIiFAST64): Likewise.
30670 [C99-based-standards] (PRIoFAST64): Likewise.
30671 [C99-based-standards] (PRIuFAST64): Likewise.
30672 [C99-based-standards] (PRIxFAST64): Likewise.
30673 [C99-based-standards] (PRIXFAST64): Likewise.
30674 [C99-based-standards] (SCNdFAST64): Likewise.
30675 [C99-based-standards] (SCNiFAST64): Likewise.
30676 [C99-based-standards] (SCNoFAST64): Likewise.
30677 [C99-based-standards] (SCNuFAST64): Likewise.
30678 [C99-based-standards] (SCNxFAST64): Likewise.
30679 [C99-based-standards] (PRIdMAX): Likewise.
30680 [C99-based-standards] (PRIiMAX): Likewise.
30681 [C99-based-standards] (PRIoMAX): Likewise.
30682 [C99-based-standards] (PRIuMAX): Likewise.
30683 [C99-based-standards] (PRIxMAX): Likewise.
30684 [C99-based-standards] (PRIXMAX): Likewise.
30685 [C99-based-standards] (SCNdMAX): Likewise.
30686 [C99-based-standards] (SCNiMAX): Likewise.
30687 [C99-based-standards] (SCNoMAX): Likewise.
30688 [C99-based-standards] (SCNuMAX): Likewise.
30689 [C99-based-standards] (SCNxMAX): Likewise.
30690 [C99-based-standards] (PRIdPTR): Likewise.
30691 [C99-based-standards] (PRIiPTR): Likewise.
30692 [C99-based-standards] (PRIoPTR): Likewise.
30693 [C99-based-standards] (PRIuPTR): Likewise.
30694 [C99-based-standards] (PRIxPTR): Likewise.
30695 [C99-based-standards] (PRIXPTR): Likewise.
30696 [C99-based-standards] (SCNdPTR): Likewise.
30697 [C99-based-standards] (SCNiPTR): Likewise.
30698 [C99-based-standards] (SCNoPTR): Likewise.
30699 [C99-based-standards] (SCNuPTR): Likewise.
30700 [C99-based-standards] (SCNxPTR): Likewise.
30701 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30703 * conform/data/stdint.h-data: Update comments to clarify
30705 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30707 [C99-based standards] (INT8_MAX): Likewise.
30708 [C99-based standards] (INT16_MIN): Likewise.
30709 [C99-based standards] (INT16_MAX): Likewise.
30710 [C99-based standards] (INT32_MIN): Likewise.
30711 [C99-based standards] (INT32_MAX): Likewise.
30712 [C99-based standards] (INT64_MIN): Likewise.
30713 [C99-based standards] (INT64_MAX): Likewise.
30714 [C99-based standards] (UINT8_MAX): Likewise.
30715 [C99-based standards] (UINT16_MAX): Likewise.
30716 [C99-based standards] (UINT32_MAX): Likewise.
30717 [C99-based standards] (UINT64_MAX): Likewise.
30718 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30719 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30720 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30721 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30722 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30723 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30724 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30725 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30726 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30727 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30728 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30729 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30730 [C99-based standards] (INT_FAST8_MIN): Likewise.
30731 [C99-based standards] (INT_FAST8_MAX): Likewise.
30732 [C99-based standards] (INT_FAST16_MIN): Likewise.
30733 [C99-based standards] (INT_FAST16_MAX): Likewise.
30734 [C99-based standards] (INT_FAST32_MIN): Likewise.
30735 [C99-based standards] (INT_FAST32_MAX): Likewise.
30736 [C99-based standards] (INT_FAST64_MIN): Likewise.
30737 [C99-based standards] (INT_FAST64_MAX): Likewise.
30738 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30739 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30740 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30741 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30742 [C99-based standards] (INTPTR_MIN): Likewise.
30743 [C99-based standards] (INTPTR_MAX): Likewise.
30744 [C99-based standards] (UINTPTR_MAX): Likewise.
30745 [C99-based standards] (INTMAX_MIN): Likewise.
30746 [C99-based standards] (INTMAX_MAX): Likewise.
30747 [C99-based standards] (UINTMAX_MAX): Likewise.
30748 [C99-based standards] (PTRDIFF_MIN): Likewise.
30749 [C99-based standards] (PTRDIFF_MAX): Likewise.
30750 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30751 [C99-based standards] (SIZE_MAX): Likewise.
30752 [C99-based standards] (WCHAR_MAX): Likewise.
30753 [C99-based standards] (WINT_MAX): Likewise.
30754 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30755 constraint on value.
30756 [C99-based standards] (WCHAR_MIN): Likewise.
30757 [C99-based standards] (WINT_MIN): Likewise.
30758 [C99-based standards] (*_t): Allow.
30759 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30760 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30761 Include math.h-data and complex.h-data. Remove all expectations
30762 of math.h and complex.h contents.
30763 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30765 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30766 (struct tm): Expect tag.
30767 [C99-based-standards] (wcstof): Expect function.
30768 [C99-based-standards] (wcstold): Likewise.
30769 [C99-based-standards] (wcstoll): Likewise.
30770 [C99-based-standards] (wcstoull): Likewise.
30771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30772 macro-int-constant. Specify type.
30773 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30774 constraint on value.
30775 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30777 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30779 [ISO C standards]: Do not allow headers.
30780 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30781 wcs[abcdefghijklmnopqrstuvwxyz]*.
30782 [ISO C standards] (*_t): Do not allow.
30783 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30785 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30786 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30788 [ISO C standards]: Do not allow headers.
30789 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30790 is[abcdefghijklmnopqrstuvwxyz]*.
30791 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30792 to[abcdefghijklmnopqrstuvwxyz]*.
30793 [ISO C standards] (*_t): Do not allow.
30794 * conform/data/stdalign.h-data: New file.
30795 * conform/data/stdbool.h-data: Likewise.
30796 * conform/data/stdnoreturn.h-data: Likewise.
30798 2012-11-07 Roland McGrath <roland@hack.frob.com>
30801 * manual/filesys.texi (Directory Entries): Typo fix.
30802 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30804 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30806 * elf/elf.h (EM_AARCH64): New macro.
30807 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30808 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30809 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30810 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30811 (R_AARCH64_TLSDESC): Likewise.
30812 (NT_ARM_TLS): Likewise.
30813 (NT_ARM_HW_BREAK): Likewise.
30814 (NT_ARM_HW_WATCH): Likewise.
30816 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30819 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30820 (__ieee754_powl): Saturate nonzero exponents with absolute value
30821 below 0x1p-79 to +/- 0x1p-79.
30822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30823 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30824 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30825 nonzero exponents with absolute value below 0x1p-32 to +/-
30827 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30828 (__ieee754_powl): Saturate nonzero exponents with absolute value
30829 below 0x1p-79 to +/- 0x1p-79.
30830 * math/libm-test.inc (pow_test): Add more tests.
30832 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30834 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30835 _dl_s390_cap_flags with kernel. Increase string length.
30836 (_dl_s390_platforms): Add z196 and zEC12.
30838 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30840 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30841 Change XOPEN21K to XOPEN2K.
30843 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30845 * string/memmove.c: Use memcpy when possible.
30847 2012-11-06 Andreas Jaeger <aj@suse.de>
30849 * po/eo.po: Update from translation team.
30851 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30855 exponent and small x and y exponents, scale x or y up. Increase
30856 by 2 the exponent used in scaling up.
30857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30859 * math/libm-test.inc (fma_test): Add more tests.
30860 (fma_test_towardzero): Likewise.
30861 (fma_test_downward): Likewise.
30862 (fma_test_upward): Likewise.
30864 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30867 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30871 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30872 namespace for names of struct fields.
30873 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30875 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30876 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30878 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30881 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30883 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30885 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30889 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30892 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30896 definitely overflow as x * y not x * y + z.
30897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30899 * math/libm-test.inc (fma_test): Add more tests.
30900 (fma_test_towardzero): Likewise.
30901 (fma_test_downward): Likewise.
30902 (fma_test_upward): Likewise.
30904 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30908 * include/stub-tag.h: Remove file.
30909 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30911 * manual/maint.texi (Porting): Don't reference it.
30912 * Makerules ($(objpfx)stubs): Likewise.
30913 * dirent/closedir.c: Don't include <stub-tag.h>.
30914 * dirent/dirfd.c: Likewise.
30915 * dirent/fdopendir.c: Likewise.
30916 * dirent/getdents.c: Likewise.
30917 * dirent/getdents64.c: Likewise.
30918 * dirent/opendir.c: Likewise.
30919 * dirent/readdir.c: Likewise.
30920 * dirent/readdir64.c: Likewise.
30921 * dirent/readdir64_r.c: Likewise.
30922 * dirent/readdir_r.c: Likewise.
30923 * dirent/rewinddir.c: Likewise.
30924 * dirent/seekdir.c: Likewise.
30925 * dirent/telldir.c: Likewise.
30926 * gmon/profil.c: Likewise.
30927 * grp/setgroups.c: Likewise.
30928 * inet/if_index.c: Likewise.
30929 * io/access.c: Likewise.
30930 * io/chdir.c: Likewise.
30931 * io/chmod.c: Likewise.
30932 * io/chown.c: Likewise.
30933 * io/close.c: Likewise.
30934 * io/dup.c: Likewise.
30935 * io/dup2.c: Likewise.
30936 * io/dup3.c: Likewise.
30937 * io/euidaccess.c: Likewise.
30938 * io/faccessat.c: Likewise.
30939 * io/fchdir.c: Likewise.
30940 * io/fchmod.c: Likewise.
30941 * io/fchmodat.c: Likewise.
30942 * io/fchown.c: Likewise.
30943 * io/fchownat.c: Likewise.
30944 * io/fcntl.c: Likewise.
30945 * io/flock.c: Likewise.
30946 * io/fstatfs.c: Likewise.
30947 * io/fstatfs64.c: Likewise.
30948 * io/fstatvfs.c: Likewise.
30949 * io/fstatvfs64.c: Likewise.
30950 * io/futimens.c: Likewise.
30951 * io/fxstat.c: Likewise.
30952 * io/fxstat64.c: Likewise.
30953 * io/fxstatat.c: Likewise.
30954 * io/fxstatat64.c: Likewise.
30955 * io/getcwd.c: Likewise.
30956 * io/isatty.c: Likewise.
30957 * io/lchmod.c: Likewise.
30958 * io/lchown.c: Likewise.
30959 * io/link.c: Likewise.
30960 * io/linkat.c: Likewise.
30961 * io/lseek.c: Likewise.
30962 * io/lseek64.c: Likewise.
30963 * io/lxstat64.c: Likewise.
30964 * io/mkdir.c: Likewise.
30965 * io/mkdirat.c: Likewise.
30966 * io/mkfifo.c: Likewise.
30967 * io/mkfifoat.c: Likewise.
30968 * io/open.c: Likewise.
30969 * io/open64.c: Likewise.
30970 * io/openat.c: Likewise.
30971 * io/openat64.c: Likewise.
30972 * io/pipe.c: Likewise.
30973 * io/pipe2.c: Likewise.
30974 * io/poll.c: Likewise.
30975 * io/posix_fadvise.c: Likewise.
30976 * io/posix_fadvise64.c: Likewise.
30977 * io/posix_fallocate.c: Likewise.
30978 * io/posix_fallocate64.c: Likewise.
30979 * io/read.c: Likewise.
30980 * io/readlink.c: Likewise.
30981 * io/readlinkat.c: Likewise.
30982 * io/rmdir.c: Likewise.
30983 * io/sendfile.c: Likewise.
30984 * io/sendfile64.c: Likewise.
30985 * io/statfs.c: Likewise.
30986 * io/statfs64.c: Likewise.
30987 * io/statvfs.c: Likewise.
30988 * io/statvfs64.c: Likewise.
30989 * io/symlink.c: Likewise.
30990 * io/symlinkat.c: Likewise.
30991 * io/ttyname.c: Likewise.
30992 * io/ttyname_r.c: Likewise.
30993 * io/umask.c: Likewise.
30994 * io/unlink.c: Likewise.
30995 * io/unlinkat.c: Likewise.
30996 * io/utime.c: Likewise.
30997 * io/utimensat.c: Likewise.
30998 * io/write.c: Likewise.
30999 * io/xmknod.c: Likewise.
31000 * io/xmknodat.c: Likewise.
31001 * io/xstat.c: Likewise.
31002 * io/xstat64.c: Likewise.
31003 * login/getpt.c: Likewise.
31004 * login/grantpt.c: Likewise.
31005 * login/unlockpt.c: Likewise.
31006 * math/e_acoshl.c: Likewise.
31007 * math/e_acosl.c: Likewise.
31008 * math/e_asinl.c: Likewise.
31009 * math/e_atan2l.c: Likewise.
31010 * math/e_atanhl.c: Likewise.
31011 * math/e_coshl.c: Likewise.
31012 * math/e_expl.c: Likewise.
31013 * math/e_fmodl.c: Likewise.
31014 * math/e_gammal_r.c: Likewise.
31015 * math/e_hypotl.c: Likewise.
31016 * math/e_j0l.c: Likewise.
31017 * math/e_j1l.c: Likewise.
31018 * math/e_jnl.c: Likewise.
31019 * math/e_lgammal_r.c: Likewise.
31020 * math/e_log10l.c: Likewise.
31021 * math/e_log2l.c: Likewise.
31022 * math/e_logl.c: Likewise.
31023 * math/e_powl.c: Likewise.
31024 * math/e_rem_pio2l.c: Likewise.
31025 * math/e_sinhl.c: Likewise.
31026 * math/e_sqrtl.c: Likewise.
31027 * math/fclrexcpt.c: Likewise.
31028 * math/fedisblxcpt.c: Likewise.
31029 * math/feenablxcpt.c: Likewise.
31030 * math/fegetenv.c: Likewise.
31031 * math/fegetexcept.c: Likewise.
31032 * math/fegetround.c: Likewise.
31033 * math/feholdexcpt.c: Likewise.
31034 * math/fesetenv.c: Likewise.
31035 * math/fesetround.c: Likewise.
31036 * math/feupdateenv.c: Likewise.
31037 * math/fgetexcptflg.c: Likewise.
31038 * math/fraiseexcpt.c: Likewise.
31039 * math/fsetexcptflg.c: Likewise.
31040 * math/ftestexcept.c: Likewise.
31041 * math/k_cosl.c: Likewise.
31042 * math/k_rem_pio2l.c: Likewise.
31043 * math/k_sinl.c: Likewise.
31044 * math/k_tanl.c: Likewise.
31045 * math/s_asinhl.c: Likewise.
31046 * math/s_atanl.c: Likewise.
31047 * math/s_cbrtl.c: Likewise.
31048 * math/s_erfl.c: Likewise.
31049 * math/s_expm1l.c: Likewise.
31050 * math/s_log1pl.c: Likewise.
31051 * math/s_tanhl.c: Likewise.
31052 * misc/acct.c: Likewise.
31053 * misc/brk.c: Likewise.
31054 * misc/chflags.c: Likewise.
31055 * misc/chroot.c: Likewise.
31056 * misc/fchflags.c: Likewise.
31057 * misc/fgetxattr.c: Likewise.
31058 * misc/flistxattr.c: Likewise.
31059 * misc/fremovexattr.c: Likewise.
31060 * misc/fsetxattr.c: Likewise.
31061 * misc/fsync.c: Likewise.
31062 * misc/ftruncate.c: Likewise.
31063 * misc/futimes.c: Likewise.
31064 * misc/futimesat.c: Likewise.
31065 * misc/getdomain.c: Likewise.
31066 * misc/getdtsz.c: Likewise.
31067 * misc/gethostid.c: Likewise.
31068 * misc/gethostname.c: Likewise.
31069 * misc/getloadavg.c: Likewise.
31070 * misc/getpagesize.c: Likewise.
31071 * misc/getsysstats.c: Likewise.
31072 * misc/getxattr.c: Likewise.
31073 * misc/gtty.c: Likewise.
31074 * misc/ioctl.c: Likewise.
31075 * misc/lgetxattr.c: Likewise.
31076 * misc/listxattr.c: Likewise.
31077 * misc/llistxattr.c: Likewise.
31078 * misc/lremovexattr.c: Likewise.
31079 * misc/lsetxattr.c: Likewise.
31080 * misc/lutimes.c: Likewise.
31081 * misc/madvise.c: Likewise.
31082 * misc/mincore.c: Likewise.
31083 * misc/mlock.c: Likewise.
31084 * misc/mlockall.c: Likewise.
31085 * misc/mmap.c: Likewise.
31086 * misc/mprotect.c: Likewise.
31087 * misc/msync.c: Likewise.
31088 * misc/munlock.c: Likewise.
31089 * misc/munlockall.c: Likewise.
31090 * misc/munmap.c: Likewise.
31091 * misc/preadv.c: Likewise.
31092 * misc/preadv64.c: Likewise.
31093 * misc/ptrace.c: Likewise.
31094 * misc/pwritev.c: Likewise.
31095 * misc/pwritev64.c: Likewise.
31096 * misc/readv.c: Likewise.
31097 * misc/reboot.c: Likewise.
31098 * misc/remap_file_pages.c: Likewise.
31099 * misc/removexattr.c: Likewise.
31100 * misc/revoke.c: Likewise.
31101 * misc/select.c: Likewise.
31102 * misc/setdomain.c: Likewise.
31103 * misc/setegid.c: Likewise.
31104 * misc/seteuid.c: Likewise.
31105 * misc/sethostid.c: Likewise.
31106 * misc/sethostname.c: Likewise.
31107 * misc/setregid.c: Likewise.
31108 * misc/setreuid.c: Likewise.
31109 * misc/setxattr.c: Likewise.
31110 * misc/sstk.c: Likewise.
31111 * misc/stty.c: Likewise.
31112 * misc/swapoff.c: Likewise.
31113 * misc/swapon.c: Likewise.
31114 * misc/sync.c: Likewise.
31115 * misc/syncfs.c: Likewise.
31116 * misc/syscall.c: Likewise.
31117 * misc/truncate.c: Likewise.
31118 * misc/ualarm.c: Likewise.
31119 * misc/usleep.c: Likewise.
31120 * misc/ustat.c: Likewise.
31121 * misc/utimes.c: Likewise.
31122 * misc/vhangup.c: Likewise.
31123 * misc/writev.c: Likewise.
31124 * posix/_exit.c: Likewise.
31125 * posix/alarm.c: Likewise.
31126 * posix/execve.c: Likewise.
31127 * posix/fexecve.c: Likewise.
31128 * posix/fork.c: Likewise.
31129 * posix/fpathconf.c: Likewise.
31130 * posix/getaddrinfo.c: Likewise.
31131 * posix/getegid.c: Likewise.
31132 * posix/geteuid.c: Likewise.
31133 * posix/getgid.c: Likewise.
31134 * posix/getgroups.c: Likewise.
31135 * posix/getlogin.c: Likewise.
31136 * posix/getlogin_r.c: Likewise.
31137 * posix/getpgid.c: Likewise.
31138 * posix/getpid.c: Likewise.
31139 * posix/getppid.c: Likewise.
31140 * posix/getresgid.c: Likewise.
31141 * posix/getresuid.c: Likewise.
31142 * posix/getsid.c: Likewise.
31143 * posix/getuid.c: Likewise.
31144 * posix/glob64.c: Likewise.
31145 * posix/nanosleep.c: Likewise.
31146 * posix/pathconf.c: Likewise.
31147 * posix/pause.c: Likewise.
31148 * posix/posix_madvise.c: Likewise.
31149 * posix/pread.c: Likewise.
31150 * posix/pread64.c: Likewise.
31151 * posix/pwrite.c: Likewise.
31152 * posix/pwrite64.c: Likewise.
31153 * posix/sched_getaffinity.c: Likewise.
31154 * posix/sched_getp.c: Likewise.
31155 * posix/sched_gets.c: Likewise.
31156 * posix/sched_primax.c: Likewise.
31157 * posix/sched_primin.c: Likewise.
31158 * posix/sched_rr_gi.c: Likewise.
31159 * posix/sched_setaffinity.c: Likewise.
31160 * posix/sched_setp.c: Likewise.
31161 * posix/sched_sets.c: Likewise.
31162 * posix/sched_yield.c: Likewise.
31163 * posix/setgid.c: Likewise.
31164 * posix/setlogin.c: Likewise.
31165 * posix/setpgid.c: Likewise.
31166 * posix/setresgid.c: Likewise.
31167 * posix/setresuid.c: Likewise.
31168 * posix/setsid.c: Likewise.
31169 * posix/setuid.c: Likewise.
31170 * posix/sleep.c: Likewise.
31171 * posix/spawni.c: Likewise.
31172 * posix/sysconf.c: Likewise.
31173 * posix/times.c: Likewise.
31174 * posix/wait.c: Likewise.
31175 * posix/wait3.c: Likewise.
31176 * posix/wait4.c: Likewise.
31177 * posix/waitpid.c: Likewise.
31178 * resolv/gai_sigqueue.c: Likewise.
31179 * resource/getpriority.c: Likewise.
31180 * resource/getrlimit.c: Likewise.
31181 * resource/getrusage.c: Likewise.
31182 * resource/nice.c: Likewise.
31183 * resource/setpriority.c: Likewise.
31184 * resource/setrlimit.c: Likewise.
31185 * resource/ulimit.c: Likewise.
31186 * rt/aio_cancel.c: Likewise.
31187 * rt/aio_fsync.c: Likewise.
31188 * rt/aio_read.c: Likewise.
31189 * rt/aio_sigqueue.c: Likewise.
31190 * rt/aio_suspend.c: Likewise.
31191 * rt/aio_write.c: Likewise.
31192 * rt/clock_getres.c: Likewise.
31193 * rt/clock_gettime.c: Likewise.
31194 * rt/clock_nanosleep.c: Likewise.
31195 * rt/clock_settime.c: Likewise.
31196 * rt/lio_listio.c: Likewise.
31197 * rt/mq_close.c: Likewise.
31198 * rt/mq_getattr.c: Likewise.
31199 * rt/mq_notify.c: Likewise.
31200 * rt/mq_open.c: Likewise.
31201 * rt/mq_receive.c: Likewise.
31202 * rt/mq_send.c: Likewise.
31203 * rt/mq_setattr.c: Likewise.
31204 * rt/mq_timedreceive.c: Likewise.
31205 * rt/mq_timedsend.c: Likewise.
31206 * rt/mq_unlink.c: Likewise.
31207 * rt/shm_open.c: Likewise.
31208 * rt/shm_unlink.c: Likewise.
31209 * rt/timer_create.c: Likewise.
31210 * rt/timer_delete.c: Likewise.
31211 * rt/timer_getoverr.c: Likewise.
31212 * rt/timer_gettime.c: Likewise.
31213 * rt/timer_settime.c: Likewise.
31214 * setjmp/__longjmp.c: Likewise.
31215 * setjmp/setjmp.c: Likewise.
31216 * signal/kill.c: Likewise.
31217 * signal/killpg.c: Likewise.
31218 * signal/raise.c: Likewise.
31219 * signal/sigaction.c: Likewise.
31220 * signal/sigaltstack.c: Likewise.
31221 * signal/sigblock.c: Likewise.
31222 * signal/sigignore.c: Likewise.
31223 * signal/sigintr.c: Likewise.
31224 * signal/signal.c: Likewise.
31225 * signal/sigpause.c: Likewise.
31226 * signal/sigpending.c: Likewise.
31227 * signal/sigqueue.c: Likewise.
31228 * signal/sigreturn.c: Likewise.
31229 * signal/sigset.c: Likewise.
31230 * signal/sigsetmask.c: Likewise.
31231 * signal/sigstack.c: Likewise.
31232 * signal/sigsuspend.c: Likewise.
31233 * signal/sigtimedwait.c: Likewise.
31234 * signal/sigvec.c: Likewise.
31235 * signal/sigwait.c: Likewise.
31236 * signal/sigwaitinfo.c: Likewise.
31237 * signal/sysv_signal.c: Likewise.
31238 * socket/accept.c: Likewise.
31239 * socket/accept4.c: Likewise.
31240 * socket/bind.c: Likewise.
31241 * socket/connect.c: Likewise.
31242 * socket/getpeername.c: Likewise.
31243 * socket/getsockname.c: Likewise.
31244 * socket/getsockopt.c: Likewise.
31245 * socket/isfdtype.c: Likewise.
31246 * socket/listen.c: Likewise.
31247 * socket/recv.c: Likewise.
31248 * socket/recvfrom.c: Likewise.
31249 * socket/recvmsg.c: Likewise.
31250 * socket/send.c: Likewise.
31251 * socket/sendmsg.c: Likewise.
31252 * socket/sendto.c: Likewise.
31253 * socket/setsockopt.c: Likewise.
31254 * socket/shutdown.c: Likewise.
31255 * socket/sockatmark.c: Likewise.
31256 * socket/socket.c: Likewise.
31257 * socket/socketpair.c: Likewise.
31258 * stdio-common/ctermid.c: Likewise.
31259 * stdio-common/cuserid.c: Likewise.
31260 * stdio-common/remove.c: Likewise.
31261 * stdio-common/rename.c: Likewise.
31262 * stdio-common/renameat.c: Likewise.
31263 * stdio-common/tempname.c: Likewise.
31264 * stdlib/getcontext.c: Likewise.
31265 * stdlib/makecontext.c: Likewise.
31266 * stdlib/setcontext.c: Likewise.
31267 * stdlib/swapcontext.c: Likewise.
31268 * stdlib/system.c: Likewise.
31269 * streams/fattach.c: Likewise.
31270 * streams/fdetach.c: Likewise.
31271 * streams/getmsg.c: Likewise.
31272 * streams/getpmsg.c: Likewise.
31273 * streams/putmsg.c: Likewise.
31274 * streams/putpmsg.c: Likewise.
31275 * sysdeps/unix/bsd/getpt.c: Likewise.
31276 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31277 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31278 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31281 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31282 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31283 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31284 * sysvipc/msgctl.c: Likewise.
31285 * sysvipc/msgget.c: Likewise.
31286 * sysvipc/msgrcv.c: Likewise.
31287 * sysvipc/msgsnd.c: Likewise.
31288 * sysvipc/semctl.c: Likewise.
31289 * sysvipc/semget.c: Likewise.
31290 * sysvipc/semop.c: Likewise.
31291 * sysvipc/semtimedop.c: Likewise.
31292 * sysvipc/shmat.c: Likewise.
31293 * sysvipc/shmctl.c: Likewise.
31294 * sysvipc/shmdt.c: Likewise.
31295 * sysvipc/shmget.c: Likewise.
31296 * termios/tcdrain.c: Likewise.
31297 * termios/tcflow.c: Likewise.
31298 * termios/tcflush.c: Likewise.
31299 * termios/tcgetattr.c: Likewise.
31300 * termios/tcgetpgrp.c: Likewise.
31301 * termios/tcsendbrk.c: Likewise.
31302 * termios/tcsetattr.c: Likewise.
31303 * termios/tcsetpgrp.c: Likewise.
31304 * time/adjtime.c: Likewise.
31305 * time/clock.c: Likewise.
31306 * time/getitimer.c: Likewise.
31307 * time/gettimeofday.c: Likewise.
31308 * time/setitimer.c: Likewise.
31309 * time/settimeofday.c: Likewise.
31310 * time/stime.c: Likewise.
31311 * time/time.c: Likewise.
31313 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
31315 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31318 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31320 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31322 2012-11-03 Joseph Myers <joseph@codesourcery.com>
31325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31326 FE_TONEAREST before applying Dekker multiplication and Knuth
31327 addition. Clear inexact exceptions and check for exact zero
31328 results afterwards.
31329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31330 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31332 * math/libm-test.inc (fma_test): Add more tests.
31333 (fma_test_towardzero): Likewise.
31334 (fma_test_downward): Likewise.
31335 (fma_test_upward): Likewise.
31336 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31338 (libc_fesetround): New macro.
31339 (libc_fesetroundf): Likewise.
31340 (libc_fesetroundl): Likewise.
31341 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31343 (libc_fesetround_387): Likewise.
31344 (libc_fesetroundf): New macro.
31345 (libc_fesetround): Likewise.
31346 (libc_fesetroundl): Likewise.
31347 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31349 (libc_fesetroundf): New macro.
31350 (libc_fesetround): Likewise.
31351 (libc_fesetroundl): Likewise.
31352 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31353 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31354 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31356 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31357 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31359 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31360 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31362 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31366 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31367 integer constant usable in #if and use that to give value to enum
31369 (FE_DIVBYZERO): Likewise.
31370 (FE_UNDERFLOW): Likewise.
31371 (FE_OVERFLOW): Likewise.
31372 (FE_INVALID): Likewise.
31373 (FE_INVALID_SNAN): Likewise.
31374 (FE_INVALID_ISI): Likewise.
31375 (FE_INVALID_IDI): Likewise.
31376 (FE_INVALID_ZDZ): Likewise.
31377 (FE_INVALID_IMZ): Likewise.
31378 (FE_INVALID_COMPARE): Likewise.
31379 (FE_INVALID_SOFTWARE): Likewise.
31380 (FE_INVALID_SQRT): Likewise.
31381 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31382 (FE_TONEAREST): Likewise.
31383 (FE_TOWARDZERO): Likewise.
31384 (FE_UPWARD): Likewise.
31385 (FE_DOWNWARD): Likewise.
31386 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31387 (FE_DIVBYZERO): Likewise.
31388 (FE_OVERFLOW): Likewise.
31389 (FE_UNDERFLOW): Likewise.
31390 (FE_INEXACT): Likewise.
31391 (FE_TONEAREST): Likewise.
31392 (FE_DOWNWARD): Likewise.
31393 (FE_UPWARD): Likewise.
31394 (FE_TOWARDZERO): Likewise.
31395 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31396 (FE_UNDERFLOW): Likewise.
31397 (FE_OVERFLOW): Likewise.
31398 (FE_DIVBYZERO): Likewise.
31399 (FE_INVALID): Likewise.
31400 (FE_TONEAREST): Likewise.
31401 (FE_TOWARDZERO): Likewise.
31402 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31403 (FE_OVERFLOW): Likewise.
31404 (FE_UNDERFLOW): Likewise.
31405 (FE_DIVBYZERO): Likewise.
31406 (FE_INEXACT): Likewise.
31407 (FE_TONEAREST): Likewise.
31408 (FE_TOWARDZERO): Likewise.
31409 (FE_UPWARD): Likewise.
31410 (FE_DOWNWARD): Likewise.
31411 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31412 (FE_DIVBYZERO): Likewise.
31413 (FE_OVERFLOW): Likewise.
31414 (FE_UNDERFLOW): Likewise.
31415 (FE_INEXACT): Likewise.
31416 (FE_TONEAREST): Likewise.
31417 (FE_DOWNWARD): Likewise.
31418 (FE_UPWARD): Likewise.
31419 (FE_TOWARDZERO): Likewise.
31421 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31423 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31425 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31427 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31428 commands. Quote $PWD.
31429 (blacklist_exports): Don't use remove_newlines. Replace "declare
31431 (remove_newlines): Remove.
31433 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31435 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31436 * stdlib/stdlib.h (atof): Moved to ...
31437 * include/bits/stdlib-float.h: Here. New file.
31438 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31439 * stdlib/bits/stdlib-float.h: New file.
31440 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31445 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31447 * conform/conformtest.pl (@headers): Add fenv.h.
31448 * conform/data/fenv.h-data: New file.
31449 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31450 include of <math/fenv.h>.
31452 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31453 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31454 && !UNIX98]. Enables tests for XOPEN2K8.
31455 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31456 POSIX2008]: Likewise.
31458 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31459 (struct rusage): Do not expect type or its members.
31462 * math/math.h (FP_NAN): Define macro to integer constant usable in
31463 #if and use that to give value to enum constant.
31464 (FP_INFINITE): Likewise.
31465 (FP_ZERO): Likewise.
31466 (FP_SUBNORMAL): Likewise.
31467 (FP_NORMAL): Likewise.
31469 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31471 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31472 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31475 2012-11-02 Roland McGrath <roland@hack.frob.com>
31477 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31478 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31479 autoconf-time if not.
31480 * configure.in: Remove AC_PREREQ.
31482 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31484 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31485 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31486 of the internal implementation.
31488 2012-11-02 Joseph Myers <joseph@codesourcery.com>
31490 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31491 except include of <misc/sys/syslog.h>.
31493 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31496 function returns with a NULL context exit with zero.
31498 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31500 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31502 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31504 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31505 (run_program_cmd): This.
31506 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31507 (tst_langinfo): New variable. Use it.
31509 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31511 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31512 floating point opcodes.
31514 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31516 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31519 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31521 * sysdeps/mach/hurd/powerpc: Remove directory.
31522 * sysdeps/mach/powerpc: Likewise.
31524 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31526 * scripts/check-local-headers.sh: Ignore c++ headers.
31528 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31530 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31531 __libc_cleanup_region_start argument.
31533 2012-11-01 Joseph Myers <joseph@codesourcery.com>
31537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31538 x * y using scaling, not as x * y + z.
31539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31541 * math/libm-test.inc (fma_test): Add more tests.
31542 (fma_test_towardzero): Likewise.
31543 (fma_test_downward): Likewise.
31544 (fma_test_upward): Likewise.
31546 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31548 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31550 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31552 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31555 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31557 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31559 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31566 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31569 Fix the order of the list for glibc 2.17.
31570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31573 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31577 2012-10-31 Joseph Myers <joseph@codesourcery.com>
31580 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31581 for low part of x being zero before using __atanl (y).
31582 * math/libm-test.inc (atan2_test): Add another test.
31584 * manual/install.texi (Configuring and compiling): Document
31585 general use of test-wrapper and test-wrapper-env.
31586 * INSTALL: Regenerated.
31588 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31589 (__fma): Do not extract and scale down low bits on after-rounding
31590 systems when result rounded to normal precision would have normal
31592 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31593 (__fmal): Do not extract and scale down low bits on after-rounding
31594 systems when result rounded to normal precision would have normal
31596 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31597 (__fmal): Do not extract and scale down low bits on after-rounding
31598 systems when result rounded to normal precision would have normal
31600 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31602 (fma_test): Add more tests.
31603 (fma_test_towardzero): Likewise.
31604 (fma_test_downward): Likewise.
31605 (fma_test_upward): Likewise.
31607 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31609 * sysdeps/i386/tininess.h: Renamed to ...
31610 * sysdeps/x86/tininess.h: This.
31611 * sysdeps/x86_64/tininess.h: Removed.
31613 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31615 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31616 input. Use $(build-program-cmd).
31617 ($(objpfx)tst-array1-static.out): Likewise.
31618 ($(objpfx)tst-array2.out): Likewise.
31619 ($(objpfx)tst-array3.out): Likewise.
31620 ($(objpfx)tst-array4.out): Likewise.
31621 ($(objpfx)tst-array5.out): Likewise.
31622 ($(objpfx)tst-array5-static.out): Likewise.
31624 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31626 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31629 * nss/nsswitch.h (nss_interface_function): Provide new
31630 macro for use with NSS functions.
31631 * grp/initgroups.c: Use new macro.
31632 * nss/getXXbyYY.c: Likewise.
31633 * nss/getXXbyYY_r.c: Likewise.
31634 * nss/getXXent.c: Likewise.
31635 * nss/getXXent_r.c: Likewise.
31636 * sysdeps/posix/getaddrinfo.c: Likewise.
31638 2012-10-30 Andreas Jaeger <aj@suse.de>
31640 * po/ru.po: Update Russion translation from translation project.
31642 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31647 result and shift together with sticky bit instead of replicating
31648 round-to-nearest rounding.
31649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31651 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31652 missing underflow exceptions.
31653 (fma_test_towardzero): Add more tests.
31654 (fma_test_downward): Likewise.
31655 (fma_test_upward): Likewise.
31658 * sysdeps/generic/tininess.h: New file.
31659 * sysdeps/i386/tininess.h: Likewise.
31660 * sysdeps/sh/tininess.h: Likewise.
31661 * sysdeps/x86_64/tininess.h: Likewise.
31662 * stdlib/tst-strtod-underflow.c: Likewise.
31663 * stdlib/tst-tininess.c: Likewise.
31664 * stdlib/strtod_l.c: Include <tininess.h>.
31665 (round_and_return): Do not set errno for exact underflow cases.
31666 Force an underflow exception when setting errno for underflow.
31667 Determine underflow based on rounding to normal precision if
31668 TININESS_AFTER_ROUNDING.
31669 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31670 ERANGE for exact underflow cases.
31671 * stdlib/Makefile (tests): Add tst-tininess and
31672 tst-strtod-underflow.
31673 ($(objpfx)tst-tininess): Use $(link-libm).
31674 ($(objpfx)tst-strtod-underflow): Likewise.
31676 2012-10-30 Andreas Jaeger <aj@suse.de>
31679 * elf/Makefile (tests): Remove conditional for have-initfini-array
31680 since this is now always required and the variable does not exist
31682 (tests-static): Likewise.
31683 (modules-names): Likewise.
31685 * po/eo.po: Add Esperanto translation from translation project.
31687 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31688 merged with constructor/destructor.
31689 (init_array): Likewise.
31690 * elf/tst-array2dep.c (fini_array): Likewise.
31691 (init_array): Likewise.
31693 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31695 * manual/message.texi: Delete @cartouche tags.
31697 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31699 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31701 * sysdeps/mach/hurd/fsync.c: Likewise.
31703 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31704 [_POSIX_REALTIME_SIGNALS]: Change condition to
31705 [_POSIX_REALTIME_SIGNALS > 0].
31707 2012-10-27 Andreas Jaeger <aj@suse.de>
31709 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31710 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31712 [__WORDSIZE != 64]: Likewise.
31714 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31716 * iconvdata/tst-table.sh: Remove ${SHELL}.
31717 * iconvdata/tst-tables.sh: Likewise.
31719 2012-10-25 David S. Miller <davem@davemloft.net>
31721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31722 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31728 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31729 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31732 2012-10-25 Roland McGrath <roland@hack.frob.com>
31734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31735 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31738 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31739 Jim Blandy <jimb@codesourcery.com>
31741 * scripts/cross-test-ssh.sh: New file.
31742 * manual/install.texi (Configuring and compiling): Document use of
31744 * INSTALL: Regenerated.
31746 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31748 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31751 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31753 * Makeconfig (run-program-prefix): Fix comment.
31755 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31756 Jim Blandy <jimb@codesourcery.com>
31758 * Makeconfig (test-wrapper): New variable,
31759 (test-wrapper-env): Likewise.
31760 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31761 (run-built-tests): Define to yes.
31762 (run-program-prefix): Use $(test-wrapper).
31763 (built-program-cmd): Likewise.
31764 * Rules (make-test-out): Use $(test-wrapper-env) and
31765 $(host-built-program-cmd).
31766 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31767 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31769 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31770 $(test-wrapper-env) to tst-rtld-load-self.sh.
31771 ($(objpfx)order2.out): Use $(test-wrapper).
31772 ($(objpfx)tst-initorder.out): Likewise.
31773 ($(objpfx)tst-initorder2.out): Likewise.
31774 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31775 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31776 (test_wrapper_env): New variable. Use it to run ld.so.
31777 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31778 Use it to run ld.so.
31779 (test_wrapper_env): Likewise.
31780 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31781 $(test-wrapper) to run-iconv-test.sh.
31782 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31783 (ICONV): Use $test_wrapper.
31784 * posix/Makefile ($(objpfx)globtest.out): Pass
31785 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31786 globtest.sh, not $(run-program-prefix).
31787 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31788 (test_wrapper): Likewise.
31789 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31790 set together with run_via_rtld_prefix.
31791 (run_program_prefix): Define in terms of test_wrapper and
31792 run_via_rtld_prefix.
31794 2012-10-24 Roland McGrath <roland@hack.frob.com>
31796 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31797 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31801 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31802 Declare __clock_getres, __clock_gettime, __clock_settime,
31803 __clock_nanosleep, and __clock_getcpuclockid.
31804 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31805 Remove librt_hidden_def (clock_gettime).
31806 * sysdeps/unix/clock_gettime.c: Likewise.
31807 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31809 * rt/clock_getres.c: Define __clock_getres as an alias.
31810 * sysdeps/posix/clock_getres.c: Likewise.
31811 * rt/clock_settime.c: Define __clock_settime as an alias.
31812 * sysdeps/unix/clock_settime.c: Likewise.
31813 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31814 * sysdeps/unix/clock_nanosleep.c: Likewise.
31815 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31816 * rt/clock-compat.c: New file.
31817 * rt/Makefile (librt-routines): Add clock-compat and move
31818 $(clock-routines) to ...
31819 (routines): ... here, new variable.
31820 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31821 Don't add get_clockfreq here.
31822 * rt/Versions (libc: GLIBC_2.17): New version set.
31823 Add clock_* symbols here.
31824 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31826 (GLIBC_2.17): Add clock_* symbols.
31827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31838 * NEWS: Mention the move.
31840 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31841 Use __open, __read, __close rather than their public counterparts.
31842 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31843 (__get_clockfreq_via_cpuinfo): Likewise.
31844 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31845 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31847 * config.h.in (HAVE_IFUNC): New #undef.
31848 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31850 * configure: Regenerated.
31852 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31854 * configure.in: Move READELF check to start of file.
31855 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31856 libc_cv_asm_gnu_indirect_function in the process.
31857 * configure: Regenerated.
31859 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31861 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31862 send the output to /dev/null.
31863 (libc_cv_cc_with_libunwind): Likewise.
31864 (libc_cv_as_noexecstack): Likewise.
31865 * configure: Regenerate.
31867 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31869 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31871 * posix/globtest.sh (TMPDIR): Do not set.
31872 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31873 (testout): Likewise.
31875 2012-10-24 Andreas Jaeger <aj@suse.de>
31877 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31878 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31879 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31880 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31881 posix_fadvise64, posix_fallocate64.
31883 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31884 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31885 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31887 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31889 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31892 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31893 <bits/fcntl-linux.h>.
31894 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31897 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31898 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31899 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31900 [__WORDSIZE != 64]: Likewise.
31902 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31904 * Makeconfig (run-built-tests): New variable.
31905 * Rules [$(cross-compiling) = yes]: Change condition to
31906 [$(run-built-tests) = no].
31907 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31908 to [$(run-built-tests) = yes].
31909 * elf/Makefile [$(cross-compiling) = no]: Likewise
31910 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31911 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31912 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31913 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31914 * io/Makefile [$(cross-compiling) = no]: Likewise.
31915 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31916 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31917 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31918 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31919 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31920 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31921 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31922 * string/Makefile [$(cross-compiling) = no]: Likewise.
31924 * posix/Makefile ($(objpfx)globtest.out): Pass
31925 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31926 $(rtld-installed-name).
31927 * posix/globtest.sh (elf_objpfx): Remove variable.
31928 (rtld_installed_name): Likewise.
31929 (library_path): Likewise.
31930 (run_program_prefix): New variable. Use for running globtest
31933 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31934 Joseph Myers <joseph@codesourcery.com>
31936 * Makeconfig (host-built-program-cmd): New variable.
31937 * elf/Makefile (tst-stackguard1-ARGS): Use
31938 $(host-built-program-cmd).
31939 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31940 (tst-spawn-ARGS): Likewise.
31941 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31943 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31944 Jim Blandy <jimb@codesourcery.com>
31946 * Makeconfig (run-via-rtld-prefix): New variable.
31947 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31948 (built-program-cmd): Likewise.
31950 2012-10-22 Andreas Jaeger <aj@suse.de>
31952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31953 __O_RSYNC if it exists, otherwise to O_SYNC.
31955 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31956 Joseph Myers <joseph@codesourcery.com>
31958 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31960 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31962 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31965 2012-10-22 Andreas Jaeger <aj@suse.de>
31967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31972 bits/fcntl-linux.h.
31974 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31975 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31982 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31983 Joseph Myers <joseph@codesourcery.com>
31985 * config.make.in (NM): New variable.
31987 2012-10-21 Andreas Jaeger <aj@suse.de>
31989 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31990 definitions and declarations that are provided by
31991 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31993 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31996 * elf/Makefile (tests-static): Add tst-leaks1-static.
31997 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31998 ($(objpfx)tst-leaks1-static): New rule.
31999 ($(objpfx)tst-leaks1-static-mem): Likewise.
32000 (tst-leaks1-static-ENV): New macro.
32001 * elf/dl-open.c (dl_open_worker): Check the main application
32002 only if SHARED is defined.
32003 * elf/tst-leaks1-static.c: New file.
32005 2012-10-20 Andreas Jaeger <aj@suse.de>
32007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32008 generic values for Linux.
32009 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32010 and declarations that are provided by <bits/fcntl-linux.h> and
32011 include <bits/fcntl-linux.h>.
32012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32015 2012-10-20 Roland McGrath <roland@hack.frob.com>
32017 * io/fcntl.h: Move include of <bits/types.h> to the top and
32018 include it unconditionally.
32020 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32022 * wcsmbs/Makefile (tests-ifunc): New variable.
32023 (tests): Add $(tests-ifunc).
32024 * wcsmbs/test-wcschr-ifunc.c: New file.
32025 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32026 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32027 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32028 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32029 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32031 * string/Makefile (tests-ifunc): New variable.
32032 (tests): Add $(tests-ifunc).
32033 * string/test-memccpy.c (TEST_NAME): New macro.
32034 * string/test-memchr.c (TEST_NAME): Likewise.
32035 * string/test-memcmp.c (TEST_NAME): Likewise.
32036 * string/test-memcpy.c (TEST_NAME): Likewise.
32037 * string/test-memmem.c (TEST_NAME): Likewise.
32038 * string/test-memmove.c (TEST_NAME): Likewise.
32039 * string/test-memset.c (TEST_NAME): Likewise.
32040 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32041 * string/test-stpcpy.c (TEST_NAME): Likewise.
32042 * string/test-stpncpy.c (TEST_NAME): Likewise.
32043 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32044 * string/test-strcasestr.c (TEST_NAME): Likewise.
32045 * string/test-strcat.c (TEST_NAME): Likewise.
32046 * string/test-strchr.c (TEST_NAME): Likewise.
32047 * string/test-strcmp.c(TEST_NAME): Likewise.
32048 * string/test-strcpy.c (TEST_NAME): Likewise.
32049 * string/test-strcspn.c (TEST_NAME): Likewise.
32050 * string/test-strlen.c (TEST_NAME): Likewise.
32051 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32052 * string/test-strncmp.c (TEST_NAME): Likewise.
32053 * string/test-strncpy.c (TEST_NAME): Likewise.
32054 * string/test-strnlen.c (TEST_NAME): Likewise.
32055 * string/test-strpbrk.c (TEST_NAME): Likewise.
32056 * string/test-strrchr.c (TEST_NAME): Likewise.
32057 * string/test-strspn.c (TEST_NAME): Likewise.
32058 * string/test-strstr.c (TEST_NAME): Likewise.
32059 * string/test-bcopy-ifunc.c: New file.
32060 * string/test-bzero-ifunc.c: Likewise.
32061 * string/test-memccpy-ifunc.c: Likewise.
32062 * string/test-memchr-ifunc.c: Likewise.
32063 * string/test-memcmp-ifunc.c: Likewise.
32064 * string/test-memcpy-ifunc.c: Likewise.
32065 * string/test-memmem-ifunc.c: Likewise.
32066 * string/test-memmove-ifunc.c: Likewise.
32067 * string/test-mempcpy-ifunc.c: Likewise.
32068 * string/test-memset-ifunc.c: Likewise.
32069 * string/test-rawmemchr-ifunc.c: Likewise.
32070 * string/test-stpcpy-ifunc.c: Likewise.
32071 * string/test-stpncpy-ifunc.c: Likewise.
32072 * string/test-strcasecmp-ifunc.c: Likewise.
32073 * string/test-strcasestr-ifunc.c: Likewise.
32074 * string/test-strcat-ifunc.c: Likewise.
32075 * string/test-strchr-ifunc.c: Likewise.
32076 * string/test-strchrnul-ifunc.c: Likewise.
32077 * string/test-strcmp-ifunc.c: Likewise.
32078 * string/test-strcpy-ifunc.c: Likewise.
32079 * string/test-strcspn-ifunc.c: Likewise.
32080 * string/test-strlen-ifunc.c: Likewise.
32081 * string/test-strncasecmp-ifunc.c: Likewise.
32082 * string/test-strncat-ifunc.c: Likewise.
32083 * string/test-strncmp-ifunc.c: Likewise.
32084 * string/test-strncpy-ifunc.c: Likewise.
32085 * string/test-strnlen-ifunc.c: Likewise.
32086 * string/test-strpbrk-ifunc.c: Likewise.
32087 * string/test-strrchr-ifunc.c: Likewise.
32088 * string/test-strspn-ifunc.c: Likewise.
32089 * string/test-strstr-ifunc.c: Likewise.
32091 * debug/Makefile (tests-ifunc): New variable.
32092 (tests): Add $(tests-ifunc).
32093 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32094 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32095 * debug/test-stpcpy_chk-ifunc.c: New file.
32096 * debug/test-strcpy_chk-ifunc.c: Likewise.
32098 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32101 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32102 header is not read in.
32104 2012-10-19 Joseph Myers <joseph@codesourcery.com>
32106 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32107 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32108 directly. Pass built executable to script as
32109 $(built-program-cmd).
32110 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32111 $testprogram without using LD_LIBRARY_PATH and $ldso.
32113 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32114 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32115 $(rtld-installed-name).
32116 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32117 (rtld_installed_name): Likewise.
32118 (library_path): Likewise.
32119 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32120 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32121 $(run-program-prefix) to tst-tables.sh.
32122 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32123 it to run tst-table-from and tst-table-to.
32124 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32125 Pass it to tst-table.sh.
32126 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32127 $(run-program-prefix) to tst-gettext.sh.
32128 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32130 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32132 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32133 to run tst-gettext.
32134 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32135 to run tst-gettext2.
32136 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32137 to run tst-translit.
32138 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32139 $(run-program-prefix) to tst-mtrace.sh.
32140 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32142 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32143 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32144 $(rtld-installed-name).
32145 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32146 (rtld_installed_name): Likewise.
32147 (run_program_prefix): New variable. Use it to run wordexp-test.
32149 * Makeconfig (ARCH): Remove all definitions.
32150 (machine): Likewise.
32151 [ARCH]: Remove conditional code.
32152 [!objdir]: Give error.
32153 [!objdir] (objpfx): Remove.
32154 [!objdir] (common-objpfx): Likewise.
32155 [!objdir] (common-objdir): Likewise.
32156 * configure.in (config_makefile): Remove. Hardcode Makefile in
32157 AC_CONFIG_FILES call.
32158 * configure: Regenerated.
32161 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32163 (testout): Likewise.
32165 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32166 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32167 $(rtld-installed-name).
32168 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32169 (rtld_installed_name): Likwise.
32170 (runit): Remove function.
32171 (run_getconf): New variable, Use it for running getconf binary.
32173 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32176 * string/test-memmem.c (check_result): New function.
32177 (do_one_test): Use it.
32178 (check1): New function.
32179 (test_main): Use it.
32181 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32183 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32185 2012-10-18 Joseph Myers <joseph@codesourcery.com>
32187 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32188 (_G_LSEEK64): Likewise.
32189 (_G_MMAP64): Likewise.
32190 (_G_FSTAT64): Likewise.
32191 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32192 (_G_LSEEK64): Likewise.
32193 (_G_MMAP64): Likewise.
32194 (_G_FSTAT64): Likewise.
32195 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32196 unconditional. Call __mmap64 directly.
32197 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32198 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32199 __lseek64 directly.
32200 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32201 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32203 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32204 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32205 __lseek64 directly.
32206 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32207 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32208 __lseek64 directly.
32209 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32210 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32211 __lseek64 directly.
32212 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32213 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32214 __fxstat64 directly.
32215 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32216 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32218 (freopen64) [!_G_OPEN64]: Remove conditional code.
32219 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32221 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32222 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32224 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32225 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32227 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32228 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32230 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32231 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32233 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32234 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32236 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32237 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32239 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32241 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32244 * manual/memory.texi (Malloc Tunable Parameters): Add note
32245 about free list pointers overwriting some perturb bytes.
32246 Wording suggested by Roland McGrath.
32248 2012-10-17 Joseph Myers <joseph@codesourcery.com>
32250 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32251 (lgamma_test): Likewise.
32252 (tgamma_test): Likewise.
32254 2012-10-16 Florian Weimer <fweimer@redhat.com>
32257 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32258 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32260 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32262 * NEWS: Mention BZ #14716.
32263 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32264 when removing AVAILABLE1_USES_J macro.
32266 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32268 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32269 (__bswap_64): __uint64_t for unsigned 64-bit int.
32271 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32273 * include/string.h (memmem): Declare libc hidden alias.
32274 * string/memmem.c (memmem): Define libc hidden alias.
32275 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32276 __read, __close instead of open, read, close.
32278 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32281 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32283 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32284 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32285 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32287 (__rawmemchr_sse2): Likewise.
32288 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32289 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32290 (__strchr_sse2): Likewise.
32291 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32292 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32293 (__strcasecmp_sse2): Likewise.
32294 (__strncasecmp_sse2): Likewise.
32295 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32296 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32297 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32298 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32299 (__strrchr_sse2): Likewise.
32300 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32302 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32304 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32305 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32306 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32307 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32310 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32311 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32312 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32314 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32315 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32316 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32317 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32318 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32319 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32320 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32321 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32322 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32323 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32324 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32325 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32326 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32328 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32329 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32330 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32331 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32333 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32335 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32336 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32337 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32338 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32340 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32342 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32343 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32344 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32345 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32347 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32348 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32349 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32350 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32351 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32352 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32353 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32354 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32355 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32356 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32357 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32358 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32359 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32360 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32361 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32363 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32364 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32365 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32366 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32367 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32368 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32369 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32370 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32371 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32372 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32373 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32374 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32375 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32376 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32377 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32378 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32379 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32380 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32381 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32382 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32383 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32384 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32385 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32386 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32387 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32389 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32390 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32391 * include/ifunc-impl-list.h: New file.
32392 * misc/ifunc-impl-list.c: Likewise.
32393 * misc/Makefile (routines): Add ifunc-impl-list.
32394 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32395 * string/test-string.h: Include <ifunc-impl-list.h>.
32396 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32397 TEST_NAME]: New variables.
32398 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32400 (test_init): Call __libc_ifunc_impl_list to initialize
32401 func_list if TEST_IFUNC and TEST_NAME are defined.
32403 * string/Makefile (strop-tests): Add bcopy and bzero.
32404 * string/test-bcopy.c: New file.
32405 * string/test-bzero.c: Likewise.
32406 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32408 * string/test-memset.c: Support bzero test if TEST_BZERO is
32410 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32412 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32414 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32417 2012-10-10 Joseph Myers <joseph@codesourcery.com>
32419 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32420 * configure: Regenerated.
32422 * Makeconfig (+link-static-before-libc): Don't include
32423 $(link-static-libc).
32425 * libio/libio.h (_IO_pos_t): Remove.
32427 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32429 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32432 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32434 * crypt/crypt-entry.c: Include fips-private.h.
32435 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32436 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32437 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32438 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32440 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
32442 * crypt/crypt-private.h: Include stdbool.h.
32443 (_ufc_setup_salt_r): Return bool.
32444 * crypt/crypt-entry.c: Include errno.h.
32445 (__crypt_r): Return NULL with EINVAL for bad salt.
32446 * crypt/crypt_util.c (bad_for_salt): New.
32447 (_ufc_setup_salt_r): Check that salt is long enough and within
32448 the specified alphabet.
32449 * crypt/badsalttest.c: New file.
32450 * crypt/Makefile (tests): Add it.
32451 ($(objpfx)badsalttest): New.
32453 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32455 * NEWS: Add entry for BZ #14602.
32457 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32459 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32461 * math/libm-test.inc: Update comment listing what functions and
32463 (isgreater_test): New function.
32464 (isgreaterequal_test): Likewise.
32465 (isless_test): Likewise.
32466 (islessequal_test): Likewise.
32467 (islessgreater_test): Likewise.
32468 (isunordered_test): Likewise.
32469 (main): Call the new functions.
32471 2012-10-09 Roland McGrath <roland@hack.frob.com>
32473 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32474 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32475 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32476 * sysdeps/i386/configure: Regenerated.
32477 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32478 * sysdeps/mach/configure: Regenerated.
32479 * sysdeps/mach/hurd/configure: Regenerated.
32480 * sysdeps/powerpc/configure: Regenerated.
32481 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32482 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32483 * sysdeps/s390/s390-32/configure: Regenerated.
32484 * sysdeps/s390/s390-64/configure: Regenerated.
32485 * sysdeps/sh/configure: Regenerated.
32486 * sysdeps/sparc/configure: Regenerated.
32487 * sysdeps/unix/sysv/linux/configure: Regenerated.
32488 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32489 * sysdeps/x86_64/configure: Regenerated.
32491 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32492 defined. Don't check if MAP is NULL.
32494 2012-10-09 Joseph Myers <joseph@codesourcery.com>
32496 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32497 (_G_stat64): Likewise.
32498 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32499 (_G_stat64): Likewise.
32500 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32501 instead of struct _G_stat64.
32502 * libio/fileops.c (mmap_remap_check): Likewise.
32503 (decide_maybe_mmap): Likewise.
32504 (_IO_new_file_seekoff): Likewise.
32505 (_IO_file_stat): Likewise.
32506 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32508 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32509 instead of struct _G_stat64.
32510 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32512 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32515 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32517 (CHECK_EOL): New macro.
32518 (two_way_short_needle): Check beginning of haystack for EOL. Use
32520 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32521 Replace with CHECK_EOL.
32522 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32523 Replace with CHECK_EOL.
32525 2012-10-08 Joseph Myers <joseph@codesourcery.com>
32527 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32529 * math/libm-test.inc: Update comment listing what functions and
32531 (finite_test): New function.
32532 (isinf_test): Likewise.
32533 (isnan_test): Likewise.
32534 (fpclassify_test): Test subnormal input.
32535 (isfinite_test): Likewise.
32536 (isnormal_test): Likewise.
32537 (main): Call the new functions.
32539 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32542 * Makerules (%.dynsym): Force C locale when running
32543 $(OBJDUMP) --dynamic-syms.
32545 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32547 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32550 2012-10-06 David S. Miller <davem@davemloft.net>
32552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32553 upper 32-bits of the length value in %o2 since we use branch-on-register
32554 tests which consider the entire 64-bit register.
32556 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32558 * string/test-strstr.c (check2): Add a test for page boundary.
32560 2012-10-05 David S. Miller <davem@davemloft.net>
32562 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32563 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32565 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32567 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32568 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32569 and bzero when HWCAP_SPARC_CRYPTO is present.
32571 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32574 * string/test-strstr.c (check2): New function.
32575 (test_main): Call check2.
32577 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32579 * string/bug-strcasestr1.c (do_test): Moved to ...
32580 * string/test-strcasestr.c (check1): Here. New function.
32581 (do_one_test): Break out result checking code into ...
32582 (check_result): This. New function.
32583 (do_one_test): Call check_result.
32584 (test_main): Call check1.
32585 * string/bug-strchr1.c (do_test): Moved to ...
32586 * string/test-strchr.c (check1): Here. New function.
32587 (do_one_test): Break out result checking code into ...
32588 (check_result): This. New function.
32589 (do_one_test): Call check_result.
32590 (test_main): Call check1.
32591 * string/bug-strstr1.c (main): Moved to ...
32592 * string/test-strstr.c (check1): Here. New function.
32593 (do_one_test): Break out result checking code into ...
32594 (check_result): This. New function.
32595 (do_one_test): Call check_result.
32596 (test_main): Call check1.
32597 * string/bug-strcasestr1.c: Removed.
32598 * string/bug-strchr1.c: Likewise.
32599 * string/bug-strstr1.c: Likewise.
32601 * elf/Makefile (dl-routines): Add hwcaps.
32602 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32603 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32604 (_dl_important_hwcaps): Moved to ...
32605 * elf/dl-hwcaps.c: Here. New file.
32606 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32609 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32610 if IS_IN_rtld isn't defined.
32612 * elf/dl-support.c (_dl_sysinfo_map): New.
32613 Include "get-dynamic-info.h" and "setup-vdso.h".
32614 (_dl_non_dynamic_init): Call setup_vdso.
32615 * elf/dynamic-link.h: Don't include <assert.h>.
32616 (elf_get_dynamic_info): Moved to ...
32617 * elf/get-dynamic-info.h: Here. New file.
32618 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32619 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32620 * elf/setup-vdso.h: Here. New file.
32621 * elf/rtld.c: Include "setup-vdso.h".
32622 (dl_main): Call setup_vdso.
32624 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32626 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32627 creal in comment listing functions tested. List finite, isinf,
32628 isnan, isless, islessequal, isgreater, isgreaterequal,
32629 islessgreater, isunordered, lgamma_r and pow10 as functions and
32630 macros not tested. Mention which functions not tested are aliases
32631 for other functions. Fix typo. Note that signs of NaNs are not
32634 * scripts/config.guess: Update from config.git.
32635 * scripts/config.sub: Likewise.
32637 2012-10-04 Roland McGrath <roland@hack.frob.com>
32639 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32640 * misc/madvise.c (madvise): Renamed to __madvise.
32641 Make madvise a weak alias.
32642 * include/sys/mman.h: Declare __madvise.
32643 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32644 * sysdeps/unix/syscalls.list
32645 (madvise): Make __madvise the strong name, and madvise a weak alias.
32646 * sysdeps/unix/sysv/linux/syscalls.list
32647 (madvise, mmap): Remove redundant entries.
32648 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32649 * malloc/malloc.c (mtrim): Likewise.
32650 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32652 2012-10-03 Roland McGrath <roland@hack.frob.com>
32654 * sysdeps/mach/hurd/dl-cache.c: File removed.
32655 * config.h.in (USE_LDCONFIG): New #undef.
32656 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32657 * configure: Regenerated.
32658 * elf/Makefile (dl-routines): Add dl-cache only under
32659 [$(use-ldconfig) = yes].
32660 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32661 cache on [USE_LDCONFIG].
32662 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32664 * elf/rtld.c (dl_main): Likewise.
32666 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32668 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32669 _SC_LEVEL4_CACHE_LINESIZE.
32671 2012-10-03 Roland McGrath <roland@hack.frob.com>
32673 * sysdeps/unix/bsd/confstr.h: File removed.
32675 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32677 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32680 2012-10-02 Roland McGrath <roland@hack.frob.com>
32682 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32683 Make 'mapoff' field ElfW(Off) rather than off_t.
32685 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32687 * nscd/Makefile: Remove nscd-cflags and all its users.
32688 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32689 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32692 * malloc.c (malloc_printerr): Clarify error message.
32694 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32698 Set bit_FMA_Usable if FMA is supported.
32699 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32701 (bit_FMA4_Usable): Updated.
32702 (index_FMA_Usable): New macro.
32703 (CPUID_FMA): Likewise
32704 (HAS_FMA): Defined with bit_FMA_Usable.
32706 2012-10-01 Roland McGrath <roland@hack.frob.com>
32708 * bits/types.h (__swblk_t): Type removed.
32709 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32710 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32712 (__SWBLK_T_TYPE): Likewise.
32713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32714 (__SWBLK_T_TYPE): Likewise.
32715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32716 (__SWBLK_T_TYPE): Likewise.
32717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32718 (__SWBLK_T_TYPE): Likewise.
32720 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32721 Honza Horak <hhorak@redhat.com>
32723 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32724 (xdr_mapname): Use YPMAXMAP as maxsize.
32725 (xdr_peername): Use YPMAXPEER as maxsize.
32726 (xdr_keydat): Use YPAXRECORD as maxsize.
32727 (xdr_valdat): Use YPMAXRECORD as maxsize.
32729 2012-10-01 Roland McGrath <roland@hack.frob.com>
32731 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32733 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32734 * csu/init-first.c: ... here.
32735 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32736 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32737 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32738 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32739 * sysdeps/i386/init-first.c: File removed.
32740 * sysdeps/sh/init-first.c: File removed.
32742 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32746 if x * y might underflow to zero and z is zero.
32747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32749 * math/libm-test.inc (min_subnorm_value): New variable.
32750 (fma_test): Add more tests.
32751 (fma_test_towardzero): Likewise.
32752 (fma_test_downward): Likewise
32753 (fma_test_upward): Likewise.
32754 (initialize): Set min_subnorm_value.
32756 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32762 mode for addition resulting in exact zero.
32763 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32766 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32768 * math/libm-test.inc (fma_test): Add more tests.
32769 (fma_test_towardzero): New function.
32770 (fma_test_downward): Likewise.
32771 (fma_test_upward): Likewise.
32772 (main): Call the new functions.
32774 2012-09-28 David S. Miller <davem@davemloft.net>
32776 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32778 2012-09-28 Roland McGrath <roland@hack.frob.com>
32780 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32781 instead of SIGALRM.
32783 * sysdeps/gnu/_G_config.h: Moved to ...
32784 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32785 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32786 * sysdeps/generic/_G_config.h: ... here.
32788 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32790 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32792 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32793 Conditionalize target on [libnss_test1.so-version].
32795 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32797 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32798 (elfobjdir): Move out of conditionals.
32800 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32801 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32802 (__nss_lookup_function): Conditionalize label remove_from_tree on
32803 [!DO_STATIC_NSS || SHARED], matching its only use.
32805 2012-09-28 David S. Miller <davem@davemloft.net>
32807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32808 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32810 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32812 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32813 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32814 when HWCAP_SPARC_CRYPTO is present.
32816 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32818 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32820 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32823 * stdio-common/vfprintf.c (process_string_arg): Revert
32826 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32828 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32830 * stdio-common/tst-sprintf.c: Include <locale.h>
32831 (main): Test sprintf's handling of incomplete multibyte
32834 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32836 * elf/dl-runtime.c (VERSYMIDX): Removed.
32837 * elf/dl-version.c (VERSYMIDX): Likewise.
32838 * elf/do-rel.h (VERSYMIDX): Likewise.
32839 (VALIDX): Likewise.
32840 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32841 * elf/rtld.c (VALIDX): Likewise.
32842 (ADDRIDX): Likewise.
32843 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32844 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32845 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32846 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32847 (VALIDX): Likewise.
32848 (ADDRIDX): Likewise.
32850 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32852 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32854 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32857 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32859 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32860 addresses are in the same scope as 192.0.2/24.
32861 * posix/gai.conf: Document new scope table defaults.
32863 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32866 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32867 for ftell. Compute offsets from write pointers instead.
32868 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32870 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32873 * libio/Makefile (tests): New test case tst-fseek.
32874 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32875 combination works in wide mode.
32876 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32877 state when the external buffer state changes.
32879 2012-09-27 David S. Miller <davem@davemloft.net>
32882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32883 pass reloc->r_addend in as the 'high' argument to
32884 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32888 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32890 * rt/tst-aio2.c: Include <pthread.h>.
32891 * rt/tst-aio3.c: Likewise.
32893 2012-09-27 Steve Ellcey <sellcey@mips.com>
32895 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32897 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32899 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32900 contents on [SHARED].
32902 2012-09-26 Marek Polacek <polacek@redhat.com>
32906 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32907 for C++ and GCC <4.3 as well as for non GCC compilers.
32909 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32913 2012-09-25 Roland McGrath <roland@hack.frob.com>
32915 * Makefile.in (all, install): Declare with .PHONY.
32916 Reported by Michael Hope <michael.hope@linaro.org>.
32918 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32920 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32921 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32923 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32925 (sydep_routines): Add the new and the internal functions.
32926 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32927 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32929 (GLIBC_2.17): Add the new function.
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32931 (GLIBC_2.17): Likewise.
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32933 (GLIBC_2.17): Likewise.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32935 (GLIBC_2.17): Likewise.
32936 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32938 2012-09-25 Alan Modra <amodra@gmail.com>
32940 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32941 Add release barrier before setting once_control to say
32942 initialisation is done. Add hints on lwarx. Use macro in
32944 (clear_once_control): Add release barrier.
32946 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32949 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32951 * math/s_clog10.c (__clog10): Likewise.
32952 * math/s_clog10f.c (__clog10f): Likewise.
32953 * math/s_clog10l.c (__clog10l): Likewise.
32954 * math/s_clogf.c (__clogf): Likewise.
32955 * math/s_clogl.c (__clogl): Likewise.
32956 * math/Makefile (libm-calls): Add x2y2m1.
32957 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32958 (__x2y2m1): Likewise.
32959 (__x2y2m1l): Likewise.
32960 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32961 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32962 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32963 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32964 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32965 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32966 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32967 * sysdeps/i386/fpu/libm-test-ulps: Update.
32968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32971 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32972 int as type of variable DEPTH.
32973 (glob): Use size_t instead of int as type of variables NEWCOUNT
32976 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32978 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32979 Add s_sincosf-sse2.
32980 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32981 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32982 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32983 macros for using routine as __sincosf_ia32.
32984 Use macro for function declaration and weak_alias.
32985 * sysdeps/i386/fpu/libm-test-ulps: Update.
32987 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32990 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32991 subnormal argument.
32992 * math/s_cexpf.c (__cexpf): Likewise.
32993 * math/s_csinf.c (__csinf): Likewise.
32994 * math/s_csinhf.c (__csinhf): Likewise.
32995 * math/s_ctanf.c (__ctanf): Likewise.
32996 * math/s_ctanhf.c (__ctanhf): Likewise.
32997 * math/s_ccosh.c (__ccoshf): Likewise.
32998 * math/s_cexp.c (__cexpl): Likewise.
32999 * math/s_csin.c (__csin): Likewise.
33000 * math/s_csinh.c (__csinh): Likewise.
33001 * math/s_ctan.c (__ctan): Likewise.
33002 * math/s_ctanh.c (ctanh): Likewise.
33003 * math/s_ccoshl.c (__ccoshl): Likewise.
33004 * math/s_cexpl.c (__cexpl): Likewise.
33005 * math/s_csinl.c (__csinl): Likewise.
33006 * math/s_csinhl.c (__csinhl): Likewise.
33007 * math/s_ctanl.c (__ctanl): Likewise.
33008 * math/s_ctanhl.c (__ctanhl): Likewise.
33010 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33012 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33013 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33014 (_IO_off_t): Define to __off_t, not _G_off_t.
33015 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33016 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33017 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33018 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33019 type of __dummy and __dummy2 fields.
33020 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33021 (_G_ssize_t): Likewise.
33022 (_G_off_t): Likewise.
33023 (_G_pid_t): Likewise.
33024 (_G_uid_t): Likewise.
33025 (_G_wchar_t): Likewise.
33026 (_G_wint_t): Likewise.
33027 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33028 (_G_ssize_t): Likewise.
33029 (_G_off_t): Likewise.
33030 (_G_pid_t): Likewise.
33031 (_G_uid_t): Likewise.
33032 (_G_wchar_t): Likewise.
33033 (_G_wint_t): Likewise.
33034 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33035 (_G_ssize_t): Likewise.
33036 (_G_off_t): Likewise.
33037 (_G_pid_t): Likewise.
33038 (_G_uid_t): Likewise.
33039 (_G_wchar_t): Likewise.
33040 (_G_wint_t): Likewise.
33042 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33044 * malloc/arena.c: Include malloc-sysdep.h.
33045 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33046 is sufficient to shrink the heap or an unmap is needed.
33047 * sysdeps/generic/malloc-sysdep.h: New file. Define
33048 new function check_may_shrink_heap.
33049 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33050 new function check_may_shrink_heap.
33052 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33054 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33057 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33059 * catgets/test-gencat.sh: Add "set -e".
33060 * elf/tst-pathopt.sh: Likewise.
33061 * grp/tst_fgetgrent.sh: Likewise.
33062 * iconvdata/run-iconv-test.sh: Likewise.
33063 * intl/tst-gettext.sh: Likewise.
33064 * intl/tst-gettext2.sh: Likewise.
33065 * intl/tst-gettext4.sh: Likewise.
33066 * intl/tst-gettext6.sh: Likewise.
33067 * intl/tst-translit.sh: Likewise.
33068 * io/ftwtest-sh: Likewise.
33069 * libio/test-freopen.sh: Likewise.
33070 * malloc/tst-mtrace.sh: Likewise.
33071 * posix/globtest.sh: Likewise.
33072 * posix/tst-getconf.sh: Likewise.
33073 * posix/wordexp-tst.sh: Likewise.
33074 * stdio-common/tst-printf.sh: Likewise.
33075 * stdio-common/tst-unbputc.sh: Likewise.
33076 * stdlib/tst-fmtmsg.sh: Likewise.
33077 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33078 * catgets/Makefile: Do not specify -e option when running
33079 testsuite shell scripts.
33080 * elf/Makefile: Likewise.
33081 * grp/Makefile: Likewise.
33082 * iconvdata/Makefile: Likewise.
33083 * intl/Makefile: Likewise.
33084 * io/Makefile: Likewise.
33085 * libio/Makefile: Likewise.
33086 * malloc/Makefile: Likewise.
33087 * posix/Makefile: Likewise.
33088 * stdio-common/Makefile: Likewise.
33089 * stdlib/Makefile: Likewise.
33090 * sysdeps/x86_64/Makefile: Likewise.
33092 * io/ftwtest-sh: Add copyright header.
33093 * posix/globtest.sh: Likewise.
33094 * posix/tst-getconf.sh: Likewise.
33095 * posix/wordexp-tst.sh: Likewise.
33096 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33098 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33101 * Makeconfig (+link): Defined as $(+link-static) if
33102 $(build-shared) isn't yes.
33103 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33105 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33107 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33110 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33111 new chunk size with MALLOC_ALIGN_MASK.
33113 2012-09-24 Joseph Myers <joseph@codesourcery.com>
33116 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33118 (__printf_fphex): Determine rounding using get_rounding_mode and
33120 * stdio-common/tst-printf-round.c (struct hex_test): New
33122 (hex_tests): New variable.
33123 (test_hex_in_one_mode): New function.
33124 (do_test): Also run tests for hex float output.
33126 2012-09-21 Joseph Myers <joseph@codesourcery.com>
33128 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33129 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33130 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33131 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33132 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33133 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33134 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33135 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33137 2012-09-20 Joseph Myers <joseph@codesourcery.com>
33139 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33140 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33141 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33142 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33144 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33147 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33149 * elf/tst-rtld-load-self.sh: New test.
33150 * elf/Makefile: Run it.
33152 2012-09-18 Joseph Myers <joseph@codesourcery.com>
33154 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33155 (tst-writev-ENV): Remove.
33156 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33158 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33160 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33162 2012-09-17 Joseph Myers <joseph@codesourcery.com>
33164 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33166 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33168 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33169 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33170 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33173 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33176 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33177 * config.make.in (have-cpp-asm-debuginfo): Removed.
33178 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33179 * configure: Regenerated.
33181 2012-09-14 Joseph Myers <joseph@codesourcery.com>
33184 * stdio-common/printf_fp.c: Include <stdbool.h> and
33186 (___printf_fp): Determine rounding using get_rounding_mode and
33188 * stdio-common/tst-printf-round.c: New file.
33189 * stdio-common/Makefile (tests): Add tst-printf-round.
33190 (link-libm): New variable.
33191 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33193 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33196 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33197 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33199 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33202 2012-09-13 Joseph Myers <joseph@codesourcery.com>
33204 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33205 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33206 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33207 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33209 2012-09-12 Joseph Myers <joseph@codesourcery.com>
33212 * include/rounding-mode.h: New file.
33213 * sysdeps/generic/get-rounding-mode.h: Likewise.
33214 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33215 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33216 (MAX_VALUE): New macro.
33217 (MIN_VALUE): Likewise.
33218 (overflow_value): New function.
33219 (underflow_value): Likewise.
33220 (round_and_return): Use overflow_value and underflow_value to
33221 determine return values in overflow and underflow cases. Use
33222 round_away to determine rounding depending on rounding mode.
33223 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33224 determine return values in overflow and underflow cases.
33225 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33226 (struct test_results): New structure.
33227 (struct test): Use struct test_results to store expected results
33228 for all rounding modes.
33229 (TEST): Include expected results for all rounding modes.
33230 (test_in_one_mode): New function.
33231 (do_test): Use test_in_one_mode to compute and check results.
33232 Check results for all rounding modes.
33233 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33236 2012-12-09 Allan McRae <allan@archlinux.org>
33238 * sysdeps/i386/fpu/libm-test-ulps: Update
33240 2012-09-11 Joseph Myers <joseph@codesourcery.com>
33242 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33243 (_G_int32_t): Likewise.
33244 (_G_uint16_t): Likewise.
33245 (_G_uint32_t): Likewise.
33246 (_G_HAVE_BOOL): Likewise.
33247 (_G_HAVE_ATEXIT): Likewise.
33248 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33249 (_G_HAVE_IO_FILE_OPEN): Likewise.
33250 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33251 (_G_int32_t): Likewise.
33252 (_G_uint16_t): Likewise.
33253 (_G_uint32_t): Likewise.
33254 (_G_HAVE_BOOL): Likewise.
33255 (_G_HAVE_ATEXIT): Likewise.
33256 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33257 (_G_HAVE_IO_FILE_OPEN): Likewise.
33258 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33259 (_G_int32_t): Likewise.
33260 (_G_uint16_t): Likewise.
33261 (_G_uint32_t): Likewise.
33262 (_G_HAVE_BOOL): Likewise.
33263 (_G_HAVE_ATEXIT): Likewise.
33264 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33265 (_G_HAVE_IO_FILE_OPEN): Likewise.
33267 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33269 * csu/libc-tls.c: Update copyright years.
33271 2012-09-10 Joseph Myers <joseph@codesourcery.com>
33273 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33274 [!_G_USING_THUNKS]: Remove conditional code.
33275 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33276 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33278 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33279 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33280 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33281 (_G_VTABLE_LABEL_PREFIX): Likewise.
33282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33283 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33284 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33285 (_G_VTABLE_LABEL_PREFIX): Likewise.
33286 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33287 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33288 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33289 (_G_VTABLE_LABEL_PREFIX): Likewise.
33290 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33292 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33294 * libio/Makefile: Include ../Makeconfig before tests.
33295 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33296 only if $(build-shared) is yes.
33298 * iconv/gconv_db.c: Update copyright years.
33300 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33302 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33303 unwind info if defined PIC. Fix special cases description.
33304 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33306 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33308 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33310 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33312 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33314 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33317 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33318 (LDLIBS-tst-chk4): This.
33319 (LDFLAGS-tst-chk5): Renamed to ...
33320 (LDLIBS-tst-chk5): This.
33321 (LDFLAGS-tst-chk6): Renamed to ...
33322 (LDLIBS-tst-chk6): This.
33323 (LDFLAGS-tst-lfschk4): Renamed to ...
33324 (LDLIBS-tst-lfschk4): This.
33325 (LDFLAGS-tst-lfschk5): Renamed to ...
33326 (LDLIBS-tst-lfschk5): This.
33327 (LDFLAGS-tst-lfschk6): Renamed to ...
33328 (LDLIBS-tst-lfschk6): This.
33330 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33331 on $(common-objpfx)soversions.mk.
33333 2012-09-07 Joseph Myers <joseph@codesourcery.com>
33336 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33339 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33341 * malloc/arena.c (arena_get_retry): New function that gets
33342 another arena for the caller to try its request on.
33343 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33344 current arena cannot fulfill the request.
33345 (__libc_memalign): Likewise.
33346 (__libc_memalign): Likewise.
33347 (__libc_pvalloc): Likewise.
33348 (__libc_calloc): Likewise.
33350 2012-09-05 John Tobey <john.tobey@gmail.com>
33353 * manual/arith.texi (Operations on Complex): Fix description
33354 of carg branch cut.
33356 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33359 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33363 * manual/memory.texi (Memory): Make order of menu items match
33366 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33368 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33369 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33370 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33372 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33374 * csu/libc-tls.c (static_dtv): Renamed to ...
33375 (_dl_static_dtv): This. Make it global.
33376 (_dl_initial_dtv): Removed.
33377 (__libc_setup_tls): Updated.
33378 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33379 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33382 2012-09-06 Petr Machata <pmachata@redhat.com>
33384 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33385 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33386 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33387 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33389 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33392 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33393 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33396 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33399 * Makeconfig (link-static-before-libc): Replace $(+prector)
33401 (link-static-after-libc): Replace $(+postctor) with
33403 (link-bounded): Replace $(+prector)/$(+postctor) with
33404 $(+prectorT)/$(+postctorT).
33405 (+prectorT): New macro.
33406 (+postctorT): Likewise.
33408 2012-09-06 Joseph Myers <joseph@codesourcery.com>
33410 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33411 (round_str): Handle values above the maximum for IBM long double
33413 * stdlib/tst-strtod-round.c (tests): Regenerated.
33415 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33417 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33419 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33420 zarch_nohighgprs around the zarch optimized routines.
33421 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33422 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33426 2012-09-05 David S. Miller <davem@davemloft.net>
33428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33430 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33431 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
33432 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33436 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33438 * malloc/arena.c: Fold copyright years.
33439 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33441 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33443 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33445 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33447 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33449 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33451 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33452 change internal state upon failure.
33454 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
33456 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33457 * malloc/memusage.c (mmap): Likewise.
33458 (mmap64, mremap): Likewise. Adjust name in comment.
33460 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33462 * libio/fileops.c: Fix typos in comments.
33463 * libio/oldfileops.c: Likewise.
33464 * libio/wfileops.c: Likewise.
33466 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33469 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33470 (tst-malloc-usable-ENV): Set environment for test case.
33471 * malloc/hooks.c (malloc_check_get_size): New function to get
33473 * malloc/malloc.c (musable): Use malloc_check_get_size.
33474 * malloc/tst-malloc-usable.c: New test case.
33476 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33478 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33480 2012-09-05 Allan McRae <allan@archlinux.org>
33483 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33484 determine header location.
33485 * configure: Regenerated.
33487 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33489 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33491 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
33492 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33494 (test): Regenerate.
33496 2012-09-04 David S. Miller <davem@davemloft.net>
33498 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33499 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33502 2012-09-04 Florian Weimer <fweimer@redhat.com>
33504 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33507 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33509 2012-09-04 Joseph Myers <joseph@codesourcery.com>
33512 * libio/iogetdelim.c: Include <limits.h>.
33513 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33514 + len + 1 would overflow.
33516 2012-09-03 Andreas Jaeger <aj@suse.de>
33518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33519 * sysdeps/i386/fpu/libm-test-ulps: Update.
33521 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33523 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33524 Add s_sinf-sse2, s_conf-sse2.
33526 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33527 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33528 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33529 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33531 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33532 for using routine as __sinf_ia32.
33533 Use macro for function declaration and weak_alias.
33534 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33535 for using routine as __cosf_ia32.
33536 Use macro for function declaration and weak_alias.
33538 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33539 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33541 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33542 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33545 * math/libm-test.inc (cos_test): Add more test cases.
33546 (sin_test): Likewise.
33547 (sincos_test): Likewise.
33549 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33551 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33552 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33554 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33556 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33559 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33560 first element of the GOT.
33561 (elf_machine_load_address): Return the difference between
33562 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33564 2012-09-01 Allan McRae <allan@archlinux.org>
33567 * configure.in (AWK): Require gawk version 3.0 or later.
33568 * configure: Regenerated.
33570 2012-09-01 Joseph Myers <joseph@codesourcery.com>
33572 * sysdeps/unix/sysv/linux/kernel-features.h
33573 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33575 [__NR_clock_getres]: Make code unconditional.
33576 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33577 (clock_getcpuclockid): Remove code left unreachable by removal of
33579 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33580 code unconditional.
33581 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33583 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33584 Make code unconditional.
33585 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33586 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33587 * sysdeps/unix/sysv/linux/clock_settime.c
33588 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33590 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33591 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33593 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33596 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33597 scripts/test-installation.pl.
33599 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33600 and $ld_so_version if it is set.
33602 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33606 failure if reading from procfs failed.
33607 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33609 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33611 * sysdeps/unix/sysv/linux/kernel-features.h
33612 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33613 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33614 Remove conditional code.
33615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33616 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33617 Remove conditional code.
33618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33619 * sysdeps/unix/sysv/linux/i386/fxstat.c
33620 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33622 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33625 * sysdeps/unix/sysv/linux/i386/lxstat.c
33626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33628 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33629 Remove conditional code.
33630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33631 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33632 Remove conditional code.
33633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33634 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33635 <kernel-features.h>.
33636 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33638 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33639 Remove conditional code.
33640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33641 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33642 Remove conditional.
33644 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33647 * NEWS: Add fixed bug number.
33649 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33652 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33653 underflowing exponent in case of negative sign.
33654 * stdlib/tst-strtod-round-data: Add more tests.
33655 * stdlib/tst-strtod-round.c (tests): Regenerated.
33658 * stdlib/strtod_l.c (NDIG): Remove.
33659 (HEXNDIG): Likewise.
33660 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33661 smallest representable value.
33662 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33663 lie within an exact representation of 1/2 ulp of the result.
33664 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33666 (TENS_P9_IDX): Define unconditionally.
33667 (TENS_P9_SIZE): Likewise.
33668 (TENS_P10_IDX): Likewise.
33669 (TENS_P10_SIZE): Likewise.
33670 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33671 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33673 entries for 10^2^13 and 10^2^14.
33674 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33675 (TENS_P13_IDX): Define.
33676 (TENS_P13_SIZE): Likewise.
33677 (TENS_P14_IDX): Likewise.
33678 (TENS_P14_SIZE): Likewise.
33679 (_fpioconst_pow10): Change array size to
33680 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33682 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33683 1024]: Add entries for 10^2^13 and 10^2^14.
33684 [LAST_POW10 > _LAST_POW10]: Remove #error.
33685 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33686 (_fpioconst_pow10): Change array size to
33687 FPIOCONST_POW10_ARRAY_SIZE.
33688 * stdlib/gen-fpioconst.c: New file.
33689 * stdlib/gen-tst-strtod-round.c: Likewise.
33690 * stdlib/tst-strtod-round-data: Likewise.
33691 * stdlib/tst-strtod-round.c: Likewise.
33692 * stdlib/Makefile (tests): Add tst-strtod-round.
33695 * stdlib/strtod_l.c: Include <stdint.h>.
33696 (NDEBUG): Do not define.
33697 (round_and_return): Change EXPONENT parameter to type intmax_t.
33698 Rearrange calculations to avoid internal overflow possibilities.
33699 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33700 Rearrange calculations to avoid internal overflow possibilities.
33701 Assert that number fits inside MPNSIZE limbs.
33702 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33703 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33704 calculations and add assertions to avoid internal overflow
33705 possibilities. Add casts to avoid signed/unsigned operations.
33706 * stdlib/tst-strtod-overflow.c: New file.
33707 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33709 2012-08-25 Marek Polacek <polacek@redhat.com>
33711 * time/time.h: Fix some typos in comments.
33713 2012-08-23 Roland McGrath <roland@hack.frob.com>
33715 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33716 * posix/tst-rfc3484-2.c: Likewise.
33717 * posix/tst-rfc3484-3.c: Likewise.
33719 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33721 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33722 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33724 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33726 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33727 #include of fxstatat64.c.
33729 2012-08-22 Roland McGrath <roland@hack.frob.com>
33731 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33732 * shadow/getspent_r.c: Likewise.
33733 * shadow/getspnam.c: Likewise.
33734 * shadow/getspnam_r.c: Likewise.
33735 * gshadow/getsgent.c: Likewise.
33736 * gshadow/getsgent_r.c: Likewise.
33737 * gshadow/getsgnam.c: Likewise.
33738 * gshadow/getsgnam_r.c: Likewise.
33739 * inet/getnetbyad.c: Likewise.
33740 * inet/getnetbyad_r.c: Likewise.
33741 * inet/getnetbynm.c: Likewise.
33742 * inet/getnetbynm_r.c: Likewise.
33743 * inet/getnetent.c: Likewise.
33744 * inet/getnetent_r.c: Likewise.
33745 * inet/getproto.c: Likewise.
33746 * inet/getproto_r.c: Likewise.
33747 * inet/getprtent.c: Likewise.
33748 * inet/getprtent_r.c: Likewise.
33749 * inet/getprtname.c: Likewise.
33750 * inet/getprtname_r.c: Likewise.
33751 * inet/getrpcbyname.c: Likewise.
33752 * inet/getrpcbyname_r.c: Likewise.
33753 * inet/getrpcbynumber.c: Likewise.
33754 * inet/getrpcbynumber_r.c: Likewise.
33755 * inet/getrpcent.c: Likewise.
33756 * inet/getrpcent_r.c: Likewise.
33757 * inet/getaliasent.c: Likewise.
33758 * inet/getaliasent_r.c: Likewise.
33759 * inet/getaliasname.c: Likewise.
33760 * inet/getaliasname_r.c: Likewise.
33761 * nscd/getgrgid_r.c: Likewise.
33762 * nscd/getgrnam_r.c: Likewise.
33763 * nscd/gethstbyad_r.c: Likewise.
33764 * nscd/gethstbynm3_r.c: Likewise.
33765 * nscd/getpwnam_r.c: Likewise.
33766 * nscd/getpwuid_r.c: Likewise.
33767 * nscd/getsrvbynm_r.c: Likewise.
33768 * nscd/getsrvbypt_r.c: Likewise.
33769 * nscd/gai.c: Likewise.
33771 * configure.in (build_nscd): New substituted variable, set
33772 by --disable-build-nscd and defaults to $use_nscd.
33773 * configure: Regenerated.
33774 * config.make.in (build-nscd): New substituted variable.
33775 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33776 Change conditional to require [$(build-nscd) = yes] as well.
33777 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33780 * configure.in (use_nscd): New substituted variable, set by
33781 --disable-nscd. If enabled, define USE_NSCD.
33782 * configure: Regenerated.
33783 * config.h.in: Add USE_NSCD.
33784 * config.make.in (use-nscd): New substituted variable.
33785 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33786 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33787 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33788 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33789 (CFLAGS-getgrnam_r.c): Likewise.
33790 (CFLAGS-initgroups.c): Likewise.
33791 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33792 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33794 * inet/getnetgrent_r.c
33795 (nscd_setnetgrent): New function, broken out of ...
33796 (setnetgrent): ... here. Call it.
33797 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33798 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33799 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33800 * nscd/Makefile (routines, aux): Move definitions after include of
33801 Makeconfig. Conditionalize on [$(use-nscd) != no].
33802 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33803 Conditionalize on [USE_NSCD].
33804 (is_nscd, nscd_init_cb): Likewise.
33805 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33806 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33807 * nss/nss_db/db-init.c: Likewise.
33808 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33810 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33811 (make_request): Use it.
33812 (cache_valid_p): New function.
33813 (__check_pf): Use it.
33814 * NEWS: Add item for --disable-nscd.
33816 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33818 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33819 to support sed >= 4.2.1-20-ga9bf076.
33820 * configure: Regenerated.
33822 2012-08-22 Roland McGrath <roland@hack.frob.com>
33824 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33825 Conditionalize whole body on [IREL].
33827 2012-08-22 Jeff Law <law@redhat.com>
33830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33831 if the family is PF_UNSPEC.
33833 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33835 * Makerules (lib-version): Rename from V.
33836 (install-lib-nosubdir): Change V to lib-version.
33838 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33841 * powerpc32/power6/wcschr.c: New file.
33842 * powerpc32/power6/wcscpy.c: New file.
33843 * powerpc32/power6/wcsrchr.c: New file.
33844 * powerpc64/power6/wcschr.c: New file.
33845 * powerpc64/power6/wcscpy.c: New file.
33846 * powerpc64/power6/wcsrchr.c: New file.
33848 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33850 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33851 (two_way_short_needle): Use it.
33852 * string/strstr.c (AVAILABLE1_USES_J): Define.
33853 * string/strcasestr.c: Likewise.
33855 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33857 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33860 * NEWS: Add an entry.
33861 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33862 define their defaults.
33863 (two_way_short_needle): Detect end-of-string on-the-fly.
33864 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33865 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33866 * string/bug-strcasestr1.c: New test.
33867 * string/Makefile: Run it.
33869 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33872 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33873 the first character.
33875 2012-08-21 Roland McGrath <roland@hack.frob.com>
33877 * csu/elf-init.c (__libc_csu_irel): Function removed.
33878 * csu/libc-start.c (apply_irel): New function.
33879 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33881 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33883 * sysdeps/unix/sysv/linux/kernel-features.h
33884 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33885 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33886 <kernel-features.h>.
33887 [__NR_fadvise64_64]: Make code unconditional.
33888 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33889 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33890 !__NR_fadvise64_64)]: Likewise.
33891 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33892 !__NR_fadvise64_64))]: Likewise.
33893 [__NR_fadvise64]: Make code unconditional.
33894 [!__NR_fadvise64]: Remove conditional code.
33895 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33896 <kernel-features.h>.
33897 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33899 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33902 not include <kernel-features.h>.
33903 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33905 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33907 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33908 include <kernel-features.h>.
33909 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33911 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33914 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33917 slight instruction rearrangements per scrollpipe analysis.
33918 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33920 2012-08-20 Roland McGrath <roland@hack.frob.com>
33922 * manual/syslog.texi (syslog; vsyslog, closelog):
33923 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33924 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33926 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33927 DSOCAPS to match condition on defining it.
33929 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33931 * sysdeps/unix/sysv/linux/kernel-features.h
33932 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33934 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33935 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33943 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33944 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33946 * sysdeps/unix/sysv/linux/kernel-features.h
33947 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33948 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33950 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33951 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33952 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33953 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33954 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33955 Make code unconditional.
33956 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33957 (__mmap64) [!__NR_mmap2]: Likewise.
33958 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33959 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33960 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33962 [__NR_mmap2]: Make code unconditional.
33963 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33964 (__mmap64) [!__NR_mmap2]: Likewise.
33966 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33968 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33970 2012-08-18 Andreas Jaeger <aj@suse.de>
33972 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33974 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33976 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33977 * include/unistd.h (__have_sock_cloexec): Likewise.
33978 (__have_pipe2): Likewise.
33979 (__have_dup3): Likewise.
33981 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33984 * include/unistd.h (__have_pipe2): Change define into an extern int.
33985 (__have_dup3): Likewise.
33986 * socket/have_sock_cloexec.c: Include fcntl.h.
33987 (__have_pipe2): New variable.
33988 (__have_dup3): Likewise.
33990 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33992 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33994 2012-08-17 Marek Polacek <polacek@redhat.com>
33996 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33997 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33999 2012-08-17 Roland McGrath <roland@hack.frob.com>
34001 * configure.in: Add AC_SUBST for sysheaders.
34002 * configure: Regenerated.
34003 * config.make.in (sysheaders): New substituted variable.
34005 * sysdeps/unix/mkfifo.c: Moved ...
34006 * sysdeps/posix/mkfifo.c: ... here.
34007 * sysdeps/unix/mkfifoat.c: Moved ...
34008 * sysdeps/posix/mkfifoat.c: ... here.
34010 * sysdeps/unix/utime.c: Moved ...
34011 * sysdeps/posix/utime.c: ... here.
34013 * sysdeps/unix/time.c: Moved ...
34014 * sysdeps/posix/time.c: ... here.
34015 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34016 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34018 * sysdeps/unix/nice.c: Moved ...
34019 * sysdeps/posix/nice.c: ... here.
34021 * sysdeps/unix/alarm.c: Moved ...
34022 * sysdeps/posix/alarm.c: ... here.
34024 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34026 2012-08-17 Jeff Law <law@redhat.com>
34028 * intl/Makefile (codeset_mo): New variable.
34029 ($(codeset_mo)): New target.
34030 (tst-codeset.out): Depend on that. Remove explicit rule.
34031 (tst-gettext3.out, tst-gettext5.out): Likewise.
34032 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34033 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34034 * intl/tst-codeset.sh: Remove.
34035 * intl/tst-gettext3.sh: Likewise.
34036 * intl/tst-gettext5.sh: Likewise.
34038 2012-08-17 Roland McGrath <roland@hack.frob.com>
34040 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34041 * sysdeps/unix/syscalls.list: ... here.
34043 * sysdeps/posix/getaddrinfo.c
34044 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34045 (gaiconf_init, gaiconf_reload): Use them.
34046 [!_STATBUF_ST_NSEC]
34047 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34048 Define using time_t rather than struct timespec.
34050 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34051 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34053 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34055 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34056 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34059 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34060 __libc_cleanup_push argument.
34062 * bits/param.h: New file.
34063 * misc/sys/param.h: New file.
34064 * include/sys/param.h: New file.
34065 * misc/Makefile (headers): Add bits/param.h.
34066 * sysdeps/generic/sys/param.h: File removed.
34067 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34068 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34069 * sysdeps/mach/hurd/bits/param.h: New file.
34070 * sysdeps/mach/hurd/sys/param.h: File removed.
34072 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34075 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34077 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34078 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34081 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34082 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34083 rather than -D_IO_MTSAFE_IO conditionally.
34084 * stdio-common/Makefile (CPPFLAGS): Likewise.
34085 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34086 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34087 Use $(libio-mtsafe).
34088 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34089 of -D_IO_MTSAFE_IO.
34090 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34091 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34092 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34093 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34094 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34095 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34096 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34097 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34098 (CFLAGS-fread_u_chk.c): Likewise.
34099 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34100 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34101 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34102 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34103 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34104 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34105 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34106 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34107 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34109 * libio/Makefile: Test [$(libc-reentrant) = yes]
34110 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34113 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34114 * sysdeps/pthread/configure: File removed.
34115 * sysdeps/pthread/Makeconfig: New file.
34116 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34117 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34119 2012-08-16 Gary Benson <gbenson@redhat.com>
34121 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34122 unmapping the first object in a namespace.
34124 2012-08-16 Roland McGrath <roland@hack.frob.com>
34126 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34127 (__internal_setnetgrent): ... this. Add internal_function to
34128 definition. Add libc_hidden_def.
34129 (setnetgrent): Update caller.
34130 (internal_endnetgrent): Renamed to ...
34131 (__internal_endnetgrent): ... this. Add internal_function to
34132 definition. Add libc_hidden_def.
34133 (endnetgrent): Update caller.
34134 (internal_getnetgrent_r): Renamed to ...
34135 (__internal_getnetgrent_r): ... this. Add internal_function to
34136 definition. Add libc_hidden_def.
34137 (__getnetgrent_r): Update caller.
34138 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34140 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34142 * stdlib/longlong.h: Update from GCC.
34144 2012-08-16 Roland McGrath <roland@hack.frob.com>
34146 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34147 on _QL, which is set by umul_ppmm but never used.
34148 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34149 variables, which are set by GMP macros but never used.
34150 * stdio-common/_itowa.c (_itowa): Likewise.
34151 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34152 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34154 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34156 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34157 struct La_sh_regs is not constant.
34158 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34159 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34160 and struct La_sparc64_regs are not constant.
34162 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34164 * sysdeps/unix/sysv/linux/kernel-features.h
34165 (__ASSUME_POSIX_TIMERS): Remove.
34166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34168 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34169 Make code unconditional.
34170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34171 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34172 Make code unconditional.
34173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34174 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34175 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34177 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34178 Make code unconditional.
34179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34180 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34181 (__libc_missing_posix_timers): Remove.
34183 2012-08-15 Roland McGrath <roland@hack.frob.com>
34185 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34186 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34188 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34190 * elf/dl-sym.c: Include <stdlib.h>.
34192 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34193 constants, which avoids warnings in 32-bit builds.
34195 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34196 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34198 * misc/lseek.c: File moved to ...
34199 * io/lseek.c: ... here.
34201 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34203 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34204 shifting LEN more than 31 bits at once.
34206 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34209 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34210 segmentation fault for a case of two empty input strings.
34211 * string/test-strncasecmp.c (check1): Renamed to...
34212 (bz12205): ...this.
34213 (bz14195): Add new testcase for two empty input strings and N > 0.
34214 (test_main): Call new testcase, adapt for renamed function.
34216 2012-08-15 Andreas Jaeger <aj@suse.de>
34219 * crypt/md5test2.c: New test, based on test supplied by Serge
34220 Belyshev <belyshev@depni.sinp.msu.ru>.
34221 * crypt/Makefile (xtests): Add md5test-giant..
34222 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34224 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34227 * crypt/md5.c (md5_process_block): Don't assume the buffer
34228 length is less than 2**32.
34229 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34230 length is less than 2**64.
34232 2012-08-15 Roland McGrath <roland@hack.frob.com>
34234 * string/str-two-way.h: Include <sys/param.h>.
34235 (MAX): Macro removed.
34237 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34238 Move #define and #undef of memmove to just before and after
34239 including <string.h>.
34241 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34242 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34243 and after including <string.h>. Move declarations of
34244 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34245 to before #include "string/memmove.c".
34247 * include/dirent.h: Declare __getdirentries.
34249 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34250 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34252 2012-08-14 Mike Frysinger <vapier@gentoo.org>
34254 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34255 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34256 * sysdeps/i386/configure: Regenerated.
34257 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34258 STABS_CURRENT_FILE, and STABS_FUN.
34259 (END): Remove call to STABS_FUN_END.
34260 (STABS_CURRENT_FILE1): Delete.
34261 (STABS_CURRENT_FILE): Likewise.
34262 (STABS_FUN): Likewise.
34263 (STABS_FUN_END): Likewise.
34264 (STABS_FUN2): Likewise.
34265 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34266 * sysdeps/x86_64/configure: Regenerated.
34268 2012-08-14 Roland McGrath <roland@hack.frob.com>
34270 * elf/dl-open.c: Include <atomic.h>.
34271 * elf/dl-lookup.c: Likewise.
34273 2012-08-14 Joseph Myers <joseph@codesourcery.com>
34275 * sysdeps/unix/sysv/linux/kernel-features.h
34276 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34277 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34279 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34281 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34282 condition on __ASSUME_CLONE_THREAD_FLAGS.
34284 2012-08-14 Andreas Jaeger <aj@suse.de>
34286 * sysdeps/i386/fpu/libm-test-ulps: Update.
34288 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34290 * include/atomic.h (atomic_exchange_and_add): Split into ...
34291 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34294 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34298 2012-08-13 Jeff Law <law@redhat.com>
34300 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34301 null byte in the output string.
34303 2012-08-10 Joseph Myers <joseph@codesourcery.com>
34305 * sysdeps/unix/sysv/linux/kernel-features.h
34306 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34307 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34308 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34309 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34310 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34311 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34312 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34314 2012-08-09 Jeff Law <law@redhat.com>
34317 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34318 When avoid_arena is set, don't retry in the that arena. Pick the
34319 next one, whatever it might be.
34320 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34321 (arena_lock): Pass in new parameter to arena_get2.
34322 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34324 (__libc_malloc): Unify retrying after main arena failure with
34325 __libc_memalign version.
34326 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34328 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34331 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34332 to __redirect_strstr.
34333 (__strstr_sse42): Use typeof __redirect_strstr.
34334 (__strstr_ia32): Likewise.
34335 (__libc_strstr): New prototype.
34336 (strstr): Renamed to ...
34337 (__libc_strstr): This.
34338 (strstr): New strong alias of __libc_strstr.
34339 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34340 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34343 (__libc_time): New prototype.
34344 (time_ifunc): Replace time with __libc_time.
34345 (time): New strong alias and hidden definition of __libc_time.
34346 (__GI_time): Remove strong alias.
34347 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34348 Include <stddef.h>.
34349 (memmove): Redefined to __redirect_memmove.
34350 (__memmove_sse2): Use typeof __redirect_memmove.
34351 (__memmove_ssse3): Likewise.
34352 (__memmove_ssse3_back): Likewise.
34353 (__libc_memmove): New prototype.
34354 (memmove): Renamed to ...
34355 (__libc_memmove): This.
34356 (memmove): New strong alias of __libc_memmove.
34358 2012-08-08 Mark Salter <msalter@redhat.com>
34361 (R_MN10300_TLS_GD): Define.
34362 (R_MN10300_TLS_LD): Likewise.
34363 (R_MN10300_TLS_LDO): Likewise.
34364 (R_MN10300_TLS_GOTIE): Likewise.
34365 (R_MN10300_TLS_IE): Likewise.
34366 (R_MN10300_TLS_LE): Likewise.
34367 (R_MN10300_TLS_DTPMOD): Likewise.
34368 (R_MN10300_TLS_DTPOFF): Likewise.
34369 (R_MN10300_TLS_TPOFF): Likewise.
34370 (R_MN10300_SYM_DIFF): Likewise.
34371 (R_MN10300_ALIGN): Likewise.
34372 (R_MN10300_NUM): Update.
34374 2012-08-08 Joseph Myers <joseph@codesourcery.com>
34376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34379 2012-08-08 Roland McGrath <roland@hack.frob.com>
34381 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34383 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34384 sysdeps/unix -> sysdeps/posix move.
34385 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34387 2012-08-07 Allan McRae <allan@archlinux.org>
34390 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34391 (SUNOS_CPP): Likewise.
34392 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34394 (open_input): Call CPP using execvp.
34396 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34398 * sysdeps/unix/sysv/linux/kernel-features.h
34399 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34400 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34401 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34402 (__ASSUME_WAITID_SYSCALL): Likewise.
34403 * sysdeps/unix/sysv/linux/dl-execstack.c
34404 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34405 code unconditional.
34406 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34408 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34409 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34410 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34412 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34414 [__ASSUME_WAITID_SYSCALL]: Likewise.
34415 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34417 2012-08-07 Roland McGrath <roland@hack.frob.com>
34419 * sysdeps/unix/closedir.c: Renamed to ...
34420 * sysdeps/posix/closedir.c: ... here.
34421 * sysdeps/unix/dirfd.c: Renamed to ...
34422 * sysdeps/posix/dirfd.c: ... here.
34423 * sysdeps/unix/dirstream.h: Renamed to ...
34424 * sysdeps/posix/dirstream.h: ... here.
34425 * sysdeps/unix/fdopendir.c: Renamed to ...
34426 * sysdeps/posix/fdopendir.c: ... here.
34427 * sysdeps/unix/opendir.c: Renamed to ...
34428 * sysdeps/posix/opendir.c: ... here.
34429 * sysdeps/unix/readdir.c: Renamed to ...
34430 * sysdeps/posix/readdir.c: ... here.
34431 * sysdeps/unix/readdir_r.c: Renamed to ...
34432 * sysdeps/posix/readdir_r.c: ... here.
34433 * sysdeps/unix/rewinddir.c: Renamed to ...
34434 * sysdeps/posix/rewinddir.c: ... here.
34435 * sysdeps/unix/seekdir.c: Renamed to ...
34436 * sysdeps/posix/seekdir.c: ... here.
34437 * sysdeps/unix/telldir.c: Renamed to ...
34438 * sysdeps/posix/telldir.c: ... here.
34439 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34440 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34441 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34442 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34444 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34445 * bits/fcntl.h: ... here.
34447 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34449 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34450 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34451 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34452 (struct flock): Move l_start, l_len to the beginning.
34453 Use __pid_t for l_pid.
34454 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34455 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34456 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34457 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34458 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34459 [__USE_LARGEFILE64] (struct flock64): New type.
34460 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34462 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34463 * bits/dirent.h: ... here.
34465 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34466 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34468 2012-08-07 Joseph Myers <joseph@codesourcery.com>
34470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34471 Change from 2.6.0 to 2.6.16.
34472 * sysdeps/unix/sysv/linux/configure: Regenerated.
34473 * sysdeps/unix/sysv/linux/kernel-features.h
34474 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34475 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34477 (__ASSUME_UTIMES): Likewise.
34478 (__ASSUME_CLONE_STOPPED): Remove.
34479 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34480 architectures, not kernel version.
34481 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34482 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34483 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34484 (__ASSUME_WAITID_SYSCALL): Likewise.
34485 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34486 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34487 * README: State 2.6.16 as minimum Linux kernel version. Do not
34488 refer to older versions.
34490 2012-08-06 Roland McGrath <roland@hack.frob.com>
34492 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34493 Define alphasort64 as an alias.
34494 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34495 Define versionsort64 as an alias.
34496 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34497 Define scandir64 as an alias.
34498 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34499 Define scandirat64 as an alias.
34500 * dirent/alphasort64.c (alphasort64):
34501 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34502 * dirent/versionsort64.c: Likewise.
34503 * dirent/scandir64.c: Likewise.
34504 * dirent/scandirat64.c: Likewise.
34505 * sysdeps/wordsize-64/alphasort.c: File removed.
34506 * sysdeps/wordsize-64/alphasort64.c: File removed.
34507 * sysdeps/wordsize-64/scandir.c: File removed.
34508 * sysdeps/wordsize-64/scandir64.c: File removed.
34509 * sysdeps/wordsize-64/scandirat.c: File removed.
34510 * sysdeps/wordsize-64/scandirat64.c: File removed.
34511 * sysdeps/wordsize-64/versionsort.c: File removed.
34512 * sysdeps/wordsize-64/versionsort64.c: File removed.
34513 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34514 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34515 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34516 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34517 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34518 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34519 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34520 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34522 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34524 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34526 [defined __arch64__ || defined __sparcv9]
34527 (__INO_T_MATCHES_INO64_T): New macro.
34528 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34529 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34530 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34531 * sysdeps/unix/sysv/linux/bits/dirent.h
34532 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34533 (_DIRENT_MATCHES_DIRENT64): New macro.
34535 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34536 Define lockf64 as an alias.
34537 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34538 Define fseeko64 as an alias.
34539 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34540 Define ftello64 as an alias.
34541 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34542 Define _IO_fgetpos64 and fgetpos64 as aliases.
34543 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34544 Define _IO_fsetpos64 and fsetpos64 as aliases.
34545 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34546 Conditionalize body on this.
34547 * libio/fseeko64.c: Likewise.
34548 * libio/ftello64.c: Likewise.
34549 * libio/iofgetpos64.c: Likewise.
34550 * libio/iofsetpos64.c: Likewise.
34551 * sysdeps/wordsize-64/lockf.c: File removed.
34552 * sysdeps/wordsize-64/lockf64.c: File removed.
34553 * sysdeps/wordsize-64/fseeko.c: File removed.
34554 * sysdeps/wordsize-64/fseeko64.c: File removed.
34555 * sysdeps/wordsize-64/ftello.c: File removed.
34556 * sysdeps/wordsize-64/ftello64.c: File removed.
34557 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34558 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34559 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34560 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34561 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34562 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34563 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34564 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34565 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34566 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34567 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34569 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34570 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34572 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34574 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34576 [defined __arch64__ || defined __sparcv9]
34577 (__OFF_T_MATCHES_OFF64_T): New macro.
34578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34579 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34581 (__OFF_T_MATCHES_OFF64_T): New macro.
34583 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34585 * stdlib/secure-getenv.c (__secure_getenv): Replace
34586 GLIBC_2_16 with GLIBC_2_17.
34588 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34590 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34591 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34593 2012-08-03 David S. Miller <davem@davemloft.net>
34595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34597 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34599 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34601 (__ASSUME_CORRECT_SI_PID): Likewise.
34602 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34603 (__ASSUME_TMPFS_NAME): Likewise.
34604 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34605 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34606 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34607 (HAVE_AUX_SECURE): Make definition unconditional.
34608 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34609 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34611 2012-08-03 Roland McGrath <roland@hack.frob.com>
34613 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34614 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34615 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34616 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34617 __eloop_threshold instead of SYMLOOP_MAX.
34619 * sysdeps/generic/eloop-threshold.h: New file.
34620 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34622 * elf/chroot_canon.c (chroot_canon): Likewise.
34624 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34628 Change to 2.6.0 everywhere.
34629 * sysdeps/unix/sysv/linux/configure: Regenerated.
34630 * sysdeps/unix/sysv/linux/kernel-features.h
34631 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34632 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34634 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34635 (__ASSUME_FUTEX_REQUEUE): Remove.
34636 (__ASSUME_STATFS64): Define unconditionally.
34637 (__ASSUME_AT_SECURE): Likewise.
34638 (__ASSUME_CORRECT_SI_PID): Likewise.
34639 (__ASSUME_TGKILL): Define without depending on kernel version for
34641 (__ASSUME_UTIMES): Likewise.
34642 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34644 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34645 (__ASSUME_TMPFS_NAME): Likewise.
34646 * README: Update reference to Linux kernel versions.
34648 2012-08-02 Marek Polacek <polacek@redhat.com>
34651 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34652 libc_cv_asm_type_prefix with %.
34653 * configure: Regenerated.
34654 * include/libc-symbols.h: Remove comment about
34655 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34656 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34657 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34658 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34659 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34660 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34661 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34662 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34663 * elf/tst-unique2mod1.c: Likewise.
34664 * elf/tst-unique1mod2.c: Likewise.
34665 * elf/tst-unique1mod1.c: Likewise.
34666 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34667 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34668 Replace ASM_TYPE_DIRECTIVE with .type.
34669 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34670 * sysdeps/i386/sysdep.h: Likewise.
34671 * sysdeps/x86_64/sysdep.h: Likewise.
34672 * sysdeps/sh/sysdep.h: Likewise.
34673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34674 Do not define ASM_TYPE_DIRECTIVE.
34675 * sysdeps/powerpc/sysdep.h: Likewise.
34676 * sysdeps/powerpc/powerpc32/sysdep.h:
34677 Replace ASM_TYPE_DIRECTIVE with .type.
34678 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34679 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34680 * sysdeps/i386/fpu/e_powf.S: Likewise.
34681 * sysdeps/i386/fpu/e_expl.S: Likewise.
34682 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34683 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34684 * sysdeps/i386/fpu/e_pow.S: Likewise.
34685 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34687 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34688 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34689 * sysdeps/i386/fpu/e_log2.S: Likewise.
34690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34692 * sysdeps/i386/fpu/e_powl.S: Likewise.
34693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34694 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34695 * sysdeps/i386/fpu/e_logl.S: Likewise.
34696 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34697 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34698 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34699 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34701 * sysdeps/i386/fpu/e_log.S: Likewise.
34702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34703 * sysdeps/i386/fpu/e_logf.S: Likewise.
34704 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34705 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34706 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34707 * sysdeps/i386/fpu/e_log10.S: Likewise.
34708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34713 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34714 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34715 * sysdeps/i386/i686/strtok.S: Likewise.
34716 * sysdeps/i386/i386-mcount.S: Likewise.
34717 * sysdeps/i386/strtok.S: Likewise.
34718 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34719 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34721 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34722 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34724 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34725 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34727 * sysdeps/x86_64/_mcount.S: Likewise.
34728 * sysdeps/x86_64/strtok.S: Likewise.
34729 * sysdeps/sh/_mcount.S: Likewise.
34731 2012-08-01 Roland McGrath <roland@hack.frob.com>
34733 * libio/iofopen.c: Include <fcntl.h>.
34734 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34735 (_IO_fopen64, fopen64): Define as aliases.
34736 * libio/iofopen64.c: Include <fcntl.h>.
34737 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34738 Conditionalize body on this.
34739 * sysdeps/wordsize-64/iofopen.c: File removed.
34740 * sysdeps/wordsize-64/iofopen64.c: File removed.
34742 2012-08-01 Marek Polacek <polacek@redhat.com>
34744 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34745 Use dlfcn directly instead of a variable.
34746 (binfmt-subdir): Do not define.
34749 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34752 Remove all definitions.
34753 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34754 <kernel-features.h>.
34755 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34756 (miss_F_GETOWN_EX): Remove all definitions.
34757 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34759 [!__ASSUME_FCNTL64]: Remove conditional code.
34760 [__ASSUME_FCNTL64]: Make code unconditional.
34761 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34762 <kernel-features.h>.
34763 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34764 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34765 (lockf64) [__NR_fcntl64]: Make code unconditional.
34766 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34768 * sysdeps/unix/sysv/linux/kernel-features.h
34769 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34770 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34771 Make code unconditional.
34772 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34773 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34775 [__NR_vfork]: Make code unconditional.
34776 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34777 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34779 [__NR_vfork]: Make code unconditional.
34780 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34781 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34783 2012-08-01 Roland McGrath <roland@hack.frob.com>
34785 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34786 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34788 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34789 Define mkstemp64 as an alias.
34790 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34791 Define mkstemps64 as an alias.
34792 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34793 Define mkostemp64 as an alias.
34794 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34795 Define mkostemps64 as an alias.
34796 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34797 Conditionalize body on this.
34798 * misc/mkostemp64.c: Likewise.
34799 * misc/mkostemps64.c: Likewise.
34800 * misc/mkstemps64.c: Likewise.
34801 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34802 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34803 * sysdeps/wordsize-64/mkostemp.c: File removed.
34804 * sysdeps/wordsize-64/mkstemp.c: File removed.
34805 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34811 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34812 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34813 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34814 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34816 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34817 compat_symbol macros from <shlib-compat.h> rather than the underlying
34818 default_symbol_version and symbol_version macros, so that DEFAULT
34819 lines in shlib-versions are respected.
34820 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34822 2012-08-01 Florian Weimer <fweimer@redhat.com>
34824 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34825 Declare with warn_unused_result.
34826 (setgid, setregid, setegid, setresgid): Likewise.
34827 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34829 * WUR-REPORT: Remove set*id functions.
34831 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34833 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34835 2012-07-31 Roland McGrath <roland@hack.frob.com>
34838 * include/sys/socket.h (__libc_accept, __libc_accept4):
34839 Add attribute_hidden.
34840 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34842 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34844 * inet/getnetgrent_r.c (setup): Likewise.
34846 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34848 2012-07-31 David S. Miller <davem@davemloft.net>
34850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34852 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34855 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34856 value between 1.0 and 2.0 and smaller part has absolute value less
34858 * math/s_clog10.c (__clog10): Likewise.
34859 * math/s_clog10f.c (__clog10f): Likewise.
34860 * math/s_clog10l.c (__clog10l): Likewise.
34861 * math/s_clogf.c (__clogf): Likewise.
34862 * math/s_clogl.c (__clogl): Likewise.
34863 * math/libm-test.inc (clog_test): Add more tests.
34864 (clog10_test): Likewise.
34865 * sysdeps/i386/fpu/libm-test-ulps: Update.
34866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34868 2012-07-31 Florian Weimer <fweimer@redhat.com>
34870 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34871 Exit with zero in case no suitable GID is found, and write a
34872 message to standard error.
34874 2012-07-30 Roland McGrath <roland@hack.frob.com>
34876 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34878 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34879 (MAXPATHLEN): Removed.
34880 (NOGROUP, NODEV): New macros.
34881 (setbit, clrbit, isset, isclr): New macros.
34882 (howmany, roundup, powerof2): New macros.
34883 (DEV_BSIZE): New macro.
34885 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34886 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34888 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34889 definition on [!__NO_LONG_DOUBLE_MATH].
34891 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34892 PTR_MANGLE and PTR_DEMANGLE.
34894 * socket/accept4.c (accept4): Rename to __libc_accept4.
34895 Define accept4 as a weak alias.
34897 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34898 on [_DIRENT_HAVE_D_TYPE].
34899 * io/ftw.c (ftw_dir): Likewise.
34901 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34903 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34905 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34906 Use the BSD numbers rather than the arbitrary ones we had.
34907 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34908 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34909 (SIGXCPU, SIGXFSZ): New macros.
34912 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34913 initializer on [_LIBC_REENTRANT].
34915 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34916 definitions inside [_POSIX_MAPPED_FILES].
34918 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34920 * dirent/opendir.c: Include <fcntl.h>.
34922 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34923 (__libc_getspecific): Likewise.
34924 (__libc_key_create): Likewise.
34926 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34927 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34928 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34929 (tmpfile64): Define as alias.
34930 * sysdeps/wordsize-64/tmpfile.c: File removed.
34931 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34932 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34935 * stdio-common/vfscanf.c: Include <stdbool.h>.
34936 * nss/makedb.c: Likewise.
34937 * stdio-common/_i18n_number.h: Likewise.
34938 * argp/argp-help.c: Likewise.
34939 * posix/wordexp.c: Likewise.
34940 * sysdeps/posix/spawni.c: Likewise.
34941 * nss/nss_files/files-initgroups.c: Likewise.
34942 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34943 * nss/nss_files/files-initgroups.c: Likewise.
34944 * nss/nss_db/db-netgrp.c: Likewise.
34945 * nss/nss_db/db-initgroups.c: Likewise.
34946 * io/fchmodat.c: Include <sys/stat.h>.
34948 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34949 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34951 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34954 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34955 Add multiple inclusion protection.
34957 2012-07-27 David S. Miller <davem@davemloft.net>
34959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34961 2012-07-27 Gary Benson <gbenson@redhat.com>
34964 * elf/rtld.c: Include <stap-probe.h>.
34965 (dl_main): Added static probes "init_start" and "init_complete".
34966 * elf/dl-load.c: Include <stap-probe.h>.
34967 (lose): Take new parameter "nsid".
34968 Added static probe "map_failed".
34969 (_dl_map_object_from_fd): Pass namespace id to lose.
34970 Added static probe "map_start".
34971 (open_verify): Pass namespace id to lose.
34972 * elf/dl-open.c: Include <stap-probe.h>.
34973 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34974 and "reloc_complete".
34975 * elf/dl-close.c: Include <stap-probe.h>.
34976 (_dl_close_worker): Added static probes "unmap_start" and
34978 * elf/rtld-debugger-interface.txt: New file documenting the above.
34980 2012-07-26 Roland McGrath <roland@hack.frob.com>
34982 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34983 rather than a string variable.
34984 * sunrpc/rpc_main.c (h_output): Likewise.
34985 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34987 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34989 * inet/check_native.c: New file.
34991 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34994 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34995 if larger part has absolute value 1.0.
34996 * math/s_clog10.c (__clog10): Likewise.
34997 * math/s_clog10f.c (__clog10f): Likewise.
34998 * math/s_clog10l.c (__clog10l): Likewise.
34999 * math/s_clogf.c (__clogf): Likewise.
35000 * math/s_clogl.c (__clogl): Likewise.
35001 * math/libm-test.inc (clog_test): Add more tests.
35002 (clog10_test): Likewise.
35003 * sysdeps/i386/fpu/libm-test-ulps: Update.
35004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35006 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35007 (pltexit): Likewise.
35008 (La_regs): Likewise.
35009 (La_retval): Likewise.
35010 (int_retval): Likewise.
35011 Update #error for removed macros to refer only to definitions in
35013 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35015 (pltexit): Likewise.
35016 (La_regs): Likewise.
35017 (La_retval): Likewise.
35018 (int_retval): Likewise.
35019 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35021 (pltexit): Likewise.
35022 (La_regs): Likewise.
35023 (La_retval): Likewise.
35024 (int_retval): Likewise.
35025 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35027 (pltexit): Likewise.
35028 (La_regs): Likewise.
35029 (La_retval): Likewise.
35030 (int_retval): Likewise.
35031 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35033 (pltexit): Likewise.
35034 (La_regs): Likewise.
35035 (La_retval): Likewise.
35036 (int_retval): Likewise.
35037 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35039 (pltexit): Likewise.
35040 (La_regs): Likewise.
35041 (La_retval): Likewise.
35042 (int_retval): Likewise.
35043 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35045 (pltexit): Likewise.
35046 (La_regs): Likewise.
35047 (La_retval): Likewise.
35048 (int_retval): Likewise.
35049 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35050 macro definitions in tst-audit.h.
35051 * sysdeps/i386/tst-audit.h: New file.
35052 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35053 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35054 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35055 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35056 * sysdeps/sh/tst-audit.h: Likewise.
35057 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35058 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35059 * sysdeps/x86_64/tst-audit.h: Likewise.
35061 2012-07-26 Andreas Jaeger <aj@suse.de>
35063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35066 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35067 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35068 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35070 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35071 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35072 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35074 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35077 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35079 (si_call_addr, si_syscall, si_arch): Define new macro.
35080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35082 (si_call_addr, si_syscall, si_arch): Define new marcro.
35083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35085 (si_call_addr, si_syscall, si_arch): Define new macro.
35086 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35088 (si_call_addr, si_syscall, si_arch): Define new macro.
35090 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35094 Change to 2.4.21 where previously 2.4.1.
35095 * sysdeps/unix/sysv/linux/configure: Regenerated.
35096 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35097 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35098 Linux kernel version.
35099 (__ASSUME_STD_AUXV): Remove.
35100 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35102 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35103 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35104 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35105 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35106 (__ASSUME_NETLINK_SUPPORT): Likewise.
35107 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35108 (__no_netlink_support): Remove conditional definition.
35109 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35111 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35112 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35113 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35114 (if_nameindex_ioctl): Remove.
35115 (if_nameindex_netlink): Do not handle __no_netlink_support.
35116 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35118 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35119 Remove conditional code.
35120 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35122 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35124 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35125 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35126 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35128 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35129 [!__ASSUME_STD_AUXV]: Remove conditional code.
35130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35131 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35132 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35134 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35135 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35137 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35139 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35140 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35142 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35144 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35147 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35150 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35151 code unconditional.
35152 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35154 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35156 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35159 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35161 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35164 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35165 code unconditional.
35166 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35168 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35170 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35173 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35174 code unconditional.
35175 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35177 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35179 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35182 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35184 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35185 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35186 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35187 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35188 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35189 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35190 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35191 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35192 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35193 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35194 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35195 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35196 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35197 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35198 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35199 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35200 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35202 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35204 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35205 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35208 2012-07-25 Florian Weimer <fweimer@redhat.com>
35210 * Versions.def: Add GLIBC_2.17.
35211 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35212 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35213 Introduce __libc_secure_getenv.
35214 * stdlib/Versions (2.17): Add secure_getenv
35215 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35216 * stdlib/secure-getenv.c: Rename __secure_getenv to
35217 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35218 symbol __secure_getenv for GLIBC_2.0.
35219 * stdlib/tst-secure-getenv.c: New.
35220 * stdlib/Makefile (tests): Add testcase.
35221 * manual/startup.texi (Environment Access): Document
35223 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35224 __libc_secure_getenv.
35225 * inet/ruserpass.c (ruserpass): Likewise.
35226 * malloc/mtrace.c (mtrace): Likewise.
35227 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
35228 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
35229 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35230 * sysdeps/posix/tempname.c: Likewise. Evaluate
35231 HAVE_SECURE_GETENV.
35232 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
35233 __secure_getenv to __libc_secure_getenv.
35234 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
35235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35247 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35249 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35250 (struct La_i86_retval): Likewise.
35251 (struct La_x86_64_regs): Likewise.
35252 (struct La_x86_64_retval): Likewise.
35253 (struct La_x32_regs): Likewise.
35254 (struct La_x32_retval): Likewise.
35255 (struct La_ppc32_regs): Likewise.
35256 (struct La_ppc32_retval): Likewise.
35257 (struct La_ppc64_regs): Likewise.
35258 (struct La_ppc64_retval): Likewise.
35259 (struct La_sh_regs): Likewise.
35260 (struct La_sh_retval): Likewise.
35261 (struct La_s390_32_regs): Likewise.
35262 (struct La_s390_32_retval): Likewise.
35263 (struct La_s390_64_regs): Likewise.
35264 (struct La_s390_64_retval): Likewise.
35265 (struct La_sparc32_regs): Likewise.
35266 (struct La_sparc32_retval): Likewise.
35267 (struct La_sparc64_regs): Likewise.
35268 (struct La_sparc64_retval): Likewise.
35269 (struct audit_ifaces): Remove architecture-specific pltenter and
35271 * sysdeps/i386/ldsodefs.h: New file.
35272 * sysdeps/powerpc/ldsodefs.h: Likewise.
35273 * sysdeps/s390/ldsodefs.h: Likewise.
35274 * sysdeps/sh/ldsodefs.h: Likewise.
35275 * sysdeps/sparc/ldsodefs.h: Likewise.
35276 * sysdeps/x86_64/ldsodefs.h: Likewise.
35278 2012-07-25 Marek Polacek <polacek@redhat.com>
35281 * math/libm-test.inc (yn_test): Add another test.
35282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35283 to ERANGE when the result is +-Inf.
35284 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35286 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35287 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35289 2012-07-24 Joseph Myers <joseph@codesourcery.com>
35291 * conform/data/time.h-data (NULL): Use macro-constant. Require
35293 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35295 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35297 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35299 * configure.in <sysdeps resolving>: Correct printing
35301 * configure: Regenerate.
35303 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35305 * math/w_ilogb.c: Include <limits.h>.
35306 * math/w_ilogbl.c: Likewise.
35308 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35310 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35311 va_copy. Document allowing for unavailable va_copy only as
35312 pre-C99 compatibility.
35313 * manual/string.texi (Copying and Concatenation): Use va_copy
35314 instead of __va_copy in concat example.
35316 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35318 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35319 (__sendto): Use create_address_port. Initialize APORT and deallocate
35322 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35323 with O_NOLINK passed to __file_name_lookup.
35325 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35326 with O_NOLINK passed to __file_name_lookup.
35328 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35329 negative N or less than NGIDS.
35331 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35332 type to string_t. Set ERANGE as errno and return it if NAME is not big
35333 enough. Use memcpy instead of strncpy.
35335 2012-07-20 Joseph Myers <joseph@codesourcery.com>
35337 * elf/Makefile (check-data): Remove.
35338 (localplt.data): New vpath directive.
35339 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35340 instead of $(check-data).
35341 * scripts/data/localplt-generic.data: Move to ...
35342 * sysdeps/generic/localplt.data: ... here.
35343 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35344 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35345 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35348 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35351 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35354 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35357 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35360 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35364 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35366 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35367 PPC32 and PPC64 files.
35368 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35369 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35371 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35373 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35374 __makecontext_ret to ...
35375 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35376 ... here and call exit if uc_link is NULL. New file.
35377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35378 __makecontext_ret.S.
35379 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35380 __makecontext_ret to ...
35381 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35382 ... here and call exit if uc_link is NULL. New file.
35383 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35384 __makecontext_ret.S.
35386 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35388 * elf/elf.h (R_390_IRELATIVE): New definition.
35389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35390 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35391 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35392 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35393 (elf_machine_lazy_rel): Likewise.
35394 * sysdeps/s390/dl-irel.h: New file.
35395 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35396 * sysdeps/s390/s390-64/memset.S: New asm code.
35397 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35398 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35399 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35400 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35401 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35402 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35403 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35404 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35405 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35406 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35407 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35408 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35409 * sysdeps/s390/s390-32/memset.S: New asm code.
35410 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35412 2012-07-17 Marek Polacek <polacek@redhat.com>
35415 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35416 * sysdeps/s390/s390-64/configure.in: Likewise.
35417 * sysdeps/sparc/configure.in: Likewise.
35418 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35419 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35420 * sysdeps/i386/configure.in: Likewise.
35421 * sysdeps/x86_64/configure.in: Likewise.
35422 * sysdeps/sh/configure.in: Likewise.
35423 * sysdeps/s390/s390-32/configure: Regenerated.
35424 * sysdeps/s390/s390-64/configure: Likewise.
35425 * sysdeps/x86_64/configure: Likewise.
35426 * sysdeps/sh/configure: Likewise.
35427 * sysdeps/powerpc/powerpc64/configure: Likewise.
35428 * sysdeps/powerpc/powerpc32/configure: Likewise.
35429 * sysdeps/sparc/configure: Likwise.
35430 * sysdeps/i386/configure: Likewise.
35432 * elf/dl-open.c: Comment fixes.
35434 2012-07-17 Joseph Myers <joseph@codesourcery.com>
35436 * Makefile [CXX] (check-data): Remove.
35437 [CXX] (c++-types.data): New vpath directive.
35438 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35439 vpath. Do not allow for C++ type data being missing.
35440 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35441 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35442 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35443 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35444 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35445 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35446 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35449 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35452 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35455 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35458 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35461 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35464 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35467 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35470 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35471 definitions to architecture-specific files.
35472 (TLS_IE): Likewise.
35473 (TLS_LD): Likewise.
35474 (TLS_GD): Likewise.
35475 * sysdeps/i386/tls-macros.h: New file.
35476 * sysdeps/powerpc/tls-macros.h: Likewise.
35477 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35478 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35479 * sysdeps/sh/tls-macros.h: Likewise.
35480 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35481 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35482 * sysdeps/x86_64/tls-macros.h: Likewise.
35484 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35486 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35487 zero value for regular exit case.
35489 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35490 (__start_context): Preserve zero value for regular exit case.
35492 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35493 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35495 * manual/setjmp.texi (setcontext): Clarify normal process
35496 termination when uc_link is the null pointer.
35497 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35500 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35502 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35503 preprocessor. Test for each exception mask separately.
35505 2012-07-16 Andreas Jaeger <aj@suse.de>
35507 * po/ru.po: Update from translation team.
35509 2012-07-15 Joseph Myers <joseph@codesourcery.com>
35511 * conform/data/string.h-data (NULL): Use macro-constant. Require
35513 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35514 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35515 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35516 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35519 2012-07-13 Andreas Jaeger <aj@suse.de>
35521 * po/fr.po: Update from translation team.
35523 2012-07-12 Marek Polacek <polacek@redhat.com>
35526 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35530 2012-07-12 Joseph Myers <joseph@codesourcery.com>
35533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35534 Change to 2.4.1 where previously 2.4.0.
35535 * sysdeps/unix/sysv/linux/configure: Regenerated.
35536 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35537 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35539 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35540 (__ASSUME_AT_CLKTCK): Remove.
35541 (__ASSUME_AT_PAGESIZE): Likewise.
35542 (__ASSUME_AT_XID): Likewise.
35543 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35544 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35545 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35547 (HAVE_AUX_PAGESIZE): Likewise.
35548 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35549 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35550 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35552 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35556 the temporary buffer used to invoke __gethostbyname2_r,
35557 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35558 host_data / struct gaih_addrtuple.
35559 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35560 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35561 header file nss/nsswitch.h.
35562 * nss/nsswitch.h (global scope): Add definition of implementation
35563 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35564 resolv/nss_dns/dns-host.c).
35566 2012-07-11 Andreas Jaeger <aj@suse.de>
35568 * po/fr.po: Update from translation team.
35570 * po/sv.po: Update from translation team
35571 * po/fr.po: Another update from translation team.
35573 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35575 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35576 for subnormals or multiply small sinh result by itself.
35577 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35580 2012-07-11 David S. Miller <davem@davemloft.net>
35582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35584 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35587 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35588 (INTERNAL_MARK): Shift it here.
35590 2012-07-10 Marek Polacek <polacek@redhat.com>
35593 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35594 libc_cv_asm_global_directive with .globl.
35595 * configure: Regenerated.
35596 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35598 * sysdeps/i386/configure: Regenerated.
35599 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35601 * sysdeps/x86_64/configure: Regenerated.
35602 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35603 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35604 * elf/tst-unique2mod2.c: Likewise.
35605 * elf/tst-unique2mod1.c: Likewise.
35606 * elf/tst-unique1mod2.c: Likewise.
35607 * elf/tst-unique1mod1.c: Likewise.
35608 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35609 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35611 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35612 * sysdeps/mach/sysdep.h: Likewise.
35613 * sysdeps/i386/sysdep.h: Likewise.
35614 * sysdeps/i386/i386-mcount.S: Likewise.
35615 * sysdeps/x86_64/_mcount.S: Likewise.
35616 * sysdeps/x86_64/sysdep.h: Likewise.
35617 * sysdeps/sh/_mcount.S: Likewise.
35618 * sysdeps/sh/sysdep.h: Likewise.
35619 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35620 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35621 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35623 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35624 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35625 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35626 * locale/localeinfo.h: Likewise.
35627 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35628 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35630 2012-07-09 Roland McGrath <roland@hack.frob.com>
35633 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35635 * manual/message.texi (The Uniforum approach): Likewise.
35636 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35637 (glibc iconv Implementation): Likewise.
35639 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35642 * math/s_clog.c (__clog): Avoid scaling a value down where that
35643 could result in underflow.
35644 * math/s_clog10.c (__clog10): Likewise.
35645 * math/s_clog10f.c (__clog10f): Likewise.
35646 * math/s_clog10l.c (__clog10l): Likewise.
35647 * math/s_clogf.c (__clogf): Likewise.
35648 * math/s_clogl.c (__clogl): Likewise.
35649 * math/libm-test.inc (clog_test): Add more tests.
35650 (clog10_test): Likewise.
35651 * sysdeps/i386/fpu/libm-test-ulps: Update.
35652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35654 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35657 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35658 by 7 not 8 to examine high bit of fractional part.
35661 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35662 for call to __mcount_internal.
35663 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35664 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35665 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35667 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35670 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35671 approximation for values within 0x1p-13f of an odd multiple of
35673 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35674 exception. Add more tests.
35675 * sysdeps/i386/fpu/libm-test-ulps: Update.
35678 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35679 inputs and return -1 for them. Do not check for +Inf in case not
35680 reachable for +Inf.
35681 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35682 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35684 and return -1 for them. Do not check for +Inf in case not
35685 reachable for +Inf.
35686 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35688 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35689 and return -1 for them. Do not check for +Inf in case not
35690 reachable for +Inf.
35691 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35692 spurious underflow.
35693 * sysdeps/i386/fpu/libm-test-ulps: Update.
35694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35696 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35698 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35700 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35704 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35705 could result in spurious underflow. Scale down values above
35706 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35707 * math/s_csqrtf.c (__csqrtf): Likewise.
35708 * math/s_csqrtl.c (__csqrtl): Likewise.
35709 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35710 spurious underflow.
35711 * sysdeps/i386/fpu/libm-test-ulps: Update.
35712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35714 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35716 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35718 * catgets/xopen-msg.awk: New file.
35719 * catgets/xopen-msg.sed: Removed.
35721 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35723 * intl/po2test.awk: New file.
35724 * intl/po2test.sed: Removed.
35726 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35729 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35730 or multiply small sinh result by itself.
35731 * math/s_ctanf.c (__ctanf): Likewise.
35732 * math/s_ctanh.c (__ctanh): Likewise.
35733 * math/s_ctanhf.c (__ctanhf): Likewise.
35734 * math/s_ctanhl.c (__ctanhl): Likewise.
35735 * math/s_ctanl.c (__ctanl): Likewise.
35736 * math/libm-test.inc (ctan_test_tonearest): New function.
35737 (ctan_test_towardzero): Likewise.
35738 (ctan_test_downward): Likewise.
35739 (ctan_test_upward): Likewise.
35740 (ctanh_test_tonearest): Likewise.
35741 (ctanh_test_towardzero): Likewise.
35742 (ctanh_test_downward): Likewise.
35743 (ctanh_test_upward): Likewise.
35744 (main): Call these new functions.
35745 * sysdeps/i386/fpu/libm-test-ulps: Update.
35746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35748 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35750 * .gitignore: Delete /ports entry.
35752 2012-07-03 Andreas Jaeger <aj@suse.de>
35754 * po/bg.po: Update from translation team.
35755 * po/cs.po: Likewise.
35756 * po/de.po: Likewise.
35757 * po/hr.po: Likewise.
35758 * po/nl.pl: Likewise.
35759 * po/pl.po: Likewise.
35760 * po/vi.po: Likewise.
35762 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35764 * Makeconfig [!+link] (+link-before-libc): New variable.
35765 [!+link] (+link-after-libc): Likewise.
35766 [!+link] (+link-tests): Likewise.
35767 [!+link] (+link): Define in terms of $(+link-before-libc) and
35768 $(+link-after-libc).
35769 [!+link-static] (+link-static-before-libc): New variable.
35770 [!+link-static] (+link-static-after-libc): Likewise.
35771 [!+link-static] (+link-static-tests): Likewise.
35772 [!+link-static] (+link-static): Define in terms of
35773 $(+link-static-before-libc) and $(+link-static-after-libc).
35774 [build-shared] (link-libc-before-gnulib): New variable.
35775 [build-shared] (link-libc-tests): Likewise.
35776 [build-shared] (link-libc): Define in terms of
35777 $(link-libc-before-gnulib).
35778 [!build-shared] (link-libc-tests): New variable.
35779 (link-libc-static-tests): New variable.
35780 [!gnulib] (gnulib-arch): New variable.
35781 [!gnulib] (gnulib-tests): Likewise.
35782 [!gnulib] (static-gnulib-arch): Likewise.
35783 [!gnulib] (static-gnulib-tests): Likewise.
35784 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35785 Define with "=" instead of ":=".
35786 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35787 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35788 * Rules (binaries-all-notests): New variable.
35789 (binaries-all-tests): Likewise.
35790 (binaries-static-notests): Likewise.
35791 (binaries-static-tests): Likewise.
35792 (binaries-all): Define using $(binaries-all-notests) and
35793 $(binaries-all-tests).
35794 (binaries-static): Define using $(binaries-static-notests) and
35795 $(binaries-static-tests).
35796 (binaries-shared-tests): New variable.
35797 (binaries-shared-notests): Likewise.
35798 (binaries-shared): Remove variable.
35799 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35800 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35801 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35802 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35803 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35804 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35805 * elf/Makefile (sln-modules): New variable.
35806 (extra-objs): Add $(sln-modules:=.o).
35807 (ldconfig-modules): Add static-stubs.
35808 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35809 * elf/static-stubs.c: New file.
35812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35813 by 7 not 8 to examine high bit of fractional part. Use volatile
35814 variables when splitting into final array of floats if
35815 __FLT_EVAL_METHOD__ != 0.
35816 * math/libm-test.inc (cos_test): Add another test.
35817 (sin_test): Likewise.
35818 * sysdeps/i386/fpu/libm-test-ulps: Update.
35821 * math/libm-test.inc (cosh_test): Add more tests.
35823 * version.h (RELEASE): Set to "development".
35824 (VERSION): Set to "2.16.90".
35826 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35828 * NEWS: Update copyright. Remove last-updated date.
35829 Mention math library bug fixes and timezone data changes.
35830 * README: Mention GNU/Hurd, x32, and HPPA support status.
35832 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35834 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35836 2012-06-27 Andreas Jaeger <aj@suse.de>
35838 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35840 2012-06-25 Andreas Jaeger <aj@suse.de>
35842 * sysdeps/s390/fpu/libm-test-ulps: Update.
35844 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35845 Thomas Schwinge <thomas@codesourcery.com>
35847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35848 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35852 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35854 * sysdeps/mach/start.c: Remove file.
35855 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35856 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35857 * sysdeps/sh/init-first.c: Likewise.
35859 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35860 registers for frame unwinding purposes, add CFI directives.
35861 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35863 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35866 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35867 __fortify_fail returning.
35868 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35870 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35871 sysdeps/sh/____longjmp_chk.S.
35872 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35873 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35874 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35875 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35877 * sysdeps/sh/abort-instr.h: New file.
35878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35879 process in case exit returns.
35881 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35882 initialize the GOT register before use.
35884 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35885 calculation of ARGC > 4.
35887 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35888 meaningful names to some local labels.
35890 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35891 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35893 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35894 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35895 (__arch_compare_and_exchange_val_16_acq): Likewise.
35896 (__arch_compare_and_exchange_val_32_acq): Likewise.
35897 (atomic_exchange_and_add): Fix gUSA sequence.
35898 (atomic_add): Likewise.
35899 (atomic_add_negative): Likewise.
35900 (atomic_add_zero): Likewise.
35901 (atomic_bit_test_set): Likewise.
35903 2012-06-22 Andreas Schwab <schwab@redhat.com>
35906 * include/link.h (struct link_map): Add l_free_initfini.
35907 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35909 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35910 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35911 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35914 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35916 * configure.in: Use AC_LANG_SOURCE.
35917 * configure: Regenerate.
35919 2012-06-22 Roland McGrath <roland@hack.frob.com>
35921 * configure.in (libc_cv_localstatedir): New substituted variable.
35922 * configure: Regenerated.
35923 * config.make.in (localstatedir): New variable, substituted from
35924 libc_cv_localstatedir.
35925 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35926 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35927 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35928 * sysdeps/gnu/configure: Regenerated.
35930 2012-06-21 Jeff Law <law@redhat.com>
35933 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35934 free. Simplify list management for _LIBC case.
35936 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35939 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35940 Clear sign bit of 64-bit integer value before comparing against
35943 * sysdeps/mach/configure: Regenerated.
35945 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35948 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35950 2012-06-21 Jeff Law <law@redhat.com>
35953 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35954 uint16_t for elements in the "seen" array to avoid char overflows.
35955 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35956 * elf/dl-open.c (dl_open_worker): Likewise.
35958 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35960 * scripts/list-sources.sh: Scan PORTS for translations.
35961 * po/libc.pot: Regenerated.
35963 2012-06-21 Andreas Jaeger <aj@suse.de>
35966 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35968 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35969 * bits/byteswap-16.h (__bswap_16): Likewise.
35970 * bits/byteswap.h (__bswap_constant_16): Likewise.
35972 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35975 * sysdeps/i386/fpu_control.h: Removed.
35976 * sysdeps/x86_64/fpu_control.h: Moved to ...
35977 * sysdeps/x86/fpu_control.h: Here.
35979 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35980 (_FPU_SETCW): Likewise.
35982 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35986 * sysdeps/x86/fpu/bits/mathinline.h: This.
35987 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35991 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35992 functions if __x86_64__ is defined.
35994 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35996 * string/endian.h: Add !__ASSEMBLER__ condition for including
35997 conversion interfaces.
35999 2012-06-15 Joseph Myers <joseph@codesourcery.com>
36002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36003 of ABS(x) in calculating zero to negative powers other than odd
36005 * math/libm-test.inc (pow_test): Add more tests.
36007 2012-06-15 Andreas Jaeger <aj@suse.de>
36009 * manual/contrib.texi (Contributors): Update entry of Liubov
36010 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36013 2012-06-15 Cyril Hrubis <metan@ucw.cz>
36015 * string/string.h: Add __wur to GNU version of strerror_r.
36017 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36020 * string/Makefile (tests): Add tst-strtok_r.
36021 * string/tst-strtok_r.c: New file.
36022 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36023 RAX_LP/RDX_LP on SAVE_PTR.
36025 2012-06-14 Roland McGrath <roland@hack.frob.com>
36027 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36029 2012-06-14 Joseph Myers <joseph@codesourcery.com>
36031 * libm_test.inc (csqrt_test): Allow more spurious underflow
36033 (j0_test): Likewise.
36034 (j1_test): Likewise.
36035 (y0_test): Likewise.
36036 (y1_test): Likewise.
36038 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36040 * po/Makefile (libc.pot): Use UTF-8 charset.
36042 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36045 Suppress sign-conversion warning from FD_SET.
36046 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36047 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36048 not unsigned long int.
36049 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36051 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36055 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36056 __extern_always_inline instead of __extern_inline.
36057 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36058 (__signbit): Likewise.
36059 (__signbitl): Support C++ namespace.
36060 (lrintf): New inline function.
36062 (llrintf): Likewise.
36063 (llrint): Likewise.
36073 (floorf): Likewise.
36074 (nearbyint): Likewise.
36075 (nearbyintf): Likewise.
36077 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36079 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36080 non-default versions.
36082 2012-06-11 Roland McGrath <roland@hack.frob.com>
36085 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36087 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36089 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36090 (FE_UPWARD, FE_DOWNWARD): Don't define.
36091 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36094 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36096 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36097 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36099 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36101 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36103 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36104 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36106 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36109 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36110 * sysdeps/i386/fpu/Implies: New file.
36111 * sysdeps/x86_64/fpu/Implies: Likewise.
36112 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36113 * sysdeps/x86/fpu/bits/fenv.h: This.
36115 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36118 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36121 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36122 character 0xffff that matches the last element of the
36125 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36130 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36133 values higher than 25.6283.
36135 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36138 subnormal exponent extraction and add some __builtin_expect.
36139 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36140 Fix for subnormal mantissa calculation.
36142 2012-06-04 Mike Frysinger <vapier@gentoo.org>
36144 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36145 cpu2 is -1 and errno is not ENOSYS.
36147 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36150 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36151 * sysdeps/x86/bits/string.h: This.
36152 * sysdeps/x86_64/bits/string.h: Removed.
36154 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36155 if not compiling for x86-64, but compiling for >= i486.
36157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36158 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36160 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36161 New macro from Linux kernel 3.4.0.
36162 (FP_XSTATE_MAGIC2): Likewise.
36163 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36164 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36165 (struct _fpx_sw_bytes): New struct.
36166 (struct _xsave_hdr): Likewise.
36167 (struct _ymmh_state): Likewise.
36168 (struct _xstate): Likewise.
36170 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36171 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36172 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36173 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36174 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36175 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36177 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36178 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36179 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36180 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36181 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36182 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36184 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36187 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36188 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36189 (sysdep_headers): Include sys/platform/ppc.h.
36190 * sysdeps/powerpc/test-gettimebase.c: Test for
36191 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36192 * manual/Makefile (appendices): Include platform.texi.
36193 * manual/contrib.texi (Contributors): Update @node pointers.
36194 * manual/maint.texi (Maintenance): Likewise.
36195 (Platform): New node.
36196 * manual/platform.texi: New file. Document the new features.
36198 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36199 Jakub Jelinek <jakub@redhat.com>
36202 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36203 where __builtin_expect is unavailable.
36205 2012-06-03 David S. Miller <davem@davemloft.net>
36207 * stdlib/longlong.h: Updated from GCC.
36209 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36212 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36213 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36216 (GLIBC_2.16): Likewise.
36218 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36220 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36222 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36225 (default-abi): New variable.
36226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36227 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36229 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36231 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36233 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36236 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36237 definition. Document in comment.
36239 2012-06-01 David S. Miller <davem@davemloft.net>
36241 * stdlib/longlong.h: Updated from GCC.
36243 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36246 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36247 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36248 sys/debugreg.h sys/io.h here.
36249 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36250 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36252 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36253 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36254 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36255 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36256 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36257 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36260 Define only if __x86_64__ is defined.
36262 2012-06-01 Joseph Myers <joseph@codesourcery.com>
36265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36266 Use int64_t for variable i.
36267 * math/libm-test.inc (fmod_test): Add more tests.
36269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36270 z computation is not scheduled after fetestexcept.
36271 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36272 Use math_force_eval instead of asm to ensure calculation scheduled
36273 before exception test.
36274 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36275 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36277 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36280 computation is not scheduled after fetestexcept.
36282 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36285 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36286 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36288 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36290 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36291 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36293 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36296 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36298 (__WCHAR_MIN): Support __WORDSIZE == 64.
36299 (__WCHAR_MAX): Likewise.
36301 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36306 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36309 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36310 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36313 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36315 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36316 Defined to 1 if __x86_64__ isn't defined.
36317 (_STAT_VER_LINUX_OLD): New.
36318 (st_atime): Remove duplicate.
36319 (st_mtime): Likewise.
36320 (st_ctime): Likewise.
36322 2012-05-31 David S. Miller <davem@davemloft.net>
36324 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36327 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36329 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36333 * elf/dl-reloc.c: Include <_itoa.h>.
36334 (_dl_reloc_bad_type): Remove use of INTUSE.
36335 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36336 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36337 * stdio-common/psiginfo.c (psiginfo): Likewise.
36338 * stdio-common/psignal.c (psignal): Likewise.
36339 * string/strsignal.c (strsignal): Likewise.
36340 * include/signal.h (_sys_siglist): Declare hidden proto.
36341 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36342 INTVARDEF with libc_hidden_data_def.
36343 * stdio-common/itoa-udigits.c: Likewise.
36344 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36345 (_itoa_lower_digits_internal): Remove declaration.
36346 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36347 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36348 (_sys_sigabbrev_internal): Remove aliases.
36349 (_sys_siglist): Define hidden alias.
36351 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36356 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36359 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36360 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36362 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36363 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36364 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36365 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36367 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36369 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36370 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36371 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36373 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36381 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36383 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36385 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36386 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36387 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36388 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36389 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36390 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36392 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36393 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36395 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36396 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36399 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36402 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36403 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36405 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36407 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36408 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36409 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36411 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36413 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36415 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36417 * math/math.h (M_El): Use two more decimal places.
36418 (M_LOG2El): Likewise.
36419 (M_LOG10El): Likewise.
36420 (M_LN2l): Likewise.
36421 (M_LN10l): Likewise.
36423 (M_PI_2l): Likewise.
36424 (M_PI_4l): Likewise.
36425 (M_1_PIl): Likewise.
36426 (M_2_PIl): Likewise.
36427 (M_2_SQRTPIl): Likewise.
36428 (M_SQRT2l): Likewise.
36429 (M_SQRT1_2l): Likewise.
36431 2012-05-31 David S. Miller <davem@davemloft.net>
36433 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36434 values between float registers.
36435 * sysdeps/sparc/sparc64/memset.S: Likewise.
36436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36438 2012-05-31 Mike Frysinger <vapier@gentoo.org>
36440 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36441 -D_FORTIFY_SOURCE=1.
36442 (CPPFLAGS-tst-longjmp_chk.c): Define.
36443 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36444 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36445 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36446 CFLAGS-tst-wchar-h.c.
36448 2012-05-31 Marek Polacek <polacek@redhat.com>
36451 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36452 __endmntent_internal): Remove declaration.
36453 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36454 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36455 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36457 2012-05-30 David S. Miller <davem@davemloft.net>
36459 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36460 (___Q_simulate_exceptions): Use real FP ops rather than writing
36462 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36465 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36468 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36469 * sysdeps/x86/bits/xtitypes.h: This.
36471 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36472 * sysdeps/x86/bits/wordsize.h: This.
36474 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36475 * sysdeps/x86/bits/huge_vall.h: This.
36477 * sysdeps/i386/bits/select.h: Removed.
36478 * sysdeps/x86_64/bits/select.h: Renamed to ...
36479 * sysdeps/x86/bits/select.h: This.
36481 * sysdeps/i386/bits/setjmp.h: Removed.
36482 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36483 * sysdeps/x86/bits/setjmp.h: This.
36485 * sysdeps/i386/bits/mathdef.h: Removed.
36486 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36487 * sysdeps/x86/bits/mathdef.h: This.
36489 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36492 * include/sys/socket.h (__connect_internal)
36493 (__libc_sa_len_internal): Remove declaration.
36494 (__connect, __libc_sa_len): Declare hidden_proto.
36495 (SA_LEN): Remove use of INTUSE.
36496 * socket/connect.c: Add libc_hidden_def.
36497 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36498 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36499 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36501 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36502 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36503 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36504 of adding _internal alias.
36506 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36509 * sysdeps/i386/bits/link.h: Removed.
36510 * sysdeps/i386/bits/linkmap.h: Likewise.
36511 * sysdeps/x86_64/bits/link.h: Renamed to ...
36512 * sysdeps/x86/bits/link.h: This.
36513 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36514 * sysdeps/x86/bits/linkmap.h: This.
36516 * sysdeps/i386/bits/endian.h: Removed.
36517 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36518 * sysdeps/x86/bits/endian.h: This.
36520 * sysdeps/i386/bits/byteswap.h: Removed.
36521 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36522 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36523 * sysdeps/x86/bits/byteswap.h: This.
36524 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36525 * sysdeps/x86/bits/byteswap-16.h: This.
36526 * sysdeps/i386/Implies: Add x86.
36527 * sysdeps/x86_64/Implies: Likewise.
36529 2012-05-30 David S. Miller <davem@davemloft.net>
36531 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36532 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36533 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36534 (FP_TRAPPING_EXCEPTIONS): Define.
36535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36536 (FP_TRAPPING_EXCEPTIONS): Define.
36537 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36538 subnormals only when inexact has been signalled or underflow
36539 exceptions are enabled.
36540 (_FP_PACK_CANONICAL): Likewise.
36542 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36546 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36548 2012-05-30 Richard Henderson <rth@twiddle.net>
36550 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36551 with #ifndef NOT_IN_libc.
36553 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36554 marked to avoid plt entry.
36556 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36559 * Makeconfig (default-abi): New macro.
36560 (abi-includes): Likewise.
36561 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36562 $(abi-$(default-abi)-lib-soname) for soname if defined.
36563 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36565 * Makefile (installed-stubs): Likewise.
36566 * include/stubs-biarch.h: Removed.
36567 * scripts/lib-names.awk: Only handle one library at a time.
36568 * scripts/soversions.awk: Remove WORDSIZE support.
36569 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36571 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36573 (syscall-list-default-condition): Likewise.
36574 (syscall-list-default-condition): Likewise.
36575 (syscall-list-includes): Likewise.
36576 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36577 syscall-list-* with abi-*. Handle undefined abi-variants.
36578 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36579 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36580 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36581 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36582 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36583 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36585 (syscall-list-32-options): Likewise.
36586 (syscall-list-32-condition): Likewise.
36587 (syscall-list-64-options): Likewise.
36588 (syscall-list-64-condition): Likewise.
36589 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36591 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36594 (abi-64-ld-soname): New macro.
36595 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36596 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36599 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36600 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36602 2012-05-30 Joseph Myers <joseph@codesourcery.com>
36604 * sysdeps/unix/sysv/linux/kernel-features.h
36605 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36606 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36607 include <kernel-features.h>.
36608 [!__NR_ftruncate64]: Remove conditional code.
36609 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36610 [__NR_ftruncate64]: Make code unconditional.
36611 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36612 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36613 include <kernel-features.h>.
36614 [!__NR_ftruncate64]: Remove conditional code.
36615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36616 [__NR_ftruncate64]: Make code unconditional.
36617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36619 include <kernel-features.h>.
36620 [!__NR_ftruncate64]: Remove conditional code.
36621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36622 [__NR_ftruncate64]: Make code unconditional.
36623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36625 include <kernel-features.h>.
36626 [!__NR_ftruncate64]: Remove conditional code.
36627 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36628 [__NR_ftruncate64]: Make code unconditional.
36629 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36631 * configure.in (libc_cv_fpie): Weaken to a compile test using
36632 LIBC_TRY_CC_OPTION.
36633 * configure: Regenerated.
36635 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36650 2012-05-27 David S. Miller <davem@davemloft.net>
36652 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36654 (__Q_simulate_exceptions): Return void. Change to simulate
36655 exceptions by writing into the %fsr.
36656 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36657 (__Qp_handle_exceptions): Likewise.
36659 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36660 __Qp_handle_exceptions.
36661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36662 __Qp_handle_exceptions.
36663 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36664 as unused and give dummy FP_RND_NEAREST initializer.
36665 (FP_INHIBIT_RESULTS): Define.
36666 (___Q_simulate_exceptions): Update declaration.
36667 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36670 as unused and give dummy FP_RND_NEAREST initializer.
36671 (__Qp_handle_exceptions): Update declaration.
36672 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36675 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36677 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36678 the temporary FPU control word.
36679 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36680 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36681 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36682 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36683 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36684 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36685 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36686 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36687 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36688 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36689 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36691 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36693 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36696 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36698 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36699 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36700 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36701 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36703 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36704 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36707 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36709 * po/h.po: Update from translation team.
36711 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36713 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36715 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36716 handling of denormals.
36717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36718 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36719 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36720 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36726 2012-05-26 Marek Polacek <polacek@redhat.com>
36729 * math/libm-test.inc (fma_test): Don't always expect underflow
36732 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36735 * elf/tst-execstack.c: Include stackinfo.h.
36736 (do_test): Adjust test case to ensure that pthread_getattr_np
36737 behaviour remains the same after marking stack executable.
36739 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36741 * sysdeps/unix/sysv/linux/kernel-features.h
36742 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36743 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36745 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36746 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36747 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36749 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36750 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36752 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36754 * configure.in: Define the default includes to being none.
36755 * configure: Regenerated.
36757 2012-05-25 Roland McGrath <roland@hack.frob.com>
36759 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36760 * sysdeps/x86_64/setjmp.S: Likewise.
36761 * sysdeps/i386/bsd-setjmp.S: Likewise.
36762 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36763 * sysdeps/i386/setjmp.S: Likewise.
36764 * sysdeps/i386/__longjmp.S: Likewise.
36765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36766 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36768 * include/stap-probe.h: New file.
36769 * configure.in: Handle --enable-systemtap.
36770 * configure: Regenerated.
36771 * config.h.in (USE_STAP_PROBE): New #undef.
36772 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36773 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36774 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36776 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36780 to 2.4.0 where earlier.
36781 * sysdeps/unix/sysv/linux/configure: Regenerated.
36782 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36783 <kernel-features.h>.
36784 [__ASSUME_32BITUIDS]: Make code unconditional.
36785 [!__ASSUME_32BITUIDS]: Remove conditional code.
36786 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36787 <kernel-features.h>.
36788 [__ASSUME_32BITUIDS]: Make code unconditional.
36789 [!__ASSUME_32BITUIDS]: Remove conditional code.
36790 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36791 [__ASSUME_32BITUIDS]: Make code unconditional.
36792 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36793 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36794 <kernel-features.h>.
36795 [__ASSUME_32BITUIDS]: Make code unconditional.
36796 [!__ASSUME_32BITUIDS]: Remove conditional code.
36797 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36798 <kernel-features.h>.
36799 [__ASSUME_32BITUIDS]: Make code unconditional.
36800 [!__ASSUME_32BITUIDS]: Remove conditional code.
36801 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36802 <kernel-features.h>.
36803 [__ASSUME_32BITUIDS]: Make code unconditional.
36804 [!__ASSUME_32BITUIDS]: Remove conditional code.
36805 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36806 <kernel-features.h>.
36807 [__ASSUME_32BITUIDS]: Make code unconditional.
36808 [!__ASSUME_32BITUIDS]: Remove conditional code.
36809 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36810 <kernel-features.h>.
36811 [__ASSUME_32BITUIDS]: Make code unconditional.
36812 [!__ASSUME_32BITUIDS]: Remove conditional code.
36813 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36814 <kernel-features.h>.
36815 [__ASSUME_32BITUIDS]: Make code unconditional.
36816 [!__ASSUME_32BITUIDS]: Remove conditional code.
36817 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36818 <kernel-features.h>.
36819 [__ASSUME_32BITUIDS]: Make code unconditional.
36820 [!__ASSUME_32BITUIDS]: Remove conditional code.
36821 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36822 <kernel-features.h>.
36823 [__ASSUME_32BITUIDS]: Make code unconditional.
36824 [!__ASSUME_32BITUIDS]: Remove conditional code.
36825 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36826 <kernel-features.h>.
36827 [__ASSUME_32BITUIDS]: Make code unconditional.
36828 [!__ASSUME_32BITUIDS]: Remove conditional code.
36829 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36830 <kernel-features.h>.
36831 [__ASSUME_32BITUIDS]: Make code unconditional.
36832 [!__ASSUME_32BITUIDS]: Remove conditional code.
36833 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36834 <kernel-features.h>.
36835 [__NR_setresgid] (__setresgid): Do not declare.
36836 [__ASSUME_32BITUIDS]: Make code unconditional.
36837 [!__ASSUME_32BITUIDS]: Remove conditional code.
36838 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36839 <kernel-features.h>.
36840 [__NR_setresuid] (__setresuid): Do not declare.
36841 [__ASSUME_32BITUIDS]: Make code unconditional.
36842 [!__ASSUME_32BITUIDS]: Remove conditional code.
36843 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36844 <kernel-features.h>.
36845 [__ASSUME_32BITUIDS]: Make code unconditional.
36846 [!__ASSUME_32BITUIDS]: Remove conditional code.
36847 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36848 <kernel-features.h>.
36849 [__ASSUME_32BITUIDS]: Make code unconditional.
36850 [!__ASSUME_32BITUIDS]: Remove conditional code.
36851 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36852 <kernel-features.h>.
36853 [__ASSUME_32BITUIDS]: Make code unconditional.
36854 [!__ASSUME_32BITUIDS]: Remove conditional code.
36855 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36856 <kernel-features.h>.
36857 [__ASSUME_32BITUIDS]: Make code unconditional.
36858 [!__ASSUME_32BITUIDS]: Remove conditional code.
36859 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36860 <kernel-features.h>.
36861 [__ASSUME_32BITUIDS]: Make code unconditional.
36862 [!__ASSUME_32BITUIDS]: Remove conditional code.
36863 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36864 <kernel-features.h>.
36865 [__ASSUME_32BITUIDS]: Make code unconditional.
36866 [!__ASSUME_32BITUIDS]: Remove conditional code.
36867 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36868 <kernel-features.h>.
36869 [__ASSUME_32BITUIDS]: Make code unconditional.
36870 [!__ASSUME_32BITUIDS]: Remove conditional code.
36871 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36872 <kernel-features.h>.
36873 [__ASSUME_32BITUIDS]: Make code unconditional.
36874 [!__ASSUME_32BITUIDS]: Remove conditional code.
36875 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36876 <kernel-features.h>.
36877 [__ASSUME_32BITUIDS]: Make code unconditional.
36878 [!__ASSUME_32BITUIDS]: Remove conditional code.
36879 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36880 <kernel-features.h>.
36881 [__ASSUME_32BITUIDS]: Make code unconditional.
36882 [!__ASSUME_32BITUIDS]: Remove conditional code.
36883 * sysdeps/unix/sysv/linux/kernel-features.h
36884 (__ASSUME_SETRESUID_SYSCALL): Remove.
36885 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36886 (__ASSUME_32BITUIDS): Likewise.
36887 (__ASSUME_LDT_WORKS): Likewise.
36888 (__ASSUME_O_DIRECTORY): Likewise.
36889 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36890 architecture but not kernel version.
36891 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36892 (__ASSUME_MMAP2_SYSCALL): Likewise.
36893 (__ASSUME_STAT64_SYSCALL): Likewise.
36894 (__ASSUME_IPC64): Likewise.
36895 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36896 <kernel-features.h>.
36897 [__ASSUME_32BITUIDS]: Make code unconditional.
36898 [!__ASSUME_32BITUIDS]: Remove conditional code.
36899 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36900 <kernel-features.h>.
36901 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36902 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36903 132096]: Remove conditional code.
36904 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36905 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36906 <kernel-features.h>.
36907 [__ASSUME_32BITUIDS]: Make code unconditional.
36908 [!__ASSUME_32BITUIDS]: Remove conditional code.
36909 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36910 <kernel-features.h>.
36911 [__ASSUME_32BITUIDS]: Make code unconditional.
36912 [!__ASSUME_32BITUIDS]: Remove conditional code.
36913 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36914 <kernel-features.h>.
36915 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36917 (__setresgid): Do not declare.
36918 [__ASSUME_32BITUIDS]: Make code unconditional.
36919 [!__ASSUME_32BITUIDS]: Remove conditional code.
36920 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36921 <kernel-features.h>.
36922 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36924 (__setresuid): Do not declare.
36925 [__ASSUME_32BITUIDS]: Make code unconditional.
36926 [!__ASSUME_32BITUIDS]: Remove conditional code.
36927 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36928 <kernel-features.h>.
36929 [__ASSUME_32BITUIDS]: Make code unconditional.
36930 [!__ASSUME_32BITUIDS]: Remove conditional code.
36931 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36932 <kernel-features.h>.
36933 [__ASSUME_32BITUIDS]: Make code unconditional.
36934 [!__ASSUME_32BITUIDS]: Remove conditional code.
36936 2012-05-25 Richard Henderson <rth@twiddle.net>
36938 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36939 dl_hwcap to ifunc resolver.
36940 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36942 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36943 dl_hwcap to ifunc resolver.
36944 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36946 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36949 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36950 for |x| <= 2**-26, not 2**-57.
36951 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36954 2012-05-24 Jeff Law <law@redhat.com>
36956 * stdio-common/Makefile (tests): Add bug25.
36957 * stdio-common/bug25.c: New test.
36959 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36962 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36963 multiple of MALLOC_ALIGNMENT in size.
36964 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36966 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36968 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36970 (FILENAME_MAX): Use macro-int-constant.
36971 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36972 (_IOFBF): Use macro-int-constant.
36973 (_IOLBF): Likewise.
36974 (_IONBF): Likewise.
36975 (SEEK_CUR): Likewise.
36976 (SEEK_END): Likewise.
36977 (SEEK_SET): Likewise.
36978 (TMP_MAX): Likewise.
36979 (EOF): Use macro-int-constant. Require < 0.
36980 (NULL): Use macro-constant. Require == 0.
36981 (stdin): Require type to be FILE *.
36982 (stdout): Likewise.
36983 (stderr): Likewise.
36984 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36985 macro-int-constant.
36986 (EXIT_SUCCESS): Likewise.
36987 (NULL): Use macro-constant. Require == 0.
36988 (RAND_MAX): Use macro-int-constant.
36989 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36990 [C99-based standards] (strtof): Require function.
36991 [C99-based standards] (strtold): Likewise.
36992 [C99-based standards] (strtoll): Likewise.
36993 [C99-based standards] (strtoull): Likewise.
36994 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36995 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36996 [ISO || ISO99 || ISO11] (math.h): Likewise.
36997 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36998 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37001 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37004 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37005 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37006 * intl/dgettext.c (DCGETTEXT): Likewise.
37007 * intl/gettext.c (DCGETTEXT): Likewise.
37008 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37009 * posix/regex_internal.h (gettext): Likewise.
37010 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37011 Remove declaration.
37012 * include/argz.h (__argz_count_internal)
37013 (__argz_stringify_internal): Remove declaration.
37014 (__argz_count, __argz_stringify): Declare hidden proto.
37015 * intl/dcgettext.c: Remove use of INTDEF.
37016 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37017 * string/argz-stringify.c: Likewise.
37018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37020 Declare hidden proto.
37021 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37022 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37023 Declare hidden proto.
37024 * include/stdio.h (__asprintf_internal): Don't declare.
37025 (__asprintf): Don't define as macro. Declare hidden proto.
37026 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37027 (__fsetlocking): Declare hidden proto.
37028 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37029 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37031 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37032 (_IO_setlinebuf): Remove use of INTUSE.
37033 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37034 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37035 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37036 Remove declaration.
37037 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37038 (_IO_do_flush): Remove use of INTUSE.
37039 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37040 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37041 (_IO_adjust_column, _IO_least_wmarker)
37042 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37043 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37044 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37045 (_IO_default_doallocate, _IO_wdefault_doallocate)
37046 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37047 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37048 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37049 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37050 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37051 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37052 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37053 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37054 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37055 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37056 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37057 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37058 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37060 (_IO_flush_all_internal, _IO_adjust_column_internal)
37061 (_IO_default_uflow_internal, _IO_default_finish_internal)
37062 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37063 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37064 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37065 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37066 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37067 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37068 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37069 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37070 (_IO_file_close_internal, _IO_file_close_it_internal)
37071 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37072 (_IO_file_init_internal, _IO_file_attach_internal)
37073 (_IO_file_fopen_internal, _IO_file_read_internal)
37074 (_IO_file_sync_internal, _IO_file_seek_internal)
37075 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37076 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37077 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37078 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37079 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37080 (_IO_list_all_internal, _IO_link_in_internal)
37081 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37082 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37083 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37084 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37085 (_IO_do_write_internal, _IO_padn_internal)
37086 (_IO_getline_info_internal, _IO_getline_internal)
37087 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37088 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37089 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37090 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37091 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37092 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37093 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37094 with libc_hidden_ver, remove use of INTUSE.
37095 * libio/genops.c: Likewise.
37096 * libio/freopen.c: Likewise.
37097 * libio/freopen64.c: Likewise.
37098 * libio/iofclose.c: Likewise.
37099 * libio/iofdopen.c: Likewise.
37100 * libio/iofflush.c: Likewise.
37101 * libio/iofflush_u.c: Likewise.
37102 * libio/iofgets.c: Likewise.
37103 * libio/iofgets_u.c: Likewise.
37104 * libio/iofopen.c: Likewise.
37105 * libio/iofopncook.c: Likewise.
37106 * libio/iofread.c: Likewise.
37107 * libio/iofread_u.c: Likewise.
37108 * libio/ioftell.c: Likewise.
37109 * libio/iofwrite.c: Likewise.
37110 * libio/iogetline.c: Likewise.
37111 * libio/iogets.c: Likewise.
37112 * libio/iogetwline.c: Likewise.
37113 * libio/iopadn.c: Likewise.
37114 * libio/iopopen.c: Likewise.
37115 * libio/ioseekoff.c: Likewise.
37116 * libio/ioseekpos.c: Likewise.
37117 * libio/iosetbuffer.c: Likewise.
37118 * libio/iosetvbuf.c: Likewise.
37119 * libio/ioungetc.c: Likewise.
37120 * libio/ioungetwc.c: Likewise.
37121 * libio/iovdprintf.c: Likewise.
37122 * libio/iovsprintf.c: Likewise.
37123 * libio/iovsscanf.c: Likewise.
37124 * libio/memstream.c: Likewise.
37125 * libio/obprintf.c: Likewise.
37126 * libio/oldfileops.c: Likewise.
37127 * libio/oldiofclose.c: Likewise.
37128 * libio/oldiofdopen.c: Likewise.
37129 * libio/oldiofopen.c: Likewise.
37130 * libio/oldiopopen.c: Likewise.
37131 * libio/oldstdfiles.c: Likewise.
37132 * libio/putc.c: Likewise.
37133 * libio/setbuf.c: Likewise.
37134 * libio/setlinebuf.c: Likewise.
37135 * libio/stdfiles.c: Likewise.
37136 * libio/strops.c: Likewise.
37137 * libio/vasprintf.c: Likewise.
37138 * libio/vscanf.c: Likewise.
37139 * libio/vsnprintf.c: Likewise.
37140 * libio/vswprintf.c: Likewise.
37141 * libio/wfiledoalloc.c: Likewise.
37142 * libio/wfileops.c: Likewise.
37143 * libio/wgenops.c: Likewise.
37144 * libio/wmemstream.c: Likewise.
37145 * libio/wstrops.c: Likewise.
37146 * libio/__fpurge.c: Likewise.
37147 * libio/__fsetlocking.c: Likewise.
37148 * assert/assert.c: Likewise.
37149 * debug/fgets_chk.c: Likewise.
37150 * debug/fgets_u_chk.c: Likewise.
37151 * debug/fread_chk.c: Likewise.
37152 * debug/fread_u_chk.c: Likewise.
37153 * debug/gets_chk.c: Likewise.
37154 * debug/obprintf_chk.c: Likewise.
37155 * debug/vasprintf_chk.c: Likewise.
37156 * debug/vdprintf_chk.c: Likewise.
37157 * debug/vsnprintf_chk.c: Likewise.
37158 * debug/vsprintf_chk.c: Likewise.
37159 * malloc/mtrace.c: Likewise.
37160 * misc/error.c: Likewise.
37161 * misc/syslog.c: Likewise.
37162 * stdio-common/asprintf.c: Likewise.
37163 * stdio-common/fxprintf.c: Likewise.
37164 * stdio-common/getw.c: Likewise.
37165 * stdio-common/isoc99_fscanf.c: Likewise.
37166 * stdio-common/isoc99_scanf.c: Likewise.
37167 * stdio-common/isoc99_vfscanf.c: Likewise.
37168 * stdio-common/isoc99_vscanf.c: Likewise.
37169 * stdio-common/isoc99_vsscanf.c: Likewise.
37170 * stdio-common/printf-prs.c: Likewise.
37171 * stdio-common/printf_fp.c: Likewise.
37172 * stdio-common/printf_fphex.c: Likewise.
37173 * stdio-common/printf_size.c: Likewise.
37174 * stdio-common/putw.c: Likewise.
37175 * stdio-common/scanf.c: Likewise.
37176 * stdio-common/sprintf.c: Likewise.
37177 * stdio-common/tmpfile.c: Likewise.
37178 * stdio-common/vfprintf.c: Likewise.
37179 * stdio-common/vfscanf.c: Likewise.
37180 * stdlib/strfmon_l.c: Likewise.
37181 * sunrpc/openchild.c: Likewise.
37182 * sunrpc/xdr_stdio.c: Likewise.
37183 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37184 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37186 2012-05-24 Roland McGrath <roland@hack.frob.com>
37188 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37190 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37191 in the third column, to generate for the shared library an IFUNC
37192 that uses _dl_vdso_vsym.
37193 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37194 * Makeconfig (object-suffixes-noshared): New variable.
37196 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37197 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37198 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37199 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37202 * include/sys/time.h (__gettimeofday): Remove macro.
37203 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37204 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37206 (__gettimeofday): Add libc_hidden_def.
37207 (gettimeofday): Add libc_hidden_weak.
37208 * sysdeps/mach/gettimeofday.c: Likewise.
37209 * sysdeps/posix/gettimeofday.c: Likewise.
37210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37211 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37212 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37213 (__gettimeofday_internal): Remove strong_alias.
37214 (__gettimeofday): Add libc_hidden_def.
37215 (gettimeofday): Add libc_hidden_weak.
37216 * sysdeps/unix/syscalls.list (gettimeofday):
37217 Remove __gettimeofday_internal alias.
37219 2012-05-24 Daniel Jacobowitz <drow@false.org>
37220 H.J. Lu <hongjiu.lu@intel.com>
37223 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37224 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37225 (largebin_index_32_big): New.
37226 (largebin_index): Use it for 16-byte alignment.
37227 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37228 correction with front_misalign.
37230 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37258 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37259 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37261 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37265 * math/libm-test.inc (exp_test): Add test from bug 14036.
37266 (pow_test): Add test from bug 10846.
37268 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37270 (special_function): Do not include flags in test name.
37271 (parse_args): Likewise.
37272 * sysdeps/i386/fpu/libm-test-ulps: Update.
37273 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37274 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37275 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37278 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37280 * math/libm-test.inc ("Philosophy"): Update comment about
37282 (UNDERFLOW_EXCEPTION): New macro.
37283 (UNDERFLOW_EXCEPTION_OK): Likewise.
37284 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37285 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37286 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37287 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37288 (INVALID_EXCEPTION_OK): Update value.
37289 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37290 (OVERFLOW_EXCEPTION_OK): Likewise.
37291 (IGNORE_ZERO_INF_SIGN): Likewise.
37292 (test_exceptions): Handle underflow exceptions.
37293 (acos_test): Update for underflow exception expectations.
37294 (cexp_test): Likewise.
37295 (clog_test): Likewise.
37296 (clog10_test): Likewise.
37297 (csqrt_test): Likewise.
37298 (ctan_test): Likewise.
37299 (ctanh_test): Likewise.
37300 (exp_test): Likewise.
37301 (exp10_test): Likewise.
37302 (exp2_test): Likewise.
37303 (expm1_test): Likewise.
37304 (fma_test): Likewise.
37305 (j0_test): Likewise.
37306 (jn_test): Likewise.
37307 (nexttoward_test): Likewise.
37308 (pow_test): Likewise.
37309 (scalbn_test): Likewise.
37310 (scalbln_test): Likewise.
37311 (tan_test): Likewise.
37312 (y1_test): Likewise.
37313 * sysdeps/i386/fpu/libm-test-ulps: Update.
37314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37316 2012-05-23 David S. Miller <davem@davemloft.net>
37318 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37319 (__libc_sigaction): Remove unused local variables.
37321 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37323 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37325 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37327 mktime: avoid signed integer overflow
37328 * time/mktime.c (__mktime_internal): Do not mishandle the case
37329 where diff == INT_MIN.
37331 mktime: simplify computation of average
37332 * time/mktime.c (ranged_convert): Use new time_t_avg function
37333 instead of rolling our own (probably-slower) code.
37335 mktime: do not assume signed right shift propagates sign bit
37336 * time/mktime.c (isdst_differ): New static function.
37337 (__mktime_internal): No need to normalize tm_isdst now.
37338 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37341 mktime: merge another wrapv change from gnulib
37342 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37343 from some compilers.
37345 mktime: remove incorrect attempt at unusual arithmetics
37346 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37347 The code didn't really work on such machines anyway.
37348 (TYPE_MINIMUM): Assume two's complement.
37349 (twos_complement_arithmetic): Verify that long_int and time_t
37350 are two's complement (or unsigned, in the latter case).
37352 mktime: check signed shifts on long_int and time_t, too
37353 * time/mktime.c (SHR): Check that shifts work as desired
37354 on the types long_int and time_t too, as SHR is used on
37357 mktime: do not assume 'long' is wide enough
37358 * time/mktime.c (verify): Move decl up.
37359 (long_int): New type.
37360 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37361 to remove assumption in the code that 'long' is wide enough to
37362 store year values. This assumption is not true on x32 and on
37363 some non-glibc platforms.
37365 mktime: merge wrapv change from gnulib
37366 * time/mktime.c (WRAPV): New macro.
37367 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37368 (guess_time_tm, __mktime_internal): Do not assume that signed
37369 integer overflow wraps around; modern compilers generate code
37370 where this assumption is no longer valid.
37372 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37374 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37375 Replace "jmp L(pseudo_end)" with "ret".
37376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37379 2012-05-23 Andreas Jaeger <aj@suse.de>
37381 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37382 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37384 2012-05-23 Andreas Jaeger <aj@suse.de>
37385 Maximilian Attems <max@stro.at>
37387 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37390 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37393 code so that pseudo_end is just ret and the stack pointer is
37394 correct also for static library in error case.
37396 2012-05-23 Joseph Myers <joseph@codesourcery.com>
37398 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37399 move to syscalls.list.
37400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37405 * manual/install.texi (Running make install): Do not mention Linux
37406 kernel version for which pt_chown is not needed.
37407 (Linux): Do not mention problems with nscd with 2.0 kernels.
37408 * INSTALL: Regenerated.
37410 2012-05-23 Andreas Jaeger <aj@suse.de>
37412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37413 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37415 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37417 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37419 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37425 * sysdeps/unix/sysv/linux/bits/in.h
37426 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37428 2012-05-22 Roland McGrath <roland@hack.frob.com>
37430 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37431 (PREPARE_VERSION): Just use assert instead, it will be elided
37432 under [NDEBUG] anyway.
37434 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37436 * sysdeps/unix/sysv/linux/Makefile: Include
37437 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
37438 (sysdep_routines): Remove sysctl.
37439 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37440 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37441 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37442 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37443 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37445 2012-05-22 Andreas Jaeger <aj@suse.de>
37447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37448 that pseudo_end is just ret and the stack pointer is correct also
37449 for static library in error case.
37451 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37454 * nss/nsswitch.c (defconfig_entries): New variable.
37455 (__nss_database_lookup): Don't leak defconfig entries.
37456 (nss_parse_service_list): Don't leak on error paths.
37457 (free_database_entries): New function.
37458 (free_defconfig): New function.
37459 (free_mem): Move common code to free_database_entries.
37461 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37463 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37465 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37467 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37468 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37471 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37472 (INTERNAL_SYSCALL_TYPES): Likewise.
37473 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37474 (LOAD_REGS_TYPES_[1-6]): Likewise.
37475 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37476 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37478 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37480 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37481 copysignl for GLIBC_2_0.
37482 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37483 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37484 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37485 logbl for GLIBC_2_0.
37486 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37487 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37489 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37492 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37494 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37497 * time/mktime.c: Update copyright years.
37499 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37501 mktime: merge comment-quoting-style change from gnulib
37502 * time/mktime.c: Quote 'like this' in comments.
37503 The GNU coding standards suggest that we no longer quote `like this',
37504 as "`" and "'" are typically rendered asymmetrically nowadays.
37505 The typical gnulib style is to quote 'like this' when quoting
37506 code, and "like this" when quoting English.
37508 * time/mktime.c (compile-command): Add "-I.".
37510 mktime: merge mktime-internal.h change from gnulib
37511 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37513 mktime: merge time_r change from gnulib
37514 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37516 mktime: merge DEBUG change from gnulib
37517 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37518 case system <time.h> has a #define.
37520 mktime: merge <sys/types.h> change from gnulib
37521 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37522 since <time.t> is now guaranteed to define time_t.
37524 mktime: merge HAVE_CONFIG_H change from gnulib
37525 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37527 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37532 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37534 (struct rusage): Use anonymous union to pad each field to
37537 2012-05-21 David S. Miller <davem@davemloft.net>
37539 * Makefules (o-iterator): Remove .s cases.
37540 (compile-command.s): Delete.
37541 (COMPILE.s): Delete.
37542 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37544 2012-05-21 Joseph Myers <joseph@codesourcery.com>
37546 * configure.in (libc_cv_predef_stack_protector): Only consider
37547 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37548 * configure: Regenerated.
37550 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37553 New macro. Use R*LP on int and pointer.
37554 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
37555 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37556 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
37557 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37559 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37560 [__WORDSIZE_TIME64_COMPAT32] instead of
37561 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37562 (struct utmp): Likewise.
37563 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37564 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37566 (__WORDSIZE_TIME64_COMPAT32): This.
37567 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37568 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37569 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37570 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37571 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37572 (__WORDSIZE_TIME64_COMPAT32): New macro.
37574 2012-05-21 Andreas Jaeger <aj@suse.de>
37576 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37577 only if [SHARED]. Add prototype for __wcschr_ia32.
37579 2012-05-21 Roland McGrath <roland@hack.frob.com>
37581 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37582 of %rbp unmolested in the jmp_buf while mangling the low bits.
37583 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37584 unmolested high bits of %rbp while demangling the low bits.
37585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37587 2012-05-21 Andreas Jaeger <aj@suse.de>
37589 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37590 * sunrpc/svc_simple.c: Use it for registerrpc.
37591 * sunrpc/xcrypt.c: Use it for passwd2des.
37593 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37595 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37597 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37598 Don't define if [__SYSCALL_WORDSIZE != 32].
37599 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37602 2012-05-21 Bruno Haible <bruno@clisp.org>
37603 Andreas Jaeger <aj@suse.de>
37605 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37606 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37607 inptr and inend for must_buffer_ch.
37608 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37609 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37610 * stdio-common/Makefile (tests): Remove bug15.
37611 (bug15-ENV): Remove macro.
37612 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37615 2012-05-19 Andreas Jaeger <aj@suse.de>
37616 Roland McGrath <roland@hack.frob.com>
37618 * manual/contrib.texi: Completely rewritten. It contains now an
37619 alphabetical list of contributors and their contributions.
37621 2012-05-21 Richard Henderson <rth@twiddle.net>
37623 * misc/getauxval.c (__getauxval): Use unsigned long int.
37624 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37625 (getauxval): Use unsigned long int.
37627 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37629 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37631 2012-05-21 Roland McGrath <roland@hack.frob.com>
37633 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37634 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37635 __alignof__ (long double).
37637 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37641 2012-05-20 Richard Henderson <rth@twiddle.net>
37643 * misc/getauxval.c: New file.
37644 * misc/sys/auxv.h: New file.
37645 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37646 (routines): Add getauxval.
37647 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37648 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37649 * elf/dl-sysdep.c (_dl_auxv): Remove.
37650 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37651 * elf/dl-support.c (_dl_auxv): New variable.
37652 (_dl_aux_init): Initialize it.
37653 * manual/startup.texi (Auxiliary Vector): New node.
37654 * sysdeps/generic/bits/hwcap.h: New file.
37655 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37656 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37657 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37658 * sysdeps/sparc/sysdep.h: ... here. Include it.
37659 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37672 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37676 2012-05-19 David S. Miller <davem@davemloft.net>
37678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37680 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37683 * math/s_ccosh.c: Include <float.h>
37684 (__ccosh): Avoid internal overflow calculating sinh and cosh
37685 values before multiplying by sin and cos values.
37686 * math/s_ccoshf.c: Likewise.
37687 * math/s_ccoshl.c: Likewise.
37688 * math/s_csin.c: Likewise.
37689 * math/s_csinf.c: Likewise.
37690 * math/s_csinl.c: Likewise.
37691 * math/s_csinh.c: Likewise.
37692 * math/s_csinhf.c: Likewise.
37693 * math/s_csinhl.c: Likewise.
37694 * math/libm-test.inc (ccos_test): Add more tests.
37695 (ccosh_test): Likewise.
37696 (csin_test): Likewise.
37697 (csinh_test): Likewise.
37698 * sysdeps/i386/fpu/libm-test-ulps: Update.
37699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37701 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37703 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37704 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37706 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37708 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37710 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37711 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37712 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37713 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37714 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37715 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37716 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37717 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37718 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37719 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37720 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37721 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37722 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37723 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37724 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37725 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37726 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37727 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37728 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37729 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37730 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37731 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37732 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37733 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37734 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37735 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37736 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37737 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37738 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37739 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37740 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37742 2012-05-18 Andreas Jaeger <aj@suse.de>
37744 * csu/.gitignore: Delete.
37746 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37748 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37749 (timex): Use __syscall_slong_t.
37751 2012-05-18 Andreas Jaeger <aj@suse.de>
37752 Carlos O'Donell <carlos_odonell@mentor.com>
37754 * manual/install.texi (Configuring and compiling): Update
37755 description about files modified in the source directory.
37756 * INSTALL: Regenerated.
37758 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37760 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37761 value. Use "or" to set return value to -1.
37762 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37763 negate return value.
37765 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37767 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37768 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37769 failure if the compiler has Graphite support disabled.
37770 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37772 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37773 (CFLAGS-memmove.c): Likewise.
37774 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37777 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37779 * sysdeps/x86_64/x32/_itoa.h: New file.
37781 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37782 getdents system call only if kernel and user dirents have the
37783 same d_ino and d_off.
37785 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37786 LLONG_MAX != LONG_MAX.
37787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37788 (_fitoa_word): Likewise.
37790 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37792 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37793 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37794 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37796 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37797 include <bits/wordsize.h>. Check __x86_64__ instead of
37799 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37800 if __x86_64__ is defined. Use anonymous union on fpstate.
37802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37805 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37807 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37808 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37809 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37810 Refer to _rtld_local_ro instead of _rtld_global_ro.
37811 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37813 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37815 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37817 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37818 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37819 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37821 * sysdeps/powerpc/powerpc32/dl-machine.c
37822 (__elf_machine_runtime_setup) [PROF]: Don't reference
37825 2012-05-18 Andreas Jaeger <aj@suse.de>
37827 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37828 function only available for GCCs before 3.4 since GCC 3.4
37829 introduced a builtin.
37831 (llrintf): Likewise.
37832 (llrint): Likewise.
37839 (nearbyint): Likewise.
37840 (nearbyintf): Likewise.
37844 (floorf): Likewise.
37846 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37848 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37849 on both fields and cast pointer to __syscall_ulong_t.
37851 * bits/types.h (__fsword_t): New type.
37852 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37853 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37855 (__FSWORD_T_TYPE): Likewise.
37856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37857 (__FSWORD_T_TYPE): Likewise.
37858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37859 (__FSWORD_T_TYPE): Likewise.
37860 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37861 (__FSWORD_T_TYPE): Likewise.
37862 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37863 __SWORD_TYPE with __fsword_t.
37864 (statfs64): Likewise.
37866 2012-05-17 David S. Miller <davem@davemloft.net>
37868 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37870 2012-05-17 Andreas Jaeger <aj@suse.de>
37872 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37875 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37877 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37879 2012-05-17 Andreas Jaeger <aj@suse.de>
37881 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37884 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37886 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37888 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37890 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37891 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37893 2012-05-17 Andreas Jaeger <aj@suse.de>
37894 Carlos O'Donell <carlos_odonell@mentor.com>
37897 * sysdeps/x86_64/multiarch/init-arch.h
37898 (bit_YMM_Usable): Rename to...
37899 (bit_AVX_Usable): ... this.
37900 (bit_FMA4_Usable): New macro.
37901 (bit_XMM_state): New macro.
37902 (bit_YMM_state): New macro.
37903 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37904 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37905 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37906 (CPUID_OSXSAVE): New macro.
37907 (CPUID_AVX): New macro.
37908 (CPUID_FMA4): New macro.
37909 (index_YMM_Usable): Rename to...
37910 (index_AVX_Usable): ... this.
37911 (HAS_AVX): Use HAS_ARCH_FEATURE.
37912 (HAS_FMA4): Likewise.
37913 (HAS_YMM_USABLE): Remove.
37914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37915 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37917 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37918 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37919 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37920 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37921 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37923 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37925 * math/libm-test.c: Support platforms without multiple rounding modes.
37926 * math/bug-nextafter.c: Support platforms without FP exceptions.
37927 * math/bug-nexttoward.c: Likewise.
37928 * math/test-fenv.c: Likewise.
37929 * math/test-misc.c: Likewise.
37930 * stdlib/bug-getcontext.c: Likewise.
37932 2012-05-17 Andreas Jaeger <aj@suse.de>
37934 * manual/examples/search.c (critter_cmp): Change signature to
37936 * manual/string.texi (Collation Functions): Likewise.
37938 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37940 * bits/types.h: Fold copyright years.
37941 * bits/typesizes.h: Likewise.
37942 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37946 * time/time.h: Likewise.
37948 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37951 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37952 in instead of returning them. Return void.
37953 (__libc_mallinfo): Accumulate over all arenas.
37954 (__malloc_stats): Adjust for change in int_mallinfo interface.
37956 2012-05-16 Roland McGrath <roland@hack.frob.com>
37959 * configure.in (NM): Add AC_CHECK_TOOL for it.
37960 (libc_extra_cflags): New substituted variable.
37961 Check for -fstack-protector being used implicitly.
37962 * configure: Regenerated.
37963 * config.make.in (config-extra-cflags): New variable,
37964 gets @libc_extra_cflags@.
37965 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37968 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37969 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37970 * configure: Regenerated.
37971 * config.make.in (CPPUNDEFS): New substituted variable.
37972 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37973 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37974 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37976 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37978 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37979 (mq_attr): Use __syscall_slong_t.
37981 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37983 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37984 Check __x86_64__ instead of __WORDSIZE.
37985 (_STAT_VER_LINUX): Likewise.
37986 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37987 __syscall_ulong_t and __syscall_slong_t.
37988 (stat64): Likewise.
37990 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37994 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37996 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37998 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38000 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38003 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38004 include <bits/wordsize.h>. Check __x86_64__ instead of
38006 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38008 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38011 include <bits/wordsize.h>. Check __x86_64__ instead of
38013 (user_regs_struct): Use "__extension__ unsigned long long"
38014 instead of "unsigned long" if __x86_64__ is defined.
38015 (user): Likewise. Pad after pointer field if __ILP32__ is
38018 2012-05-16 Joseph Myers <joseph@codesourcery.com>
38020 * configure.in (makeinfo): Require version 4.5 or later. Allow
38022 * configure: Regenerated.
38023 * manual/install.texi (texinfo): Increase version requirement to
38025 * INSTALL: Regenerated.
38027 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38029 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38031 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38033 * sysdeps/x86_64/x32/ffs.c: New file.
38035 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38037 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38038 defined. Use __syscall_ulong_t.
38039 (shminfo): Use __syscall_ulong_t.
38040 (shm_info): Likewise.
38042 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38045 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38047 (msgqnum_t): Use __syscall_ulong_t.
38048 (msglen_t): Likewise.
38049 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38052 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38053 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38055 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38057 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38058 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38060 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38064 include <bits/wordsize.h>. Check __x86_64__ instead of
38067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38068 "unsigned long long int" if __x86_64__ is defined.
38069 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38073 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38075 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38077 (GET_PC): Cast to uintptr_t first.
38078 (GET_FRAME): Likewise.
38079 (GET_STACK): Likewise.
38081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38083 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38084 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38085 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38086 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38087 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38088 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38089 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38090 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38091 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38092 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38093 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38094 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38096 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38097 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38100 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38102 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38103 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38104 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38105 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38106 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38107 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38108 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38111 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38113 * Makerules (+depfiles): Also collect depfiles from .oS in
38115 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38116 .oS, $(libnldbl-routines)).
38118 * Makerules (native-compile-mkdep-flags): Define.
38119 * sunrpc/Makefile (extra-objs): Add $(addprefix
38120 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38121 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38122 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38123 calling $(make-target-directory).
38125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38127 * bits/types.h (__snseconds_t): Removed.
38128 * time/time.h (struct timespec): Replace __snseconds_t with
38130 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38131 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38134 (__SNSECONDS_T_TYPE): Likewise.
38135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38136 (__SNSECONDS_T_TYPE): Likewise.
38137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38138 (__SNSECONDS_T_TYPE): Likewise.
38140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38142 * sysdeps/mach/hurd/bits/typesizes.h
38143 (__SYSCALL_SLONG_TYPE): New macro.
38144 (__SYSCALL_ULONG_TYPE): Likewise.
38146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38148 * bits/types.h (__syscall_slong_t): New type.
38149 (__syscall_ulong_t): Likewise.
38151 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38152 (__SYSCALL_ULONG_TYPE): Likewise.
38153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38154 (__SYSCALL_SLONG_TYPE): Likewise.
38155 (__SYSCALL_ULONG_TYPE): Likewise.
38156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38157 (__SYSCALL_SLONG_TYPE): Likewise.
38158 (__SYSCALL_ULONG_TYPE): Likewise.
38159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38160 (__SYSCALL_SLONG_TYPE): Likewise.
38161 (__SYSCALL_ULONG_TYPE): Likewise.
38163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38165 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38166 Add sigaltstack-offsets.sym.
38167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38168 <sigaltstack-offsets.h>.
38169 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38170 longjmp_msg pointer.
38171 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38172 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38174 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38176 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38178 * elf/stackguard-macros.h: Remove file.
38179 * sysdeps/generic/stackguard-macros.h: New file.
38180 * sysdeps/i386/stackguard-macros.h: Likewise.
38181 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38182 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38183 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38184 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38185 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38186 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38187 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38188 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38189 <elf/stackguard-macros.h>.
38192 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38193 __aligned__ in attribute.
38194 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38195 (gregset_t): Likewise.
38197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38199 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38200 * sysdeps/x86_64/64/Implies-after: Here. New file.
38201 * sysdeps/x86_64/x32/Implies-after: New file.
38203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38205 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38206 and access return value for _dl_profile_fixup. Use R10_LP to
38209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38211 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38215 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38216 * sysdeps/x86_64/x32/sysdep.h: New file.
38218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38220 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38221 * sysdeps/x86_64/setjmp.S: Likewise.
38223 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38225 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38227 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38228 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38229 remove unused global constant.
38231 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38233 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38234 include of <not-cancel.h>.
38236 2012-05-15 Roland McGrath <roland@hack.frob.com>
38238 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38240 2012-05-15 Jeff Law <law@redhat.com>
38241 Andreas Jaeger <aj@suse.de>
38244 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38246 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38247 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38249 code changing __hst_map_handle.map.
38251 2012-05-15 Roland McGrath <roland@hack.frob.com>
38253 * configure.in (sysnames): Look for Implies-before and Implies-after
38255 * configure: Regenerated.
38257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38259 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38260 8-byte data alignment with LP_SIZE alignment.
38262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38264 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38269 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38273 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38274 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38281 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38282 (stackinfo_sub_sp): Likewise.
38284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38301 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38305 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38306 into R11_LP and load __x86_64_shared_cache_size_half into
38309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38314 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38323 powerpc32/power7/fpu/s_logb.c via #include.
38324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38325 powerpc32/power7/fpu/s_logbf.c via #include.
38326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38327 powerpc32/power7/fpu/s_logbl.c via #include.
38329 2012-05-15 Joseph Myers <joseph@codesourcery.com>
38331 * README.libm: Remove file.
38333 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38335 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38336 count for x32. Use R*_LP and omit operand-size suffix.
38338 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38340 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38341 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38342 * sysdeps/x86_64/x32/shlib-versions: New file.
38344 2012-05-14 Roland McGrath <roland@hack.frob.com>
38346 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38347 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38348 Use _dl_fatal_printf instead.
38350 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38352 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38353 set if not set by the user. Do not allow for being unset.
38354 * sysdeps/unix/sysv/linux/configure: Regenerated.
38356 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38358 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38359 the `q' suffix from lea and replace .quad with ASM_ADDR.
38361 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38364 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38366 (PTR_DEMANGLE): Likewise.
38368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38370 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38372 (ASM_ADDR): Likewise.
38373 (RAX_LP): Likewise.
38374 (RBP_LP): Likewise.
38375 (RBX_LP): Likewise.
38376 (RCX_LP): Likewise.
38377 (RDI_LP): Likewise.
38378 (RSI_LP): Likewise.
38379 (RSP_LP): Likewise.
38382 (R10_LP): Likewise.
38383 (R10_LP): Likewise.
38384 (R11_LP): Likewise.
38385 (R12_LP): Likewise.
38386 (R13_LP): Likewise.
38387 (R14_LP): Likewise.
38388 (R15_LP): Likewise.
38390 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38392 * sysdeps/x86_64/x32/dl-machine.h: New file.
38394 2012-05-14 Andreas Jaeger <aj@suse.de>
38396 * manual/Makefile (subdir): Remove export of subdir.
38397 (all): Remove target.
38398 (.PHONY): Remove all from list.
38399 (mkinstalldirs): Remove.
38400 (.PHONY): Remove installdirs from list.
38401 ($(inst_infodir)/libc.info): Use make-target-directory.
38402 (installdirs): Remove.
38403 (subdir_%): Remove.
38404 (glibc-targets): Remove.
38407 ($(objpfx)stubs ../po/manual.pot): Remove.
38408 ($(objpfx)stamp%): Remove.
38409 (make-target-directory): Remove.
38410 (subdir_install): Remove.
38411 (routines): Remove.
38418 * manual/.gitignore: Remove, it's not needed anymore.
38419 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38421 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38423 (texis): Renamed to $(objpfx)texis.
38424 (texis-path): New, contains path to generated files.
38425 (chapters.%): Use texis-path for complete path, add extra argument
38427 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38428 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38429 (summary,texi, stamp-summary): Use complete path of
38430 files. Generate files in build dir.
38431 (dir-add.texi): Build in build dir.
38432 (libm-err.texi,stamp-libm-err): Likewise.
38433 (version.texi, stamp-version): Likewise.
38434 (.%c.texi): Likewise.
38435 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38436 (mostlyclean): Remove target.
38437 (realclean): Remove target.
38438 (generated): Add new variable with contents from mostlyclean and
38439 realclean, remove entries duplicated in common-mostlyclean, add
38440 stamp-libm-err and stamp-version.
38441 (generated-dirs): Add libc directory.
38442 ($(inst_infodir)/libc.info): Install files from build dir.
38444 * manual/install.texi (Configuring and compiling): Adjust since
38445 the info files are not part of the tar ball anymore.
38447 2012-05-14 Andreas Jaeger <aj@suse.de>
38449 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38452 2012-05-14 Joseph Myers <joseph@codesourcery.com>
38455 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38456 to 2.2.0 where earlier.
38457 * sysdeps/unix/sysv/linux/configure: Regenerated.
38458 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38459 Remove conditional code.
38460 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38461 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38462 Remove conditional code.
38463 [!__NR_lchown]: Likewise.
38464 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38465 [__NR_lchown]: Likewise.
38466 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38467 comment referencing __ASSUME_LCHOWN_SYSCALL.
38468 * sysdeps/unix/sysv/linux/i386/sigaction.c
38469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38471 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38472 Remove conditional code.
38473 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38474 (__protocol_available): Remove #if 0 code.
38475 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38477 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38478 * sysdeps/unix/sysv/linux/kernel-features.h
38479 (__ASSUME_GETCWD_SYSCALL): Don't define.
38480 (__ASSUME_REALTIME_SIGNALS): Likewise.
38481 (__ASSUME_PREAD_SYSCALL): Likewise.
38482 (__ASSUME_PWRITE_SYSCALL): Likewise.
38483 (__ASSUME_POLL_SYSCALL): Likewise.
38484 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38485 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38487 (__ASSUME_SIOCGIFNAME): Don't define.
38488 (__ASSUME_MSG_NOSIGNAL): Likewise.
38489 (__ASSUME_SENDFILE): Define unconditionally.
38490 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38491 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38493 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38494 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38496 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38497 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38498 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38499 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38524 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38525 Remove conditional code.
38526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38527 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38528 Remove conditional code.
38529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38530 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38531 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38532 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38533 Remove conditional code.
38534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38535 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38536 Remove conditional code.
38537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38538 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38539 Remove conditional code.
38540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38541 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38542 Remove conditional code.
38543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38544 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38545 Remove conditional code.
38546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38547 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38550 * sysdeps/unix/sysv/linux/sigaction.c
38551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38553 * sysdeps/unix/sysv/linux/sigpending.c
38554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38556 * sysdeps/unix/sysv/linux/sigprocmask.c
38557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38559 * sysdeps/unix/sysv/linux/sigsuspend.c
38560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38563 (__libc_missing_rt_sigs): Remove.
38564 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38565 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38566 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38567 Remove conditional code.
38568 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38569 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38572 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38573 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38574 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38576 2012-05-14 Andreas Jaeger <aj@suse.de>
38578 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38579 it's not used in glibc.
38580 (__coshm1): Likewise.
38581 (__acosh1p): Likewise.
38584 * manual/string.texi (Copying and Concatenation): Add missing
38585 variable in concat example.
38586 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38592 __builtin_clzl with __builtin_clzll.
38594 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38597 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38600 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38602 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38603 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38604 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38605 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38607 2012-05-14 Mike Frysinger <vapier@gentoo.org>
38609 * NEWS: Update ia64 info.
38611 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38613 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38616 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38618 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38619 * sysdeps/unix/syscalls.list (dup3): Likewise.
38620 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38621 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38623 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38625 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38626 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38628 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38630 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38632 (TLS_IE): Use mov/add instead of movq/addq to load thread
38634 (TLS_GD_PREFIX): New.
38637 2012-05-11 David S. Miller <davem@davemloft.net>
38639 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38640 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38641 (_FPU_SETCW): Likewise.
38643 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38645 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38646 is 32-byte aligned.
38648 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38651 * iconvdata/gb18030.c: Update tables.
38652 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38653 characters specially.
38654 (BODY for TO_LOOP): Add encoding of missing ranges.
38656 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38659 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38660 * sysdeps/mach/hurd/dup3.c: Likewise.
38661 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38662 * sysdeps/powerpc/memmove.c:: Likewise.
38664 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38667 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38669 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38671 * elf/elf.h (R_X86_64_RELATIVE64): New.
38672 (R_X86_64_NUM): Updated.
38673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38674 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38675 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38676 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38677 tst-quad1pie tst-quad2pie
38678 (modules-names): Add tst-quadmod1 tst-quadmod2.
38679 ($(objpfx)tst-quad1): New dependency.
38680 ($(objpfx)tst-quad2): Likewise.
38681 ($(objpfx)tst-quad1pie): Likewise.
38682 ($(objpfx)tst-quad2pie): Likewise.
38683 * sysdeps/x86_64/tst-quad1.c: New file.
38684 * sysdeps/x86_64/tst-quad1pie.c: New file.
38685 * sysdeps/x86_64/tst-quad2.c: Likewise.
38686 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38687 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38688 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38689 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38690 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38692 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38694 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38695 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38696 * streams/stropts.h (t_scalar_t): Define type.
38698 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38699 (_PATH_PRESERVE): Set to "/var/lib".
38700 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38702 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38705 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38706 if __dir_mkfile succeeded.
38708 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38709 checking for _hurd_dtablesize. Unlock it right after having
38710 finished _hurd_dtable allocation.
38712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38714 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38715 * sysdeps/mach/hurd/configure: Regenerated.
38716 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38717 special-casing to...
38718 * sysdeps/gnu/configure.in: ... this new file.
38719 * sysdeps/unix/sysv/linux/configure: Regenerated.
38720 * sysdeps/gnu/configure: New generated file.
38722 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38723 for Linux: use nsec instead of usec, as well as:
38724 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38725 members of type struct timespec.
38726 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38728 (struct stat64): Likewise.
38729 (_STATBUF_ST_NSEC): New macro.
38730 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38732 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38733 __strtoul_internal rather than strtoul.
38735 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38737 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38742 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38743 which preserves existing values.
38744 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38746 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38748 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38749 TIMEOUT values. Return EINVAL for NFDS values either negative or
38750 greater than FD_SETSIZE.
38752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38754 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38755 allocated, call __vm_protect to finish enabling the existing space, and
38756 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38757 allocate the remainder.
38759 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38761 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38762 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38766 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38767 sysdeps/mach/hurd/readlink.c.
38769 * posix/tst-sysconf.c (posix_options): Only use
38770 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38771 _POSIX_SYNCHRONIZED_IO when they are defined
38772 * sysdeps/mach/hurd/bits/posix_opt.h:
38773 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38774 (_XOPEN_REALTIME): Undefine macro.
38775 (_XOPEN_REALTIME_THREADS): Undefine macro.
38776 (_XOPEN_SHM): Undefine macro.
38777 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38779 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38781 (_POSIX_ASYNC_IO): Undefine macro.
38782 (_POSIX_PRIORITIZED_IO): Undefine macro.
38783 (_POSIX_SPIN_LOCKS): Define macro to -1.
38785 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38786 SA_NODEFER, SA_RESETHAND.
38787 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38788 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38793 * elf/Makefile (pldd-modules): Define unconditionally.
38795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38797 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38801 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38802 Return ENOENT when name is empty.
38803 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38807 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38809 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38813 Fix mlock in all cases except non-readable pages.
38814 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38815 instead of VM_PROT_ALL as parameter to __vm_wire function.
38817 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38818 (__mkdir): When path is `/', just fail with EEXIST.
38819 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38821 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38823 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38824 <sys/uio.h> (for writev).
38825 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38826 and <sys/param.h> (for MIN).
38828 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38830 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38831 REQUESTED_TIME. Properly set the remaining time and return EINTR
38834 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38836 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38837 Depend on against $(link-rpcuserlibs).
38839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38841 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38842 (__libc_stack_end): Do not use attribute_relro.
38843 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38844 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38845 to libthread-provided value.
38846 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38849 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38852 * bits/libc-lock.h (__libc_once_get): New macro.
38853 * sysdeps/mach/bits/libc-lock.h: Likewise.
38854 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38855 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38856 instead of using implementation details.
38858 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38859 * libio/freopen.c: Likewise.
38860 * libio/freopen64.c: Likewise.
38861 * misc/syslog.c: Likewise.
38862 * nscd/connections.c: Likewise.
38863 * nscd/netgroupcache.c: Likewise.
38864 * sysdeps/posix/getcwd.c: Likewise.
38866 2012-05-10 Roland McGrath <roland@hack.frob.com>
38868 * math/w_ilogbf.c: Add #include <limits.h>.
38870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38872 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38873 path instead of returning without unlocking.
38875 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38876 immediate-write ioctls.
38877 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38879 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38881 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38882 __builtin_frame_address instead of making assumptions about the
38883 location of the return address relative to DATA. Force early load of
38884 the return address.
38885 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38886 __builtin_frame_address.
38889 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38890 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38891 implement dup3 and do some further code clean-ups.
38892 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38893 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38897 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38899 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38900 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38901 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38902 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38903 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38906 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38907 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38908 when handler == SIG_ERR, not when handler != SIG_ERR.
38910 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38912 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38913 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38916 accept4 for GNU Hurd.
38917 * include/sys/socket.h (__libc_accept4): New prototype.
38918 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38919 to implement __libc_accept4.
38920 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38922 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38924 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38925 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38926 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38927 signal-defines.sym.
38929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38931 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38935 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38936 assertion on O_CLOEXEC flag.
38937 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38938 * hurd/intern-fd.c: Likewise.
38939 * hurd/port2fd.c: Likewise.
38941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38944 * bits/in.h (IPV6_PKTINFO): Define new macro.
38945 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38947 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38952 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38954 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38955 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38957 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38958 * math/libm-test.inc (logb_test) : Additional logb tests.
38960 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38961 Andreas Jaeger <aj@suse.de>
38963 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38964 * configure: Regenerated.
38965 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38966 * config.make.in (link-obsolete-rpc): New substituted variable.
38967 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38968 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38969 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38970 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38971 so that libc.a contains the symbols.
38972 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38973 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38974 * sunrpc/auth_none.c: Likewise.
38975 * sunrpc/auth_unix.c: Likewise.
38976 * sunrpc/authdes_prot.c: Likewise.
38977 * sunrpc/authuxprot.c: Likewise.
38978 * sunrpc/clnt_gen.c: Likewise.
38979 * sunrpc/clnt_perr.c: Likewise.
38980 * sunrpc/clnt_raw.c: Likewise.
38981 * sunrpc/clnt_simp.c: Likewise.
38982 * sunrpc/clnt_tcp.c: Likewise.
38983 * sunrpc/clnt_udp.c: Likewise.
38984 * sunrpc/clnt_unix.c: Likewise.
38985 * sunrpc/des_crypt.c: Likewise.
38986 * sunrpc/des_soft.c: Likewise.
38987 * sunrpc/get_myaddr.c: Likewise.
38988 * sunrpc/key_call.c: Likewise.
38989 * sunrpc/key_prot.c: Likewise.
38990 * sunrpc/netname.c: Likewise.
38991 * sunrpc/pm_getmaps.c: Likewise.
38992 * sunrpc/pm_getport.c: Likewise.
38993 * sunrpc/pmap_clnt.c: Likewise.
38994 * sunrpc/pmap_prot.c: Likewise.
38995 * sunrpc/pmap_prot2.c: Likewise.
38996 * sunrpc/pmap_rmt.c: Likewise.
38997 * sunrpc/publickey.c: Likewise.
38998 * sunrpc/rpc_cmsg.c: Likewise.
38999 * sunrpc/rpc_common.c: Likewise.
39000 * sunrpc/rpc_dtable.c: Likewise.
39001 * sunrpc/rpc_prot.c: Likewise.
39002 * sunrpc/rpc_thread.c: Likewise.
39003 * sunrpc/rtime.c: Likewise.
39004 * sunrpc/svc.c: Likewise.
39005 * sunrpc/svc_auth.c: Likewise.
39006 * sunrpc/svc_raw.c: Likewise.
39007 * sunrpc/svc_run.c: Likewise.
39008 * sunrpc/svc_tcp.c: Likewise.
39009 * sunrpc/svc_udp.c: Likewise.
39010 * sunrpc/svc_unix.c: Likewise.
39011 * sunrpc/svcauth_des.c: Likewise.
39012 * sunrpc/xcrypt.c: Likewise.
39013 * sunrpc/xdr.c: Likewise.
39014 * sunrpc/xdr_array.c: Likewise.
39015 * sunrpc/xdr_float.c: Likewise.
39016 * sunrpc/xdr_intXX_t.c: Likewise.
39017 * sunrpc/xdr_mem.c: Likewise.
39018 * sunrpc/xdr_rec.c: Likewise.
39019 * sunrpc/xdr_ref.c: Likewise.
39020 * sunrpc/xdr_sizeof.c: Likewise.
39021 * sunrpc/xdr_stdio.c: Likewise.
39023 2012-05-10 Roland McGrath <roland@hack.frob.com>
39025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39026 change. Update copyright years.
39028 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39030 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39032 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39033 Joseph Myers <joseph@codesourcery.com>
39034 Paul Pluzhnikov <ppluzhnikov@google.com>
39037 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39039 [cross-compiling] (extra-libs): Likewise.
39040 [cross-compiling] (extra-libs-others): Likewise.
39041 [cross-compiling] (librpcsvc-routines): Likewise.
39042 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39043 [cross-compiling] (omit-deps): Likewise.
39044 (sunrpc-CPPFLAGS): New variable.
39045 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39046 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39047 (cross-rpcgen-objs): New variable.
39048 (extra-objs): Append $(cross-rpcgen-objs).
39049 ($(cross-rpcgen-objs)): New rule.
39050 ($(objpfx)cross-rpcgen): Likewise.
39051 (rpcgen-cmd): Define to use $(built-program-file). Expand
39053 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39054 ($(objpfx)x%.stmp): Likewise.
39055 * sunrpc/proto.h [IS_IN_build] (_): Define.
39056 [IS_IN_build] (_libc_intl_domainname): Likewise.
39058 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39061 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39062 and R_X86_64_TPOFF64.
39064 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39066 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39067 sysdeps/unix/sysv/syscalls.list.
39070 * sysdeps/unix/sysv/syscalls.list: Remove file.
39072 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39075 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39076 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39077 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39078 (__LC_IDENTIFICATION): Make these macros useful in #if
39079 expressions, as required by C99.
39081 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39083 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39084 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39087 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39089 * stdlib/longlong.h: Updated from GCC.
39091 2012-05-09 Andreas Jaeger <aj@suse.de>
39093 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39094 default is first entry.
39095 (run_mode): Set type.
39096 (main): Remove informal message about syslog.
39097 (options): Fix typo.
39100 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39103 (llrintf): Likewise.
39104 (llrint): Likewise.
39107 (nearbyint): Likewise.
39108 (nearbyintf): Likewise.
39110 2012-05-09 Andreas Jaeger <aj@suse.de>
39111 Pedro Alves <palves@redhat.com>
39113 * nscd/nscd.c (run_mode): Use enum.
39114 (main): Cleanup coding style issue.
39116 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
39117 Andreas Jaeger <aj@suse.de>
39119 * nscd/nscd.c (go_background): Replaced with...
39120 (run_mode): ... this.
39121 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39122 (options): Add -F --foreground.
39123 (main): Implement it.
39124 (parse_opt): Parse it.
39126 2012-05-09 Andreas Jaeger <aj@suse.de>
39129 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39130 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39131 -Wconversion warning.
39132 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39135 2012-05-09 Joseph Myers <joseph@codesourcery.com>
39137 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39139 (LC_ALL): Use macro-int-constant.
39140 (LC_COLLATE): Likewise.
39141 (LC_CTYPE): Likewise.
39142 (LC_MESSAGES): Likewise.
39143 (LC_MONETARY): Likewise.
39144 (LC_NUMERIC): Likewise.
39145 (LC_TIME): Likewise.
39146 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39147 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39149 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39151 [C99-based standards] (float_t): Expect type.
39152 [C99-based standards] (double_t): Expect type.
39153 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39155 [C99-based standards] (HUGE_VALL): Likewise.
39156 [C99-based standards] (INFINITY): Likewise.
39157 [C99-based standards] (NAN): Likewise.
39158 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39159 [C99-based standards] (FP_NAN): Likewise.
39160 [C99-based standards] (FP_NORMAL): Likewise.
39161 [C99-based standards] (FP_SUBNORMAL): Likewise.
39162 [C99-based standards] (FP_ZERO): Likewise.
39163 [C99-based standards] (FP_FAST_FMA): Use
39164 optional-macro-int-constant. Specify type. Require == 1.
39165 [C99-based standards] (FP_FAST_FMAF): Likewise.
39166 [C99-based standards] (FP_FAST_FMAL): Likewise.
39167 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39168 [C99-based standards] (FP_ILOGBNAN): Likewise.
39169 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39171 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39172 [C99-based standards] (math_errhandling): Specify type.
39173 [ISO99 || ISO11] (signgam): Do not allow.
39174 [non-C99-based standards] (copysignf): Do not allow.
39175 [non-C99-based standards] (exp2f): Likewise.
39176 [non-C99-based standards] (log2f): Likewise.
39177 [non-C99-based standards] (modff): Allow.
39178 [non-C99-based standards] (erff): Do not allow.
39179 [non-C99-based standards] (erfcf): Likewise.
39180 [non-C99-based standards] (gammaf): Likewise.
39181 [non-C99-based standards] (hypotf): Likewise.
39182 [non-C99-based standards] (j0f): Likewise.
39183 [non-C99-based standards] (j1f): Likewise.
39184 [non-C99-based standards] (jnf): Likewise.
39185 [non-C99-based standards] (lgammaf): Likewise.
39186 [non-C99-based standards] (tgammaf): Likewise.
39187 [non-C99-based standards] (y0f): Likewise.
39188 [non-C99-based standards] (y1f): Likewise.
39189 [non-C99-based standards] (ynf): Likewise.
39190 [non-C99-based standards] (isnanf): Likewise.
39191 [non-C99-based standards] (acoshf): Likewise.
39192 [non-C99-based standards] (asinhf): Likewise.
39193 [non-C99-based standards] (atanhf): Likewise.
39194 [non-C99-based standards] (cbrtf): Likewise.
39195 [non-C99-based standards] (expm1f): Likewise.
39196 [non-C99-based standards] (ilogbf): Likewise.
39197 [non-C99-based standards] (log1pf): Likewise.
39198 [non-C99-based standards] (logbf): Likewise.
39199 [non-C99-based standards] (nextafterf): Likewise.
39200 [non-C99-based standards] (remainderf): Likewise.
39201 [non-C99-based standards] (rintf): Likewise.
39202 [non-C99-based standards] (scalbf): Likewise.
39203 [non-C99-based standards] (copysignl): Likewise.
39204 [non-C99-based standards] (exp2l): Likewise.
39205 [non-C99-based standards] (log2l): Likewise.
39206 [non-C99-based standards] (modfl): Allow.
39207 [non-C99-based standards] (erfl): Do not allow.
39208 [non-C99-based standards] (erfcl): Likewise.
39209 [non-C99-based standards] (gammal): Likewise.
39210 [non-C99-based standards] (hypotl): Likewise.
39211 [non-C99-based standards] (j0l): Likewise.
39212 [non-C99-based standards] (j1l): Likewise.
39213 [non-C99-based standards] (jnl): Likewise.
39214 [non-C99-based standards] (lgammal): Likewise.
39215 [non-C99-based standards] (tgammal): Likewise.
39216 [non-C99-based standards] (y0l): Likewise.
39217 [non-C99-based standards] (y1l): Likewise.
39218 [non-C99-based standards] (ynl): Likewise.
39219 [non-C99-based standards] (isnanl): Likewise.
39220 [non-C99-based standards] (acoshl): Likewise.
39221 [non-C99-based standards] (asinhl): Likewise.
39222 [non-C99-based standards] (atanhl): Likewise.
39223 [non-C99-based standards] (cbrtl): Likewise.
39224 [non-C99-based standards] (expm1l): Likewise.
39225 [non-C99-based standards] (ilogbl): Likewise.
39226 [non-C99-based standards] (log1pl): Likewise.
39227 [non-C99-based standards] (logbl): Likewise.
39228 [non-C99-based standards] (nextafterl): Likewise.
39229 [non-C99-based standards] (remainderl): Likewise.
39230 [non-C99-based standards] (rintl): Likewise.
39231 [non-C99-based standards] (scalbl): Likewise.
39232 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39233 [non-C99-based standards] (FP_*): Do not allow.
39234 [C99-based standards] (FP_*): Change to
39235 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39236 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39238 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39239 (SIG_ERR): Likewise.
39240 [X/Open-based standards] (SIG_HOLD): Likewise.
39241 (SIG_IGN): Likewise.
39242 (SIGABRT): Use macro-int-constant. Specify type. Require
39244 (SIGFPE): Likewise.
39245 (SIGILL): Likewise.
39246 (SIGINT): Likewise.
39247 (SIGSEGV): Likewise.
39248 (SIGTER): Likewise.
39249 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39250 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39251 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39252 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39253 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39254 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39255 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39256 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39257 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39258 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39259 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39260 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39261 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39262 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39263 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39264 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39265 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39266 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39267 [X/Open-based standards] (SIGTRAP): Likewise.
39268 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39269 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39270 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39271 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39272 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39275 2012-05-08 Ian Wienand <ianw@vmware.com>
39278 * time/tzset.c (__tzset_parse_tz): Update default rules for
39279 daylight time changes in the Energy Policy Act of 2005.
39281 2012-05-09 Andreas Jaeger <aj@suse.de>
39284 * elf/ldconfig.c (parse_conf): Change string to make clear that
39285 ldconfig only issued a warning if ld.so.conf does not exist.
39287 2012-05-08 David S. Miller <davem@davemloft.net>
39289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39290 movxtod instead of popping the value on the stack.
39292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39294 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39296 * config.h.in: Add HAVE_ARM_PCS_VFP.
39298 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
39301 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39302 checking but the checks are disabled for any reason.
39304 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39306 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39307 and ELF64_R_TYPE with ELFW(R_TYPE).
39309 2012-05-08 Joseph Myers <joseph@codesourcery.com>
39311 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39312 (ulimit): Likewise.
39314 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39315 (settimeofday): Likewise.
39317 2012-05-08 Mike Frysinger <vapier@gentoo.org>
39319 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39320 a struct th_u2 inside the union, and move tu_block/tu_code into
39321 a new th_u3 union of tu_block/tu_code inside of that. Move
39322 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39323 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39324 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39325 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39326 (th_stuff): Change to th_u1.tu_stuff.
39328 (th_msg): Change to th_u1.th_u2.tu_data.
39330 2012-05-07 David S. Miller <davem@davemloft.net>
39332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39335 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39336 (SETUP_PIC_REG): Use it.
39337 (SETUP_PIC_REG_LEAF): Use it.
39339 2012-05-07 Joseph Myers <joseph@codesourcery.com>
39343 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39345 (EXPL_FINITE): Likewise.
39346 (FLDLOG): Likewise.
39347 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39348 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39350 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39352 (EXPL_FINITE): Likewise.
39353 (FLDLOG): Likewise.
39354 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39355 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39357 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39358 test of -max_value argument for long double.
39359 * sysdeps/i386/fpu/libm-test-ulps: Update.
39360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39362 2012-05-06 David S. Miller <davem@davemloft.net>
39364 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39365 quad soft-float symbols whose references which are compiler
39367 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39369 2012-05-06 Joseph Myers <joseph@codesourcery.com>
39373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39375 (EXPL_FINITE): Likewise.
39376 (FLDLOG): Likewise.
39379 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39380 Adjust comments for base varying.
39381 (__expl_finite): Change alias to EXPL_FINITE.
39382 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39384 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39385 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39386 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39387 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39390 (EXPL_FINITE): Likewise.
39391 (FLDLOG): Likewise.
39394 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39395 Adjust comments for base varying.
39396 (__expl_finite): Change alias to EXPL_FINITE.
39397 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39402 * math/libm-test.inc (check_float_internal): Correct ulp
39403 calculation for subnormal expected results.
39405 2012-05-06 Andreas Jaeger <aj@suse.de>
39407 * Makeconfig (+math-flags): New, set to -frounding-math.
39408 (+cflags): Add +math-flags so that all of glibc gets compiled with
39411 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39413 2012-05-05 Joseph Myers <joseph@codesourcery.com>
39415 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39421 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39422 (__ieee754_expl): Allow for and saturate large arguments.
39423 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39424 (u_threshold): Likewise.
39425 (__exp): Call __ieee754_exp before checking for overflow and
39427 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39428 (u_threshold): Likewise.
39429 (__expf): Call __ieee754_expf before checking for overflow and
39431 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39432 (u_threshold): Likewise.
39433 (__expl): Call __ieee754_expl before checking for overflow and
39435 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39436 (__ieee754_expl): Allow for and saturate large arguments.
39437 * math/libm-test.inc (exp_test): Add another test. Do not allow
39438 missing overflow exception on overflow.
39439 (expm1_test): Do not allow missing overflow exception on overflow.
39441 * sysdeps/i386/fpu/e_expl.c: Move to ...
39442 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39443 rather than using inline asm.
39444 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39445 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39446 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39448 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39451 (signal): Likewise.
39455 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39457 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39458 sysdeps/unix/common/syscalls.list.
39459 (fchmod): Likewise.
39460 (fchown): Likewise.
39461 (ftruncate): Likewise.
39462 (getrusage): Likewise.
39463 (gettimeofday): Likewise.
39464 (setpgid): Likewise.
39465 (setregid): Likewise.
39466 (setreuid): Likewise.
39467 (sigaction): Likewise.
39468 (truncate): Likewise.
39469 (vhangup): Likewise.
39470 * sysdeps/unix/common/syscalls.list: Remove file.
39471 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39472 * sysdeps/unix/sysv/linux/Implies: Likewise.
39474 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39476 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39478 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39482 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39485 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39488 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39494 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39497 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39500 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39508 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39511 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39515 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39519 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39521 * sysdeps/unix/common/bits/dirent.h: Remove file.
39522 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39524 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39525 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39526 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39527 * sysdeps/unix/bsd/isatty.c: Likewise.
39528 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39529 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39530 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39532 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39536 long double comparison inaccuracies.
39537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39540 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39542 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39545 2012-05-04 Joseph Myers <joseph@codesourcery.com>
39548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39549 nonzero digits before rounding a hex value.
39550 * stdlib/tst-strtod.c (tests): Add another test.
39552 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39554 * sysdeps/s390/fpu/libm-test-ulps: Update.
39556 2012-05-03 Andreas Jaeger <aj@suse.de>
39558 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39559 does not get optimized out.
39560 (malloc_opt_barrier): New.
39562 2012-05-03 Andreas Jaeger <aj@suse.de>
39563 Roland McGrath <roland@hack.frob.com>
39565 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
39566 intermediate file deletion.
39567 (generated): Add .symlist files.
39569 2012-05-03 Joseph Myers <joseph@codesourcery.com>
39572 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39573 Redirect under this condition.
39574 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39575 [__USE_GNU] (__dprintf_chk): Not under this condition.
39576 [__USE_GNU] (__vdprintf_chk): Likewise.
39577 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39578 under this condition.
39579 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39580 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39581 [__USE_XOPEN2K8] (vdprintf): Likewise.
39582 [__USE_GNU] (__dprintf_chk): Not under this condition.
39583 [__USE_GNU] (__vdprintf_chk): Likewise.
39584 [__USE_GNU] (dprintf): Likewise.
39585 [__USE_GNU] (vdprintf): Likewise.
39587 2012-05-03 Roland McGrath <roland@hack.frob.com>
39589 * elf/Makefile (common-generated): Set this instead of generated for
39590 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39591 $(all-built-dso)-derived lists.
39593 2012-05-03 Andreas Jaeger <aj@suse.de>
39595 * sysdeps/i386/fpu/libm-test-ulps: Update.
39598 * FAQ.in: Likewise.
39599 * scripts/gen-FAQ.pl: Likewise.
39600 * manual/install.texi (Installation): Point to online location of
39602 * Makefile (files-for-dist): Remove FAQ.
39605 2012-05-02 Allan McRae <allan@archlinux.org>
39607 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39608 (LDFLAGS-reldepmod5.so): Likewise.
39609 (LDFLAGS-reldep6mod1.so): Likewise.
39610 (LDFLAGS-reldep6mod4.so): Likewise.
39611 (LDFLAGS-reldep8mod3.so): Likewise.
39612 (LDFLAGS-unload4mod1.so): Likewise.
39613 (LDFLAGS-unload4mod2.so): Likewise.
39614 (LDFLAGS-tst-initorder): Likewise.
39615 (LDFLAGS-tst-initordera2.so): Likewise.
39616 (LDFLAGS-tst-initordera3.so): Likewise.
39617 (LDFLAGS-tst-initordera4.so): Likewise.
39618 (LDFLAGS-tst-initorderb2.so): Likewise.
39619 (LDFLAGS-noload): Likewise.
39620 (LDFLAGS-next): Likewise.
39621 (LDFLAGS-order2mod1.so): Likewise.
39622 (LDFLAGS-order2mod2.so): Likewise.
39623 (LDFLAGS-tst-initorder2): Likewise.
39624 (LDFLAGS-tst-initorder2a.so): Likewise.
39625 (LDFLAGS-tst-initorder2b.so): Likewise.
39626 (LDFLAGS-tst-initorder2c.so): Likewise.
39627 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39629 2012-05-02 David S. Miller <davem@davemloft.net>
39631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39633 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39636 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39638 2012-05-02 Andreas Jaeger <aj@suse.de>
39640 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39641 since we manipulate rounding mode.
39642 (CPPFLAGS-test-idouble.c): Likewise.
39643 (CPPFLAGS-test-ifloat.c): Likewise.
39644 (CFLAGS-test-ldouble.c): Likewise.
39645 (CFLAGS-test-double.c): Likewise.
39646 (CFLAGS-test-float.c): Likewise.
39647 (CFLAGS-test-misc.c): Likewise.
39648 (CFLAGS-test-test-fenv.c): Likewise.
39650 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39654 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39655 comparisons to determine direction to adjust input.
39657 2012-05-01 Roland McGrath <roland@hack.frob.com>
39659 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39660 output to the target.
39662 * scripts/localplt.awk: New file.
39663 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39664 (check-localplt-CFLAGS): Variable removed.
39665 ($(all-built-dso:=.jmprel)): New static pattern rule.
39666 (generated): Add those targets.
39667 (localplt-built-dso): New variable.
39668 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39670 * elf/check-localplt.c: File removed.
39672 * scripts/check-execstack.awk: New file.
39673 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39674 (check-execstack-CFLAGS): Variable removed.
39675 ($(objpfx)check-execstack.h): Target removed.
39676 ($(objpfx)execstack-default): New target.
39677 (generated): Add that instead of check-execstack.h.
39678 ($(all-built-dso:=.phdr)): New static pattern rule.
39679 (generated): Add those targets.
39680 * elf/check-execstack.c: File removed.
39682 * scripts/check-textrel.awk: New file.
39683 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39684 (check-textrel-CFLAGS): Variable removed.
39685 (all-built-dso): Use := to define.o
39686 ($(all-built-dso:=.dyn)): New static pattern rule.
39687 (generated): Add those targets.
39688 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39689 * config.make.in (READELF): New substituted variable.
39690 * elf/check-textrel.c: File removed.
39692 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39694 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39696 * conform/data/ctype.h-data [C99-based standards] (isblank):
39698 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39699 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39701 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39702 Specify type. Require positive value.
39703 (EILSEQ): Likewise.
39704 (ERANGE): Likewise.
39705 [ISO || POSIX] (EILSEQ): Do not expect.
39706 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39707 Specify type. Require positive value.
39708 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39709 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39710 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39711 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39712 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39713 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39714 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39715 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39716 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39717 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39718 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39719 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39720 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39721 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39722 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39723 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39724 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39725 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39726 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39727 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39728 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39729 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39730 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39731 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39732 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39733 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39734 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39735 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39736 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39737 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39738 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39739 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39740 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39741 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39742 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39743 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39744 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39745 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39746 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39747 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39748 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39749 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39750 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39751 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39752 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39753 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39754 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39755 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39756 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39757 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39758 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39759 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39760 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39761 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39762 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39763 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39764 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39765 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39766 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39767 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39768 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39769 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39770 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39771 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39772 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39773 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39774 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39775 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39776 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39777 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39778 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39779 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39780 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39781 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39782 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39783 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39784 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39786 (FLT_ROUNDS): Expect as macro, not constant.
39787 (FLT_MANT_DIG): Use macro-int-constant.
39788 (DBL_MANT_DIG): Likewise.
39789 (LDBL_MANT_DIG): Likewise.
39790 (FLT_DIG): Likewise.
39791 (DBL_DIG): Likewise.
39792 (LDBL_DIG): Likewise.
39793 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39794 (DBL_MIN_EXP): Likewise.
39795 (LDBL_MIN_EXP): Likewise.
39796 (FLT_MAX_EXP): Use macro-int-constant.
39797 (DBL_MAX_EXP): Likewise.
39798 (LDBL_MAX_EXP): Likewise.
39799 (FLT_MAX_10_EXP): Likewise.
39800 (DBL_MAX_10_EXP): Likewise.
39801 (LDBL_MAX_10_EXP): Likewise.
39802 (FLT_MAX): Use macro-constant.
39803 (DBL_MAX): Likewise.
39804 (LDBL_MAX): Likewise.
39805 (FLT_EPSILON): Use macro-constant. Give upper bound.
39806 (DBL_EPSILON): Likewise.
39807 (LDBL_EPSILON): Likewise.
39808 (FLT_MIN): Likewise.
39809 (DBL_MIN): Likewise.
39810 (LDBL_MIN): Likewise.
39811 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39812 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39813 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39814 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39815 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39816 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39817 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39818 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39819 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39820 [ISO11] (FLT_TRUE_MIN): Likewise.
39821 [ISO11] (LDBL_TRUE_MIN): Likewise.
39822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39823 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39824 (SCHAR_MIN): Use macro-int-constant. Specify type.
39825 (SCHAR_MAX): Likewise.
39826 (UCHAR_MAX): Likewise.
39827 (CHAR_MIN): Likewise.
39828 (CHAR_MAX): Likewise.
39829 (MB_LEN_MAX): Use macro-int-constant.
39830 (SHRT_MIN): Use macro-int-constant. Specify type.
39831 (SHRT_MAX): Likewise.
39832 (USHRT_MAX): Likewise.
39833 (INT_MAX): Likewise.
39834 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39836 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39838 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39840 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39841 bound negative. Suffix upper bound with "L".
39842 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39844 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39846 [C99-based standards] (LLONG_MAX): Likewise.
39847 [C99-based standards] (ULLONG_MAX): Likewise.
39848 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39850 [ISO11] (max_align_t): Require type.
39851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39853 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39854 from $CFLAGS, without defining away __attribute__ calls.
39855 (checknamespace): Use $CFLAGS_namespace.
39857 * conform/conformtest.pl (@keywords): Only include C99 keywords
39858 for standards based on C99 or C11.
39860 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39862 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39865 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39866 usability of symbols in #if.
39868 * conform/conformtest.pl: If macro or constant types start
39869 "promoted:", expect the symbol to be of the following type
39870 promoted by the integer promotions.
39872 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39873 in one place. Also handle "macro-constant".
39875 * conform/conformtest.pl: Only accept expected macro values with
39876 "==". Parse all "macro" lines in one place.
39877 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39879 * conform/conformtest.pl: Handle braced types on "constant" lines
39880 instead of handling "typed-constant".
39881 * conform/data/signal.h-data: Use "constant" instead of
39884 * conform/conformtest.pl: Handle "optional-" at start of lines in
39885 one place rather than duplicating several cases. Handle each
39886 format of "macro" line with initial "optional-".
39888 * conform/conformtest.pl: Only accept expected constant or
39889 optional-constant values with "==". Parse all "constant" lines in
39890 one place. Parse all "optional-constant" lines in one place.
39891 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39892 * conform/data/fmtmsg.h-data: Likewise.
39893 * conform/data/netinet/in.h-data: Likewise.
39894 * conform/data/tar.h-data: Likewise.
39895 * conform/data/limits.h-data: Use "==" form on "constant" and
39896 "optional-constant" lines.
39898 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39899 Use -std=c99 for XOPEN2K.
39900 (@knownproblems): Remove.
39901 (newtoken): Don't check %isknown.
39903 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39904 Do not expect macro.
39905 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39906 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39907 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39908 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39909 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39910 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39911 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39912 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39913 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39914 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39915 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39916 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39917 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39918 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39919 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39920 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39921 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39922 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39923 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39924 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39925 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39926 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39927 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39929 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39930 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39931 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39932 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39933 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39934 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39935 [XPG3] (acosh): Likewise.
39936 [XPG3] (asinh): Likewise.
39937 [XPG3] (atanh): Likewise.
39938 [XPG3] (cbrt): Likewise.
39939 [XPG3] (expm1): Likewise.
39940 [XPG3] (ilogb): Likewise.
39941 [XPG3] (log1p): Likewise.
39942 [XPG3] (logb): Likewise.
39943 [XPG3] (nextafter): Likewise.
39944 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39945 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39946 [XPG3] (remainder): Likewise.
39947 [XPG3] (rint): Likewise.
39948 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39949 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39950 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39951 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39952 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39953 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39954 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39955 [UNIX98 || XOPEN2K] (scalb): Expect.
39956 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39957 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39958 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39961 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39962 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39963 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39964 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39967 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39968 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39969 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39970 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39971 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39972 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39973 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39974 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39975 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39976 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39977 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39978 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39979 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39980 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39981 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39982 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39983 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39984 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39985 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39986 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39987 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39988 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39989 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39991 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39992 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39993 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39994 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40011 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40012 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40029 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40030 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40031 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40032 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40035 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40036 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40040 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40041 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40044 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40045 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40046 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40047 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40048 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40049 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40050 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40051 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40052 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40053 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40054 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40094 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40095 _XOPEN_SOURCE_EXTENDED for XPG4.
40097 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40099 * Makeconfig (localtime): Remove variable.
40100 (inst_localtime-file): Likewise.
40102 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40123 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40127 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40128 comparisons to determine direction to adjust input.
40129 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40130 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40131 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40137 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40138 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40140 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40142 * math/libm-test.inc (nexttoward_test): Add more tests.
40144 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40148 in version GLIBC_2.1, not GLIBC_2.0.
40149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40152 2012-04-30 Joseph Myers <joseph@codesourcery.com>
40155 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40157 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40158 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40159 * math/libm-test.inc (acos_test): Add more tests.
40160 (asin_test): Likewise.
40161 * sysdeps/i386/fpu/libm-test-ulps: Update.
40162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40165 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40167 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40168 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40169 * math/libm-test.inc (acos_test_tonearest): New function.
40170 (acos_test_towardzero): Likewise.
40171 (acos_test_downward): Likewise.
40172 (acos_test_upward): Likewise.
40173 (asin_test_tonearest): Likewise.
40174 (asin_test_towardzero): Likewise.
40175 (asin_test_downward): Likewise.
40176 (asin_test_upward): Likewise.
40177 (main): Call the new functions.
40178 * sysdeps/i386/fpu/libm-test-ulps: Update.
40179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40183 * math/e_exp10.c: Include <float.h>.
40184 (__ieee754_exp10): Handle underflow here rather than multiplying
40185 large negative argument by M_LN10.
40186 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40188 * math/e_exp10l.c: Include <float.h>.
40189 (__ieee754_exp10l): Handle underflow here rather than multiplying
40190 large negative argument by M_LN10l.
40191 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40192 spurious overflow exception on underflow.
40194 2012-04-29 Marek Polacek <polacek@redhat.com>
40196 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40197 (__fortify_function): New macro.
40198 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40199 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40200 __extern_always_inline.
40201 * libio/bits/stdio2.h: Likewise.
40202 * libio/bits/stdio.h: Likewise.
40203 * string/string.h: Likewise.
40204 * string/bits/string3.h: Likewise.
40205 * include/stdio.h: Likewise.
40206 * stdlib/bits/stdlib.h: Likewise.
40207 * stdlib/stdlib.h: Likewise.
40208 * rt/bits/mqueue2.h: Likewise.
40209 * rt/mqueue.h: Likewise.
40210 * posix/bits/unistd.h: Likewise.
40211 * posix/unistd.h: Likewise.
40212 * io/bits/poll2.h: Likewise.
40213 * io/bits/fcntl2.h: Likewise.
40214 * io/fcntl.h: Likewise.
40215 * io/sys/poll.h: Likewise.
40216 * misc/bits/syslog.h: Likewise.
40217 * misc/bits/syslog-ldbl.h: Likewise.
40218 * misc/sys/syslog.h: Likewise.
40219 * socket/bits/socket2.h: Likewise.
40220 * socket/sys/socket.h: Likewise.
40221 * debug/tst-chk1.c: Likewise.
40222 * wcsmbs/bits/wchar2.h: Likewise.
40223 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40224 * wcsmbs/wchar.h: Likewise.
40226 2012-04-29 Andreas Jaeger <aj@suse.de>
40228 * Makerules (tests): Remove enable-check-abi protection.
40229 (check-abi-warn): Remove.
40230 (check-abi-%): Remove check-abi-warn usage.
40232 * configure.in: Remove check-abi configure option.
40233 * configure: Regenerated.
40234 * config.make.in (enable-check-abi): Remove.
40236 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40239 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40240 double functions to double *_finite functions.
40243 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40244 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40246 * stdio-common/Makefile (tests): Add tst-sprintf3.
40247 * stdio-common/tst-sprintf3.c: New file.
40249 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40250 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40252 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40254 * conform/conformtest.pl: Remove duplicate typed-constant
40257 2012-04-28 David S. Miller <davem@davemloft.net>
40259 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40260 (check-abi-%): Remove AWK script prerequisite and explicit
40262 (check-abi): Rewrite to just diff the symlist with the abilist.
40263 (config-tls, config-abi-config): Delete, no longer used.
40264 (update-abi-%): Remove AWK script and explicit abilist directory.
40265 (update-abi): Rewrite to simply compare and conditionally copy the
40266 symlist and the sysdep abilist file. Remove update-abi-config
40268 * abilist/ld.abilist: Remove.
40269 * abilist/libBrokenLocale.abilist: Remove.
40270 * abilist/libanl.abilist: Remove.
40271 * abilist/libcrypt.abilist: Remove.
40272 * abilist/libdl.abilist: Remove.
40273 * abilist/librt.abilist: Remove.
40274 * abilist/libthread_db.abilist: Remove.
40275 * abilist/libutil.abilist: Remove.
40276 * scripts/extract-abilist.awk: Remove.
40277 * scripts/merge-abilist.awk: Remove.
40278 * sysdeps/generic/libcidn.abilist: New file.
40279 * sysdeps/generic/libnss_compat.abilist: New file.
40280 * sysdeps/generic/libnss_db.abilist: New file.
40281 * sysdeps/generic/libnss_dns.abilist: New file.
40282 * sysdeps/generic/libnss_files.abilist: New file.
40283 * sysdeps/generic/libnss_hesiod.abilist: New file.
40284 * sysdeps/generic/libnss_nis.abilist: New file.
40285 * sysdeps/generic/libnss_nisplus.abilist: New file.
40286 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40287 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40288 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40291 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40292 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40293 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40294 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40295 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40296 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40297 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40298 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40300 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40301 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40302 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40303 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40305 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40306 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40307 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40308 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40309 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40310 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40312 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40313 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40314 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40316 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40419 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40420 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40421 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40424 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40425 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40426 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40427 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40428 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40429 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40430 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40431 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40432 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40484 2012-04-28 Joseph Myers <joseph@codesourcery.com>
40486 * conform/conformtest.pl: Fix typo in handling typed-constant from
40489 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40491 * README: Cut down references to pre-2.6 Linux kernels and
40492 Linuxthreads. Update lists of configurations in libc and ports
40493 and sort alphabetically. Say "or newer" with Linux kernel version
40496 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40498 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40501 * math/libm-test.inc (logb_test_downward): New test to expose
40502 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40505 2012-04-27 Joseph Myers <joseph@codesourcery.com>
40508 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40510 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40511 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40513 2012-04-26 Joseph Myers <joseph@codesourcery.com>
40515 * sysdeps/unix/i386/brk.S: Remove file.
40516 * sysdeps/unix/i386/dl-brk.S: Likewise.
40517 * sysdeps/unix/i386/pipe.S: Likewise.
40518 * sysdeps/unix/i386/sigreturn.S: Likewise.
40519 * sysdeps/unix/i386/syscall.S: Likewise.
40520 * sysdeps/unix/i386/vfork.S: Likewise.
40521 * sysdeps/unix/i386/wait.S: Likewise.
40523 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40524 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40526 * configure.in (arm*-none*): Do not allow without
40527 --enable-hacker-mode.
40528 (netbsd*): Remove case setting base_os.
40529 (386bsd*): Likewise.
40530 (freebsd*): Likewise.
40533 (sunos*): Likewise.
40534 (ultrix*): Likewise.
40535 (newsos*): Likewise.
40536 (dynix*): Likewise.
40542 (minix*): Likewise.
40543 (irix4*): Likewise.
40544 (irix6*): Likewise.
40545 (solaris[2-9]*): Likewise.
40547 * configure: Regenerated.
40549 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40553 overflow or cancellation in calculating denominator.
40554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40556 down expression to avoid unexpected rounding in newer GCCs.
40557 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40559 2012-04-26 David S. Miller <davem@davemloft.net>
40561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40562 long-double compat symbols.
40563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40577 2012-04-25 David S. Miller <davem@davemloft.net>
40579 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40580 HWCAP_* values only after the memory barriers have been defined.
40581 (atomic_full_barrier): Define.
40582 (atomic_read_barrier): Define.
40583 (atomic_write_barrier): Define.
40585 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40587 * shlib-versions: Add libgcc_s version information.
40588 * sysdeps/generic/libgcc_s.h: Remove.
40589 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40591 * sysdeps/gnu/unwind-resume.c: Likewise.
40592 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40594 2012-04-25 David S. Miller <davem@davemloft.net>
40596 * sysdeps/unix/sparc/brk.S: Delete.
40597 * sysdeps/unix/sparc/dl-brk.S: Delete.
40598 * sysdeps/unix/sparc/pipe.S: Delete.
40599 * sysdeps/unix/sparc/sysdep.S: Delete.
40600 * sysdeps/unix/sparc/sysdep.h: Delete.
40601 * sysdeps/unix/sparc/vfork.S: Delete.
40602 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40603 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40605 (ret_ERRVAL, r0, r1, MOVE): Define.
40606 (JUMPTARGET): Remove.
40607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40608 sysdeps/unix/sparc/sysdep.h
40609 (ENTRY, END): Remove.
40610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40612 2012-04-25 Joseph Myers <joseph@codesourcery.com>
40614 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40615 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40618 * timezone/README: Update upstream location and email address for
40620 * timezone/zdump.c: Update from tzcode 2012b.
40621 * timezone/zic.c: Likewise.
40623 * configure.in (libc_cv_as_needed): Remove test.
40624 * configure: Regenerated.
40625 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40626 conditional definition.
40627 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40628 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40629 * config.make.in (have-as-needed): Remove variable.
40631 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40632 Paul Pluzhnikov <ppluzhnikov@google.com>
40634 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40637 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40639 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40640 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40641 * sysdeps/sh/strlen.S: Likewise.
40643 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40645 * sysdeps/unix/fork.S: Remove file.
40646 * sysdeps/unix/i386/fork.S: Likewise.
40647 * sysdeps/unix/sparc/fork.S: Likewise.
40649 * sysdeps/unix/system.c: Remove file.
40650 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40652 * sysdeps/unix/getegid.S: Remove file.
40653 * sysdeps/unix/geteuid.S: Likewise.
40655 2012-04-24 Roland McGrath <roland@hack.frob.com>
40657 * scripts/check-localplt.awk: New file.
40658 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40660 * scripts/data/localplt-generic.data: Add a comment.
40662 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40663 NODE when __dir_mkfile failed.
40664 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40665 Reported by Ludovic Courtès <ludo@gnu.org>.
40667 2012-04-24 Andreas Jaeger <aj@suse.de>
40669 * Makerules (common-clean): Also remove gen-as-const-headers
40672 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40674 * Makerules (native-compile): Do not change working directory for
40675 build. Use $(OUTPUT_OPTION) in command.
40676 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40678 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40681 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40682 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40683 * math/libm-test.inc (floor_test): Add more tests.
40684 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40686 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40688 * sysdeps/unix/getdents.c: Remove file.
40689 * sysdeps/unix/sysv/getdents.c: Likewise.
40690 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40692 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40693 sysdeps/unix/mman/syscalls.list.
40695 (mprotect): Likewise.
40697 (munmap): Likewise.
40698 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40699 * sysdeps/unix/mman/syscalls.list: Remove.
40700 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40702 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40703 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40704 * configure: Regenerated.
40705 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40706 $(libgcc_s_suffix).
40707 * config.make.in (libgcc_s_suffix): Remove variable.
40709 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40711 * sysdeps/unix/sysv/gethostname.c: Move to ...
40712 * sysdeps/posix/gethostname.c: ... here.
40714 * sysdeps/unix/execve.S: Remove file.
40716 * sysdeps/unix/_exit.S: Remove file.
40718 2012-04-23 Andreas Jaeger <aj@suse.de>
40721 * manual/Makefile: Remove make dist support, there's no
40722 need for a stand-alone documentation tar ball.
40723 (TEXI2DVI): Define always, it's not in Makeconfig.
40726 (edition): Removed.
40727 (glibc-doc-$(edition).tar): Removed
40731 (ETAGS): Remove, it's in Makeconfig.
40732 (move-if-change): Remove, it's in Makeconfig.
40734 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40737 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40738 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40739 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40740 (strtod_l, strtof_l, strtold_l): Remove __wur.
40741 It is not necessarily an error to ignore strtol's return value.
40742 One can reliably look at the stored endptr to decide whether
40743 the number had valid syntax.
40745 2012-04-21 Andreas Jaeger <aj@suse.de>
40748 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40750 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40752 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40753 * sysdeps/unix/sysv/Versions: Remove file.
40755 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40760 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40764 version from __vm86.
40766 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40768 * sysdeps/unix/common/lxstat.c: Remove file.
40769 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40771 * sysdeps/unix/sysv/Makefile: Remove file.
40773 * sysdeps/unix/sysv/direct.h: Remove file.
40775 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40776 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40777 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40778 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40779 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40780 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40781 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40783 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40785 * sysdeps/unix/xmknod.c: Remove file.
40786 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40788 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40790 * sysdeps/unix/sysv/i386/time.S: Remove file.
40792 * sysdeps/unix/fxstat.c: Remove file.
40793 * sysdeps/unix/xstat.c: Likewise.
40794 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40796 * sysdeps/unix/sysv/sigaction.c: Remove file.
40798 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40799 (sysdep_headers): Remove variable.
40800 [termio.h not in sysdep_headers] (generated): Likewise.
40801 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40802 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40803 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40804 * sysdeps/unix/sysv/tcflow.c: Likewise.
40805 * sysdeps/unix/sysv/tcflush.c: Likewise.
40806 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40807 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40808 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40809 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40810 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40812 * sysdeps/unix/siglist.c: Remove file.
40814 * sysdeps/unix/getppid.S: Remove file.
40816 * sysdeps/unix/mkdir.c: Remove file.
40817 * sysdeps/unix/rmdir.c: Likewise.
40819 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40821 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40823 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40824 errlist-compat value.
40826 2012-04-18 David S. Miller <davem@davemloft.net>
40828 * sysdeps/generic/memcopy.h (reg_char): Delete.
40829 * debug/strcat_chk.c: Use char, not reg_char.
40830 * debug/strcpy_chk.c: Likewise.
40831 * debug/strncat_chk.c: Likewise.
40832 * debug/strncpy_chk.c: Likewise.
40833 * string/memchr.c: Likewise.
40834 * string/memrchr.c: Likewise.
40835 * string/rawmemchr.c: Likewise.
40836 * string/strcat.c: Likewise.
40837 * string/strchr.c: Likewise.
40838 * string/strchrnul.c: Likewise.
40839 * string/strcmp.c: Likewise.
40840 * string/strcpy.c: Likewise.
40841 * string/strncat.c: Likewise.
40842 * string/strncmp.c: Likewise.
40843 * string/strncpy.c: Likewise.
40845 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40847 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40848 __builtin_memcopy is called when src and dest ranges are known to not
40851 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40853 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40854 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40855 fwd_align_merge macro call.
40856 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40857 bwd_align_merge macro call.
40858 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40860 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40863 bwd_align_merge macros.
40864 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40865 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40868 2012-04-18 David S. Miller <davem@davemloft.net>
40870 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40872 2012-04-18 Andreas Jaeger <aj@suse.de>
40875 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40876 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40879 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40880 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40881 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40883 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40884 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40885 Adjust for changed ldbl-128 files.
40887 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40888 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40889 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40891 2012-04-17 David S. Miller <davem@davemloft.net>
40893 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40895 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40897 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40898 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40899 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40900 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40901 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40902 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40904 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40907 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40908 * math/libm-test.inc: Add ilogb errno and exception tests.
40909 * math/w_ilogb.c: New file: ilogb wrapper.
40910 * math/w_ilogbf.c: New file: ilogbf wrapper.
40911 * math/w_ilogbl.c: New file: ilogbl wrapper.
40912 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40913 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40914 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40915 exception being thrown with 0.0 as argument.
40916 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40917 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40918 exception being thrown with 0.0 as argument.
40919 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40920 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40921 exception being thrown with 0.0 as argument.
40922 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40923 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40924 exception being thrown with 0.0 as argument.
40925 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40926 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40927 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40928 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40930 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40931 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40932 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40933 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40935 2012-04-17 Petr Baudis <pasky@ucw.cz>
40937 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40940 2012-04-16 Marek Polacek <polacek@redhat.com>
40942 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40944 2012-04-16 Marek Polacek <polacek@redhat.com>
40946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40947 operands of fdivp instruction.
40949 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40951 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40952 * elf/tst-auditmod3b.c: Likewise.
40953 * elf/tst-auditmod4b.c: Likewise.
40954 * elf/tst-auditmod5b.c: Likewise.
40955 * elf/tst-auditmod6b.c: Likewise.
40956 * elf/tst-auditmod6c.c: Likewise.
40957 * elf/tst-auditmod7b.c: Likewise.
40958 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40959 * sysdeps/x86_64/preconfigure.in: Likewise.
40960 * sysdeps/x86_64/preconfigure: Regenerated.
40962 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40964 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40967 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40970 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40972 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40975 * locale/iso-639.def: Fix gl language name. Spotted by
40978 2012-04-12 Roland McGrath <roland@hack.frob.com>
40981 * libio/libio.h (__io_write_fn): Update comment.
40983 2012-04-12 Petr Baudis <pasky@ucw.cz>
40986 * stdio.texi (Hook Functions): The user provided writer function
40987 is not allowed to return -1.
40989 2012-04-11 David S. Miller <davem@davemloft.net>
40991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40993 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40995 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40996 Add a leading slash to rtkaio.
40998 2012-04-11 Jim Meyering <meyering@redhat.com>
41001 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41002 It is not necessarily an error to ignore fwrite's return
41003 value. One can reliably use ferror to test for errors after
41006 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41008 * bits/types.h (__snseconds_t): New type.
41009 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41011 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41013 (__SNSECONDS_T_TYPE): Likewise.
41014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41015 (__SNSECONDS_T_TYPE): Likewise.
41016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41017 (__SNSECONDS_T_TYPE): Likewise.
41019 2012-04-10 Andreas Jaeger <aj@suse.de>
41022 * manual/time.texi (Processor Time): Return type of times is
41023 elapsed real time since an arbitrary point in the past.
41024 (CPU Time): Move CLK_TCK from here...
41025 (Processor Time): ...to here. Correct description.
41026 * manual/conf.texi (Constants for Sysconf): Correct description of
41029 2012-04-10 David S. Miller <davem@davemloft.net>
41032 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41033 where the is a gap between DT_REL(A) and DT_JMPREL.
41035 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41037 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41038 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41039 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41041 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41043 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41044 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41045 (dl_main): Handle --inhibit-cache.
41046 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41048 * elf/dl-load.c (_dl_map_object): Use it.
41049 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41051 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41054 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41055 (__ieee754_powl): Saturate large exponents rather than testing for
41056 overflow of y*log2(x).
41057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41058 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41062 * math/s_ctan.c: Include <float.h>.
41063 (__ctan): Avoid internal overflow or cancellation in calculating
41065 * math/s_ctanf.c: Likewise.
41066 * math/s_ctanl.c: Likewise.
41067 * math/s_ctanh.c: Likewise.
41068 * math/s_ctanhf.c: Likewise.
41069 * math/s_ctanhl.c: Likewise.
41070 * math/libm-test.inc (ctan_test): Add more tests.
41071 (ctanh_test): Likewise.
41072 * sysdeps/i386/fpu/libm-test-ulps: Update.
41073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41075 2012-04-09 Andreas Jaeger <aj@suse.de>
41078 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41079 is an optional BSD extension.
41082 * manual/stdio.texi (Opening Streams): Document additional fopen
41085 2012-04-09 Roland McGrath <roland@hack.frob.com>
41087 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41088 %eax without telling the compiler.
41090 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41093 * manual/install.texi: Use sourceware.org.
41095 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41098 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41099 (__ieee754_pow): Generate overflow and underflow using huge*huge
41100 and tiny*tiny rather than just returning constant infinity or zero
41101 for large exponents.
41102 * math/libm-test.inc (pow_test): Require overflow exceptions for
41103 applicable cases of large exponents.
41106 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41107 (__ieee754_pow): Use iterative multiplication algorithm only for
41108 integer exponents with absolute value below 1024. Check for odd
41109 integer exponents when using algorithm for real exponents.
41110 * math/libm-test.inc (pow_test): Add more tests.
41111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41113 2012-04-08 Joseph Myers <joseph@codesourcery.com>
41116 * math/libm-test.inc (exp_test): Do not allow overflow exception
41119 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41122 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41123 instead of __kernel_standard_f.
41125 2012-04-08 Mike Frysinger <vapier@gentoo.org>
41127 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41128 * sysdeps/x86_64/memset_chk.S: Likewise.
41130 2012-04-08 Andreas Jaeger <aj@suse.de>
41133 * manual/startup.texi (Environment Access): Describe return value
41134 for putenv and setenv.
41137 * manual/filesys.texi (Directory Entries): Add description for
41141 * manual/filesys.texi (Directory Entries): Clarify that it's file
41142 system not operating system in the description of DT_UNKNOWN.
41145 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41147 2012-04-08 Stephen Compall <s11@member.fsf.org>
41150 * manual/llio.texi (Opening and Closing Files): Add cross
41151 reference to explain mode argument.
41153 2012-04-07 Mike Frysinger <vapier@gentoo.org>
41155 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41156 * sysdeps/x86_64/memset_chk.S: Likewise.
41158 2012-04-07 David S. Miller <davem@davemloft.net>
41160 * elf/elf.h (R_SPARC_WDISP10): Define.
41161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41164 R_SPARC_SIZE64 and R_SPARC_H34.
41166 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41169 conditions and remove no longer applicable assertion.
41171 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41173 * bits/byteswap.h: Include <features.h>.
41174 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41175 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41177 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41179 * bits/byteswap.h (__bswap_16): Removed.
41180 Include <bits/byteswap-16.h> to get __bswap_16.
41181 * sysdeps/i386/bits/byteswap.h: Likewise.
41182 * sysdeps/s390/bits/byteswap.h: Likewise.
41183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41184 * bits/byteswap-16.h: New file.
41185 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41186 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41187 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41188 * string/Makefile (headers): Add bits/byteswap-16.h.
41190 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41193 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41195 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41196 * nss/tst-nss-static.c: New.
41198 2012-04-06 Robert Millan <rmh@gnu.org>
41201 * manual/llio.texi (File Position Primitive): lseek
41202 refers to WHENCE when it really means OFFSET.
41204 2012-04-06 Andreas Jaeger <aj@suse.de>
41206 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41207 strncmp declarations.
41209 * abilist/libc.abilist: Add __poll and __ppoll.
41211 2012-04-05 David S. Miller <davem@davemloft.net>
41213 * scripts/check-local-headers.sh: Accept a host triplet in the
41214 path matched by the exclude regexp.
41216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41218 * sysdeps/powerpc/powerpc32/dl-machine.h
41219 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41220 * sysdeps/s390/s390-32/dl-machine.h
41221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41222 * sysdeps/sparc/sparc32/dl-machine.h
41223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41224 * sysdeps/sparc/sparc64/dl-machine.h
41225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41227 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41229 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
41230 undefined symbol errors.
41232 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
41235 2012-04-05 Michael Matz <matz@suse.de>
41238 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41240 2012-04-05 Andreas Jaeger <aj@suse.de>
41243 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41246 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41248 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41249 which ROUND is no valid rounding mode.
41251 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41253 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41255 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41257 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41259 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41260 an exception using FPU order intentionally.
41262 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41264 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41265 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41266 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41267 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41269 2012-04-05 Simon Josefsson <simon@josefsson.org>
41272 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41273 EINVAL when BUFLEN is too smal.
41275 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41278 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41279 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41281 2012-04-03 Andreas Jaeger <aj@suse.de>
41284 * manual/setjmp.texi (System V contexts): Fix sentence.
41287 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41288 New macro for this case.
41289 [!__GNUC__] (__bswap_64): New inline function for this case.
41290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41291 * bits/byteswap.h: Likewise.
41292 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41293 ull, guard with __GLIBC_HAVE_LONG_LONG.
41295 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41296 __GLIBC_HAVE_LONG_LONG.
41298 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41299 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41301 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41304 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41305 inptr and inend, rather than using last_ch.
41307 2012-04-02 David S. Miller <davem@davemloft.net>
41309 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41310 * stdio-common/printf-parse.h (read_int): Change return type to
41311 'int', return -1 on INT_MAX overflow.
41312 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41313 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41314 overflows INT_MAX. Check for overflow of in-format-string precision
41315 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41316 SIZE_MAX not INT_MAX for integer overflow test.
41317 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41318 skip the construct in the format string but do not record anything.
41319 * stdio-common/bug22.c: Adjust to test both width/prevision
41320 INT_MAX overflow as well as total length INT_MAX overflow. Check
41321 explicitly for proper errno values.
41323 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41325 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41327 * string/test-strcmp.c [! WIDE]: Likewise.
41328 * time/tst-mktime2.c: Likewise for INT_MAX.
41329 * string/test-string.h: #include <sys/param.h> for MIN.
41331 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41332 * sysdeps/i386/init-first.c (init): Likewise.
41333 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41334 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41335 * sysdeps/sh/init-first.c (init): Likewise.
41337 2012-04-01 Ulrich Drepper <drepper@gmail.com>
41339 * po/ru.po: Update from translation team.
41340 * po/vi.po: Likewise.
41342 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41344 * resolv/nss_dns/dns-host.c: Merge copyright years.
41346 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41349 Optimize memcpy with prefetch if
41350 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41351 src, dst pointers have unequal 16 byte alignments.
41353 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41356 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41357 from a CNAME entry and return the minimum ttl for the query.
41358 (gaih_getanswer_slice): Likewise.
41360 2012-03-30 Jeff Law <law@redhat.com>
41362 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41364 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41365 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41367 * resolv/nss_dns/dns-host.c: Update copyright year.
41369 2012-03-30 Ulrich Drepper <drepper@gmail.com>
41371 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
41372 requests to save a system call. Fix check that all bytes are sent.
41374 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41375 comments for sendmmsg.
41377 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41380 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41381 with only 1 character between 0x0041 and 0x01b0.
41382 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41383 * wcsmbs/tst-mbsnrtowcs.c: New file.
41385 2012-03-29 David S. Miller <davem@davemloft.net>
41387 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41388 small copies by hand.
41390 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41393 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41394 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41397 2012-03-28 David S. Miller <davem@davemloft.net>
41399 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41400 that branches into memcpy.
41401 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41403 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41404 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41407 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41408 implementation too.
41409 * sysdeps/sparc/mempcpy.S: New file.
41411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41412 the IFUNC routine in the libc case.
41413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41415 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41416 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41417 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41418 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41419 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41420 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41421 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41422 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41424 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41425 loop to 256 bytes instead of 64 bytes and fix test signedness.
41427 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41428 * sysdeps/sparc/sparc32/Makefile: rather than here...
41429 * sysdeps/sparc/sparc64/Makefile: and here.
41431 2012-03-28 Ulrich Drepper <drepper@gmail.com>
41433 * malloc/mallocbug.c: Avoid warnings about unused variables.
41435 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41438 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41439 in the right place. Discard and retry query if response is
41440 larger than input buffer size.
41442 2012-03-28 Joseph Myers <joseph@codesourcery.com>
41447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41448 x for large integer exponent.
41449 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41450 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41451 sign of result as needed afterwards.
41452 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41453 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41454 result for underflowing pow the same as for overflow.
41455 (__kernel_standard_l): Handle powl overflow and underflow here
41456 rather than calling __kernel_standard.
41457 * math/libm-test.inc (pow_test): Add more tests.
41472 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41473 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41474 (__kernel_standard_l): New function.
41475 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41477 * math/w_acosl.c (__acosl): Likewise.
41478 * math/w_asinl.c (__asinl): Likewise.
41479 * math/w_atan2l.c (__atan2l): Likewise.
41480 * math/w_atanhl.c (__atanhl): Likewise.
41481 * math/w_coshl.c (__coshl): Likewise.
41482 * math/w_exp10l.c (__exp10l): Likewise.
41483 * math/w_exp2l.c (__exp2l): Likewise.
41484 * math/w_fmodl.c (__fmodl): Likewise.
41485 * math/w_hypotl.c (__hypotl): Likewise.
41486 * math/w_j0l.c (__j0l, __y0l): Likewise.
41487 * math/w_j1l.c (__j1l, __y1l): Likewise.
41488 * math/w_jnl.c (__jnl, __ynl): Likewise.
41489 * math/w_lgammal.c (__lgammal): Likewise.
41490 * math/w_log10l.c (__log10l): Likewise.
41491 * math/w_log2l.c (__log2l): Likewise.
41492 * math/w_logl.c (__logl): Likewise.
41493 * math/w_powl.c (__powl): Likewise.
41494 * math/w_remainderl.c (__remainderl): Likewise.
41495 * math/w_scalbl.c (sysv_scalbl): Likewise.
41496 * math/w_sinhl.c (__sinhl): Likewise.
41497 * math/w_sqrtl.c (__sqrtl): Likewise.
41498 * math/w_tgammal.c (__tgammal): Likewise.
41499 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41500 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41501 * math/libm-test.inc (acos_test): Add more tests.
41502 (acosh_test): Likewise.
41503 (asin_test): Likewise.
41504 (atanh_test): Likewise.
41505 (exp_test): Likewise.
41506 (exp10_test): Likewise.
41507 (exp2_test): Likewise.
41508 (expm1_test): Likewise.
41509 (lgamma_test): Likewise.
41510 (log_test): Likewise.
41511 (log10_test): Likewise.
41512 (log1p_test): Likewise.
41513 (log2_test): Likewise.
41514 (pow_test): Do not allow some spurious overflow exceptions.
41515 (sqrt_test): Add more tests.
41516 (tgamma_test): Likewise.
41517 (y0_test): Likewise.
41518 (y1_test): Likewise.
41519 (yn_test): Likewise.
41521 2012-03-27 Anton Blanchard <anton@samba.org>
41523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41525 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41526 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41529 2012-03-27 David S. Miller <davem@davemloft.net>
41531 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41533 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41534 have-as-vis3 check.
41536 2012-03-27 Andreas Jaeger <aj@suse.de>
41538 * sysdeps/x86_64/elf/configure.in: Moved to ...
41539 * sysdeps/x86_64/configure.in: ... here.
41540 * sysdeps/x86_64/elf/start.S: Moved to ...
41541 * sysdeps/x86_64/start.S: ... here.
41542 * sysdeps/x86_64/elf/configure: Delete.
41544 * sysdeps/x86_64/configure.in: Merge contents from
41545 sysdeps/i386/configure.in (without i686 check).
41547 * sysdeps/i386/elf/Versions: Merge into ...
41548 * sysdeps/i386/Versions: ... this.
41549 * sysdeps/i386/elf/Versions: Delete file.
41550 * sysdeps/i386/elf/start.S: Moved to ...
41551 * sysdeps/i386/start.S: ...here.
41552 * sysdeps/i386/elf/configure.in: Merge into...
41553 * sysdeps/i386/configure.in: ...here.
41554 * sysdeps/i386/elf/configure.in: Delete file.
41555 * sysdeps/i386/elf/configure: Delete file.
41557 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41558 * debug/backtracesyms.c: ... here.
41559 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41560 * debug/backtracesymsfd.c: ... here.
41561 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41562 * sysdeps/generic/ifunc-sel.h: ... here.
41564 * sysdeps/unix/i386/start.c: Delete file.
41565 * sysdeps/unix/sparc/start.c: Delete file.
41566 * sysdeps/unix/start.c: Delete file.
41568 * sysdeps/sh/elf/configure.in: Moved to ...
41569 * sysdeps/sh/configure.in: ... here.
41570 * sysdeps/sh/elf/start.S: Moved to ...
41571 * sysdeps/sh/start.S: ... here.
41572 * sysdeps/sh/elf/configure: Delete file.
41574 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41575 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41576 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41577 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41578 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41579 * sysdeps/powerpc/powerpc64/start.S: here.
41580 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41581 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41582 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41583 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41584 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41586 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41587 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41588 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41589 * sysdeps/powerpc/powerpc32/start.S: ... here.
41590 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41591 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41592 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41594 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41595 * sysdeps/powerpc/ifunc-sel.h: ... here.
41596 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41597 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41599 * sysdeps/sparc/elf/configure.in: Moved to ...
41600 * sysdeps/sparc/configure.in: ... here.
41601 * sysdeps/sparc/elf/configure: Delete file.
41602 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41603 * sysdeps/sparc/sparc32/start.S: ... here.
41604 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41605 * sysdeps/sparc/sparc64/start.S: ... here.
41606 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41607 * sysdeps/sparc/sparc32/Makefile: ... this.
41608 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41609 * sysdeps/sparc/sparc64/Makefile: ... this.
41611 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41612 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41613 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41614 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41615 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41616 * sysdeps/s390/s390-32/setjmp.S: ... here.
41617 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41618 * sysdeps/s390/s390-32/configure.in: ... here.
41619 * sysdeps/s390/s390-32/elf/configure: Delete file.
41620 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41621 * sysdeps/s390/s390-32/start.S: ... here.
41623 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41624 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41625 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41626 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41627 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41628 * sysdeps/s390/s390-64/setjmp.S: ... here.
41629 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41630 * sysdeps/s390/s390-64/configure.in: ... here
41631 * sysdeps/s390/s390-64/elf/configure: Delete file.
41632 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41633 * sysdeps/s390/s390-64/start.S: ... here.
41634 * sysdeps/s390/s390-64/elf/configure: Delete.
41636 * configure.in: Remove support for elf directories in sysdeps.
41638 * configure: Regenerated.
41639 * sysdeps/i386/configure: Regenerated.
41640 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41641 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41642 * sysdeps/s390/s390-32/configure: Regenerated.
41643 * sysdeps/s390/s390-64/configure: Regenerated.
41644 * sysdeps/sh/configure: Regenerated.
41645 * sysdeps/sparc/configure: Regenerated.
41646 * sysdeps/x86_64/configure: Regenerated.
41648 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41653 denormal result into account.
41655 2012-03-25 Roland McGrath <roland@hack.frob.com>
41657 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41658 Reported by Allan McRae <allan@archlinux.org>.
41660 2012-03-23 Jeff Law <law@redhat.com>
41662 * nss/getnssent.c (__nss_getent): Fix typo.
41664 2012-03-23 David S. Miller <davem@davemloft.net>
41666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41668 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41670 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41671 to pad to uint64_t for each field.
41672 (dl_tls_index): Replace unsigned long with uint64_t.
41674 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41675 Paul Pluzhnikov <ppluzhnikov@google.com>
41678 * grp/Makefile (otherlibs): Don't set it.
41679 * inet/Makefile (otherlibs): Likewise.
41680 * login/Makefile (otherlibs): Likewise.
41681 * nscd/Makefile (otherlibs): Likewise.
41682 * posix/Makefile (otherlibs): Likewise.
41683 * pwd/Makefile (otherlibs): Likewise.
41684 * rt/Makefile (otherlibs): Likewise.
41685 * sunrpc/Makefile (otherlibs): Likewise.
41686 * nss/Makefile (otherlibs): Likewise.
41687 Add libnss_files to routines and static-only-routines.
41688 ($(objpfx)getent): Remove rule.
41689 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41690 static-only-routines.
41692 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41695 * math/s_cexp.c: Include <float.h>.
41696 (__cexp): Handle exp result overflowing not necessarily
41697 overflowing both real and imaginary parts of result.
41698 * math/s_cexpf.c: Likewise.
41699 * math/s_cexpl.c: Likewise.
41700 * math/libm-test.inc (cexp_test): Add more tests.
41701 * sysdeps/i386/fpu/libm-test-ulps: Update.
41702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41704 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41706 * include/link.h (ELFW): New macro.
41707 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41708 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41710 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41712 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41715 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41717 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41719 (struct La_x32_retval): Likewise.
41721 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41723 * sysdeps/x86_64/preconfigure.in: New file.
41724 * sysdeps/x86_64/preconfigure: New generated file.
41726 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41729 * math/e_exp2l.c: Include <float.h>.
41730 (__ieee754_exp2l): Handle overflow and underflow cases
41731 separately. Only pass fractional part of argument to
41733 * math/libm-test.inc (exp2_test): Add more tests.
41735 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41736 negating x to take absolute value.
41737 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41742 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41743 computing low part if x was negated.
41744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41746 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41748 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41749 la_x32_gnu_pltexit.
41750 (pltexit): Cast int_retval to ptrdiff_t.
41751 * elf/tst-auditmod3b.c: Likewise.
41752 * elf/tst-auditmod4b.c: Likewise.
41753 * elf/tst-auditmod5b.c: Likewise.
41754 * elf/tst-auditmod6b.c: Likewise.
41755 * elf/tst-auditmod6c.c: Likewise.
41756 * elf/tst-auditmod7b.c: Likewise.
41758 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41759 and x32_gnu_pltexit.
41761 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41762 __ELF_NATIVE_CLASS.
41763 (La_x32_regs): New macro.
41764 (La_x32_retval): Likewise.
41765 (la_x32_gnu_pltenter): New function prototype.
41766 (la_x32_gnu_pltexit): Likewise.
41768 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41775 * configure.in (libc_cv_cc_nofma): Check for option to disable
41776 generation of FMA instructions.
41777 * configure: Regenerate.
41778 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41779 * sysdeps/ieee754/dbl-64/Makefile: New file.
41780 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41781 Remove brandred-fma4.
41782 (CFLAGS-brandred-fma4.c): Remove.
41783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41789 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41791 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41792 LLONG_MAX != LONG_MAX.
41793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41794 (_fitoa_word): Likewise.
41795 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41796 LLONG_MAX != LONG_MAX.
41797 * stdio-common/_itowa.h: Include <_itoa.h>.
41798 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41799 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41800 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41801 only if not defined.
41802 (_ITOA_WORD_TYPE): Likewise.
41803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41804 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41806 2012-03-21 David S. Miller <davem@davemloft.net>
41808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41810 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41812 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41813 of x86_64 when setting libc_cv_slibdir, libdir and
41815 * sysdeps/unix/sysv/linux/configure: Regenerated.
41817 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41819 * manual/lang.texi (Old Varargs): Remove section.
41820 (How Variadic): Update menu.
41821 (va_start): Do not mention varargs.h.
41823 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41824 Joseph Myers <joseph@codesourcery.com>
41826 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41828 * configure: Regenerated.
41830 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41832 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41833 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41836 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41839 * Makefile (files-for-dist): Remove NOTES.
41840 (NOTES): Remove rule.
41841 * README: Don't refer to NOTES.
41842 * manual/creature.texi: Don't include macros.texi.
41843 * manual/intro.texi (creature.texi): Remove comment referring to
41846 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41847 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41848 * configure: Regenerated.
41849 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41850 LIBC_TRY_CC_OPTION.
41851 (libc_cv_as_i686): Likewise.
41852 (libc_cv_cc_avx): Likewise.
41853 (libc_cv_cc_sse2avx): Likewise.
41854 (libc_cv_cc_fma4): Likewise.
41855 (libc_cv_cc_novzeroupper): Likewise.
41856 * sysdeps/i386/configure: Regenerated.
41859 * sysdeps/i386/fpu/s_cexp.S: Remove.
41860 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41861 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41862 * math/libm-test.inc (cexp_test): Add more tests.
41863 * sysdeps/i386/fpu/libm-test-ulps: Update.
41864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41866 2012-03-21 Allan McRae <allan@archlinux.org>
41868 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41870 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41873 * math/w_exp2.c: Do not include <float.h>.
41874 (o_threshold, u_threshold): Remove.
41875 (__exp2): Calculate result before checking finiteness and calling
41877 * math/w_exp2f.c: Likewise.
41878 * math/w_exp2l.c: Likewise.
41879 * math/libm-test.inc (exp2_test): Require overflow exception for
41883 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41884 range of signed 64-bit integers before using fistpll. Remove
41885 checks for whether integers fit in mantissa bits.
41886 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41887 the range of signed 32-bit integers before using fistpl. Remove
41888 checks for whether integers fit in mantissa bits.
41889 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41890 (__ieee754_powl): Test for y outside the range of signed 64-bit
41891 integers before using fistpll. Reduce 64-bit values to 63-bit
41893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41894 divide-by-zero is raised for zero to large negative powers.
41895 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41896 (__ieee754_powl): Test for y outside the range of signed 64-bit
41897 integers before using fistpll. Reduce 64-bit values to 63-bit
41899 * math/libm-test.inc (pow_test): Add more tests.
41901 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41903 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41904 <stdio-common/_itoa.h>.
41905 * debug/segfault.c: Likewise.
41906 * elf/dl-cache.c: Likewise.
41907 * elf/dl-minimal.c: Likewise.
41908 * elf/dl-misc.c: Likewise.
41909 * elf/dl-sysdep.c: Likewise.
41910 * elf/dl-version.c: Likewise.
41911 * elf/rtld.c: Likewise.
41912 * hurd/hurdsock.c: Likewise.
41913 * hurd/lookup-retry.c: Likewise.
41914 * malloc/malloc.c: Likewise.
41915 * malloc/mtrace.c: Likewise.
41916 * nscd/nscd_getgr_r.c: Likewise.
41917 * nscd/nscd_getpw_r.c: Likewise.
41918 * nscd/nscd_getserv_r.c: Likewise.
41919 * posix/getopt_init.c: Likewise.
41920 * posix/wordexp.c: Likewise.
41921 * stdio-common/_itoa.c: Likewise.
41922 * stdio-common/printf_fphex.c: Likewise.
41923 * stdio-common/vfprintf.c: Likewise.
41924 * string/_strerror.c: Likewise.
41925 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41926 * sysdeps/i386/i686/hp-timing.h: Likewise.
41927 * sysdeps/mach/_strerror.c: Likewise.
41928 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41929 * sysdeps/mach/hurd/sethostid.c: Likewise.
41930 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41931 * sysdeps/mach/xpg-strerror.c: Likewise.
41932 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41934 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41935 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41936 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41937 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41939 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41940 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41941 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41942 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41943 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41944 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41945 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41946 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41947 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41948 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41949 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41950 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41951 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41952 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41954 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41956 * stdio-common/_itoa.h: Moved to ...
41957 * sysdeps/generic/_itoa.h: Here.
41959 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41961 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41962 instead of "_itoa.h" and "_itowa.h".
41963 * stdio-common/vfprintf.: Likewise.
41965 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41967 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41969 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41970 (__signbit): Likwise.
41971 (llrintf): Likwise.
41974 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41976 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41979 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41981 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41982 OVERFLOW_EXCEPTION_OK.
41983 * math/libm-test.inc ("Philosophy"): Update comment about
41985 (OVERFLOW_EXCEPTION): Define.
41986 (OVERFLOW_EXCEPTION_OK): Likewise.
41987 (INVALID_EXCEPTION_OK): Renumber.
41988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41989 (IGNORE_ZERO_INF_SIGN): Likewise.
41990 (test_exceptions): Handle FE_OVERFLOW.
41991 (exp10_test): Expect overflow exceptions.
41992 (exp2_test): Likewise.
41993 (expm1_test): Likewise.
41994 (nextafter_test): Likewise.
41995 (pow_test): Likewise.
41996 (scalbn_test): Likewise.
41997 (scalbln_test): Likewise.
41999 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42001 * sysdeps/x86_64/bits/atomic.h
42002 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42004 (atomic_exchange_acq): Likewise.
42005 (__arch_exchange_and_add_body): Likewise.
42006 (__arch_add_body): Likewise.
42007 (atomic_add_negative): Likewise.
42008 (atomic_add_zero): Likewise.
42010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42012 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42013 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42015 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42017 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42018 Check __x86_64__ instead of __WORDSIZE.
42020 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42022 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42024 2012-03-19 David S. Miller <davem@davemloft.net>
42026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42028 * sysdeps/sparc/fpu/fenv_private.h: New file.
42029 * sysdeps/sparc/fpu/math_private.h: Use it.
42030 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42032 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42033 (libc_feholdexcept_setroundl): Remove.
42034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42036 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42037 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42039 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42041 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42042 int64_t instead of long int.
42043 (INSERT_WORDS64): Likwise.
42045 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42047 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42048 _Unwind_GetCFA return to _Unwind_Ptr first.
42050 2012-03-19 Joseph Myers <joseph@codesourcery.com>
42053 * math/s_clog.c: Include <float.h>.
42054 (__clog): Scale large or subnormal inputs.
42055 * math/s_clogf.c: Likewise.
42056 * math/s_clogl.c: Likewise.
42057 * math/s_clog10.c: Include <float.h>.
42058 (M_LOG10_2): Define.
42059 (__clog10): Scale large or subnormal inputs.
42060 * math/s_clog10f.c: Likewise.
42061 * math/s_clog10l.c: Likewise.
42062 * math/libm-test.inc (clog_test): Add more tests.
42063 (clog10_test): Likewise.
42064 * sysdeps/i386/fpu/libm-test-ulps: Update.
42065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42068 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42070 * math/libm-test.inc (atan2_test): Add another test.
42072 * Makerules (common-objdir-compile): Remove.
42073 * sysdeps/unix/Makefile (config-generated): Do not add
42074 $(unix-generated) to variable.
42075 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42076 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42078 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42080 [generic bits/local_lim.h] (before-compile): Do not append to
42082 [generic bits/local_lim.h] (common-generated): Likewise.
42083 [generic sys/param.h] (before-compile): Do not append to variable.
42084 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42085 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42086 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42087 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42089 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42090 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42091 [generic sys/param.h] ($(addprefix
42092 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42093 [generic sys/param.h] (common-generated): Do not append to
42095 [generic sys/param.h] (sysdep_headers): Likewise.
42096 [generic bits/errno.h] (before-compile): Do not append to
42098 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42100 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42101 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42102 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42103 [generic bits/errno.h] (common-generated): Do not append to
42105 [generic bits/ioctls.h] (before-compile): Do not append to
42107 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42109 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42110 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42111 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42114 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42115 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42116 [generic bits/ioctls.h] (common-generated): Do not append to
42118 [generic sys/syscall.h] (syscall.h): Remove variable.
42119 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42121 [generic sys/syscall.h] (before-compile): Do not append to
42123 [generic sys/syscall.h] (common-generated): Likewise.
42124 * sysdeps/unix/errnos-tmpl.c: Remove file.
42125 * sysdeps/unix/errnos.awk: Likewise.
42126 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42127 * sysdeps/unix/ioctls.awk: Likewise.
42128 * sysdeps/unix/mk-local_lim.c: Likewise.
42129 * sysdeps/unix/snarf-ioctls: Likewise.
42131 2012-03-19 Richard Henderson <rth@twiddle.net>
42133 * sysdeps/i386/fpu/fenv_private.h: New file.
42134 * sysdeps/i386/fpu/math_private.h: Use it.
42135 (math_opt_barrier, math_force_eval): Remove.
42136 (libc_feholdexcept_setround_53bit): Remove.
42137 (libc_feupdateenv_53bit): Remove.
42138 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42139 (math_opt_barrier, math_force_eval): Remove.
42140 (libc_feholdexcept): Remove.
42141 (libc_feholdexcept_setround): Remove.
42142 (libc_fetestexcept, libc_fesetenv): Remove.
42143 (libc_feupdateenv_test): Remove.
42144 (libc_feupdateenv, libc_feholdsetround): Remove.
42145 (libc_feresetround): Remove.
42147 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42148 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42150 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42151 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42152 (libc_feupdateenv_testl): New.
42153 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42154 (libc_feupdateenv_testf): New.
42155 (libc_feupdateenv): Use libc_feupdateenv_test.
42156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42157 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42159 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42160 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42161 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42162 (libc_feresetround_noex): New.
42163 (libc_feresetround_noexf): New.
42164 (libc_feresetround_noexl): New.
42165 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42166 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42167 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42168 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42173 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42175 SET_RESTORE_ROUND_NOEX.
42176 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42177 SET_RESTORE_ROUND_NOEXF.
42178 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42179 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42180 (libc_feholdsetroundf): New.
42181 (libc_feresetround, libc_feresetroundf): New.
42183 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42184 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42185 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42187 * sysdeps/generic/math_private.h: Include <fenv.h>.
42188 (default_libc_feholdexcept): New.
42189 (default_libc_feholdexcept_setround): New.
42190 (default_libc_fesetenv, default_libc_feupdateenv): New.
42191 (libc_feholdexcept): Only define if undefined.
42192 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42193 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42194 (libc_feholdexcept_setroundl): Likewise.
42195 (libc_feholdexcept_setround_53bit): Likewise.
42196 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42197 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42198 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42199 (libc_feupdateenv_53bit): Likewise.
42200 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42201 (libc_feholdexcept): Convert from macro to inline function.
42202 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42203 (libc_fesetenv, libc_feupdateenv): Likewise.
42205 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42206 not previously defined.
42207 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42208 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42209 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42210 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42211 * sysdeps/ieee754/flt-32/math_private.h: New file.
42212 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42213 math_private.h below SET_FLOAT_WORD.
42214 (__isnan, __isinf_ns, __finite): Remove.
42215 (__isnanf, __isinf_nsf, __finitef): Remove.
42217 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42221 2012-03-17 David S. Miller <davem@davemloft.net>
42224 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42227 2012-03-16 David S. Miller <davem@davemloft.net>
42229 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42233 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42235 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42236 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42237 sysdep_routines when subdir is sysvipc.
42238 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42239 __getshmlba helper.
42241 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42243 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42245 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42248 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42251 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42252 (__lround): Renamed to ...
42253 (__llround): This. Replace long int with long long int.
42254 Define lround functions as aliases of llround functions.
42255 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42257 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42259 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42260 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42261 adresses to uintptr_t. Replace "long int" and "unsigned long
42262 int" with "greg_t" on va_arg.
42264 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42266 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42267 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42269 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42270 Move e_machine check before EI_CLASS check. Handle x32
42271 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42272 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42273 SKIP_EM_IA_64 and include
42274 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42276 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42277 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42278 (add_system_dir): New macro.
42280 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42281 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42283 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42294 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42296 * math/w_j0f.c (j0f): Likewise.
42298 * math/w_j0l.c (__j0l): Likewise.
42300 * math/w_j1.c (j1): Likewise.
42302 * math/w_j1f.c (j1f): Likewise.
42304 * math/w_j1l.c (__j1l): Likewise.
42306 * math/w_jn.c (jn): Likewise.
42308 * math/w_jnf.c (jnf): Likewise.
42310 * math/w_jnl.c (__jnl): Likewise.
42312 * math/libm-test.inc (j0_test): Add more tests.
42313 (j1_test): Likewise.
42314 (jn_test): Likewise. Add trailing semicolon to existing test.
42315 (y0_test): Likewise.
42316 (y1_test): Likewise.
42317 * sysdeps/i386/fpu/libm-test-ulps: Update.
42318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42322 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42323 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42324 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42326 (__tanl): Set errno for infinite argument.
42327 * sysdeps/i386/fpu/mptan.c: Remove.
42328 * sysdeps/i386/fpu/s_tan.S: Likewise.
42329 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42330 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42331 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42332 * math/libm-test.inc (tan_test): Add more tests and enable more
42333 tests for double and long double.
42334 * sysdeps/i386/fpu/libm-test-ulps: Update.
42335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42337 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42339 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42340 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42342 2012-03-16 Roland McGrath <roland@hack.frob.com>
42344 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42345 * configure.in: Use it for both main tree and add-ons.
42346 * configure: Regenerated.
42348 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42350 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42352 2012-03-16 Joseph Myers <joseph@codesourcery.com>
42354 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42358 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42359 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42364 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42366 != 0 for prec == 2.
42367 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42368 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42369 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42370 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42371 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42372 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42373 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42374 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42375 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42376 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42377 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42378 * math/libm-test.inc (cos_test): Add more tests and enable more
42379 tests for long double.
42380 (sin_test): Likewise.
42381 (sincos_test): Likewise.
42382 * sysdeps/i386/fpu/libm-test-ulps: Update.
42383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42385 2012-03-16 David S. Miller <davem@davemloft.net>
42387 * sysdeps/sparc/fpu/math_private.h: New file.
42389 2012-03-15 David S. Miller <davem@davemloft.net>
42391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
42394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42405 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42406 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42408 * sysdeps/sparc/sparc-ifunc.h: New file.
42409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
42425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42454 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42456 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42460 2012-03-15 Andreas Jaeger <aj@suse.de>
42463 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42464 ieee754/flt-32 implementation for sin, cos and sincos.
42465 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42466 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42467 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42468 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42469 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42470 ieee754/flt-32 implementation for tan.
42472 * math/libm-test.inc (cos_test): Enable some large input tests for
42474 (sin_test): Likewise.
42475 (sincos_test): Likewise.
42476 (tan_test): Add tests for large input.
42478 * sysdeps/i386/fpu/libm-test-ulps: Update.
42480 2012-03-15 Andreas Jaeger <aj@suse.de>
42483 * math/libm-test.inc (cos_test): Add more test cases.
42484 (sin_test): Likewise.
42485 (sincos_test): Likewise.
42487 2012-03-15 Andreas Jaeger <aj@suse.de>
42490 * math/libm-test.inc (cos_test): Add a test case for large input
42492 (sin_test): Likewise.
42493 (sincos_test): Likewise.
42495 2012-03-15 Andreas Jaeger <aj@suse.de>
42496 Joseph Myers <joseph@codesourcery.com>
42499 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
42500 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42501 * sysdeps/i386/fpu/branred.c: Likewise.
42502 * sysdeps/i386/fpu/dosincos.c: Likewise.
42503 * sysdeps/i386/fpu/mpa.c: Likewise.
42504 * sysdeps/i386/fpu/s_cos.S: Likewise.
42505 * sysdeps/i386/fpu/s_sin.S: Likewise.
42506 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42507 * sysdeps/i386/fpu/sincos32.c: Likewise.
42509 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42511 (libc_feupdateenv_53bit): Define.
42512 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42514 (libc_feupdateenv_53bit): Define.
42516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42517 53 bit (without extend i386 double precision).
42519 * math/libm-test.inc (sincos_test): Add tests for large input.
42523 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42525 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42529 2012-03-15 David S. Miller <davem@davemloft.net>
42531 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42532 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42533 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42534 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
42546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
42549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
42552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
42555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42559 fmin/fmax sysdep routines.
42560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42562 2012-03-14 David S. Miller <davem@davemloft.net>
42564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
42592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
42597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
42600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
42603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
42606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
42609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42636 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42641 * sysdeps/sparc/configure.in: New file.
42642 * sysdeps/sparc/configure: Generate.
42643 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42644 * configure: Regenerate.
42645 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42646 * config.make.in (have-as-vis3): New.
42647 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42648 available use -Av9d instead of -Av9a.
42649 * sysdeps/sparc/sparc64/Makefile: Likewise.
42650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42665 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42666 fzeros/fnegs to load 0x80000000 into a float register instead of
42668 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42670 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42674 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42675 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42676 ($(inst_includedir)/bits/syscall.h): Remove rule.
42677 ($(objpfx)bits/syscall.d): Include instead of
42678 $(objpfx)syscall-list.d.
42679 (generated): Change syscall-list.h and syscall-list.d to
42680 bits/syscall.h and bits/syscall.d.
42682 2012-03-14 Roland McGrath <roland@hack.frob.com>
42685 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42687 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42690 * math/s_csqrt.c: Include <float.h>.
42691 (__csqrt): Scale large or subnormal inputs.
42692 * math/s_csqrtf.c: Likewise.
42693 * math/s_csqrtl.c: Likewise.
42694 * math/libm-test.inc (csqrt_test): Add more tests.
42695 * sysdeps/i386/fpu/libm-test-ulps: Update.
42696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42699 * math/libm-test.inc (hypot_test): Add more tests.
42701 2012-03-13 David S. Miller <davem@davemloft.net>
42704 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42705 double-precision for the calculation instead of scaling.
42707 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42709 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42710 manipulate bits before adding and subtracting TWO52[sx].
42711 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42714 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42716 2012-03-13 David S. Miller <davem@davemloft.net>
42718 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42719 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42721 rtld-global-offsets.h
42722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42724 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42727 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42729 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42730 'err' in the ifdef scope in which it is actually used.
42732 * nss/nss_db/db-init.c: Include string.h
42734 2012-03-12 David S. Miller <davem@davemloft.net>
42736 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42737 masking out of the most significant byte of random value used.
42738 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42739 Fix coding style in previous change.
42741 * sysdeps/unix/sysv/linux/kernel-features.h
42742 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42743 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42745 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42748 2012-03-11 David S. Miller <davem@davemloft.net>
42750 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42751 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42753 for 'resultvar' otherwise things get truncated on 64-bit.
42755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42756 Fix masking out of the most significant byte of random value used.
42758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42760 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42764 2012-03-09 David S. Miller <davem@davemloft.net>
42766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42767 variables with appropriate CPP guards.
42768 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42769 from the frame pointer, not the stack pointer. Correct layout
42770 comments. Fix test on resulting framesize and the management of
42771 the outregs buffer for pltexit. Preserve floating point return
42772 values across _dl_call_pltexit call.
42773 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42774 framesize and the management of the outregs buffer for pltexit.
42775 Preserve floating point return values across _dl_call_pltexit
42777 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42778 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42779 (la_sparc64_gnu_pltexit): New functions.
42780 (print_exit): Fix format string for return register value.
42782 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42784 * sunrpc/Makefile (others): Add rpcgen.
42785 ($(objpfx)rpcgen): Remove special build rule and dependency on
42787 * sunrpc/rpcgen.c: New file.
42789 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42792 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42793 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42794 * sysdeps/i386/crti.S: Likewise.
42795 * sysdeps/i386/crtn.S: Likewise.
42796 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42797 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42798 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42799 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42800 * sysdeps/sh/crti.S: Likewise.
42801 * sysdeps/sh/crtn.S: Likewise.
42802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42805 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42807 * locale/programs/locfile-kw.gperf: Likewise.
42808 * locale/programs/charmap-kw.h: Regenerated.
42809 * locale/programs/locfile-kw.h: Likewise.
42812 * intl/plural.y: Replace FSF snail mail address with URL.
42813 * intl/plural.c: Regenerated.
42815 2012-03-09 Richard Henderson <rth@twiddle.net>
42817 * include/math_private.h: Remove file.
42818 * math/math_private.h: Move file ...
42819 * sysdeps/generic/math_private.h: ... here.
42821 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42822 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42825 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42826 and <math_private.h>.
42827 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42828 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42832 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42851 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42867 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42869 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42873 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42914 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42935 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42937 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42938 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42940 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42948 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42951 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42954 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42965 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42966 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42970 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42971 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42972 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42973 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42975 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42976 * sysdeps/ieee754/k_standard.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43102 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43114 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43117 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43119 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43126 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43137 * sysdeps/ieee754/s_lib_version.c: Likewise.
43138 * sysdeps/ieee754/s_matherr.c: Likewise.
43139 * sysdeps/ieee754/s_signgam.c: Likewise.
43140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43143 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43146 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43147 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43148 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43149 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43151 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43152 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43153 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43162 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43164 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43165 * sunrpc/rpc_main.c: Likewise.
43166 * sunrpc/rpc_svcout.c: Likewise.
43168 2012-03-09 David S. Miller <davem@davemloft.net>
43170 * include/math_private.h: New file.
43172 2012-03-09 Joseph Myers <joseph@codesourcery.com>
43174 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43175 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43176 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43177 from <bits/socket_type.h>.
43178 (enum __socket_type): Don't define here.
43179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43181 bits/socket_type.h.
43184 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43185 checking __USE_GNU.
43187 * Makerules ($(inst_includedir)/%.h): New rule.
43188 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43189 (install-others): Remove variable setting.
43190 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43192 2012-03-08 Richard Henderson <rth@twiddle.net>
43194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43195 from macro to inline function; merge with the
43196 !__LIBC_INTERNAL_MATH_INLINES version.
43197 (__ieee754_sqrtf): Likewise.
43199 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43200 to inline function.
43201 (__rintf, __floor, __floorf): Likewise.
43203 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43204 macro to inline function.
43205 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43208 not <math/math_private.h>.
43210 2012-03-08 David S. Miller <davem@davemloft.net>
43212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43214 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43216 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43218 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43220 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43221 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43223 2012-03-08 Ulrich Drepper <drepper@gmail.com>
43225 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43226 be defined individually, they must be defined as a block. Define
43227 S for printing a string instead of hidint the different by using a
43228 macro for adding the 'l'.
43229 * stdio-common/tst-fphex-wide.c: Adjust.
43231 2012-03-07 Marek Polacek <polacek@redhat.com>
43233 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43235 2012-03-08 Marek Polacek <polacek@redhat.com>
43238 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43239 * stdio-common/tst-fphex.c: Define a few macros to make the
43240 test reusable. Use them.
43241 * stdio-common/tst-fphex-wide.c: New file.
43243 2012-03-08 Joseph Myers <joseph@codesourcery.com>
43246 * manual/macros.texi (gnusystems): New macro.
43247 (nongnusystems): Likewise.
43248 (gnulinuxhurdsystems): Likewise.
43249 (gnuhurdsystems): Likewise..
43250 (gnulinuxsystems): Likewise.
43251 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43252 variants of the GNU system, not "GNU system".
43253 * manual/conf.texi: Likewise.
43254 * manual/errno.texi: Likewise. Update example of errno macro
43256 * manual/filesys.texi: Likewise.
43257 (getumask): Document as specific to GNU/Hurd.
43258 * manual/install.texi: Likewise. Reword some references to
43260 * manual/intro.texi: Likewise.
43261 * manual/io.texi: Likewise.
43262 (File Name Portability): Detail which constraints are inapplicable
43263 to all GNU systems and which are only inapplicable to GNU/Hurd.
43264 * manual/job.texi: Likewise.
43265 * manual/llio.texi: Likewise.
43266 (O_NOCTTY): Document as present on GNU/Linux.
43267 * manual/maint.texi: Likewise.
43268 * manual/memory.texi: Likewise.
43269 * manual/pattern.texi: Likewise.
43270 * manual/pipe.texi: Likewise.
43271 * manual/process.texi: Likewise.
43272 * manual/resource.texi: Likewise.
43273 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43275 * manual/setjmp.texi: Likewise.
43276 * manual/signal.texi: Likewise.
43277 * manual/startup.texi: Likewise.
43278 * manual/stdio.texi: Likewise.
43279 * manual/terminal.texi: Likewise.
43280 (ONLCR): Document as POSIX.
43281 (OXTABS): Document availability on GNU/Linux as XTABS.
43282 (ONOEOT): Document availability separately from other bits.
43283 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43284 * manual/time.texi: Likewise.
43285 * manual/users.texi: Likewise.
43286 * INSTALL: Regenerated.
43287 * sysdeps/gnu/errlist.c: Regenerated.
43289 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43290 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43291 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43293 * configure: Regenerated.
43295 2012-03-07 Joseph Myers <joseph@codesourcery.com>
43297 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43298 default includes instead of AC_HEADER_CHECK.
43299 * sysdeps/i386/configure: Regenerated.
43302 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43303 * math/s_cacoshf.c (__cacoshf): Likewise.
43304 * math/s_cacoshl.c (__cacoshl): Likewise.
43305 * math/s_casinh.c (__casinh): Set signs of result from argument.
43306 * math/s_casinhf.c (__casinhf): Likewise.
43307 * math/s_casinhl.c (__casinhl): Likewise.
43308 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43309 (casinh_test): Add more tests.
43310 * sysdeps/i386/fpu/libm-test-ulps: Update.
43311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43313 2012-03-07 Ulrich Drepper <drepper@gmail.com>
43315 * po/zh_TW.po: Update from translation team.
43317 * login/Makefile (distribute): Remove variable.
43318 * catgets/Makefile: Likewise.
43319 * mach/Makefile: Likewise.
43320 * malloc/Makefile: Likewise.
43321 * misc/Makefile: Likewise.
43322 * iconv/Makefile: Likewise.
43323 * nscd/Makefile: Likewise.
43324 * hurd/Makefile: Likewise.
43325 * manual/Makefile: Likewise.
43326 * locale/Makefile: Likewise.
43327 * intl/Makefile: Likewise.
43328 * conform/Makefile: Likewise.
43329 * nss/Makefile: Likewise.
43330 * time/Makefile: Likewise.
43331 * soft-fp/Makefile: Likewise.
43332 * dirent/Makefile: Likewise.
43333 * gmon/Makefile: Likewise.
43334 * po/Makefile: Likewise.
43335 * rt/Makefile: Likewise.
43336 * socket/Makefile: Likewise.
43337 * math/Makefile: Likewise.
43338 * signal/Makefile: Likewise.
43339 * debug/Makefile: Likewise.
43340 * elf/Makefile: Likewise.
43341 * timezone/Makefile: Likewise.
43342 * stdlib/Makefile: Likewise.
43343 * iconvdata/Makefile: Likewise.
43344 * sunrpc/Makefile: Likewise.
43345 * io/Makefile: Likewise.
43346 * argp/Makefile: Likewise.
43347 * inet/Makefile: Likewise.
43348 * hesiod/Makefile: Likewise.
43349 * grp/Makefile: Likewise.
43350 * csu/Makefile: Likewise.
43351 * wctype/Makefile: Likewise.
43352 * crypt/Makefile: Likewise.
43353 * libio/Makefile: Likewise.
43354 * string/Makefile: Likewise.
43355 * nis/Makefile: Likewise.
43356 * resolv/Makefile: Likewise.
43357 * stdio-common/Makefile: Likewise.
43358 * wcsmbs/Makefile: Likewise.
43359 * dlfcn/Makefile: Likewise.
43360 * posix/Makefile: Likewise.
43363 * timezone/Makefile: Don't install timezone files, just the programs
43366 2012-03-06 Ulrich Drepper <drepper@gmail.com>
43368 * nss/databases.def: Add missing gshadow entry.
43370 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43372 2012-03-06 Marek Polacek <polacek@redhat.com>
43375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43377 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43378 * stdio-common/tst-long-dbl-fphex.c: New file.
43380 2012-03-06 David S. Miller <davem@davemloft.net>
43382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43383 (set_obp_int): New function.
43384 (get_obp_int): New function.
43385 (__get_clockfreq_via_dev_openprom): Likewise.
43386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43387 Avoid unused variable warnings on 'val' and use builtin_expect.
43388 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43390 (INLINE_CLONE_SYSCALL): Likewise.
43392 2012-03-05 David S. Miller <davem@davemloft.net>
43394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43396 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43401 only for |x| >= 40.
43402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43404 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
43406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43407 Replace gettimeofday with __vdso_gettimeofday.
43409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43410 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43411 __vdso_clock_gettime and __vdso_getcpu.
43413 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43414 time with __vdso_time.
43416 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43418 * manual/lang.texi (size_t): Note types to which size_t may be
43419 equivalent with the GNU C Library, but do not describe when
43420 differences between them are significant.
43422 2012-03-05 Andreas Jaeger <aj@suse.de>
43424 * sysdeps/i386/fpu/libm-test-ulps: Update.
43426 2012-03-05 Joseph Myers <joseph@codesourcery.com>
43429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43430 (__ieee754_pow): Save and restore rounding mode and use
43431 round-to-nearest for main computations.
43432 * math/libm-test.inc (pow_test_tonearest): New function.
43433 (pow_test_towardzero): Likewise.
43434 (pow_test_downward): Likewise.
43435 (pow_test_upward): Likewise.
43436 (main): Call the new functions.
43437 * sysdeps/i386/fpu/libm-test-ulps: Update.
43438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43441 * math/libm-test.inc (cosh_test_tonearest): New function.
43442 (cosh_test_towardzero): Likewise.
43443 (cosh_test_downward): Likewise.
43444 (cosh_test_upward): Likewise.
43445 (sinh_test_tonearest): Likewise.
43446 (sinh_test_towardzero): Likewise.
43447 (sinh_test_downward): Likewise.
43448 (sinh_test_upward): Likewise.
43449 (main): Call the new functions.
43450 * sysdeps/i386/fpu/libm-test-ulps: Update.
43451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43453 2012-03-05 Tom de Vries <tom@codesourcery.com>
43455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43456 default stack guard is set in last bytes.
43457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43459 2012-03-05 Kees Cook <keescook@chromium.org>
43461 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
43464 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43465 possibly allocate from heap instead of stack.
43466 * stdio-common/bug-vfprintf-nargs.c: New file.
43467 * stdio-common/Makefile (tests): Add nargs overflow test.
43469 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43473 2012-03-03 Marek Polacek <polacek@redhat.com>
43475 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43476 * math/math_private.h: Likewise.
43477 * stdlib/tst-strtod.c: Likewise.
43478 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43479 * sysdeps/x86_64/bits/atomic.h: Likewise.
43481 2012-03-02 David S. Miller <davem@davemloft.net>
43483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43487 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43488 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43489 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43490 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43492 2012-03-02 Roland McGrath <roland@hack.frob.com>
43495 * manual/examples/README: New file, says the example source files
43496 can be used under GPL>=2.
43497 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43498 line containing just "*/".
43499 * manual/examples/add.c: Add copyright header (GPL>=2).
43500 * manual/examples/argp-ex1.c: Likewise.
43501 * manual/examples/argp-ex2.c: Likewise.
43502 * manual/examples/argp-ex3.c: Likewise.
43503 * manual/examples/argp-ex4.c: Likewise.
43504 * manual/examples/atexit.c: Likewise.
43505 * manual/examples/db.c: Likewise.
43506 * manual/examples/dir.c: Likewise.
43507 * manual/examples/dir2.c: Likewise.
43508 * manual/examples/execinfo.c: Likewise.
43509 * manual/examples/filecli.c: Likewise.
43510 * manual/examples/filesrv.c: Likewise.
43511 * manual/examples/fmtmsgexpl.c: Likewise.
43512 * manual/examples/genpass.c: Likewise.
43513 * manual/examples/inetcli.c: Likewise.
43514 * manual/examples/inetsrv.c: Likewise.
43515 * manual/examples/isockad.c: Likewise.
43516 * manual/examples/longopt.c: Likewise.
43517 * manual/examples/memopen.c: Likewise.
43518 * manual/examples/memstrm.c: Likewise.
43519 * manual/examples/mkfsock.c: Likewise.
43520 * manual/examples/mkisock.c: Likewise.
43521 * manual/examples/mygetpass.c: Likewise.
43522 * manual/examples/pipe.c: Likewise.
43523 * manual/examples/popen.c: Likewise.
43524 * manual/examples/rprintf.c: Likewise.
43525 * manual/examples/search.c: Likewise.
43526 * manual/examples/select.c: Likewise.
43527 * manual/examples/setjmp.c: Likewise.
43528 * manual/examples/sigh1.c: Likewise.
43529 * manual/examples/sigusr.c: Likewise.
43530 * manual/examples/stpcpy.c: Likewise.
43531 * manual/examples/strdupa.c: Likewise.
43532 * manual/examples/strftim.c: Likewise.
43533 * manual/examples/strncat.c: Likewise.
43534 * manual/examples/subopt.c: Likewise.
43535 * manual/examples/swapcontext.c: Likewise.
43536 * manual/examples/termios.c: Likewise.
43537 * manual/examples/testopt.c: Likewise.
43538 * manual/examples/testpass.c: Likewise.
43539 * manual/examples/timeval_subtract.c: Likewise.
43542 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43544 * manual/timeval_subtract.c.texi: ... here, new file.
43546 2012-03-02 David S. Miller <davem@davemloft.net>
43548 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43550 2012-03-02 Joseph Myers <joseph@codesourcery.com>
43553 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43554 (__sin): Save and restore rounding mode and use round-to-nearest
43555 for all computations.
43556 (__cos): Save and restore rounding mode and use round-to-nearest
43557 for all computations.
43558 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43560 (tan): Save and restore rounding mode and use round-to-nearest for
43562 * math/libm-test.inc (cos_test_tonearest): New function.
43563 (cos_test_towardzero): Likewise.
43564 (cos_test_downward): Likewise.
43565 (cos_test_upward): Likewise.
43566 (sin_test_tonearest): Likewise.
43567 (sin_test_towardzero): Likewise.
43568 (sin_test_downward): Likewise.
43569 (sin_test_upward): Likewise.
43570 (tan_test_tonearest): Likewise.
43571 (tan_test_towardzero): Likewise.
43572 (tan_test_downward): Likewise.
43573 (tan_test_upward): Likewise.
43574 (main): Call the new functions.
43575 * sysdeps/i386/fpu/libm-test-ulps: Update.
43576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43579 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43580 small n, then large n, before computing and testing k+n.
43581 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43586 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43587 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43594 * math/libm-test.inc (scalbn_test): Add more tests.
43595 (scalbln_test): Likewise.
43597 * manual/filesys.texi (mode_t): Describe constraints on size and
43598 signedness, not exact equivalence to a particular type.
43600 (ino64_t): Likewise.
43602 (nlink_t): Likewise.
43603 (blkcnt_t): Likewise.
43604 (blkcnt64_t): Likewise.
43605 * manual/llio.texi (off_t): Likewise.
43608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43609 (__ieee754_exp): Save and restore rounding mode and use
43610 round-to-nearest for all computations.
43611 * math/libm-test.inc (exp_test_tonearest): New function.
43612 (exp_test_towardzero): Likewise.
43613 (exp_test_downward): Likewise.
43614 (exp_test_upward): Likewise.
43615 (main): Call the new functions.
43616 * sysdeps/i386/fpu/libm-test-ulps: Update.
43617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43619 2012-03-01 Chris Demetriou <cgd@google.com>
43621 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43622 have predictable order.
43624 2012-03-01 David S. Miller <davem@davemloft.net>
43626 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43628 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43629 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43630 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43631 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43633 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43634 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43635 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43637 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43638 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43639 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43640 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43641 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43646 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43649 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43652 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43653 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43665 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43666 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43667 * sysdeps/sparc/elf/configure: Regenerated.
43669 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43671 * configure.in (AS, LD): Require binutils 2.20 or later.
43672 * configure: Regenerated.
43673 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43674 as required minimum version.
43675 * INSTALL: Regenerated.
43679 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43680 before squaring exponent.
43681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43682 bottom long double and 27 bits of top long double before squaring
43684 * math/libm-test.inc (erfc_test): Add more tests.
43685 * sysdeps/i386/fpu/libm-test-ulps: Update.
43686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43689 2012-03-01 Kai Tietz <ktietz@redhat.com>
43691 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43692 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43693 containing bit-fields.
43694 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43695 * soft-fp/single.h (_FP_UNION_S): Likewise.
43696 * soft-fp/double.h (_FP_UNION_D): Likewise.
43698 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43701 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43702 not include ../strcmp.S.
43703 [USE_AS_STRNCASECMP_L]: Likewise.
43704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43705 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43706 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43707 (__strncasecmp_l_ia32): Define as alias to
43708 __strncasecmp_l_nonascii.
43711 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43712 * sysdeps/i386/fpu/libm-test-ulps: Update.
43713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43715 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43718 2012-02-29 Jeff Law <law@redhat.com>
43720 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43721 out of bounds read.
43723 2012-02-29 Marek Polacek <polacek@redhat.com>
43726 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43727 * elf/Makefile: Add rules to run tst-unused-dep.out.
43729 2012-02-28 David S. Miller <davem@davemloft.net>
43731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43738 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43740 * math/libm-test.inc (llround_test): Move one test from
43741 lround_test. Use TEST_f_L in moved test.
43742 (lround_test): Move misplaced test to llround_test. Add testcase
43745 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43747 * sysdeps/x86_64/fpu/e_expf.S: New file.
43748 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43750 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43753 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43754 of remain_len that may cause incomplete multi-byte character and
43756 * posix/bug-regex33.c: New file.
43757 * posix/Makefile (tests): Add bug-regex33.
43759 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43761 * manual/macros.texi: New file.
43762 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43763 * manual/libc.texinfo: Include macros.texi.
43764 * manual/creatute.texi: Likewise.
43765 * manual/install.texi: Likewise.
43766 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43767 @glibcadj{} in references to the GNU C Library.
43768 * manual/charset.texi: Likewise.
43769 * manual/conf.texi: Likewise.
43770 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43771 when not using those macros.
43772 * manual/creature.texi: Likewise.
43773 * manual/crypt.texi: Likewise.
43774 * manual/errno.texi: Likewise.
43775 * manual/filesys.texi: Likewise.
43776 * manual/header.texi: Likewise.
43777 * manual/install.texi: Likewise.
43778 * manual/intro.texi: Likewise.
43779 * manual/io.texi: Likewise.
43780 * manual/job.texi: Likewise.
43781 * manual/lang.texi: Likewise.
43782 * manual/libc.texiinfo: Likewise.
43783 * manual/llio.texi: Likewise.
43784 * manual/locale.texi: Likewise.
43785 * manual/maint.texi: Likewise.
43786 * manual/math.texi: Likewise.
43787 * manual/memory.texi: Likewise.
43788 * manual/message.texi: Likewise.
43789 * manual/nss.texi: Likewise.
43790 * manual/pattern.texi: Likewise.
43791 * manual/process.texi: Likewise.
43792 * manual/resource.texi: Likewise.
43793 * manual/search.texi: Likewise.
43794 * manual/setjmp.texi: Likewise.
43795 * manual/signal.texi: Likewise.
43796 * manual/socket.texi: Likewise.
43797 * manual/startup.texi: Likewise.
43798 * manual/stdio.texi: Likewise.
43799 * manual/string.texi: Likewise.
43800 * manual/sysinfo.texi: Likewise.
43801 * manual/syslog.texi: Likewise.
43802 * manual/terminal.texi: Likewise.
43803 * manual/time.texi: Likewise.
43804 * manual/users.texi: Likewise.
43805 * INSTALL: Regenerated.
43806 * NOTES: Regenerated.
43807 * sysdeps/gnu/errlist.c: Regenerated.
43809 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43811 * include/dirent.h: Include <dirstream.h> before
43814 2012-02-28 David S. Miller <davem@davemloft.net>
43816 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43817 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43821 2012-02-27 David S. Miller <davem@davemloft.net>
43823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43825 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43826 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43829 frame pointer instead of stack pointer relative arg slot.
43830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43834 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43837 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43839 2012-02-27 David S. Miller <davem@davemloft.net>
43841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43847 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43850 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43852 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43853 later. Allow versions 5-9.
43854 * configure: Regenerated.
43855 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43856 required minimum version and 4.6 as recommended version. Do not
43857 mention bugs in GCC 2.7 and 2.8.
43858 * INSTALL: Regenerated.
43860 2012-02-27 David S. Miller <davem@davemloft.net>
43862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43868 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43872 manipulate bits before adding and subtracting TWO112[sx].
43873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43875 2012-02-27 Roland McGrath <roland@hack.frob.com>
43878 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43879 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43880 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43881 being in POSIX, because they are in 1003.1-2008.
43883 * rt/tst-aio.c: Include <fcntl.h>.
43884 * rt/tst-aio7.c: Likewise.
43885 * rt/tst-aio64.c: Likewise.
43887 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43889 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43891 * manual/install.texi (--with-headers): Describe headers as
43892 interface headers, not private headers.
43893 (Specific advice for GNU/Linux systems): Describe use of headers
43894 from "make headers_install", not private headers from older
43896 * INSTALL: Regenerated.
43897 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43899 * sysdeps/unix/sysv/linux/configure: Regenerated.
43901 * manual/llio.texi (fclean): Remove documentation.
43903 * manual/Makefile (libc-texi-generated): New variable. Include
43905 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43906 $(libc-texi-generated), not duplicated list of files.
43907 (version.texi, stamp-version): New rules.
43908 (realclean): Remove $(libc-texi-generated), not individual files
43909 from that list. Do not remove dir-add.texinfo.
43910 * manual/libc.texinfo: Comment out uses of edition numbers and
43911 references to printed manual. Remove last-updated dates.
43912 (EDITION): Comment out.
43914 (VERSION, UPDATED): Remove.
43915 (version.texi): Include.
43917 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43919 * sysdeps/posix/spawni.c: Include <signal.h>.
43920 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43921 * sysdeps/pthread/aio_fsync.c: Likewise.
43923 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43925 * conform/Makefile (tests): Run only when not cross-compiling and
43926 when fast-check is not defined.
43928 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43929 * conform/data/limits.h-data: Fixes for POSIX2008.
43930 * conform/run-conformtest.sh: Run all tests.
43931 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43933 * include/bits/dlfcn.h: Likewise.
43934 * include/langinfo.h: Likewise.
43935 * include/monetary.h: Likewise.
43936 * include/sys/poll.h: Likewise.
43938 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43940 * posix/spawn.h: Define __need_sigset_t.
43941 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43942 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43943 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43944 to get sigevent_t only.
43945 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43946 only for __USE_GNU.
43947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43949 process_vm_writev only for __USE_GNU.
43950 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43952 * conform/Makefile: For now ignore errors from run-conformtest.
43953 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43954 POSIX to avoid namespace pollution. Don't prepend headers.
43955 * conform/data/aio.h-data: Fixes for POSIX testing.
43956 * conform/data/fcntl.h-data: Likewise.
43957 * conform/data/glob.h-data: Likewise.
43958 * conform/data/grp.h-data: Likewise.
43959 * conform/data/pthread.h-data: Likewise.
43960 * conform/data/pwd.h-data: Likewise.
43961 * conform/data/signal.h-data: Likewise.
43962 * conform/data/spawn.h-data: Likewise.
43963 * conform/data/stdio.h-data: Likewise.
43964 * conform/data/stdlib.h-data: Likewise.
43965 * conform/data/stropts.h-data: Likewise.
43966 * conform/data/sys/mman.h-data: Likewise.
43967 * conform/data/sys/stat.h-data: Likewise.
43968 * conform/data/sys/types.h-data: Likewise.
43969 * conform/data/sys/wait.h-data: Likewise.
43970 * conform/data/time.h-data: Likewise.
43971 * conform/data/unistd.h-data: Likewise.
43972 * conform/data/utime.h-data: Likewise.
43974 * io/sys/stat.h: fchmod was always in POSIX.
43975 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43976 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43977 * rt/aio.h: Define __need_timespec before including <time.h>.
43978 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43979 struct. Add forward declaration of pthread_attr_t and use it in
43981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43983 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43984 always remove CLK_TCK definition.
43986 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43988 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43990 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43992 * conform/run-conformtest.sh: New file.
43993 * conform/Makefile: Run run-conformtest for tests.
43994 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43997 * conform/data/uchar.h-data: New file.
43998 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43999 * conform/data/arpa/inet.h-data: Likewise.
44000 * conform/data/assert.h-data: Likewise.
44001 * conform/data/complex.h-data: Likewise.
44002 * conform/data/cpio.h-data: Likewise.
44003 * conform/data/ctype.h-data: Likewise.
44004 * conform/data/dirent.h-data: Likewise.
44005 * conform/data/dlfcn.h-data: Likewise.
44006 * conform/data/errno.h-data: Likewise.
44007 * conform/data/fcntl.h-data: Likewise.
44008 * conform/data/float.h-data: Likewise.
44009 * conform/data/fmtmsg.h-data: Likewise.
44010 * conform/data/fnmatch.h-data: Likewise.
44011 * conform/data/ftw.h-data: Likewise.
44012 * conform/data/glob.h-data: Likewise.
44013 * conform/data/grp.h-data: Likewise.
44014 * conform/data/iconv.h-data: Likewise.
44015 * conform/data/inttypes.h-data: Likewise.
44016 * conform/data/langinfo.h-data: Likewise.
44017 * conform/data/libgen.h-data: Likewise.
44018 * conform/data/limits.h-data: Likewise.
44019 * conform/data/locale.h-data: Likewise.
44020 * conform/data/math.h-data: Likewise.
44021 * conform/data/monetary.h-data: Likewise.
44022 * conform/data/mqueue.h-data: Likewise.
44023 * conform/data/ndbm.h-data: Likewise.
44024 * conform/data/net/if.h-data: Likewise.
44025 * conform/data/netdb.h-data: Likewise.
44026 * conform/data/netinet/in.h-data: Likewise.
44027 * conform/data/nl_types.h-data: Likewise.
44028 * conform/data/poll.h-data: Likewise.
44029 * conform/data/pthread.h-data: Likewise.
44030 * conform/data/pwd.h-data: Likewise.
44031 * conform/data/regex.h-data: Likewise.
44032 * conform/data/sched.h-data: Likewise.
44033 * conform/data/search.h-data: Likewise.
44034 * conform/data/semaphore.h-data: Likewise.
44035 * conform/data/setjmp.h-data: Likewise.
44036 * conform/data/signal.h-data: Likewise.
44037 * conform/data/spawn.h-data: Likewise.
44038 * conform/data/stdarg.h-data: Likewise.
44039 * conform/data/stdio.h-data: Likewise.
44040 * conform/data/stdlib.h-data: Likewise.
44041 * conform/data/string.h-data: Likewise.
44042 * conform/data/strings.h-data: Likewise.
44043 * conform/data/stropts.h-data: Likewise.
44044 * conform/data/sys/ipc.h-data: Likewise.
44045 * conform/data/sys/mman.h-data: Likewise.
44046 * conform/data/sys/msg.h-data: Likewise.
44047 * conform/data/sys/resource.h-data: Likewise.
44048 * conform/data/sys/select.h-data: Likewise.
44049 * conform/data/sys/sem.h-data: Likewise.
44050 * conform/data/sys/shm.h-data: Likewise.
44051 * conform/data/sys/socket.h-data: Likewise.
44052 * conform/data/sys/stat.h-data: Likewise.
44053 * conform/data/sys/statvfs.h-data: Likewise.
44054 * conform/data/sys/time.h-data: Likewise.
44055 * conform/data/sys/timeb.h-data: Likewise.
44056 * conform/data/sys/times.h-data: Likewise.
44057 * conform/data/sys/types.h-data: Likewise.
44058 * conform/data/sys/uio.h-data: Likewise.
44059 * conform/data/sys/un.h-data: Likewise.
44060 * conform/data/sys/utsname.h-data: Likewise.
44061 * conform/data/sys/wait.h-data: Likewise.
44062 * conform/data/syslog.h-data: Likewise.
44063 * conform/data/tar.h-data: Likewise.
44064 * conform/data/termios.h-data: Likewise.
44065 * conform/data/utime.h-data: Likewise.
44066 * conform/data/utmpx.h-data: Likewise.
44067 * conform/data/varargs.h-data: Likewise.
44068 * conform/data/wchar.h-data: Likewise.
44069 * conform/data/wctype.h-data: Likewise.
44070 * conform/data/wordexp.h-data: Likewise.
44072 * include/stropts.h: New file.
44073 * include/uchar.h: New file.
44074 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44075 * include/assert.h: Likewise.
44076 * include/ctype.h: Likewise.
44077 * include/dirent.h: Likewise.
44078 * include/dlfcn.h: Likewise.
44079 * include/fcntl.h: Likewise.
44080 * include/fnmatch.h: Likewise.
44081 * include/glob.h: Likewise.
44082 * include/grp.h: Likewise.
44083 * include/libio.h: Likewise.
44084 * include/locale.h: Likewise.
44085 * include/math.h: Likewise.
44086 * include/net/if.h: Likewise.
44087 * include/netdb.h: Likewise.
44088 * include/netinet/in.h: Likewise.
44089 * include/pthread.h: Likewise.
44090 * include/pwd.h: Likewise.
44091 * include/regex.h: Likewise.
44092 * include/sched.h: Likewise.
44093 * include/search.h: Likewise.
44094 * include/setjmp.h: Likewise.
44095 * include/signal.h: Likewise.
44096 * include/stdio.h: Likewise.
44097 * include/stdlib.h: Likewise.
44098 * include/string.h: Likewise.
44099 * include/sys/cdefs.h: Likewise.
44100 * include/sys/mman.h: Likewise.
44101 * include/sys/msg.h: Likewise.
44102 * include/sys/resource.h: Likewise.
44103 * include/sys/select.h: Likewise.
44104 * include/sys/socket.h: Likewise.
44105 * include/sys/stat.h: Likewise.
44106 * include/sys/statvfs.h: Likewise.
44107 * include/sys/time.h: Likewise.
44108 * include/sys/times.h: Likewise.
44109 * include/sys/uio.h: Likewise.
44110 * include/sys/utsname.h: Likewise.
44111 * include/sys/wait.h: Likewise.
44112 * include/termios.h: Likewise.
44113 * include/time.h: Likewise.
44114 * include/ulimit.h: Likewise.
44115 * include/unistd.h: Likewise.
44116 * include/utime.h: Likewise.
44117 * include/wchar.h: Likewise.
44118 * include/wctype.h: Likewise.
44119 * include/wordexp.h: Likewise.
44121 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44123 * time/time.h: TIME_UTC must be a macro.
44124 Make timespec_get available for ISO C11 only as well.
44126 2012-02-24 Ulrich Drepper <drepper@gmail.com>
44128 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44129 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44131 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44133 * configure.in: Use -o not -a in test for unsupported multi-arch.
44135 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44137 * manual/texinfo.tex: Update to version 2012-01-19.16.
44139 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44141 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44143 2012-02-24 Roland McGrath <roland@hack.frob.com>
44146 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44147 * manual/fdl-1.3.texi: New file.
44148 * manual/fdl-1.1.texi: File removed.
44151 * manual/libc.texinfo (FDL_VERSION): New @set.
44152 Use it for mention of FDL in cover text.
44153 (Documentation License): Use it in @include file name.
44155 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44156 Roland McGrath <roland@hack.frob.com>
44159 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44160 (not LONG_LONG_MAX and LONG_LONG_MIN.
44161 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44162 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44164 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44166 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44170 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44171 manipulate bits before adding and subtracting TWO23[sx].
44172 * math/libm-test.inc (nearbyint_test): Add more tests.
44174 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44177 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44178 bits before adding and subtracting TWO23[sx].
44179 * math/libm-test.inc (rint_test): Add more tests.
44180 (rint_test_tonearest): Likewise.
44181 (rint_test_towardzero): Likewise.
44182 (rint_test_downward): Likewise.
44183 (rint_test_upward: Likewise.
44185 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44188 * include/stdc-predef.h: New file. Extracted from features.h.
44189 * include/features.h: Include stdc-predef.h.
44190 * Makefile (headers): Add stdc-predef.h.
44191 * CONFORMANCE (Compiler limitations): Update.
44193 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44195 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44197 2012-02-21 David S. Miller <davem@davemloft.net>
44199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44202 2012-02-20 David S. Miller <davem@davemloft.net>
44204 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44205 using a normal save/restore sequence, rather than allocating a
44206 dummy stack frame just to store a frame pointer and restore.
44207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44209 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44211 * manual/install.texi: Fix stray word in line-wrapped comment.
44213 2012-02-20 David S. Miller <davem@davemloft.net>
44215 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44216 both binutils and gcc support GOTDATA.
44218 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44219 "rd %pc" in the PIC register setup sequences.
44221 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44222 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44224 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44230 (SYSCALL_ERROR_HANDLER): Likewise.
44231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44234 (SYSCALL_ERROR_HANDLER): Likewise.
44236 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44237 (HAVE_GCC_GOTDATA): New.
44238 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44239 relocation support in both binutils and gcc.
44240 * sysdeps/sparc/elf/configure: Regenerate.
44242 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44243 * sysdeps/sparc/sparc32/elf/configure: Delete.
44244 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44245 * sysdeps/sparc/sparc64/elf/configure: Delete.
44246 * sysdeps/sparc/elf/configure.in: New file.
44247 * sysdeps/sparc/elf/configure: Generate.
44249 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44250 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44251 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44252 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44253 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44255 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44257 * manual/install.texi: Do not mention specific glibc version
44259 * manual/libc.texinfo (VERSION, UPDATED): Update.
44260 (@copying): Use @copyright{} and range of years.
44262 2012-02-21 Joseph Myers <joseph@codesourcery.com>
44265 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44266 [crti.S not in sysdirs] (generated): Do not append.
44267 [crti.S not in sysdirs] (omit-deps): Likewise.
44268 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44269 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44270 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44271 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44272 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44274 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44275 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44276 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44277 * csu/defs.awk: Remove file.
44278 * sysdeps/generic/initfini.c: Likewise.
44279 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44281 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44284 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44286 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44291 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44293 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44294 (__EPOLL_PACKED): Define to empty if not defined by
44296 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44300 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44302 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44303 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44307 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44311 2012-02-20 Joseph Myers <joseph@codesourcery.com>
44313 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44320 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44325 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44327 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44328 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44330 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44332 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44335 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44337 * math/w_acos.c: Use non-signaling floating-point comparisons.
44338 * math/w_acosf.c: Likewise.
44339 * math/w_acosh.c: Likewise.
44340 * math/w_acoshf.c: Likewise.
44341 * math/w_acoshl.c: Likewise.
44342 * math/w_acosl.c: Likewise.
44343 * math/w_asin.c: Likewise.
44344 * math/w_asinf.c: Likewise.
44345 * math/w_asinl.c: Likewise.
44346 * math/w_atanh.c: Likewise.
44347 * math/w_atanhf.c: Likewise.
44348 * math/w_atanhl.c: Likewise.
44349 * math/w_exp2.c: Likewise.
44350 * math/w_exp2f.c: Likewise.
44351 * math/w_exp2l.c: Likewise.
44352 * math/w_j0.c: Likewise.
44353 * math/w_j0f.c: Likewise.
44354 * math/w_j0l.c: Likewise.
44355 * math/w_j1.c: Likewise.
44356 * math/w_j1f.c: Likewise.
44357 * math/w_j1l.c: Likewise.
44358 * math/w_jn.c: Likewise.
44359 * math/w_jnf.c: Likewise.
44360 * math/w_log.c: Likewise.
44361 * math/w_log10.c: Likewise.
44362 * math/w_log10f.c: Likewise.
44363 * math/w_log10l.c: Likewise.
44364 * math/w_log2.c: Likewise.
44365 * math/w_log2f.c: Likewise.
44366 * math/w_log2l.c: Likewise.
44367 * math/w_logf.c: Likewise.
44368 * math/w_logl.c: Likewise.
44369 * math/w_sqrt.c: Likewise.
44370 * math/w_sqrtf.c: Likewise.
44371 * math/w_sqrtl.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44375 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44378 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44381 * manual/string.texi (strnlen): Use correct parameter name in
44382 equivalent expression.
44384 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44387 * manual/users.texi (seteuid): Consistently use neweuid for
44390 2012-02-19 Joseph Myers <joseph@codesourcery.com>
44393 * manual/nss.texi (Services in the NSS configuration): Correct
44394 list of services in example configuration file.
44396 2012-02-19 Nick Bowler <nbowler@draconx.ca>
44399 * manual/arith.texi: Remove statements about negative zero
44400 behaving identically to zero.
44402 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44405 * manual/install.texi: Do not document upgrading from libc5.
44407 2012-02-18 Joseph Myers <joseph@codesourcery.com>
44410 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44412 2012-02-18 David S. Miller <davem@davemloft.net>
44414 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44415 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44416 %o7 across the call.
44417 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44420 SETUP_PIC_REG_LEAF.
44421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44422 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44423 * sysdeps/sparc/crtn.S: Likewise.
44425 2012-02-17 Ulrich Drepper <drepper@gmail.com>
44427 * aout/Makefile: Remove.
44429 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44432 * manual/examples/argp-ex1.c (main): Format definition in GNU
44434 * manual/examples/argp-ex2.c (main): Likewise.
44435 * manual/examples/argp-ex3.c (main): Likewise.
44436 * manual/examples/argp-ex4.c (main): Likewise.
44437 * manual/examples/longopt.c (main): Use new-style prototype
44439 * manual/examples/strncat.c (main): Specify return type and use
44440 (void) for arguments.
44441 * manual/examples/subopt.c (main): Use char **argv argument.
44443 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44446 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44449 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44452 * manual/string.texi (strchr): Change when strchrnul is
44455 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44458 * manual/locale.texi (setlocale): Document LOCPATH.
44460 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44463 * manual/process.texi (execle): Move @dots{} before last argument.
44465 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
44468 * manual/charset.texi (Generic Charset Conversion): Fix typo
44469 (LC_TYPE -> LC_CTYPE).
44471 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44474 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44475 (scalbnf): Likewise.
44476 (scalbnl): Likewise.
44477 (scalbln): Likewise.
44478 (scalblnf): Likewise.
44479 (scalblnl): Likewise.
44480 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44481 (vwarnx): Likewise.
44484 * manual/filesys.texi (telldir): Use braces around return type.
44485 * manual/llio.texi (mmap): Add space after comma.
44486 (mmap64): Likewise.
44487 * manual/math.texi (jn): Use @var{} on parameter names.
44493 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44495 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44497 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44498 (sched_get_priority_max): Likewise.
44499 * manual/signal.texi (sigvec): Add space after comma.
44500 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44502 (if_indextoname): Likewise.
44503 (if_freenameindex): Likewise.
44504 (sendto): Use ',' instead of '.' in prototype.
44505 * manual/startup.texi (syscall): Use @dots{} instead of literal
44507 * manual/stdio.texi (__fpending): Separate initial words of
44508 paragraph from @deftypefun line.
44509 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44511 (vsyslog): Use @var{} on parameter names.
44512 * manual/terminal.texi (stty): Use @var{} on parameter names.
44513 * manual/users.texi (getutmp): Use @var{} on parameter names.
44514 (getutmpx): Likewise.
44516 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44519 * manual/stdio.texi (fopen): Fix typos in description of
44522 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44525 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44526 get clock_id definition.
44528 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
44531 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44532 (madvise): Cast every argument to void on its own.
44534 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44537 * manual/startup.texi (Exit Status): Fix typo.
44539 2012-02-17 Joseph Myers <joseph@codesourcery.com>
44542 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44543 * manual/examples/argp-ex2.c: Likewise.
44544 * manual/examples/argp-ex3.c: Likewise.
44546 2012-02-16 Richard Henderson <rth@redhat.com>
44548 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44549 * sysdeps/s390/s390-32/initfini.c: Remove.
44550 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44551 * sysdeps/s390/s390-64/initfini.c: Remove.
44553 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44555 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44556 compiler output for sysdeps/generic/initfini.c.
44557 * sysdeps/sh/elf/initfini.c: Remove file.
44559 2012-02-16 David S. Miller <davem@davemloft.net>
44562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44564 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44565 * sysdeps/sparc/crti.S: New file.
44566 * sysdeps/sparc/crtn.S: New file.
44567 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44568 * sysdeps/sparc/sparc64/Makefile: Likewise.
44570 2012-02-15 Mike Frysinger <vapier@gentoo.org>
44573 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44575 2012-02-15 Roland McGrath <roland@hack.frob.com>
44578 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44580 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44581 (write, read, close): Likewise.
44582 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44584 2012-02-15 Joseph Myers <joseph@codesourcery.com>
44586 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44587 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44588 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44589 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44591 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44595 2012-02-14 Marek Polacek <polacek@redhat.com>
44597 * sysdeps/x86_64/crti.S: New file.
44598 * sysdeps/x86_64/crtn.S: New file.
44599 * sysdeps/x86_64/elf/initfini.c: Remove file.
44601 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44603 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44604 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44605 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44606 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44608 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44612 2012-02-13 Joseph Myers <joseph@codesourcery.com>
44614 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44615 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44616 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44617 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44619 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44623 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44626 __feraiseexcept instead of feraiseexcept.
44628 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44629 nanosleep invocations.
44630 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44631 strings, and add error checking for a nanosleep invocations.
44633 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44635 Replace FSF snail mail address with URLs, as per GNU coding standards.
44636 Most of the snail mail addresses were wrong anyway, and omitting
44637 them makes the source code easier to maintain. Almost all of the
44638 changes are to license notices and to locale LC_IDENTIFICATION
44639 addresses, except for this one:
44640 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44641 not its snail mail address.
44643 2012-02-09 Richard Henderson <rth@twiddle.net>
44645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44646 of kernel-features.h.
44648 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44650 2012-02-08 Marek Polacek <polacek@redhat.com>
44652 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44653 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44654 * sysdeps/gnu/_G_config.h: Likewise.
44655 * sysdeps/generic/_G_config.h: Likewise.
44657 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44659 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44663 * sysdeps/powerpc/powerpc32/crti.S: New file.
44664 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44665 * sysdeps/powerpc/powerpc64/crti.S: New file.
44666 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44668 * Makeconfig (have-initfini): Don't set.
44669 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44670 * configure.in (nopic_initfini): Don't substitute.
44671 * config.h.in (HAVE_INITFINI): Don't #undef.
44672 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44673 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44675 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44677 Support crti.S and crtn.S provided directly by architectures.
44678 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44679 [crti.S in sysdirs] (omit-deps): Likewise.
44680 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44681 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44682 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44683 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44684 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44685 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44686 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44687 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44688 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44689 compiler output for sysdeps/generic/initfini.c.
44690 * sysdeps/i386/elf/Makefile: Remove file.
44691 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44693 2012-02-07 Marek Polacek <polacek@redhat.com>
44695 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44696 * sysdeps/gnu/_G_config.h: Likewise.
44697 * sysdeps/mach/hurd/_G_config.h: Likewise.
44699 2012-02-07 Marek Polacek <polacek@redhat.com>
44701 * math/Makefile (tests): Add tst-CMPLX2.
44702 * math/tst-CMPLX2.c: New file.
44704 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44708 * math/libm-test.inc (jn_test): Add missing L suffix.
44710 2012-02-06 Marek Polacek <polacek@redhat.com>
44712 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44713 * sysdeps/i386/fpu/e_powf.S: Likewise.
44714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44717 * sysdeps/i386/fpu/e_pow.S: Likewise.
44718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44722 * sysdeps/i386/fpu/e_log2.S: Likewise.
44723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44725 * sysdeps/i386/fpu/e_powl.S: Likewise.
44726 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44729 * sysdeps/i386/fpu/e_logl.S: Likewise.
44730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44731 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44732 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44733 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44734 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44736 * sysdeps/i386/fpu/e_log.S: Likewise.
44737 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44739 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44740 * sysdeps/i386/fpu/e_logf.S: Likewise.
44741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44743 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44744 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44746 * sysdeps/i386/fpu/e_log10.S: Likewise.
44747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44752 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44753 * sysdeps/i386/asm-syntax.h: Likewise.
44754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44756 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44757 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44758 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44763 * sysdeps/powerpc/sysdep.h: Likewise.
44764 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44767 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44770 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44772 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44774 * sysdeps/i386/sysdep.h: Include <features.h>.
44775 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44778 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44782 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44785 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44787 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44788 (SETUP_PIC_REG): Use GET_PC_THUNK.
44789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44792 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44795 for non-PIC compilation.
44796 (SETUP_PIC_REG): Add .p2align directive.
44797 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44798 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44799 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44800 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44819 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44820 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44830 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44831 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44839 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44841 * math/tst-CMPLX.c: Include <stdio.h>.
44843 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44845 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44848 * sysdeps/sparc/bits/mathdef.h: Likewise.
44850 2012-01-31 Marek Polacek <polacek@redhat.com>
44852 * libio/libio.h: Don't define _PARAMS.
44853 * locale/programs/config.h: Don't define PARAMS.
44854 * stdlib/strtol_l.c: Likewise.
44855 (__strtol_l): Remove PARAMS from the prototype.
44857 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44859 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44860 names. Just use the correct names. Remove unnecessary wrapper
44862 * malloc/arena.c: Likewise.
44863 * malloc/hooks.c: Likewise.
44865 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44866 ARENA_TEST says not to. Simplify test for creation of a new arena.
44867 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44869 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44871 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44873 (update_get_addr): New function.
44874 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44875 GET_ADDR_MODULE parameter.
44877 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44879 * crypt/cert.c: Remove __STDC__ conditionals.
44880 * crypt/crypt-entry.c: Likewise.
44881 * crypt/crypt_util.c: Likewise.
44882 * libio/filedoalloc.c: Likewise.
44883 * libio/fileops.c: Likewise.
44884 * libio/genops.c: Likewise.
44885 * libio/iofclose.c: Likewise.
44886 * libio/iofdopen.c: Likewise.
44887 * libio/iofopen.c: Likewise.
44888 * libio/iofopen64.c: Likewise.
44889 * libio/iogetdelim.c: Likewise.
44890 * libio/iopopen.c: Likewise.
44891 * libio/obprintf.c: Likewise.
44892 * libio/oldfileops.c: Likewise.
44893 * libio/oldiofclose.c: Likewise.
44894 * libio/oldiofdopen.c: Likewise.
44895 * libio/oldiofopen.c: Likewise.
44896 * libio/oldiopopen.c: Likewise.
44897 * libio/wfiledoalloc.c: Likewise.
44898 * libio/wgenops.c: Likewise.
44899 * locale/programs/xmalloc.c: Likewise.
44900 * misc/syslog.c: Likewise.
44901 * stdio-common/xbug.c: Likewise.
44902 * string/memchr.c: Likewise.
44903 * string/memcmp.c: Likewise.
44904 * string/memrchr.c: Likewise.
44905 * string/rawmemchr.c: Likewise.
44906 * sysdeps/posix/getcwd.c: Likewise.
44907 * time/strftime_l.c: Likewise.
44909 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44911 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44912 * config.make.in (config-cflags-sse2avx): Define.
44913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44916 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44918 * scripts/config.guess: Update from upstream config git repository.
44919 * scripts/config.sub: Likewise.
44921 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44923 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44925 (R_TILEPRO_*, R_TILEGX_*): New macros.
44927 * scripts/firstversions.awk: Fix bug in version range handling.
44929 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44931 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44933 * include/sys/epoll.h: New file.
44934 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44937 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44939 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44940 Avoid unnecessary __WORDSIZE == 64 test.
44941 (fmaxf): Use VEX format if possible.
44946 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44947 * math/math_private.h: Remove libc_fegetround* and
44949 * sysdeps/i386/configure.in: Check for -msse2avx.
44950 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44951 also if SSE2AVX is defined.
44952 Remove libc_fegetround* and libc_fesetround*.
44953 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44954 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44963 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44965 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44971 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44974 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44976 * Makeconfig (libm): Define.
44977 * elf/Makefile: Add rules to build and run tst-relsort1.
44978 * elf/tst-relsort1.c: New file.
44979 * elf/tst-relsort1mod1.c: New file.
44980 * elf/tst-relsort1mod2.c: New file.
44982 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44984 * math/s_ldexp.c: Remove __STDC__ conditionals.
44985 * math/s_ldexpf.c: Likewise.
44986 * math/s_ldexpl.c: Likewise.
44987 * math/s_nextafter.c: Likewise.
44988 * math/s_nexttowardf.c: Likewise.
44989 * math/s_significand.c: Likewise.
44990 * math/s_significandf.c: Likewise.
44991 * math/s_significandl.c: Likewise.
44992 * math/w_jnl.c: Likewise.
44993 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44994 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44999 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45006 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45015 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45033 * sysdeps/ieee754/k_standard.c: Likewise.
45034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45084 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45101 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45110 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45113 * sysdeps/ieee754/s_matherr.c: Likewise.
45114 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45119 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45121 * crypt/md5.h: Remove __STDC__ conditionals.
45122 * libio/libioP.h: Likewise.
45123 * locale/programs/config.h: Likewise.
45124 * sysdeps/generic/sysdep.h: Likewise.
45125 * sysdeps/i386/asm-syntax.h: Likewise.
45126 * sysdeps/s390/asm-syntax.h: Likewise.
45127 * sysdeps/unix/sysdep.h: Likewise.
45128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45131 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45133 * libio/libio.h: Remove __STDC__ conditionals.
45134 * malloc/obstack.h: Likewise.
45135 * math/complex.h: Likewise.
45136 * math/math.h: Likewise.
45137 * sysdeps/generic/_G_config.h: Likewise.
45138 * sysdeps/gnu/_G_config.h: Likewise.
45139 * sysdeps/mach/hurd/_G_config.h: Likewise.
45140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45142 * sysdeps/sparc/bits/mathdef.h: Likewise.
45144 2012-01-26 Ulrich Drepper <drepper@gmail.com>
45147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45148 Clean up HAS_* macros.
45149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45150 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45160 2012-01-25 Joseph Myers <joseph@codesourcery.com>
45162 * elf/tst-unique3.cc (gets): Remove declaration.
45163 * elf/tst-unique3lib.cc (gets): Likewise.
45164 * elf/tst-unique3lib2.cc (gets): Likewise.
45165 * elf/tst-unique4.cc (gets): Likewise.
45167 2012-01-24 Ulrich Drepper <drepper@gmail.com>
45169 * include/stdio.h: Add C++ protection. Add gets declarations and
45171 * debug/tst-chk1.c: Don't declare gets here.
45172 * stdio-common/tst-gets.c: Likewise.
45174 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45176 * posix/glob: Remove directory.
45178 2012-01-24 Joseph Myers <joseph@codesourcery.com>
45180 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45182 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45184 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45185 of the non-standard EPFNOSUPPORT.
45187 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45189 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45190 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45191 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45193 2012-01-21 Ulrich Drepper <drepper@gmail.com>
45195 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45197 2012-01-20 Ulrich Drepper <drepper@gmail.com>
45199 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45201 * nscd/grpcache.c (cache_addgr): Likewise.
45202 * nscd/hstcache.c (cache_addhst): Likewise.
45203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45204 * nscd/pwdcache.c (cache_addpw): Likewise.
45205 * nscd/servicescache.c (cache_addserv): Likewise.
45207 2012-01-16 Ulrich Drepper <drepper@gmail.com>
45209 * malloc/malloc.c: Various cleanups.
45210 * malloc/hooks.c: Likewise.
45212 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45213 * stdlib/bug-fmtmsg1.c: New file.
45215 * stdlib/fmtmsg.c (init): Add missing unlock.
45216 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45218 2012-01-12 Marek Polacek <polacek@redhat.com>
45220 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45223 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45225 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45227 macro to ensure uniqueness of label name.
45228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45231 2012-01-11 Ulrich Drepper <drepper@gmail.com>
45233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45240 2012-01-10 Ulrich Drepper <drepper@gmail.com>
45242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45244 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45248 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
45251 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
45255 * math/bits/math-finite.h: Add ldexp support.
45257 2012-01-10 Marek Polacek <polacek@redhat.com>
45259 * locale/programs/localedef.h (show_archive_content): Add noreturn
45262 2012-01-09 Ulrich Drepper <drepper@gmail.com>
45264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45266 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45268 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45270 * io/Makefile (headers): Add bits/poll2.h.
45272 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45275 typo #include statement.
45277 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45279 * include/sys/cdefs.h: Define __attribute_alloc_size.
45280 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45281 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45282 * elf/pldd.c: Likewise.
45283 * iconv/iconv_charmap.c: Likewise.
45284 * iconv/iconvconfig.c: Likewise.
45285 * iconv/strtab.c: Likewise.
45286 * locale/programs/locale.c: Likewise.
45287 * locale/programs/localedef.h: Likewise.
45288 * locale/programs/simple-hash.c: Likewise.
45289 * nscd/nscd.h: Likewise.
45290 * nss/makedb.c: Likewise.
45291 * sysdeps/generic/ldconfig.h: Likewise.
45292 * locale/programs/localedef.c: Remove xmalloc prototype.
45293 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45295 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45300 2012-01-08 Ulrich Drepper <drepper@gmail.com>
45302 * math/Makefile (tests): Add tst-CMPLX.
45303 * math/tst-CMPLX.c: New file.
45305 * math/complex.h (CMPLXL): Fix typo.
45307 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45308 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45310 * debug/tst-chk1.c: Add poll and ppoll tests.
45311 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45312 * include/sys/poll.h: Add hidden proto for ppoll.
45313 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45314 * sysdeps/mach/hurd/ppoll.c: Likewise.
45315 * io/ppoll.c: Likewise.
45316 * debug/poll_chk.c: New file.
45317 * debug/ppoll_chk.c: New file.
45318 * include/bits/poll2.h: New file.
45319 * io/bits/poll2.h: New file.
45322 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45324 * configure.in: static is always set to yes. Remove.
45325 * config.make.in: Don't set build-static.
45326 * Makeconfig: Remove use of build-static.
45327 * dlfcn/Makefile: Likewise.
45328 * elf/Makefile: Likewise.
45329 * math/Makefile: Likewise.
45330 * misc/Makefile: Likewise.
45331 * nptl/Makefile: Likewise.
45332 * sysdeps/mach/hurd/Makefile: Likewise.
45334 * configure.in: PWD_P is not used anymore.
45335 * config.make.in: Remove PWD_P entry.
45337 * configure.in: Remove last remnants of RANLIB.
45338 No need to check for signed size_t anymore.
45339 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45341 Remove __builtin_expect test because we require at least gcc 3.4.
45342 * aclocal.m4: Likewise.
45344 * wcsmbs/mbrtoc16.c: Implement using towc function.
45345 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45346 * wcsmbs/wcsmbsload.c: Likewise.
45347 * iconv/gconv_simple.c: Likewise.
45348 * iconv/gconv_int.h: Likewise.
45349 * iconv/gconv_builtin.h: Likewise.
45350 * iconv/iconv_prog.c: Remove CHAR16 handling.
45352 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45354 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45356 * configure.in: Remove --with-elf and --enable-bounded options.
45357 Dont set base_machine for ia64. More non-ELF conditions removed.
45358 Remove testing and setting of leading underscore information.
45359 * config.make.in (build-bounded): Set to no.
45360 * config.h.in: Remove NO_UNDERSCORES entry.
45361 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45363 * csu/start.c: Remove !NO_UNDERSCORE code.
45364 * locale/localeinfo.h: Likewise.
45365 * sysdeps/generic/machine-gmon.h: Likewise.
45366 * sysdeps/generic/sysdep.h: Likewise.
45367 * sysdeps/i386/sysdep.h: Likewise.
45368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45369 * sysdeps/mach/sysdep.h: Likewise.
45370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45372 * sysdeps/sh/sysdep.h: Likewise.
45373 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45374 * sysdeps/unix/i386/sysdep.S: Likewise.
45375 * sysdeps/unix/sparc/start.c: Likewise.
45376 * sysdeps/unix/sparc/sysdep.S: Likewise.
45377 * sysdeps/unix/sparc/sysdep.h: Likewise.
45378 * sysdeps/unix/start.c: Likewise.
45379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45380 * sysdeps/x86_64/sysdep.h: Likewise.
45382 2012-01-07 Ulrich Drepper <drepper@gmail.com>
45385 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45387 * argp/argp-fmtstream.h: Use const instead __const.
45388 * argp/argp.h: Likewise.
45389 * assert/assert.h: Likewise.
45390 * bits/fenv.h: Likewise.
45391 * bits/sched.h: Likewise.
45392 * bits/sigset.h: Likewise.
45393 * bits/sigthread.h: Likewise.
45394 * catgets/nl_types.h: Likewise.
45395 * conform/data/pthread.h-data: Likewise.
45396 * crypt/crypt-private.h: Likewise.
45397 * crypt/crypt.h: Likewise.
45398 * crypt/crypt_util.c: Likewise.
45399 * ctype/ctype.h: Likewise.
45400 * debug/execinfo.h: Likewise.
45401 * debug/mbsnrtowcs_chk.c: Likewise.
45402 * debug/mbsrtowcs_chk.c: Likewise.
45403 * debug/wcsnrtombs_chk.c: Likewise.
45404 * debug/wcsrtombs_chk.c: Likewise.
45405 * debug/wcstombs_chk.c: Likewise.
45406 * dirent/dirent.h: Likewise.
45407 * dlfcn/dlfcn.h: Likewise.
45408 * elf/neededtest4.c: Likewise.
45409 * grp/grp.h: Likewise.
45410 * gshadow/gshadow.h: Likewise.
45411 * iconv/gconv.h: Likewise.
45412 * iconv/gconv_int.h: Likewise.
45413 * iconv/gconv_simple.c: Likewise.
45414 * iconv/iconv.h: Likewise.
45415 * iconv/loop.c: Likewise.
45416 * iconv/skeleton.c: Likewise.
45417 * include/aio.h: Likewise.
45418 * include/aliases.h: Likewise.
45419 * include/argz.h: Likewise.
45420 * include/arpa/inet.h: Likewise.
45421 * include/assert.h: Likewise.
45422 * include/dirent.h: Likewise.
45423 * include/dlfcn.h: Likewise.
45424 * include/execinfo.h: Likewise.
45425 * include/fcntl.h: Likewise.
45426 * include/fenv.h: Likewise.
45427 * include/glob.h: Likewise.
45428 * include/grp.h: Likewise.
45429 * include/libintl.h: Likewise.
45430 * include/mntent.h: Likewise.
45431 * include/netdb.h: Likewise.
45432 * include/pwd.h: Likewise.
45433 * include/rpc/netdb.h: Likewise.
45434 * include/sched.h: Likewise.
45435 * include/search.h: Likewise.
45436 * include/shadow.h: Likewise.
45437 * include/signal.h: Likewise.
45438 * include/stdio.h: Likewise.
45439 * include/stdlib.h: Likewise.
45440 * include/string.h: Likewise.
45441 * include/sys/socket.h: Likewise.
45442 * include/sys/stat.h: Likewise.
45443 * include/sys/statfs.h: Likewise.
45444 * include/sys/statvfs.h: Likewise.
45445 * include/sys/syslog.h: Likewise.
45446 * include/sys/time.h: Likewise.
45447 * include/sys/uio.h: Likewise.
45448 * include/time.h: Likewise.
45449 * include/unistd.h: Likewise.
45450 * include/utmp.h: Likewise.
45451 * include/wchar.h: Likewise.
45452 * include/wctype.h: Likewise.
45453 * inet/aliases.h: Likewise.
45454 * inet/arpa/inet.h: Likewise.
45455 * inet/netinet/ether.h: Likewise.
45456 * inet/netinet/in.h: Likewise.
45457 * intl/libintl.h: Likewise.
45458 * io/bits/fcntl2.h: Likewise.
45459 * io/fcntl.h: Likewise.
45460 * io/ftw.h: Likewise.
45461 * io/sys/poll.h: Likewise.
45462 * io/sys/stat.h: Likewise.
45463 * io/sys/statfs.h: Likewise.
45464 * io/sys/statvfs.h: Likewise.
45465 * io/utime.h: Likewise.
45466 * libio/bits/stdio.h: Likewise.
45467 * libio/bits/stdio2.h: Likewise.
45468 * libio/libio.h: Likewise.
45469 * libio/libioP.h: Likewise.
45470 * libio/stdio.h: Likewise.
45471 * locale/lc-ctype.c: Likewise.
45472 * locale/locale.h: Likewise.
45473 * login/utmp.h: Likewise.
45474 * malloc/arena.c: Likewise.
45475 * malloc/malloc.c: Likewise.
45476 * malloc/malloc.h: Likewise.
45477 * malloc/mcheck.c: Likewise.
45478 * malloc/mtrace.c: Likewise.
45479 * math/bits/mathcalls.h: Likewise.
45480 * math/fenv.h: Likewise.
45481 * math/math_private.h: Likewise.
45482 * misc/bits/error.h: Likewise.
45483 * misc/bits/syslog.h: Likewise.
45484 * misc/err.h: Likewise.
45485 * misc/error.h: Likewise.
45486 * misc/fstab.h: Likewise.
45487 * misc/mntent.h: Likewise.
45488 * misc/regexp.h: Likewise.
45489 * misc/search.h: Likewise.
45490 * misc/sgtty.h: Likewise.
45491 * misc/sys/mman.h: Likewise.
45492 * misc/sys/syslog.h: Likewise.
45493 * misc/sys/uio.h: Likewise.
45494 * misc/sys/xattr.h: Likewise.
45495 * misc/ttyent.h: Likewise.
45496 * nis/rpcsvc/ypclnt.h: Likewise.
45497 * nss/nss.h: Likewise.
45498 * posix/bits/unistd.h: Likewise.
45499 * posix/fnmatch.h: Likewise.
45500 * posix/glob.h: Likewise.
45501 * posix/sched.h: Likewise.
45502 * posix/spawn.h: Likewise.
45503 * posix/sys/wait.h: Likewise.
45504 * posix/unistd.h: Likewise.
45505 * posix/wordexp.h: Likewise.
45506 * pwd/pwd.h: Likewise.
45507 * resolv/netdb.h: Likewise.
45508 * resource/sys/resource.h: Likewise.
45509 * rt/aio.h: Likewise.
45510 * rt/bits/mqueue2.h: Likewise.
45511 * rt/mqueue.h: Likewise.
45512 * shadow/shadow.h: Likewise.
45513 * signal/signal.h: Likewise.
45514 * socket/send.c: Likewise.
45515 * socket/sendto.c: Likewise.
45516 * socket/sys/socket.h: Likewise.
45517 * stdio-common/printf.h: Likewise.
45518 * stdlib/bits/stdlib.h: Likewise.
45519 * stdlib/fmtmsg.h: Likewise.
45520 * stdlib/monetary.h: Likewise.
45521 * stdlib/stdlib.h: Likewise.
45522 * stdlib/ucontext.h: Likewise.
45523 * streams/stropts.h: Likewise.
45524 * string/argz.h: Likewise.
45525 * string/bits/string2.h: Likewise.
45526 * string/string.h: Likewise.
45527 * string/strings.h: Likewise.
45528 * sunrpc/rpc/auth.h: Likewise.
45529 * sunrpc/rpc/auth_des.h: Likewise.
45530 * sunrpc/rpc/clnt.h: Likewise.
45531 * sunrpc/rpc/netdb.h: Likewise.
45532 * sunrpc/rpc/pmap_clnt.h: Likewise.
45533 * sunrpc/rpc/xdr.h: Likewise.
45534 * sysdeps/generic/inttypes.h: Likewise.
45535 * sysdeps/generic/net/if.h: Likewise.
45536 * sysdeps/generic/sys/swap.h: Likewise.
45537 * sysdeps/gnu/net/if.h: Likewise.
45538 * sysdeps/gnu/utmpx.h: Likewise.
45539 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45540 * sysdeps/i386/i486/bits/string.h: Likewise.
45541 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45542 * sysdeps/s390/bits/string.h: Likewise.
45543 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45544 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45545 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45546 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45547 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45548 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45550 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45551 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45552 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45554 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45555 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45557 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45565 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45566 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45567 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45568 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45569 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45571 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45573 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45574 * sysvipc/sys/ipc.h: Likewise.
45575 * sysvipc/sys/msg.h: Likewise.
45576 * sysvipc/sys/sem.h: Likewise.
45577 * sysvipc/sys/shm.h: Likewise.
45578 * termios/termios.h: Likewise.
45579 * time/sys/time.h: Likewise.
45580 * time/time.h: Likewise.
45581 * wcsmbs/bits/wchar2.h: Likewise.
45582 * wcsmbs/uchar.h: Likewise.
45583 * wcsmbs/wchar.h: Likewise.
45584 * wctype/wctype.h: Likewise.
45587 * Makeconfig: Remove all but ELF support including AIX support.
45588 * Makerules: Likewise.
45589 * config.h.in: Likewise.
45590 * config.make.in: Likewise.
45591 * configure: Likewise.
45592 * configure.in: Likewise.
45593 * csu/Makefile: Likewise.
45594 * csu/version.c: Likewise.
45595 * debug/Makefile: Likewise.
45596 * dlfcn/Makefile: Likewise.
45597 * elf/Makefile: Likewise.
45598 * extra-lib.mk: Likewise.
45599 * iconv/Makefile: Likewise.
45600 * include/libc-symbols.h: Likewise.
45601 * include/shlib-compat.h: Likewise.
45602 * resolv/Makefile: Likewise.
45603 * resolv/res_libc.c: Likewise.
45604 * rt/Makefile: Likewise.
45605 * sysdeps/i386/asm-syntax.h: Likewise.
45606 * sysdeps/i386/sysdep.h: Likewise.
45607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45608 * sysdeps/mach/sysdep.h: Likewise.
45609 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45610 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45611 * sysdeps/s390/asm-syntax.h: Likewise.
45612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45614 * sysdeps/sh/sysdep.h: Likewise.
45615 * sysdeps/unix/sparc/sysdep.h: Likewise.
45616 * sysdeps/wordsize-32/divdi3.c: Likewise.
45617 * sysdeps/x86_64/sysdep.h: Likewise.
45619 * argp/Versions: Remove _argp_unlock_xxx.
45622 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45623 * abilist/libBrokenLocale.abilist: Likewise.
45624 * abilist/libanl.abilist: Likewise.
45625 * abilist/libc.abilist: Likewise.
45626 * abilist/libcrypt.abilist: Likewise.
45627 * abilist/libdl.abilist: Likewise.
45628 * abilist/libm.abilist: Likewise.
45629 * abilist/libnsl.abilist: Likewise.
45630 * abilist/libpthread.abilist: Likewise.
45631 * abilist/libresolv.abilist: Likewise.
45632 * abilist/librt.abilist: Likewise.
45633 * abilist/libthread_db.abilist: Likewise.
45634 * abilist/libutil.abilist: Likewise.
45635 * abilist/libnss_db.abilist: New file.
45637 * scripts/abilist.awk: Add support for indirect functions.
45639 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45641 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45643 * shlib-versions: Remove entries for ports architectures.
45645 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45647 * elf/stackguard-macros.h: Remove support for IA-64.
45648 * elf/tst-auditmod1.c: Likewise.
45649 * sysdeps/generic/ldsodefs.h: Likewise.
45651 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45652 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45656 * configure.in: Remove --enable-omitfp support.
45658 * config.make.in: Likewise.
45659 * Makeconfig: Likewise.
45660 * manual/install.texi: Likewise.
45662 In case anyone cares, the IA-64 architecture could move to ports.
45663 * sysdeps/ia64/*: Removed.
45664 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45665 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45668 * configure.in: Remove entries for unsupported architectures.
45671 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45672 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45674 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45675 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45676 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45677 fall back to using wcrtomb.
45678 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45679 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45681 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45682 * wcsmbs/tst-c16c32-1.c: New file.
45684 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45687 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45689 * elf/tst-unique3.cc: Add explicit declaration of gets.
45690 * elf/tst-unique3lib.cc: Likewise.
45691 * elf/tst-unique3lib2.cc: Likewise.
45692 * elf/tst-unique4.cc: Likewise.
45694 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45696 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45699 * assert/assert.h (static_assert): Don't define for C++.
45700 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45701 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45703 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45705 * iconv/loop.c (single loop): Fix assertion in storing of
45708 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45710 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45712 * posix/getconf.c: Update copyright year.
45713 * nss/getent.c: Likewise.
45714 * nss/makedb.c: Likewise.
45715 * iconv/iconvconfig.c: Likewise.
45716 * iconv/iconv_prog.c: Likewise.
45717 * elf/ldconfig.c: Likewise.
45718 * elf/pldd.c: Likewise.
45719 * elf/sotruss.ksh: Likewise.
45720 * catgets/gencat.c: Likewise.
45721 * csu/version.c: Likewise.
45722 * elf/ldd.bash.in: Likewise.
45723 * elf/sprof.c (print_version): Likewise.
45724 * locale/programs/locale.c: Likewise.
45725 * locale/programs/localedef.c: Likewise.
45726 * login/programs/pt_chown.c: Likewise.
45727 * nscd/nscd.c (print_version): Likewise.
45728 * debug/xtrace.sh: Likewise.
45729 * malloc/memusage.sh: Likewise.
45730 * malloc/mtrace.pl: Likewise.
45731 * debug/catchsegv.sh: Likewise.
45733 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45735 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45738 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45741 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45742 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45744 * iconv/gconv_int.h: Likewise.
45745 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45746 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45747 from libc for GLIBC_2.16.
45748 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45749 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45750 * wcsmbs/uchar.h: Really define mbstate_t.
45751 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45752 * wcsmbs/c16rtomb.c: New file.
45753 * wcsmbs/mbrtoc16.c: New file.
45754 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45755 for C/POSIX locale.
45756 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45757 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45759 * wcsmbs/wchar.h: Add missing __restrict.
45761 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45764 * time/Makefile (routines): Add timespec_get.
45765 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45766 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45767 timespec for ISO C11.
45768 * time/timespec_get.c: New file.
45769 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45770 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45773 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45774 * stdlib/stdlib.h: Declare aligned_alloc.
45775 * Versions.def: Add GLIBC_2.16 for libc.
45776 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45779 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45782 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45786 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45789 * assert/assert.h (static_assert): Define.
45791 * version.h: Update for 2.16 development version.
45794 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45797 * version.h (RELEASE): Bump for 2.15 release.
45798 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45800 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45801 Patch by Marek Polacek <mpolacek@redhat.com>.
45803 * bits/byteswap.h: Protect long long constants with __extension__.
45804 * sysdeps/i386/bits/byteswap.h: Likewise.
45805 * sysdeps/ia64/bits/byteswap.h: Likewise.
45806 * sysdeps/s390/bits/byteswap.h: Likewise.
45807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45809 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45813 destination buffer.
45814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45816 2011-12-23 Marek Polacek <polacek@redhat.com>
45818 * elf/dl-addr.c (determine_info): Add inline keyword.
45819 * elf/tst-auditmod4b.c (check_avx): Likewise.
45820 * elf/tst-auditmod6b.c (check_avx): Likewise.
45821 * elf/tst-auditmod6c.c (check_avx): Likewise.
45822 * elf/tst-auditmod7b.c (check_avx): Likewise.
45824 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45829 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45833 processing for last bytes.
45835 2011-08-06 Bruno Haible <bruno@clisp.org>
45838 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45839 U+0385, not to U+1FEE.
45842 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45843 entry for U+00A5 U+0301.
45845 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45848 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45849 buffer for the output is too small.
45851 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45855 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45856 SSE flags if possible.
45858 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45862 processing for last bytes.
45864 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45867 (syscall-list-default-options, syscall-list-default-condition)
45868 (syscall-list-includes): Define.
45869 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45870 list of ABIs and options and #if conditions for each ABI. Do not
45871 handle common syscalls between ABIs specially.
45872 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45874 (syscall-list-variants, syscall-list-32bit-options)
45875 (syscall-list-32bit-condition, syscall-list-64bit-options)
45876 (syscall-list-64bit-condition): Define.
45877 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45878 (syscall-list-variants, syscall-list-32bit-options)
45879 (syscall-list-32bit-condition, syscall-list-64bit-options)
45880 (syscall-list-64bit-condition): Define.
45881 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45883 (syscall-list-variants, syscall-list-32bit-options)
45884 (syscall-list-32bit-condition, syscall-list-64bit-options)
45885 (syscall-list-64bit-condition): Define.
45886 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45888 (syscall-list-variants, syscall-list-32bit-options)
45889 (syscall-list-32bit-condition, syscall-list-64bit-options)
45890 (syscall-list-64bit-condition): Define.
45892 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45894 * locale/iso-639.def: Add brx entry.
45897 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45898 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45900 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45901 __feraiseexcept_renamed.
45903 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45906 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45907 EPOLLET with unsigned values.
45908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45911 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45912 to large cancellation.
45913 * math/s_cacoshf.c: Likewise.
45914 * math/s_cacoshl.c: Likewise.
45916 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45920 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45921 * math/s_cacoshf.c: Likewise.
45922 * math/s_cacoshl.c: Likewise.
45924 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45927 * iconv/gconv.h: Define __GCONV_SWAP.
45928 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45929 * iconvdata/utf-16.c: Likewise.
45930 * iconvdata/utf-32.c: Likewise.
45932 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45936 numerator after shifting it by one limb.
45938 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45941 under [__USE_EXTERN_INLINES].
45943 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45946 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45948 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45950 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45951 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45953 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45955 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45956 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45957 for strncasecmp/strncasecmp_l compilation.
45958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45959 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45961 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45964 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45967 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45970 * time/tzfile.c (__tzfile_read): Check values from file header.
45972 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45974 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45975 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45976 * powerpc/powerpc32/dl-start.S: Likewise.
45977 * powerpc/powerpc32/elf/start.S: Likewise.
45978 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45979 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45980 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45981 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45982 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45983 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45984 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45985 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45986 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45987 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45988 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45989 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45990 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45991 * powerpc/powerpc32/memset.S: Likewise.
45992 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45993 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45994 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45995 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45996 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45997 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45998 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45999 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46000 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46001 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46003 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46004 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46006 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46008 * math/libm-test.inc: Added more nearbyint tests.
46009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46014 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46016 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46019 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46021 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46022 Add wcscpy-ssse3 wcscpy-c.
46023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46024 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46025 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46026 * sysdeps/x86_64/wcschr.S: New file.
46027 * sysdeps/x86_64/wcsrchr.S: New file.
46028 * string/test-strcmp.c: Remove checking of wcscmp function for
46030 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46031 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46032 wcsrchr-sse2 wcsrchr-c.
46033 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46034 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46035 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46036 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46039 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46040 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46042 * wcsmbc/wcschr.c (WCSCHR): New macro.
46044 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46046 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46047 * wcsmbs/test-wcsrchr.c: New file.
46048 * string/test-strrchr.c: Add wcsrchr support.
46050 * wcsmbs/test-wcscpy.c: New file.
46051 * string/test-strcpy.c: Add wcscpy support.
46054 2011-12-10 Ulrich Drepper <drepper@gmail.com>
46056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46059 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46062 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46064 2011-12-04 Ulrich Drepper <drepper@gmail.com>
46066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46067 Minor optimizations.
46069 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46070 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46071 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46073 2011-12-03 Ulrich Drepper <drepper@gmail.com>
46075 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46076 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46077 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46078 for gcc to avoid warnings.
46079 * inet/Makefile (tests): Add tst-checks.
46080 * inet/tst-checks.c: New file.
46082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46085 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46088 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46089 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46091 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46093 2011-12-02 Ulrich Drepper <drepper@gmail.com>
46095 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46098 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46100 2011-11-29 Joseph Myers <joseph@codesourcery.com>
46102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46103 conditional on GCC version.
46104 (__arch_compare_and_exchange_val_8_acq)
46105 (__arch_compare_and_exchange_val_16_acq)
46106 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46107 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46108 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46110 2011-12-02 Joseph Myers <joseph@codesourcery.com>
46112 * sysdeps/sh/backtrace.c: New file.
46114 2011-12-02 Andreas Schwab <schwab@redhat.com>
46116 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46119 2011-12-01 Andreas Schwab <schwab@redhat.com>
46121 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46122 falling back to utime.
46124 2011-11-30 Andreas Schwab <schwab@redhat.com>
46126 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46127 expectations for float.
46129 2011-11-29 Andreas Schwab <schwab@redhat.com>
46131 * locale/weight.h (findidx): Add parameter len.
46132 * locale/weightwc.h (findidx): Likewise.
46133 * posix/fnmatch_loop.c (FCT): Adjust caller.
46134 * posix/regcomp.c (build_equiv_class): Likewise.
46135 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46136 * posix/regexec.c (check_node_accept_bytes): Likewise.
46137 * string/strcoll_l.c (STRCOLL): Likewise.
46138 * string/strxfrm_l.c (STRXFRM): Likewise.
46140 2011-11-17 Ulrich Drepper <drepper@gmail.com>
46142 * Makefile.in: Remove CVSOPT handling.
46143 * configure.in: Remove use of AC_REVISION.
46144 * iconvdata/Makefile (distribute): No need to filter out CVS.
46145 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46148 2011-11-16 Andreas Schwab <schwab@redhat.com>
46150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46151 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46152 [USE_AS_STRNCASECMP_L]: Likewise.
46153 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46154 NO_TLS_DIRECT_SEG_REFS.
46155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46156 Fix argument offsets for non-PIC.
46157 [USE_AS_STRNCASECMP_L]: Likewise.
46158 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46159 NO_TLS_DIRECT_SEG_REFS.
46161 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46163 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46165 * locale/loadlocale.c (_nl_load_locale): Likewise.
46167 2011-11-15 Andreas Schwab <schwab@redhat.com>
46169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46170 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46172 (SYSCALL_GETTIME): Set errno on error.
46174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46175 count references to noai6ai_cached.
46177 2011-11-15 Ulrich Drepper <drepper@gmail.com>
46179 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46181 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46182 FD_CLOEXEC for /proc/self/maps.
46184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46185 FD_CLOEXEC for /proc/meminfo.
46187 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46190 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46191 FD_CLOEXEC for given file.
46193 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46195 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46196 FD_CLOEXEC for /etc/hosts.
46197 (_gethtent): Likewise.
46199 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46202 cancellation and set FD_CLOEXEC for /etc/netgroup.
46204 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46205 reading /etc/publickey.
46207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46208 allow cancellation when reading /etc/group.
46210 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46212 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46214 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46215 when using data file.
46217 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46219 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46220 (write_nis_obj): Use "c" and "e" in fopen.
46222 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46224 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46226 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46228 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46230 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46233 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46235 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46237 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46239 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46240 file parsing and set FD_CLOEXEC.
46242 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46244 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46246 2011-11-14 Andreas Schwab <schwab@redhat.com>
46248 * malloc/arena.c (arena_get2): Don't call reused_arena when
46249 _int_new_arena failed.
46251 2011-11-14 Ulrich Drepper <drepper@gmail.com>
46253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46254 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46259 to compile strcasecmp and strncasecmp.
46260 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46261 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46265 2011-11-13 Ulrich Drepper <drepper@gmail.com>
46267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46268 locale-defines.sym to gen-as-const-headers.
46269 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46270 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46272 to compile strcasecmp and strncasecmp.
46273 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46274 strcasecmp_l and strncasecmp_l.
46275 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46276 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46277 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46279 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46280 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46281 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46282 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46283 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46284 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46285 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46287 2011-11-12 Ulrich Drepper <drepper@gmail.com>
46289 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46290 result of SYSDEP_GETTIME_CPU to retval.
46291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46292 parameter list to macro. Remove trailing semicolon. Adjust users.
46294 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46302 from unused variable.
46304 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46306 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46309 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46312 * sunrpc/rpc_prot.c (rejected): Fix case value.
46314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46315 unsigned long long int to avoid warnings in shift.
46317 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46319 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46323 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46326 * nis/nis_table.c (nis_list): Use variable of correct type for
46327 result of __follow_path call.
46329 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46331 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46332 of math functions ceil, trunc, floor, round, and sqrt, when
46333 avaliable on the platform.
46334 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46340 2011-10-30 Marek Polacek <mpolacek@redhat.com>
46342 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46345 2011-11-11 Roland McGrath <roland@hack.frob.com>
46347 * include/unistd.h: Fix __readlink return type.
46348 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46350 2011-11-11 Ulrich Drepper <drepper@gmail.com>
46352 * stdlib/ucontext.h: Undo last change for makecontext.
46354 2011-11-11 Andreas Schwab <schwab@redhat.com>
46356 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46358 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46359 * setjmp/setjmp.h: Mark functions as non-leaf.
46360 * setjmp/bits/setjmp2.h: Likewise.
46361 * stdlib/ucontext.h: Likewise.
46363 2011-11-10 Andreas Schwab <schwab@redhat.com>
46365 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46366 (reused_arena): Don't check arena limit.
46367 (arena_get2): Atomically check arena limit.
46369 2011-11-08 Ulrich Drepper <drepper@gmail.com>
46371 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46372 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46377 2011-11-07 Andreas Schwab <schwab@redhat.com>
46379 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46380 handler when locking.
46382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46383 Fix size of allocated buffer.
46385 2011-11-04 Andreas Schwab <schwab@redhat.com>
46388 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46389 declarations for long double functions.
46390 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46392 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46394 2011-11-03 Andreas Schwab <schwab@redhat.com>
46396 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46399 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46402 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46404 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46406 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46408 * include/alloca.h (stackinfo_alloca_round): Define.
46409 (extend_alloca): Use it.
46410 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46411 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46414 * scripts/check-local-headers.sh: Ignore libaudit.h.
46416 * nscd/Makefile (extra-objs): Make recursively expanded.
46418 2011-11-01 Ulrich Drepper <drepper@gmail.com>
46420 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46423 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46424 * posix/tst-rfc3484-2.c: Likewise.
46425 * posix/tst-rfc3484-3.c: Likewise.
46427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46429 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46431 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46432 process_vm_writev from libc using GLIBC_2.15 version.
46434 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46436 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46438 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46441 2011-10-31 Ulrich Drepper <drepper@gmail.com>
46444 * nss/getent.c (initgroups_keys): Show error message in case no group
46447 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46448 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46449 __bump_nl_timestamp.
46450 * nscd/connections (nscd_init): When host database is served open
46451 netlink socket and request notification about configuration changes.
46452 (main_loop_poll): Track netlink file descriptor and bump timestamp
46453 in case data becomes available.
46454 (main_loop_epoll): Likewise.
46455 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46456 (database_pers_head): Add extra_data fileds.
46457 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46459 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46462 in6ai data, call __free_in6ai.
46463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46464 Add -DHAVE_NETLINK.
46465 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46466 interface information. Reuse previous data if netlink timestamp
46468 (__bump_nl_timestamp): New function.
46469 (__free_in6ai): New function.
46471 2011-10-30 Ulrich Drepper <drepper@gmail.com>
46473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46474 close_not_cancel_no_status here.
46475 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46477 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46480 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46483 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
46484 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46485 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46487 2011-07-03 Andreas Jaeger <aj@suse.de>
46490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46491 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46492 * math/libm-test.inc (sin_test): Add test case.
46494 2011-10-29 Ulrich Drepper <drepper@gmail.com>
46497 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46500 * elf/chroot_canon.c (chroot_canon): Cleanups.
46502 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46505 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46508 * string/test-strchr.c: Make usable for strchrnul testing.
46509 * string/test-strchrnul.c: New file.
46510 * string/Makefile (strop-tests): Add strchrnul.
46512 * po/it.po: Update from translation team.
46513 * po/es.po: Likewise.
46515 2011-10-28 Ulrich Drepper <drepper@gmail.com>
46517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46518 the three constants needed as parameters. Drop the others.
46519 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46520 __m128i_strloadu_tolower.
46521 Create and initialize variable zero and use it in all the places
46522 where _mm_setzero_si128 was used.
46524 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46525 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46526 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46530 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46531 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46532 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46534 __mpranred, __mptan.
46535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46542 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46543 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46545 2011-10-28 Andreas Schwab <schwab@redhat.com>
46547 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46548 redefine if SHARED.
46549 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46552 wide char related routines to wcsmbs subdir.
46554 2011-10-27 Andreas Schwab <schwab@redhat.com>
46557 * misc/sys/cdefs.h (__THROWNL): Define.
46558 * posix/unistd.h: Use __THREADNL instead of __THREAD
46559 for memory synchronization functions.
46561 2011-10-26 Roland McGrath <roland@hack.frob.com>
46564 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46566 * manual/stdio.texi (Obstack Streams): Node removed.
46568 2011-10-26 Andreas Schwab <schwab@redhat.com>
46570 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46571 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46574 * math/math_private.h (math_force_eval): Allow non-addressable
46576 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46578 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46581 file is not needed.
46583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46590 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46597 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46598 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46599 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46602 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46603 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46608 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46609 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46610 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46612 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46613 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46616 place. Use VEX encoding when compiling for AVX.
46618 2011-10-25 Andreas Schwab <schwab@redhat.com>
46620 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46621 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46623 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46625 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46627 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46628 useless if() expression.
46629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46649 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46651 2011-10-25 Andreas Schwab <schwab@redhat.com>
46653 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46655 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46657 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46659 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46660 .text section. Avoid duplicate constants.
46661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46670 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46675 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46701 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46707 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46709 * sysdeps/x86_64/dla.h: Move to ...
46710 * sysdeps/x86_64/fpu/dla.h: ...here.
46711 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46712 situations. Use __builtin_fma only for gcc 4.6 and up.
46714 * config.make.in: Add have-mfma4 entry.
46715 * configure.in: Substitute libc_cv_cc_fma4.
46716 * math/Makefile (dbl-only-routines): Add sincostab.
46717 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46718 Use __sincostab not sincos.
46719 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46726 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46727 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46728 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46729 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46732 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46734 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46735 define aliases when function name is a macro.
46736 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46737 sysdeps/ieee754/dbl-64/sincos.tbl.
46738 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46739 fma4-enabled routines.
46740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46750 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46752 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46771 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46782 2011-10-24 Andreas Schwab <schwab@redhat.com>
46784 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46786 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46794 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46795 Remove unused variable magic_bits.
46796 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46798 * string/strnlen.c: Define and use STRNLEN macro.
46799 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46800 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46802 * wcsmbs/wcslen.c: Define and use WCSLEN.
46803 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46804 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46805 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46806 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46807 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46808 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46811 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46814 strnlen-sse2-no-bsf.
46815 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46818 Add strnlen support.
46819 (USE_AS_STRNLEN): New macro.
46820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46821 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46822 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46823 * sysdeps/x86_64/wcslen.S: New file.
46825 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46828 XMM-moves are used for copying on small sizes.
46830 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46832 * wcsmbs/Makefile (strop-tests): Add wcschr.
46833 * wcsmbs/test-wcschr.c: New file.
46834 * string/test-strchr.c: Update.
46835 Add wcschr support.
46838 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46840 * wcsmbs/Makefile (strop-tests): Add wcslen.
46841 * wcsmbs/test-wcslen.c: New file.
46842 * string/test-strlen.c: Update.
46843 Add wcslen support.
46846 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46848 * po/it.po: Update from translation team.
46850 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46852 * sysdeps/x86_64/wcscmp.S: Update.
46853 Fix wrong comparison semantics.
46854 wcscmp shall use signed comparison not unsigned.
46855 Don't use substraction to avoid overflow bug.
46856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46857 * wcsmbc/wcscmp.c: Likewise.
46858 * string/test-strcmp.c: Likewise.
46859 Add new tests to check cases with negative values.
46861 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46863 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46864 * sysdeps/x86_64/dla.h: ...here. New file.
46865 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46875 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46878 __ynl_finite aliases.
46880 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46884 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46886 [DLA_FMA] (EMULV): Use DLA_FMA.
46887 [DLA_FMA] (MUL12): Use EMULV.
46888 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46889 that are not needed.
46890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46898 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46900 * math/s_nan.c: Undef __nan.
46901 * math/s_nanf.c: Undef __nanf.
46902 * math/s_nanl.c: Undef __nanl.
46903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46906 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46908 * math/s_catan.c: Add branch predictions.
46909 * math/s_catanf.c: Likewise.
46910 * math/s_catanh.c: Likewise.
46911 * math/s_catanhf.c: Likewise.
46912 * math/s_catanhl.c: Likewise.
46913 * math/s_catanl.c: Likewise.
46914 * math/s_cexp.c: Likewise.
46915 * math/s_cexpf.c: Likewise.
46916 * math/s_cexpl.c: Likewise.
46917 * math/s_clog.c: Likewise.
46918 * math/s_clog10.c: Likewise.
46919 * math/s_clog10f.c: Likewise.
46920 * math/s_clog10l.c: Likewise.
46921 * math/s_clogf.c: Likewise.
46922 * math/s_clogl.c: Likewise.
46923 * math/s_csqrt.c: Likewise.
46924 * math/s_csqrtf.c: Likewise.
46925 * math/s_csqrtl.c: Likewise.
46926 * math/s_ctanf.c: Likewise.
46927 * math/s_ctanh.c: Likewise.
46928 * math/s_ctanhf.c: Likewise.
46929 * math/s_ctanhl.c: Likewise.
46930 * math/s_ctanl.c: Likewise.
46932 * math/math_private.h: Define __nan, __nanf, __nanl.
46933 * math/s_cacosh.c: Include <math_private.h>.
46934 * math/s_cacoshl.c: Likewise.
46935 * math/s_casinh.c: Likewise.
46936 * math/s_casinhf.c: Likewise.
46937 * math/s_casinhl.c: Likewise.
46938 * math/s_ccos.c: Rely entire on ccosh.
46939 * math/s_ccosf.c: Rely entire on ccoshf.
46940 * math/s_ccosl.c: Rely entirely on ccoshl.
46941 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46942 Remove tests for FE_INVALID.
46943 * math/s_ccoshf.c: Likewise.
46944 * math/s_ccoshl.c: Likewise.
46945 * math/s_csin.c: Likewise.
46946 * math/s_csinf.c: Likewise.
46947 * math/s_csinh.c Likewise.
46948 * math/s_csinhf.c: Likewise.
46949 * math/s_csinhl.c: Likewise.
46950 * math/s_csinl.c: Likewise.
46951 * math/s_ctan.c: Likewise.
46952 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46953 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46956 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46959 compilation problems.
46961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46964 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46966 * sysdeps/i386/configure.in: Test for -mfma4 option.
46967 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46968 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46969 COMMON_CPUID_INDEX_80000001.
46970 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46971 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46972 use it if FMA3 is not supported.
46973 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46975 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46978 2011-10-20 Andreas Schwab <schwab@redhat.com>
46981 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46982 it would create a cycle with a link time dependency.
46984 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46986 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46988 * string/Makefile (strop-tests): Add rawmemchr.
46989 * string/test-rawmemchr.c: New file.
46991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46993 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46994 when compiling str{,n}casecmp and when AVX is available. Hook up
46995 new optimized code in initializers.
46997 2011-10-19 Andreas Schwab <schwab@redhat.com>
46999 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47000 __feraiseexcept instead of feraiseexcept.
47002 2011-10-18 Ulrich Drepper <drepper@gmail.com>
47004 * math/math_private.h: Define defaults for libc_fetestexcept and
47006 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47011 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47012 libc_fetestexcept and libc_feupdateenv.
47014 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47015 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47016 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47017 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47018 libc_feholdexcept_setround.
47020 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47021 Add s_nearbyint-c and s_nearbyintf-c.
47022 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47023 nearbyintf inlines.
47024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47029 * math/math_private.h: Define defaults for libc_fegetround,
47030 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47031 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47032 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47034 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47035 standard functions.
47036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47037 Remove comments and hacks for old compiler versions.
47038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47039 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47040 libc_feholdexceptl.
47042 2011-10-18 Andreas Schwab <schwab@redhat.com>
47044 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47045 (__feraiseexcept_renamed): Add __NTH.
47046 (feraiseexcept): Add __NTH. Rename local variables to fix
47047 namespace violations.
47049 2011-10-17 Ulrich Drepper <drepper@gmail.com>
47051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47053 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47055 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47056 recently added interfaces.
47057 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47059 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47060 about macro parameter expansion.
47062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47063 __NO_MATH_INLINES is defined. Cleanups.
47065 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47066 and __floorf is target has SSE4.1.
47067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47068 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47069 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47072 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47074 (floorf): Likewise.
47076 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47078 2011-10-17 Andreas Schwab <schwab@redhat.com>
47080 * misc/sys/cdefs.h: Fix last change.
47082 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47085 2011-10-16 Ulrich Drepper <drepper@gmail.com>
47087 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47089 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47098 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47099 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47101 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47104 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47107 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47108 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47110 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47113 ceil, ceilf, floor, floorf.
47115 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47116 Perform IRELATIVE relocations last.
47118 * elf/do-rel.h: Add another parameter nrelative, replacing the
47119 local variable with the same name. Change name of the function
47120 to end in Rel or Rela (uppercase).
47121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47122 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47123 elf_dynamic_do_##reloc function.
47125 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47127 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47128 is sufficient, at least on modern CPUs.
47130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47132 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47135 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47137 * math/bits/math-finite.h: Add entries for exp.
47138 * math/e_expl.c: Add __*_finite alias.
47139 * sysdeps/i386/fpu/e_exp.S: Likewise.
47140 * sysdeps/i386/fpu/e_expf.S: Likewise.
47141 * sysdeps/i386/fpu/e_expl.c: Likewise.
47142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47146 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47150 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47151 is sufficient, at least on modern CPUs.
47153 * ctype/ctype-info.c (__ctype_init): Define.
47154 * include/ctype.h (__ctype_init): Declare.
47155 (__ctype_b_loc): The variable is always initialized.
47156 (__ctype_toupper_loc): Likewise.
47157 (__ctype_tolower_loc): Likewise.
47158 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47159 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47161 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47163 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47165 * configure.in: Also look in $cxxmachine/include for C++ system
47168 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47170 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47171 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47172 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47173 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47175 (USE_AS_WMEMCMP): New macro.
47177 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47178 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47179 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47180 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47182 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47183 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47185 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47186 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47188 (USE_AS_WMEMCMP): New macro.
47189 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47190 * sysdeps/string/test-memcmp.c: Update.
47191 Fix simple_wmemcmp.
47193 * wcsmbs/wmemcmp.c: Update.
47194 (WMEMCMP): New macro.
47197 2011-10-12 Andreas Jaeger <aj@suse.de>
47200 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47202 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47204 * libio/iofwide.c (do_length): Avoid warning.
47206 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47208 2011-10-14 Ulrich Drepper <drepper@gmail.com>
47210 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47212 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47213 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47214 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47215 * sysdeps/i386/i686/fpu/e_log.S: New file.
47216 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47217 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47219 * ctype/ctype.h: Add support for inlined isXXX functions when
47220 compiling C++ code.
47222 2011-10-14 Andreas Schwab <schwab@redhat.com>
47224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47228 2011-10-13 Roland McGrath <roland@hack.frob.com>
47231 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47233 2011-10-13 Andreas Schwab <schwab@redhat.com>
47235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47236 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47239 * sysdeps/x86_64/memrchr.S: Check for zero size.
47241 * string/stratcliff.c: Add memrchr tests.
47243 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47246 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47247 rawmemchr-sse2 rawmemchr-sse2-bsf.
47248 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47250 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47251 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47252 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47253 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47254 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47255 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47258 * string/memrchr.c (MEMRCHR): New macro.
47260 2011-10-12 Ulrich Drepper <drepper@gmail.com>
47262 Add integration with gcc's -ffinite-math-only and optimize wrapper
47264 * Versions.def: Define GLIBC_2.15 version for libm.
47265 * math/Makefile (headers): Add bits/math-finite.h.
47266 * math/bits/math-finite.h: New file.
47267 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47268 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47269 * math/e_acoshl.c: Add __*_finite alias.
47270 * math/e_acosl.c: Likewise.
47271 * math/e_asinl.c: Likewise.
47272 * math/e_atan2l.c: Likewise.
47273 * math/e_atanhl.c: Likewise.
47274 * math/e_coshl.c: Likewise.
47275 * math/e_exp10.c: Likewise.
47276 * math/e_exp10f.c: Likewise.
47277 * math/e_exp10l.c: Likewise.
47278 * math/e_exp2l.c: Likewise.
47279 * math/e_fmodl.c: Likewise.
47280 * math/e_gammal_r.c: Likewise.
47281 * math/e_hypotl.c: Likewise.
47282 * math/e_j0l.c: Likewise.
47283 * math/e_j1l.c: Likewise.
47284 * math/e_jnl.c: Likewise.
47285 * math/e_lgammal_r.c: Likewise.
47286 * math/e_log10l.c: Likewise.
47287 * math/e_log2l.c: Likewise.
47288 * math/e_logl.c: Likewise.
47289 * math/e_powl.c: Likewise.
47290 * math/e_sinhl.c: Likewise.
47291 * math/e_sqrtl.c: Likewise.
47292 * math/e_scalb.c: Completely rewritten and optimized.
47293 * math/e_scalbf.c: Likewise.
47294 * math/e_scalbl.c: Likewise.
47295 * math/w_acos.c: Likewise.
47296 * math/w_acosf.c: Likewise.
47297 * math/w_acosl.c: Likewise.
47298 * math/w_acosh.c: Likewise.
47299 * math/w_acoshf.c: Likewise.
47300 * math/w_acoshl.c: Likewise.
47301 * math/w_asin.c: Likewise.
47302 * math/w_asinf.c: Likewise.
47303 * math/w_asinl.c: Likewise.
47304 * math/w_atan2.c: Likewise.
47305 * math/w_atan2f.c: Likewise.
47306 * math/w_atan2l.c: Likewise.
47307 * math/w_atanh.c: Likewise.
47308 * math/w_atanhf.c: Likewise.
47309 * math/w_atanhl.c: Likewise.
47310 * math/w_exp10.c: Likewise.
47311 * math/w_exp10f.c: Likewise.
47312 * math/w_exp10l.c: Likewise.
47313 * math/w_fmod.c: Likewise.
47314 * math/w_fmodf.c: Likewise.
47315 * math/w_fmodl.c: Likewise.
47316 * math/w_j0.c: Likewise.
47317 * math/w_j0f.c: Likewise.
47318 * math/w_j0l.c: Likewise.
47319 * math/w_j1.c: Likewise.
47320 * math/w_j1f.c: Likewise.
47321 * math/w_j1l.c: Likewise.
47322 * math/w_jn.c: Likewise.
47323 * math/w_jnf.c: Likewise.
47324 * math/w_log.c: Likewise.
47325 * math/w_logf.c: Likewise.
47326 * math/w_logl.c: Likewise.
47327 * math/w_log10.c: Likewise.
47328 * math/w_log10f.c: Likewise.
47329 * math/w_log10l.c: Likewise.
47330 * math/w_log2.c: Likewise.
47331 * math/w_log2f.c: Likewise.
47332 * math/w_log2l.c: Likewise.
47333 * math/w_pow.c: Likewise.
47334 * math/w_powf.c: Likewise.
47335 * math/w_powl.c: Likewise.
47336 * math/w_remainder.c: Likewise.
47337 * math/w_remainderf.c: Likewise.
47338 * math/w_remainderl.c: Likewise.
47339 * math/w_scalb.c: Likewise.
47340 * math/w_scalbf.c: Likewise.
47341 * math/w_scalbl.c: Likewise.
47342 * math/w_sqrt.c: Likewise.
47343 * math/w_sqrtf.c: Likewise.
47344 * math/w_sqrtl.c: Likewise.
47345 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47346 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47348 * math/math_private.h: Declare __kernel_standard_f.
47349 * math/w_cosh.c: Remove cruft and optimize a bit.
47350 * math/w_coshf.c: Likewise.
47351 * math/w_coshl.c: Likewise.
47352 * math/w_exp2.c: Likewise.
47353 * math/w_exp2f.c: Likewise.
47354 * math/w_exp2l.c: Likewise.
47355 * math/w_hypot.c: Likewise.
47356 * math/w_hypotf.c: Likewise.
47357 * math/w_hypotl.c: Likewise.
47358 * math/w_lgamma.c: Likewise.
47359 * math/w_lgamma_r.c: Likewise.
47360 * math/w_lgammaf.c: Likewise.
47361 * math/w_lgammaf_r.c: Likewise.
47362 * math/w_lgammal.c: Likewise.
47363 * math/w_lgammal_r.c: Likewise.
47364 * math/w_sinh.c: Likewise.
47365 * math/w_sinhf.c: Likewise.
47366 * math/w_sinhl.c: Likewise.
47367 * math/w_tgamma.c: Likewise.
47368 * math/w_tgammaf.c: Likewise.
47369 * math/w_tgammal.c: Likewise.
47370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47372 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47373 Minor optimizations. Pretty printing. Remove cruft.
47374 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47378 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47379 * sysdeps/i386/fpu/e_asin.S: Likewise.
47380 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47381 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47382 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47383 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47387 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47388 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47389 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47390 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47391 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47392 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47393 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47394 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47395 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47396 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47397 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47398 * sysdeps/i386/fpu/e_log.S: Likewise.
47399 * sysdeps/i386/fpu/e_log10.S: Likewise.
47400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47402 * sysdeps/i386/fpu/e_log2.S: Likewise.
47403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47405 * sysdeps/i386/fpu/e_logf.S: Likewise.
47406 * sysdeps/i386/fpu/e_logl.S: Likewise.
47407 * sysdeps/i386/fpu/e_pow.S: Likewise.
47408 * sysdeps/i386/fpu/e_powf.S: Likewise.
47409 * sysdeps/i386/fpu/e_powl.S: Likewise.
47410 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47411 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47412 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47416 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47417 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47418 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47480 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47490 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47498 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47500 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47504 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47508 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47516 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47517 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47518 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47519 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47520 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47521 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47522 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47527 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47529 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47530 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47531 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47532 (__isnanf): Likewise.
47533 (__isinf_ns): Likewise.
47534 (__isinf_nsf): Likewise.
47535 (__finite): Likewise.
47536 (__finitef): Likewise.
47537 (__ieee754_sqrt): Define as macro.
47538 (__ieee754_sqrtf): Define as macro.
47539 (__ieee754_sqrtl): Define as macro.
47540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47542 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47543 __FINITE_MATH_ONLY__ consistent.
47544 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47546 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47548 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47553 2011-10-09 Ulrich Drepper <drepper@gmail.com>
47555 * po/ja.po: Update from translation team.
47557 2011-10-08 Roland McGrath <roland@hack.frob.com>
47559 * locale/programs/locarchive.c (prepare_address_space): New function.
47560 (create_archive, enlarge_archive, open_archive): Use it.
47562 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47563 inside [SHARED], where it is used.
47565 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47567 * nss/getent.c (netgroup_keys): Remove unused variable.
47568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47570 2011-10-08 Ulrich Drepper <drepper@gmail.com>
47572 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47578 * math/Makefile (libm-calls): Add s_isinf_ns.
47579 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47580 * math/multc3.c: Likewise.
47581 * math/s_casin.c: Likewise.
47582 * math/s_casinf.c: Likewise.
47583 * math/s_casinl.c: Likewise.
47584 * math/s_ccos.c: Likewise.
47585 * math/s_ccosf.c: Likewise.
47586 * math/s_ccosl.c: Likewise.
47587 * math/s_ctan.c: Likewise.
47588 * math/s_ctanf.c: Likewise.
47589 * math/s_ctanh.c: Likewise.
47590 * math/s_ctanhf.c: Likewise.
47591 * math/s_ctanhl.c: Likewise.
47592 * math/s_ctanl.c: Likewise.
47593 * math/w_fmod.c: Likewise.
47594 * math/w_fmodf.c: Likewise.
47595 * math/w_fmodl.c: Likewise.
47596 * math/w_remainder.c: Likewise.
47597 * math/w_remainderf.c: Likewise.
47598 * math/w_remainderl.c: Likewise.
47599 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47600 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47603 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47604 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47605 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47606 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47608 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47610 * stdio-common/printf_fphex.c: Likewise.
47611 * stdio-common/printf_size.c: Likewise.
47613 * math/e_exp10.c: Include math_private.h using <...> not "...".
47614 * math/e_exp10f.c: Likewise.
47615 * math/e_exp10l.c: Likewise.
47616 * math/e_exp2l.c: Likewise.
47617 * math/e_j0l.c: Likewise.
47618 * math/e_j1l.c: Likewise.
47619 * math/e_jnl.c: Likewise.
47620 * math/e_lgammal_r.c: Likewise.
47621 * math/e_rem_pio2l.c: Likewise.
47622 * math/e_scalb.c: Likewise.
47623 * math/e_scalbf.c: Likewise.
47624 * math/e_scalbl.c: Likewise.
47625 * math/k_cosl.c: Likewise.
47626 * math/k_sinl.c: Likewise.
47627 * math/k_tanl.c: Likewise.
47628 * math/s_cacoshf.c: Likewise.
47629 * math/s_catan.c: Likewise.
47630 * math/s_catanf.c: Likewise.
47631 * math/s_catanh.c: Likewise.
47632 * math/s_catanhf.c: Likewise.
47633 * math/s_catanhl.c: Likewise.
47634 * math/s_catanl.c: Likewise.
47635 * math/s_ccosh.c: Likewise.
47636 * math/s_ccoshf.c: Likewise.
47637 * math/s_ccoshl.c: Likewise.
47638 * math/s_cexp.c: Likewise.
47639 * math/s_cexpf.c: Likewise.
47640 * math/s_cexpl.c: Likewise.
47641 * math/s_clog.c: Likewise.
47642 * math/s_clog10.c: Likewise.
47643 * math/s_clog10f.c: Likewise.
47644 * math/s_clog10l.c: Likewise.
47645 * math/s_clogf.c: Likewise.
47646 * math/s_clogl.c: Likewise.
47647 * math/s_csin.c: Likewise.
47648 * math/s_csinf.c: Likewise.
47649 * math/s_csinh.c: Likewise.
47650 * math/s_csinhf.c: Likewise.
47651 * math/s_csinhl.c: Likewise.
47652 * math/s_csinl.c: Likewise.
47653 * math/s_csqrt.c: Likewise.
47654 * math/s_csqrtf.c: Likewise.
47655 * math/s_csqrtl.c: Likewise.
47656 * math/s_ctan.c: Likewise.
47657 * math/s_ctanf.c: Likewise.
47658 * math/s_ctanh.c: Likewise.
47659 * math/s_ctanhf.c: Likewise.
47660 * math/s_ctanhl.c: Likewise.
47661 * math/s_ctanl.c: Likewise.
47662 * math/s_ldexp.c: Likewise.
47663 * math/s_ldexpf.c: Likewise.
47664 * math/s_ldexpl.c: Likewise.
47665 * math/s_significand.c: Likewise.
47666 * math/s_significandf.c: Likewise.
47667 * math/s_significandl.c: Likewise.
47668 * math/w_acos.c: Likewise.
47669 * math/w_acosf.c: Likewise.
47670 * math/w_acosh.c: Likewise.
47671 * math/w_acoshf.c: Likewise.
47672 * math/w_acoshl.c: Likewise.
47673 * math/w_acosl.c: Likewise.
47674 * math/w_asin.c: Likewise.
47675 * math/w_asinf.c: Likewise.
47676 * math/w_asinl.c: Likewise.
47677 * math/w_atan2.c: Likewise.
47678 * math/w_atan2f.c: Likewise.
47679 * math/w_atan2l.c: Likewise.
47680 * math/w_atanh.c: Likewise.
47681 * math/w_atanhf.c: Likewise.
47682 * math/w_atanhl.c: Likewise.
47683 * math/w_cosh.c: Likewise.
47684 * math/w_coshf.c: Likewise.
47685 * math/w_coshl.c: Likewise.
47686 * math/w_dremf.c: Likewise.
47687 * math/w_exp10.c: Likewise.
47688 * math/w_exp10f.c: Likewise.
47689 * math/w_exp10l.c: Likewise.
47690 * math/w_exp2.c: Likewise.
47691 * math/w_exp2f.c: Likewise.
47692 * math/w_fmod.c: Likewise.
47693 * math/w_fmodf.c: Likewise.
47694 * math/w_fmodl.c: Likewise.
47695 * math/w_hypot.c: Likewise.
47696 * math/w_hypotf.c: Likewise.
47697 * math/w_hypotl.c: Likewise.
47698 * math/w_j0.c: Likewise.
47699 * math/w_j0f.c: Likewise.
47700 * math/w_j0l.c: Likewise.
47701 * math/w_j1.c: Likewise.
47702 * math/w_j1f.c: Likewise.
47703 * math/w_j1l.c: Likewise.
47704 * math/w_jn.c: Likewise.
47705 * math/w_jnf.c: Likewise.
47706 * math/w_jnl.c: Likewise.
47707 * math/w_lgamma.c: Likewise.
47708 * math/w_lgamma_r.c: Likewise.
47709 * math/w_lgammaf.c: Likewise.
47710 * math/w_lgammaf_r.c: Likewise.
47711 * math/w_lgammal.c: Likewise.
47712 * math/w_lgammal_r.c: Likewise.
47713 * math/w_log.c: Likewise.
47714 * math/w_log10.c: Likewise.
47715 * math/w_log10f.c: Likewise.
47716 * math/w_log10l.c: Likewise.
47717 * math/w_log2.c: Likewise.
47718 * math/w_log2f.c: Likewise.
47719 * math/w_log2l.c: Likewise.
47720 * math/w_logf.c: Likewise.
47721 * math/w_logl.c: Likewise.
47722 * math/w_pow.c: Likewise.
47723 * math/w_powf.c: Likewise.
47724 * math/w_powl.c: Likewise.
47725 * math/w_remainder.c: Likewise.
47726 * math/w_remainderf.c: Likewise.
47727 * math/w_remainderl.c: Likewise.
47728 * math/w_scalb.c: Likewise.
47729 * math/w_scalbf.c: Likewise.
47730 * math/w_scalbl.c: Likewise.
47731 * math/w_sinh.c: Likewise.
47732 * math/w_sinhf.c: Likewise.
47733 * math/w_sinhl.c: Likewise.
47734 * math/w_sqrt.c: Likewise.
47735 * math/w_sqrtf.c: Likewise.
47736 * math/w_sqrtl.c: Likewise.
47737 * math/w_tgamma.c: Likewise.
47738 * math/w_tgammaf.c: Likewise.
47739 * math/w_tgammal.c: Likewise.
47741 * po/ja.po: Update from translation team.
47743 2011-09-29 Andreas Jaeger <aj@suse.de>
47746 * sunrpc/netname.c (netname2host): Fix logic.
47750 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47752 * math/w_remainder.c (__remainder): Likewise.
47753 * math/w_remainderf.c (__remainderf): Likewise.
47754 * math/libm-test.inc (remainder_test): Add test cases.
47756 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47758 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47761 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47763 * string/test-memcmp.c: Avoid unncessary #defines.
47764 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47766 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47768 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47769 Use new sse2 version for core i3 - i7 as it's faster
47770 than sse42 version.
47771 (bit_Prefer_PMINUB_for_stringop): New.
47772 * sysdeps/x86_64/rawmemchr.S: Update.
47773 Replace with faster SSE2 version.
47774 * sysdeps/x86_64/memrchr.S: New file.
47775 * sysdeps/x86_64/memchr.S: Update.
47776 Replace with faster SSE2 version.
47778 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47780 * elf/dl-load.c (lose): Add cast to avoid warning.
47782 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47784 * po/ca.po: Update from translation team.
47786 * inet/getnetgrent_r.c: Hook up nscd.
47787 * nscd/Makefile (routines): Add nscd_netgroup.
47788 (nscd-modules): Add netgroupcache.
47789 (CFLAGS-netgroupcache.c): Define.
47790 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47791 (cache_search): Add const to second parameter.
47792 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47794 (dbs): Add netgrdb entry.
47795 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47796 (verify_persistent_db): Handle netgrdb.
47797 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47798 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47800 (netgroup_response_header): Define.
47801 (innetgroup_response_header): Define.
47802 (datahead): Add netgroup_response_header and innetgroup_response_header
47804 * nscd/nscd.conf: Add entries for netgroup cache.
47805 * nscd/nscd.h (dbtype): Add netgrdb.
47806 (_PATH_NSCD_NETGROUP_DB): Define.
47807 (netgroup_iov_disabled): Declare.
47808 (xmalloc, xcalloc, xrealloc): Move declarations here.
47809 (cache_search): Adjust prototype.
47810 Add netgroup-related prototypes.
47811 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47812 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47813 (__nscd_innetgr): Declare.
47814 * nscd/selinux.c (perms): Use access_vector_t as element type and
47815 add netgroup-related initializers.
47816 * nscd/netgroupcache.c: New file.
47817 * nscd/nscd_netgroup.c: New file.
47818 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47819 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47820 For four parameters use innetgr.
47821 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47822 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47823 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47824 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47826 * nscd/connections.c (register_traced_file): Don't register file
47827 for disabled databases.
47829 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47831 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47833 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47834 from tree and freeing node.
47836 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47838 * nss/nsswitch.c (__nss_database_lookup): Handle
47839 nss_parse_service_list out of memory case.
47841 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47843 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47844 out of memory case.
47846 2011-10-04 Andreas Schwab <schwab@redhat.com>
47848 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47849 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47851 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47852 elf_machine_rela, elf_machine_lazy_rel.
47853 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47854 (ELF_DYNAMIC_DO_REL): Likewise.
47855 (ELF_DYNAMIC_DO_RELA): Likewise.
47856 (ELF_DYNAMIC_RELOCATE): Likewise.
47857 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47858 to ELF_DYNAMIC_DO_REL.
47859 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47860 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47861 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47864 skip_ifunc, don't call ifunc function if non-zero.
47865 (elf_machine_rela): Likewise.
47866 (elf_machine_lazy_rel): Likewise.
47867 (elf_machine_lazy_rela): Likewise.
47868 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47869 (elf_machine_lazy_rel): Likewise.
47870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47872 (elf_machine_lazy_rel): Likewise.
47873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47875 (elf_machine_lazy_rel): Likewise.
47876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47877 (elf_machine_lazy_rel): Likewise.
47878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47879 (elf_machine_lazy_rel): Likewise.
47880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47881 (elf_machine_lazy_rel): Likewise.
47882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47883 (elf_machine_lazy_rel): Likewise.
47884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47885 (elf_machine_lazy_rel): Likewise.
47886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47887 (elf_machine_lazy_rel): Likewise.
47889 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47891 * nss/nss_files/files-init.c (_nss_files_init): Use static
47892 initialization for all the *_traced_file variables.
47894 2011-09-28 Andreas Schwab <schwab@redhat.com>
47896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47898 2011-09-27 Roland McGrath <roland@hack.frob.com>
47901 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47903 2011-09-27 Andreas Schwab <schwab@redhat.com>
47905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47906 Reread the line before reparsing it.
47908 2011-09-26 Andreas Schwab <schwab@redhat.com>
47910 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47912 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47913 Maxim Kuvyrkov <maxim@codesourcery.com>
47914 Joseph Myers <joseph@codesourcery.com>
47916 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47917 if needed for __stack_chk_guard.
47919 2011-09-19 Roland McGrath <roland@hack.frob.com>
47921 * sysdeps/posix/spawni.c (script_execute): Always define it.
47922 It will be optimized away if unused.
47923 (maybe_script_execute): New function.
47924 (__spawni): Call it.
47926 * Makerules: Don't include tls.make.
47927 (config-tls): Always set to thread.
47928 * tls.make.c: File removed.
47930 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47932 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47933 * config.make.in (CPPFLAGS-config): New substituted variable.
47935 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47940 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47941 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47943 2011-09-15 Roland McGrath <roland@hack.frob.com>
47945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47946 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47948 (CALL_FAIL): Likewise.
47949 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47950 (CALL_FAIL): Macro removed.
47951 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47953 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47956 for __FINITE_MATH_ONLY__ == 1.
47958 2011-09-15 Andreas Schwab <schwab@redhat.com>
47960 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47961 __ieee754_sqrt instead of sqrt.
47962 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47963 __ieee754_sqrtf instead of sqrtf.
47964 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47965 __floorf instead of floorf.
47966 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47967 __floorf, __truncf instead of floorf, truncf.
47969 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47971 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47973 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47974 __extern_always_inline.
47975 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47978 2011-09-14 Andreas Schwab <schwab@redhat.com>
47980 * elf/rtld.c (dl_main): Also relocate in dependency order when
47981 doing symbol dependency testing.
47983 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47986 Always define `refsym'.
47988 2011-09-13 Andreas Schwab <schwab@redhat.com>
47990 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47991 (__FD_ELT): Renamed from __FDELT.
47992 * misc/bits/select2.h (__FD_ELT): Likewise.
47993 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47994 __FD_MASK instead of __FDELT, __FDMASK.
47995 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47997 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48000 * elf/Makefile (gen-ldd): Fix pattern.
48002 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48003 (init_tls): Likewise.
48005 2011-09-12 Ulrich Drepper <drepper@gmail.com>
48007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48009 2011-09-12 Andreas Schwab <schwab@redhat.com>
48011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48012 `struct cmsghdr *' instead of `void *'.
48013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48016 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48018 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48020 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48021 ldd_rewrite_script.
48023 2011-09-11 Ulrich Drepper <drepper@gmail.com>
48025 * configure.in: Remove --with-tls option.
48026 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48027 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48028 out in case it is missing.
48029 * sysdeps/ia64/elf/configure.in: Likewise.
48030 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48031 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48032 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48033 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48034 * sysdeps/sh/elf/configure.in: Likewise.
48035 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48036 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48037 * sysdeps/x86_64/elf/configure.in: Likewise.
48038 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48039 * sysdeps/mach/hurd/tls.h: Likewise.
48042 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48045 * configure.in: Fix use of AC_INIT.
48047 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48049 2011-09-10 Ulrich Drepper <drepper@gmail.com>
48051 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48053 * malloc/hooks.c: Likewise.
48056 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48057 variables statically.
48058 (narenas): Initialize.
48059 (list_lock): Initialize.
48060 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48061 initializtion of main_arena and list_lock. Small cleanups.
48062 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48063 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48064 Add initializers to main_arena and mp_.
48065 (malloc_state): Remove pagesize member. Change all users to use
48068 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48069 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48070 is always initialized.
48072 * malloc/malloc.c: Removed unused configurations and dead code.
48073 * malloc/arena.c: Likewise.
48074 * malloc/hooks.c: Likewise.
48075 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48077 * include/tls.h: Removed. USE___THREAD must always be defined.
48078 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48079 * elf/dl-libc.c: Likewise.
48080 * elf/dl-tsd.c: Likewise.
48081 * include/errno.h: Likewise.
48082 * include/netdb.h: Likewise.
48083 * include/resolv.h: Likewise.
48084 * inet/herrno-loc.c: Likewise.
48085 * inet/herrno.c: Likewise.
48086 * malloc/arena.c: Likewise.
48087 * malloc/hooks.c: Likewise.
48088 * malloc/malloc.c: Likewise.
48089 * resolv/res-state.c: Likewise.
48090 * resolv/res_libc.c: Likewise.
48091 * sysdeps/i386/dl-machine.h: Likewise.
48092 * sysdeps/ia64/dl-machine.h: Likewise.
48093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48097 * sysdeps/sh/dl-machine.h: Likewise.
48098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48100 * sysdeps/unix/i386/sysdep.S: Likewise.
48101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48112 * sysdeps/x86_64/dl-machine.h: Likewise.
48113 * tls.make.c: Likewise.
48115 * configure.in: Remove --with-__thread option. Make tests for
48116 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48117 tls_model attribute fail if no support is available. Remove
48119 * Makeconfig: Adjust for dropped configure option. All features are
48121 * Makerules: Likewise.
48122 * Versions.def: Likewise.
48123 * argp/argp-fmtstream.c: Likewise.
48124 * argp/argp-fmtstream.h: Likewise.
48125 * argp/argp-help.c: Likewise.
48126 * assert/assert.c: Likewise.
48127 * config.h.in: Likewise.
48128 * config.make.in: Likewise.
48129 * configure: Likewise.
48130 * configure.in: Likewise.
48131 * csu/Versions: Likewise.
48132 * csu/init.c: Likewise.
48133 * elf/tst-audit2.c: Likewise.
48134 * elf/tst-tls10.c: Likewise.
48135 * elf/tst-tls10.h: Likewise.
48136 * elf/tst-tls11.c: Likewise.
48137 * elf/tst-tls12.c: Likewise.
48138 * elf/tst-tls14.c: Likewise.
48139 * elf/tst-tlsmod11.c: Likewise.
48140 * elf/tst-tlsmod12.c: Likewise.
48141 * elf/tst-tlsmod13.c: Likewise.
48142 * elf/tst-tlsmod13a.c: Likewise.
48143 * elf/tst-tlsmod14a.c: Likewise.
48144 * elf/tst-tlsmod15b.c: Likewise.
48145 * elf/tst-tlsmod16a.c: Likewise.
48146 * elf/tst-tlsmod16b.c: Likewise.
48147 * elf/tst-tlsmod7.c: Likewise.
48148 * elf/tst-tlsmod8.c: Likewise.
48149 * elf/tst-tlsmod9.c: Likewise.
48150 * gmon/gmon.c: Likewise.
48151 * grp/fgetgrent_r.c: Likewise.
48152 * grp/putgrent.c: Likewise.
48153 * hurd/fopenport.c: Likewise.
48154 * include/libc-symbols.h: Likewise.
48155 * include/tls.h: Likewise.
48156 * intl/gettextP.h: Likewise.
48157 * intl/loadinfo.h: Likewise.
48158 * locale/global-locale.c: Likewise.
48159 * locale/localeinfo.h: Likewise.
48160 * mach/devstream.c: Likewise.
48161 * malloc/arena.c: Likewise.
48162 * malloc/set-freeres.c: Likewise.
48163 * misc/err.c: Likewise.
48164 * misc/getttyent.c: Likewise.
48165 * misc/mntent_r.c: Likewise.
48166 * posix/getopt.c: Likewise.
48167 * posix/wordexp.c: Likewise.
48168 * pwd/fgetpwent_r.c: Likewise.
48169 * resolv/Versions: Likewise.
48170 * resolv/res_hconf.c: Likewise.
48171 * shadow/fgetspent_r.c: Likewise.
48172 * shadow/putspent.c: Likewise.
48173 * stdio-common/printf_fphex.c: Likewise.
48174 * stdio-common/tmpfile.c: Likewise.
48175 * stdlib/abort.c: Likewise.
48176 * stdlib/fmtmsg.c: Likewise.
48177 * sunrpc/auth_unix.c: Likewise.
48178 * sunrpc/clnt_perr.c: Likewise.
48179 * sunrpc/clnt_tcp.c: Likewise.
48180 * sunrpc/clnt_udp.c: Likewise.
48181 * sunrpc/clnt_unix.c: Likewise.
48182 * sunrpc/openchild.c: Likewise.
48183 * sunrpc/svc_simple.c: Likewise.
48184 * sunrpc/svc_tcp.c: Likewise.
48185 * sunrpc/svc_udp.c: Likewise.
48186 * sunrpc/svc_unix.c: Likewise.
48187 * sunrpc/xdr.c: Likewise.
48188 * sunrpc/xdr_array.c: Likewise.
48189 * sunrpc/xdr_rec.c: Likewise.
48190 * sunrpc/xdr_ref.c: Likewise.
48191 * sunrpc/xdr_stdio.c: Likewise.
48193 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48195 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48197 2011-07-03 Andreas Jaeger <aj@suse.de>
48199 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48200 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48201 regenerate with gen-libm-tests.pl.
48203 2010-05-12 Petr Baudis <pasky@suse.cz>
48206 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48207 around j0() zero points by switching to j1().
48208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48213 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
48219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48220 Patch in part by Pavel Roskin <proski@gnu.org>.
48223 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48225 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48226 Free memory block if necessary.
48229 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48230 be NULL. Don't lock in this case.
48232 2011-09-09 Roland McGrath <roland@hack.frob.com>
48234 * elf/elf.h (ELFOSABI_GNU): New macro.
48235 (ELFOSABI_LINUX): Define to that.
48237 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48239 * string/strncat.c (strncat): Undef the symbol in case it has been
48240 defined in bits/string.h.
48242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
48244 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48246 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
48249 2011-08-17 Andreas Jaeger <aj@suse.de>
48251 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48253 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48254 Ian Lance Taylor <iant@google.com>
48256 * math/libm-test.inc (lround_test): New testcase.
48257 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48259 2011-09-08 Ulrich Drepper <drepper@gmail.com>
48261 * Makefile: Remove support for automatic cvs check-ins.
48262 * Makerules: Likewise.
48263 * config.make.in: Likewise.
48264 * configure.in: Likewise.
48265 * intl/Makefile: Likewise.
48266 * locale/Makefile: Likewise.
48267 * po/Makefile: Likewise.
48268 * posix/Makefile: Likewise.
48269 * sysdeps/gnu/Makefile: Likewise.
48270 * sysdeps/mach/hurd/Makefile: Likewise.
48271 * sysdeps/sparc/sparc32/Makefile: Likewise.
48274 * posix/Makefile (bug-regex32-ENV): Define.
48275 Patch by John Stanley <jpsinthemix@verizon.net>.
48277 * misc/Makefile (headers): Add bits/select2.h.
48278 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48279 * misc/bits/select2.h: New file.
48280 * include/bits/select2.h: New file.
48281 * debug/Makefile (routines): Add fdelt_chk.
48282 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48283 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48285 * debug/fdelt_chk.c: New file.
48287 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48288 * wcsmbs/test-wmemcmp.c: Likewise.
48289 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
48290 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
48292 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48294 * string/Makefile (strop-tests): Add memcmp.
48295 * string/test-wmemcmp.c: New file.
48296 * string/test-memcmp.c: Add wmemcmp support.
48298 2011-09-08 Roland McGrath <roland@hack.frob.com>
48301 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48304 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48305 garbage value in a __mach_port_mod_refs call in the cases of the
48306 task-self and thread-self ports.
48308 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48310 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48312 2011-09-08 Andreas Schwab <schwab@redhat.com>
48314 * elf/dl-load.c (lose): Check for non-null L.
48316 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48318 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48320 * elf/dl-libc.c (dlerror_run): Pass back error code from
48324 * elf/dl-load.c (lose): Free l_origin if it is valid.
48326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48333 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48335 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48337 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48338 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48340 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48341 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48342 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48343 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48344 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48345 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48346 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48348 2011-08-15 Alan Modra <amodra@gmail.com>
48351 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48352 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48353 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48354 ppc_mcount to static-only-routines.
48355 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48357 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48358 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48360 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48363 for finite and infinity parameters.
48365 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48368 and add nop instructions for throughput optimization.
48369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48371 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48374 aligned copy for power7 with vector-scalar instructions.
48375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48377 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48382 2011-09-07 Andreas Schwab <schwab@redhat.com>
48385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48388 2011-09-07 Ulrich Drepper <drepper@gmail.com>
48390 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48391 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48392 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48396 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48399 Forgot to demangle the pointer.
48401 * sysdeps/i386/sysdep.h: Define atom_text_section.
48402 * sysdeps/x86_64/sysdep.h: Likewise.
48403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48404 section with atom_text_section.
48405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48406 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48413 already be defined. Change to take two parameters and don't assign
48414 result to variable. Adjust all users.
48415 Define INTERNAL_GETTIME if not already defined.
48416 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48419 HAVE_CLOCK_GETTIME_VSYSCALL.
48420 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48423 gettimeofday vsyscall, just use time.
48425 2011-09-06 Andreas Schwab <schwab@redhat.com>
48427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48430 2011-09-06 Ulrich Drepper <drepper@gmail.com>
48432 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48436 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48438 syscall if possible.
48440 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48442 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48443 e_ident. Don't pass to find_mapsXX.
48444 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48446 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48449 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48450 * sysdeps/x86_64/multiarch/strchr.S: Update.
48451 Check bit_slow_BSF bit.
48452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48456 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48459 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48461 (tryshell): Define.
48462 (__spawni): Change last parameter to be flag. Test
48463 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48464 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48465 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48466 * posix/spawni.c: Likewise.
48467 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48468 * posix/spawnp.c: Likewise. Change normal version to use
48469 SPAWN_XFLAGS_USE_PATH.
48470 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48471 SPAWN_XFLAGS_TRY_SHELL.
48474 * posix/glob.h: Remove gcc 1.x support.
48477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48479 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48482 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48484 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48485 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48486 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48491 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48493 * sysdeps/x86_64/wcscmp.S: New file.
48495 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48496 wcscmp-c wcscmp-sse2
48497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48498 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48500 * wcsmbs/wcscmp.c: Allow renaming.
48502 2011-09-05 David S. Miller <davem@davemloft.net>
48504 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48505 stack slot, rather than the struct return pointer slot.
48506 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48507 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48511 2011-09-05 Ulrich Drepper <drepper@gmail.com>
48513 * po/ja.po: Update from translation team.
48516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48517 kernel in 64-bit binaries.
48519 2011-09-01 David S. Miller <davem@davemloft.net>
48521 * elf/elf.h (HWCAP_SPARC_*): Move to..
48522 * sysdeps/sparc/sysdep.h: this new file and add new values.
48523 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48524 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48525 _DL_HWCAP_COUNT to 24.
48526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48528 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48529 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48530 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48532 instead of magic constants.
48533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48535 2011-08-31 David S. Miller <davem@davemloft.net>
48537 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48539 Reimplement to do errno handling inline.
48540 (SYSCALL_ERROR_HANDLER): New macro.
48541 (__SYSCALL_STRING): Do not do errno handling in asm.
48542 (__CLONE_SYSCALL_STRING): Delete.
48543 (__INTERNAL_SYSCALL_STRING): Delete.
48544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48545 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48546 (PSEUDO): Reimplement to do errno handling inline.
48547 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48548 (SYSCALL_ERROR_HANDLER): New macro.
48549 (__SYSCALL_STRING): Do not do errno handling in asm.
48550 (__CLONE_SYSCALL_STRING): Delete.
48551 (__INTERNAL_SYSCALL_STRING): Delete.
48552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48553 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48555 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48556 (inline_syscall*): Add 'err' argument.
48557 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48558 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48559 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48560 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48562 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48565 2011-08-30 Andreas Schwab <schwab@redhat.com>
48567 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48569 2011-08-29 Jiri Olsa <jolsa@redhat.com>
48571 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48574 2011-08-24 David S. Miller <davem@davemloft.net>
48576 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48578 2011-08-24 Andreas Schwab <schwab@redhat.com>
48580 * elf/Makefile: Add rules to build and run unload8 test.
48581 * elf/unload8.c: New file.
48582 * elf/unload8mod1.c: New file.
48583 * elf/unload8mod1x.c: New file.
48584 * elf/unload8mod2.c: New file.
48585 * elf/unload8mod3.c: New file.
48587 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48590 2011-08-23 David S. Miller <davem@davemloft.net>
48592 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48593 subtract stack bias.
48594 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48595 %sp not %fp in calculations.
48596 (_JMPBUF_UNWINDS_ADJ): Likewise.
48598 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48599 (aio_suspend): Call it to force an exception region around the
48600 AIO_MISC_WAIT() invocation.
48602 2011-08-23 Andreas Schwab <schwab@redhat.com>
48604 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48607 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48609 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48611 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48612 and <dl-machine.h>.
48613 (Elf64_FuncDesc): Remove.
48615 2011-08-22 David S. Miller <davem@davemloft.net>
48617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48618 sigaltstack check, add missing cfi directives.
48619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48620 missing cfi directives, and sigaltstack handling.
48622 2011-08-16 Andreas Schwab <schwab@redhat.com>
48625 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48626 object is seen twice.
48627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48629 * elf/Makefile (distribute): Add tst-initorder2.c.
48630 (tests): Add tst-initorder2.
48631 (modules-names): Add tst-initorder2a tst-initorder2b
48632 tst-initorder2c tst-initorder2d. Add rules to build them.
48633 ($(objpfx)tst-initorder2.out): New rule.
48634 * elf/tst-initorder2.c: New file.
48635 * elf/tst-initorder2.exp: New file.
48637 2011-08-22 Andreas Schwab <schwab@redhat.com>
48639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48641 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48642 dependencies back to end of function.
48644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48645 $(elfobjdir)/ld.so.
48647 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48650 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48652 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48654 of __vdso_gettimeofday.
48655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48656 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48658 (_libc_vdso_platform_setup): Remove initialization of
48659 __vdso_gettimeofday and __vdso_time.
48661 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48663 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48664 and fgetc_unlocked.
48665 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48668 * elf/dl-open.c (add_to_global): Report additions to the global scope
48669 for LD_DEBUG=scopes.
48670 (dl_open_worker): Also print scope of newly loaded dependencies.
48671 (_dl_show_scope): Indicate if there is no scope.
48674 * stdio-common/Makefile (tests): Add bug24.
48675 * stdio-common/bug24.c: New file.
48677 2011-08-19 Andreas Jaeger <aj@suse.de>
48680 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48681 non-existant file when using close-on-exec mode.
48683 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48686 the very first instruction.
48688 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48689 the CFI state in the end.
48690 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48691 inclusion of dl-trampoline.h.
48692 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48694 2011-08-19 Andreas Schwab <schwab@redhat.com>
48696 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48697 expectations for long double.
48699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48700 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48702 2011-08-14 David S. Miller <davem@davemloft.net>
48704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48705 artificual limit depends upon the system page size.
48707 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48709 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48710 * resolv/Makefile: Define CFLAGS-libresolv.
48712 2011-08-17 Andreas Schwab <schwab@redhat.com>
48714 * nss/makedb.c (compute_tables): Make variables used in nested
48717 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48719 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48720 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48721 if buffer was too small.
48723 * elf/pldd.c (main): Attach to all threads in the process.
48724 Rewrite /proc handling to use *at functions.
48726 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48728 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48729 specifies first scope to show.
48730 (dl_open_worker): Update callers. Move printing scope of new
48731 object to before the relocation.
48732 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48733 * sysdeps/generic/ldsodefs.h: Update declaration.
48735 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48736 string for the scope number.
48738 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48740 * nscd/servicescache.c (cache_addserv): Make sure written is always
48743 2011-08-14 Roland McGrath <roland@hack.frob.com>
48745 * sysdeps/i386/i486/bits/atomic.h
48746 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48747 statement expression, so as to suppress "set but not used" warning.
48748 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48750 * string/strncat.c (STRNCAT): Use prototype definition.
48752 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48753 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48755 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48756 (localedef-modules): Add localedef.
48757 (locale-modules): Add locale.
48759 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48760 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48761 to avoid a warning.
48763 2011-08-14 David S. Miller <davem@davemloft.net>
48765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48766 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48768 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48770 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48771 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48772 * elf/rtld.c (dl_main): Set l_name of vDSO.
48773 Call _dl_show_scope when DL_DEBUG_SCOPES.
48774 (process_dl_debug): Recognize scopes flag and also set it for all.
48775 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48776 Declare _dl_show_scope.
48778 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48779 (do_dlopen): Pass caller_dlopen to dl_open.
48780 (__libc_dlopen_mode): Initialize caller_dlopen.
48782 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48783 of libc. Make tolower call locale-independent. Optimize a bit by
48784 using isdigit instead of isalnum.
48785 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48787 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48789 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48790 was a dependency or dynamically loaded.
48792 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48794 * intl/l10nflist.c: Allow architecture-specific pop function.
48795 * sysdeps/x86_64/l10nflist.c: New file.
48797 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48800 2011-08-10 Andreas Schwab <schwab@redhat.com>
48802 * include/dirent.h: Add libc_hidden_proto for scandirat and
48803 scandirat64. Don't declare __scandirat64.
48804 * dirent/scandirat.c: Add libc_hidden_def.
48805 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48806 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48808 2011-08-10 David S. Miller <davem@davemloft.net>
48810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48816 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48818 * Versions.def [libc]: Add GLIBC_2.15.
48819 * dirent/Makefile (routines): Add scandirat and scandirat64.
48820 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48822 * dirent/dirent.h: Declare scandirat and scandirat64.
48823 * dirent/scandirat.c: New file.
48824 * dirent/scandirat64.c: New file.
48825 * sysdeps/wordsize-64/scandirat.c: New file.
48826 * sysdeps/wordsize-64/scandirat64.c: New file.
48827 * dirent/opendir.c: Define opendirat.
48828 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48830 * dirent/scandir64.c: Adjust for scandir.c change.
48831 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48832 __scandirat64, and __scandir_cancel_handler.
48833 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48834 additional parameter and use openat instead of open (outside of ld.so).
48835 Add new __opendir as wrapper around __opendirat.
48836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48837 here without requiring old scandirat implementation.
48839 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48841 * dirent/scandir.c (cancel_handler): Renamed to
48842 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48843 defined. Adjust users.
48844 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48847 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48849 * string/test-string.h (IMPL): Use __STRING to expand name and then
48852 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48855 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48857 * string/Makefile: Update.
48858 (strop-tests): Append strncat.
48859 * string/test-wcscmp.c: New file.
48860 New comprehensive test for wcscmp.
48861 * string/test-strcmp.c: Update.
48862 (WIDE): New define.
48864 2011-07-22 Andreas Schwab <schwab@redhat.com>
48866 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48869 2011-07-26 Andreas Schwab <schwab@redhat.com>
48871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48872 encoding to ACE if AI_IDN.
48874 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48877 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48879 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48882 Fix overflow bug in strncat.
48883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48885 * string/test-strncat.c: Update.
48886 Add new tests for checking overflow bugs.
48888 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48891 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48892 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48893 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48895 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48896 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48897 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48898 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48901 (USE_AS_STRCAT): Define.
48902 Add strcat and strncat support.
48903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48905 2011-07-25 Andreas Schwab <schwab@redhat.com>
48907 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48908 __n bigger than INT_MAX+1.
48909 (__strncmp_g): Likewise.
48911 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48913 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48914 * libio/stido.h: Likewise.
48916 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48921 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48928 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48933 (_dl_x86_64_save_sse): Likewise.
48935 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48939 (_dl_x86_64_save_sse): Likewise.
48941 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48943 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48945 2011-07-21 Andreas Schwab <schwab@redhat.com>
48947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48949 (_dl_x86_64_save_sse): Use correct AVX check.
48951 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48954 bug in strncpy/strncat.
48955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48957 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48959 * string/tester.c (test_strcat): Add tests for different alignments
48960 of source and destination.
48961 (test_strncat): Likewise.
48963 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48966 * posix/glob.c (glob): Check passed in values before using them in
48967 expressions to avoid some overflows.
48968 (glob_in_dir): Likewise.
48971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48972 check for AVX enablement so that we don't crash with old kernels and
48974 * elf/tst-audit4.c: Add same checks here.
48975 * elf/tst-audit6.c: Likewise.
48977 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48979 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48981 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48983 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48985 * po/cs.po: Update from translation team.
48986 * po/bg.po: Likewise.
48988 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48990 * misc/sys/cdefs.h: Add support for const attribute.
48991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48992 to gnu_dev_{major,minor,makedev} functions.
48994 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48996 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48998 2011-07-20 Andreas Schwab <schwab@redhat.com>
49000 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49003 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49006 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49007 register in order to avoid conflicts with the soft frame pointer
49008 being held in r11 when necessary.
49009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49010 (INTERNAL_VSYSCALL_NCS): Likewise.
49012 2011-07-14 Marek Polacek <mpolacek@redhat.com>
49014 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49015 * elf/dl-fini.c (_dl_fini): Adjust caller.
49016 * elf/dl-close.c (_dl_close_worker): Likewise.
49017 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49019 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49021 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49022 "aux_cache->nlibs < 0".
49024 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49025 in the reload-count case.
49027 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49030 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49031 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49032 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49033 * sysdeps/x86_64/multiarch/strcat.S: New file.
49034 * sysdeps/x86_64/multiarch/strncat.S: New file.
49035 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49037 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49038 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49040 (USE_AS_STRCAT): Define.
49041 Add strcat and strncat support.
49042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49045 * string/strncat.c: Update.
49046 (USE_AS_STRNCAT): Define.
49047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49048 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49050 * sysdeps/x86_64/multiarch/init-arch.h
49051 (bit_Prefer_PMINUB_for_stringop): New.
49052 (index_Prefer_PMINUB_for_stringop): Likewise.
49053 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49054 bit_Prefer_PMINUB_for_stringop.
49056 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49058 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49060 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49061 of casting of buffer.
49062 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49063 buffer32 and buffer64.
49064 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49065 writes instead of casting of buffer.
49066 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49068 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49071 2011-07-19 Andreas Schwab <schwab@redhat.com>
49073 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49075 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49077 * nscd/nscd.c (termination_handler): Don't do anything for a database
49078 if it has not yet been initialized.
49080 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49082 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49084 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49086 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49088 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49090 * po/nl.po: Update from translation team.
49091 * po/sv.po: Likewise.
49093 2011-07-16 Roland McGrath <roland@hack.frob.com>
49095 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49096 now disallowed by GCC.
49098 * configure.in (use-default-link): Default to yes if a test -shared
49099 link meets our qualifications.
49100 * configure: Regenerated.
49102 * config.make.in (output-format): New variable.
49103 * configure.in: Check for ld --print-output-format support.
49104 * configure: Regenerated.
49105 * Makerules ($(common-objpfx)format.lds)
49106 [$(output-format) != unknown]: Just use $(output-format),
49107 instead of the linker-script munging.
49109 2011-07-14 Roland McGrath <roland@hack.frob.com>
49111 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49112 of $(common-objpfx)shlib.lds.
49113 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49115 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49116 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49118 * configure.in (-z relro check): Adjust test code to add a large
49119 writable data section after it.
49120 * configure: Regenerated.
49122 2011-07-11 Roland McGrath <roland@hack.frob.com>
49124 * configure.in (-z relro check): Fix test code to make the variable
49126 * configure: Regenerated.
49128 2011-07-11 Ulrich Drepper <drepper@gmail.com>
49130 * nscd/nscd.h (struct traced_file): Define.
49131 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49132 elements. Add traced_files.
49133 (inotify_fd): Declare.
49134 (register_traced_file): Declare.
49135 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49136 (inotify_fd): Export.
49137 (resolv_conf_descr): Remove.
49138 (nscd_init): Move inotify descriptor creation to main.
49139 Don't register files for notification here.
49140 (register_traced_file): New function.
49141 (invalidate_cache): Don't use reset_res to determine whether to call
49142 res_init, go through the list of registered files.
49143 (main_loop_poll): The inotify descriptors are now stored in the
49144 structures for the traced files.
49145 (main_loop_epoll): Likewise
49146 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49147 to __nss_disable_nscd.
49148 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49149 for a database anymore. Check the records for all the registered
49151 * nss/Makefile (libnss_files-routines): Add files-init.
49152 (libnss_db-routines): Add db-init.
49153 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49154 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49155 * nss/nss_db/db-init.c: New file.
49156 * nss/nss_files/files-init.c: New file.
49157 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49158 __nss_lookup_function.
49159 (__nss_lookup_function): Call nss_load_library.
49160 (nss_load_all_libraries): New function.
49161 (__nss_disable_nscd): Take parameter with callback function for files
49162 to register. Set is_nscd. Load all the DSOs for the NSS modules
49163 used for the cached services.
49164 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49166 options for features to all the files in nscd.
49168 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49170 2011-07-10 Roland McGrath <roland@hack.frob.com>
49172 * csu/elf-init.c (__libc_csu_init): Comment typo.
49174 2011-07-09 Ulrich Drepper <drepper@gmail.com>
49176 * po/pl.po: Update from translation team.
49177 * po/ja.po: Likewise.
49178 * po/ru.po: Likewise.
49179 * po/ko.po: Likewise.
49180 * po/fr.po: Likewise.
49182 2011-07-09 Roland McGrath <roland@hack.frob.com>
49184 * configure.in (.ctors/.dtors header and trailer check):
49185 Use an empirical test on a built program.
49186 * configure: Regenerated.
49188 * configure.in (-z relro check): Use an empirical test on a built DSO.
49189 Detect, but do not require, on ia64.
49190 * configure: Regenerated.
49192 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49193 Update tests that use readelf to use $READELF instead.
49194 * configure: Regenerated.
49196 2011-07-08 Ulrich Drepper <drepper@gmail.com>
49198 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49199 if the result is not used.
49201 2011-07-05 Andreas Jaeger <aj@suse.de>
49204 * stdlib/tst-strtod.c: Add testcase.
49206 2011-07-07 Ulrich Drepper <drepper@gmail.com>
49208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
49209 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
49210 The latter has a higher limit. Take additional parameter to pass to
49212 (__pathconf): Pass file to __statfs_link_max.
49213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49215 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49219 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49223 (__statfs_filesize_max): Likewise.
49224 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49226 2011-07-05 Andreas Jaeger <aj@suse.de>
49228 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49230 2011-07-06 Marek Polacek <mpolacek@redhat.com>
49232 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49234 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49237 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49239 * Makefile (strop-tests): Add strncat.
49240 * string/test-strncat.c: New file.
49242 2011-06-30 Marek Polacek <mpolacek@redhat.com>
49244 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49246 2011-06-21 Andreas Jaeger <aj@suse.de>
49248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49249 Copy rule from iconvdata/Makefile.
49251 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49254 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49255 but no long options are defined, just return 'W'.
49257 2011-06-22 Marek Polacek <mpolacek@redhat.com>
49260 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49262 2011-07-06 Ulrich Drepper <drepper@gmail.com>
49264 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49266 (innetgr): Likewise.
49268 2011-07-05 Roland McGrath <roland@hack.frob.com>
49270 * config.make.in (install_root): Default to $(DESTDIR).
49272 2011-07-05 Ulrich Drepper <drepper@gmail.com>
49274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49276 2011-07-02 Roland McGrath <roland@hack.frob.com>
49278 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49280 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49281 containing directory rather than embedding absolute directory names.
49283 * scripts/check-local-headers.sh: Rewritten using awk.
49284 Match by word, not by line. Print error messages for matches.
49285 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49287 * Makerules [shlib-lds-flags empty]:
49288 ($(common-objpfx)libc_pic.opts): New target.
49289 ($(common-objpfx)libc_pic.os.clean): New target.
49290 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49292 * config.make.in (OBJCOPY): New variable.
49293 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49294 * configure: Regenerated.
49296 * config.make.in (use-default-link): New variable.
49297 * configure.in (use_default_link): Grok --with-default-link to set it.
49298 * configure: Regenerated.
49299 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49300 (shlib-lds, shlib-lds-flags): Define to empty.
49302 * Makerules (shlib-lds): New variable.
49303 (shlib-lds-flags): New variable.
49304 (build-shlib, build-moduile, build-module-asneeded): Use it.
49305 ($(common-objpfx)libc.so): Use $(shlib-lds).
49306 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49309 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49310 DT_FLAGS/DT_FLAGS_1 with zero flags.
49312 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49313 linker script munging.
49315 2011-07-02 Ulrich Drepper <drepper@gmail.com>
49317 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49319 * crypt/sha512.c (sha512_process_block): Perform total addition using
49320 128-bit if possible.
49321 (__sha512_finish_ctx): Likewise.
49322 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49324 * crypt/sha256.c (SWAP64): Define.
49325 (sha256_process_block): Perform total addition using 64-bit if
49327 (__sha256_finish_ctx): Likewise.
49329 2011-07-01 Ulrich Drepper <drepper@gmail.com>
49331 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49333 * nscd/hstcache.c (cache_addhst): Likewise.
49334 * nscd/grpcache.c (cache_addgr): Likewise.
49335 * nscd/aicache.c (addhstaiX): Likewise
49336 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49338 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
49340 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49342 * nscd/hstcache.c (cache_addhst): Likewise.
49343 * nscd/grpcache.c (cache_addgr): Likewise.
49344 * nscd/aicache.c (addhstaiX): Likewise
49346 2011-07-01 Andreas Schwab <schwab@redhat.com>
49348 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49349 domain only when needed.
49351 2011-06-30 Andreas Schwab <schwab@redhat.com>
49353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49354 is always restored.
49356 2011-06-29 Ulrich Drepper <drepper@gmail.com>
49358 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49359 are re-adding the entry.
49360 * nscd/servicescache.c (cache_addserv): Likewise.
49362 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49364 * sysdeps/generic/dl-irel.h: fix protection against multiple
49366 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49368 2011-06-28 Ulrich Drepper <drepper@gmail.com>
49371 * malloc/memusage.sh: Fix quoting in message.
49372 * debug/xtrace.sh: Likewise.
49374 * configure.in: Remove support for --experimental-malloc option, make
49376 * config.make.in: Likewise.
49377 * malloc/Makefile: Likewise.
49379 2011-06-27 Andreas Schwab <schwab@redhat.com>
49381 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49382 two-byte characters.
49384 2011-06-27 Roland McGrath <roland@hack.frob.com>
49386 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49387 AC_CACHE_CHECK invocation.
49388 * configure: Regenerated.
49390 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49392 2011-06-27 Ulrich Drepper <drepper@gmail.com>
49395 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49396 bit from old_res_options.
49398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49400 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49401 value type for setfct.
49403 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49406 __gettimeofday instead of gettimeofday.
49408 2011-06-26 Ulrich Drepper <drepper@gmail.com>
49410 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49412 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49419 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49422 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49423 strcpy-sse2-unaligned strncpy-sse2-unaligned
49424 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49425 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49426 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49427 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49428 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49431 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49432 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49433 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49434 (STRCPY): Support SSE2 and SSSE3 versions.
49436 2011-06-24 Ulrich Drepper <drepper@gmail.com>
49439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49440 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49441 kernels which artificially limit size of requests.
49443 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49446 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49447 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49448 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49449 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49450 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49451 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49452 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49455 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49456 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49457 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49458 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49459 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49461 Enable unaligned load optimization for Intel Core i3, i5 and i7
49463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49465 (index_Fast_Unaligned_Load): Define.
49466 (HAS_FAST_UNALIGNED_LOAD): Define.
49468 2011-06-23 Marek Polacek <mpolacek@redhat.com>
49470 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49472 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49476 until it is clear that the information is realy needed.
49477 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49479 2011-06-22 Andreas Schwab <schwab@redhat.com>
49481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49483 2011-06-22 Ulrich Drepper <drepper@gmail.com>
49485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49486 /sys/devices/system/cpu/online if it is usable.
49488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49489 reading the information from the /proc filesystem to once a second.
49491 2011-06-21 Andreas Jaeger <aj@suse.de>
49493 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49494 NULL after inclusion of kernel headers.
49496 2011-06-21 Ulrich Drepper <drepper@gmail.com>
49498 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49499 calls to internal_setent.
49502 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49503 addresses using gethostbyname4_r ignore IPv4 addresses.
49505 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49506 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49508 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49510 2011-06-20 David S. Miller <davem@davemloft.net>
49512 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49514 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49516 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49517 (elf_irel): Use it.
49518 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49519 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49520 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49521 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49522 * sysdeps/x86_64/dl-irel.h: Likewise.
49524 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49525 * elf/dl-sym.c: Likewise.
49527 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49529 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49530 need to dereference resplen2.
49532 2011-06-14 Andreas Schwab <schwab@redhat.com>
49534 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49536 2011-06-15 Ulrich Drepper <drepper@gmail.com>
49538 * Makeconfig: Define vardbdir and inst_vardbdir.
49539 * nss/Makefile: Add rules to install db-Makefile.
49541 * nss/nss_db/db-XXX.c: Cleanup.
49543 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49544 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49546 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49547 * nss/makedb.c: Implement -g option to specify that value strings
49548 are generated and should not be added to table iterated over for
49550 * nss/nss_db/db-initgroups.c: New file.
49552 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49555 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49556 (internal_getgrouplist): Adjust to name change.
49557 Update use_initgroups_entry if this is not the first call.
49558 * nss/databases.def: Add initgroups entry.
49560 * nss/makedb.c (compute_tables): Check result of multiple hash table
49561 sizes to minimize maximum chain length.
49563 2011-06-14 Ulrich Drepper <drepper@gmail.com>
49565 * Versions.def: Add entry for libnss_db.
49566 * shlib-versions: Likewise.
49567 * nss/Makefile: Add rules to build libnss_db.
49568 * nss/Versions: Add libnss_db information. Organize libnss_files
49570 * nss/db-Makefile: Add gshadow support. Change rules for the new
49571 makedb progra. Some minor improvements to generate smaller files.
49572 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49574 * nss/makedb.c: ...here.
49575 Improve database format to be smaller and require less memory at
49577 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49579 * nss/nss_db/db-netgrp.c: Likewise.
49580 * nss/nss_db/db-open.c: Likewise.
49581 * nss/nss_files/flies-XXX.x: Adjust comments.
49582 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49583 * nss/nss_files/files-grp.c: Likewise.
49584 * nss/nss_files/files-hosts.c: Likewise.
49585 * nss/nss_files/files-network.c: Likewise.
49586 * nss/nss_files/files-proto.c: Likewise.
49587 * nss/nss_files/files-pwd.c: Likewise.
49588 * nss/nss_files/files-rpc.c: Likewise.
49589 * nss/nss_files/files-service.c: Likewise.
49590 * nss/nss_files/files-sgrp.c: Likewise.
49591 * nss/nss_files/files-spwd.c: Likewise.
49592 * nss/nss_db/db-alias.c: Removed.
49593 * nss/nss_db/dummy-db.h: Removed.
49595 2011-06-02 Ulrich Drepper <drepper@gmail.com>
49597 * nss/makedb.c: Rewritten to not use database library.
49598 * nss/Makefile: Update to build new makedb program.
49600 2011-06-14 Andreas Jaeger <aj@suse.de>
49602 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49603 memset declaration.
49605 2011-06-10 Andreas Schwab <schwab@redhat.com>
49607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49610 2011-06-10 Roland McGrath <roland@hack.frob.com>
49612 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49613 * elf/Makefile ($(objpfx)ld.so): Likewise.
49615 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49616 Don't list ld.so twice in dependencies.
49618 * posix/bug-regex31.c: Include <stdlib.h>.
49620 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49622 * nis/nss_compat/compat-spwd.c
49623 (getspent_next_nss_netgr): Remove unused variable.
49624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49626 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49627 nonmembers" output to use the right array.
49629 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49631 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49633 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49634 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49635 * catgets/gencat.c (read_input_file): Likewise.
49636 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49639 variable definition inside #if's controlling its use.
49641 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49645 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49647 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49650 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49652 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49653 * configure: Regenerated.
49655 * Makerules: Revert last change.
49656 * elf/Makefile: Likewise.
49658 2011-06-09 Roland McGrath <roland@hack.frob.com>
49660 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49661 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49662 (reloc-link): Likewise.
49664 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49666 * elf/Makefile: Add rules to build pldd.
49667 * elf/pldd.c: New file.
49668 * elf/pldd-xx.c: New file.
49670 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49672 * version.h: Update for 2.15 development version.
49674 2011-06-07 David S. Miller <davem@davemloft.net>
49676 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49679 elf_machine_lazy_rel): Likewise.
49680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49682 elf_machine_lazy_rel): Likewise.
49683 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49684 dl_hwcap via passed in argument.
49685 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49688 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49690 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49692 2011-06-06 Roland McGrath <roland@hack.frob.com>
49695 * manual/fdl-1.1.texi: New file, verbatim from:
49696 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49697 * manual/lgpl-2.1.texi: New file, verbatim from:
49698 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49699 * manual/Makefile (licenses): New variable, list those new file names.
49701 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49703 * manual/fdl.texi: File removed.
49704 * manual/lesser.texi: File removed.
49705 * manual/libc.texinfo (Copying, Documentation License):
49706 Use new @include file names, put @appendix directive before @include.
49708 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49711 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49712 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49713 (mq_open): Add __NTH.
49715 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49718 Assume Intel Core i3/i5/i7 processor if AVX is available.
49720 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49725 2011-05-31 Andreas Schwab <schwab@redhat.com>
49727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49728 memory. Use alloca_account. Fix memory leak when retrying.
49730 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49732 * version.h (RELEASE): Bump for 2.14 release.
49733 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49735 * config.make.in (RANLIB): Remove entry.
49737 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49739 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49740 (libc.pot): Work around missing support for .ksh extension in xgettext.
49743 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49744 if both request failed.
49745 (send_dg): In case of server errors clear resplen or *resplen2.
49748 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49749 when there are multiple maps.
49750 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49751 (_dl_fini): Remove test here.
49753 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49755 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49758 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49759 bit from old_res_options.
49760 (gaih_inet): Likewise.
49763 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49766 * resolv/res_init.c (res_setoptions): Make the code more compact.
49769 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49773 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49775 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49778 * malloc/malloc.h: Declare malloc hook variables as volatile.
49780 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49784 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49785 raise in the comment.
49786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49790 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49793 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49794 grow the buffers more if it already has to be sufficient.
49795 (build_wcs_upper_buffer): Likewise.
49796 * posix/regexec.c (check_matching): Likewise.
49797 (clean_state_log_if_needed): Likewise.
49798 (extend_buffers): Don't enlarge buffers beyond size of the input
49800 Patches mostly by Emil Wojak <emil@wojak.eu>.
49801 * posix/bug-regex32.c: New file.
49802 * posix/Makefile (tests): Add bug-regex32.
49804 * locale/findlocale.c (_nl_find_locale): Return right away if
49805 _nl_explode_name failed.
49806 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49810 * debug/xtrace.sh: Unify messages.
49811 * malloc/memusage.sh: Likewise.
49814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49815 time symbol from vDSO. Substitute with vsyscall if not available.
49816 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49820 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49822 Add sendmmsg and internal_sendmmsg.
49823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49827 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49828 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49831 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49835 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49841 * iconvdata/Makefile (tests): Add bug-iconv9.
49842 * iconvdata/bug-iconv9.c: New file.
49844 2011-05-27 Andreas Schwab <schwab@redhat.com>
49847 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49849 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49852 (struct user_regs_struct): Change intcs field back to cs.
49854 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49856 * po/ja.po: Update from translation team.
49858 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49862 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49864 2011-05-20 Andreas Schwab <schwab@redhat.com>
49866 * stdlib/longlong.h: Update from GCC.
49868 2011-05-23 Andreas Schwab <schwab@redhat.com>
49870 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49872 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49873 Add parameter name.
49874 (__sysconf): Pass it down.
49876 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49879 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49882 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49883 add in in __libc_use_alloca calls. Adjust callers.
49884 (glob): Use malloc in some situations.
49886 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49887 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49890 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49892 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49893 and CLOCK_BOOTTIME_ALARM.
49896 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49899 * string/_strerror.c (__strerror_r): Print negative errors as signed
49903 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49904 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49905 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49907 * configure.in: Fix typo in redirection and correct removal of test
49908 files in two cases.
49911 * locale/setlocale.c (new_composite_name): Fix test to check for
49912 identical name of all categories.
49915 * libio/filedoalloc.c (local_isatty): New function.
49916 (_IO_file_doallocate): Use local_isatty.
49917 * stdio-common/perror.c (perror): In case a new stream is used
49918 forward the stream error.
49919 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49922 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49927 * include/alloca.h (extend_alloca_account): Define.
49930 * posix/regex.h: Fix comments with documentation of user-accessible
49931 fields after compilation and describe correct free'ing of pattern
49932 after re_compile_pattern.
49933 Patch by Reuben Thomas <rrt@sc3d.org>.
49935 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49937 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49938 and -mno-altivec to prevent the compiler from using Altivec and/or
49939 VSX instructions when the corresponding registers are not available.
49941 2011-05-19 Andreas Schwab <schwab@redhat.com>
49943 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49945 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49947 * libio/freopen.c (freopen): Use __dup2, not dup2.
49948 * libio/freopen64.c (freopen64): Likewise.
49950 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49953 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49954 * math/Makefile (tests): Add test-powl.
49955 (CFLAGS-test-powl.c): Define.
49956 * math/test-powl.c: New file.
49958 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49960 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49962 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49965 * iconvdata/gb18030.c: Update to GB18020-2005.
49967 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49969 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49970 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49971 Patch by Aharon Robbins <arnold@skeeve.com>.
49974 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49978 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49979 through underflows.
49982 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49983 point to strings before performing equality test for error_one_per_line
49987 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49991 (struct user_fpregs_struct): Avoid __uint*_t types.
49994 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49995 symbol info. Use it instead of calling _dl_addr locally.
49996 (lock_and_info): New function.
49997 (tr_freehook): Call lock_and_info and pass symbol info as additional
49998 parameter to tr_where.
49999 (tr_mallochook): Likewise.
50000 (tr_reallochook): Likewise.
50001 (tr_memalignhook): Likewise.
50003 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50004 used and couldn't be at all thread-safe.
50006 2011-05-15 Ulrich Drepper <drepper@gmail.com>
50008 * libio/freopen.c (freopen): Don't close old file descriptor
50009 before the new one is opened. Instead dup the new file descriptor
50010 to the old one after the new stream is created.
50011 * libio/freopen64.c (freopen64): Likewise.
50012 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50013 * libio/fileops.c (_IO_new_file_close_it): Handle new
50014 _IO_FLAGS2_NOCLOSE flag.
50015 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50016 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50017 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50018 _IO_FLAGS2_NOCLOSE flag.
50019 * include/unistd.h: Add hidden_proto for dup3.
50020 Define __have_dup3.
50021 * io/dup3.c: Define hidden symbol.
50022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50025 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50026 when an incomplete long option is used.
50027 * posix/tst-getopt_long1.c: New file.
50028 * posix/Makefile (tests): Add tst-getopt_long1.
50031 * scripts/config.guess: Update from autoconf-2.68.
50032 * scripts/config.sub: Likewise.
50035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50037 (has_cpuclock): ...this. New function.
50038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50039 macro here based on has_cpuclock code.
50042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50043 First byte (not low byte) is now always NUL.
50044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50047 Use non-cancelable interfaces.
50050 * locale/iso-639.def: Add entry for Sorani.
50053 * include/stdlib.h: Move include protection to the right place.
50054 Define abort_msg_s. Declare __abort_msg with it.
50055 * stdlib/abort.c (__abort_msg): Adjust type.
50056 * assert/assert.c (__assert_fail_base): New function. Majority
50057 of code from __assert_fail. Allocate memory for __abort_msg with
50059 (__assert_fail): Now call __assert_fail_base.
50060 * assert/assert-perr.c: Remove bulk of implementation. Use
50061 __assert_fail_base.
50062 * include/assert.hL Declare __assert_fail_base.
50063 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50065 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50067 2011-05-14 Ulrich Drepper <drepper@gmail.com>
50071 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50072 until all modules are registered in the DTV.
50073 * elf/Makefile: Add rules to build and run tst-tls19.
50074 * elf/tst-tls19.c: New file.
50075 * elf/tst-tls19mod1.c: New file.
50076 * elf/tst-tls19mod2.c: New file.
50077 * elf/tst-tls19mod3.c: New file.
50078 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50081 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50085 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50086 two-byte sequence errors.
50087 * iconvdata/Makefile (tests): Add bug-iconv8.
50088 * iconvdata/bug-iconv8.c: New file.
50091 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50094 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50097 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50098 (dummy_getcfa): New function.
50099 (init): Get _Unwind_GetCFA address, use dummy if not found.
50100 (backtrace_helper): In recursion check, also check whether CFA changes.
50101 (__backtrace): Completely initialize arg.
50103 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50104 storing incomplete byte sequence in state object. Avoid testing for
50105 guaranteed too small input if we know there is enough data available.
50107 2011-05-11 Andreas Schwab <schwab@redhat.com>
50109 * Makeconfig (+link-pie): Indent.
50110 * Rules (binaries-pie): Define if $(have-fpie) and
50112 (binaries-shared): Also filter out $(binaries-pie).
50113 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50114 * nscd/Makefile (others-pie): Add nscd.
50115 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50116 ($(objpfx)nscd): Remove command override.
50117 * login/Makefile (others-pie): Add pt_chown.
50118 ($(objpfx)pt_chown): Remove command override.
50119 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50120 remove command overrides.
50122 2011-05-13 Ulrich Drepper <drepper@gmail.com>
50124 * libio/tst_putwc.c: Fix error messages.
50127 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50128 currently writing and seek to current position when not.
50129 * libio/Makefile (tests): Add bug-fclose1.
50130 * libio/bug-fclose1.c: New file.
50132 2011-05-12 Ulrich Drepper <drepper@gmail.com>
50135 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50136 don't set DF_1_NODELETE here.
50137 (do_lookup_x): When entering new entry test for copy relocation
50138 and if necessary set DF_1_NODELETE flag.
50139 * elf/tst-unique4.cc: New file.
50140 * elf/tst-unique4.h: New file.
50141 * elf/tst-unique4lib.cc: New file.
50142 * elf/Makefile: Add rules to build and run tst-unique4.
50143 Patch by Piotr Bury <pbury@goahead.com>.
50145 2011-05-11 Ulrich Drepper <drepper@gmail.com>
50148 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50151 * misc/mntent_r.c (addmntent): Flush the stream after the output
50154 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50155 (is_trusted_path_normalize): Skip initial colon. Append slash
50156 to empty buffer. Duplicate is_trusted_path code but allow
50157 constructed patch to be prefix.
50158 (is_dst): Allow $ORIGIN followed by /.
50159 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50160 Correct testing of result of is_trusted_path_normalize
50161 (decompose_rpath): Fix warning.
50163 2011-05-10 Ulrich Drepper <drepper@gmail.com>
50166 * grp/initgroups.c (internal_getgrouplist): When we found the service
50167 list through the initgroups entry in nsswitch.conf do not always
50168 continue on a successful lookup. Don't always use the
50169 __nss_group_database value if it is set.
50170 * nss/nsswitch.conf (initgroups): Change action for successful db
50171 lookup to continue for compatibility.
50173 2011-05-09 Ulrich Drepper <drepper@gmail.com>
50176 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50178 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50180 * iconvdata/tst-tables.sh: Likewise.
50181 * iconvdata/cp770.c: New file.
50182 * iconvdata/cp771.c: New file.
50183 * iconvdata/cp772.c: New file.
50184 * iconvdata/cp773.c: New file.
50185 * iconvdata/cp774.c: New file.
50186 * iconvdata/testdata/CP770: New file.
50187 * iconvdata/testdata/CP770..UTF8: New file.
50188 * iconvdata/testdata/CP771: New file.
50189 * iconvdata/testdata/CP771..UTF8: New file.
50190 * iconvdata/testdata/CP772: New file.
50191 * iconvdata/testdata/CP772..UTF8: New file.
50192 * iconvdata/testdata/CP773: New file.
50193 * iconvdata/testdata/CP773..UTF8: New file.
50194 * iconvdata/testdata/CP774: New file.
50195 * iconvdata/testdata/CP774..UTF8: New file.
50197 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50199 * iconvdata/gen-8bit-gap.sh: Likewise.
50200 * iconvdata/gen-8bit.sh: Likewise.
50202 * locale/iso-639.def: Add ary entry.
50205 * locale/C-translit.h.in: Add U20A1 transliteration.
50208 * locale/iso-639.def: Add wae entry.
50209 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50212 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50216 * locale/C-translit.h.in: Add entry for U20B9.
50217 Patch by pravin.d.s@gmail.com.
50219 2011-05-08 Ulrich Drepper <drepper@gmail.com>
50222 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50223 ENAMETOOLONG use generic getcwd.
50224 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50225 in rtld. Use *stat64.
50226 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
50227 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
50228 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
50229 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50230 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50231 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50232 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50233 __fstatat64 macros.
50234 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50235 * dirent/rewinddir.c: Add libc_hidden_def.
50236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
50237 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
50239 * include/dirent.h (__alloc_dir): Add flags parameter.
50240 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50241 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50243 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50244 from fdopendir if O_CLOEXEC is already set.
50246 2011-03-15 Alan Modra <amodra@gmail.com>
50248 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50249 l_tls_firstbyte_offset non-zero. Save padding offset in
50250 l_tls_firstbyte_offset for later use.
50251 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50252 freeing static tls block.
50254 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50256 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50257 where #ifdef was intended. The intent is to prevent ARG_MAX from
50258 being defined by the kernel headers.
50260 2011-05-07 Ulrich Drepper <drepper@gmail.com>
50263 * resolv/resolv.h: Define RES_NOTLDQUERY.
50264 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50265 no-tld-query and set RES_NOTLDQUERY.
50266 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50267 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50268 modern BIND to search name as TLD unless forbidden.
50270 2011-05-07 Petr Baudis <pasky@suse.cz>
50271 Ulrich Drepper <drepper@gmail.com>
50274 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50275 (is_trusted_path): ...to here.
50276 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
50277 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
50278 using is_trusted_path_normalize() in setuid scripts.
50280 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50282 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50283 __BEGIN/__END_DECLS.
50285 2011-05-06 Ulrich Drepper <drepper@gmail.com>
50287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50288 NSS_STATUS_NOTFOUND if no record was found.
50290 2011-05-05 Andreas Schwab <schwab@redhat.com>
50292 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50293 (headers-not-in-tirpc): Remove rpc/netdb.h
50294 * resolv/netdb.h: Revert last change.
50296 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50298 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50299 circular dependency between libgcc.a and libc.a.
50301 2011-05-05 Andreas Schwab <schwab@redhat.com>
50303 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50304 * nis/Makefile: Don't install rpcsvc/*.
50305 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50306 instead of <rpc/types.h>.
50307 (MAXHOSTNAMELEN): Define.
50309 2011-05-03 Andreas Schwab <schwab@redhat.com>
50311 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50313 2011-04-28 Maciej Babinski <mbabinski@google.com>
50316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50317 gethostbyname4_r when IPv6 results are possible.
50319 2011-05-02 Ulrich Drepper <drepper@gmail.com>
50322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50323 _PC_PIPE_BUF handling.
50325 2011-04-30 Bruno Haible <bruno@clisp.org>
50328 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50329 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50331 * inet/getnameinfo.c (getnameinfo): Likewise.
50333 2011-04-29 Ulrich Drepper <drepper@gmail.com>
50335 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50336 to groups setting in database lookup.
50337 * nss/nsswitch.conf: Add initgroups entry.
50339 2011-04-22 Ulrich Drepper <drepper@gmail.com>
50342 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50344 Patch by Eric Blake <eblake@redhat.com>.
50346 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50348 * sunrpc/Makefile (need-export-routines): Add svc_run.
50349 (routines): Remove svc_run.
50350 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50351 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50352 * sunrpc/svc_run.c (svc_run): Likewise.
50353 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50355 2011-04-21 Ulrich Drepper <drepper@gmail.com>
50357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50358 problem in reallocation in last patch.
50360 2011-04-20 Ulrich Drepper <drepper@gmail.com>
50362 * sunrpc/Makefile: Move inclusion of Rules.
50364 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50366 * nss/nss_files/files-initgroups.c: New file.
50367 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50368 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50369 _nss_files_initgroups_dyn.
50371 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50373 * elf/elf.h (R_ARM_IRELATIVE): Define.
50375 2011-04-19 Ulrich Drepper <drepper@gmail.com>
50377 * po/ru.po: Update from translation team.
50379 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50381 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50384 2011-02-06 Mike Frysinger <vapier@gentoo.org>
50387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50388 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50393 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50401 2011-04-17 Ulrich Drepper <drepper@gmail.com>
50404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50406 * stdlib/bug-getcontext.c: New file.
50407 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50409 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50411 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50412 instructions into .machine "z9-109".
50413 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50414 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50416 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50418 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50419 between environment variables and auxiliary vector.
50421 2011-04-16 Ulrich Drepper <drepper@gmail.com>
50423 * Makefile: Add rules to build linkobj/libc.so.
50424 * include/libc-symbols.h: Define libc_hidden_nolink.
50425 * include/rpc/auth.h: Mark functions which are to be hidden.
50426 * include/rpc/auth_des.h: Likewise.
50427 * include/rpc/auth_unix.h: Likewise.
50428 * include/rpc/clnt.h: Likewise.
50429 * include/rpc/des_crypt.h: Likewise.
50430 * include/rpc/key_prot.h: Likewise.
50431 * include/rpc/pmap_clnt.h: Likewise.
50432 * include/rpc/pmap_prot.h: Likewise.
50433 * include/rpc/pmap_rmt.h: Likewise.
50434 * include/rpc/rpc_msg.h: Likewise.
50435 * include/rpc/svc.h: Likewise.
50436 * include/rpc/svc_auth.h: Likewise.
50437 * include/rpc/xdr.h: Likewise.
50438 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50439 * nss/Makefile: Likewise.
50440 * sunrpc/Makefile: Don't install headers. Build library with normal
50441 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50442 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50443 for the compat linking library. Remove use of INTDEF/INTUSE.
50444 * sunrpc/auth_none.c: Likewise.
50445 * sunrpc/auth_unix.c: Likewise.
50446 * sunrpc/authdes_prot.c: Likewise.
50447 * sunrpc/authuxprot.c: Likewise.
50448 * sunrpc/clnt_gen.c: Likewise.
50449 * sunrpc/clnt_perr.c: Likewise.
50450 * sunrpc/clnt_raw.c: Likewise.
50451 * sunrpc/clnt_simp.c: Likewise.
50452 * sunrpc/clnt_tcp.c: Likewise.
50453 * sunrpc/clnt_udp.c: Likewise.
50454 * sunrpc/clnt_unix.c: Likewise.
50455 * sunrpc/des_crypt.c: Likewise.
50456 * sunrpc/des_soft.c: Likewise.
50457 * sunrpc/get_myaddr.c: Likewise.
50458 * sunrpc/key_call.c: Likewise.
50459 * sunrpc/key_prot.c: Likewise.
50460 * sunrpc/netname.c: Likewise.
50461 * sunrpc/pm_getmaps.c: Likewise.
50462 * sunrpc/pm_getport.c: Likewise.
50463 * sunrpc/pmap_clnt.c: Likewise.
50464 * sunrpc/pmap_prot.c: Likewise.
50465 * sunrpc/pmap_prot2.c: Likewise.
50466 * sunrpc/pmap_rmt.c: Likewise.
50467 * sunrpc/publickey.c: Likewise.
50468 * sunrpc/rpc_cmsg.c: Likewise.
50469 * sunrpc/rpc_common.c: Likewise.
50470 * sunrpc/rpc_dtable.c: Likewise.
50471 * sunrpc/rpc_prot.c: Likewise.
50472 * sunrpc/rpc_thread.c: Likewise.
50473 * sunrpc/rtime.c: Likewise.
50474 * sunrpc/svc.c: Likewise.
50475 * sunrpc/svc_auth.c: Likewise.
50476 * sunrpc/svc_authux.c: Likewise.
50477 * sunrpc/svc_raw.c: Likewise.
50478 * sunrpc/svc_run.c: Likewise.
50479 * sunrpc/svc_simple.c: Likewise.
50480 * sunrpc/svc_tcp.c: Likewise.
50481 * sunrpc/svc_udp.c: Likewise.
50482 * sunrpc/svc_unix.c: Likewise.
50483 * sunrpc/svcauth_des.c: Likewise.
50484 * sunrpc/xcrypt.c: Likewise.
50485 * sunrpc/xdr.c: Likewise.
50486 * sunrpc/xdr_array.c: Likewise.
50487 * sunrpc/xdr_float.c: Likewise.
50488 * sunrpc/xdr_intXX_t.c: Likewise.
50489 * sunrpc/xdr_mem.c: Likewise.
50490 * sunrpc/xdr_rec.c: Likewise.
50491 * sunrpc/xdr_ref.c: Likewise.
50492 * sunrpc/xdr_sizeof.c: Likewise.
50493 * sunrpc/xdr_stdio.c: Likewise.
50495 2011-04-10 Ulrich Drepper <drepper@gmail.com>
50498 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50499 * sysdeps/ia64/dl-tls.h: Likewise.
50500 * sysdeps/powerpc/dl-tls.h: Likewise.
50501 * sysdeps/s390/dl-tls.h: Likewise.
50502 * sysdeps/sh/dl-tls.h: Likewise.
50503 * sysdeps/sparc/dl-tls.h: Likewise.
50504 * sysdeps/x86_64/dl-tls.h: Likewise.
50505 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50507 2011-03-14 Andreas Schwab <schwab@redhat.com>
50509 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50510 rpath element also skip the following colon.
50511 (expand_dynamic_string_token): Add is_path parameter and pass
50512 down to DL_DST_REQUIRED and _dl_dst_substitute.
50513 (decompose_rpath): Call expand_dynamic_string_token with
50514 non-zero is_path. Ignore empty rpaths.
50515 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50518 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50523 2011-04-09 Ulrich Drepper <drepper@gmail.com>
50526 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50527 Patch by Filipe David Manana <fdmanana@apache.org>.
50529 2011-04-07 Andreas Schwab <schwab@redhat.com>
50531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50532 Maintain aligned stack.
50533 (CHECK_RSP): Remove unused macro.
50535 2011-04-03 Ulrich Drepper <drepper@gmail.com>
50537 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50540 2011-04-02 Ulrich Drepper <drepper@gmail.com>
50542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50544 * include/features.h: Mention __USE_XOPEN2K8 in comment.
50546 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50549 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50550 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50551 * sysdeps/x86_64/memmove.c: New file.
50552 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50553 (memcpy): Renamed to ...
50554 (__new_memcpy): This.
50555 (memcpy): Provide GLIBC_2_14 memcpy.
50556 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50557 (memcpy): Provide GLIBC_2_2_5 memcpy.
50559 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50562 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50564 2011-03-30 Andreas Schwab <schwab@redhat.com>
50566 * misc/syncfs.c: New file.
50567 * misc/Makefile (routines): Add syncfs.
50568 * posix/unistd.h: Declare syncfs.
50569 * sysdeps/unix/syscalls.list: Add syncfs.
50571 2011-04-01 Andreas Schwab <schwab@redhat.com>
50573 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50580 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50583 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50593 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50594 sync_file_range.c with -fexceptions.
50595 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50596 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50597 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50598 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50600 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
50602 sync_file_range as cancellation point
50603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50604 now a wrapper around __call_sync_file_range with cancellation handling.
50605 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50606 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50607 function name to __call_sync_file_range.
50608 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50609 Add call_sync_file_range.
50611 2011-04-01 Andreas Schwab <schwab@redhat.com>
50613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50616 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50618 * iconv/iconv.h: Fix typo in comment.
50619 * io/fcntl.h: Likewise.
50620 * libio/stdio.h: Likewise.
50621 * posix/spawn.h: Likewise.
50622 * posix/unistd.h: Likewise.
50623 * stdlib/stdlib.h: Likewise.
50624 * time/time.h: Likewise.
50625 * wcsmbs/wchar.h: Likewise.
50627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50628 open_by_handle): Add.
50629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50630 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50631 Augment a few comments.
50632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50637 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50640 * io/fcntl.h (AT_EMPTY_PATH): Define.
50642 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50644 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50645 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50646 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50648 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50649 * Versions.def: Add GLIBC_2.14.
50650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50653 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50659 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50662 * string/test-strncmp.c (do_page_test): New function.
50663 (check2): Likewise.
50664 (test_main): Call check2.
50665 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50667 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50671 Handle cache information in CPU leaf 4.
50672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50674 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50677 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50678 character representation.
50679 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50681 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50683 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50684 END(__isnan) to END(__isnanf) to match function entry point/label
50685 EALIGN(__isnanf,...).
50687 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50689 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50691 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50694 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50695 copy from the symbol referenced in the relocation to initialize the
50697 Patch by Piotr Bury <pbury@goahead.com>.
50698 * elf/Makefile: Add rules to build and tst-unique3.
50699 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50700 * elf/tst-unique3.cc: New file.
50701 * elf/tst-unique3.h: New file.
50702 * elf/tst-unique3lib.cc: New file.
50703 * elf/tst-unique3lib2.cc: New file.
50705 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50707 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50709 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50710 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50713 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50715 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50716 to-be-loaded object along a path to loader is ld.so.
50718 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50719 Ulrich Drepper <drepper@gmail.com>
50721 * sysdeps/x86_64/memset.S: After aligning destination, code
50722 branches to different locations depending on the value of
50723 misalignment, when multiarch is enabled. Fix this.
50725 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50727 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50728 Set _x86_64_preferred_memory_instruction for AMD processsors.
50729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50730 Set bit_Prefer_SSE_for_memop for AMD processors.
50732 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50734 * libio/fmemopen.c (fmemopen): Optimize a bit.
50736 2011-03-03 Andreas Schwab <schwab@redhat.com>
50738 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50740 2011-03-03 Roland McGrath <roland@redhat.com>
50742 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50744 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50746 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50747 __bzero_ultra1 instead of __memset_ultra1.
50749 2011-02-23 Andreas Schwab <schwab@redhat.com>
50750 Ulrich Drepper <drepper@gmail.com>
50753 * include/link.h (struct link_map): Add l_orig_initfini.
50754 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50755 returning unsuccessfully.
50756 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50757 close of a file loaded at startup, restore the original l_initfini
50759 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50760 list, store the pointer.
50761 * elf/Makefile ($(objpfx)noload-mem): New rule.
50762 (noload-ENV): Define.
50763 (tests): Add $(objpfx)noload-mem.
50764 * elf/noload.c: Include <memcheck.h>.
50765 (main): Call mtrace. Close all opened handles.
50767 2011-02-17 Andreas Schwab <schwab@redhat.com>
50770 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50771 dependencies are missing.
50773 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50775 Fix __if_freereq crash: Unlike the generic version which uses free,
50777 * sysdeps/mach/hurd/ifreq.h: New file.
50779 2011-01-27 Petr Baudis <pasky@suse.cz>
50780 Ulrich Drepper <drepper@gmail.com>
50783 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50784 to extend_alloca().
50785 * stdio-common/bug23.c: New file.
50786 * stdio-common/Makefile (tests): Add bug23.
50788 2010-09-28 Andreas Schwab <schwab@redhat.com>
50789 Ulrich Drepper <drepper@gmail.com>
50792 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50793 before performing relro protection. At old place add assertion
50794 to make sure nothing changed.
50796 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50797 Glauber de Oliveira Costa <glommer@gmail.com>
50799 * elf/elf.h: Add new ARM TLS relocs.
50801 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50804 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50806 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50808 * sysdeps/wordsize-64/tst-writev.c: New file.
50810 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50812 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50813 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50814 insns in _dl_start to prevent a TOC reference before relocs are
50817 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50820 * Makeconfig: Remove RANLIB definition.
50821 * Makerules: Don't use RANLIB.
50822 * aclocal.m4: Remove ranlib test.
50823 * configure.in: No need to check for ranlib.
50824 * elf/rtld-Rules: Don't use RANLIB.
50826 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50828 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50830 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50831 inclusion protection macro.
50833 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50834 SIGRTMIN and SIGRTMAX and print information in that case only when
50835 SIGRTMIN is defined.
50837 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50839 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50840 arginfo fn returning -1.
50842 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50843 and thousands string is zero terminated.
50845 2011-02-03 Andreas Schwab <schwab@redhat.com>
50847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50848 sysdeps/unix/sysv/linux/bits/socket.h.
50850 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50852 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50853 (__CPU_COUNT): Remove old macros.
50854 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50855 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50856 (__CPU_ALLOC, __CPU_FREE): Add macros.
50857 (__sched_cpualloc, __sched_cpufree): Add declarations.
50859 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50861 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50862 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50863 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50864 (readdhstai): Return value of addhstaiX call.
50865 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50866 (addgrbyX): Return value returned by cache_addgr.
50867 (readdgrbyname): Return value returned by addgrbyX.
50868 (readdgrbygid): Likewise.
50869 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50870 (addpwbyX): Return value returned by cache_addpw.
50871 (readdpwbyname): Return value returned by addhstbyX.
50872 (readdpwbyuid): Likewise.
50873 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50874 (addservbyX): Return value returned by cache_addserv.
50875 (readdservbyname): Return value returned by addservbyX:
50876 (readdservbyport): Likewise.
50877 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50878 (addhstbyX): Return value returned by cache_addhst.
50879 (readdhstbyname): Return value returned by addhstbyX.
50880 (readdhstbyaddr): Likewise.
50881 (readdhstbynamev6): Likewise.
50882 (readdhstbyaddrv6): Likewise.
50883 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50884 (readdinitgroups): Return value returned by addinitgroupsX.
50885 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50886 (prune_cache): Keep track of timeout value of re-added entries.
50887 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50888 * nscd/nscd.h: Adjust prototypes of readd* functions.
50890 2011-02-04 Roland McGrath <roland@redhat.com>
50892 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50893 (nis_stats): Likewise.
50894 * nis/nis_modify.c (nis_modify): Likewise.
50895 * nis/nis_remove.c (nis_remove): Likewise.
50896 * nis/nis_add.c (nis_add): Likewise.
50898 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50900 * posix/fnmatch_loop.c: Add some consts.
50902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50904 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50907 * config.make.in (config-cflags-novzeroupper): Define.
50908 * configure.in: Substitute libc_cv_cc_novzeroupper.
50909 * elf/Makefile (AVX-CFLAGS): Define.
50910 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50911 (CFLAGS-tst-auditmod4a.c): Likewise.
50912 (CFLAGS-tst-auditmod4b.c): Likewise.
50913 (CFLAGS-tst-auditmod6b.c): Likewise.
50914 (CFLAGS-tst-auditmod6c.c): Likewise.
50915 (CFLAGS-tst-auditmod7b.c): Likewise.
50916 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50918 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50920 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50921 function to the callback.
50922 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50924 2011-02-02 Andreas Schwab <schwab@redhat.com>
50926 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50929 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50932 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50934 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50936 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50939 * elf/Makefile: Add rules to build and run new test.
50940 * elf/tst-initorder.c: New file.
50941 * elf/tst-initorder.exp: New file.
50942 * elf/tst-initordera1.c: New file.
50943 * elf/tst-initordera2.c: New file.
50944 * elf/tst-initordera3.c: New file.
50945 * elf/tst-initordera4.c: New file.
50946 * elf/tst-initorderb1.c: New file.
50947 * elf/tst-initorderb2.c: New file.
50948 * elf/tst-order-a1.c: New file.
50949 * elf/tst-order-a2.c: New file.
50950 * elf/tst-order-a3.c: New file.
50951 * elf/tst-order-a4.c: New file.
50952 * elf/tst-order-b1.c: New file.
50953 * elf/tst-order-b2.c: New file.
50954 * elf/tst-order-main.c: New file.
50955 New test case by George Gensure <werkt0@gmail.com>.
50957 2010-10-01 Andreas Schwab <schwab@redhat.com>
50959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50960 decoding ACE if AI_CANONIDN.
50962 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50964 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50966 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50968 * version.h (RELEASE): Bump for 2.13 release.
50969 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50971 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50975 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50982 * posix/getconf.c: Update copyright year.
50983 * catgets/gencat.c: Likewise.
50984 * csu/version.c: Likewise.
50985 * debug/catchsegv.sh: Likewise.
50986 * debug/xtrace.sh: Likewise.
50987 * elf/ldconfig.c: Likewise.
50988 * elf/ldd.bash.in: Likewise.
50989 * elf/sprof.c (print_version): Likewise.
50990 * iconv/iconv_prog.c: Likewise.
50991 * iconv/iconvconfig.c: Likewise.
50992 * locale/programs/locale.c: Likewise.
50993 * locale/programs/localedef.c: Likewise.
50994 * malloc/memusage.sh: Likewise.
50995 * malloc/mtrace.pl: Likewise.
50996 * nscd/nscd.c (print_version): Likewise.
50997 * nss/getent.c: Likewise.
50999 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51000 PF_CAIF, and PF_ALG.
51001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51003 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51005 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51006 (modules-names): Use them.
51007 (ifunc-test-modules, ifunc-pie-tests): Define.
51008 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51009 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51010 (test-extras): Likewise.
51011 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51012 $(compile-command.c).
51013 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51014 (all-built-dso): Define.
51015 (check-textrel.out, check-execstack.out): Depend on it.
51017 * configure.in: Don't override --enable-multi-arch.
51019 2011-01-15 Ulrich Drepper <drepper@gmail.com>
51022 * nscd/hstcache.c (tryagain): Define.
51023 (cache_addhst): Return tryagain not notfound for temporary errors.
51024 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51027 2011-01-14 Ulrich Drepper <drepper@gmail.com>
51030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51031 to make the syscall.
51032 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51035 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51036 and fall back to matching as normal character if the string ends before
51037 the matching ']' is found. This is what POSIX requires.
51038 * posix/testfnm.c: Adjust test result.
51039 * posix/globtest.sh: Adjust test result. Add new test.
51040 * posix/tst-fnmatch.input: Likewise.
51041 * posix/tst-fnmatch2.c: Add new test.
51043 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51045 * elf/Makefile (check-execstack): Revert last change. Depend on
51047 (check-execstack.h): New target.
51048 (generated): Add check-execstack.h.
51049 * elf/check-execstack.c: Include "check-execstack.h".
51050 (main): Revert last change.
51051 (handle_file): Return zero if GNU_STACK is absent and
51052 DEFAULT_STACK_PERMS doesn't include PF_X.
51054 2011-01-13 Ulrich Drepper <drepper@gmail.com>
51056 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51057 in child fails because the descriptor is already closed.
51058 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51059 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51067 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51068 temporary buffer used to handle multi lookups locally.
51069 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51071 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51073 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51076 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51078 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51079 alignment for SSE2.
51081 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51084 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51085 characters. When rounding increased number of integer digits recompute
51087 * stdio-common/tst-grouping.c: New file.
51088 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51090 2011-01-09 Ulrich Drepper <drepper@gmail.com>
51092 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51093 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51095 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51097 * bits/select.h: Likewise.
51099 2011-01-08 Ulrich Drepper <drepper@gmail.com>
51101 * po/ja.po: Update from translation team.
51103 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
51106 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51107 implementation just like for lxstat, fxstatat, et al.
51109 2010-12-27 Jim Meyering <meyering@redhat.com>
51112 * posix/regexec.c (build_trtable): Return failure indication upon
51113 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51115 2010-12-25 Ulrich Drepper <drepper@gmail.com>
51118 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51119 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51124 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51127 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51128 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51130 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51132 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51133 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51134 script has SORT_BY_INIT_PRIORITY.
51135 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51136 NO_CTORS_DTORS_SECTIONS is defined.
51137 * elf/soinit.c: Likewise.
51138 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51139 NO_CTORS_DTORS_SECTIONS is defined.
51140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51141 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51142 * sysdeps/sh/init-first.c: Likewise.
51143 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51145 2010-12-24 Ulrich Drepper <drepper@gmail.com>
51147 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51148 always use the slow path.
51150 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51152 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51153 similar rule which adds the sysdep directories to the header search in
51154 order to pick up the correct platform stackinfo.h.
51155 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51156 perform test if it is, otherwise return successfully without testing.
51157 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51158 DEFAULT_STACK_PERMS define in stackinfo.h.
51159 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51160 defined in stackinfo.h.
51161 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51162 DEFAULT_STACK_PERMS defined in stackinfo.h.
51163 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51164 * sysdeps/ia64/stackinfo.h: Likewise.
51165 * sysdeps/s390/stackinfo.h: Likewise.
51166 * sysdeps/sh/stackinfo.h: Likewise.
51167 * sysdeps/sparc/stackinfo.h: Likewise.
51168 * sysdeps/x86_64/stackinfo.h: Likewise.
51169 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51170 PF_X for powerpc64. Retain PF_X for powerpc32.
51172 2010-12-19 Ulrich Drepper <drepper@gmail.com>
51174 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51176 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51177 GETDENTS_64BIT_ALIGNED.
51179 2010-12-14 Ulrich Drepper <dreper@gmail.com>
51181 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51183 2010-12-10 Andreas Schwab <schwab@redhat.com>
51185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51188 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51189 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51191 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51192 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51194 2010-12-09 Ulrich Drepper <drepper@gmail.com>
51197 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51200 2010-12-09 Jakub Jelinek <jakub@redhat.com>
51202 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51204 2010-12-03 Ulrich Drepper <drepper@gmail.com>
51206 * po/it.po: Update from translation team.
51208 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51213 2010-11-30 Ulrich Drepper <drepper@gmail.com>
51215 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51217 2010-11-24 Andreas Schwab <schwab@redhat.com>
51219 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51221 (gaih_getanswer_slice): Likewise.
51223 2010-10-20 Jakub Jelinek <jakub@redhat.com>
51225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51227 2010-05-31 Petr Baudis <pasky@suse.cz>
51230 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51231 silently even in the chroot mode.
51233 2010-11-22 Ulrich Drepper <drepper@gmail.com>
51235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51236 last patch a bit. Pretty printing
51238 2010-05-31 Petr Baudis <pasky@suse.cz>
51241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51242 initialization of skip_initgroups_dyn.
51244 2010-11-19 Ulrich Drepper <drepper@gmail.com>
51246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51249 2010-11-16 Ulrich Drepper <drepper@gmail.com>
51251 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51253 2010-11-11 Andreas Schwab <schwab@redhat.com>
51255 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51256 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51257 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51258 ($(objpfx)tst-fnmatch-mem): New rule.
51259 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51260 * posix/tst-fnmatch.c (main): Call mtrace.
51262 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51265 Support Intel processor model 6 and model 0x2c.
51267 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
51269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51272 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51275 * string/test-strncasecmp.c (check_result): New function.
51276 (do_one_test): Use it.
51277 (check1): New function.
51278 (test_main): Use it.
51279 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51280 Support strcasecmp and strncasecmp.
51282 2010-11-08 Ulrich Drepper <drepper@gmail.com>
51285 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51288 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51290 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51294 * sysdeps/x86_64/multiarch/bzero.S: New file.
51295 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51296 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51297 * sysdeps/x86_64/multiarch/memset.S: New file.
51298 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51300 Set bit_Prefer_SSE_for_memop for Intel processors.
51301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51303 (index_Prefer_SSE_for_memop): Define.
51304 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51306 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
51308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51311 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51315 (__x86_64_raw_data_cache_size_half): Likewise.
51316 (__x86_64_raw_shared_cache_size): Likewise.
51317 (__x86_64_raw_shared_cache_size_half): Likewise.
51319 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51320 (__x86_64_raw_data_cache_size_half): Likewise.
51321 (__x86_64_raw_shared_cache_size): Likewise.
51322 (__x86_64_raw_shared_cache_size_half): Likewise.
51323 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51324 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51325 and __x86_64_raw_shared_cache_size_half. Round
51326 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51327 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51328 to multiple of 256 bytes.
51330 2010-11-03 Ulrich Drepper <drepper@gmail.com>
51333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51334 of inacessible symlinks. Verify result of symlink before returning it.
51335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51336 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51338 2010-10-28 Erich Ritz <erichritz@gmail.com>
51340 * math/math.h (isinf): Fix typo in comment.
51342 2010-11-01 Ulrich Drepper <drepper@gmail.com>
51344 * po/da.po: Update from translation team.
51346 2010-10-26 Ulrich Drepper <drepper@gmail.com>
51348 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51349 is added to the list.
51351 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51352 Ulrich Drepper <drepper@gmail.com>
51354 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51355 the global list here. Move code to...
51356 (_dl_add_to_namespace_list): ...here. New function.
51357 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51358 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51359 * elf/dl-load.c (lose): Don't remove the element from the list.
51360 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51361 (_dl_map_object): Likewise.
51363 2010-10-25 Ulrich Drepper <drepper@gmail.com>
51366 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51367 into all bytes of SSE register.
51368 Patch by Richard Li <richardpku@gmail.com>.
51370 2010-10-24 Ulrich Drepper <drepper@gmail.com>
51373 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51376 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51378 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51379 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51386 2010-10-22 Andreas Schwab <schwab@redhat.com>
51388 * include/dlfcn.h (__RTLD_SECURE): Define.
51389 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51390 mode & __RTLD_SECURE instead.
51391 (open_path): Rename preloaded parameter to secure.
51392 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51393 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51394 * elf/dl-deps.c (openaux): Likewise.
51395 * elf/rtld.c (struct map_args): Remove is_preloaded.
51396 (map_doit): Don't use it.
51397 (dl_main): Likewise.
51398 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51399 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51401 2010-09-09 Andreas Schwab <schwab@redhat.com>
51403 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51404 (sysd-rules-targets): Remove duplicates.
51405 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51406 rtld-%.$o dependency.
51408 2010-10-18 Andreas Schwab <schwab@redhat.com>
51410 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51411 _dl_map_object do it.
51413 2010-10-19 Ulrich Drepper <drepper@gmail.com>
51415 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51416 fast fma builtins, define the macros in the C99 standard.
51417 (FP_FAST_FMAF): Likewise.
51418 (FP_FAST_FMAL): Likewise.
51419 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51421 * bits/mathdef.h: Update copyright year.
51422 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51424 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51426 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51427 builtins, define the macros in the C99 standard.
51428 (FP_FAST_FMAF): Likewise.
51429 (FP_FAST_FMAL): Likewise.
51430 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51432 (FP_FAST_FMAF): Likewise.
51434 2010-10-15 Jakub Jelinek <jakub@redhat.com>
51437 * math/libm-test.inc (fma_test): Some new testcases.
51438 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51440 y and infinite z. Do multiplication by C already in long double.
51441 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51443 y and infinite z. Do bitwise or of inexact bit into u.d.
51444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51445 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51446 * sysdeps/i386/fpu/s_fma.S: Removed.
51447 * sysdeps/i386/fpu/s_fmal.S: Removed.
51449 2010-10-16 Jakub Jelinek <jakub@redhat.com>
51452 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51454 computation is not scheduled after fetestexcept. Fix value
51455 of minimum denormal long double.
51457 2010-10-14 Jakub Jelinek <jakub@redhat.com>
51460 * math/libm-test.inc (fma_test): Add some more tests.
51461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51464 2010-10-15 Andreas Schwab <schwab@redhat.com>
51466 * scripts/data/localplt-s390-linux-gnu.data: New file.
51467 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51469 2010-10-13 Jakub Jelinek <jakub@redhat.com>
51472 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51473 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51475 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51477 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51479 if one of x and y is very large and the other is subnormal.
51480 * sysdeps/s390/fpu/s_fmaf.c: New file.
51481 * sysdeps/s390/fpu/s_fma.c: New file.
51482 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51483 * sysdeps/powerpc/fpu/s_fma.S: New file.
51484 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51485 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51486 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51488 2010-10-12 Jakub Jelinek <jakub@redhat.com>
51491 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51494 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51495 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51496 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51497 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51498 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51499 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51501 2010-10-12 Ulrich Drepper <drepper@redhat.com>
51504 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51505 * posix/bug-regex31.input: Add test case.
51507 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51509 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51510 * posix/bug-regex31.input: New file.
51513 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51514 (parse_sub_exp): Fix last change, use postorder.
51516 * posix/bug-regex31.c: New file.
51517 * posix/Makefile: Add rules to build and run bug-regex31.
51519 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51522 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51525 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51526 to have entries in sys_siglist.
51529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51532 2010-10-07 Jakub Jelinek <jakub@redhat.com>
51535 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51536 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51537 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51538 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51540 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51541 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51542 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51543 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51544 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51545 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51546 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51547 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51548 * math/ftestexcept.c (fetestexcept): Likewise.
51549 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51550 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51551 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51552 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51553 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51554 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51557 2010-10-11 Ulrich Drepper <drepper@gmail.com>
51560 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51563 2010-10-06 Ulrich Drepper <drepper@gmail.com>
51565 * string/bug-strstr1.c: New file.
51566 * string/Makefile: Add rules to build and run bug-strstr1.
51568 2010-10-05 Eric Blake <eblake@redhat.com>
51571 * string/str-two-way.h (two_way_long_needle): Always clear memory
51572 when skipping input due to the shift table.
51574 2010-10-03 Ulrich Drepper <drepper@gmail.com>
51577 * malloc/mcheck.c: Handle large requests.
51580 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51581 for strncmp and strncasecmp.
51582 * string/stratcliff.c: Add tests for strcmp and strncmp.
51583 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51585 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51587 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51590 2010-09-30 Andreas Jaeger <aj@suse.de>
51592 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51593 (CGROUP_SUPER_MAGIC): Define.
51594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51595 Handle btrfs and cgroup file systems.
51596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51599 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
51601 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51602 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51604 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51607 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51608 trying to locate the ELF header.
51610 2010-09-27 Andreas Schwab <schwab@redhat.com>
51613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51614 Mask out sign-bit copies when constructing f_fsid.
51616 2010-09-24 Petr Baudis <pasky@suse.cz>
51618 * debug/stack_chk_fail_local.c: Add missing licence exception.
51619 * debug/warning-nop.c: Likewise.
51621 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51623 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51624 implementing getdents64 using getdents syscall, set d_type if
51625 __ASSUME_GETDENTS32_D_TYPE.
51627 2010-09-16 Andreas Schwab <schwab@redhat.com>
51629 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51630 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51632 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51635 * posix/unistd.h: Undo change of feature selection for ftruncate from
51638 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51640 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51643 2010-09-20 Andreas Schwab <schwab@redhat.com>
51645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51649 2010-09-14 Andreas Schwab <schwab@redhat.com>
51651 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51652 variables after CHECK_SP call.
51653 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51655 2010-09-13 Andreas Schwab <schwab@redhat.com>
51656 Ulrich Drepper <drepper@redhat.com>
51658 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51659 re-relocationg ld.so.
51660 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51661 _dl_init_paths call.
51662 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51665 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51667 * resolv/res_init.c (__res_vinit): Count the default server we added.
51669 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51670 Ulrich Drepper <drepper@redhat.com>
51673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51674 (____longjmp_chk): Use %ebx for saving value across system call.
51677 2010-09-06 Andreas Schwab <schwab@redhat.com>
51679 * manual/Makefile: Don't mix pattern rules with normal rules.
51681 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51683 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51685 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51686 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51692 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51695 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51696 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51698 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51700 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51701 * sysdeps/x86_64/addmul_1.S: Likewise.
51702 * sysdeps/x86_64/lshift.S: Likewise.
51703 * sysdeps/x86_64/mul_1.S: Likewise.
51704 * sysdeps/x86_64/rshift.S: Likewise.
51705 * sysdeps/x86_64/sub_n.S: Likewise.
51706 * sysdeps/x86_64/submul_1.S: Likewise.
51708 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51710 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51711 Define __sched_param instead of SCHED_* and sched_param when
51712 <bits/sched.h> is included with __need_schedparam defined.
51713 * bits/sched.h [__need_schedparam]
51714 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51715 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51716 (__defined_schedparam): Define to 1.
51717 (__sched_param): New structure, identical to sched_param.
51718 (__need_schedparam): Undefine.
51720 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51723 (epoll_create1): Declare.
51725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51727 2010-08-31 Andreas Schwab <schwab@redhat.com>
51730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51731 shifting retval into place.
51733 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51735 * nis/rpcsvc/nis.h: Update copyright notice.
51736 * nis/rpcsvc/nis.x: Likewise.
51737 * nis/rpcsvc/nis_callback.h: Likewise.
51738 * nis/rpcsvc/nis_callback.x: Likewise.
51739 * nis/rpcsvc/nis_object.x: Likewise.
51740 * nis/rpcsvc/nis_tags.h: Likewise.
51741 * nis/rpcsvc/yp.h: Likewise.
51742 * nis/rpcsvc/yp.x: Likewise.
51743 * nis/rpcsvc/ypupd.h: Likewise.
51744 * nis/yp_xdr.c: Likewise.
51745 * nis/ypupdate_xdr.c: Likewise.
51747 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51748 mainly the body of pmap_getport. Add parameters to specify timeouts.
51749 (pmap_getport): Use __libc_rpc_getport.
51750 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51751 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51752 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51754 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51759 2010-08-27 Roland McGrath <roland@redhat.com>
51761 * sysdeps/i386/i686/multiarch/Makefile
51762 (CFLAGS-varshift.c): New variable.
51764 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51766 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51767 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51771 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51773 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51775 * sysdeps/x86_64/strlen.S: Unroll the loop.
51776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51777 strlen-sse2 strlen-sse2-bsf.
51778 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51779 __strlen_no_bsf if bit_Slow_BSF is set.
51780 (__strlen_sse42): Removed.
51781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51782 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51784 2010-08-25 Roland McGrath <roland@redhat.com>
51786 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51787 * sysdeps/x86_64/multiarch/varshift.c: New file.
51788 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51789 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51790 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51793 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51796 strlen-sse2 strlen-sse2-bsf.
51797 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51798 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51799 (__strlen_sse2): Removed.
51800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51803 bit_Slow_BSF for Atom.
51804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51805 (index_Slow_BSF): Define.
51806 (HAS_SLOW_BSF): Define.
51808 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51811 * resolv/res_init.c (__res_vinit): When no server address at all
51812 is given default to loopback.
51814 2010-08-24 Roland McGrath <roland@redhat.com>
51816 * configure.in: Remove config-name.h generation.
51817 * configure: Regenerated.
51818 * config-name.in: File removed.
51819 * scripts/config-uname.sh: New file.
51820 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51821 ($(objdir)config-name.h): New target.
51823 * sunrpc/rpc_parse.h: Avoid nested comment.
51825 2010-08-24 Richard Henderson <rth@redhat.com>
51826 Ulrich Drepper <drepper@redhat.com>
51827 H.J. Lu <hongjiu.lu@intel.com>
51829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51831 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51832 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51833 _mm_alignr_epi8 with _mm_loadu_si128.
51834 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51835 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51836 (__m128i_shift_right): Removed.
51837 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51838 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51839 * sysdeps/x86_64/multiarch/varshift.h: New file.
51840 * sysdeps/x86_64/multiarch/varshift.S: New file.
51842 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51844 * configure.in: Move assembler checks to before sysdep dir checking.
51846 2010-08-20 Petr Baudis <pasky@suse.cz>
51848 * LICENSES: Sync the sunrpc license.
51850 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51852 * sunrpc/auth_des.c: Update copyright notice once again.
51853 * sunrpc/auth_none.c: Likewise.
51854 * sunrpc/auth_unix.c: Likewise.
51855 * sunrpc/authdes_prot.c: Likewise.
51856 * sunrpc/authuxprot.c: Likewise.
51857 * sunrpc/bindrsvprt.c: Likewise.
51858 * sunrpc/clnt_gen.c: Likewise.
51859 * sunrpc/clnt_perr.c: Likewise.
51860 * sunrpc/clnt_raw.c: Likewise.
51861 * sunrpc/clnt_simp.c: Likewise.
51862 * sunrpc/clnt_tcp.c: Likewise.
51863 * sunrpc/clnt_udp.c: Likewise.
51864 * sunrpc/clnt_unix.c: Likewise.
51865 * sunrpc/des_crypt.c: Likewise.
51866 * sunrpc/des_soft.c: Likewise.
51867 * sunrpc/get_myaddr.c: Likewise.
51868 * sunrpc/getrpcport.c: Likewise.
51869 * sunrpc/key_call.c: Likewise.
51870 * sunrpc/key_prot.c: Likewise.
51871 * sunrpc/openchild.c: Likewise.
51872 * sunrpc/pm_getmaps.c: Likewise.
51873 * sunrpc/pm_getport.c: Likewise.
51874 * sunrpc/pmap_clnt.c: Likewise.
51875 * sunrpc/pmap_prot.c: Likewise.
51876 * sunrpc/pmap_prot2.c: Likewise.
51877 * sunrpc/pmap_rmt.c: Likewise.
51878 * sunrpc/rpc/auth.h: Likewise.
51879 * sunrpc/rpc/auth_unix.h: Likewise.
51880 * sunrpc/rpc/clnt.h: Likewise.
51881 * sunrpc/rpc/des_crypt.h: Likewise.
51882 * sunrpc/rpc/key_prot.h: Likewise.
51883 * sunrpc/rpc/netdb.h: Likewise.
51884 * sunrpc/rpc/pmap_clnt.h: Likewise.
51885 * sunrpc/rpc/pmap_prot.h: Likewise.
51886 * sunrpc/rpc/pmap_rmt.h: Likewise.
51887 * sunrpc/rpc/rpc.h: Likewise.
51888 * sunrpc/rpc/rpc_des.h: Likewise.
51889 * sunrpc/rpc/rpc_msg.h: Likewise.
51890 * sunrpc/rpc/svc.h: Likewise.
51891 * sunrpc/rpc/svc_auth.h: Likewise.
51892 * sunrpc/rpc/types.h: Likewise.
51893 * sunrpc/rpc/xdr.h: Likewise.
51894 * sunrpc/rpc_clntout.c: Likewise.
51895 * sunrpc/rpc_cmsg.c: Likewise.
51896 * sunrpc/rpc_common.c: Likewise.
51897 * sunrpc/rpc_cout.c: Likewise.
51898 * sunrpc/rpc_dtable.c: Likewise.
51899 * sunrpc/rpc_hout.c: Likewise.
51900 * sunrpc/rpc_main.c: Likewise.
51901 * sunrpc/rpc_parse.c: Likewise.
51902 * sunrpc/rpc_parse.h: Likewise.
51903 * sunrpc/rpc_prot.c: Likewise.
51904 * sunrpc/rpc_sample.c: Likewise.
51905 * sunrpc/rpc_scan.c: Likewise.
51906 * sunrpc/rpc_scan.h: Likewise.
51907 * sunrpc/rpc_svcout.c: Likewise.
51908 * sunrpc/rpc_tblout.c: Likewise.
51909 * sunrpc/rpc_util.c: Likewise.
51910 * sunrpc/rpc_util.h: Likewise.
51911 * sunrpc/rpcinfo.c: Likewise.
51912 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51913 * sunrpc/rpcsvc/key_prot.x: Likewise.
51914 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51915 * sunrpc/rpcsvc/mount.x: Likewise.
51916 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51917 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51918 * sunrpc/rpcsvc/rex.x: Likewise.
51919 * sunrpc/rpcsvc/rstat.x: Likewise.
51920 * sunrpc/rpcsvc/rusers.x: Likewise.
51921 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51922 * sunrpc/rpcsvc/spray.x: Likewise.
51923 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51924 * sunrpc/rtime.c: Likewise.
51925 * sunrpc/svc.c: Likewise.
51926 * sunrpc/svc_auth.c: Likewise.
51927 * sunrpc/svc_authux.c: Likewise.
51928 * sunrpc/svc_raw.c: Likewise.
51929 * sunrpc/svc_run.c: Likewise.
51930 * sunrpc/svc_simple.c: Likewise.
51931 * sunrpc/svc_tcp.c: Likewise.
51932 * sunrpc/svc_udp.c: Likewise.
51933 * sunrpc/svc_unix.c: Likewise.
51934 * sunrpc/svcauth_des.c: Likewise.
51935 * sunrpc/xcrypt.c: Likewise.
51936 * sunrpc/xdr.c: Likewise.
51937 * sunrpc/xdr_array.c: Likewise.
51938 * sunrpc/xdr_float.c: Likewise.
51939 * sunrpc/xdr_mem.c: Likewise.
51940 * sunrpc/xdr_rec.c: Likewise.
51941 * sunrpc/xdr_ref.c: Likewise.
51942 * sunrpc/xdr_sizeof.c: Likewise.
51943 * sunrpc/xdr_stdio.c: Likewise.
51945 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51948 2010-08-19 Andreas Schwab <schwab@redhat.com>
51950 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51952 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51954 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51957 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51959 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51961 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51964 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51966 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51969 2010-07-26 Anton Blanchard <anton@samba.org>
51971 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51972 * malloc/arena.c (heap_trim): Likewise.
51974 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51976 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51979 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51981 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51983 * sysdeps/i386/elf/Makefile: New file.
51985 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51987 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51988 from fanotify_init.
51989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51992 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51994 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51996 * sysdeps/multiarch/strcmp.S: Likewise.
51998 2010-08-14 Ulrich Drepper <drepper@redhat.com>
52000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52001 strncase_l-nonascii.
52002 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52003 Add strncase_l-ssse3.
52004 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52005 * sysdeps/x86_64/strcmp.S: Likewise.
52006 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52007 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52008 * sysdeps/x86_64/strncase.S: New file.
52009 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52010 * sysdeps/x86_64/strncase_l.S: New file.
52011 * string/Makefile (strop-tests): Add strncasecmp.
52012 * string/test-strncasecmp.c: New file.
52014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52017 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52020 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52022 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52024 2010-08-12 Ulrich Drepper <drepper@redhat.com>
52026 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52030 2010-05-01 Alan Modra <amodra@gmail.com>
52032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52033 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52034 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52035 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52036 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52037 tidying. Don't tail-call __sigjmp_save for static lib.
52038 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52040 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52041 (CALL_MCOUNT): Add eh info, and nop after bl.
52042 (TAIL_CALL_SYSCALL_ERROR): New macro.
52043 (PSEUDO_RET): Use it.
52044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52045 Correct save location of integer regs and cr.
52046 (_dl_profile_resolve): Correct cr save location. Delete nops
52047 after bl when SHARED. Reduce cfi size a little by better
52048 placement of cfi directives.
52049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52050 make a stack frame. Instead use parm save area as a temp.
52051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52052 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52054 Don't make a stack frame for parent, use parm save area.
52055 Increase child stack frame to 112 bytes. Don't save unused reg,
52056 and adjust reg usage. Set up cfi on error recovery and
52057 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52059 (__makecontext): Add dummy nop after jump to exit.
52060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52061 Use correct parm save area and cr save, reduce stack frame.
52062 Correct cfi for possible PSEUDO_RET frame setup.
52063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52064 Branch to local label emitted by PSEUDO_RET rather than
52067 2010-08-12 Andreas Schwab <schwab@redhat.com>
52070 * locale/programs/locale.c (print_assignment): New function.
52071 (show_locale_vars): Use it.
52073 2010-08-11 Ulrich Drepper <drepper@redhat.com>
52075 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52077 (struct statfs64): Likewise.
52078 (_STATFS_F_FLAGS): Define.
52079 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52081 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52082 (ST_VALID): Define locally.
52083 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52084 __statvfs_getflags, use the provided value.
52085 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52086 __ASSUME_STATFS_F_FLAGS.
52088 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52091 Add sys/fanotify.h.
52092 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52093 fanotify_mask for GLIBC_2.13.
52094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52095 fanotify_init and fanotify_mark.
52096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52097 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52101 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52102 prlimit64 for GLIBC_2.13.
52103 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52113 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52116 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52117 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52119 * nss/Makefile: Add rules to build and run tst-nss-test1.
52120 * shlib-versions: Add entry for libnss_test1.
52121 * nss/nss_test1.c: New file.
52122 * nss/tst-nss-test1.c: New file.
52124 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52125 (__nss_configure_lookup): Set appropriate entry in
52126 __nss_configure_lookup to true.
52127 * nss/nsswitch.h: Define enum with indeces of databases in
52128 databases and __nss_database_custom arrays. Declare
52129 __nss_database_custom.
52130 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52131 to avoid using nscd when custom rules are installed.
52132 * nss/getXXbyYY_r.c: Likewise.
52133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52135 * nss/nss_files/files-parse.c: Whitespace fixes.
52137 2010-08-09 Ulrich Drepper <drepper@redhat.com>
52140 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52141 * posix/fnmatch_loop.c: Likewise.
52143 2010-07-17 Andi Kleen <ak@linux.intel.com>
52145 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52146 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52147 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52148 * Versions.def [GLIBC_2.13]: Add.
52150 2010-08-06 Ulrich Drepper <drepper@redhat.com>
52152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52153 Also fail if tpwd after pwuid call is NULL.
52155 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52157 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52158 when converting to ms.
52160 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52162 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52163 EOPNOTSUPP errors with ENOTTY.
52164 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52165 EOPNOTSUPP errors with ENOTTY.
52167 2010-07-31 Ulrich Drepper <drepper@redhat.com>
52169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52170 Add strcasecmp_l-ssse3.
52171 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52173 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52177 2010-07-30 Ulrich Drepper <drepper@redhat.com>
52179 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52181 * string/Makefile (strop-tests): Add strcasecmp.
52182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52183 strcasecmp_l-nonascii.
52184 (gen-as-const-headers): Add locale-defines.sym.
52185 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52186 * sysdeps/x86_64/strcasecmp.S: New file.
52187 * sysdeps/x86_64/strcasecmp_l.S: New file.
52188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52189 * sysdeps/x86_64/locale-defines.sym: New file.
52190 * string/test-strcasecmp.c: New file.
52192 * string/test-strcasestr.c: Test both ends of the range of characters.
52193 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52195 2010-07-29 Roland McGrath <roland@redhat.com>
52198 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52200 2010-07-27 Ulrich Drepper <drepper@redhat.com>
52202 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52205 2010-07-27 Andreas Schwab <schwab@redhat.com>
52207 * manual/memory.texi (Malloc Tunable Parameters): Document
52210 2010-07-26 Roland McGrath <roland@redhat.com>
52213 * configure.in (-fgnu89-inline check): Set and substitute
52214 gnu89_inline, not libc_cv_gnu89_inline.
52215 * configure: Regenerated.
52216 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52218 2010-07-26 Ulrich Drepper <drepper@redhat.com>
52220 * string/test-strnlen.c: New file.
52221 * string/Makefile (strop-tests): Add strnlen.
52222 * string/tester.c (test_strnlen): Add a few more test cases.
52223 * string/tst-strlen.c: Better error reporting.
52225 * sysdeps/x86_64/strnlen.S: New file.
52227 2010-07-24 Ulrich Drepper <drepper@redhat.com>
52229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52230 lower-latency instructions.
52232 2010-07-23 Ulrich Drepper <drepper@redhat.com>
52234 * string/test-strcasestr.c: New file.
52235 * string/test-strstr.c: New file.
52236 * string/Makefile (strop-tests): Add strstr and strcasestr.
52237 * string/str-two-way.h: Don't undefine MAX.
52238 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52240 2010-07-21 Andreas Schwab <schwab@redhat.com>
52242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52243 strcasestr-nonascii.
52244 (CFLAGS-strcasestr-nonascii.c): Define.
52245 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52247 Remove unused attribute.
52249 2010-07-20 Roland McGrath <roland@redhat.com>
52251 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52252 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52253 ld.so.cache was broken. With it, there is no way to disable dsocaps
52254 like LD_HWCAP_MASK can disable hwcaps.
52256 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52258 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52260 2010-07-16 Ulrich Drepper <drepper@redhat.com>
52262 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52263 call in strcasestr.
52264 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52265 __strcasestr_sse42_nonascii.
52266 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52267 strcasestr-nonascii.c.
52268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52270 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
52272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52277 2010-07-09 Ulrich Drepper <drepper@redhat.com>
52279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52282 2010-07-06 Andreas Schwab <schwab@redhat.com>
52285 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52288 2010-07-06 Ulrich Drepper <drepper@redhat.com>
52290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52291 _PC_PIPE_BUF using F_GETPIPE_SZ.
52293 2010-07-05 Roland McGrath <roland@redhat.com>
52295 * manual/arith.texi (Rounding Functions): Fix rint description
52296 implicit in round description.
52298 2010-07-02 Ulrich Drepper <drepper@redhat.com>
52300 * elf/Makefile: Fix linking for a few tests to make recent linker
52303 2010-06-30 Andreas Schwab <schwab@redhat.com>
52305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52306 $(common-objpfx)libc_nonshared.a.
52308 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
52310 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52311 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52312 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52314 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52317 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52332 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52333 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52334 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52335 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52336 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52337 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52338 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52339 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52340 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52341 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52342 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52343 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52359 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52361 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52362 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52363 * string/memmove.c (memmove): Renamed to ...
52364 (MEMMOVE): ...this. Default to memmove.
52365 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52366 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52369 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52370 mempcpy-ssse3-back memmove-ssse3-back.
52371 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52374 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52375 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52376 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52377 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52378 * sysdeps/x86_64/multiarch/memmove.c: New file.
52379 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52380 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52381 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52382 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52383 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52386 (index_Fast_Copy_Backward): Define.
52387 (HAS_ARCH_FEATURE): Define.
52388 (HAS_FAST_REP_STRING): Define.
52389 (HAS_FAST_COPY_BACKWARD): Define.
52391 2010-06-21 Andreas Schwab <schwab@redhat.com>
52393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52394 Restore proper fallback handling.
52396 2010-06-19 Ulrich Drepper <drepper@redhat.com>
52399 * posix/group_member.c (__group_member): Correct checking loop.
52401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52402 OOM in getpwuid_r correctly. Return error number when the caller
52403 should return, otherwise -1.
52404 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52405 call returning > 0 value.
52406 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52408 2010-06-07 Andreas Schwab <schwab@redhat.com>
52410 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52411 libc_nonshared.a from targets in modules-names.
52413 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52415 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52418 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
52420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52425 2010-06-02 Andreas Schwab <schwab@redhat.com>
52427 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52429 2010-06-14 Ulrich Drepper <drepper@redhat.com>
52431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52440 2010-06-14 Roland McGrath <roland@redhat.com>
52442 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52444 2010-06-07 Jakub Jelinek <jakub@redhat.com>
52446 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52447 __REDIRECT followed by __THROW.
52448 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52449 * posix/getopt.h (getopt): Likewise.
52451 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52453 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52454 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52455 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52457 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52458 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52460 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
52462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52464 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52468 Properly check family and model.
52470 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52474 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
52476 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52478 2010-05-21 Ulrich Drepper <drepper@redhat.com>
52480 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52483 2010-05-19 Andreas Schwab <schwab@redhat.com>
52485 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52488 2010-05-21 Andreas Schwab <schwab@redhat.com>
52490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52491 and internal_recvmmsg.
52492 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52493 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52495 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52497 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52501 2010-05-20 Andreas Schwab <schwab@redhat.com>
52503 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52505 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
52507 POWER7 optimizations.
52508 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52509 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52511 2010-05-19 Ulrich Drepper <drepper@redhat.com>
52513 * version.h: Update for 2.13 development version.
52515 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
52517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52518 exceptions. Return 0.
52520 2010-05-07 Roland McGrath <roland@redhat.com>
52522 * elf/ldconfig.c (main): Add a const.
52524 2010-05-06 Ulrich Drepper <drepper@redhat.com>
52526 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52527 (args_options): Add no-idn option.
52528 (ahosts_keys_int): Add idn_flags to ai_flags.
52529 (parse_option): Handle 'i' option to clear idn_flags.
52531 * malloc/malloc.c (_int_free): Possible race in the most recently
52532 added check. Only act on the data if no current modification
52535 See ChangeLog.17 for earlier changes.